{"id":97,"date":"2026-08-13T19:07:41","date_gmt":"2026-08-13T17:07:41","guid":{"rendered":"https:\/\/easyservices.store\/?page_id=97"},"modified":"2026-08-14T18:44:51","modified_gmt":"2026-08-14T16:44:51","slug":"elementor-97","status":"publish","type":"page","link":"https:\/\/easyservices.store\/","title":{"rendered":"Elementor #97"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"97\" class=\"elementor elementor-97\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6cdb483 e-flex e-con-boxed e-con e-parent\" data-id=\"6cdb483\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f8ad5ac elementor-widget elementor-widget-html\" data-id=\"f8ad5ac\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!doctype html>\n<html lang=\"fr\" dir=\"ltr\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>Easy Services \u2014 Le digital qui commence dans votre commerce | Maroc<\/title>\n<meta name=\"description\" content=\"Easy Services connecte les commerces marocains \u00e0 Google, WhatsApp, menu digital et Wi-Fi avec des supports NFC et QR.\">\n<style>@import\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Arabic:wght@300;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,system-ui,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{--tw-bg-opacity: 1;background-color:rgb(5 8 16 \/ var(--tw-bg-opacity, 1));font-family:Inter,system-ui,sans-serif;--tw-text-opacity: 1;color:rgb(203 213 225 \/ var(--tw-text-opacity, 1));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html[dir=rtl] body{font-family:Noto Sans Arabic,Inter,sans-serif}.glass{border-width:1px;border-color:#ffffff26;background-color:#ffffff1a;--tw-backdrop-blur: blur(24px);-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)}.glass-dark{border-width:1px;border-color:#ffffff1a;background-color:#0f172a80;--tw-backdrop-blur: blur(24px);-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)}.glass-card{border-width:1px;border-color:#ffffff1a;background-color:#0f172a66;--tw-backdrop-blur: blur(24px);-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-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}.glass-card:hover{border-color:#fff3}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-\\[3px\\]{top:3px;right:3px;bottom:3px;left:3px}.-bottom-1{bottom:-.25rem}.-bottom-2{bottom:-.5rem}.-bottom-20{bottom:-5rem}.-bottom-8{bottom:-2rem}.-left-20{left:-5rem}.-left-\\[3px\\]{left:-3px}.-right-16{right:-4rem}.-right-2{right:-.5rem}.-right-20{right:-5rem}.-right-3{right:-.75rem}.-right-4{right:-1rem}.-right-8{right:-2rem}.-right-\\[3px\\]{right:-3px}.-top-16{top:-4rem}.-top-2{top:-.5rem}.-top-20{top:-5rem}.-top-3{top:-.75rem}.bottom-0{bottom:0}.bottom-1\\\/3{bottom:33.333333%}.bottom-1\\\/4{bottom:25%}.bottom-2{bottom:.5rem}.bottom-3{bottom:.75rem}.bottom-4{bottom:1rem}.bottom-\\[18\\%\\]{bottom:18%}.left-0{left:0}.left-1\\\/2{left:50%}.left-1\\\/4{left:25%}.left-2{left:.5rem}.left-\\[2\\%\\]{left:2%}.left-\\[22\\%\\]{left:22%}.left-\\[35\\%\\]{left:35%}.left-\\[5\\%\\]{left:5%}.right-0{right:0}.right-1\\\/4{right:25%}.right-12{right:3rem}.right-2{right:.5rem}.right-4{right:1rem}.right-\\[0\\%\\]{right:0%}.right-\\[5\\%\\]{right:5%}.top-0{top:0}.top-1\\\/2{top:50%}.top-1\\\/3{top:33.333333%}.top-1\\\/4{top:25%}.top-12{top:3rem}.top-16{top:4rem}.top-20{top:5rem}.top-24{top:6rem}.top-3{top:.75rem}.top-32{top:8rem}.top-4{top:1rem}.top-40{top:10rem}.top-6{top:1.5rem}.top-7{top:1.75rem}.top-8{top:2rem}.top-\\[18\\%\\]{top:18%}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\\[60\\]{z-index:60}.z-\\[70\\]{z-index:70}.z-\\[71\\]{z-index:71}.order-1{order:1}.order-2{order:2}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.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}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-6{margin-right:1.5rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-0\\.5{height:.125rem}.h-1{height:.25rem}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-3\\\/5{height:60%}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-40{height:10rem}.h-44{height:11rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\\[300px\\]{height:300px}.h-\\[400px\\]{height:400px}.h-\\[500px\\]{height:500px}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\\/5{width:60%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\\[3px\\]{width:3px}.w-\\[500px\\]{width:500px}.w-\\[600px\\]{width:600px}.w-\\[90\\%\\]{width:90%}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-left{transform-origin:left}.-translate-x-1\\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\\[1\\.02\\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;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))}.scale-x-0{--tw-scale-x: 0;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 glow-pulse{0%,to{opacity:.4}50%{opacity:.8}}.animate-glow-pulse{animation:glow-pulse 3s ease-in-out infinite}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * 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-2\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * 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))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[2\\.3rem\\]{border-radius:2.3rem}.rounded-\\[2\\.5rem\\]{border-radius:2.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.rounded-b-xl{border-bottom-right-radius:.75rem;border-bottom-left-radius:.75rem}.rounded-l-sm{border-top-left-radius:.125rem;border-bottom-left-radius:.125rem}.rounded-r-sm{border-top-right-radius:.125rem;border-bottom-right-radius:.125rem}.rounded-tl-sm{border-top-left-radius:.125rem}.rounded-tr-sm{border-top-right-radius:.125rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[3px\\]{border-width:3px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-es-blue-400{--tw-border-opacity: 1;border-color:rgb(90 156 255 \/ var(--tw-border-opacity, 1))}.border-es-blue-400\\\/40{border-color:#5a9cff66}.border-es-cyan-400{--tw-border-opacity: 1;border-color:rgb(34 211 238 \/ var(--tw-border-opacity, 1))}.border-es-cyan-400\\\/30{border-color:#22d3ee4d}.border-es-cyan-400\\\/40{border-color:#22d3ee66}.border-es-dark-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 \/ var(--tw-border-opacity, 1))}.border-es-wa-500\\\/30{border-color:#10b9814d}.border-transparent{border-color:transparent}.border-white\\\/10{border-color:#ffffff1a}.border-white\\\/15{border-color:#ffffff26}.border-white\\\/5{border-color:#ffffff0d}.bg-amber-400\\\/20{background-color:#fbbf2433}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 \/ var(--tw-bg-opacity, 1))}.bg-es-blue-500{--tw-bg-opacity: 1;background-color:rgb(43 123 255 \/ var(--tw-bg-opacity, 1))}.bg-es-blue-500\\\/10{background-color:#2b7bff1a}.bg-es-blue-500\\\/15{background-color:#2b7bff26}.bg-es-blue-500\\\/20{background-color:#2b7bff33}.bg-es-blue-500\\\/25{background-color:#2b7bff40}.bg-es-blue-500\\\/40{background-color:#2b7bff66}.bg-es-blue-500\\\/5{background-color:#2b7bff0d}.bg-es-cyan-400{--tw-bg-opacity: 1;background-color:rgb(34 211 238 \/ var(--tw-bg-opacity, 1))}.bg-es-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 \/ var(--tw-bg-opacity, 1))}.bg-es-cyan-500\\\/10{background-color:#06b6d41a}.bg-es-cyan-500\\\/15{background-color:#06b6d426}.bg-es-cyan-500\\\/20{background-color:#06b6d433}.bg-es-cyan-500\\\/30{background-color:#06b6d44d}.bg-es-dark-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 \/ var(--tw-bg-opacity, 1))}.bg-es-dark-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 \/ var(--tw-bg-opacity, 1))}.bg-es-dark-700\\\/50{background-color:#33415580}.bg-es-dark-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 \/ var(--tw-bg-opacity, 1))}.bg-es-dark-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 \/ var(--tw-bg-opacity, 1))}.bg-es-dark-950{--tw-bg-opacity: 1;background-color:rgb(7 11 21 \/ var(--tw-bg-opacity, 1))}.bg-es-dark-950\\\/60{background-color:#070b1599}.bg-es-dark-960{--tw-bg-opacity: 1;background-color:rgb(5 8 16 \/ var(--tw-bg-opacity, 1))}.bg-es-dark-960\\\/80{background-color:#050810cc}.bg-es-wa-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 \/ var(--tw-bg-opacity, 1))}.bg-es-wa-500\\\/20{background-color:#10b98133}.bg-es-wa-500\\\/25{background-color:#10b98140}.bg-es-wa-500\\\/40{background-color:#10b98166}.bg-es-wa-500\\\/80{background-color:#10b981cc}.bg-es-wa-600\\\/20{background-color:#05966933}.bg-es-wa-600\\\/30{background-color:#0596694d}.bg-pink-500\\\/40{background-color:#ec489966}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 \/ var(--tw-bg-opacity, 1))}.bg-white\\\/10{background-color:#ffffff1a}.bg-white\\\/5{background-color:#ffffff0d}.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))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-mesh-es{background-image:radial-gradient(at 15% 20%,rgba(43,123,255,.22) 0px,transparent 50%),radial-gradient(at 85% 10%,rgba(6,182,212,.18) 0px,transparent 50%),radial-gradient(at 50% 85%,rgba(43,123,255,.12) 0px,transparent 50%)}.from-amber-400{--tw-gradient-from: #fbbf24 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 191 36 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-400\\\/30{--tw-gradient-from: rgb(251 191 36 \/ .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 191 36 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-blue-400{--tw-gradient-from: #5a9cff var(--tw-gradient-from-position);--tw-gradient-to: rgb(90 156 255 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-blue-500{--tw-gradient-from: #2b7bff var(--tw-gradient-from-position);--tw-gradient-to: rgb(43 123 255 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-cyan-400{--tw-gradient-from: #22d3ee var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 211 238 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-dark-700{--tw-gradient-from: #334155 var(--tw-gradient-from-position);--tw-gradient-to: rgb(51 65 85 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-dark-900{--tw-gradient-from: #0f172a var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 23 42 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-dark-960{--tw-gradient-from: #050810 var(--tw-gradient-from-position);--tw-gradient-to: rgb(5 8 16 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-es-wa-500{--tw-gradient-from: #10b981 var(--tw-gradient-from-position);--tw-gradient-to: rgb(16 185 129 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-orange-400{--tw-gradient-from: #fb923c var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 146 60 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-400{--tw-gradient-from: #f472b6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(244 114 182 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #ec4899 var(--tw-gradient-from-position);--tw-gradient-to: rgb(236 72 153 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-violet-400{--tw-gradient-from: #a78bfa var(--tw-gradient-from-position);--tw-gradient-to: rgb(167 139 250 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white\\\/10{--tw-gradient-from: rgb(255 255 255 \/ .1) 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-es-cyan-400{--tw-gradient-to: rgb(34 211 238 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #22d3ee var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-es-dark-960\\\/80{--tw-gradient-to: rgb(5 8 16 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), rgb(5 8 16 \/ .8) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-transparent{--tw-gradient-to: rgb(0 0 0 \/ 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-amber-600{--tw-gradient-to: #d97706 var(--tw-gradient-to-position)}.to-es-blue-300{--tw-gradient-to: #8ebdff var(--tw-gradient-to-position)}.to-es-blue-500{--tw-gradient-to: #2b7bff var(--tw-gradient-to-position)}.to-es-cyan-400{--tw-gradient-to: #22d3ee var(--tw-gradient-to-position)}.to-es-cyan-500{--tw-gradient-to: #06b6d4 var(--tw-gradient-to-position)}.to-es-dark-800{--tw-gradient-to: #1e293b var(--tw-gradient-to-position)}.to-es-dark-900{--tw-gradient-to: #0f172a var(--tw-gradient-to-position)}.to-es-dark-960{--tw-gradient-to: #050810 var(--tw-gradient-to-position)}.to-es-wa-600{--tw-gradient-to: #059669 var(--tw-gradient-to-position)}.to-orange-500{--tw-gradient-to: #f97316 var(--tw-gradient-to-position)}.to-orange-500\\\/30{--tw-gradient-to: rgb(249 115 22 \/ .3) var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-rose-500{--tw-gradient-to: #f43f5e var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-amber-400{fill:#fbbf24}.fill-white{fill:#fff}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-7{padding:1.75rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.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-7{padding-left:1.75rem;padding-right:1.75rem}.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-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-28{padding-top:7rem;padding-bottom:7rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-16{padding-bottom:4rem}.pb-3{padding-bottom:.75rem}.pb-5{padding-bottom:1.25rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-28{padding-top:7rem}.pt-4{padding-top:1rem}.pt-7{padding-top:1.75rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.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-6xl{font-size:3.75rem;line-height:1}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[5px\\]{font-size:5px}.text-\\[6px\\]{font-size:6px}.text-\\[7px\\]{font-size:7px}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.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-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-\\[1\\.1\\]{line-height:1.1}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 \/ var(--tw-text-opacity, 1))}.text-es-blue-400{--tw-text-opacity: 1;color:rgb(90 156 255 \/ var(--tw-text-opacity, 1))}.text-es-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 \/ var(--tw-text-opacity, 1))}.text-es-dark-200{--tw-text-opacity: 1;color:rgb(226 232 240 \/ var(--tw-text-opacity, 1))}.text-es-dark-300{--tw-text-opacity: 1;color:rgb(203 213 225 \/ var(--tw-text-opacity, 1))}.text-es-dark-400{--tw-text-opacity: 1;color:rgb(148 163 184 \/ var(--tw-text-opacity, 1))}.text-es-dark-500{--tw-text-opacity: 1;color:rgb(100 116 139 \/ var(--tw-text-opacity, 1))}.text-es-dark-600{--tw-text-opacity: 1;color:rgb(71 85 105 \/ var(--tw-text-opacity, 1))}.text-es-dark-700{--tw-text-opacity: 1;color:rgb(51 65 85 \/ var(--tw-text-opacity, 1))}.text-es-wa-400{--tw-text-opacity: 1;color:rgb(52 211 153 \/ var(--tw-text-opacity, 1))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 \/ var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 \/ var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 \/ var(--tw-text-opacity, 1))}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 \/ .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 \/ .1), 0 4px 6px -4px rgb(0 0 0 \/ .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--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)}.shadow-es-blue-500\\\/20{--tw-shadow-color: rgb(43 123 255 \/ .2);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-blue-500\\\/25{--tw-shadow-color: rgb(43 123 255 \/ .25);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-blue-500\\\/30{--tw-shadow-color: rgb(43 123 255 \/ .3);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-blue-900\\\/20{--tw-shadow-color: rgb(16 55 137 \/ .2);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-blue-900\\\/40{--tw-shadow-color: rgb(16 55 137 \/ .4);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-cyan-500\\\/10{--tw-shadow-color: rgb(6 182 212 \/ .1);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-cyan-500\\\/15{--tw-shadow-color: rgb(6 182 212 \/ .15);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-wa-500\\\/25{--tw-shadow-color: rgb(16 185 129 \/ .25);--tw-shadow: var(--tw-shadow-colored)}.shadow-es-wa-500\\\/30{--tw-shadow-color: rgb(16 185 129 \/ .3);--tw-shadow: var(--tw-shadow-colored)}.blur-2xl{--tw-blur: blur(40px);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)}.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)}.blur-\\[100px\\]{--tw-blur: blur(100px);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)}.blur-\\[120px\\]{--tw-blur: blur(120px);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)}.blur-\\[130px\\]{--tw-blur: blur(130px);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)}.blur-\\[150px\\]{--tw-blur: blur(150px);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)}.blur-\\[80px\\]{--tw-blur: blur(80px);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)}.blur-md{--tw-blur: blur(12px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;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-300{transition-duration:.3s}.duration-500{transition-duration:.5s}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(5 8 16 \/ var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(51 65 85 \/ var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(21 96 240 \/ var(--tw-bg-opacity, 1))}::-moz-selection{background-color:#2b7bff4d;--tw-text-opacity: 1;color:rgb(255 255 255 \/ var(--tw-text-opacity, 1))}::selection{background-color:#2b7bff4d;--tw-text-opacity: 1;color:rgb(255 255 255 \/ var(--tw-text-opacity, 1))}html[dir=rtl] .rtl-flip{transform:scaleX(-1)}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.placeholder\\:text-es-dark-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(100 116 139 \/ var(--tw-text-opacity, 1))}.placeholder\\:text-es-dark-500::placeholder{--tw-text-opacity: 1;color:rgb(100 116 139 \/ var(--tw-text-opacity, 1))}.hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:scale-\\[1\\.03\\]:hover{--tw-scale-x: 1.03;--tw-scale-y: 1.03;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:border-white\\\/15:hover{border-color:#ffffff26}.hover\\:bg-es-wa-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 \/ var(--tw-bg-opacity, 1))}.hover\\:bg-white\\\/10:hover{background-color:#ffffff1a}.hover\\:bg-white\\\/15:hover{background-color:#ffffff26}.hover\\:text-es-wa-400:hover{--tw-text-opacity: 1;color:rgb(52 211 153 \/ var(--tw-text-opacity, 1))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 \/ var(--tw-text-opacity, 1))}.hover\\:shadow-es-blue-500\\\/40:hover{--tw-shadow-color: rgb(43 123 255 \/ .4);--tw-shadow: var(--tw-shadow-colored)}.hover\\:shadow-es-wa-500\\\/40:hover{--tw-shadow-color: rgb(16 185 129 \/ .4);--tw-shadow: var(--tw-shadow-colored)}.hover\\:shadow-es-wa-500\\\/50:hover{--tw-shadow-color: rgb(16 185 129 \/ .5);--tw-shadow: var(--tw-shadow-colored)}.focus\\:border-es-cyan-400\\\/50:focus{border-color:#22d3ee80}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-es-cyan-400\\\/30:focus{--tw-ring-color: rgb(34 211 238 \/ .3)}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:w-full{width:100%}.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\\:rotate-3{--tw-rotate: 3deg;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\\:scale-x-100{--tw-scale-x: 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\\:opacity-100{opacity:1}@media (min-width: 640px){.sm\\:inline-flex{display:inline-flex}.sm\\:w-auto{width:auto}.sm\\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\\:col-span-1{grid-column:span 1 \/ span 1}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:p-14{padding:3.5rem}.md\\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\\:text-5xl{font-size:3rem;line-height:1}.md\\:text-6xl{font-size:3.75rem;line-height:1}.md\\:text-base{font-size:1rem;line-height:1.5rem}.md\\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\\:order-1{order:1}.lg\\:order-2{order:2}.lg\\:mx-0{margin-left:0;margin-right:0}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:h-\\[600px\\]{height:600px}.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\\:justify-start{justify-content:flex-start}.lg\\:text-left{text-align:left}}\n\n\/* === EASY SERVICES BOLT \u2014 POPUP + MENU DISPLAY FIX === *\/\nhtml,body{background:#050810!important}body{overflow-x:hidden!important}\nbutton[aria-label=\"Menu\"]{display:none!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;padding:8px!important;border:1px solid rgba(90,156,255,.35)!important;border-radius:12px!important;background:rgba(8,18,31,.88)!important;color:#fff!important}\nbutton[aria-label=\"Menu\"] svg{display:block!important;width:27px!important;height:27px!important;color:#fff!important;stroke:#fff!important;stroke-width:2.4!important}\n@media(max-width:1023px){button[aria-label=\"Menu\"]{display:flex!important}header.fixed{z-index:100!important}header.fixed nav{width:calc(100vw - 24px)!important}header.fixed nav ul.lg\\\\:hidden{max-height:none!important;margin-top:10px!important;padding:10px 4px 4px!important;border-top:1px solid rgba(255,255,255,.08)!important;background:rgba(7,16,27,.96)!important;border-radius:14px!important}header.fixed nav ul.lg\\\\:hidden li a{display:flex!important;align-items:center!important;min-height:42px!important;padding:9px 12px!important;border-radius:10px!important}}\n@media(min-width:1024px){button[aria-label=\"Menu\"]{display:none!important}}\n.es-safe-popup-backdrop{position:fixed!important;inset:0!important;z-index:99990!important;background:rgba(2,6,12,.78)!important;backdrop-filter:blur(10px)!important}\n.es-safe-popup-card{position:fixed!important;top:50%!important;left:50%!important;width:min(520px,calc(100vw - 28px))!important;max-height:calc(100vh - 28px)!important;overflow:auto!important;transform:translate(-50%,-50%)!important;z-index:99991!important;padding:30px!important;border:1px solid rgba(95,159,255,.35)!important;border-radius:24px!important;background:radial-gradient(circle at 85% 8%,rgba(63,134,255,.16),transparent 30%),radial-gradient(circle at 10% 90%,rgba(34,211,238,.10),transparent 30%),linear-gradient(145deg,rgba(16,30,47,.98),rgba(6,13,22,.99))!important;box-shadow:0 30px 90px rgba(0,0,0,.68),0 0 35px rgba(63,134,255,.10)!important}\n.es-safe-popup-card input[type=\"email\"]{width:100%!important;height:50px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:12px!important;background:#07111d!important;color:#fff!important;outline:none!important;box-shadow:none!important}\n.es-safe-popup-card input[type=\"email\"]:focus{border-color:rgba(36,217,239,.75)!important;box-shadow:0 0 0 3px rgba(36,217,239,.10)!important}\n.es-safe-popup-card button[type=\"submit\"]{width:100%!important;min-height:50px!important;border:0!important;border-radius:12px!important}\n.es-safe-popup-card .text-red-400{color:#fda4af!important;background:rgba(244,63,94,.08)!important;border:1px solid rgba(244,63,94,.18)!important;border-radius:10px!important;padding:8px 10px!important}\n.es-safe-popup-card>div.absolute{pointer-events:none!important}\n@media(max-width:480px){.es-safe-popup-card{padding:22px!important;border-radius:20px!important}}\ninput:invalid:not(:focus){box-shadow:none!important}\n\n\n\/* === EASY SERVICES \u2014 FULL WIDTH \/ MENU \/ LANGUAGE FINAL FIX === *\/\n\n\/* 1) PC: the commercial sections use the complete available width.\n   Keep the header navigation as a centered bar, but remove the narrow\n   max-width restriction from the actual page content. *\/\nbody, #root, #root > div, main, main > section, footer{\n  width:100%!important;\n  max-width:none!important;\n}\nmain .max-w-6xl,\nfooter .max-w-6xl{\n  width:100%!important;\n  max-width:none!important;\n  margin-left:0!important;\n  margin-right:0!important;\n  padding-left:clamp(18px,3vw,56px)!important;\n  padding-right:clamp(18px,3vw,56px)!important;\n}\n\n\/* Keep the navigation visually premium but let it breathe on larger screens. *\/\nheader.fixed nav{\n  width:calc(100% - 28px)!important;\n  max-width:1400px!important;\n}\n@media(min-width:1440px){\n  header.fixed nav{max-width:none!important}\n}\n\n\/* 2) Remove the red\/pink focus\/validation-looking frame around Arabic\/language. *\/\nbutton:not([aria-label=\"Menu\"]){\n  outline:none!important;\n}\nheader button{\n  border-color:rgba(90,156,255,.28)!important;\n  outline:none!important;\n  box-shadow:none!important;\n}\nheader button:hover{\n  border-color:rgba(90,156,255,.55)!important;\n}\nheader button:focus,\nheader button:focus-visible,\nheader button:active{\n  outline:none!important;\n  border-color:rgba(36,211,238,.68)!important;\n  box-shadow:0 0 0 2px rgba(36,211,238,.10)!important;\n}\n\n\/* 3) Mobile hamburger: use a CSS icon instead of depending on the SVG rendering.\n   The icon is always 3 clean white horizontal bars. *\/\nbutton[aria-label=\"Menu\"]{\n  position:relative!important;\n  display:none!important;\n  flex:0 0 44px!important;\n  width:44px!important;\n  min-width:44px!important;\n  max-width:44px!important;\n  height:44px!important;\n  min-height:44px!important;\n  padding:0!important;\n  border:1px solid rgba(90,156,255,.38)!important;\n  border-radius:12px!important;\n  background:rgba(8,18,31,.94)!important;\n  color:transparent!important;\n  overflow:hidden!important;\n}\nbutton[aria-label=\"Menu\"] svg{display:none!important}\nbutton[aria-label=\"Menu\"]::before,\nbutton[aria-label=\"Menu\"]::after{\n  content:\"\";\n  position:absolute;\n  left:11px;\n  width:22px;\n  height:2.5px;\n  border-radius:3px;\n  background:#fff;\n  box-shadow:0 0 7px rgba(255,255,255,.15);\n}\nbutton[aria-label=\"Menu\"]::before{\n  top:14px;\n  box-shadow:0 7px 0 #fff,0 14px 0 #fff;\n}\nbutton[aria-label=\"Menu\"]::after{display:none}\n\n@media(max-width:1023px){\n  button[aria-label=\"Menu\"]{display:flex!important}\n  header.fixed{\n    left:0!important;right:0!important;\n    width:100%!important;\n    padding-left:10px!important;\n    padding-right:10px!important;\n  }\n  header.fixed nav{\n    width:100%!important;\n    max-width:none!important;\n    margin-left:0!important;margin-right:0!important;\n    border-radius:16px!important;\n  }\n  \/* Keep the top row compact enough for the logo + language + WhatsApp + menu. *\/\n  header.fixed nav > div{\n    min-height:54px!important;\n    gap:6px!important;\n  }\n  header.fixed nav > div > div:last-child{\n    gap:5px!important;\n    margin-left:auto!important;\n  }\n  \/* On small phones show language + hamburger; WhatsApp stays in the opened menu. *\/\n  header.fixed nav .hidden.sm\\:inline-flex{display:none!important}\n  header.fixed nav button[aria-label=\"Menu\"]{display:flex!important}\n  header.fixed nav ul.lg\\:hidden{\n    width:100%!important;\n    max-height:none!important;\n    margin-top:8px!important;\n    padding:10px!important;\n    border-top:1px solid rgba(255,255,255,.08)!important;\n    border-radius:14px!important;\n    background:rgba(5,12,21,.98)!important;\n    box-shadow:0 20px 45px rgba(0,0,0,.38)!important;\n  }\n  header.fixed nav ul.lg\\:hidden li a{\n    display:flex!important;\n    align-items:center!important;\n    justify-content:flex-start!important;\n    width:100%!important;\n    min-height:44px!important;\n    padding:10px 12px!important;\n    border-radius:10px!important;\n    color:#dce8f5!important;\n    background:transparent!important;\n  }\n  header.fixed nav ul.lg\\:hidden li a:hover{\n    background:rgba(63,134,255,.12)!important;\n    color:#fff!important;\n  }\n}\n@media(max-width:420px){\n  header.fixed nav{padding-left:10px!important;padding-right:10px!important}\n  header.fixed nav > div{gap:4px!important}\n  header.fixed nav > div > div:last-child{gap:4px!important}\n  header button[aria-label=\"Menu\"]{width:42px!important;min-width:42px!important;flex-basis:42px!important}\n  header button[aria-label=\"Menu\"]::before,\n  header button[aria-label=\"Menu\"]::after{left:10px}\n}\n\n\/* 4) Mobile language button: no red border and enough contrast. *\/\nheader button[onClick]{\n  border:1px solid rgba(90,156,255,.28)!important;\n  background:rgba(8,18,31,.72)!important;\n  color:#dce8f5!important;\n  border-radius:10px!important;\n  min-height:40px!important;\n}\n\n\n\/* === FAQ CLEAN DISPLAY === *\/\ndetails.s-panel,\ndetails.s-panel:focus,\ndetails.s-panel:focus-visible,\ndetails.s-panel:hover,\ndetails.s-panel[open],\ndetails.s-panel summary,\ndetails.s-panel summary:focus,\ndetails.s-panel summary:focus-visible{\n  border-color:rgba(255,255,255,.10)!important;\n  outline:none!important;\n  box-shadow:none!important;\n}\ndetails.s-panel{\n  background:rgba(8,16,28,.92)!important;\n}\ndetails.s-panel summary{\n  list-style:none!important;\n  cursor:pointer!important;\n}\ndetails.s-panel summary::-webkit-details-marker{display:none!important}\ndetails.s-panel summary::marker{display:none!important}\ndetails.s-panel summary:after{\n  content:\"\u2304\";\n  float:right;\n  color:#22d3ee;\n  font-size:24px;\n  line-height:1;\n  transform:translateY(-2px);\n  transition:transform .25s ease;\n}\ndetails.s-panel[open] summary:after{transform:rotate(180deg) translateY(2px)}\n\/* Remove any red validation\/focus ring inherited by FAQ internals *\/\ndetails.s-panel *:focus,\ndetails.s-panel *:focus-visible{\n  outline:none!important;\n  box-shadow:none!important;\n}\n\/* Global keyboard focus stays usable on main controls with a subtle cyan ring *\/\nbutton:focus-visible,a:focus-visible,input:focus-visible{\n  outline:2px solid rgba(34,211,238,.72)!important;\n  outline-offset:2px!important;\n}\n\n<\/style>\n<\/head>\n<body>\n<div id=\"root\"><\/div>\n<script>(function(){function mark(){document.querySelectorAll(\"div.fixed\").forEach(function(el){var c=el.className||\"\";if(typeof c!==\"string\")return;if(c.indexOf(\"inset-0\")!==-1&&c.indexOf(\"backdrop-blur\")!==-1)el.classList.add(\"es-safe-popup-backdrop\");else if(c.indexOf(\"top-1\/2\")!==-1&&c.indexOf(\"max-w-md\")!==-1)el.classList.add(\"es-safe-popup-card\")})}function menu(){var b=document.querySelector('button[aria-label=\"Menu\"]');if(!b)return;b.type=\"button\";var svg=b.querySelector(\"svg\");if(svg){svg.style.width=\"27px\";svg.style.height=\"27px\";svg.style.display=\"block\";svg.style.stroke=\"currentColor\"}}mark();menu();new MutationObserver(function(){mark();menu()}).observe(document.body,{subtree:true,childList:true})})();<\/script>\n\n<script>\n(function(){\n  function fixEasyHeader(){\n    var header=document.querySelector('header.fixed');\n    if(!header)return;\n    header.style.width='100%';\n    var buttons=header.querySelectorAll('button');\n    buttons.forEach(function(b){\n      if(b.getAttribute('aria-label')==='Menu')return;\n      b.style.outline='none';\n      b.style.boxShadow='none';\n      b.style.borderColor='rgba(90,156,255,.28)';\n    });\n    var menu=header.querySelector('button[aria-label=\"Menu\"]');\n    if(menu){\n      menu.style.display='';\n      menu.setAttribute('type','button');\n      menu.querySelectorAll('svg').forEach(function(svg){svg.style.display='none';});\n    }\n  }\n  fixEasyHeader();\n  new MutationObserver(fixEasyHeader).observe(document.body,{subtree:true,childList:true,attributes:true,attributeFilter:['class','style']});\n})();\n<\/script>\n\n<script type=\"module\">(function(){const t=document.createElement(\"link\").relList;if(t&&t.supports&&t.supports(\"modulepreload\"))return;for(const s of document.querySelectorAll('link[rel=\"modulepreload\"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type===\"childList\")for(const o of i.addedNodes)o.tagName===\"LINK\"&&o.rel===\"modulepreload\"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin===\"use-credentials\"?i.credentials=\"include\":s.crossOrigin===\"anonymous\"?i.credentials=\"omit\":i.credentials=\"same-origin\",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var nt=typeof globalThis<\"u\"?globalThis:typeof window<\"u\"?window:typeof global<\"u\"?global:typeof self<\"u\"?self:{};function hv(e){if(e.__esModule)return e;var t=e.default;if(typeof t==\"function\"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,\"__esModule\",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Ap={exports:{}},Wo={},Rp={exports:{}},$={};\/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/var Xs=Symbol.for(\"react.element\"),fv=Symbol.for(\"react.portal\"),pv=Symbol.for(\"react.fragment\"),mv=Symbol.for(\"react.strict_mode\"),gv=Symbol.for(\"react.profiler\"),yv=Symbol.for(\"react.provider\"),vv=Symbol.for(\"react.context\"),xv=Symbol.for(\"react.forward_ref\"),wv=Symbol.for(\"react.suspense\"),kv=Symbol.for(\"react.memo\"),bv=Symbol.for(\"react.lazy\"),Pd=Symbol.iterator;function Sv(e){return e===null||typeof e!=\"object\"?null:(e=Pd&&e[Pd]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var Mp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Op=Object.assign,Lp={};function $r(e,t,n){this.props=e,this.context=t,this.refs=Lp,this.updater=n||Mp}$r.prototype.isReactComponent={};$r.prototype.setState=function(e,t){if(typeof e!=\"object\"&&typeof e!=\"function\"&&e!=null)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,e,t,\"setState\")};$r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")};function Dp(){}Dp.prototype=$r.prototype;function Yu(e,t,n){this.props=e,this.context=t,this.refs=Lp,this.updater=n||Mp}var Xu=Yu.prototype=new Dp;Xu.constructor=Yu;Op(Xu,$r.prototype);Xu.isPureReactComponent=!0;var Nd=Array.isArray,Ip=Object.prototype.hasOwnProperty,Ju={current:null},Vp={key:!0,ref:!0,__self:!0,__source:!0};function $p(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=\"\"+t.key),t)Ip.call(t,r)&&!Vp.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];s.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:Xs,type:e,key:i,ref:o,props:s,_owner:Ju.current}}function _v(e,t){return{$$typeof:Xs,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Zu(e){return typeof e==\"object\"&&e!==null&&e.$$typeof===Xs}function jv(e){var t={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+e.replace(\/[=:]\/g,function(n){return t[n]})}var Ad=\/\\\/+\/g;function ka(e,t){return typeof e==\"object\"&&e!==null&&e.key!=null?jv(\"\"+e.key):t.toString(36)}function Bi(e,t,n,r,s){var i=typeof e;(i===\"undefined\"||i===\"boolean\")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case\"string\":case\"number\":o=!0;break;case\"object\":switch(e.$$typeof){case Xs:case fv:o=!0}}if(o)return o=e,s=s(o),e=r===\"\"?\".\"+ka(o,0):r,Nd(s)?(n=\"\",e!=null&&(n=e.replace(Ad,\"$&\/\")+\"\/\"),Bi(s,t,n,\"\",function(c){return c})):s!=null&&(Zu(s)&&(s=_v(s,n+(!s.key||o&&o.key===s.key?\"\":(\"\"+s.key).replace(Ad,\"$&\/\")+\"\/\")+e)),t.push(s)),1;if(o=0,r=r===\"\"?\".\":r+\":\",Nd(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+ka(i,a);o+=Bi(i,t,n,l,s)}else if(l=Sv(e),typeof l==\"function\")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+ka(i,a++),o+=Bi(i,t,n,l,s);else if(i===\"object\")throw t=String(e),Error(\"Objects are not valid as a React child (found: \"+(t===\"[object Object]\"?\"object with keys {\"+Object.keys(e).join(\", \")+\"}\":t)+\"). If you meant to render a collection of children, use an array instead.\");return o}function pi(e,t,n){if(e==null)return e;var r=[],s=0;return Bi(e,r,\"\",\"\",function(i){return t.call(n,i,s++)}),r}function Ev(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Me={current:null},Ui={transition:null},Tv={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:Ui,ReactCurrentOwner:Ju};function Fp(){throw Error(\"act(...) is not supported in production builds of React.\")}$.Children={map:pi,forEach:function(e,t,n){pi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return pi(e,function(){t++}),t},toArray:function(e){return pi(e,function(t){return t})||[]},only:function(e){if(!Zu(e))throw Error(\"React.Children.only expected to receive a single React element child.\");return e}};$.Component=$r;$.Fragment=pv;$.Profiler=gv;$.PureComponent=Yu;$.StrictMode=mv;$.Suspense=wv;$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tv;$.act=Fp;$.cloneElement=function(e,t,n){if(e==null)throw Error(\"React.cloneElement(...): The argument must be a React element, but you passed \"+e+\".\");var r=Op({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=Ju.current),t.key!==void 0&&(s=\"\"+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Ip.call(t,l)&&!Vp.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Xs,type:e.type,key:s,ref:i,props:r,_owner:o}};$.createContext=function(e){return e={$$typeof:vv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:yv,_context:e},e.Consumer=e};$.createElement=$p;$.createFactory=function(e){var t=$p.bind(null,e);return t.type=e,t};$.createRef=function(){return{current:null}};$.forwardRef=function(e){return{$$typeof:xv,render:e}};$.isValidElement=Zu;$.lazy=function(e){return{$$typeof:bv,_payload:{_status:-1,_result:e},_init:Ev}};$.memo=function(e,t){return{$$typeof:kv,type:e,compare:t===void 0?null:t}};$.startTransition=function(e){var t=Ui.transition;Ui.transition={};try{e()}finally{Ui.transition=t}};$.unstable_act=Fp;$.useCallback=function(e,t){return Me.current.useCallback(e,t)};$.useContext=function(e){return Me.current.useContext(e)};$.useDebugValue=function(){};$.useDeferredValue=function(e){return Me.current.useDeferredValue(e)};$.useEffect=function(e,t){return Me.current.useEffect(e,t)};$.useId=function(){return Me.current.useId()};$.useImperativeHandle=function(e,t,n){return Me.current.useImperativeHandle(e,t,n)};$.useInsertionEffect=function(e,t){return Me.current.useInsertionEffect(e,t)};$.useLayoutEffect=function(e,t){return Me.current.useLayoutEffect(e,t)};$.useMemo=function(e,t){return Me.current.useMemo(e,t)};$.useReducer=function(e,t,n){return Me.current.useReducer(e,t,n)};$.useRef=function(e){return Me.current.useRef(e)};$.useState=function(e){return Me.current.useState(e)};$.useSyncExternalStore=function(e,t,n){return Me.current.useSyncExternalStore(e,t,n)};$.useTransition=function(){return Me.current.useTransition()};$.version=\"18.3.1\";Rp.exports=$;var T=Rp.exports;\/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/var Cv=T,Pv=Symbol.for(\"react.element\"),Nv=Symbol.for(\"react.fragment\"),Av=Object.prototype.hasOwnProperty,Rv=Cv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Mv={key:!0,ref:!0,__self:!0,__source:!0};function Bp(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=\"\"+n),t.key!==void 0&&(i=\"\"+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Av.call(t,r)&&!Mv.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:Pv,type:e,key:i,ref:o,props:s,_owner:Rv.current}}Wo.Fragment=Nv;Wo.jsx=Bp;Wo.jsxs=Bp;Ap.exports=Wo;var u=Ap.exports,Up={exports:{}},Qe={},zp={exports:{}},Wp={};\/**\n * @license React\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/(function(e){function t(N,O){var D=N.length;N.push(O);e:for(;0<D;){var H=D-1>>>1,oe=N[H];if(0<s(oe,O))N[H]=O,N[D]=oe,D=H;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var O=N[0],D=N.pop();if(D!==O){N[0]=D;e:for(var H=0,oe=N.length,hi=oe>>>1;H<hi;){var wn=2*(H+1)-1,wa=N[wn],kn=wn+1,fi=N[kn];if(0>s(wa,D))kn<oe&&0>s(fi,wa)?(N[H]=fi,N[kn]=D,H=kn):(N[H]=wa,N[wn]=D,H=wn);else if(kn<oe&&0>s(fi,D))N[H]=fi,N[kn]=D,H=kn;else break e}}return O}function s(N,O){var D=N.sortIndex-O.sortIndex;return D!==0?D:N.id-O.id}if(typeof performance==\"object\"&&typeof performance.now==\"function\"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],c=[],d=1,h=null,f=3,p=!1,v=!1,x=!1,k=typeof setTimeout==\"function\"?setTimeout:null,g=typeof clearTimeout==\"function\"?clearTimeout:null,m=typeof setImmediate<\"u\"?setImmediate:null;typeof navigator<\"u\"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(N){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=N)r(c),O.sortIndex=O.expirationTime,t(l,O);else break;O=n(c)}}function w(N){if(x=!1,y(N),!v)if(n(l)!==null)v=!0,Le(b);else{var O=n(c);O!==null&&di(w,O.startTime-N)}}function b(N,O){v=!1,x&&(x=!1,g(S),S=-1),p=!0;var D=f;try{for(y(O),h=n(l);h!==null&&(!(h.expirationTime>O)||N&&!F());){var H=h.callback;if(typeof H==\"function\"){h.callback=null,f=h.priorityLevel;var oe=H(h.expirationTime<=O);O=e.unstable_now(),typeof oe==\"function\"?h.callback=oe:h===n(l)&&r(l),y(O)}else r(l);h=n(l)}if(h!==null)var hi=!0;else{var wn=n(c);wn!==null&&di(w,wn.startTime-O),hi=!1}return hi}finally{h=null,f=D,p=!1}}var j=!1,_=null,S=-1,M=5,P=-1;function F(){return!(e.unstable_now()-P<M)}function J(){if(_!==null){var N=e.unstable_now();P=N;var O=!0;try{O=_(!0,N)}finally{O?Ee():(j=!1,_=null)}}else j=!1}var Ee;if(typeof m==\"function\")Ee=function(){m(J)};else if(typeof MessageChannel<\"u\"){var We=new MessageChannel,at=We.port2;We.port1.onmessage=J,Ee=function(){at.postMessage(null)}}else Ee=function(){k(J,0)};function Le(N){_=N,j||(j=!0,Ee())}function di(N,O){S=k(function(){N(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){v||p||(v=!0,Le(b))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):M=0<N?Math.floor(1e3\/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var O=3;break;default:O=f}var D=f;f=O;try{return N()}finally{f=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,O){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var D=f;f=N;try{return O()}finally{f=D}},e.unstable_scheduleCallback=function(N,O,D){var H=e.unstable_now();switch(typeof D==\"object\"&&D!==null?(D=D.delay,D=typeof D==\"number\"&&0<D?H+D:H):D=H,N){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=D+oe,N={id:d++,callback:O,priorityLevel:N,startTime:D,expirationTime:oe,sortIndex:-1},D>H?(N.sortIndex=D,t(c,N),n(l)===null&&N===n(c)&&(x?(g(S),S=-1):x=!0,di(w,D-H))):(N.sortIndex=oe,t(l,N),v||p||(v=!0,Le(b))),N},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(N){var O=f;return function(){var D=f;f=O;try{return N.apply(this,arguments)}finally{f=D}}}})(Wp);zp.exports=Wp;var Ov=zp.exports;\/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\/var Lv=T,Ge=Ov;function C(e){for(var t=\"https:\/\/reactjs.org\/docs\/error-decoder.html?invariant=\"+e,n=1;n<arguments.length;n++)t+=\"&args[]=\"+encodeURIComponent(arguments[n]);return\"Minified React error #\"+e+\"; visit \"+t+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}var Hp=new Set,Ps={};function qn(e,t){Tr(e,t),Tr(e+\"Capture\",t)}function Tr(e,t){for(Ps[e]=t,e=0;e<t.length;e++)Hp.add(t[e])}var $t=!(typeof window>\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"),xl=Object.prototype.hasOwnProperty,Dv=\/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$\/,Rd={},Md={};function Iv(e){return xl.call(Md,e)?!0:xl.call(Rd,e)?!1:Dv.test(e)?Md[e]=!0:(Rd[e]=!0,!1)}function Vv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case\"function\":case\"symbol\":return!0;case\"boolean\":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!==\"data-\"&&e!==\"aria-\");default:return!1}}function $v(e,t,n,r){if(t===null||typeof t>\"u\"||Vv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oe(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ke={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(e){ke[e]=new Oe(e,0,!1,e,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(e){var t=e[0];ke[t]=new Oe(t,1,!1,e[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(e){ke[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(e){ke[e]=new Oe(e,2,!1,e,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(e){ke[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(e){ke[e]=new Oe(e,3,!0,e,null,!1,!1)});[\"capture\",\"download\"].forEach(function(e){ke[e]=new Oe(e,4,!1,e,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(e){ke[e]=new Oe(e,6,!1,e,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(e){ke[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ec=\/[\\-:]([a-z])\/g;function tc(e){return e[1].toUpperCase()}\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(e){var t=e.replace(ec,tc);ke[t]=new Oe(t,1,!1,e,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(e){var t=e.replace(ec,tc);ke[t]=new Oe(t,1,!1,e,\"http:\/\/www.w3.org\/1999\/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(e){var t=e.replace(ec,tc);ke[t]=new Oe(t,1,!1,e,\"http:\/\/www.w3.org\/XML\/1998\/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(e){ke[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Oe(\"xlinkHref\",1,!1,\"xlink:href\",\"http:\/\/www.w3.org\/1999\/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(e){ke[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function nc(e,t,n,r){var s=ke.hasOwnProperty(t)?ke[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!==\"o\"&&t[0]!==\"O\"||t[1]!==\"n\"&&t[1]!==\"N\")&&($v(t,n,s,r)&&(n=null),r||s===null?Iv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,\"\"+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:\"\":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?\"\":\"\"+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Wt=Lv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,mi=Symbol.for(\"react.element\"),ir=Symbol.for(\"react.portal\"),or=Symbol.for(\"react.fragment\"),rc=Symbol.for(\"react.strict_mode\"),wl=Symbol.for(\"react.profiler\"),qp=Symbol.for(\"react.provider\"),Kp=Symbol.for(\"react.context\"),sc=Symbol.for(\"react.forward_ref\"),kl=Symbol.for(\"react.suspense\"),bl=Symbol.for(\"react.suspense_list\"),ic=Symbol.for(\"react.memo\"),Qt=Symbol.for(\"react.lazy\"),Gp=Symbol.for(\"react.offscreen\"),Od=Symbol.iterator;function Gr(e){return e===null||typeof e!=\"object\"?null:(e=Od&&e[Od]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var ne=Object.assign,ba;function ss(e){if(ba===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(\/\\n( *(at )?)\/);ba=t&&t[1]||\"\"}return`\n`+ba+e}var Sa=!1;function _a(e,t){if(!e||Sa)return\"\";Sa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack==\"string\"){for(var s=c.stack.split(`\n`),i=r.stack.split(`\n`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var l=`\n`+s[o].replace(\" at new \",\" at \");return e.displayName&&l.includes(\"<anonymous>\")&&(l=l.replace(\"<anonymous>\",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Sa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:\"\")?ss(e):\"\"}function Fv(e){switch(e.tag){case 5:return ss(e.type);case 16:return ss(\"Lazy\");case 13:return ss(\"Suspense\");case 19:return ss(\"SuspenseList\");case 0:case 2:case 15:return e=_a(e.type,!1),e;case 11:return e=_a(e.type.render,!1),e;case 1:return e=_a(e.type,!0),e;default:return\"\"}}function Sl(e){if(e==null)return null;if(typeof e==\"function\")return e.displayName||e.name||null;if(typeof e==\"string\")return e;switch(e){case or:return\"Fragment\";case ir:return\"Portal\";case wl:return\"Profiler\";case rc:return\"StrictMode\";case kl:return\"Suspense\";case bl:return\"SuspenseList\"}if(typeof e==\"object\")switch(e.$$typeof){case Kp:return(e.displayName||\"Context\")+\".Consumer\";case qp:return(e._context.displayName||\"Context\")+\".Provider\";case sc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||\"\",e=e!==\"\"?\"ForwardRef(\"+e+\")\":\"ForwardRef\"),e;case ic:return t=e.displayName||null,t!==null?t:Sl(e.type)||\"Memo\";case Qt:t=e._payload,e=e._init;try{return Sl(e(t))}catch{}}return null}function Bv(e){var t=e.type;switch(e.tag){case 24:return\"Cache\";case 9:return(t.displayName||\"Context\")+\".Consumer\";case 10:return(t._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return e=t.render,e=e.displayName||e.name||\"\",t.displayName||(e!==\"\"?\"ForwardRef(\"+e+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return t;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Sl(t);case 8:return t===rc?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";case 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==\"function\")return t.displayName||t.name||null;if(typeof t==\"string\")return t}return null}function hn(e){switch(typeof e){case\"boolean\":case\"number\":case\"string\":case\"undefined\":return e;case\"object\":return e;default:return\"\"}}function Qp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===\"input\"&&(t===\"checkbox\"||t===\"radio\")}function Uv(e){var t=Qp(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=\"\"+e[t];if(!e.hasOwnProperty(t)&&typeof n<\"u\"&&typeof n.get==\"function\"&&typeof n.set==\"function\"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=\"\"+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=\"\"+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gi(e){e._valueTracker||(e._valueTracker=Uv(e))}function Yp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=\"\";return e&&(r=Qp(e)?e.checked?\"true\":\"false\":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function oo(e){if(e=e||(typeof document<\"u\"?document:void 0),typeof e>\"u\")return null;try{return e.activeElement||e.body}catch{return e.body}}function _l(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ld(e,t){var n=t.defaultValue==null?\"\":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=hn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===\"checkbox\"||t.type===\"radio\"?t.checked!=null:t.value!=null}}function Xp(e,t){t=t.checked,t!=null&&nc(e,\"checked\",t,!1)}function jl(e,t){Xp(e,t);var n=hn(t.value),r=t.type;if(n!=null)r===\"number\"?(n===0&&e.value===\"\"||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(r===\"submit\"||r===\"reset\"){e.removeAttribute(\"value\");return}t.hasOwnProperty(\"value\")?El(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&El(e,t.type,hn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dd(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var r=t.type;if(!(r!==\"submit\"&&r!==\"reset\"||t.value!==void 0&&t.value!==null))return;t=\"\"+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==\"\"&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,n!==\"\"&&(e.name=n)}function El(e,t,n){(t!==\"number\"||oo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}var is=Array.isArray;function kr(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t[\"$\"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty(\"$\"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=\"\"+hn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Tl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return ne({},t,{value:void 0,defaultValue:void 0,children:\"\"+e._wrapperState.initialValue})}function Id(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(is(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=\"\"),n=t}e._wrapperState={initialValue:hn(n)}}function Jp(e,t){var n=hn(t.value),r=hn(t.defaultValue);n!=null&&(n=\"\"+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=\"\"+r)}function Vd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==\"\"&&t!==null&&(e.value=t)}function Zp(e){switch(e){case\"svg\":return\"http:\/\/www.w3.org\/2000\/svg\";case\"math\":return\"http:\/\/www.w3.org\/1998\/Math\/MathML\";default:return\"http:\/\/www.w3.org\/1999\/xhtml\"}}function Cl(e,t){return e==null||e===\"http:\/\/www.w3.org\/1999\/xhtml\"?Zp(t):e===\"http:\/\/www.w3.org\/2000\/svg\"&&t===\"foreignObject\"?\"http:\/\/www.w3.org\/1999\/xhtml\":e}var yi,em=function(e){return typeof MSApp<\"u\"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!==\"http:\/\/www.w3.org\/2000\/svg\"||\"innerHTML\"in e)e.innerHTML=t;else{for(yi=yi||document.createElement(\"div\"),yi.innerHTML=\"<svg>\"+t.valueOf().toString()+\"<\/svg>\",t=yi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ns(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ds={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},zv=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(ds).forEach(function(e){zv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ds[t]=ds[e]})});function tm(e,t,n){return t==null||typeof t==\"boolean\"||t===\"\"?\"\":n||typeof t!=\"number\"||t===0||ds.hasOwnProperty(e)&&ds[e]?(\"\"+t).trim():t+\"px\"}function nm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf(\"--\")===0,s=tm(n,t[n],r);n===\"float\"&&(n=\"cssFloat\"),r?e.setProperty(n,s):e[n]=s}}var Wv=ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pl(e,t){if(t){if(Wv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!=\"object\"||!(\"__html\"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!=\"object\")throw Error(C(62))}}function Nl(e,t){if(e.indexOf(\"-\")===-1)return typeof t.is==\"string\";switch(e){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}var Al=null;function oc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rl=null,br=null,Sr=null;function $d(e){if(e=ei(e)){if(typeof Rl!=\"function\")throw Error(C(280));var t=e.stateNode;t&&(t=Qo(t),Rl(e.stateNode,e.type,t))}}function rm(e){br?Sr?Sr.push(e):Sr=[e]:br=e}function sm(){if(br){var e=br,t=Sr;if(Sr=br=null,$d(e),t)for(e=0;e<t.length;e++)$d(t[e])}}function im(e,t){return e(t)}function om(){}var ja=!1;function am(e,t,n){if(ja)return e(t,n);ja=!0;try{return im(e,t,n)}finally{ja=!1,(br!==null||Sr!==null)&&(om(),sm())}}function As(e,t){var n=e.stateNode;if(n===null)return null;var r=Qo(n);if(r===null)return null;n=r[t];e:switch(t){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(r=!r.disabled)||(e=e.type,r=!(e===\"button\"||e===\"input\"||e===\"select\"||e===\"textarea\")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!=\"function\")throw Error(C(231,t,typeof n));return n}var Ml=!1;if($t)try{var Qr={};Object.defineProperty(Qr,\"passive\",{get:function(){Ml=!0}}),window.addEventListener(\"test\",Qr,Qr),window.removeEventListener(\"test\",Qr,Qr)}catch{Ml=!1}function Hv(e,t,n,r,s,i,o,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var hs=!1,ao=null,lo=!1,Ol=null,qv={onError:function(e){hs=!0,ao=e}};function Kv(e,t,n,r,s,i,o,a,l){hs=!1,ao=null,Hv.apply(qv,arguments)}function Gv(e,t,n,r,s,i,o,a,l){if(Kv.apply(this,arguments),hs){if(hs){var c=ao;hs=!1,ao=null}else throw Error(C(198));lo||(lo=!0,Ol=c)}}function Kn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function lm(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Fd(e){if(Kn(e)!==e)throw Error(C(188))}function Qv(e){var t=e.alternate;if(!t){if(t=Kn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Fd(s),e;if(i===r)return Fd(s),t;i=i.sibling}throw Error(C(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o){for(a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function um(e){return e=Qv(e),e!==null?cm(e):null}function cm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=cm(e);if(t!==null)return t;e=e.sibling}return null}var dm=Ge.unstable_scheduleCallback,Bd=Ge.unstable_cancelCallback,Yv=Ge.unstable_shouldYield,Xv=Ge.unstable_requestPaint,se=Ge.unstable_now,Jv=Ge.unstable_getCurrentPriorityLevel,ac=Ge.unstable_ImmediatePriority,hm=Ge.unstable_UserBlockingPriority,uo=Ge.unstable_NormalPriority,Zv=Ge.unstable_LowPriority,fm=Ge.unstable_IdlePriority,Ho=null,Ct=null;function ex(e){if(Ct&&typeof Ct.onCommitFiberRoot==\"function\")try{Ct.onCommitFiberRoot(Ho,e,void 0,(e.current.flags&128)===128)}catch{}}var yt=Math.clz32?Math.clz32:rx,tx=Math.log,nx=Math.LN2;function rx(e){return e>>>=0,e===0?32:31-(tx(e)\/nx|0)|0}var vi=64,xi=4194304;function os(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function co(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~s;a!==0?r=os(a):(i&=o,i!==0&&(r=os(i)))}else o=n&~s,o!==0?r=os(o):i!==0&&(r=os(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-yt(t),s=1<<n,r|=e[n],t&=~s;return r}function sx(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ix(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-yt(i),a=1<<o,l=s[o];l===-1?(!(a&n)||a&r)&&(s[o]=sx(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function Ll(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function pm(){var e=vi;return vi<<=1,!(vi&4194240)&&(vi=64),e}function Ea(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Js(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=n}function ox(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-yt(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function lc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-yt(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var W=0;function mm(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gm,uc,ym,vm,xm,Dl=!1,wi=[],rn=null,sn=null,on=null,Rs=new Map,Ms=new Map,Xt=[],ax=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit\".split(\" \");function Ud(e,t){switch(e){case\"focusin\":case\"focusout\":rn=null;break;case\"dragenter\":case\"dragleave\":sn=null;break;case\"mouseover\":case\"mouseout\":on=null;break;case\"pointerover\":case\"pointerout\":Rs.delete(t.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Ms.delete(t.pointerId)}}function Yr(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=ei(t),t!==null&&uc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function lx(e,t,n,r,s){switch(t){case\"focusin\":return rn=Yr(rn,e,t,n,r,s),!0;case\"dragenter\":return sn=Yr(sn,e,t,n,r,s),!0;case\"mouseover\":return on=Yr(on,e,t,n,r,s),!0;case\"pointerover\":var i=s.pointerId;return Rs.set(i,Yr(Rs.get(i)||null,e,t,n,r,s)),!0;case\"gotpointercapture\":return i=s.pointerId,Ms.set(i,Yr(Ms.get(i)||null,e,t,n,r,s)),!0}return!1}function wm(e){var t=Nn(e.target);if(t!==null){var n=Kn(t);if(n!==null){if(t=n.tag,t===13){if(t=lm(n),t!==null){e.blockedOn=t,xm(e.priority,function(){ym(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Il(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Al=r,n.target.dispatchEvent(r),Al=null}else return t=ei(n),t!==null&&uc(t),e.blockedOn=n,!1;t.shift()}return!0}function zd(e,t,n){zi(e)&&n.delete(t)}function ux(){Dl=!1,rn!==null&&zi(rn)&&(rn=null),sn!==null&&zi(sn)&&(sn=null),on!==null&&zi(on)&&(on=null),Rs.forEach(zd),Ms.forEach(zd)}function Xr(e,t){e.blockedOn===t&&(e.blockedOn=null,Dl||(Dl=!0,Ge.unstable_scheduleCallback(Ge.unstable_NormalPriority,ux)))}function Os(e){function t(s){return Xr(s,e)}if(0<wi.length){Xr(wi[0],e);for(var n=1;n<wi.length;n++){var r=wi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(rn!==null&&Xr(rn,e),sn!==null&&Xr(sn,e),on!==null&&Xr(on,e),Rs.forEach(t),Ms.forEach(t),n=0;n<Xt.length;n++)r=Xt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Xt.length&&(n=Xt[0],n.blockedOn===null);)wm(n),n.blockedOn===null&&Xt.shift()}var _r=Wt.ReactCurrentBatchConfig,ho=!0;function cx(e,t,n,r){var s=W,i=_r.transition;_r.transition=null;try{W=1,cc(e,t,n,r)}finally{W=s,_r.transition=i}}function dx(e,t,n,r){var s=W,i=_r.transition;_r.transition=null;try{W=4,cc(e,t,n,r)}finally{W=s,_r.transition=i}}function cc(e,t,n,r){if(ho){var s=Il(e,t,n,r);if(s===null)Da(e,t,r,fo,n),Ud(e,r);else if(lx(s,e,t,n,r))r.stopPropagation();else if(Ud(e,r),t&4&&-1<ax.indexOf(e)){for(;s!==null;){var i=ei(s);if(i!==null&&gm(i),i=Il(e,t,n,r),i===null&&Da(e,t,r,fo,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else Da(e,t,r,null,n)}}var fo=null;function Il(e,t,n,r){if(fo=null,e=oc(r),e=Nn(e),e!==null)if(t=Kn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=lm(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return fo=e,null}function km(e){switch(e){case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return 1;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"toggle\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return 4;case\"message\":switch(Jv()){case ac:return 1;case hm:return 4;case uo:case Zv:return 16;case fm:return 536870912;default:return 16}default:return 16}}var en=null,dc=null,Wi=null;function bm(){if(Wi)return Wi;var e,t=dc,n=t.length,r,s=\"value\"in en?en.value:en.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return Wi=s.slice(e,1<r?1-r:void 0)}function Hi(e){var t=e.keyCode;return\"charCode\"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ki(){return!0}function Wd(){return!1}function Ye(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ki:Wd,this.isPropagationStopped=Wd,this}return ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=\"unknown\"&&(n.returnValue=!1),this.isDefaultPrevented=ki)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=\"unknown\"&&(n.cancelBubble=!0),this.isPropagationStopped=ki)},persist:function(){},isPersistent:ki}),t}var Fr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hc=Ye(Fr),Zs=ne({},Fr,{view:0,detail:0}),hx=Ye(Zs),Ta,Ca,Jr,qo=ne({},Zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return\"movementX\"in e?e.movementX:(e!==Jr&&(Jr&&e.type===\"mousemove\"?(Ta=e.screenX-Jr.screenX,Ca=e.screenY-Jr.screenY):Ca=Ta=0,Jr=e),Ta)},movementY:function(e){return\"movementY\"in e?e.movementY:Ca}}),Hd=Ye(qo),fx=ne({},qo,{dataTransfer:0}),px=Ye(fx),mx=ne({},Zs,{relatedTarget:0}),Pa=Ye(mx),gx=ne({},Fr,{animationName:0,elapsedTime:0,pseudoElement:0}),yx=Ye(gx),vx=ne({},Fr,{clipboardData:function(e){return\"clipboardData\"in e?e.clipboardData:window.clipboardData}}),xx=Ye(vx),wx=ne({},Fr,{data:0}),qd=Ye(wx),kx={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},bx={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},Sx={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function _x(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Sx[e])?!!t[e]:!1}function fc(){return _x}var jx=ne({},Zs,{key:function(e){if(e.key){var t=kx[e.key]||e.key;if(t!==\"Unidentified\")return t}return e.type===\"keypress\"?(e=Hi(e),e===13?\"Enter\":String.fromCharCode(e)):e.type===\"keydown\"||e.type===\"keyup\"?bx[e.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fc,charCode:function(e){return e.type===\"keypress\"?Hi(e):0},keyCode:function(e){return e.type===\"keydown\"||e.type===\"keyup\"?e.keyCode:0},which:function(e){return e.type===\"keypress\"?Hi(e):e.type===\"keydown\"||e.type===\"keyup\"?e.keyCode:0}}),Ex=Ye(jx),Tx=ne({},qo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kd=Ye(Tx),Cx=ne({},Zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fc}),Px=Ye(Cx),Nx=ne({},Fr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ax=Ye(Nx),Rx=ne({},qo,{deltaX:function(e){return\"deltaX\"in e?e.deltaX:\"wheelDeltaX\"in e?-e.wheelDeltaX:0},deltaY:function(e){return\"deltaY\"in e?e.deltaY:\"wheelDeltaY\"in e?-e.wheelDeltaY:\"wheelDelta\"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mx=Ye(Rx),Ox=[9,13,27,32],pc=$t&&\"CompositionEvent\"in window,fs=null;$t&&\"documentMode\"in document&&(fs=document.documentMode);var Lx=$t&&\"TextEvent\"in window&&!fs,Sm=$t&&(!pc||fs&&8<fs&&11>=fs),Gd=\" \",Qd=!1;function _m(e,t){switch(e){case\"keyup\":return Ox.indexOf(t.keyCode)!==-1;case\"keydown\":return t.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function jm(e){return e=e.detail,typeof e==\"object\"&&\"data\"in e?e.data:null}var ar=!1;function Dx(e,t){switch(e){case\"compositionend\":return jm(t);case\"keypress\":return t.which!==32?null:(Qd=!0,Gd);case\"textInput\":return e=t.data,e===Gd&&Qd?null:e;default:return null}}function Ix(e,t){if(ar)return e===\"compositionend\"||!pc&&_m(e,t)?(e=bm(),Wi=dc=en=null,ar=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case\"compositionend\":return Sm&&t.locale!==\"ko\"?null:t.data;default:return null}}var Vx={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Yd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===\"input\"?!!Vx[e.type]:t===\"textarea\"}function Em(e,t,n,r){rm(r),t=po(t,\"onChange\"),0<t.length&&(n=new hc(\"onChange\",\"change\",null,n,r),e.push({event:n,listeners:t}))}var ps=null,Ls=null;function $x(e){Im(e,0)}function Ko(e){var t=cr(e);if(Yp(t))return e}function Fx(e,t){if(e===\"change\")return t}var Tm=!1;if($t){var Na;if($t){var Aa=\"oninput\"in document;if(!Aa){var Xd=document.createElement(\"div\");Xd.setAttribute(\"oninput\",\"return;\"),Aa=typeof Xd.oninput==\"function\"}Na=Aa}else Na=!1;Tm=Na&&(!document.documentMode||9<document.documentMode)}function Jd(){ps&&(ps.detachEvent(\"onpropertychange\",Cm),Ls=ps=null)}function Cm(e){if(e.propertyName===\"value\"&&Ko(Ls)){var t=[];Em(t,Ls,e,oc(e)),am($x,t)}}function Bx(e,t,n){e===\"focusin\"?(Jd(),ps=t,Ls=n,ps.attachEvent(\"onpropertychange\",Cm)):e===\"focusout\"&&Jd()}function Ux(e){if(e===\"selectionchange\"||e===\"keyup\"||e===\"keydown\")return Ko(Ls)}function zx(e,t){if(e===\"click\")return Ko(t)}function Wx(e,t){if(e===\"input\"||e===\"change\")return Ko(t)}function Hx(e,t){return e===t&&(e!==0||1\/e===1\/t)||e!==e&&t!==t}var wt=typeof Object.is==\"function\"?Object.is:Hx;function Ds(e,t){if(wt(e,t))return!0;if(typeof e!=\"object\"||e===null||typeof t!=\"object\"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!xl.call(t,s)||!wt(e[s],t[s]))return!1}return!0}function Zd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eh(e,t){var n=Zd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Zd(n)}}function Pm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pm(e,t.parentNode):\"contains\"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Nm(){for(var e=window,t=oo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==\"string\"}catch{n=!1}if(n)e=t.contentWindow;else break;t=oo(e.document)}return t}function mc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===\"input\"&&(e.type===\"text\"||e.type===\"search\"||e.type===\"tel\"||e.type===\"url\"||e.type===\"password\")||t===\"textarea\"||e.contentEditable===\"true\")}function qx(e){var t=Nm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Pm(n.ownerDocument.documentElement,n)){if(r!==null&&mc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),\"selectionStart\"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=eh(n,i);var o=eh(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==\"function\"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Kx=$t&&\"documentMode\"in document&&11>=document.documentMode,lr=null,Vl=null,ms=null,$l=!1;function th(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$l||lr==null||lr!==oo(r)||(r=lr,\"selectionStart\"in r&&mc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ms&&Ds(ms,r)||(ms=r,r=po(Vl,\"onSelect\"),0<r.length&&(t=new hc(\"onSelect\",\"select\",null,t,n),e.push({event:t,listeners:r}),t.target=lr)))}function bi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[\"Webkit\"+e]=\"webkit\"+t,n[\"Moz\"+e]=\"moz\"+t,n}var ur={animationend:bi(\"Animation\",\"AnimationEnd\"),animationiteration:bi(\"Animation\",\"AnimationIteration\"),animationstart:bi(\"Animation\",\"AnimationStart\"),transitionend:bi(\"Transition\",\"TransitionEnd\")},Ra={},Am={};$t&&(Am=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),\"TransitionEvent\"in window||delete ur.transitionend.transition);function Go(e){if(Ra[e])return Ra[e];if(!ur[e])return e;var t=ur[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Am)return Ra[e]=t[n];return e}var Rm=Go(\"animationend\"),Mm=Go(\"animationiteration\"),Om=Go(\"animationstart\"),Lm=Go(\"transitionend\"),Dm=new Map,nh=\"abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\" \");function mn(e,t){Dm.set(e,t),qn(t,[e])}for(var Ma=0;Ma<nh.length;Ma++){var Oa=nh[Ma],Gx=Oa.toLowerCase(),Qx=Oa[0].toUpperCase()+Oa.slice(1);mn(Gx,\"on\"+Qx)}mn(Rm,\"onAnimationEnd\");mn(Mm,\"onAnimationIteration\");mn(Om,\"onAnimationStart\");mn(\"dblclick\",\"onDoubleClick\");mn(\"focusin\",\"onFocus\");mn(\"focusout\",\"onBlur\");mn(Lm,\"onTransitionEnd\");Tr(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]);Tr(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]);Tr(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]);Tr(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]);qn(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \"));qn(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \"));qn(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]);qn(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \"));qn(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \"));qn(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var as=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Yx=new Set(\"cancel close invalid load scroll toggle\".split(\" \").concat(as));function rh(e,t,n){var r=e.type||\"unknown-event\";e.currentTarget=n,Gv(r,t,void 0,e),e.currentTarget=null}function Im(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==i&&s.isPropagationStopped())break e;rh(s,a,c),i=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,c=a.currentTarget,a=a.listener,l!==i&&s.isPropagationStopped())break e;rh(s,a,c),i=l}}}if(lo)throw e=Ol,lo=!1,Ol=null,e}function Q(e,t){var n=t[Wl];n===void 0&&(n=t[Wl]=new Set);var r=e+\"__bubble\";n.has(r)||(Vm(t,e,2,!1),n.add(r))}function La(e,t,n){var r=0;t&&(r|=4),Vm(n,e,r,t)}var Si=\"_reactListening\"+Math.random().toString(36).slice(2);function Is(e){if(!e[Si]){e[Si]=!0,Hp.forEach(function(n){n!==\"selectionchange\"&&(Yx.has(n)||La(n,!1,e),La(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Si]||(t[Si]=!0,La(\"selectionchange\",!1,t))}}function Vm(e,t,n,r){switch(km(t)){case 1:var s=cx;break;case 4:s=dx;break;default:s=cc}n=s.bind(null,t,n,e),s=void 0,!Ml||t!==\"touchstart\"&&t!==\"touchmove\"&&t!==\"wheel\"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function Da(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;if(a===s||a.nodeType===8&&a.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===s||l.nodeType===8&&l.parentNode===s))return;o=o.return}for(;a!==null;){if(o=Nn(a),o===null)return;if(l=o.tag,l===5||l===6){r=i=o;continue e}a=a.parentNode}}r=r.return}am(function(){var c=i,d=oc(n),h=[];e:{var f=Dm.get(e);if(f!==void 0){var p=hc,v=e;switch(e){case\"keypress\":if(Hi(n)===0)break e;case\"keydown\":case\"keyup\":p=Ex;break;case\"focusin\":v=\"focus\",p=Pa;break;case\"focusout\":v=\"blur\",p=Pa;break;case\"beforeblur\":case\"afterblur\":p=Pa;break;case\"click\":if(n.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":p=Hd;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":p=px;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":p=Px;break;case Rm:case Mm:case Om:p=yx;break;case Lm:p=Ax;break;case\"scroll\":p=hx;break;case\"wheel\":p=Mx;break;case\"copy\":case\"cut\":case\"paste\":p=xx;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":p=Kd}var x=(t&4)!==0,k=!x&&e===\"scroll\",g=x?f!==null?f+\"Capture\":null:f;x=[];for(var m=c,y;m!==null;){y=m;var w=y.stateNode;if(y.tag===5&&w!==null&&(y=w,g!==null&&(w=As(m,g),w!=null&&x.push(Vs(m,w,y)))),k)break;m=m.return}0<x.length&&(f=new p(f,v,null,n,d),h.push({event:f,listeners:x}))}}if(!(t&7)){e:{if(f=e===\"mouseover\"||e===\"pointerover\",p=e===\"mouseout\"||e===\"pointerout\",f&&n!==Al&&(v=n.relatedTarget||n.fromElement)&&(Nn(v)||v[Ft]))break e;if((p||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,p?(v=n.relatedTarget||n.toElement,p=c,v=v?Nn(v):null,v!==null&&(k=Kn(v),v!==k||v.tag!==5&&v.tag!==6)&&(v=null)):(p=null,v=c),p!==v)){if(x=Hd,w=\"onMouseLeave\",g=\"onMouseEnter\",m=\"mouse\",(e===\"pointerout\"||e===\"pointerover\")&&(x=Kd,w=\"onPointerLeave\",g=\"onPointerEnter\",m=\"pointer\"),k=p==null?f:cr(p),y=v==null?f:cr(v),f=new x(w,m+\"leave\",p,n,d),f.target=k,f.relatedTarget=y,w=null,Nn(d)===c&&(x=new x(g,m+\"enter\",v,n,d),x.target=y,x.relatedTarget=k,w=x),k=w,p&&v)t:{for(x=p,g=v,m=0,y=x;y;y=Qn(y))m++;for(y=0,w=g;w;w=Qn(w))y++;for(;0<m-y;)x=Qn(x),m--;for(;0<y-m;)g=Qn(g),y--;for(;m--;){if(x===g||g!==null&&x===g.alternate)break t;x=Qn(x),g=Qn(g)}x=null}else x=null;p!==null&&sh(h,f,p,x,!1),v!==null&&k!==null&&sh(h,k,v,x,!0)}}e:{if(f=c?cr(c):window,p=f.nodeName&&f.nodeName.toLowerCase(),p===\"select\"||p===\"input\"&&f.type===\"file\")var b=Fx;else if(Yd(f))if(Tm)b=Wx;else{b=Ux;var j=Bx}else(p=f.nodeName)&&p.toLowerCase()===\"input\"&&(f.type===\"checkbox\"||f.type===\"radio\")&&(b=zx);if(b&&(b=b(e,c))){Em(h,b,n,d);break e}j&&j(e,f,c),e===\"focusout\"&&(j=f._wrapperState)&&j.controlled&&f.type===\"number\"&&El(f,\"number\",f.value)}switch(j=c?cr(c):window,e){case\"focusin\":(Yd(j)||j.contentEditable===\"true\")&&(lr=j,Vl=c,ms=null);break;case\"focusout\":ms=Vl=lr=null;break;case\"mousedown\":$l=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":$l=!1,th(h,n,d);break;case\"selectionchange\":if(Kx)break;case\"keydown\":case\"keyup\":th(h,n,d)}var _;if(pc)e:{switch(e){case\"compositionstart\":var S=\"onCompositionStart\";break e;case\"compositionend\":S=\"onCompositionEnd\";break e;case\"compositionupdate\":S=\"onCompositionUpdate\";break e}S=void 0}else ar?_m(e,n)&&(S=\"onCompositionEnd\"):e===\"keydown\"&&n.keyCode===229&&(S=\"onCompositionStart\");S&&(Sm&&n.locale!==\"ko\"&&(ar||S!==\"onCompositionStart\"?S===\"onCompositionEnd\"&&ar&&(_=bm()):(en=d,dc=\"value\"in en?en.value:en.textContent,ar=!0)),j=po(c,S),0<j.length&&(S=new qd(S,e,null,n,d),h.push({event:S,listeners:j}),_?S.data=_:(_=jm(n),_!==null&&(S.data=_)))),(_=Lx?Dx(e,n):Ix(e,n))&&(c=po(c,\"onBeforeInput\"),0<c.length&&(d=new qd(\"onBeforeInput\",\"beforeinput\",null,n,d),h.push({event:d,listeners:c}),d.data=_))}Im(h,t)})}function Vs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function po(e,t){for(var n=t+\"Capture\",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=As(e,n),i!=null&&r.unshift(Vs(e,i,s)),i=As(e,t),i!=null&&r.push(Vs(e,i,s))),e=e.return}return r}function Qn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function sh(e,t,n,r,s){for(var i=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,s?(l=As(n,i),l!=null&&o.unshift(Vs(n,l,a))):s||(l=As(n,i),l!=null&&o.push(Vs(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Xx=\/\\r\\n?\/g,Jx=\/\\u0000|\\uFFFD\/g;function ih(e){return(typeof e==\"string\"?e:\"\"+e).replace(Xx,`\n`).replace(Jx,\"\")}function _i(e,t,n){if(t=ih(t),ih(e)!==t&&n)throw Error(C(425))}function mo(){}var Fl=null,Bl=null;function Ul(e,t){return e===\"textarea\"||e===\"noscript\"||typeof t.children==\"string\"||typeof t.children==\"number\"||typeof t.dangerouslySetInnerHTML==\"object\"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var zl=typeof setTimeout==\"function\"?setTimeout:void 0,Zx=typeof clearTimeout==\"function\"?clearTimeout:void 0,oh=typeof Promise==\"function\"?Promise:void 0,ew=typeof queueMicrotask==\"function\"?queueMicrotask:typeof oh<\"u\"?function(e){return oh.resolve(null).then(e).catch(tw)}:zl;function tw(e){setTimeout(function(){throw e})}function Ia(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===\"\/$\"){if(r===0){e.removeChild(s),Os(t);return}r--}else n!==\"$\"&&n!==\"$?\"&&n!==\"$!\"||r++;n=s}while(n);Os(t)}function an(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===\"$\"||t===\"$!\"||t===\"$?\")break;if(t===\"\/$\")return null}}return e}function ah(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===\"$\"||n===\"$!\"||n===\"$?\"){if(t===0)return e;t--}else n===\"\/$\"&&t++}e=e.previousSibling}return null}var Br=Math.random().toString(36).slice(2),Tt=\"__reactFiber$\"+Br,$s=\"__reactProps$\"+Br,Ft=\"__reactContainer$\"+Br,Wl=\"__reactEvents$\"+Br,nw=\"__reactListeners$\"+Br,rw=\"__reactHandles$\"+Br;function Nn(e){var t=e[Tt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ft]||n[Tt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ah(e);e!==null;){if(n=e[Tt])return n;e=ah(e)}return t}e=n,n=e.parentNode}return null}function ei(e){return e=e[Tt]||e[Ft],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function Qo(e){return e[$s]||null}var Hl=[],dr=-1;function gn(e){return{current:e}}function Y(e){0>dr||(e.current=Hl[dr],Hl[dr]=null,dr--)}function G(e,t){dr++,Hl[dr]=e.current,e.current=t}var fn={},je=gn(fn),$e=gn(!1),$n=fn;function Cr(e,t){var n=e.type.contextTypes;if(!n)return fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Fe(e){return e=e.childContextTypes,e!=null}function go(){Y($e),Y(je)}function lh(e,t,n){if(je.current!==fn)throw Error(C(168));G(je,t),G($e,n)}function $m(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!=\"function\")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(C(108,Bv(e)||\"Unknown\",s));return ne({},n,r)}function yo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fn,$n=je.current,G(je,e),G($e,$e.current),!0}function uh(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=$m(e,t,$n),r.__reactInternalMemoizedMergedChildContext=e,Y($e),Y(je),G(je,e)):Y($e),G($e,n)}var Lt=null,Yo=!1,Va=!1;function Fm(e){Lt===null?Lt=[e]:Lt.push(e)}function sw(e){Yo=!0,Fm(e)}function yn(){if(!Va&&Lt!==null){Va=!0;var e=0,t=W;try{var n=Lt;for(W=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Lt=null,Yo=!1}catch(s){throw Lt!==null&&(Lt=Lt.slice(e+1)),dm(ac,yn),s}finally{W=t,Va=!1}}return null}var hr=[],fr=0,vo=null,xo=0,Xe=[],Je=0,Fn=null,Dt=1,It=\"\";function jn(e,t){hr[fr++]=xo,hr[fr++]=vo,vo=e,xo=t}function Bm(e,t,n){Xe[Je++]=Dt,Xe[Je++]=It,Xe[Je++]=Fn,Fn=e;var r=Dt;e=It;var s=32-yt(r)-1;r&=~(1<<s),n+=1;var i=32-yt(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,Dt=1<<32-yt(t)+s|n<<s|r,It=i+e}else Dt=1<<i|n<<s|r,It=e}function gc(e){e.return!==null&&(jn(e,1),Bm(e,1,0))}function yc(e){for(;e===vo;)vo=hr[--fr],hr[fr]=null,xo=hr[--fr],hr[fr]=null;for(;e===Fn;)Fn=Xe[--Je],Xe[Je]=null,It=Xe[--Je],Xe[Je]=null,Dt=Xe[--Je],Xe[Je]=null}var Ke=null,qe=null,X=!1,mt=null;function Um(e,t){var n=Ze(5,null,null,0);n.elementType=\"DELETED\",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ch(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ke=e,qe=an(t.firstChild),!0):!1;case 6:return t=e.pendingProps===\"\"||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ke=e,qe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Fn!==null?{id:Dt,overflow:It}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ze(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ke=e,qe=null,!0):!1;default:return!1}}function ql(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kl(e){if(X){var t=qe;if(t){var n=t;if(!ch(e,t)){if(ql(e))throw Error(C(418));t=an(n.nextSibling);var r=Ke;t&&ch(e,t)?Um(r,n):(e.flags=e.flags&-4097|2,X=!1,Ke=e)}}else{if(ql(e))throw Error(C(418));e.flags=e.flags&-4097|2,X=!1,Ke=e}}}function dh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ke=e}function ji(e){if(e!==Ke)return!1;if(!X)return dh(e),X=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==\"head\"&&t!==\"body\"&&!Ul(e.type,e.memoizedProps)),t&&(t=qe)){if(ql(e))throw zm(),Error(C(418));for(;t;)Um(e,t),t=an(t.nextSibling)}if(dh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===\"\/$\"){if(t===0){qe=an(e.nextSibling);break e}t--}else n!==\"$\"&&n!==\"$!\"&&n!==\"$?\"||t++}e=e.nextSibling}qe=null}}else qe=Ke?an(e.stateNode.nextSibling):null;return!0}function zm(){for(var e=qe;e;)e=an(e.nextSibling)}function Pr(){qe=Ke=null,X=!1}function vc(e){mt===null?mt=[e]:mt.push(e)}var iw=Wt.ReactCurrentBatchConfig;function Zr(e,t,n){if(e=n.ref,e!==null&&typeof e!=\"function\"&&typeof e!=\"object\"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var r=n.stateNode}if(!r)throw Error(C(147,e));var s=r,i=\"\"+e;return t!==null&&t.ref!==null&&typeof t.ref==\"function\"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=s.refs;o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!=\"string\")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function Ei(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e===\"[object Object]\"?\"object with keys {\"+Object.keys(t).join(\", \")+\"}\":e))}function hh(e){var t=e._init;return t(e._payload)}function Wm(e){function t(g,m){if(e){var y=g.deletions;y===null?(g.deletions=[m],g.flags|=16):y.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function s(g,m){return g=dn(g,m),g.index=0,g.sibling=null,g}function i(g,m,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<m?(g.flags|=2,m):y):(g.flags|=2,m)):(g.flags|=1048576,m)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,y,w){return m===null||m.tag!==6?(m=Ha(y,g.mode,w),m.return=g,m):(m=s(m,y),m.return=g,m)}function l(g,m,y,w){var b=y.type;return b===or?d(g,m,y.props.children,w,y.key):m!==null&&(m.elementType===b||typeof b==\"object\"&&b!==null&&b.$$typeof===Qt&&hh(b)===m.type)?(w=s(m,y.props),w.ref=Zr(g,m,y),w.return=g,w):(w=Ji(y.type,y.key,y.props,null,g.mode,w),w.ref=Zr(g,m,y),w.return=g,w)}function c(g,m,y,w){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=qa(y,g.mode,w),m.return=g,m):(m=s(m,y.children||[]),m.return=g,m)}function d(g,m,y,w,b){return m===null||m.tag!==7?(m=Dn(y,g.mode,w,b),m.return=g,m):(m=s(m,y),m.return=g,m)}function h(g,m,y){if(typeof m==\"string\"&&m!==\"\"||typeof m==\"number\")return m=Ha(\"\"+m,g.mode,y),m.return=g,m;if(typeof m==\"object\"&&m!==null){switch(m.$$typeof){case mi:return y=Ji(m.type,m.key,m.props,null,g.mode,y),y.ref=Zr(g,null,m),y.return=g,y;case ir:return m=qa(m,g.mode,y),m.return=g,m;case Qt:var w=m._init;return h(g,w(m._payload),y)}if(is(m)||Gr(m))return m=Dn(m,g.mode,y,null),m.return=g,m;Ei(g,m)}return null}function f(g,m,y,w){var b=m!==null?m.key:null;if(typeof y==\"string\"&&y!==\"\"||typeof y==\"number\")return b!==null?null:a(g,m,\"\"+y,w);if(typeof y==\"object\"&&y!==null){switch(y.$$typeof){case mi:return y.key===b?l(g,m,y,w):null;case ir:return y.key===b?c(g,m,y,w):null;case Qt:return b=y._init,f(g,m,b(y._payload),w)}if(is(y)||Gr(y))return b!==null?null:d(g,m,y,w,null);Ei(g,y)}return null}function p(g,m,y,w,b){if(typeof w==\"string\"&&w!==\"\"||typeof w==\"number\")return g=g.get(y)||null,a(m,g,\"\"+w,b);if(typeof w==\"object\"&&w!==null){switch(w.$$typeof){case mi:return g=g.get(w.key===null?y:w.key)||null,l(m,g,w,b);case ir:return g=g.get(w.key===null?y:w.key)||null,c(m,g,w,b);case Qt:var j=w._init;return p(g,m,y,j(w._payload),b)}if(is(w)||Gr(w))return g=g.get(y)||null,d(m,g,w,b,null);Ei(m,w)}return null}function v(g,m,y,w){for(var b=null,j=null,_=m,S=m=0,M=null;_!==null&&S<y.length;S++){_.index>S?(M=_,_=null):M=_.sibling;var P=f(g,_,y[S],w);if(P===null){_===null&&(_=M);break}e&&_&&P.alternate===null&&t(g,_),m=i(P,m,S),j===null?b=P:j.sibling=P,j=P,_=M}if(S===y.length)return n(g,_),X&&jn(g,S),b;if(_===null){for(;S<y.length;S++)_=h(g,y[S],w),_!==null&&(m=i(_,m,S),j===null?b=_:j.sibling=_,j=_);return X&&jn(g,S),b}for(_=r(g,_);S<y.length;S++)M=p(_,g,S,y[S],w),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?S:M.key),m=i(M,m,S),j===null?b=M:j.sibling=M,j=M);return e&&_.forEach(function(F){return t(g,F)}),X&&jn(g,S),b}function x(g,m,y,w){var b=Gr(y);if(typeof b!=\"function\")throw Error(C(150));if(y=b.call(y),y==null)throw Error(C(151));for(var j=b=null,_=m,S=m=0,M=null,P=y.next();_!==null&&!P.done;S++,P=y.next()){_.index>S?(M=_,_=null):M=_.sibling;var F=f(g,_,P.value,w);if(F===null){_===null&&(_=M);break}e&&_&&F.alternate===null&&t(g,_),m=i(F,m,S),j===null?b=F:j.sibling=F,j=F,_=M}if(P.done)return n(g,_),X&&jn(g,S),b;if(_===null){for(;!P.done;S++,P=y.next())P=h(g,P.value,w),P!==null&&(m=i(P,m,S),j===null?b=P:j.sibling=P,j=P);return X&&jn(g,S),b}for(_=r(g,_);!P.done;S++,P=y.next())P=p(_,g,S,P.value,w),P!==null&&(e&&P.alternate!==null&&_.delete(P.key===null?S:P.key),m=i(P,m,S),j===null?b=P:j.sibling=P,j=P);return e&&_.forEach(function(J){return t(g,J)}),X&&jn(g,S),b}function k(g,m,y,w){if(typeof y==\"object\"&&y!==null&&y.type===or&&y.key===null&&(y=y.props.children),typeof y==\"object\"&&y!==null){switch(y.$$typeof){case mi:e:{for(var b=y.key,j=m;j!==null;){if(j.key===b){if(b=y.type,b===or){if(j.tag===7){n(g,j.sibling),m=s(j,y.props.children),m.return=g,g=m;break e}}else if(j.elementType===b||typeof b==\"object\"&&b!==null&&b.$$typeof===Qt&&hh(b)===j.type){n(g,j.sibling),m=s(j,y.props),m.ref=Zr(g,j,y),m.return=g,g=m;break e}n(g,j);break}else t(g,j);j=j.sibling}y.type===or?(m=Dn(y.props.children,g.mode,w,y.key),m.return=g,g=m):(w=Ji(y.type,y.key,y.props,null,g.mode,w),w.ref=Zr(g,m,y),w.return=g,g=w)}return o(g);case ir:e:{for(j=y.key;m!==null;){if(m.key===j)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(g,m.sibling),m=s(m,y.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=qa(y,g.mode,w),m.return=g,g=m}return o(g);case Qt:return j=y._init,k(g,m,j(y._payload),w)}if(is(y))return v(g,m,y,w);if(Gr(y))return x(g,m,y,w);Ei(g,y)}return typeof y==\"string\"&&y!==\"\"||typeof y==\"number\"?(y=\"\"+y,m!==null&&m.tag===6?(n(g,m.sibling),m=s(m,y),m.return=g,g=m):(n(g,m),m=Ha(y,g.mode,w),m.return=g,g=m),o(g)):n(g,m)}return k}var Nr=Wm(!0),Hm=Wm(!1),wo=gn(null),ko=null,pr=null,xc=null;function wc(){xc=pr=ko=null}function kc(e){var t=wo.current;Y(wo),e._currentValue=t}function Gl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function jr(e,t){ko=e,xc=pr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function rt(e){var t=e._currentValue;if(xc!==e)if(e={context:e,memoizedValue:t,next:null},pr===null){if(ko===null)throw Error(C(308));pr=e,ko.dependencies={lanes:0,firstContext:e}}else pr=pr.next=e;return t}var An=null;function bc(e){An===null?An=[e]:An.push(e)}function qm(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,bc(t)):(n.next=s.next,s.next=n),t.interleaved=n,Bt(e,r)}function Bt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Yt=!1;function Sc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Km(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ln(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Bt(e,n)}return s=r.interleaved,s===null?(t.next=t,bc(r)):(t.next=s.next,s.next=t),r.interleaved=t,Bt(e,n)}function qi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lc(e,n)}}function fh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function bo(e,t,n,r){var s=e.updateQueue;Yt=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,a=s.shared.pending;if(a!==null){s.shared.pending=null;var l=a,c=l.next;l.next=null,o===null?i=c:o.next=c,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==o&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=l))}if(i!==null){var h=s.baseState;o=0,d=c=l=null,a=i;do{var f=a.lane,p=a.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,x=a;switch(f=t,p=n,x.tag){case 1:if(v=x.payload,typeof v==\"function\"){h=v.call(p,h,f);break e}h=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,f=typeof v==\"function\"?v.call(p,h,f):v,f==null)break e;h=ne({},h,f);break e;case 2:Yt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=p,l=h):d=d.next=p,o|=f;if(a=a.next,a===null){if(a=s.shared.pending,a===null)break;f=a,a=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(d===null&&(l=h),s.baseState=l,s.firstBaseUpdate=c,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);Un|=o,e.lanes=o,e.memoizedState=h}}function ph(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!=\"function\")throw Error(C(191,s));s.call(r)}}}var ti={},Pt=gn(ti),Fs=gn(ti),Bs=gn(ti);function Rn(e){if(e===ti)throw Error(C(174));return e}function _c(e,t){switch(G(Bs,t),G(Fs,e),G(Pt,ti),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Cl(null,\"\");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Cl(t,e)}Y(Pt),G(Pt,t)}function Ar(){Y(Pt),Y(Fs),Y(Bs)}function Gm(e){Rn(Bs.current);var t=Rn(Pt.current),n=Cl(t,e.type);t!==n&&(G(Fs,e),G(Pt,n))}function jc(e){Fs.current===e&&(Y(Pt),Y(Fs))}var ee=gn(0);function So(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===\"$?\"||n.data===\"$!\"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $a=[];function Ec(){for(var e=0;e<$a.length;e++)$a[e]._workInProgressVersionPrimary=null;$a.length=0}var Ki=Wt.ReactCurrentDispatcher,Fa=Wt.ReactCurrentBatchConfig,Bn=0,te=null,he=null,ge=null,_o=!1,gs=!1,Us=0,ow=0;function be(){throw Error(C(321))}function Tc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!wt(e[n],t[n]))return!1;return!0}function Cc(e,t,n,r,s,i){if(Bn=i,te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=e===null||e.memoizedState===null?cw:dw,e=n(r,s),gs){i=0;do{if(gs=!1,Us=0,25<=i)throw Error(C(301));i+=1,ge=he=null,t.updateQueue=null,Ki.current=hw,e=n(r,s)}while(gs)}if(Ki.current=jo,t=he!==null&&he.next!==null,Bn=0,ge=he=te=null,_o=!1,t)throw Error(C(300));return e}function Pc(){var e=Us!==0;return Us=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ge===null?te.memoizedState=ge=e:ge=ge.next=e,ge}function st(){if(he===null){var e=te.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var t=ge===null?te.memoizedState:ge.next;if(t!==null)ge=t,he=e;else{if(e===null)throw Error(C(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},ge===null?te.memoizedState=ge=e:ge=ge.next=e}return ge}function zs(e,t){return typeof t==\"function\"?t(e):t}function Ba(e){var t=st(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=he,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var a=o=null,l=null,c=i;do{var d=c.lane;if((Bn&d)===d)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=h,o=r):l=l.next=h,te.lanes|=d,Un|=d}c=c.next}while(c!==null&&c!==i);l===null?o=r:l.next=a,wt(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,te.lanes|=i,Un|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ua(e){var t=st(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);wt(i,t.memoizedState)||(Ve=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Qm(){}function Ym(e,t){var n=te,r=st(),s=t(),i=!wt(r.memoizedState,s);if(i&&(r.memoizedState=s,Ve=!0),r=r.queue,Nc(Zm.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ge!==null&&ge.memoizedState.tag&1){if(n.flags|=2048,Ws(9,Jm.bind(null,n,r,s,t),void 0,null),ye===null)throw Error(C(349));Bn&30||Xm(n,t,s)}return s}function Xm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=te.updateQueue,t===null?(t={lastEffect:null,stores:null},te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Jm(e,t,n,r){t.value=n,t.getSnapshot=r,eg(t)&&tg(e)}function Zm(e,t,n){return n(function(){eg(t)&&tg(e)})}function eg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!wt(e,n)}catch{return!0}}function tg(e){var t=Bt(e,1);t!==null&&vt(t,e,1,-1)}function mh(e){var t=St();return typeof e==\"function\"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zs,lastRenderedState:e},t.queue=e,e=e.dispatch=uw.bind(null,te,e),[t.memoizedState,e]}function Ws(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=te.updateQueue,t===null?(t={lastEffect:null,stores:null},te.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ng(){return st().memoizedState}function Gi(e,t,n,r){var s=St();te.flags|=e,s.memoizedState=Ws(1|t,n,void 0,r===void 0?null:r)}function Xo(e,t,n,r){var s=st();r=r===void 0?null:r;var i=void 0;if(he!==null){var o=he.memoizedState;if(i=o.destroy,r!==null&&Tc(r,o.deps)){s.memoizedState=Ws(t,n,i,r);return}}te.flags|=e,s.memoizedState=Ws(1|t,n,i,r)}function gh(e,t){return Gi(8390656,8,e,t)}function Nc(e,t){return Xo(2048,8,e,t)}function rg(e,t){return Xo(4,2,e,t)}function sg(e,t){return Xo(4,4,e,t)}function ig(e,t){if(typeof t==\"function\")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function og(e,t,n){return n=n!=null?n.concat([e]):null,Xo(4,4,ig.bind(null,t,e),n)}function Ac(){}function ag(e,t){var n=st();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function lg(e,t){var n=st();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Tc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ug(e,t,n){return Bn&21?(wt(n,t)||(n=pm(),te.lanes|=n,Un|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function aw(e,t){var n=W;W=n!==0&&4>n?n:4,e(!0);var r=Fa.transition;Fa.transition={};try{e(!1),t()}finally{W=n,Fa.transition=r}}function cg(){return st().memoizedState}function lw(e,t,n){var r=cn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dg(e))hg(t,n);else if(n=qm(e,t,n,r),n!==null){var s=Ae();vt(n,e,r,s),fg(n,t,r)}}function uw(e,t,n){var r=cn(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dg(e))hg(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(s.hasEagerState=!0,s.eagerState=a,wt(a,o)){var l=t.interleaved;l===null?(s.next=s,bc(t)):(s.next=l.next,l.next=s),t.interleaved=s;return}}catch{}finally{}n=qm(e,t,s,r),n!==null&&(s=Ae(),vt(n,e,r,s),fg(n,t,r))}}function dg(e){var t=e.alternate;return e===te||t!==null&&t===te}function hg(e,t){gs=_o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lc(e,n)}}var jo={readContext:rt,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},cw={readContext:rt,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:gh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Gi(4194308,4,ig.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Gi(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=lw.bind(null,te,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:mh,useDebugValue:Ac,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=mh(!1),t=e[0];return e=aw.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=te,s=St();if(X){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ye===null)throw Error(C(349));Bn&30||Xm(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,gh(Zm.bind(null,r,i,e),[e]),r.flags|=2048,Ws(9,Jm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=ye.identifierPrefix;if(X){var n=It,r=Dt;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=\":\"+t+\"R\"+n,n=Us++,0<n&&(t+=\"H\"+n.toString(32)),t+=\":\"}else n=ow++,t=\":\"+t+\"r\"+n.toString(32)+\":\";return e.memoizedState=t},unstable_isNewReconciler:!1},dw={readContext:rt,useCallback:ag,useContext:rt,useEffect:Nc,useImperativeHandle:og,useInsertionEffect:rg,useLayoutEffect:sg,useMemo:lg,useReducer:Ba,useRef:ng,useState:function(){return Ba(zs)},useDebugValue:Ac,useDeferredValue:function(e){var t=st();return ug(t,he.memoizedState,e)},useTransition:function(){var e=Ba(zs)[0],t=st().memoizedState;return[e,t]},useMutableSource:Qm,useSyncExternalStore:Ym,useId:cg,unstable_isNewReconciler:!1},hw={readContext:rt,useCallback:ag,useContext:rt,useEffect:Nc,useImperativeHandle:og,useInsertionEffect:rg,useLayoutEffect:sg,useMemo:lg,useReducer:Ua,useRef:ng,useState:function(){return Ua(zs)},useDebugValue:Ac,useDeferredValue:function(e){var t=st();return he===null?t.memoizedState=e:ug(t,he.memoizedState,e)},useTransition:function(){var e=Ua(zs)[0],t=st().memoizedState;return[e,t]},useMutableSource:Qm,useSyncExternalStore:Ym,useId:cg,unstable_isNewReconciler:!1};function ht(e,t){if(e&&e.defaultProps){t=ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ql(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ne({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Jo={isMounted:function(e){return(e=e._reactInternals)?Kn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ae(),s=cn(e),i=Vt(r,s);i.payload=t,n!=null&&(i.callback=n),t=ln(e,i,s),t!==null&&(vt(t,e,s,r),qi(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ae(),s=cn(e),i=Vt(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=ln(e,i,s),t!==null&&(vt(t,e,s,r),qi(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ae(),r=cn(e),s=Vt(n,r);s.tag=2,t!=null&&(s.callback=t),t=ln(e,s,r),t!==null&&(vt(t,e,r,n),qi(t,e,r))}};function yh(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate==\"function\"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!Ds(n,r)||!Ds(s,i):!0}function pg(e,t,n){var r=!1,s=fn,i=t.contextType;return typeof i==\"object\"&&i!==null?i=rt(i):(s=Fe(t)?$n:je.current,r=t.contextTypes,i=(r=r!=null)?Cr(e,s):fn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Jo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function vh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==\"function\"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==\"function\"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Jo.enqueueReplaceState(t,t.state,null)}function Yl(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Sc(e);var i=t.contextType;typeof i==\"object\"&&i!==null?s.context=rt(i):(i=Fe(t)?$n:je.current,s.context=Cr(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i==\"function\"&&(Ql(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps==\"function\"||typeof s.getSnapshotBeforeUpdate==\"function\"||typeof s.UNSAFE_componentWillMount!=\"function\"&&typeof s.componentWillMount!=\"function\"||(t=s.state,typeof s.componentWillMount==\"function\"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount==\"function\"&&s.UNSAFE_componentWillMount(),t!==s.state&&Jo.enqueueReplaceState(s,s.state,null),bo(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount==\"function\"&&(e.flags|=4194308)}function Rr(e,t){try{var n=\"\",r=t;do n+=Fv(r),r=r.return;while(r);var s=n}catch(i){s=`\nError generating stack: `+i.message+`\n`+i.stack}return{value:e,source:t,stack:s,digest:null}}function za(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var fw=typeof WeakMap==\"function\"?WeakMap:Map;function mg(e,t,n){n=Vt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){To||(To=!0,au=r),Xl(e,t)},n}function gg(e,t,n){n=Vt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==\"function\"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Xl(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch==\"function\"&&(n.callback=function(){Xl(e,t),typeof r!=\"function\"&&(un===null?un=new Set([this]):un.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:\"\"})}),n}function xh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new fw;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=Tw.bind(null,e,t,n),t.then(e,e))}function wh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function kh(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Vt(-1,1),t.tag=2,ln(n,t,1))),n.lanes|=1),e)}var pw=Wt.ReactCurrentOwner,Ve=!1;function Ce(e,t,n,r){t.child=e===null?Hm(t,null,n,r):Nr(t,e.child,n,r)}function bh(e,t,n,r,s){n=n.render;var i=t.ref;return jr(t,s),r=Cc(e,t,n,r,i,s),n=Pc(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Ut(e,t,s)):(X&&n&&gc(t),t.flags|=1,Ce(e,t,r,s),t.child)}function Sh(e,t,n,r,s){if(e===null){var i=n.type;return typeof i==\"function\"&&!$c(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,yg(e,t,i,r,s)):(e=Ji(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ds,n(o,r)&&e.ref===t.ref)return Ut(e,t,s)}return t.flags|=1,e=dn(i,r),e.ref=t.ref,e.return=t,t.child=e}function yg(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(Ds(i,r)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Ve=!0);else return t.lanes=e.lanes,Ut(e,t,s)}return Jl(e,t,n,r,s)}function vg(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode===\"hidden\")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(gr,He),He|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,G(gr,He),He|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,G(gr,He),He|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,G(gr,He),He|=r;return Ce(e,t,s,n),t.child}function xg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Jl(e,t,n,r,s){var i=Fe(n)?$n:je.current;return i=Cr(t,i),jr(t,s),n=Cc(e,t,n,r,i,s),r=Pc(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Ut(e,t,s)):(X&&r&&gc(t),t.flags|=1,Ce(e,t,n,s),t.child)}function _h(e,t,n,r,s){if(Fe(n)){var i=!0;yo(t)}else i=!1;if(jr(t,s),t.stateNode===null)Qi(e,t),pg(t,n,r),Yl(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,c=n.contextType;typeof c==\"object\"&&c!==null?c=rt(c):(c=Fe(n)?$n:je.current,c=Cr(t,c));var d=n.getDerivedStateFromProps,h=typeof d==\"function\"||typeof o.getSnapshotBeforeUpdate==\"function\";h||typeof o.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof o.componentWillReceiveProps!=\"function\"||(a!==r||l!==c)&&vh(t,o,r,c),Yt=!1;var f=t.memoizedState;o.state=f,bo(t,r,o,s),l=t.memoizedState,a!==r||f!==l||$e.current||Yt?(typeof d==\"function\"&&(Ql(t,n,d,r),l=t.memoizedState),(a=Yt||yh(t,n,a,r,f,l,c))?(h||typeof o.UNSAFE_componentWillMount!=\"function\"&&typeof o.componentWillMount!=\"function\"||(typeof o.componentWillMount==\"function\"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==\"function\"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==\"function\"&&(t.flags|=4194308)):(typeof o.componentDidMount==\"function\"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=a):(typeof o.componentDidMount==\"function\"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Km(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:ht(t.type,a),o.props=c,h=t.pendingProps,f=o.context,l=n.contextType,typeof l==\"object\"&&l!==null?l=rt(l):(l=Fe(n)?$n:je.current,l=Cr(t,l));var p=n.getDerivedStateFromProps;(d=typeof p==\"function\"||typeof o.getSnapshotBeforeUpdate==\"function\")||typeof o.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof o.componentWillReceiveProps!=\"function\"||(a!==h||f!==l)&&vh(t,o,r,l),Yt=!1,f=t.memoizedState,o.state=f,bo(t,r,o,s);var v=t.memoizedState;a!==h||f!==v||$e.current||Yt?(typeof p==\"function\"&&(Ql(t,n,p,r),v=t.memoizedState),(c=Yt||yh(t,n,c,r,f,v,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!=\"function\"&&typeof o.componentWillUpdate!=\"function\"||(typeof o.componentWillUpdate==\"function\"&&o.componentWillUpdate(r,v,l),typeof o.UNSAFE_componentWillUpdate==\"function\"&&o.UNSAFE_componentWillUpdate(r,v,l)),typeof o.componentDidUpdate==\"function\"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==\"function\"&&(t.flags|=1024)):(typeof o.componentDidUpdate!=\"function\"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=\"function\"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=l,r=c):(typeof o.componentDidUpdate!=\"function\"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=\"function\"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zl(e,t,n,r,i,s)}function Zl(e,t,n,r,s,i){xg(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&uh(t,n,!1),Ut(e,t,i);r=t.stateNode,pw.current=t;var a=o&&typeof n.getDerivedStateFromError!=\"function\"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Nr(t,e.child,null,i),t.child=Nr(t,null,a,i)):Ce(e,t,a,i),t.memoizedState=r.state,s&&uh(t,n,!0),t.child}function wg(e){var t=e.stateNode;t.pendingContext?lh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&lh(e,t.context,!1),_c(e,t.containerInfo)}function jh(e,t,n,r,s){return Pr(),vc(s),t.flags|=256,Ce(e,t,n,r),t.child}var eu={dehydrated:null,treeContext:null,retryLane:0};function tu(e){return{baseLanes:e,cachePool:null,transitions:null}}function kg(e,t,n){var r=t.pendingProps,s=ee.current,i=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(s&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),G(ee,s&1),e===null)return Kl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===\"$!\"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:\"hidden\",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=ta(o,r,0,null),e=Dn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=tu(n),t.memoizedState=eu,e):Rc(t,o));if(s=e.memoizedState,s!==null&&(a=s.dehydrated,a!==null))return mw(e,t,o,r,a,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,a=s.sibling;var l={mode:\"hidden\",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=dn(s,l),r.subtreeFlags=s.subtreeFlags&14680064),a!==null?i=dn(a,i):(i=Dn(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?tu(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=eu,r}return i=e.child,e=i.sibling,r=dn(i,{mode:\"visible\",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Rc(e,t){return t=ta({mode:\"visible\",children:t},e.mode,0,null),t.return=e,e.child=t}function Ti(e,t,n,r){return r!==null&&vc(r),Nr(t,e.child,null,n),e=Rc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mw(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=za(Error(C(422))),Ti(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=ta({mode:\"visible\",children:r.children},s,0,null),i=Dn(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Nr(t,e.child,null,o),t.child.memoizedState=tu(o),t.memoizedState=eu,i);if(!(t.mode&1))return Ti(e,t,o,null);if(s.data===\"$!\"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(C(419)),r=za(i,r,void 0),Ti(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ve||a){if(r=ye,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,Bt(e,s),vt(r,e,s,-1))}return Vc(),r=za(Error(C(421))),Ti(e,t,o,r)}return s.data===\"$?\"?(t.flags|=128,t.child=e.child,t=Cw.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,qe=an(s.nextSibling),Ke=t,X=!0,mt=null,e!==null&&(Xe[Je++]=Dt,Xe[Je++]=It,Xe[Je++]=Fn,Dt=e.id,It=e.overflow,Fn=t),t=Rc(t,r.children),t.flags|=4096,t)}function Eh(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gl(e.return,t,n)}function Wa(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function bg(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(Ce(e,t,r.children,n),r=ee.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Eh(e,n,t);else if(e.tag===19)Eh(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(G(ee,r),!(t.mode&1))t.memoizedState=null;else switch(s){case\"forwards\":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&So(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),Wa(t,!1,s,n,i);break;case\"backwards\":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&So(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}Wa(t,!0,n,null,i);break;case\"together\":Wa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Qi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ut(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Un|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=dn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=dn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gw(e,t,n){switch(t.tag){case 3:wg(t),Pr();break;case 5:Gm(t);break;case 1:Fe(t.type)&&yo(t);break;case 4:_c(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;G(wo,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(G(ee,ee.current&1),t.flags|=128,null):n&t.child.childLanes?kg(e,t,n):(G(ee,ee.current&1),e=Ut(e,t,n),e!==null?e.sibling:null);G(ee,ee.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bg(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),G(ee,ee.current),r)break;return null;case 22:case 23:return t.lanes=0,vg(e,t,n)}return Ut(e,t,n)}var Sg,nu,_g,jg;Sg=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};nu=function(){};_g=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Rn(Pt.current);var i=null;switch(n){case\"input\":s=_l(e,s),r=_l(e,r),i=[];break;case\"select\":s=ne({},s,{value:void 0}),r=ne({},r,{value:void 0}),i=[];break;case\"textarea\":s=Tl(e,s),r=Tl(e,r),i=[];break;default:typeof s.onClick!=\"function\"&&typeof r.onClick==\"function\"&&(e.onclick=mo)}Pl(n,r);var o;n=null;for(c in s)if(!r.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c===\"style\"){var a=s[c];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]=\"\")}else c!==\"dangerouslySetInnerHTML\"&&c!==\"children\"&&c!==\"suppressContentEditableWarning\"&&c!==\"suppressHydrationWarning\"&&c!==\"autoFocus\"&&(Ps.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var l=r[c];if(a=s!=null?s[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c===\"style\")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]=\"\");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(i||(i=[]),i.push(c,n)),n=l;else c===\"dangerouslySetInnerHTML\"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(c,l)):c===\"children\"?typeof l!=\"string\"&&typeof l!=\"number\"||(i=i||[]).push(c,\"\"+l):c!==\"suppressContentEditableWarning\"&&c!==\"suppressHydrationWarning\"&&(Ps.hasOwnProperty(c)?(l!=null&&c===\"onScroll\"&&Q(\"scroll\",e),i||a===l||(i=[])):(i=i||[]).push(c,l))}n&&(i=i||[]).push(\"style\",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};jg=function(e,t,n,r){n!==r&&(t.flags|=4)};function es(e,t){if(!X)switch(e.tailMode){case\"hidden\":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case\"collapsed\":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Se(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function yw(e,t,n){var r=t.pendingProps;switch(yc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:return Fe(t.type)&&go(),Se(t),null;case 3:return r=t.stateNode,Ar(),Y($e),Y(je),Ec(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ji(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,mt!==null&&(cu(mt),mt=null))),nu(e,t),Se(t),null;case 5:jc(t);var s=Rn(Bs.current);if(n=t.type,e!==null&&t.stateNode!=null)_g(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return Se(t),null}if(e=Rn(Pt.current),ji(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Tt]=t,r[$s]=i,e=(t.mode&1)!==0,n){case\"dialog\":Q(\"cancel\",r),Q(\"close\",r);break;case\"iframe\":case\"object\":case\"embed\":Q(\"load\",r);break;case\"video\":case\"audio\":for(s=0;s<as.length;s++)Q(as[s],r);break;case\"source\":Q(\"error\",r);break;case\"img\":case\"image\":case\"link\":Q(\"error\",r),Q(\"load\",r);break;case\"details\":Q(\"toggle\",r);break;case\"input\":Ld(r,i),Q(\"invalid\",r);break;case\"select\":r._wrapperState={wasMultiple:!!i.multiple},Q(\"invalid\",r);break;case\"textarea\":Id(r,i),Q(\"invalid\",r)}Pl(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var a=i[o];o===\"children\"?typeof a==\"string\"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&_i(r.textContent,a,e),s=[\"children\",a]):typeof a==\"number\"&&r.textContent!==\"\"+a&&(i.suppressHydrationWarning!==!0&&_i(r.textContent,a,e),s=[\"children\",\"\"+a]):Ps.hasOwnProperty(o)&&a!=null&&o===\"onScroll\"&&Q(\"scroll\",r)}switch(n){case\"input\":gi(r),Dd(r,i,!0);break;case\"textarea\":gi(r),Vd(r);break;case\"select\":case\"option\":break;default:typeof i.onClick==\"function\"&&(r.onclick=mo)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e===\"http:\/\/www.w3.org\/1999\/xhtml\"&&(e=Zp(n)),e===\"http:\/\/www.w3.org\/1999\/xhtml\"?n===\"script\"?(e=o.createElement(\"div\"),e.innerHTML=\"<script><\\\/script>\",e=e.removeChild(e.firstChild)):typeof r.is==\"string\"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n===\"select\"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Tt]=t,e[$s]=r,Sg(e,t,!1,!1),t.stateNode=e;e:{switch(o=Nl(n,r),n){case\"dialog\":Q(\"cancel\",e),Q(\"close\",e),s=r;break;case\"iframe\":case\"object\":case\"embed\":Q(\"load\",e),s=r;break;case\"video\":case\"audio\":for(s=0;s<as.length;s++)Q(as[s],e);s=r;break;case\"source\":Q(\"error\",e),s=r;break;case\"img\":case\"image\":case\"link\":Q(\"error\",e),Q(\"load\",e),s=r;break;case\"details\":Q(\"toggle\",e),s=r;break;case\"input\":Ld(e,r),s=_l(e,r),Q(\"invalid\",e);break;case\"option\":s=r;break;case\"select\":e._wrapperState={wasMultiple:!!r.multiple},s=ne({},r,{value:void 0}),Q(\"invalid\",e);break;case\"textarea\":Id(e,r),s=Tl(e,r),Q(\"invalid\",e);break;default:s=r}Pl(n,s),a=s;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i===\"style\"?nm(e,l):i===\"dangerouslySetInnerHTML\"?(l=l?l.__html:void 0,l!=null&&em(e,l)):i===\"children\"?typeof l==\"string\"?(n!==\"textarea\"||l!==\"\")&&Ns(e,l):typeof l==\"number\"&&Ns(e,\"\"+l):i!==\"suppressContentEditableWarning\"&&i!==\"suppressHydrationWarning\"&&i!==\"autoFocus\"&&(Ps.hasOwnProperty(i)?l!=null&&i===\"onScroll\"&&Q(\"scroll\",e):l!=null&&nc(e,i,l,o))}switch(n){case\"input\":gi(e),Dd(e,r,!1);break;case\"textarea\":gi(e),Vd(e);break;case\"option\":r.value!=null&&e.setAttribute(\"value\",\"\"+hn(r.value));break;case\"select\":e.multiple=!!r.multiple,i=r.value,i!=null?kr(e,!!r.multiple,i,!1):r.defaultValue!=null&&kr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick==\"function\"&&(e.onclick=mo)}switch(n){case\"button\":case\"input\":case\"select\":case\"textarea\":r=!!r.autoFocus;break e;case\"img\":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Se(t),null;case 6:if(e&&t.stateNode!=null)jg(e,t,e.memoizedProps,r);else{if(typeof r!=\"string\"&&t.stateNode===null)throw Error(C(166));if(n=Rn(Bs.current),Rn(Pt.current),ji(t)){if(r=t.stateNode,n=t.memoizedProps,r[Tt]=t,(i=r.nodeValue!==n)&&(e=Ke,e!==null))switch(e.tag){case 3:_i(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&_i(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Tt]=t,t.stateNode=r}return Se(t),null;case 13:if(Y(ee),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(X&&qe!==null&&t.mode&1&&!(t.flags&128))zm(),Pr(),t.flags|=98560,i=!1;else if(i=ji(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(C(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(C(317));i[Tt]=t}else Pr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Se(t),i=!1}else mt!==null&&(cu(mt),mt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ee.current&1?fe===0&&(fe=3):Vc())),t.updateQueue!==null&&(t.flags|=4),Se(t),null);case 4:return Ar(),nu(e,t),e===null&&Is(t.stateNode.containerInfo),Se(t),null;case 10:return kc(t.type._context),Se(t),null;case 17:return Fe(t.type)&&go(),Se(t),null;case 19:if(Y(ee),i=t.memoizedState,i===null)return Se(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)es(i,!1);else{if(fe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=So(e),o!==null){for(t.flags|=128,es(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return G(ee,ee.current&1|2),t.child}e=e.sibling}i.tail!==null&&se()>Mr&&(t.flags|=128,r=!0,es(i,!1),t.lanes=4194304)}else{if(!r)if(e=So(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),es(i,!0),i.tail===null&&i.tailMode===\"hidden\"&&!o.alternate&&!X)return Se(t),null}else 2*se()-i.renderingStartTime>Mr&&n!==1073741824&&(t.flags|=128,r=!0,es(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=se(),t.sibling=null,n=ee.current,G(ee,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Ic(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function vw(e,t){switch(yc(t),t.tag){case 1:return Fe(t.type)&&go(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ar(),Y($e),Y(je),Ec(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jc(t),null;case 13:if(Y(ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Y(ee),null;case 4:return Ar(),null;case 10:return kc(t.type._context),null;case 22:case 23:return Ic(),null;case 24:return null;default:return null}}var Ci=!1,_e=!1,xw=typeof WeakSet==\"function\"?WeakSet:Set,A=null;function mr(e,t){var n=e.ref;if(n!==null)if(typeof n==\"function\")try{n(null)}catch(r){re(e,t,r)}else n.current=null}function ru(e,t,n){try{n()}catch(r){re(e,t,r)}}var Th=!1;function ww(e,t){if(Fl=ho,e=Nm(),mc(e)){if(\"selectionStart\"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,c=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||s!==0&&h.nodeType!==3||(a=o+s),h!==i||r!==0&&h.nodeType!==3||(l=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(p=h.firstChild)!==null;)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++c===s&&(a=o),f===i&&++d===r&&(l=o),(p=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bl={focusedElem:e,selectionRange:n},ho=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,k=v.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?x:ht(t.type,x),k);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=\"\":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){re(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return v=Th,Th=!1,v}function ys(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&ru(t,n,i)}s=s.next}while(s!==r)}}function Zo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function su(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==\"function\"?t(e):t.current=e}}function Eg(e){var t=e.alternate;t!==null&&(e.alternate=null,Eg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tt],delete t[$s],delete t[Wl],delete t[nw],delete t[rw])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Tg(e){return e.tag===5||e.tag===3||e.tag===4}function Ch(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function iu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mo));else if(r!==4&&(e=e.child,e!==null))for(iu(e,t,n),e=e.sibling;e!==null;)iu(e,t,n),e=e.sibling}function ou(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ou(e,t,n),e=e.sibling;e!==null;)ou(e,t,n),e=e.sibling}var xe=null,ft=!1;function Ht(e,t,n){for(n=n.child;n!==null;)Cg(e,t,n),n=n.sibling}function Cg(e,t,n){if(Ct&&typeof Ct.onCommitFiberUnmount==\"function\")try{Ct.onCommitFiberUnmount(Ho,n)}catch{}switch(n.tag){case 5:_e||mr(n,t);case 6:var r=xe,s=ft;xe=null,Ht(e,t,n),xe=r,ft=s,xe!==null&&(ft?(e=xe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):xe.removeChild(n.stateNode));break;case 18:xe!==null&&(ft?(e=xe,n=n.stateNode,e.nodeType===8?Ia(e.parentNode,n):e.nodeType===1&&Ia(e,n),Os(e)):Ia(xe,n.stateNode));break;case 4:r=xe,s=ft,xe=n.stateNode.containerInfo,ft=!0,Ht(e,t,n),xe=r,ft=s;break;case 0:case 11:case 14:case 15:if(!_e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&ru(n,t,o),s=s.next}while(s!==r)}Ht(e,t,n);break;case 1:if(!_e&&(mr(n,t),r=n.stateNode,typeof r.componentWillUnmount==\"function\"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){re(n,t,a)}Ht(e,t,n);break;case 21:Ht(e,t,n);break;case 22:n.mode&1?(_e=(r=_e)||n.memoizedState!==null,Ht(e,t,n),_e=r):Ht(e,t,n);break;default:Ht(e,t,n)}}function Ph(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xw),t.forEach(function(r){var s=Pw.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:xe=a.stateNode,ft=!1;break e;case 3:xe=a.stateNode.containerInfo,ft=!0;break e;case 4:xe=a.stateNode.containerInfo,ft=!0;break e}a=a.return}if(xe===null)throw Error(C(160));Cg(i,o,s),xe=null,ft=!1;var l=s.alternate;l!==null&&(l.return=null),s.return=null}catch(c){re(s,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Pg(t,e),t=t.sibling}function Pg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(lt(t,e),bt(e),r&4){try{ys(3,e,e.return),Zo(3,e)}catch(x){re(e,e.return,x)}try{ys(5,e,e.return)}catch(x){re(e,e.return,x)}}break;case 1:lt(t,e),bt(e),r&512&&n!==null&&mr(n,n.return);break;case 5:if(lt(t,e),bt(e),r&512&&n!==null&&mr(n,n.return),e.flags&32){var s=e.stateNode;try{Ns(s,\"\")}catch(x){re(e,e.return,x)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a===\"input\"&&i.type===\"radio\"&&i.name!=null&&Xp(s,i),Nl(a,o);var c=Nl(a,i);for(o=0;o<l.length;o+=2){var d=l[o],h=l[o+1];d===\"style\"?nm(s,h):d===\"dangerouslySetInnerHTML\"?em(s,h):d===\"children\"?Ns(s,h):nc(s,d,h,c)}switch(a){case\"input\":jl(s,i);break;case\"textarea\":Jp(s,i);break;case\"select\":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?kr(s,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?kr(s,!!i.multiple,i.defaultValue,!0):kr(s,!!i.multiple,i.multiple?[]:\"\",!1))}s[$s]=i}catch(x){re(e,e.return,x)}}break;case 6:if(lt(t,e),bt(e),r&4){if(e.stateNode===null)throw Error(C(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(x){re(e,e.return,x)}}break;case 3:if(lt(t,e),bt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Os(t.containerInfo)}catch(x){re(e,e.return,x)}break;case 4:lt(t,e),bt(e);break;case 13:lt(t,e),bt(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(Lc=se())),r&4&&Ph(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(_e=(c=_e)||d,lt(t,e),_e=c):lt(t,e),bt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(A=e,d=e.child;d!==null;){for(h=A=d;A!==null;){switch(f=A,p=f.child,f.tag){case 0:case 11:case 14:case 15:ys(4,f,f.return);break;case 1:mr(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount==\"function\"){r=f,n=f.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){re(r,n,x)}}break;case 5:mr(f,f.return);break;case 22:if(f.memoizedState!==null){Ah(h);continue}}p!==null?(p.return=f,A=p):Ah(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{s=h.stateNode,c?(i=s.style,typeof i.setProperty==\"function\"?i.setProperty(\"display\",\"none\",\"important\"):i.display=\"none\"):(a=h.stateNode,l=h.memoizedProps.style,o=l!=null&&l.hasOwnProperty(\"display\")?l.display:null,a.style.display=tm(\"display\",o))}catch(x){re(e,e.return,x)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=c?\"\":h.memoizedProps}catch(x){re(e,e.return,x)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:lt(t,e),bt(e),r&4&&Ph(e);break;case 21:break;default:lt(t,e),bt(e)}}function bt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Tg(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Ns(s,\"\"),r.flags&=-33);var i=Ch(e);ou(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Ch(e);iu(e,a,o);break;default:throw Error(C(161))}}catch(l){re(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kw(e,t,n){A=e,Ng(e)}function Ng(e,t,n){for(var r=(e.mode&1)!==0;A!==null;){var s=A,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||Ci;if(!o){var a=s.alternate,l=a!==null&&a.memoizedState!==null||_e;a=Ci;var c=_e;if(Ci=o,(_e=l)&&!c)for(A=s;A!==null;)o=A,l=o.child,o.tag===22&&o.memoizedState!==null?Rh(s):l!==null?(l.return=o,A=l):Rh(s);for(;i!==null;)A=i,Ng(i),i=i.sibling;A=s,Ci=a,_e=c}Nh(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,A=i):Nh(e)}}function Nh(e){for(;A!==null;){var t=A;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:_e||Zo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!_e)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:ht(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&ph(t,i,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ph(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case\"button\":case\"input\":case\"select\":case\"textarea\":l.autoFocus&&n.focus();break;case\"img\":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&Os(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}_e||t.flags&512&&su(t)}catch(f){re(t,t.return,f)}}if(t===e){A=null;break}if(n=t.sibling,n!==null){n.return=t.return,A=n;break}A=t.return}}function Ah(e){for(;A!==null;){var t=A;if(t===e){A=null;break}var n=t.sibling;if(n!==null){n.return=t.return,A=n;break}A=t.return}}function Rh(e){for(;A!==null;){var t=A;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Zo(4,t)}catch(l){re(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==\"function\"){var s=t.return;try{r.componentDidMount()}catch(l){re(t,s,l)}}var i=t.return;try{su(t)}catch(l){re(t,i,l)}break;case 5:var o=t.return;try{su(t)}catch(l){re(t,o,l)}}}catch(l){re(t,t.return,l)}if(t===e){A=null;break}var a=t.sibling;if(a!==null){a.return=t.return,A=a;break}A=t.return}}var bw=Math.ceil,Eo=Wt.ReactCurrentDispatcher,Mc=Wt.ReactCurrentOwner,tt=Wt.ReactCurrentBatchConfig,U=0,ye=null,le=null,we=0,He=0,gr=gn(0),fe=0,Hs=null,Un=0,ea=0,Oc=0,vs=null,De=null,Lc=0,Mr=1\/0,Mt=null,To=!1,au=null,un=null,Pi=!1,tn=null,Co=0,xs=0,lu=null,Yi=-1,Xi=0;function Ae(){return U&6?se():Yi!==-1?Yi:Yi=se()}function cn(e){return e.mode&1?U&2&&we!==0?we&-we:iw.transition!==null?(Xi===0&&(Xi=pm()),Xi):(e=W,e!==0||(e=window.event,e=e===void 0?16:km(e.type)),e):1}function vt(e,t,n,r){if(50<xs)throw xs=0,lu=null,Error(C(185));Js(e,n,r),(!(U&2)||e!==ye)&&(e===ye&&(!(U&2)&&(ea|=n),fe===4&&Jt(e,we)),Be(e,r),n===1&&U===0&&!(t.mode&1)&&(Mr=se()+500,Yo&&yn()))}function Be(e,t){var n=e.callbackNode;ix(e,t);var r=co(e,e===ye?we:0);if(r===0)n!==null&&Bd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Bd(n),t===1)e.tag===0?sw(Mh.bind(null,e)):Fm(Mh.bind(null,e)),ew(function(){!(U&6)&&yn()}),n=null;else{switch(mm(r)){case 1:n=ac;break;case 4:n=hm;break;case 16:n=uo;break;case 536870912:n=fm;break;default:n=uo}n=Vg(n,Ag.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ag(e,t){if(Yi=-1,Xi=0,U&6)throw Error(C(327));var n=e.callbackNode;if(Er()&&e.callbackNode!==n)return null;var r=co(e,e===ye?we:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Po(e,r);else{t=r;var s=U;U|=2;var i=Mg();(ye!==e||we!==t)&&(Mt=null,Mr=se()+500,Ln(e,t));do try{jw();break}catch(a){Rg(e,a)}while(!0);wc(),Eo.current=i,U=s,le!==null?t=0:(ye=null,we=0,t=fe)}if(t!==0){if(t===2&&(s=Ll(e),s!==0&&(r=s,t=uu(e,s))),t===1)throw n=Hs,Ln(e,0),Jt(e,r),Be(e,se()),n;if(t===6)Jt(e,r);else{if(s=e.current.alternate,!(r&30)&&!Sw(s)&&(t=Po(e,r),t===2&&(i=Ll(e),i!==0&&(r=i,t=uu(e,i))),t===1))throw n=Hs,Ln(e,0),Jt(e,r),Be(e,se()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:En(e,De,Mt);break;case 3:if(Jt(e,r),(r&130023424)===r&&(t=Lc+500-se(),10<t)){if(co(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){Ae(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=zl(En.bind(null,e,De,Mt),t);break}En(e,De,Mt);break;case 4:if(Jt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-yt(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bw(r\/1960))-r,10<r){e.timeoutHandle=zl(En.bind(null,e,De,Mt),r);break}En(e,De,Mt);break;case 5:En(e,De,Mt);break;default:throw Error(C(329))}}}return Be(e,se()),e.callbackNode===n?Ag.bind(null,e):null}function uu(e,t){var n=vs;return e.current.memoizedState.isDehydrated&&(Ln(e,t).flags|=256),e=Po(e,t),e!==2&&(t=De,De=n,t!==null&&cu(t)),e}function cu(e){De===null?De=e:De.push.apply(De,e)}function Sw(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!wt(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Jt(e,t){for(t&=~Oc,t&=~ea,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-yt(t),r=1<<n;e[n]=-1,t&=~r}}function Mh(e){if(U&6)throw Error(C(327));Er();var t=co(e,0);if(!(t&1))return Be(e,se()),null;var n=Po(e,t);if(e.tag!==0&&n===2){var r=Ll(e);r!==0&&(t=r,n=uu(e,r))}if(n===1)throw n=Hs,Ln(e,0),Jt(e,t),Be(e,se()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,En(e,De,Mt),Be(e,se()),null}function Dc(e,t){var n=U;U|=1;try{return e(t)}finally{U=n,U===0&&(Mr=se()+500,Yo&&yn())}}function zn(e){tn!==null&&tn.tag===0&&!(U&6)&&Er();var t=U;U|=1;var n=tt.transition,r=W;try{if(tt.transition=null,W=1,e)return e()}finally{W=r,tt.transition=n,U=t,!(U&6)&&yn()}}function Ic(){He=gr.current,Y(gr)}function Ln(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Zx(n)),le!==null)for(n=le.return;n!==null;){var r=n;switch(yc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&go();break;case 3:Ar(),Y($e),Y(je),Ec();break;case 5:jc(r);break;case 4:Ar();break;case 13:Y(ee);break;case 19:Y(ee);break;case 10:kc(r.type._context);break;case 22:case 23:Ic()}n=n.return}if(ye=e,le=e=dn(e.current,null),we=He=t,fe=0,Hs=null,Oc=ea=Un=0,De=vs=null,An!==null){for(t=0;t<An.length;t++)if(n=An[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}An=null}return e}function Rg(e,t){do{var n=le;try{if(wc(),Ki.current=jo,_o){for(var r=te.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}_o=!1}if(Bn=0,ge=he=te=null,gs=!1,Us=0,Mc.current=null,n===null||n.return===null){fe=1,Hs=t,le=null;break}e:{var i=e,o=n.return,a=n,l=t;if(t=we,a.flags|=32768,l!==null&&typeof l==\"object\"&&typeof l.then==\"function\"){var c=l,d=a,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=wh(o);if(p!==null){p.flags&=-257,kh(p,o,a,i,t),p.mode&1&&xh(i,c,t),t=p,l=c;var v=t.updateQueue;if(v===null){var x=new Set;x.add(l),t.updateQueue=x}else v.add(l);break e}else{if(!(t&1)){xh(i,c,t),Vc();break e}l=Error(C(426))}}else if(X&&a.mode&1){var k=wh(o);if(k!==null){!(k.flags&65536)&&(k.flags|=256),kh(k,o,a,i,t),vc(Rr(l,a));break e}}i=l=Rr(l,a),fe!==4&&(fe=2),vs===null?vs=[i]:vs.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=mg(i,l,t);fh(i,g);break e;case 1:a=l;var m=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError==\"function\"||y!==null&&typeof y.componentDidCatch==\"function\"&&(un===null||!un.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=gg(i,a,t);fh(i,w);break e}}i=i.return}while(i!==null)}Lg(n)}catch(b){t=b,le===n&&n!==null&&(le=n=n.return);continue}break}while(!0)}function Mg(){var e=Eo.current;return Eo.current=jo,e===null?jo:e}function Vc(){(fe===0||fe===3||fe===2)&&(fe=4),ye===null||!(Un&268435455)&&!(ea&268435455)||Jt(ye,we)}function Po(e,t){var n=U;U|=2;var r=Mg();(ye!==e||we!==t)&&(Mt=null,Ln(e,t));do try{_w();break}catch(s){Rg(e,s)}while(!0);if(wc(),U=n,Eo.current=r,le!==null)throw Error(C(261));return ye=null,we=0,fe}function _w(){for(;le!==null;)Og(le)}function jw(){for(;le!==null&&!Yv();)Og(le)}function Og(e){var t=Ig(e.alternate,e,He);e.memoizedProps=e.pendingProps,t===null?Lg(e):le=t,Mc.current=null}function Lg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=vw(n,t),n!==null){n.flags&=32767,le=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{fe=6,le=null;return}}else if(n=yw(n,t,He),n!==null){le=n;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);fe===0&&(fe=5)}function En(e,t,n){var r=W,s=tt.transition;try{tt.transition=null,W=1,Ew(e,t,n,r)}finally{tt.transition=s,W=r}return null}function Ew(e,t,n,r){do Er();while(tn!==null);if(U&6)throw Error(C(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(C(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(ox(e,i),e===ye&&(le=ye=null,we=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Pi||(Pi=!0,Vg(uo,function(){return Er(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=tt.transition,tt.transition=null;var o=W;W=1;var a=U;U|=4,Mc.current=null,ww(e,n),Pg(n,e),qx(Bl),ho=!!Fl,Bl=Fl=null,e.current=n,kw(n),Xv(),U=a,W=o,tt.transition=i}else e.current=n;if(Pi&&(Pi=!1,tn=e,Co=s),i=e.pendingLanes,i===0&&(un=null),ex(n.stateNode),Be(e,se()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(To)throw To=!1,e=au,au=null,e;return Co&1&&e.tag!==0&&Er(),i=e.pendingLanes,i&1?e===lu?xs++:(xs=0,lu=e):xs=0,yn(),null}function Er(){if(tn!==null){var e=mm(Co),t=tt.transition,n=W;try{if(tt.transition=null,W=16>e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,Co=0,U&6)throw Error(C(331));var s=U;for(U|=4,A=e.current;A!==null;){var i=A,o=i.child;if(A.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(A=c;A!==null;){var d=A;switch(d.tag){case 0:case 11:case 15:ys(8,d,i)}var h=d.child;if(h!==null)h.return=d,A=h;else for(;A!==null;){d=A;var f=d.sibling,p=d.return;if(Eg(d),d===c){A=null;break}if(f!==null){f.return=p,A=f;break}A=p}}}var v=i.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var k=x.sibling;x.sibling=null,x=k}while(x!==null)}}A=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,A=o;else e:for(;A!==null;){if(i=A,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ys(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,A=g;break e}A=i.return}}var m=e.current;for(A=m;A!==null;){o=A;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,A=y;else e:for(o=m;A!==null;){if(a=A,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Zo(9,a)}}catch(b){re(a,a.return,b)}if(a===o){A=null;break e}var w=a.sibling;if(w!==null){w.return=a.return,A=w;break e}A=a.return}}if(U=s,yn(),Ct&&typeof Ct.onPostCommitFiberRoot==\"function\")try{Ct.onPostCommitFiberRoot(Ho,e)}catch{}r=!0}return r}finally{W=n,tt.transition=t}}return!1}function Oh(e,t,n){t=Rr(n,t),t=mg(e,t,1),e=ln(e,t,1),t=Ae(),e!==null&&(Js(e,1,t),Be(e,t))}function re(e,t,n){if(e.tag===3)Oh(e,e,n);else for(;t!==null;){if(t.tag===3){Oh(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==\"function\"||typeof r.componentDidCatch==\"function\"&&(un===null||!un.has(r))){e=Rr(n,e),e=gg(t,e,1),t=ln(t,e,1),e=Ae(),t!==null&&(Js(t,1,e),Be(t,e));break}}t=t.return}}function Tw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ae(),e.pingedLanes|=e.suspendedLanes&n,ye===e&&(we&n)===n&&(fe===4||fe===3&&(we&130023424)===we&&500>se()-Lc?Ln(e,0):Oc|=n),Be(e,t)}function Dg(e,t){t===0&&(e.mode&1?(t=xi,xi<<=1,!(xi&130023424)&&(xi=4194304)):t=1);var n=Ae();e=Bt(e,t),e!==null&&(Js(e,t,n),Be(e,n))}function Cw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dg(e,n)}function Pw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Dg(e,n)}var Ig;Ig=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,gw(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,X&&t.flags&1048576&&Bm(t,xo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qi(e,t),e=t.pendingProps;var s=Cr(t,je.current);jr(t,n),s=Cc(null,t,r,e,s,n);var i=Pc();return t.flags|=1,typeof s==\"object\"&&s!==null&&typeof s.render==\"function\"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(i=!0,yo(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Sc(t),s.updater=Jo,t.stateNode=s,s._reactInternals=t,Yl(t,r,e,n),t=Zl(null,t,r,!0,i,n)):(t.tag=0,X&&i&&gc(t),Ce(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qi(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=Aw(r),e=ht(r,e),s){case 0:t=Jl(null,t,r,e,n);break e;case 1:t=_h(null,t,r,e,n);break e;case 11:t=bh(null,t,r,e,n);break e;case 14:t=Sh(null,t,r,ht(r.type,e),n);break e}throw Error(C(306,r,\"\"))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ht(r,s),Jl(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ht(r,s),_h(e,t,r,s,n);case 3:e:{if(wg(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,s=i.element,Km(e,t),bo(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Rr(Error(C(423)),t),t=jh(e,t,r,n,s);break e}else if(r!==s){s=Rr(Error(C(424)),t),t=jh(e,t,r,n,s);break e}else for(qe=an(t.stateNode.containerInfo.firstChild),Ke=t,X=!0,mt=null,n=Hm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Pr(),r===s){t=Ut(e,t,n);break e}Ce(e,t,r,n)}t=t.child}return t;case 5:return Gm(t),e===null&&Kl(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,Ul(r,s)?o=null:i!==null&&Ul(r,i)&&(t.flags|=32),xg(e,t),Ce(e,t,o,n),t.child;case 6:return e===null&&Kl(t),null;case 13:return kg(e,t,n);case 4:return _c(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Nr(t,null,r,n):Ce(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ht(r,s),bh(e,t,r,s,n);case 7:return Ce(e,t,t.pendingProps,n),t.child;case 8:return Ce(e,t,t.pendingProps.children,n),t.child;case 12:return Ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,G(wo,r._currentValue),r._currentValue=o,i!==null)if(wt(i.value,o)){if(i.children===s.children&&!$e.current){t=Ut(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Vt(-1,n&-n),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Gl(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(C(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Gl(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Ce(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,jr(t,n),s=rt(s),r=r(s),t.flags|=1,Ce(e,t,r,n),t.child;case 14:return r=t.type,s=ht(r,t.pendingProps),s=ht(r.type,s),Sh(e,t,r,s,n);case 15:return yg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:ht(r,s),Qi(e,t),t.tag=1,Fe(r)?(e=!0,yo(t)):e=!1,jr(t,n),pg(t,r,s),Yl(t,r,s,n),Zl(null,t,r,!0,e,n);case 19:return bg(e,t,n);case 22:return vg(e,t,n)}throw Error(C(156,t.tag))};function Vg(e,t){return dm(e,t)}function Nw(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new Nw(e,t,n,r)}function $c(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Aw(e){if(typeof e==\"function\")return $c(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sc)return 11;if(e===ic)return 14}return 2}function dn(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ji(e,t,n,r,s,i){var o=2;if(r=e,typeof e==\"function\")$c(e)&&(o=1);else if(typeof e==\"string\")o=5;else e:switch(e){case or:return Dn(n.children,s,i,t);case rc:o=8,s|=8;break;case wl:return e=Ze(12,n,t,s|2),e.elementType=wl,e.lanes=i,e;case kl:return e=Ze(13,n,t,s),e.elementType=kl,e.lanes=i,e;case bl:return e=Ze(19,n,t,s),e.elementType=bl,e.lanes=i,e;case Gp:return ta(n,s,i,t);default:if(typeof e==\"object\"&&e!==null)switch(e.$$typeof){case qp:o=10;break e;case Kp:o=9;break e;case sc:o=11;break e;case ic:o=14;break e;case Qt:o=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,\"\"))}return t=Ze(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function Dn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function ta(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=Gp,e.lanes=n,e.stateNode={isHidden:!1},e}function Ha(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function qa(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Rw(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ea(0),this.expirationTimes=Ea(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ea(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Fc(e,t,n,r,s,i,o,a,l){return e=new Rw(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sc(i),e}function Mw(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ir,key:r==null?null:\"\"+r,children:e,containerInfo:t,implementation:n}}function $g(e){if(!e)return fn;e=e._reactInternals;e:{if(Kn(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(Fe(n))return $m(e,n,t)}return t}function Fg(e,t,n,r,s,i,o,a,l){return e=Fc(n,r,!0,e,s,i,o,a,l),e.context=$g(null),n=e.current,r=Ae(),s=cn(n),i=Vt(r,s),i.callback=t??null,ln(n,i,s),e.current.lanes=s,Js(e,s,r),Be(e,r),e}function na(e,t,n,r){var s=t.current,i=Ae(),o=cn(s);return n=$g(n),t.context===null?t.context=n:t.pendingContext=n,t=Vt(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ln(s,t,o),e!==null&&(vt(e,s,o,i),qi(e,s,o)),o}function No(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Lh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Bc(e,t){Lh(e,t),(e=e.alternate)&&Lh(e,t)}function Ow(){return null}var Bg=typeof reportError==\"function\"?reportError:function(e){console.error(e)};function Uc(e){this._internalRoot=e}ra.prototype.render=Uc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));na(e,t,null,null)};ra.prototype.unmount=Uc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zn(function(){na(null,e,null,null)}),t[Ft]=null}};function ra(e){this._internalRoot=e}ra.prototype.unstable_scheduleHydration=function(e){if(e){var t=vm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Xt.length&&t!==0&&t<Xt[n].priority;n++);Xt.splice(n,0,e),n===0&&wm(e)}};function zc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function sa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==\" react-mount-point-unstable \"))}function Dh(){}function Lw(e,t,n,r,s){if(s){if(typeof r==\"function\"){var i=r;r=function(){var c=No(o);i.call(c)}}var o=Fg(t,r,e,0,null,!1,!1,\"\",Dh);return e._reactRootContainer=o,e[Ft]=o.current,Is(e.nodeType===8?e.parentNode:e),zn(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r==\"function\"){var a=r;r=function(){var c=No(l);a.call(c)}}var l=Fc(e,0,!1,null,null,!1,!1,\"\",Dh);return e._reactRootContainer=l,e[Ft]=l.current,Is(e.nodeType===8?e.parentNode:e),zn(function(){na(t,l,n,r)}),l}function ia(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s==\"function\"){var a=s;s=function(){var l=No(o);a.call(l)}}na(t,o,e,s)}else o=Lw(n,t,e,s,r);return No(o)}gm=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=os(t.pendingLanes);n!==0&&(lc(t,n|1),Be(t,se()),!(U&6)&&(Mr=se()+500,yn()))}break;case 13:zn(function(){var r=Bt(e,1);if(r!==null){var s=Ae();vt(r,e,1,s)}}),Bc(e,1)}};uc=function(e){if(e.tag===13){var t=Bt(e,134217728);if(t!==null){var n=Ae();vt(t,e,134217728,n)}Bc(e,134217728)}};ym=function(e){if(e.tag===13){var t=cn(e),n=Bt(e,t);if(n!==null){var r=Ae();vt(n,e,t,r)}Bc(e,t)}};vm=function(){return W};xm=function(e,t){var n=W;try{return W=e,t()}finally{W=n}};Rl=function(e,t,n){switch(t){case\"input\":if(jl(e,n),t=n.name,n.type===\"radio\"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+t)+'][type=\"radio\"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=Qo(r);if(!s)throw Error(C(90));Yp(r),jl(r,s)}}}break;case\"textarea\":Jp(e,n);break;case\"select\":t=n.value,t!=null&&kr(e,!!n.multiple,t,!1)}};im=Dc;om=zn;var Dw={usingClientEntryPoint:!1,Events:[ei,cr,Qo,rm,sm,Dc]},ts={findFiberByHostInstance:Nn,bundleType:0,version:\"18.3.1\",rendererPackageName:\"react-dom\"},Iw={bundleType:ts.bundleType,version:ts.version,rendererPackageName:ts.rendererPackageName,rendererConfig:ts.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=um(e),e===null?null:e.stateNode},findFiberByHostInstance:ts.findFiberByHostInstance||Ow,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:\"18.3.1-next-f1338f8080-20240426\"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"){var Ni=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ni.isDisabled&&Ni.supportsFiber)try{Ho=Ni.inject(Iw),Ct=Ni}catch{}}Qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Dw;Qe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zc(t))throw Error(C(200));return Mw(e,t,null,n)};Qe.createRoot=function(e,t){if(!zc(e))throw Error(C(299));var n=!1,r=\"\",s=Bg;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Fc(e,1,!1,null,null,n,!1,r,s),e[Ft]=t.current,Is(e.nodeType===8?e.parentNode:e),new Uc(t)};Qe.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==\"function\"?Error(C(188)):(e=Object.keys(e).join(\",\"),Error(C(268,e)));return e=um(t),e=e===null?null:e.stateNode,e};Qe.flushSync=function(e){return zn(e)};Qe.hydrate=function(e,t,n){if(!sa(t))throw Error(C(200));return ia(null,e,t,!0,n)};Qe.hydrateRoot=function(e,t,n){if(!zc(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,s=!1,i=\"\",o=Bg;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Fg(t,null,e,1,n??null,s,!1,i,o),e[Ft]=t.current,Is(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new ra(t)};Qe.render=function(e,t,n){if(!sa(t))throw Error(C(200));return ia(null,e,t,!1,n)};Qe.unmountComponentAtNode=function(e){if(!sa(e))throw Error(C(40));return e._reactRootContainer?(zn(function(){ia(null,null,e,!1,function(){e._reactRootContainer=null,e[Ft]=null})}),!0):!1};Qe.unstable_batchedUpdates=Dc;Qe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!sa(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return ia(e,t,n,!1,r)};Qe.version=\"18.3.1-next-f1338f8080-20240426\";function Ug(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ug)}catch(e){console.error(e)}}Ug(),Up.exports=Qe;var Vw=Up.exports,zg,Ih=Vw;zg=Ih.createRoot,Ih.hydrateRoot;const Wc=T.createContext({});function Ur(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const $w=typeof window<\"u\",Or=$w?T.useLayoutEffect:T.useEffect,oa=T.createContext(null);function Hc(e,t){e.indexOf(t)===-1&&e.push(t)}function Ao(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const kt=(e,t,n)=>n>t?t:n<e?e:n;let aa=()=>{},zt=()=>{};const pn={},Wg=e=>\/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)$\/u.test(e),Hg=e=>typeof e==\"object\"&&e!==null,qg=e=>\/^0[^.\\s]+$\/u.test(e);function Kg(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ue=e=>e,ni=(...e)=>e.reduce((t,n)=>r=>n(t(r))),Lr=(e,t,n)=>{const r=t-e;return r?(n-e)\/r:1};class qc{constructor(){this.subscriptions=[]}add(t){return Hc(this.subscriptions,t),()=>Ao(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ze=e=>e*1e3,et=e=>e\/1e3,Kc=(e,t)=>t?e*(1e3\/t):0,Gg=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Fw=1e-7,Bw=12;function Uw(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)\/2,i=Gg(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Fw&&++a<Bw);return o}function ri(e,t,n,r){if(e===t&&n===r)return Ue;const s=i=>Uw(i,0,1,e,n);return i=>i===0||i===1?i:Gg(s(i),t,r)}const Qg=e=>t=>t<=.5?e(2*t)\/2:(2-e(2*(1-t)))\/2,Yg=e=>t=>1-e(1-t),Xg=ri(.33,1.53,.69,.99),Gc=Yg(Xg),Jg=Qg(Gc),Zg=e=>e>=1?1:(e*=2)<1?.5*Gc(e):.5*(2-Math.pow(2,-10*(e-1))),Qc=e=>1-Math.sin(Math.acos(e)),e0=Yg(Qc),t0=Qg(Qc),zw=ri(.42,0,1,1),Ww=ri(0,0,.58,1),n0=ri(.42,0,.58,1),Hw=e=>Array.isArray(e)&&typeof e[0]!=\"number\",r0=e=>Array.isArray(e)&&typeof e[0]==\"number\",Vh={linear:Ue,easeIn:zw,easeInOut:n0,easeOut:Ww,circIn:Qc,circInOut:t0,circOut:e0,backIn:Gc,backInOut:Jg,backOut:Xg,anticipate:Zg},qw=e=>typeof e==\"string\",$h=e=>{if(r0(e)){zt(e.length===4,\"Cubic bezier arrays must contain four numerical values.\",\"cubic-bezier-length\");const[t,n,r,s]=e;return ri(t,n,r,s)}else if(qw(e))return zt(Vh[e]!==void 0,`Invalid easing type '${e}'`,\"invalid-easing-type\"),Vh[e];return e},Ai=[\"setup\",\"read\",\"resolveKeyframes\",\"preUpdate\",\"update\",\"preRender\",\"render\",\"postRender\"];function Kw(e){let t=new Set,n=new Set,r=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(c){i.has(c)&&(l.schedule(c),e()),c(o)}const l={schedule:(c,d=!1,h=!1)=>{const p=h&&r?t:n;return d&&i.add(c),p.add(c),c},cancel:c=>{n.delete(c),i.delete(c)},process:c=>{if(o=c,r){s=!0;return}r=!0;const d=t;t=n,n=d,t.forEach(a),t.clear(),r=!1,s&&(s=!1,l.process(c))}};return l}const Gw=40;function s0(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Ai.reduce((y,w)=>(y[w]=Kw(i),y),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:d,update:h,preRender:f,render:p,postRender:v}=o,x=()=>{const y=pn.useManualTiming,w=y?s.timestamp:performance.now();n=!1,y||(s.delta=r?1e3\/60:Math.max(Math.min(w-s.timestamp,Gw),1)),s.timestamp=w,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),d.process(s),h.process(s),f.process(s),p.process(s),v.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(x))},k=()=>{n=!0,r=!0,s.isProcessing||e(x)};return{schedule:Ai.reduce((y,w)=>{const b=o[w];return y[w]=(j,_=!1,S=!1)=>(n||k(),b.schedule(j,_,S)),y},{}),cancel:y=>{for(let w=0;w<Ai.length;w++)o[Ai[w]].cancel(y)},state:s,steps:o}}const{schedule:B,cancel:it,state:me,steps:Ka}=s0(typeof requestAnimationFrame<\"u\"?requestAnimationFrame:Ue,!0);let Zi;function Qw(){Zi=void 0}const Pe={now:()=>(Zi===void 0&&Pe.set(me.isProcessing||pn.useManualTiming?me.timestamp:performance.now()),Zi),set:e=>{Zi=e,queueMicrotask(Qw)}},i0=e=>t=>typeof t==\"string\"&&t.startsWith(e),o0=i0(\"--\"),Yw=i0(\"var(--\"),Yc=e=>Yw(e)?Xw.test(e.split(\"\/*\")[0].trim()):!1,Xw=\/var\\(--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)$\/iu;function Fh(e){return typeof e!=\"string\"?!1:e.split(\"\/*\")[0].includes(\"var(--\")}const zr={test:e=>typeof e==\"number\",parse:parseFloat,transform:e=>e},qs={...zr,transform:e=>kt(0,1,e)},Ri={...zr,default:1},ws=e=>Math.round(e*1e5)\/1e5,Xc=\/-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)\/gu;function Jw(e){return e==null}const Zw=\/^(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,\/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))$\/iu,Jc=(e,t)=>n=>!!(typeof n==\"string\"&&Zw.test(n)&&n.startsWith(e)||t&&!Jw(n)&&Object.prototype.hasOwnProperty.call(n,t)),a0=(e,t,n)=>r=>{if(typeof r!=\"string\")return r;const[s,i,o,a]=r.match(Xc);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},e1=e=>kt(0,255,e),Ga={...zr,transform:e=>Math.round(e1(e))},Mn={test:Jc(\"rgb\",\"red\"),parse:a0(\"red\",\"green\",\"blue\"),transform:({red:e,green:t,blue:n,alpha:r=1})=>\"rgba(\"+Ga.transform(e)+\", \"+Ga.transform(t)+\", \"+Ga.transform(n)+\", \"+ws(qs.transform(r))+\")\"};function t1(e){let t=\"\",n=\"\",r=\"\",s=\"\";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)\/255:1}}const du={test:Jc(\"#\"),parse:t1,transform:Mn.transform},si=e=>({test:t=>typeof t==\"string\"&&t.endsWith(e)&&t.split(\" \").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),At=si(\"deg\"),Nt=si(\"%\"),R=si(\"px\"),n1=si(\"vh\"),r1=si(\"vw\"),Bh={...Nt,parse:e=>Nt.parse(e)\/100,transform:e=>Nt.transform(e*100)},yr={test:Jc(\"hsl\",\"hue\"),parse:a0(\"hue\",\"saturation\",\"lightness\"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>\"hsla(\"+Math.round(e)+\", \"+Nt.transform(ws(t))+\", \"+Nt.transform(ws(n))+\", \"+ws(qs.transform(r))+\")\"},ae={test:e=>Mn.test(e)||du.test(e)||yr.test(e),parse:e=>Mn.test(e)?Mn.parse(e):yr.test(e)?yr.parse(e):du.parse(e),transform:e=>typeof e==\"string\"?e:e.hasOwnProperty(\"red\")?Mn.transform(e):yr.transform(e),getAnimatableNone:e=>{const t=ae.parse(e);return t.alpha=0,ae.transform(t)}},s1=\/(?:#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,\/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\))\/giu;function i1(e){var t,n;return isNaN(e)&&typeof e==\"string\"&&(((t=e.match(Xc))==null?void 0:t.length)||0)+(((n=e.match(s1))==null?void 0:n.length)||0)>0}const l0=\"number\",u0=\"color\",o1=\"var\",a1=\"var(\",Uh=\"${}\",l1=\/var\\s*\\(\\s*--(?:[\\w-]+\\s*|[\\w-]+\\s*,(?:\\s*[^)(\\s]|\\s*\\((?:[^)(]|\\([^)(]*\\))*\\))+\\s*)\\)|#[\\da-f]{3,8}|(?:rgb|hsl)a?\\((?:-?[\\d.]+%?[,\\s]+){2}-?[\\d.]+%?\\s*(?:[,\/]\\s*)?(?:\\b\\d+(?:\\.\\d+)?|\\.\\d+)?%?\\)|-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)\/giu;function Dr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const a=t.replace(l1,l=>(ae.test(l)?(r.color.push(i),s.push(u0),n.push(ae.parse(l))):l.startsWith(a1)?(r.var.push(i),s.push(o1),n.push(l)):(r.number.push(i),s.push(l0),n.push(parseFloat(l))),++i,Uh)).split(Uh);return{values:n,split:a,indexes:r,types:s}}function u1(e){return Dr(e).values}function c0({split:e,types:t}){const n=e.length;return r=>{let s=\"\";for(let i=0;i<n;i++)if(s+=e[i],r[i]!==void 0){const o=t[i];o===l0?s+=ws(r[i]):o===u0?s+=ae.transform(r[i]):s+=r[i]}return s}}function c1(e){return c0(Dr(e))}const d1=e=>typeof e==\"number\"?0:ae.test(e)?ae.getAnimatableNone(e):e,h1=(e,t)=>typeof e==\"number\"?t!=null&&t.trim().endsWith(\"\/\")?e:0:d1(e);function f1(e){const t=Dr(e);return c0(t)(t.values.map((r,s)=>h1(r,t.split[s])))}const xt={test:i1,parse:u1,createTransformer:c1,getAnimatableNone:f1};function Qa(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1\/6?e+(t-e)*6*n:n<1\/2?t:n<2\/3?e+(t-e)*(2\/3-n)*6:e}function p1({hue:e,saturation:t,lightness:n,alpha:r}){e\/=360,t\/=100,n\/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;s=Qa(l,a,e+1\/3),i=Qa(l,a,e),o=Qa(l,a,e-1\/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function Ro(e,t){return n=>n>0?t:e}const q=(e,t,n)=>e+(t-e)*n,Ya=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},m1=[du,Mn,yr],g1=e=>m1.find(t=>t.test(e));function zh(e){const t=g1(e);if(aa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,\"color-not-animatable\"),!t)return!1;let n=t.parse(e);return t===yr&&(n=p1(n)),n}const Wh=(e,t)=>{const n=zh(e),r=zh(t);if(!n||!r)return Ro(e,t);const s={...n};return i=>(s.red=Ya(n.red,r.red,i),s.green=Ya(n.green,r.green,i),s.blue=Ya(n.blue,r.blue,i),s.alpha=q(n.alpha,r.alpha,i),Mn.transform(s))},hu=new Set([\"none\",\"hidden\"]);function y1(e,t){return hu.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function v1(e,t){return n=>q(e,t,n)}function Zc(e){return typeof e==\"number\"?v1:typeof e==\"string\"?Yc(e)?Ro:ae.test(e)?Wh:k1:Array.isArray(e)?d0:typeof e==\"object\"?ae.test(e)?Wh:x1:Ro}function d0(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Zc(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function x1(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Zc(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function w1(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],a=e.values[o]??0;n[s]=a,r[i]++}return n}const k1=(e,t)=>{const n=xt.createTransformer(t),r=Dr(e),s=Dr(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?hu.has(e)&&!s.values.length||hu.has(t)&&!r.values.length?y1(e,t):ni(d0(w1(r,s),s.values),n):(aa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,\"complex-values-different\"),Ro(e,t))};function h0(e,t,n){return typeof e==\"number\"&&typeof t==\"number\"&&typeof n==\"number\"?q(e,t,n):Zc(e)(e,t)}const b1=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>B.update(t,n),stop:()=>it(t),now:()=>me.isProcessing?me.timestamp:Pe.now()}},f0=(e,t,n=10)=>{let r=\"\";const s=Math.max(Math.round(t\/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i\/(s-1))*1e4)\/1e4+\", \";return`linear(${r.substring(0,r.length-2)})`},Mo=2e4;function ed(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Mo;)t+=n,r=e.next(t);return t>=Mo?1\/0:t}function S1(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(ed(r),Mo);return{type:\"keyframes\",ease:i=>r.next(s*i).value\/t,duration:et(s)}}const Z={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function fu(e,t){return e*Math.sqrt(1-t*t)}const _1=12;function j1(e,t,n){let r=n;for(let s=1;s<_1;s++)r=r-e(r)\/t(r);return r}const Xa=.001;function E1({duration:e=Z.duration,bounce:t=Z.bounce,velocity:n=Z.velocity,mass:r=Z.mass}){let s,i;aa(e<=ze(Z.maxDuration),\"Spring duration must be 10 seconds or less\",\"spring-duration-limit\");let o=1-t;o=kt(Z.minDamping,Z.maxDamping,o),e=kt(Z.minDuration,Z.maxDuration,et(e)),o<1?(s=c=>{const d=c*o,h=d*e,f=d-n,p=fu(c,o),v=Math.exp(-h);return Xa-f\/p*v},i=c=>{const h=c*o*e,f=h*n+n,p=Math.pow(o,2)*Math.pow(c,2)*e,v=Math.exp(-h),x=fu(Math.pow(c,2),o);return(-s(c)+Xa>0?-1:1)*((f-p)*v)\/x}):(s=c=>{const d=Math.exp(-c*e),h=(c-n)*e+1;return-Xa+d*h},i=c=>{const d=Math.exp(-c*e),h=(n-c)*(e*e);return d*h});const a=5\/e,l=j1(s,i,a);if(e=ze(e),isNaN(l))return{stiffness:Z.stiffness,damping:Z.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:o*2*Math.sqrt(r*c),duration:e}}}const T1=[\"duration\",\"bounce\"],C1=[\"stiffness\",\"damping\",\"mass\"];function Hh(e,t){return t.some(n=>e[n]!==void 0)}function P1(e){let t={velocity:Z.velocity,stiffness:Z.stiffness,damping:Z.damping,mass:Z.mass,isResolvedFromDuration:!1,...e};if(!Hh(e,C1)&&Hh(e,T1))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI\/(n*1.2),s=r*r,i=2*kt(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Z.mass,stiffness:s,damping:i}}else{const n=E1({...e,velocity:0});t={...t,...n,mass:Z.mass},t.isResolvedFromDuration=!0}return t}function Oo(e=Z.visualDuration,t=Z.bounce){const n=typeof e!=\"object\"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:c,mass:d,duration:h,velocity:f,isResolvedFromDuration:p}=P1({...n,velocity:-et(n.velocity||0)}),v=f||0,x=c\/(2*Math.sqrt(l*d)),k=o-i,g=et(Math.sqrt(l\/d)),m=Math.abs(k)<5;r||(r=m?Z.restSpeed.granular:Z.restSpeed.default),s||(s=m?Z.restDelta.granular:Z.restDelta.default);let y,w,b,j,_,S;if(x<1)b=fu(g,x),j=(v+x*g*k)\/b,y=P=>{const F=Math.exp(-x*g*P);return o-F*(j*Math.sin(b*P)+k*Math.cos(b*P))},_=x*g*j+k*b,S=x*g*k-j*b,w=P=>Math.exp(-x*g*P)*(_*Math.sin(b*P)+S*Math.cos(b*P));else if(x===1){y=F=>o-Math.exp(-g*F)*(k+(v+g*k)*F);const P=v+g*k;w=F=>Math.exp(-g*F)*(g*P*F-v)}else{const P=g*Math.sqrt(x*x-1);y=We=>{const at=Math.exp(-x*g*We),Le=Math.min(P*We,300);return o-at*((v+x*g*k)*Math.sinh(Le)+P*k*Math.cosh(Le))\/P};const F=(v+x*g*k)\/P,J=x*g*F-k*P,Ee=x*g*k-F*P;w=We=>{const at=Math.exp(-x*g*We),Le=Math.min(P*We,300);return at*(J*Math.sinh(Le)+Ee*Math.cosh(Le))}}const M={calculatedDuration:p&&h||null,velocity:P=>ze(w(P)),next:P=>{if(!p&&x<1){const J=Math.exp(-x*g*P),Ee=Math.sin(b*P),We=Math.cos(b*P),at=o-J*(j*Ee+k*We),Le=ze(J*(_*Ee+S*We));return a.done=Math.abs(Le)<=r&&Math.abs(o-at)<=s,a.value=a.done?o:at,a}const F=y(P);if(p)a.done=P>=h;else{const J=ze(w(P));a.done=Math.abs(J)<=r&&Math.abs(o-F)<=s}return a.value=a.done?o:F,a},toString:()=>{const P=Math.min(ed(M),Mo),F=f0(J=>M.next(P*J).value,P,30);return P+\"ms \"+F},toTransition:()=>{}};return M}Oo.applyToOptions=e=>{const t=S1(e,100,Oo);return e.ease=t.ease,e.duration=ze(t.duration),e.type=\"keyframes\",e};const N1=5;function p0(e,t,n){const r=Math.max(t-N1,0);return Kc(n-e(r),t-r)}function pu({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:d}){const h=e[0],f={done:!1,value:h},p=S=>a!==void 0&&S<a||l!==void 0&&S>l,v=S=>a===void 0?l:l===void 0||Math.abs(a-S)<Math.abs(l-S)?a:l;let x=n*t;const k=h+x,g=o===void 0?k:o(k);g!==k&&(x=g-h);const m=S=>-x*Math.exp(-S\/r),y=S=>g+m(S),w=S=>{const M=m(S),P=y(S);f.done=Math.abs(M)<=c,f.value=f.done?g:P};let b,j;const _=S=>{p(f.value)&&(b=S,j=Oo({keyframes:[f.value,v(f.value)],velocity:p0(y,S,f.value),damping:s,stiffness:i,restDelta:c,restSpeed:d}))};return _(0),{calculatedDuration:null,next:S=>{let M=!1;return!j&&b===void 0&&(M=!0,w(S),_(S)),b!==void 0&&S>=b?j.next(S-b):(!M&&w(S),f)}}}function A1(e,t,n){const r=[],s=n||pn.mix||h0,i=e.length-1;for(let o=0;o<i;o++){let a=s(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||Ue:t;a=ni(l,a)}r.push(a)}return r}function td(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(zt(i===t.length,\"Both input and output ranges must be the same length\",\"range-length\"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=A1(t,r,s),l=a.length,c=d=>{if(o&&d<e[0])return t[0];let h=0;if(l>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const f=Lr(e[h],e[h+1],d);return a[h](f)};return n?d=>c(kt(e[0],e[i-1],d)):c}function R1(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Lr(0,t,r);e.push(q(n,1,s))}}function m0(e){const t=[0];return R1(t,e.length-1),t}function M1(e,t){return e.map(n=>n*t)}function O1(e,t){return e.map(()=>t||n0).splice(0,e.length-1)}function ks({duration:e=300,keyframes:t,times:n,ease:r=\"easeInOut\"}){const s=Hw(r)?r.map($h):$h(r),i={done:!1,value:t[0]},o=M1(n&&n.length===t.length?n:m0(t),e),a=td(o,t,{ease:Array.isArray(s)?s:O1(t,s)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const L1=e=>e!==null;function la(e,{repeat:t,repeatType:n=\"loop\"},r,s=1){const i=e.filter(L1),a=s<0||t&&n!==\"loop\"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const D1={decay:pu,inertia:pu,tween:ks,keyframes:ks,spring:Oo};function g0(e){typeof e.type==\"string\"&&(e.type=D1[e.type])}class nd{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const I1=e=>e\/100;class Ks extends nd{constructor(t){super(),this.state=\"idle\",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==Pe.now()&&this.tick(Pe.now()),this.isStopped=!0,this.state!==\"idle\"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;g0(t);const{type:n=ks,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:a}=t;const l=n||ks;l!==ks&&typeof a[0]!=\"number\"&&(this.mixKeyframes=ni(I1,h0(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});i===\"mirror\"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=ed(c));const{calculatedDuration:d}=c;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:d,repeat:h,repeatType:f,repeatDelay:p,type:v,onUpdate:x,finalKeyframe:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s\/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>s;this.currentTime=Math.max(g,0),this.state===\"finished\"&&this.holdTime===null&&(this.currentTime=s);let y=this.currentTime,w=r;if(h){const S=Math.min(this.currentTime,s)\/a;let M=Math.floor(S),P=S%1;!P&&S>=1&&(P=1),P===1&&M--,M=Math.min(M,h+1),!!(M%2)&&(f===\"reverse\"?(P=1-P,p&&(P-=p\/a)):f===\"mirror\"&&(w=o)),y=kt(0,1,P)*a}let b;m?(this.delayState.value=d[0],b=this.delayState):b=w.next(y),i&&!m&&(b.value=i(b.value));let{done:j}=b;!m&&l!==null&&(j=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const _=this.holdTime===null&&(this.state===\"finished\"||this.state===\"running\"&&j);return _&&v!==pu&&(b.value=la(d,this.options,k,this.speed)),x&&x(b.value),_&&this.finish(),b}then(t,n){return this.finished.then(t,n)}get duration(){return et(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+et(t)}get time(){return et(this.currentTime)}set time(t){t=ze(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t\/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=\"paused\",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return p0(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Pe.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=et(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=b1,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);const r=this.driver.now();this.state===\"finished\"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state===\"finished\"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=\"running\",this.driver.start()}pause(){this.state=\"paused\",this.updateTime(Pe.now()),this.holdTime=this.currentTime}complete(){this.state!==\"running\"&&this.play(),this.state=\"finished\",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state=\"finished\",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state=\"idle\",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type=\"keyframes\",this.options.ease=\"linear\",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function V1(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const On=e=>e*180\/Math.PI,mu=e=>{const t=On(Math.atan2(e[1],e[0]));return gu(t)},$1={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))\/2,rotate:mu,rotateZ:mu,skewX:e=>On(Math.atan(e[1])),skewY:e=>On(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))\/2},gu=e=>(e=e%360,e<0&&(e+=360),e),qh=mu,Kh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Gh=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),F1={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Kh,scaleY:Gh,scale:e=>(Kh(e)+Gh(e))\/2,rotateX:e=>gu(On(Math.atan2(e[6],e[5]))),rotateY:e=>gu(On(Math.atan2(-e[2],e[0]))),rotateZ:qh,rotate:qh,skewX:e=>On(Math.atan(e[4])),skewY:e=>On(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))\/2};function yu(e){return e.includes(\"scale\")?1:0}function vu(e,t){if(!e||e===\"none\")return yu(t);const n=e.match(\/^matrix3d\\(([-\\d.e\\s,]+)\\)$\/u);let r,s;if(n)r=F1,s=n;else{const a=e.match(\/^matrix\\(([-\\d.e\\s,]+)\\)$\/u);r=$1,s=a}if(!s)return yu(t);const i=r[t],o=s[1].split(\",\").map(U1);return typeof i==\"function\"?i(o):o[i]}const B1=(e,t)=>{const{transform:n=\"none\"}=getComputedStyle(e);return vu(n,t)};function U1(e){return parseFloat(e.trim())}const Wr=[\"transformPerspective\",\"x\",\"y\",\"z\",\"translateX\",\"translateY\",\"translateZ\",\"scale\",\"scaleX\",\"scaleY\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"skew\",\"skewX\",\"skewY\"],Hr=new Set([...Wr,\"pathRotation\"]),Qh=e=>e===zr||e===R,z1=new Set([\"x\",\"y\",\"z\"]),W1=Wr.filter(e=>!z1.has(e));function H1(e){const t=[];return W1.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith(\"scale\")?1:0))}),t}const nn={width:({x:e},{paddingLeft:t=\"0\",paddingRight:n=\"0\",boxSizing:r})=>{const s=e.max-e.min;return r===\"border-box\"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=\"0\",paddingBottom:n=\"0\",boxSizing:r})=>{const s=e.max-e.min;return r===\"border-box\"?s:s-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>vu(t,\"x\"),y:(e,{transform:t})=>vu(t,\"y\")};nn.translateX=nn.x;nn.translateY=nn.y;const In=new Set;let xu=!1,wu=!1,ku=!1;function y0(){if(wu){const e=Array.from(In).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=H1(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}wu=!1,xu=!1,In.forEach(e=>e.complete(ku)),In.clear()}function v0(){In.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(wu=!0)})}function q1(){ku=!0,v0(),y0(),ku=!1}class rd{constructor(t,n,r,s,i,o=!1){this.state=\"pending\",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state=\"scheduled\",this.isAsync?(In.add(this),xu||(xu=!0,B.read(v0),B.resolveKeyframes(y0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}V1(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state=\"complete\",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),In.delete(this)}cancel(){this.state===\"scheduled\"&&(In.delete(this),this.state=\"pending\")}resume(){this.state===\"pending\"&&this.scheduleResolve()}}const K1=e=>e.startsWith(\"--\");function x0(e,t,n){K1(t)?e.style.setProperty(t,n):e.style[t]=n}const G1={};function sd(e,t){const n=Kg(e);return()=>G1[t]??n()}const id=sd(()=>window.ScrollTimeline!==void 0,\"scrollTimeline\"),w0=sd(()=>window.ViewTimeline!==void 0,\"viewTimeline\"),k0=sd(()=>{try{document.createElement(\"div\").animate({opacity:0},{easing:\"linear(0, 1)\"})}catch{return!1}return!0},\"linearEasing\"),ls=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Yh={linear:\"linear\",ease:\"ease\",easeIn:\"ease-in\",easeOut:\"ease-out\",easeInOut:\"ease-in-out\",circIn:ls([0,.65,.55,1]),circOut:ls([.55,0,1,.45]),backIn:ls([.31,.01,.66,-.59]),backOut:ls([.33,1.53,.69,.99])};function b0(e,t){if(e)return typeof e==\"function\"?k0()?f0(e,t):\"ease-out\":r0(e)?ls(e):Array.isArray(e)?e.map(n=>b0(n,t)||Yh.easeOut):Yh[e]}function Q1(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o=\"loop\",ease:a=\"easeOut\",times:l}={},c=void 0){const d={[t]:n};l&&(d.offset=l);const h=b0(a,s);Array.isArray(h)&&(d.easing=h);const f={delay:r,duration:s,easing:Array.isArray(h)?\"linear\":h,fill:\"both\",iterations:i+1,direction:o===\"reverse\"?\"alternate\":\"normal\"};return c&&(f.pseudoElement=c),e.animate(d,f)}function S0(e){return typeof e==\"function\"&&\"applyToOptions\"in e}function Y1({type:e,...t}){return S0(e)&&k0()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease=\"easeOut\"),t)}class _0 extends nd{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,zt(typeof t.type!=\"string\",`Mini animate() doesn't support \"type\" as a string.`,\"mini-spring\");const c=Y1(t);this.animation=Q1(n,r,s,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=la(s,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(d),x0(n,r,d),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===\"finished\"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t===\"idle\"||t===\"finished\"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return et(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+et(t)}get time(){return et(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ze(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?\"finished\":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:s}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:\"linear\"})),this.animation.onfinish=null,t&&id()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Ue):s(this)}}const j0={anticipate:Zg,backInOut:Jg,circInOut:t0};function X1(e){return e in j0}function J1(e){typeof e.ease==\"string\"&&X1(e.ease)&&(e.ease=j0[e.ease])}const Ja=10;class Z1 extends _0{constructor(t){J1(t),g0(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Ks({...o,autoplay:!1}),l=Math.max(Ja,Pe.now()-this.startTime),c=kt(0,Ja,l-Ja),d=a.sample(l).value,{name:h}=this.options;i&&h&&x0(i,h,d),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,d,c),a.stop()}}const Xh=(e,t)=>t===\"zIndex\"?!1:!!(typeof e==\"number\"||Array.isArray(e)||typeof e==\"string\"&&(xt.test(e)||e===\"0\")&&!e.startsWith(\"url(\"));function ek(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function tk(e,t,n,r){const s=e[0];if(s===null)return!1;if(t===\"display\"||t===\"visibility\")return!0;const i=e[e.length-1],o=Xh(s,t),a=Xh(i,t);return aa(o===a,`You are trying to animate ${t} from \"${s}\" to \"${i}\". \"${o?i:s}\" is not an animatable value.`,\"value-not-animatable\"),!o||!a?!1:ek(e)||(n===\"spring\"||S0(n))&&r}function bu(e){e.duration=0,e.type=\"keyframes\"}const E0=new Set([\"opacity\",\"clipPath\",\"filter\",\"transform\",\"backgroundColor\"]),nk=\/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\\(\/;function rk(e){for(let t=0;t<e.length;t++)if(typeof e[t]==\"string\"&&nk.test(e[t]))return!0;return!1}const sk=new Set([\"color\",\"backgroundColor\",\"outlineColor\",\"fill\",\"stroke\",\"borderColor\",\"borderTopColor\",\"borderRightColor\",\"borderBottomColor\",\"borderLeftColor\"]),ik=Kg(()=>Object.hasOwnProperty.call(Element.prototype,\"animate\"));function ok(e){var h;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:o,keyframes:a}=e,l=(h=t==null?void 0:t.owner)==null?void 0:h.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;const{onUpdate:c,transformTemplate:d}=t.owner.getProps();return ik()&&n&&(E0.has(n)||sk.has(n)&&rk(a))&&(n!==\"transform\"||!d)&&!c&&!r&&s!==\"mirror\"&&i!==0&&o!==\"inertia\"}const ak=40;class lk extends nd{constructor({autoplay:t=!0,delay:n=0,type:r=\"keyframes\",repeat:s=0,repeatDelay:i=0,repeatType:o=\"loop\",keyframes:a,name:l,motionValue:c,element:d,...h}){var v;super(),this.stop=()=>{var x,k;this._animation&&(this._animation.stop(),(x=this.stopTimeline)==null||x.call(this)),(k=this.keyframeResolver)==null||k.cancel()},this.createdAt=Pe.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:l,motionValue:c,element:d,...h},p=(d==null?void 0:d.KeyframeResolver)||rd;this.keyframeResolver=new p(a,(x,k,g)=>this.onKeyframesResolved(x,k,f,!g),l,c,d),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,s){var g,m;this.keyframeResolver=void 0;const{name:i,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:d}=r;this.resolvedAt=Pe.now();let h=!0;tk(t,i,o,a)||(h=!1,(pn.instantAnimations||!l)&&(d==null||d(la(t,r,n))),t[0]=t[t.length-1],bu(r),r.repeat=0);const p={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>ak?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},v=h&&!c&&ok(p),x=(m=(g=p.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let k;if(v)try{k=new Z1({...p,element:x})}catch{k=new Ks(p)}else k=new Ks(p);k.finished.then(()=>{this.notifyFinished()}).catch(Ue),this.pendingTimeline&&(this.stopTimeline=k.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=k}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),q1()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function T0(e,t,n,r=0,s=1){const i=Array.from(e).sort((c,d)=>c.sortNodePosition(d)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n==\"function\"?n(i,o):s===1?i*r:a-i*r}const Jh=30,uk=e=>!isNaN(parseFloat(e)),bs={current:void 0};class ck{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=Pe.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Pe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=uk(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on(\"change\",t)}on(t,n){this.events[t]||(this.events[t]=new qc);const r=this.events[t].add(n);return t===\"change\"?()=>{r(),B.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return bs.current&&bs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Pe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Jh)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Jh);return Kc(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function gt(e,t){return new ck(e,t)}function C0(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function od(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?C0(n,e):n}const dk={type:\"spring\",stiffness:500,damping:25,restSpeed:10},hk=e=>({type:\"spring\",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),fk={type:\"keyframes\",duration:.8},pk={type:\"keyframes\",ease:[.25,.1,.35,1],duration:.3},mk=(e,{keyframes:t})=>t.length>2?fk:Hr.has(e)?e.startsWith(\"scale\")?hk(t[1]):dk:pk,gk=new Set([\"when\",\"delay\",\"delayChildren\",\"staggerChildren\",\"staggerDirection\",\"repeat\",\"repeatType\",\"repeatDelay\",\"from\",\"elapsed\"]);function yk(e){for(const t in e)if(!gk.has(t))return!0;return!1}const ad=(e,t,n,r={},s,i)=>o=>{const a=od(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-ze(l);const d={keyframes:Array.isArray(n)?n:[null,n],ease:\"easeOut\",velocity:t.getVelocity(),...a,delay:-c,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:s};yk(a)||Object.assign(d,mk(e,d)),d.duration&&(d.duration=ze(d.duration)),d.repeatDelay&&(d.repeatDelay=ze(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(bu(d),d.delay===0&&(h=!0)),(pn.instantAnimations||pn.skipAnimations||s!=null&&s.shouldSkipAnimations||a.skipAnimations)&&(h=!0,bu(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,h&&!i&&t.get()!==void 0){const f=la(d.keyframes,a);if(f!==void 0){B.update(()=>{d.onUpdate(f),d.onComplete()});return}}return a.isSync?new Ks(d):new lk(d)},vk=\/^var\\(--(?:([\\w-]+)|([\\w-]+), ?([a-zA-Z\\d ()%#.,-]+))\\)\/u;function xk(e){const t=vk.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const wk=4;function P0(e,t,n=1){zt(n<=wk,`Max CSS variable fallback depth detected in property \"${e}\". This may indicate a circular fallback dependency.`,\"max-css-var-depth\");const[r,s]=xk(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Wg(o)?parseFloat(o):o}return Yc(s)?P0(s,t,n+1):s}function Zh(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function ld(e,t,n,r){if(typeof t==\"function\"){const[s,i]=Zh(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t==\"string\"&&(t=e.variants&&e.variants[t]),typeof t==\"function\"){const[s,i]=Zh(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Vn(e,t,n){const r=e.getProps();return ld(r,t,n!==void 0?n:r.custom,e)}const N0=new Set([\"width\",\"height\",\"top\",\"left\",\"right\",\"bottom\",...Wr]),Su=e=>Array.isArray(e);function kk(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,gt(n))}function bk(e){return Su(e)?e[e.length-1]||0:e}function Sk(e,t){const n=Vn(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=bk(i[o]);kk(e,o,a)}}const pe=e=>!!(e&&e.getVelocity);function _k(e){return!!(pe(e)&&e.add)}function _u(e,t){const n=e.getValue(\"willChange\");if(_k(n))return n.add(t);if(!n&&pn.WillChange){const r=new pn.WillChange(\"auto\");e.addValue(\"willChange\",r),r.add(t)}}function ud(e){return e.replace(\/([A-Z])\/g,t=>`-${t.toLowerCase()}`)}const jk=\"framerAppearId\",A0=\"data-\"+ud(jk);function R0(e){return e.props[A0]}function Ek({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function M0(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();i=i?C0(i,l):l;const c=i==null?void 0:i.reduceMotion,d=i==null?void 0:i.skipAnimations;r&&(i=r);const h=[],f=s&&e.animationState&&e.animationState.getState()[s],p=i==null?void 0:i.path;p&&p.animateVisualElement(e,a,i,n,h);for(const v in a){const x=e.getValue(v,e.latestValues[v]??null),k=a[v];if(k===void 0||f&&Ek(f,v))continue;const g={delay:n,...od(i||{},v)};d&&(g.skipAnimations=!0);const m=x.get();if(m!==void 0&&!x.isAnimating()&&!Array.isArray(k)&&k===m&&!g.velocity){B.update(()=>x.set(k));continue}let y=!1;if(window.MotionHandoffAnimation){const j=R0(e);if(j){const _=window.MotionHandoffAnimation(j,v,B);_!==null&&(g.startTime=_,y=!0)}}_u(e,v);const w=c??e.shouldReduceMotion;x.start(ad(v,x,k,w&&N0.has(v)?{type:!1}:g,e,y));const b=x.animation;b&&h.push(b)}if(o){const v=()=>B.update(()=>{o&&Sk(e,o)});h.length?Promise.all(h).then(v):v()}return h}function ju(e,t,n={}){var l;const r=Vn(e,t,n.type===\"exit\"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(M0(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:f}=s;return Tk(e,t,c,d,h,f,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[c,d]=a===\"beforeChildren\"?[i,o]:[o,i];return c().then(()=>d())}else return Promise.all([i(),o(n.delay)])}function Tk(e,t,n=0,r=0,s=0,i=1,o){const a=[];for(const l of e.variantChildren)l.notify(\"AnimationStart\",t),a.push(ju(l,t,{...o,delay:n+(typeof r==\"function\"?0:r)+T0(e.variantChildren,l,r,s,i)}).then(()=>l.notify(\"AnimationComplete\",t)));return Promise.all(a)}function Ck(e,t,n={}){e.notify(\"AnimationStart\",t);let r;if(Array.isArray(t)){const s=t.map(i=>ju(e,i,n));r=Promise.all(s)}else if(typeof t==\"string\")r=ju(e,t,n);else{const s=typeof t==\"function\"?Vn(e,t,n.custom):t;r=Promise.all(M0(e,s,n))}return r.then(()=>{e.notify(\"AnimationComplete\",t)})}const Pk={test:e=>e===\"auto\",parse:e=>e},O0=e=>t=>t.test(e),L0=[zr,R,Nt,At,r1,n1,Pk],ef=e=>L0.find(O0(e));function Nk(e){return typeof e==\"number\"?e===0:e!==null?e===\"none\"||e===\"0\"||qg(e):!0}const Ak=new Set([\"brightness\",\"contrast\",\"saturate\",\"opacity\"]);function Rk(e){const[t,n]=e.slice(0,-1).split(\"(\");if(t===\"drop-shadow\")return e;const[r]=n.match(Xc)||[];if(!r)return e;const s=n.replace(r,\"\");let i=Ak.has(t)?1:0;return r!==n&&(i*=100),t+\"(\"+i+s+\")\"}const Mk=\/\\b([a-z-]*)\\(.*?\\)\/gu,Eu={...xt,getAnimatableNone:e=>{const t=e.match(Mk);return t?t.map(Rk).join(\" \"):e}},Tu={...xt,getAnimatableNone:e=>{const t=xt.parse(e);return xt.createTransformer(e)(t.map(r=>typeof r==\"number\"?0:typeof r==\"object\"?{...r,alpha:1}:r))}},tf={...zr,transform:Math.round},Ok={rotate:At,pathRotation:At,rotateX:At,rotateY:At,rotateZ:At,scale:Ri,scaleX:Ri,scaleY:Ri,scaleZ:Ri,skew:At,skewX:At,skewY:At,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:qs,originX:Bh,originY:Bh,originZ:R},Lo={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left:R,inset:R,insetBlock:R,insetBlockStart:R,insetBlockEnd:R,insetInline:R,insetInlineStart:R,insetInlineEnd:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,paddingBlock:R,paddingBlockStart:R,paddingBlockEnd:R,paddingInline:R,paddingInlineStart:R,paddingInlineEnd:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,marginBlock:R,marginBlockStart:R,marginBlockEnd:R,marginInline:R,marginInlineStart:R,marginInlineEnd:R,fontSize:R,backgroundPositionX:R,backgroundPositionY:R,...Ok,zIndex:tf,fillOpacity:qs,strokeOpacity:qs,numOctaves:tf},Lk={...Lo,color:ae,backgroundColor:ae,outlineColor:ae,fill:ae,stroke:ae,borderColor:ae,borderTopColor:ae,borderRightColor:ae,borderBottomColor:ae,borderLeftColor:ae,filter:Eu,WebkitFilter:Eu,mask:Tu,WebkitMask:Tu},D0=e=>Lk[e],Dk=new Set([Eu,Tu]);function I0(e,t){let n=D0(e);return Dk.has(n)||(n=xt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ik=new Set([\"auto\",\"none\",\"0\"]);function Vk(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i==\"string\"&&!Ik.has(i)&&Dr(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=I0(n,s)}class $k extends rd{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let h=t[d];if(typeof h==\"string\"&&(h=h.trim(),Yc(h))){const f=P0(h,n.current);f!==void 0&&(t[d]=f),d===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!N0.has(r)||t.length!==2)return;const[s,i]=t,o=ef(s),a=ef(i),l=Fh(s),c=Fh(i);if(l!==c&&nn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Qh(o)&&Qh(a))for(let d=0;d<t.length;d++){const h=t[d];typeof h==\"string\"&&(t[d]=parseFloat(h))}else nn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||Nk(t[s]))&&r.push(s);r.length&&Vk(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r===\"height\"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=nn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=nn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}const cd=[\"borderTopLeftRadius\",\"borderTopRightRadius\",\"borderBottomRightRadius\",\"borderBottomLeftRadius\"];function V0(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==\"string\"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const Cu=(e,t)=>t&&typeof e==\"number\"?t.transform(e):e;function Ss(e){return Hg(e)&&\"offsetHeight\"in e&&!(\"ownerSVGElement\"in e)}const{schedule:Ir,cancel:$0}=s0(queueMicrotask,!1),dt={x:!1,y:!1};function F0(){return dt.x||dt.y}function Fk(e){return e===\"x\"||e===\"y\"?dt[e]?null:(dt[e]=!0,()=>{dt[e]=!1}):dt.x||dt.y?null:(dt.x=dt.y=!0,()=>{dt.x=dt.y=!1})}function B0(e,t){const n=V0(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function Bk(e){return!(e.pointerType===\"touch\"||F0())}function Uk(e,t,n={}){const[r,s,i]=B0(e,n);return r.forEach(o=>{let a=!1,l=!1,c;const d=()=>{o.removeEventListener(\"pointerleave\",v)},h=k=>{c&&(c(k),c=void 0),d()},f=k=>{a=!1,window.removeEventListener(\"pointerup\",f),window.removeEventListener(\"pointercancel\",f),l&&(l=!1,h(k))},p=()=>{a=!0,window.addEventListener(\"pointerup\",f,s),window.addEventListener(\"pointercancel\",f,s)},v=k=>{if(k.pointerType!==\"touch\"){if(a){l=!0;return}h(k)}},x=k=>{if(!Bk(k))return;l=!1;const g=t(o,k);typeof g==\"function\"&&(c=g,o.addEventListener(\"pointerleave\",v,s))};o.addEventListener(\"pointerenter\",x,s),o.addEventListener(\"pointerdown\",p,s)}),i}const U0=(e,t)=>t?e===t?!0:U0(e,t.parentElement):!1,dd=e=>e.pointerType===\"mouse\"?typeof e.button!=\"number\"||e.button<=0:e.isPrimary!==!1,zk=new Set([\"BUTTON\",\"INPUT\",\"SELECT\",\"TEXTAREA\",\"A\"]);function Wk(e){return zk.has(e.tagName)||e.isContentEditable===!0}const Hk=new Set([\"INPUT\",\"SELECT\",\"TEXTAREA\"]);function qk(e){return Hk.has(e.tagName)||e.isContentEditable===!0}const eo=new WeakSet;function nf(e){return t=>{t.key===\"Enter\"&&e(t)}}function Za(e,t){e.dispatchEvent(new PointerEvent(\"pointer\"+t,{isPrimary:!0,bubbles:!0}))}const Kk=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=nf(()=>{if(eo.has(n))return;Za(n,\"down\");const s=nf(()=>{Za(n,\"up\")}),i=()=>Za(n,\"cancel\");n.addEventListener(\"keyup\",s,t),n.addEventListener(\"blur\",i,t)});n.addEventListener(\"keydown\",r,t),n.addEventListener(\"blur\",()=>n.removeEventListener(\"keydown\",r),t)};function rf(e){return dd(e)&&!F0()}const sf=new WeakSet;function Gk(e,t,n={}){const[r,s,i]=B0(e,n),o=a=>{const l=a.currentTarget;if(!rf(a)||sf.has(a))return;eo.add(l),n.stopPropagation&&sf.add(a);const c=t(l,a),d={...s,capture:!0},h=(v,x)=>{window.removeEventListener(\"pointerup\",f,d),window.removeEventListener(\"pointercancel\",p,d),eo.has(l)&&eo.delete(l),rf(v)&&typeof c==\"function\"&&c(v,{success:x})},f=v=>{h(v,l===window||l===document||n.useGlobalTarget||U0(l,v.target))},p=v=>{h(v,!1)};window.addEventListener(\"pointerup\",f,d),window.addEventListener(\"pointercancel\",p,d)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener(\"pointerdown\",o,s),Ss(a)&&(a.addEventListener(\"focus\",c=>Kk(c,s)),!Wk(a)&&!a.hasAttribute(\"tabindex\")&&(a.tabIndex=0))}),i}function hd(e){return Hg(e)&&\"ownerSVGElement\"in e}const to=new WeakMap;let Kt;const z0=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+\"Size\"]:hd(r)&&\"getBBox\"in r?r.getBBox()[t]:r[n],Qk=z0(\"inline\",\"width\",\"offsetWidth\"),Yk=z0(\"block\",\"height\",\"offsetHeight\");function Xk({target:e,borderBoxSize:t}){var n;(n=to.get(e))==null||n.forEach(r=>{r(e,{get width(){return Qk(e,t)},get height(){return Yk(e,t)}})})}function Jk(e){e.forEach(Xk)}function Zk(){typeof ResizeObserver>\"u\"||(Kt=new ResizeObserver(Jk))}function eb(e,t){Kt||Zk();const n=V0(e);return n.forEach(r=>{let s=to.get(r);s||(s=new Set,to.set(r,s)),s.add(t),Kt==null||Kt.observe(r)}),()=>{n.forEach(r=>{const s=to.get(r);s==null||s.delete(t),s!=null&&s.size||Kt==null||Kt.unobserve(r)})}}const no=new Set;let vr;function tb(){vr=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};no.forEach(t=>t(e))},window.addEventListener(\"resize\",vr)}function nb(e){return no.add(e),vr||tb(),()=>{no.delete(e),!no.size&&typeof vr==\"function\"&&(window.removeEventListener(\"resize\",vr),vr=void 0)}}function Pu(e,t){return typeof e==\"function\"?nb(e):eb(e,t)}function W0(e,t){let n;const r=()=>{const{currentTime:s}=t,o=(s===null?0:s.value)\/100;n!==o&&e(o),n=o};return B.preUpdate(r,!0),()=>it(r)}function rb(e){return hd(e)&&e.tagName===\"svg\"}function sb(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],s=e[1+n],i=e[2+n],o=e[3+n],a=td(s,i,o);return t?a(r):a}function ib(e,t,n={}){const r=e.get();let s=null,i=r,o;const a=typeof r==\"string\"?r.replace(\/[\\d.-]\/g,\"\"):void 0,l=()=>{s&&(s.stop(),s=null),e.animation=void 0},c=()=>{const h=of(e.get()),f=of(i);if(h===f){l();return}const p=s?s.getGeneratorVelocity():e.getVelocity();l(),s=new Ks({keyframes:[h,f],velocity:p,type:\"spring\",restDelta:.001,restSpeed:.01,...n,onUpdate:o})},d=()=>{var h;c(),e.animation=s??void 0,(h=e.events.animationStart)==null||h.notify(),s==null||s.then(()=>{var f;e.animation=void 0,(f=e.events.animationComplete)==null||f.notify()})};if(e.attach((h,f)=>{i=h,o=p=>f(el(p,a)),B.postRender(d)},l),pe(t)){let h=n.skipInitialAnimation===!0;const f=t.on(\"change\",v=>{h?(h=!1,e.jump(el(v,a),!1)):e.set(el(v,a))}),p=e.on(\"destroy\",f);return()=>{f(),p()}}return l}function el(e,t){return t?e+t:e}function of(e){return typeof e==\"number\"?e:parseFloat(e)}const ob=[...L0,ae,xt],ab=e=>ob.find(O0(e)),af=()=>({translate:0,scale:1,origin:0,originPoint:0}),xr=()=>({x:af(),y:af()}),lf=()=>({min:0,max:0}),ce=()=>({x:lf(),y:lf()}),lb=new WeakMap;function ua(e){return e!==null&&typeof e==\"object\"&&typeof e.start==\"function\"}function Gs(e){return typeof e==\"string\"||Array.isArray(e)}const fd=[\"animate\",\"whileInView\",\"whileFocus\",\"whileHover\",\"whileTap\",\"whileDrag\",\"exit\"],pd=[\"initial\",...fd];function ca(e){return ua(e.animate)||pd.some(t=>Gs(e[t]))}function H0(e){return!!(ca(e)||e.variants)}function ub(e,t,n){for(const r in t){const s=t[r],i=n[r];if(pe(s))e.addValue(r,s);else if(pe(i))e.addValue(r,gt(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,gt(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Nu={current:null},q0={current:!1},cb=typeof window<\"u\";function db(){if(q0.current=!0,!!cb)if(window.matchMedia){const e=window.matchMedia(\"(prefers-reduced-motion)\"),t=()=>Nu.current=e.matches;e.addEventListener(\"change\",t),t()}else Nu.current=!1}const uf=[\"AnimationStart\",\"AnimationComplete\",\"Update\",\"BeforeLayoutMeasure\",\"LayoutMeasure\",\"LayoutAnimationStart\",\"LayoutAnimationComplete\"];let Do={};function K0(e){Do=e}function hb(){return Do}class fb{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:i,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=rd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(\"Update\",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Pe.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,B.render(this.render,!1,!0))};const{latestValues:c,renderState:d}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=ca(n),this.isVariantNode=H0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const v=f[p];c[p]!==void 0&&pe(v)&&v.set(c[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,lb.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig===\"never\"?this.shouldReduceMotion=!1:this.reducedMotionConfig===\"always\"?this.shouldReduceMotion=!0:(q0.current||db(),this.shouldReduceMotion=Nu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),it(this.notifyUpdate),it(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&E0.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:c,duration:d}=n.accelerate,h=new _0({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:ze(d)}),f=o(h);this.valueSubscriptions.set(t,()=>{f(),h.cancel()});return}const r=Hr.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on(\"change\",o=>{this.latestValues[t]=o,this.props.onUpdate&&B.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<\"u\"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t=\"animation\";for(t in Do){const n=Do[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ce()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<uf.length;r++){const s=uf[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i=\"on\"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=ub(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=gt(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r==\"string\"&&(Wg(r)||qg(r))?r=parseFloat(r):!ab(r)&&xt.test(n)&&(r=I0(t,n)),this.setBaseTarget(t,pe(r)?r.get():r)),pe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n==\"string\"||typeof n==\"object\"){const o=ld(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!pe(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new qc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Ir.render(this.render)}}class G0 extends fb{constructor(){super(...arguments),this.KeyframeResolver=$k}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;pe(t)&&(this.childSubscription=t.on(\"change\",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class vn{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Q0({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function pb({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function mb(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function tl(e){return e===void 0||e===1}function Au({scale:e,scaleX:t,scaleY:n}){return!tl(e)||!tl(t)||!tl(n)}function Tn(e){return Au(e)||Y0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Y0(e){return cf(e.x)||cf(e.y)}function cf(e){return e&&e!==\"0%\"}function Io(e,t,n){const r=e-n,s=t*r;return n+s}function df(e,t,n,r,s){return s!==void 0&&(e=Io(e,s,r)),Io(e,n,r)+t}function Ru(e,t=0,n=1,r,s){e.min=df(e.min,t,n,r,s),e.max=df(e.max,t,n,r,s)}function X0(e,{x:t,y:n}){Ru(e.x,t.translate,t.scale,t.originPoint),Ru(e.y,n.translate,n.scale,n.originPoint)}const hf=.999999999999,ff=1.0000000000001;function gb(e,t,n,r=!1){var a;const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let l=0;l<s;l++){i=n[l],o=i.projectionDelta;const{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display===\"contents\"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(Et(e.x,-i.scroll.offset.x),Et(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,X0(e,o)),r&&Tn(i.latestValues)&&ro(e,i.latestValues,(a=i.layout)==null?void 0:a.layoutBox))}t.x<ff&&t.x>hf&&(t.x=1),t.y<ff&&t.y>hf&&(t.y=1)}function Et(e,t){e.min+=t,e.max+=t}function pf(e,t,n,r,s=.5){const i=q(e.min,e.max,s);Ru(e,t,n,i,r)}function mf(e,t){return typeof e==\"string\"?parseFloat(e)\/100*(t.max-t.min):e}function ro(e,t,n){const r=n??e;pf(e.x,mf(t.x,r.x),t.scaleX,t.scale,t.originX),pf(e.y,mf(t.y,r.y),t.scaleY,t.scale,t.originY)}function J0(e,t){return Q0(mb(e.getBoundingClientRect(),t))}function yb(e,t,n){const r=J0(e,n),{scroll:s}=t;return s&&(Et(r.x,s.offset.x),Et(r.y,s.offset.y)),r}const vb={x:\"translateX\",y:\"translateY\",z:\"translateZ\",transformPerspective:\"perspective\"},xb=Wr.length;function wb(e,t,n){let r=\"\",s=!0;for(let o=0;o<xb;o++){const a=Wr[o],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l==\"number\")c=l===(a.startsWith(\"scale\")?1:0);else{const d=parseFloat(l);c=a.startsWith(\"scale\")?d===1:d===0}if(!c||n){const d=Cu(l,Lo[a]);if(!c){s=!1;const h=vb[a]||a;r+=`${h}(${d}) `}n&&(t[a]=d)}}const i=e.pathRotation;return i&&(s=!1,r+=`rotate(${Cu(i,Lo.pathRotation)}) `),r=r.trim(),n?r=n(t,s?\"\":r):s&&(r=\"none\"),r}function md(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,a=!1;for(const l in t){const c=t[l];if(Hr.has(l)){o=!0;continue}else if(o0(l)){s[l]=c;continue}else{const d=Cu(c,Lo[l]);l.startsWith(\"origin\")?(a=!0,i[l]=d):r[l]=d}}if(t.transform||(o||n?r.transform=wb(t,e.transform,n):r.transform&&(r.transform=\"none\")),a){const{originX:l=\"50%\",originY:c=\"50%\",originZ:d=0}=i;r.transformOrigin=`${l} ${c} ${d}`}}function Z0(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function gf(e,t){return t.max===t.min?0:e\/(t.max-t.min)*100}const ns={correct:(e,t)=>{if(!t.target)return e;if(typeof e==\"string\")if(R.test(e))e=parseFloat(e);else return e;const n=gf(e,t.target.x),r=gf(e,t.target.y);return`${n}% ${r}%`}},kb={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=xt.parse(e);if(s.length>5)return r;const i=xt.createTransformer(e),o=typeof s[0]!=\"number\"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;s[0+o]\/=a,s[1+o]\/=l;const c=q(a,l,.5);return typeof s[2+o]==\"number\"&&(s[2+o]\/=c),typeof s[3+o]==\"number\"&&(s[3+o]\/=c),i(s)}},Mu={borderRadius:{...ns,applyTo:[...cd]},borderTopLeftRadius:ns,borderTopRightRadius:ns,borderBottomLeftRadius:ns,borderBottomRightRadius:ns,boxShadow:kb};function ey(e,{layout:t,layoutId:n}){return Hr.has(e)||e.startsWith(\"origin\")||(t||n!==void 0)&&(!!Mu[e]||e===\"opacity\")}function gd(e,t,n){var o;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const a in r)(pe(r[a])||s&&pe(s[a])||ey(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(i[a]=r[a]);return i}function bb(e){return window.getComputedStyle(e)}class Sb extends G0{constructor(){super(...arguments),this.type=\"html\",this.renderInstance=Z0}mount(t){zt(!!t.style,\"motion.create() components must forward their ref to a HTML or SVG element\",\"custom-component-ref\"),super.mount(t)}readValueFromInstance(t,n){var r;if(Hr.has(n))return(r=this.projection)!=null&&r.isProjecting?yu(n):B1(t,n);{const s=bb(t),i=(o0(n)?s.getPropertyValue(n):s[n])||0;return typeof i==\"string\"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return J0(t,n)}build(t,n,r){md(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return gd(t,n,r)}}const _b={offset:\"stroke-dashoffset\",array:\"stroke-dasharray\"},jb={offset:\"strokeDashoffset\",array:\"strokeDasharray\"};function Eb(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?_b:jb;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const ty=[\"transform\",\"opacity\",\"offsetDistance\",\"offsetPath\",\"offsetRotate\",\"offsetAnchor\"];function ny(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...a},l,c,d){if(md(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:f}=e;for(const p of ty)h[p]!==void 0&&(f[p]=h[p],delete h[p]);(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??\"50% 50%\",delete h.transformOrigin),f.transform&&(f.transformBox=(d==null?void 0:d.transformBox)??\"fill-box\",delete h.transformBox),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),s!==void 0&&Eb(h,s,i,o,!1)}const ry=new Set([\"baseFrequency\",\"diffuseConstant\",\"kernelMatrix\",\"kernelUnitLength\",\"keySplines\",\"keyTimes\",\"limitingConeAngle\",\"markerHeight\",\"markerWidth\",\"numOctaves\",\"targetX\",\"targetY\",\"surfaceScale\",\"specularConstant\",\"specularExponent\",\"stdDeviation\",\"tableValues\",\"viewBox\",\"gradientTransform\",\"pathLength\",\"startOffset\",\"textLength\",\"lengthAdjust\"]),sy=e=>typeof e==\"string\"&&e.toLowerCase()===\"svg\";function Tb(e,t,n,r){Z0(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(ry.has(s)?s:ud(s),t.attrs[s])}function iy(e,t,n){const r=gd(e,t,n);for(const s in e)if(pe(e[s])||pe(t[s])){const i=Wr.indexOf(s)!==-1?\"attr\"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class Cb extends G0{constructor(){super(...arguments),this.type=\"svg\",this.isSVGTag=!1,this.measureInstanceViewportBox=ce}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Hr.has(n)){const r=D0(n);return r&&r.default||0}if(ty.includes(n)){const s=getComputedStyle(t)[n];if(typeof s==\"string\"&&s)return s.trim()}return n=ry.has(n)?n:ud(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return iy(t,n,r)}build(t,n,r){ny(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){Tb(t,n,r,s)}mount(t){this.isSVGTag=sy(t.tagName),super.mount(t)}}const Pb=pd.length;function oy(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?oy(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Pb;n++){const r=pd[n],s=e.props[r];(Gs(s)||s===!1)&&(t[r]=s)}return t}function ay(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const Nb=[...fd].reverse(),Ab=fd.length;function Rb(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Ck(e,n,r)))}function Mb(e){let t=Rb(e),n=yf(),r=!0,s=!1;const i=c=>(d,h)=>{var p;const f=Vn(e,h,c===\"exit\"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(f){const{transition:v,transitionEnd:x,...k}=f;d={...d,...k,...x}}return d};function o(c){t=c(e)}function a(c){const{props:d}=e,h=oy(e.parent)||{},f=[],p=new Set;let v={},x=1\/0;for(let g=0;g<Ab;g++){const m=Nb[g],y=n[m],w=d[m]!==void 0?d[m]:h[m],b=Gs(w),j=m===c?y.isActive:null;j===!1&&(x=g);let _=w===h[m]&&w!==d[m]&&b;if(_&&(r||s)&&e.manuallyAnimateOnMount&&(_=!1),y.protectedKeys={...v},!y.isActive&&j===null||!w&&!y.prevProp||ua(w)||typeof w==\"boolean\")continue;if(m===\"exit\"&&y.isActive&&j!==!0){y.prevResolvedValues&&(v={...v,...y.prevResolvedValues});continue}const S=Ob(y.prevProp,w);let M=S||m===c&&y.isActive&&!_&&b||g>x&&b,P=!1;const F=Array.isArray(w)?w:[w];let J=F.reduce(i(m),{});j===!1&&(J={});const{prevResolvedValues:Ee={}}=y,We={...Ee,...J},at=N=>{M=!0,p.has(N)&&(P=!0,p.delete(N)),y.needsAnimating[N]=!0;const O=e.getValue(N);O&&(O.liveStyle=!1)};for(const N in We){const O=J[N],D=Ee[N];if(v.hasOwnProperty(N))continue;let H=!1;Su(O)&&Su(D)?H=!ay(O,D)||S:H=O!==D,H?O!=null?at(N):p.add(N):O!==void 0&&p.has(N)?at(N):y.protectedKeys[N]=!0}y.prevProp=w,y.prevResolvedValues=J,y.isActive&&(v={...v,...J}),(r||s)&&e.blockInitialAnimation&&(M=!1);const Le=_&&S;M&&(!Le||P)&&f.push(...F.map(N=>{const O={type:m};if(typeof N==\"string\"&&(r||s)&&!Le&&e.manuallyAnimateOnMount&&e.parent){const{parent:D}=e,H=Vn(D,N);if(D.enteringChildren&&H){const{delayChildren:oe}=H.transition||{};O.delay=T0(D.enteringChildren,e,oe)}}return{animation:N,options:O}}))}if(p.size){const g={};if(typeof d.initial!=\"boolean\"){const m=Vn(e,Array.isArray(d.initial)?d.initial[0]:d.initial);m&&m.transition&&(g.transition=m.transition)}p.forEach(m=>{const y=e.getBaseTarget(m),w=e.getValue(m);w&&(w.liveStyle=!0),g[m]=y??null}),f.push({animation:g})}let k=!!f.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(k=!1),r=!1,s=!1,k?t(f):Promise.resolve()}function l(c,d){var f;if(n[c].isActive===d)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(p=>{var v;return(v=p.animationState)==null?void 0:v.setActive(c,d)}),n[c].isActive=d;const h=a(c);for(const p in n)n[p].protectedKeys={};return h}return{animateChanges:a,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=yf(),s=!0}}}function Ob(e,t){return typeof t==\"string\"?t!==e:Array.isArray(t)?!ay(t,e):!1}function bn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function yf(){return{animate:bn(!0),whileInView:bn(),whileHover:bn(),whileTap:bn(),whileDrag:bn(),whileFocus:bn(),exit:bn()}}function Ou(e,t){e.min=t.min,e.max=t.max}function ut(e,t){Ou(e.x,t.x),Ou(e.y,t.y)}function vf(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const ly=1e-4,Lb=1-ly,Db=1+ly,uy=.01,Ib=0-uy,Vb=0+uy;function Ne(e){return e.max-e.min}function $b(e,t,n){return Math.abs(e-t)<=n}function xf(e,t,n,r=.5){e.origin=r,e.originPoint=q(t.min,t.max,e.origin),e.scale=Ne(n)\/Ne(t),e.translate=q(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Lb&&e.scale<=Db||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ib&&e.translate<=Vb||isNaN(e.translate))&&(e.translate=0)}function _s(e,t,n,r){xf(e.x,t.x,n.x,r?r.originX:void 0),xf(e.y,t.y,n.y,r?r.originY:void 0)}function wf(e,t,n,r=0){const s=r?q(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+Ne(t)}function Fb(e,t,n,r){wf(e.x,t.x,n.x,r==null?void 0:r.x),wf(e.y,t.y,n.y,r==null?void 0:r.y)}function kf(e,t,n,r=0){const s=r?q(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+Ne(t)}function Vo(e,t,n,r){kf(e.x,t.x,n.x,r==null?void 0:r.x),kf(e.y,t.y,n.y,r==null?void 0:r.y)}function bf(e,t,n,r,s){return e-=t,e=Io(e,1\/n,r),s!==void 0&&(e=Io(e,1\/s,r)),e}function Bb(e,t=0,n=1,r=.5,s,i=e,o=e){if(Nt.test(t)&&(t=parseFloat(t),t=q(o.min,o.max,t\/100)-o.min),typeof t!=\"number\")return;let a=q(i.min,i.max,r);e===i&&(a-=t),e.min=bf(e.min,t,n,a,s),e.max=bf(e.max,t,n,a,s)}function Sf(e,t,[n,r,s],i,o){Bb(e,t[n],t[r],t[s],t.scale,i,o)}const Ub=[\"x\",\"scaleX\",\"originX\"],zb=[\"y\",\"scaleY\",\"originY\"];function _f(e,t,n,r){Sf(e.x,t,Ub,n?n.x:void 0,r?r.x:void 0),Sf(e.y,t,zb,n?n.y:void 0,r?r.y:void 0)}function jf(e){return e.translate===0&&e.scale===1}function cy(e){return jf(e.x)&&jf(e.y)}function Ef(e,t){return e.min===t.min&&e.max===t.max}function Wb(e,t){return Ef(e.x,t.x)&&Ef(e.y,t.y)}function Tf(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function dy(e,t){return Tf(e.x,t.x)&&Tf(e.y,t.y)}function Cf(e){return Ne(e.x)\/Ne(e.y)}function Pf(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function _t(e){return[e(\"x\"),e(\"y\")]}function Hb(e,t,n){let r=\"\";const s=e.x.translate\/t.x,i=e.y.translate\/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1\/t.x}, ${1\/t.y}) `),n){const{transformPerspective:c,rotate:d,pathRotation:h,rotateX:f,rotateY:p,skewX:v,skewY:x}=n;c&&(r=`perspective(${c}px) ${r}`),d&&(r+=`rotate(${d}deg) `),h&&(r+=`rotate(${h}deg) `),f&&(r+=`rotateX(${f}deg) `),p&&(r+=`rotateY(${p}deg) `),v&&(r+=`skewX(${v}deg) `),x&&(r+=`skewY(${x}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||\"none\"}const qb=cd.length,Nf=e=>typeof e==\"string\"?parseFloat(e):e,Af=e=>typeof e==\"number\"||R.test(e);function Kb(e,t,n,r,s,i){s?(e.opacity=q(0,n.opacity??1,Gb(r)),e.opacityExit=q(t.opacity??1,0,Qb(r))):i&&(e.opacity=q(t.opacity??1,n.opacity??1,r));for(let o=0;o<qb;o++){const a=cd[o];let l=Rf(t,a),c=Rf(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Af(l)===Af(c)?(e[a]=Math.max(q(Nf(l),Nf(c),r),0),(Nt.test(c)||Nt.test(l))&&(e[a]+=\"%\")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=q(t.rotate||0,n.rotate||0,r))}function Rf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Gb=hy(0,.5,e0),Qb=hy(.5,.95,Ue);function hy(e,t,n){return r=>r<e?0:r>t?1:n(Lr(e,t,r))}function Yb(e,t,n){const r=pe(e)?e:gt(e);return r.start(ad(\"\",r,t,n)),r.animation}function Qs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}const Xb=(e,t)=>e.depth-t.depth;class Jb{constructor(){this.children=[],this.isDirty=!1}add(t){Hc(this.children,t),this.isDirty=!0}remove(t){Ao(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Xb),this.isDirty=!1,this.children.forEach(t)}}function Zb(e,t){const n=Pe.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(it(r),e(i-t))};return B.setup(r,!0),()=>it(r)}function so(e){return pe(e)?e.get():e}class eS{constructor(){this.members=[]}add(t){Hc(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(Ao(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Ao(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:o}=t.options;(i===void 0||i!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,i,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(s=t.resumingFrom)==null?void 0:(i=s.options).onExitComplete)==null||o.call(i)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const io={hasAnimatedSinceResize:!0,hasEverUpdated:!1},nl=[\"\",\"X\",\"Y\",\"Z\"],tS=1e3;let nS=0;function rl(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function fy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=R0(t);if(window.MotionHasOptimisedAnimation(n,\"transform\")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,\"transform\",B,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&fy(r)}function py({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},a=t==null?void 0:t()){this.id=nS++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(iS),this.nodes.forEach(dS),this.nodes.forEach(hS),this.nodes.forEach(oS)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Jb)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new qc),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=hd(o)&&!rb(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let d,h=0;const f=()=>this.root.updateBlockedByResize=!1;B.read(()=>{h=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==h&&(h=p,this.root.updateBlockedByResize=!0,d&&d(),d=Zb(f,250),io.hasAnimatedSinceResize&&(io.hasAnimatedSinceResize=!1,this.nodes.forEach(Lf)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener(\"didUpdate\",({delta:d,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||yS,{onLayoutAnimationStart:x,onLayoutAnimationComplete:k}=c.getProps(),g=!this.targetLayout||!dy(this.targetLayout,p),m=!h&&f;if(this.options.layoutRoot||this.resumeFrom||m||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...od(v,\"layout\"),onPlay:x,onComplete:k};(c.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(d,m,y.path)}else h||Lf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),it(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fS),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&fy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const h=this.path[d];h.shouldResetTransform=!0,(typeof h.latestValues.x==\"string\"||typeof h.latestValues.y==\"string\")&&(h.isLayoutDirty=!0),h.updateScroll(\"snapshot\"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,\"\"):void 0,this.updateSnapshot(),o&&this.notifyListeners(\"willUpdate\")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(lS),this.nodes.forEach(Mf);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Of);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(uS),this.nodes.forEach(cS),this.nodes.forEach(rS),this.nodes.forEach(sS)):this.nodes.forEach(Of),this.clearAllSnapshots();const a=Pe.now();me.delta=kt(0,1e3\/60,a-me.timestamp),me.timestamp=a,me.isProcessing=!0,Ka.update.process(me),Ka.preRender.process(me),Ka.render.process(me),me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ir.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(aS),this.sharedNodes.forEach(pS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,B.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){B.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ne(this.snapshot.measuredBox.x)&&!Ne(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ce()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(\"measure\",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify(\"LayoutMeasure\",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o=\"measure\"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!cy(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,\"\"):void 0,d=c!==this.prevTransformTemplateValue;o&&this.instance&&(a||Tn(this.latestValues)||d)&&(s(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),vS(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:o}=this.options;if(!o)return ce();const a=o.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(xS))){const{scroll:d}=this.root;d&&(Et(a.x,d.offset.x),Et(a.y,d.offset.y))}return a}removeElementScroll(o){var l;const a=ce();if(ut(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const d=this.path[c],{scroll:h,options:f}=d;d!==this.root&&h&&f.layoutScroll&&(h.wasRoot&&ut(a,o),Et(a.x,h.offset.x),Et(a.y,h.offset.y))}return a}applyTransform(o,a=!1,l){var d,h;const c=l||ce();ut(c,o);for(let f=0;f<this.path.length;f++){const p=this.path[f];!a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(Et(c.x,-p.scroll.offset.x),Et(c.y,-p.scroll.offset.y)),Tn(p.latestValues)&&ro(c,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return Tn(this.latestValues)&&ro(c,this.latestValues,(h=this.layout)==null?void 0:h.layoutBox),c}removeTransform(o){var l;const a=ce();ut(a,o);for(let c=0;c<this.path.length;c++){const d=this.path[c];if(!Tn(d.latestValues))continue;let h;d.instance&&(Au(d.latestValues)&&d.updateSnapshot(),h=ce(),ut(h,d.measurePageBox())),_f(a,d.latestValues,(l=d.snapshot)==null?void 0:l.layoutBox,h)}return Tn(this.latestValues)&&_f(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:h}=this.options;if(!this.layout||!(d||h))return;this.resolvedRelativeTargetAt=me.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ce(),this.targetWithTransforms=ce()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Fb(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ut(this.target,this.layout.layoutBox),X0(this.target,this.targetDelta)):ut(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Au(this.parent.latestValues)||Y0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ce(),this.relativeTargetOrigin=ce(),Vo(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),ut(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===me.timestamp&&(l=!1),l)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;ut(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;gb(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=ce());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(vf(this.prevProjectionDelta.x,this.projectionDelta.x),vf(this.prevProjectionDelta.y,this.projectionDelta.y)),_s(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!Pf(this.projectionDelta.x,this.prevProjectionDelta.x)||!Pf(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(\"projectionUpdate\",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=xr(),this.projectionDelta=xr(),this.projectionDeltaWithTransform=xr()}setAnimationOrigin(o,a=!1,l){const c=this.snapshot,d=c?c.latestValues:{},h={...this.latestValues},f=xr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const p=ce(),v=c?c.source:void 0,x=this.layout?this.layout.source:void 0,k=v!==x,g=this.getStack(),m=!g||g.members.length<=1,y=!!(k&&!m&&this.options.crossfade===!0&&!this.path.some(gS));this.animationProgress=0;let w;const b=l==null?void 0:l.interpolateProjection(o);this.mixTargetDelta=j=>{const _=j\/1e3,S=b==null?void 0:b(_);S?(f.x.translate=S.x,f.x.scale=q(o.x.scale,1,_),f.x.origin=o.x.origin,f.x.originPoint=o.x.originPoint,f.y.translate=S.y,f.y.scale=q(o.y.scale,1,_),f.y.origin=o.y.origin,f.y.originPoint=o.y.originPoint):(Df(f.x,o.x,_),Df(f.y,o.y,_)),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Vo(p,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),mS(this.relativeTarget,this.relativeTargetOrigin,p,_),w&&Wb(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=ce()),ut(w,this.relativeTarget)),k&&(this.animationValues=h,Kb(h,d,this.latestValues,_,y,m)),S&&S.rotate!==void 0&&(this.animationValues||(this.animationValues=h),this.animationValues.pathRotation=S.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=_},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,c;this.notifyListeners(\"animationStart\"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(it(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=B.update(()=>{io.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=gt(0)),this.motionValue.jump(0,!1),this.currentAnimation=Yb(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(\"animationComplete\")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(tS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:d}=o;if(!(!a||!l||!c)){if(this!==o&&this.layout&&c&&my(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||ce();const h=Ne(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=Ne(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}ut(a,l),ro(a,d),_s(this.projectionDeltaWithTransform,this.layoutCorrected,a,d)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new eS),this.sharedNodes.get(o).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&rl(\"z\",o,c,this.animationValues);for(let d=0;d<nl.length;d++)rl(`rotate${nl[d]}`,o,c,this.animationValues),rl(`skew${nl[d]}`,o,c,this.animationValues);o.render();for(const d in c)o.setStaticValue(d,c[d]),this.animationValues&&(this.animationValues[d]=c[d]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility=\"hidden\";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility=\"\",o.opacity=\"\",o.pointerEvents=so(a==null?void 0:a.pointerEvents)||\"\",o.transform=l?l(this.latestValues,\"\"):\"none\";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=so(a==null?void 0:a.pointerEvents)||\"\"),this.hasProjected&&!Tn(this.latestValues)&&(o.transform=l?l({},\"\"):\"none\",this.hasProjected=!1);return}o.visibility=\"\";const d=c.animationValues||c.latestValues;this.applyTransformsToTarget();let h=Hb(this.projectionDeltaWithTransform,this.treeScale,d);l&&(h=l(d,h)),o.transform=h;const{x:f,y:p}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,c.animationValues?o.opacity=c===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=c===this?d.opacity!==void 0?d.opacity:\"\":d.opacityExit!==void 0?d.opacityExit:0;for(const v in Mu){if(d[v]===void 0)continue;const{correct:x,applyTo:k,isCSSVariable:g}=Mu[v],m=h===\"none\"?d[v]:x(d[v],c);if(k){const y=k.length;for(let w=0;w<y;w++)o[k[w]]=m}else g?this.options.visualElement.renderState.vars[v]=m:o[v]=m}this.options.layoutId&&(o.pointerEvents=c===this?so(a==null?void 0:a.pointerEvents)||\"\":\"none\")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Mf),this.root.sharedNodes.clear()}}}function rS(e){e.updateLayout()}function sS(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(\"didUpdate\")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if(i===\"size\")_t(h=>{const f=o?t.measuredBox[h]:t.layoutBox[h],p=Ne(f);f.min=r[h].min,f.max=f.min+p});else if(i===\"x\"||i===\"y\"){const h=i===\"x\"?\"y\":\"x\";Ou(o?t.measuredBox[h]:t.layoutBox[h],r[h])}else my(i,t.layoutBox,r)&&_t(h=>{const f=o?t.measuredBox[h]:t.layoutBox[h],p=Ne(r[h]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+p)});const a=xr();_s(a,r,t.layoutBox);const l=xr();o?_s(l,e.applyTransform(s,!0),t.measuredBox):_s(l,r,t.layoutBox);const c=!cy(a);let d=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:p}=h;if(f&&p){const v=e.options.layoutAnchor||void 0,x=ce();Vo(x,t.layoutBox,f.layoutBox,v);const k=ce();Vo(k,r,p.layoutBox,v),dy(x,k)||(d=!0),h.options.layoutRoot&&(e.relativeTarget=k,e.relativeTargetOrigin=x,e.relativeParent=h)}}}e.notifyListeners(\"didUpdate\",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function iS(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oS(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aS(e){e.clearSnapshot()}function Mf(e){e.clearMeasurements()}function lS(e){e.isLayoutDirty=!0,e.updateLayout()}function Of(e){e.isLayoutDirty=!1}function uS(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function cS(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(\"BeforeLayoutMeasure\"),e.resetTransform()}function Lf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function dS(e){e.resolveTargetDelta()}function hS(e){e.calcProjection()}function fS(e){e.resetSkewAndRotation()}function pS(e){e.removeLeadSnapshot()}function Df(e,t,n){e.translate=q(t.translate,0,n),e.scale=q(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function If(e,t,n,r){e.min=q(t.min,n.min,r),e.max=q(t.max,n.max,r)}function mS(e,t,n,r){If(e.x,t.x,n.x,r),If(e.y,t.y,n.y,r)}function gS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const yS={duration:.45,ease:[.4,0,.1,1]},Vf=e=>typeof navigator<\"u\"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),$f=Vf(\"applewebkit\/\")&&!Vf(\"chrome\/\")?Math.round:Ue;function Ff(e){e.min=$f(e.min),e.max=$f(e.max)}function vS(e){Ff(e.x),Ff(e.y)}function my(e,t,n){return e===\"position\"||e===\"preserve-aspect\"&&!$b(Cf(t),Cf(n),.2)}function xS(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const wS=py({attachResizeListener:(e,t)=>Qs(e,\"resize\",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),sl={current:void 0},gy=py({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sl.current){const e=new wS({});e.mount(window),e.setOptions({layoutScroll:!0}),sl.current=e}return sl.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:\"none\"},checkIsScrollRoot:e=>window.getComputedStyle(e).position===\"fixed\"}),ii=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:\"never\"});function Bf(e,t){if(typeof e==\"function\")return e(t);e!=null&&(e.current=t)}function kS(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Bf(s,t);return!n&&typeof i==\"function\"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i==\"function\"?i():Bf(e[s],null)}}}}function bS(...e){return T.useCallback(kS(...e),e)}class SS extends T.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(Ss(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,s=Ss(r)&&r.offsetWidth||0,i=Ss(r)&&r.offsetHeight||0,o=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(o.height),a.width=parseFloat(o.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=s-a.width-a.left,a.bottom=i-a.height-a.top,a.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function _S({children:e,isPresent:t,anchorX:n,anchorY:r,root:s,pop:i}){var f;const o=T.useId(),a=T.useRef(null),l=T.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:\"ltr\"}),{nonce:c}=T.useContext(ii),d=i!==!1?((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref):void 0,h=bS(a,d);return T.useInsertionEffect(()=>{const{width:p,height:v,top:x,left:k,right:g,bottom:m,direction:y}=l.current;if(t||i===!1||!a.current||!p||!v)return;const w=y===\"rtl\",b=n===\"left\"?w?`right: ${g}`:`left: ${k}`:w?`left: ${k}`:`right: ${g}`,j=r===\"bottom\"?`bottom: ${m}`:`top: ${x}`;a.current.dataset.motionPopId=o;const _=document.createElement(\"style\");c&&(_.nonce=c);const S=s??document.head;return S.appendChild(_),_.sheet&&_.sheet.insertRule(`\n          [data-motion-pop-id=\"${o}\"] {\n            position: absolute !important;\n            width: ${p}px !important;\n            height: ${v}px !important;\n            ${b}px !important;\n            ${j}px !important;\n          }\n        `),()=>{var M;(M=a.current)==null||M.removeAttribute(\"data-motion-pop-id\"),S.contains(_)&&S.removeChild(_)}},[t]),u.jsx(SS,{isPresent:t,childRef:a,sizeRef:l,pop:i,children:i===!1?e:T.cloneElement(e,{ref:h})})}const jS=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:i,mode:o,anchorX:a,anchorY:l,root:c})=>{const d=Ur(ES),h=T.useId(),f=T.useRef(n),p=T.useRef(r);Or(()=>{f.current=n,p.current=r});let v=!0,x=T.useMemo(()=>(v=!1,{id:h,initial:t,isPresent:n,custom:s,onExitComplete:k=>{d.set(k,!0);for(const g of d.values())if(!g)return;r&&r()},register:k=>(d.set(k,!1),()=>{var g;d.delete(k),!f.current&&!d.size&&((g=p.current)==null||g.call(p))})}),[n,d,r]);return i&&v&&(x={...x}),T.useMemo(()=>{d.forEach((k,g)=>d.set(g,!1))},[n]),T.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=u.jsx(_S,{pop:o===\"popLayout\",isPresent:n,anchorX:a,anchorY:l,root:c,children:e}),u.jsx(oa.Provider,{value:x,children:e})};function ES(){return new Map}function yy(e=!0){const t=T.useContext(oa);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=T.useId();T.useEffect(()=>{if(e)return s(i)},[e]);const o=T.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const Mi=e=>e.key||\"\";function Uf(e){const t=[];return T.Children.forEach(e,n=>{T.isValidElement(n)&&t.push(n)}),t}const da=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:i=\"sync\",propagate:o=!1,anchorX:a=\"left\",anchorY:l=\"top\",root:c})=>{const[d,h]=yy(o),f=T.useMemo(()=>Uf(e),[e]),p=o&&!d?[]:f.map(Mi),v=T.useRef(!0),x=T.useRef(f),k=Ur(()=>new Map),g=T.useRef(new Set),[m,y]=T.useState(f),[w,b]=T.useState(f);Or(()=>{o&&!d&&!w.length&&(h==null||h())},[d,o,w.length,h]),Or(()=>{v.current=!1,x.current=f;for(let S=0;S<w.length;S++){const M=Mi(w[S]);p.includes(M)?(k.delete(M),g.current.delete(M)):k.get(M)!==!0&&k.set(M,!1)}},[w,p.length,p.join(\"-\")]);const j=[];if(f!==m){let S=[...f];for(let M=0;M<w.length;M++){const P=w[M],F=Mi(P);p.includes(F)||(S.splice(M,0,P),j.push(P))}return i===\"wait\"&&j.length&&(S=j),b(Uf(S)),y(f),null}const{forceRender:_}=T.useContext(Wc);return u.jsx(u.Fragment,{children:w.map(S=>{const M=Mi(S),P=o&&!d?!1:f===w||p.includes(M),F=()=>{if(g.current.has(M))return;if(k.has(M))g.current.add(M),k.set(M,!0);else return;let J=!0;k.forEach(Ee=>{Ee||(J=!1)}),J&&(_==null||_(),b(x.current),o&&(h==null||h()),r&&r())};return u.jsx(jS,{isPresent:P,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:s,mode:i,root:c,onExitComplete:P?void 0:F,anchorX:a,anchorY:l,children:S},M)})})},vy=T.createContext({strict:!1}),zf={animation:[\"animate\",\"variants\",\"whileHover\",\"whileTap\",\"exit\",\"whileInView\",\"whileFocus\",\"whileDrag\"],exit:[\"exit\"],drag:[\"drag\",\"dragControls\"],focus:[\"whileFocus\"],hover:[\"whileHover\",\"onHoverStart\",\"onHoverEnd\"],tap:[\"whileTap\",\"onTap\",\"onTapStart\",\"onTapCancel\"],pan:[\"onPan\",\"onPanStart\",\"onPanSessionStart\",\"onPanEnd\"],inView:[\"whileInView\",\"onViewportEnter\",\"onViewportLeave\"],layout:[\"layout\",\"layoutId\"]};let Wf=!1;function TS(){if(Wf)return;const e={};for(const t in zf)e[t]={isEnabled:n=>zf[t].some(r=>!!n[r])};K0(e),Wf=!0}function xy(){return TS(),hb()}function CS(e){const t=xy();for(const n in e)t[n]={...t[n],...e[n]};K0(t)}const ha=T.createContext({});function PS(e,t){if(ca(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Gs(n)?n:void 0,animate:Gs(r)?r:void 0}}return e.inherit!==!1?t:{}}function NS(e){const{initial:t,animate:n}=PS(e,T.useContext(ha));return T.useMemo(()=>({initial:t,animate:n}),[Hf(t),Hf(n)])}function Hf(e){return Array.isArray(e)?e.join(\" \"):e}const yd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wy(e,t,n){for(const r in t)!pe(t[r])&&!ey(r,n)&&(e[r]=t[r])}function AS({transformTemplate:e},t){return T.useMemo(()=>{const n=yd();return md(n,t,e),Object.assign({},n.vars,n.style)},[t])}function RS(e,t){const n=e.style||{},r={};return wy(r,n,e),Object.assign(r,AS(e,t)),r}function MS(e,t){const n={},r=RS(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=\"none\",r.touchAction=e.drag===!0?\"none\":`pan-${e.drag===\"x\"?\"y\":\"x\"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const ky=()=>({...yd(),attrs:{}});function OS(e,t,n,r){const s=T.useMemo(()=>{const i=ky();return ny(i,t,sy(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};wy(i,e.style,e),s.style={...i,...s.style}}return s}const LS=new Set([\"animate\",\"exit\",\"variants\",\"initial\",\"style\",\"values\",\"variants\",\"transition\",\"transformTemplate\",\"custom\",\"inherit\",\"onBeforeLayoutMeasure\",\"onAnimationStart\",\"onAnimationComplete\",\"onUpdate\",\"onDragStart\",\"onDrag\",\"onDragEnd\",\"onMeasureDragConstraints\",\"onDirectionLock\",\"onDragTransitionEnd\",\"_dragX\",\"_dragY\",\"onHoverStart\",\"onHoverEnd\",\"onViewportEnter\",\"onViewportLeave\",\"globalTapTarget\",\"propagate\",\"ignoreStrict\",\"viewport\"]);function $o(e){return e.startsWith(\"while\")||e.startsWith(\"drag\")&&e!==\"draggable\"||e.startsWith(\"layout\")||e.startsWith(\"onTap\")||e.startsWith(\"onPan\")||e.startsWith(\"onLayout\")||LS.has(e)}function DS(e,t){return e.startsWith(\"on\")?!$o(e):(t==null?void 0:t(e))??!$o(e)}function IS(e,t,n,r){const s={};for(const i in e)i===\"values\"&&typeof e.values==\"object\"||pe(e[i])||(DS(i,r)||n===!0&&$o(i)||!t&&!$o(i)||e.draggable&&i.startsWith(\"onDrag\"))&&(s[i]=e[i]);return s}const VS=[\"animate\",\"circle\",\"defs\",\"desc\",\"ellipse\",\"g\",\"image\",\"line\",\"filter\",\"marker\",\"mask\",\"metadata\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"rect\",\"stop\",\"switch\",\"symbol\",\"svg\",\"text\",\"tspan\",\"use\",\"view\"];function vd(e){return typeof e!=\"string\"||e.includes(\"-\")?!1:!!(VS.indexOf(e)>-1||\/[A-Z]\/u.test(e))}function $S(e,t,n,{latestValues:r},s,i=!1,o,a){const c=(o??vd(e)?OS:MS)(t,r,s,e),d=IS(t,typeof e==\"string\",i,a),h=e!==T.Fragment?{...d,...c,ref:n}:{},{children:f}=t,p=T.useMemo(()=>pe(f)?f.get():f,[f]);return T.createElement(e,{...h,children:p})}function FS({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:BS(n,r,s,e),renderState:t()}}function BS(e,t,n,r){const s={},i=r(e,{});for(const f in i)s[f]=so(i[f]);let{initial:o,animate:a}=e;const l=ca(e),c=H0(e);t&&c&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const h=d?a:o;if(h&&typeof h!=\"boolean\"&&!ua(h)){const f=Array.isArray(h)?h:[h];for(let p=0;p<f.length;p++){const v=ld(e,f[p]);if(v){const{transitionEnd:x,transition:k,...g}=v;for(const m in g){let y=g[m];if(Array.isArray(y)){const w=d?y.length-1:0;y=y[w]}y!==null&&(s[m]=y)}for(const m in x)s[m]=x[m]}}}return s}const by=e=>(t,n)=>{const r=T.useContext(ha),s=T.useContext(oa),i=()=>FS(e,t,r,s);return n?i():Ur(i)},US=by({scrapeMotionValuesFromProps:gd,createRenderState:yd}),zS=by({scrapeMotionValuesFromProps:iy,createRenderState:ky}),WS=Symbol.for(\"motionComponentSymbol\");function HS(e,t,n){const r=T.useRef(n);T.useInsertionEffect(()=>{r.current=n});const s=T.useRef(null);return T.useCallback(i=>{var a;i&&((a=e.onMount)==null||a.call(e,i)),t&&(i?t.mount(i):t.unmount());const o=r.current;if(typeof o==\"function\")if(i){const l=o(i);typeof l==\"function\"&&(s.current=l)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i)},[t])}const Sy=T.createContext({});function nr(e){return e&&typeof e==\"object\"&&Object.prototype.hasOwnProperty.call(e,\"current\")}function qS(e,t,n,r,s,i){var y,w;const{visualElement:o}=T.useContext(ha),a=T.useContext(vy),l=T.useContext(oa),c=T.useContext(ii),d=c.reducedMotion,h=c.skipAnimations,f=T.useRef(null),p=T.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:d,skipAnimations:h,isSVG:i}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const v=f.current,x=T.useContext(Sy);v&&!v.projection&&s&&(v.type===\"html\"||v.type===\"svg\")&&KS(f.current,n,s,x);const k=T.useRef(!1);T.useInsertionEffect(()=>{v&&k.current&&v.update(n,l)});const g=n[A0],m=T.useRef(!!g&&typeof window<\"u\"&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,g))&&((w=window.MotionHasOptimisedAnimation)==null?void 0:w.call(window,g)));return Or(()=>{p.current=!0,v&&(k.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),m.current&&v.animationState&&v.animationState.animateChanges())}),T.useEffect(()=>{v&&(!m.current&&v.animationState&&v.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)==null||b.call(window,g)}),m.current=!1),v.enteringChildren=void 0)}),v}function KS(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:d,layoutCrossfade:h}=t;e.projection=new n(e.latestValues,t[\"data-framer-portal-id\"]?void 0:_y(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||a&&nr(a),visualElement:e,animationType:typeof i==\"string\"?i:\"both\",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:c,layoutAnchor:d})}function _y(e){if(e)return e.options.allowProjection!==!1?e.projection:_y(e.parent)}function il(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&CS(r);const i=n?n===\"svg\":vd(e),o=i?zS:US;function a(c,d){let h;const f={...T.useContext(ii),...c,layoutId:GS(c)},{isStatic:p,isValidProp:v}=f,x=NS(c),k=o(c,p);if(!p&&typeof window<\"u\"){QS();const g=YS(f);h=g.MeasureLayout,x.visualElement=qS(e,k,f,s,g.ProjectionNode,i)}return u.jsxs(ha.Provider,{value:x,children:[h&&x.visualElement?u.jsx(h,{visualElement:x.visualElement,...f}):null,$S(e,c,HS(k,x.visualElement,d),k,p,t,i,v)]})}a.displayName=`motion.${typeof e==\"string\"?e:`create(${e.displayName??e.name??\"\"})`}`;const l=T.forwardRef(a);return l[WS]=e,l}function GS({layoutId:e}){const t=T.useContext(Wc).id;return t&&e!==void 0?t+\"-\"+e:e}function QS(e,t){T.useContext(vy).strict}function YS(e){const t=xy(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}function XS(e,t){if(typeof Proxy>\"u\")return il;const n=new Map,r=(i,o)=>il(i,o,e,t),s=(i,o)=>r(i,o);return new Proxy(s,{get:(i,o)=>o===\"create\"?r:(n.has(o)||n.set(o,il(o,void 0,e,t)),n.get(o))})}const JS=(e,t)=>t.isSVG??vd(e)?new Cb(t):new Sb(t,{allowProjection:e!==T.Fragment});class ZS extends vn{constructor(t){super(t),t.animationState||(t.animationState=Mb(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ua(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let e2=0;class t2 extends vn{constructor(){super(...arguments),this.id=e2++,this.isExitComplete=!1}update(){var i;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:a}=this.node.getProps();if(typeof o==\"string\"||typeof o==\"object\"&&o!==null&&!Array.isArray(o)){const l=Vn(this.node,o,a);if(l){const{transition:c,transitionEnd:d,...h}=l;for(const f in h)(i=this.node.getValue(f))==null||i.jump(h[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(\"exit\",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive(\"exit\",!t);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const n2={animation:{Feature:ZS},exit:{Feature:t2}};function oi(e){return{point:{x:e.pageX,y:e.pageY}}}const r2=e=>t=>dd(t)&&e(t,oi(t));function js(e,t,n,r){return Qs(e,t,r2(n),r)}const jy=({current:e})=>e?e.ownerDocument.defaultView:null,qf=(e,t)=>Math.abs(e-t);function s2(e,t){const n=qf(e.x,t.x),r=qf(e.y,t.y);return Math.sqrt(n**2+r**2)}const Kf=new Set([\"auto\",\"scroll\"]);class Ey{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=v=>{this.handleScroll(v.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Oi(this.lastRawMoveEventInfo,this.transformPagePoint));const v=ol(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,k=s2(v.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!k)return;const{point:g}=v,{timestamp:m}=me;this.history.push({...g,timestamp:m});const{onStart:y,onMove:w}=this.handlers;x||(y&&y(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,v)},this.handlePointerMove=(v,x)=>{this.lastMoveEvent=v,this.lastRawMoveEventInfo=x,this.lastMoveEventInfo=Oi(x,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(v,x)=>{this.end();const{onEnd:k,onSessionEnd:g,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=ol(v.type===\"pointercancel\"?this.lastMoveEventInfo:Oi(x,this.transformPagePoint),this.history);this.startEvent&&k&&k(v,y),g&&g(v,y)},!dd(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=s||window;const l=oi(t),c=Oi(l,this.transformPagePoint),{point:d}=c,{timestamp:h}=me;this.history=[{...d,timestamp:h}];const{onSessionStart:f}=n;f&&f(t,ol(c,this.history));const p={passive:!0,capture:!0};this.removeListeners=ni(js(this.contextWindow,\"pointermove\",this.handlePointerMove,p),js(this.contextWindow,\"pointerup\",this.handlePointerUp,p),js(this.contextWindow,\"pointercancel\",this.handlePointerUp,p)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Kf.has(r.overflowX)||Kf.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(\"scroll\",this.onElementScroll,{capture:!0}),window.addEventListener(\"scroll\",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(\"scroll\",this.onElementScroll,{capture:!0}),window.removeEventListener(\"scroll\",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-n.x,y:s.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),B.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),it(this.updatePoint)}}function Oi(e,t){return t?{point:t(e.point)}:e}function Gf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ol({point:e},t){return{point:e,delta:Gf(e,Ty(t)),offset:Gf(e,i2(t)),velocity:o2(t,.1)}}function i2(e){return e[0]}function Ty(e){return e[e.length-1]}function o2(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=Ty(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>ze(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>ze(t)*2&&(r=e[1]);const i=et(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)\/i,y:(s.y-r.y)\/i};return o.x===1\/0&&(o.x=0),o.y===1\/0&&(o.y=0),o}function a2(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?q(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?q(n,e,r.max):Math.min(e,n)),e}function Qf(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function l2(e,{top:t,left:n,bottom:r,right:s}){return{x:Qf(e.x,n,s),y:Qf(e.y,t,r)}}function Yf(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function u2(e,t){return{x:Yf(e.x,t.x),y:Yf(e.y,t.y)}}function c2(e,t){let n=.5;const r=Ne(e),s=Ne(t);return s>r?n=Lr(t.min,t.max-r,e.min):r>s&&(n=Lr(e.min,e.max-s,t.min)),kt(0,1,n)}function d2(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Lu=.35;function h2(e=Lu){return e===!1?e=0:e===!0&&(e=Lu),{x:Xf(e,\"left\",\"right\"),y:Xf(e,\"top\",\"bottom\")}}function Xf(e,t,n){return{min:Jf(e,t),max:Jf(e,n)}}function Jf(e,t){return typeof e==\"number\"?e:e[t]||0}const f2=new WeakMap;class p2{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ce(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=h=>{n&&this.snapToCursor(oi(h).point),this.stopAnimation()},o=(h,f)=>{const{drag:p,dragPropagation:v,onDragStart:x}=this.getProps();if(p&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Fk(p),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_t(g=>{let m=this.getAxisMotionValue(g).get()||0;if(Nt.test(m)){const{projection:y}=this.visualElement;if(y&&y.layout){const w=y.layout.layoutBox[g];w&&(m=Ne(w)*(parseFloat(m)\/100))}}this.originPoint[g]=m}),x&&B.update(()=>x(h,f),!1,!0),_u(this.visualElement,\"transform\");const{animationState:k}=this.visualElement;k&&k.setActive(\"whileDrag\",!0)},a=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:v,onDirectionLock:x,onDrag:k}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=f;if(v&&this.currentDirection===null){this.currentDirection=g2(g),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis(\"x\",f.point,g),this.updateAxis(\"y\",f.point,g),this.visualElement.render(),k&&B.update(()=>k(h,f),!1,!0)},l=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:h}=this.getProps();(h||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new Ey(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:jy(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&B.postRender(()=>a(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive(\"whileDrag\",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Li(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=a2(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,s=this.constraints;t&&nr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=l2(r.layoutBox,t):this.constraints=!1,this.elastic=h2(n),s!==this.constraints&&!nr(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&_t(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=d2(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nr(t))return!1;const r=t.current;zt(r!==null,\"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.\",\"drag-constraints-ref\");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());const i=yb(r,s.root,this.visualElement.getTransformPagePoint());let o=u2(s.layout.layoutBox,i);if(n){const a=n(pb(o));this.hasMutatedConstraints=!!a,a&&(o=Q0(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=_t(d=>{if(!Li(d,n,this.currentDirection))return;let h=l&&l[d]||{};(o===!0||o===d)&&(h={min:0,max:0});const f=s?200:1e6,p=s?40:1e7,v={type:\"inertia\",velocity:r?t[d]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...h};return this.startAxisValueAnimation(d,v)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return _u(this.visualElement,t),r.start(ad(t,r,0,n,this.visualElement,!1))}stopAnimation(){_t(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps()[n];return s||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){_t(n=>{const{drag:r}=this.getProps();if(!Li(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:a}=s.layout.layoutBox[n],l=i.get()||0;i.set(t[n]-q(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!nr(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};_t(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();s[o]=c2({min:l,max:l},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},\"\"):\"none\",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),_t(o=>{if(!Li(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];a.set(q(l,c,s[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;f2.set(this.visualElement,this);const t=this.visualElement.current,n=js(t,\"pointerdown\",c=>{const{drag:d,dragListener:h=!0}=this.getProps(),f=c.target,p=f!==t&&qk(f);d&&h&&!p&&this.start(c)});let r;const s=()=>{const{dragConstraints:c}=this.getProps();nr(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=m2(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener(\"measure\",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),B.read(s);const a=Qs(window,\"resize\",()=>this.scalePositionWithinConstraints()),l=i.addEventListener(\"didUpdate\",({delta:c,hasLayoutChanged:d})=>{this.isDragging&&d&&(_t(h=>{const f=this.getAxisMotionValue(h);f&&(this.originPoint[h]+=c[h].translate,f.set(f.get()+c[h].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=Lu,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Zf(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function m2(e,t,n){const r=Pu(e,Zf(n)),s=Pu(t,Zf(n));return()=>{r(),s()}}function Li(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function g2(e,t=10){let n=null;return Math.abs(e.y)>t?n=\"y\":Math.abs(e.x)>t&&(n=\"x\"),n}class y2 extends vn{constructor(t){super(t),this.removeGroupControls=Ue,this.removeListeners=Ue,this.controls=new p2(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ue}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const al=e=>(t,n)=>{e&&B.update(()=>e(t,n),!1,!0)};class v2 extends vn{constructor(){super(...arguments),this.removePointerDownListener=Ue}onPointerDown(t){this.session=new Ey(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:al(t),onStart:al(n),onMove:al(r),onEnd:(i,o)=>{delete this.session,s&&B.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=js(this.node.current,\"pointerdown\",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ll=!1;class x2 extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),ll&&i.root.didUpdate(),i.addEventListener(\"animationComplete\",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),io.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),ll=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||B.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Ir.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;ll=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Cy(e){const[t,n]=yy(),r=T.useContext(Wc);return u.jsx(x2,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(Sy),isPresent:t,safeToRemove:n})}const w2={pan:{Feature:v2},drag:{Feature:y2,ProjectionNode:gy,MeasureLayout:Cy}};function ep(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(\"whileHover\",n===\"Start\");const s=\"onHover\"+n,i=r[s];i&&B.postRender(()=>i(t,oi(t)))}class k2 extends vn{mount(){const{current:t}=this.node;t&&(this.unmount=Uk(t,(n,r)=>(ep(this.node,r,\"Start\"),s=>ep(this.node,s,\"End\"))))}unmount(){}}class b2 extends vn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(\":focus-visible\")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive(\"whileFocus\",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(\"whileFocus\",!1),this.isActive=!1)}mount(){this.unmount=ni(Qs(this.node.current,\"focus\",()=>this.onFocus()),Qs(this.node.current,\"blur\",()=>this.onBlur()))}unmount(){}}function tp(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(\"whileTap\",n===\"Start\");const s=\"onTap\"+(n===\"End\"?\"\":n),i=r[s];i&&B.postRender(()=>i(t,oi(t)))}class S2 extends vn{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=Gk(t,(s,i)=>(tp(this.node,i,\"Start\"),(o,{success:a})=>tp(this.node,o,a?\"End\":\"Cancel\")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Du=new WeakMap,ul=new WeakMap,_2=e=>{const t=Du.get(e.target);t&&t(e)},j2=e=>{e.forEach(_2)};function E2({root:e,...t}){const n=e||document;ul.has(n)||ul.set(n,{});const r=ul.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(j2,{root:e,...t})),r[s]}function T2(e,t,n){const r=E2(t);return Du.set(e,n),r.observe(e),()=>{Du.delete(e),r.unobserve(e)}}const C2={some:0,all:1};class P2 extends vn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s=\"some\",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s==\"number\"?s:C2[s]},a=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,i&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(\"whileInView\",d);const{onViewportEnter:h,onViewportLeave:f}=this.node.getProps(),p=d?h:f;p&&p(c)};this.stopObserver=T2(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>\"u\")return;const{props:t,prevProps:n}=this.node;[\"amount\",\"margin\",\"root\"].some(N2(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function N2({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const A2={inView:{Feature:P2},tap:{Feature:S2},focus:{Feature:b2},hover:{Feature:k2}},R2={layout:{ProjectionNode:gy,MeasureLayout:Cy}},M2={...n2,...A2,...w2,...R2},E=XS(M2,JS);function Fo(e){return typeof window>\"u\"?!1:e?w0():id()}const O2=50,np=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),L2=()=>({time:0,x:np(),y:np()}),D2={x:{length:\"Width\",position:\"Left\"},y:{length:\"Height\",position:\"Top\"}};function rp(e,t,n,r){const s=n[t],{length:i,position:o}=D2[t],a=s.current,l=n.time;s.current=Math.abs(e[`scroll${o}`]),s.scrollLength=e[`scroll${i}`]-e[`client${i}`],s.offset.length=0,s.offset[0]=0,s.offset[1]=s.scrollLength,s.progress=Lr(0,s.scrollLength,s.current);const c=r-l;s.velocity=c>O2?0:Kc(s.current-a,c)}function I2(e,t,n){rp(e,\"x\",t,n),rp(e,\"y\",t,n),t.time=n}function V2(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(Ss(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName===\"svg\"){const s=r.getBoundingClientRect();r=r.parentElement;const i=r.getBoundingClientRect();n.x+=s.left-i.left,n.y+=s.top-i.top}else if(r instanceof SVGGraphicsElement){const{x:s,y:i}=r.getBBox();n.x+=s,n.y+=i;let o=null,a=r.parentNode;for(;!o;)a.tagName===\"svg\"&&(o=a),a=r.parentNode;r=o}else break;return n}const Iu={start:0,center:.5,end:1};function sp(e,t,n=0){let r=0;if(e in Iu&&(e=Iu[e]),typeof e==\"string\"){const s=parseFloat(e);e.endsWith(\"px\")?r=s:e.endsWith(\"%\")?e=s\/100:e.endsWith(\"vw\")?r=s\/100*document.documentElement.clientWidth:e.endsWith(\"vh\")?r=s\/100*document.documentElement.clientHeight:e=s}return typeof e==\"number\"&&(r=t*e),n+r}const $2=[0,0];function F2(e,t,n,r){let s=Array.isArray(e)?e:$2,i=0,o=0;return typeof e==\"number\"?s=[e,e]:typeof e==\"string\"&&(e=e.trim(),e.includes(\" \")?s=e.split(\" \"):s=[e,Iu[e]?e:\"0\"]),i=sp(s[0],n,r),o=sp(s[1],t),i-o}const us={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},B2={x:0,y:0};function U2(e){return\"getBBox\"in e&&e.tagName!==\"svg\"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function z2(e,t,n){const{offset:r=us.All}=n,{target:s=e,axis:i=\"y\"}=n,o=i===\"y\"?\"height\":\"width\",a=s!==e?V2(s,e):B2,l=s===e?{width:e.scrollWidth,height:e.scrollHeight}:U2(s),c={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let d=!t[i].interpolate;const h=r.length;for(let f=0;f<h;f++){const p=F2(r[f],c[o],l[o],a[i]);!d&&p!==t[i].interpolatorOffsets[f]&&(d=!0),t[i].offset[f]=p}d&&(t[i].interpolate=td(t[i].offset,m0(r),{clamp:!1}),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=kt(0,1,t[i].interpolate(t[i].current))}function W2(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function H2(e,t,n,r={}){return{measure:s=>{W2(e,r.target,n),I2(e,n,s),(r.offset||r.target)&&z2(e,n,r)},notify:()=>t(n)}}const Yn=new WeakMap,ip=new WeakMap,cl=new WeakMap,op=new WeakMap,Di=new WeakMap,ap=e=>e===document.scrollingElement?window:e;function Py(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return Ue;let s=cl.get(t);s||(s=new Set,cl.set(t,s));const i=L2(),o=H2(t,e,i,r);if(s.add(o),!Yn.has(t)){const l=()=>{for(const f of s)f.measure(me.timestamp);B.preUpdate(c)},c=()=>{for(const f of s)f.notify()},d=()=>B.read(l);Yn.set(t,d);const h=ap(t);window.addEventListener(\"resize\",d),t!==document.documentElement&&ip.set(t,Pu(t,d)),h.addEventListener(\"scroll\",d),d()}if(n&&!Di.has(t)){const l=Yn.get(t),c={width:t.scrollWidth,height:t.scrollHeight};op.set(t,c);const d=()=>{const f=t.scrollWidth,p=t.scrollHeight;(c.width!==f||c.height!==p)&&(l(),c.width=f,c.height=p)},h=B.read(d,!0);Di.set(t,h)}const a=Yn.get(t);return B.read(a,!1,!0),()=>{var h;it(a);const l=cl.get(t);if(!l||(l.delete(o),l.size))return;const c=Yn.get(t);Yn.delete(t),c&&(ap(t).removeEventListener(\"scroll\",c),(h=ip.get(t))==null||h(),window.removeEventListener(\"resize\",c));const d=Di.get(t);d&&(it(d),Di.delete(t)),op.delete(t)}}const q2=[[us.Enter,\"entry\"],[us.Exit,\"exit\"],[us.Any,\"cover\"],[us.All,\"contain\"]],lp={start:0,end:1};function K2(e){const t=e.trim().split(\/\\s+\/);if(t.length!==2)return;const n=lp[t[0]],r=lp[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function G2(e){if(e.length!==2)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else if(typeof n==\"string\"){const r=K2(n);if(!r)return;t.push(r)}else return;return t}function Q2(e,t){const n=G2(e);if(!n)return!1;for(let r=0;r<2;r++){const s=n[r],i=t[r];if(s[0]!==i[0]||s[1]!==i[1])return!1}return!0}function xd(e){if(!e)return{rangeStart:\"contain 0%\",rangeEnd:\"contain 100%\"};for(const[t,n]of q2)if(Q2(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const up=new Map;function cp(e){const t={value:0},n=Py(r=>{t.value=r[e.axis].progress*100},e);return{currentTime:t,cancel:n}}function Ny({source:e,container:t,...n}){const{axis:r}=n;e&&(t=e);let s=up.get(t);s||(s=new Map,up.set(t,s));const i=n.target??\"self\";let o=s.get(i);o||(o={},s.set(i,o));const a=r+(n.offset??[]).join(\",\");return o[a]||(n.target&&Fo(n.target)?xd(n.offset)?o[a]=new ViewTimeline({subject:n.target,axis:r}):o[a]=cp({container:t,...n}):Fo()?o[a]=new ScrollTimeline({source:t,axis:r}):o[a]=cp({container:t,...n})),o[a]}function Y2(e,t){const n=Ny(t),r=t.target?xd(t.offset):void 0,s=t.target?Fo(t.target)&&!!r:Fo();return e.attachTimeline({timeline:s?n:void 0,...r&&s&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:i=>(i.pause(),W0(o=>{i.time=i.iterationDuration*o},n))})}function X2(e){return e&&(e.target||e.offset)}function J2(e){return e.length===2}function Z2(e,t){return J2(e)||X2(t)?Py(n=>{e(n[t.axis].progress,n)},t):W0(e,Ny(t))}function Ay(e,{axis:t=\"y\",container:n=document.scrollingElement,...r}={}){if(!n)return Ue;const s={axis:t,container:n,...r};return typeof e==\"function\"?Z2(e,s):Y2(e,s)}const e_=()=>({scrollX:gt(0),scrollY:gt(0),scrollXProgress:gt(0),scrollYProgress:gt(0)}),wr=e=>e?!e.current:!1;function dp(e,t,n,r){return{factory:s=>{let i;const o=()=>{if(wr(n)||wr(r)){Ir.read(o);return}i=Ay(s,{...t,axis:e,container:(n==null?void 0:n.current)||void 0,target:(r==null?void 0:r.current)||void 0})};return Ir.read(o),()=>{$0(o),i==null||i()}},times:[0,1],keyframes:[0,1],ease:s=>s,duration:1}}function t_(e,t){return typeof window>\"u\"?!1:e?w0()&&!!xd(t):id()}function n_({container:e,target:t,...n}={}){const r=Ur(e_);t_(t,n.offset)&&(r.scrollXProgress.accelerate=dp(\"x\",n,e,t),r.scrollYProgress.accelerate=dp(\"y\",n,e,t));const s=T.useRef(null),i=T.useRef(!1),o=T.useCallback(()=>(s.current=Ay((a,{x:l,y:c})=>{r.scrollX.set(l.current),r.scrollXProgress.set(l.progress),r.scrollY.set(c.current),r.scrollYProgress.set(c.progress)},{...n,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0}),()=>{var a;(a=s.current)==null||a.call(s)}),[e,t,JSON.stringify(n.offset)]);return Or(()=>{if(i.current=!1,wr(e)||wr(t)){i.current=!0;return}else return o()},[o]),T.useEffect(()=>{if(!i.current)return;let a;const l=()=>{const c=wr(e),d=wr(t);zt(!c,\"Container ref is defined but not hydrated\",\"use-scroll-ref\"),zt(!d,\"Target ref is defined but not hydrated\",\"use-scroll-ref\"),!c&&!d&&(a=o())};return Ir.read(l),()=>{$0(l),a==null||a()}},[o]),r}function Ry(e){const t=Ur(()=>gt(e)),{isStatic:n}=T.useContext(ii);if(n){const[,r]=T.useState(e);T.useEffect(()=>t.on(\"change\",r),[])}return t}function My(e,t){const n=Ry(t()),r=()=>n.set(t());return r(),Or(()=>{const s=()=>B.preRender(r,!1,!0),i=e.map(o=>o.on(\"change\",s));return()=>{i.forEach(o=>o()),it(r)}}),n}function r_(e){bs.current=[],e();const t=My(bs.current,e);return bs.current=void 0,t}function s_(e,t,n,r){if(typeof e==\"function\")return r_(e);const i=sb(t,n,r),o=Array.isArray(e)?hp(e,i):hp([e],([l])=>i(l)),a=Array.isArray(e)?void 0:e.accelerate;return a&&!a.isTransformed&&typeof t!=\"function\"&&Array.isArray(n)&&(r==null?void 0:r.clamp)!==!1&&(o.accelerate={...a,times:t,keyframes:n,isTransformed:!0}),o}function hp(e,t){const n=Ur(()=>[]);return My(e,()=>{n.length=0;const r=e.length;for(let s=0;s<r;s++)n[s]=e[s].get();return t(n)})}function i_(e,t={}){const{isStatic:n}=T.useContext(ii),r=()=>pe(e)?e.get():e;if(n)return s_(r);const s=Ry(r());return T.useInsertionEffect(()=>ib(s,e,t),[s,JSON.stringify(t)]),s}function o_(e,t={}){return i_(e,{type:\"spring\",...t})}const a_={dir:\"ltr\",nav:{concept:\"Concept\",products:\"Produits\",demo:\"D\u00e9mo\",metiers:\"M\u00e9tiers\",pricing:\"Tarifs\",faq:\"FAQ\",order:\"Commander\",langToggle:\"\u0627\u0644\u0639\u0631\u0628\u064a\u0629\"},hero:{badge:\"\ud83c\uddf2\ud83c\udde6 Pens\u00e9 pour les commerces marocains\",title1:\"Le digital qui commence\",title2:\"dans votre commerce\",subtitle:\"Easy Services transforme un simple support physique en point d'acc\u00e8s digital. Vos clients touchent ou scannent, et acc\u00e8dent instantan\u00e9ment \u00e0 vos Google Reviews, WhatsApp, menu digital, Wi-Fi et r\u00e9seaux sociaux.\",ctaOrder:\"Commander sur WhatsApp\",ctaDemo:\"Voir la d\u00e9monstration\",tap:\"TAP NFC\",scan:\"SCAN QR\",discover:\"D\u00e9couvrir\",statsClients:\"Produit de lancement\",statsProducts:\"Produits principaux\",statsCity:\"Rabat \u2014 Lancement\"},concept:{badge:\"Comment \u00e7a marche\",title:\"Un objet physique. Une exp\u00e9rience digitale.\",subtitle:\"Le client touche le support NFC ou scanne le QR code. En une seconde, il arrive sur l'exp\u00e9rience digitale de votre commerce.\",step1Title:\"Support physique\",step1Desc:\"Un support premium pos\u00e9 sur votre comptoir, ou un bracelet au poignet.\",step2Title:\"Tap ou Scan\",step2Desc:\"Le client approche son smartphone du support NFC ou scanne le QR code.\",step3Title:\"Exp\u00e9rience digitale\",step3Desc:\"Le smartphone s'ouvre instantan\u00e9ment sur Google, WhatsApp, le menu, le Wi-Fi ou le profil.\",step4Title:\"Connexion r\u00e9elle\",step4Desc:\"Votre client laisse un avis, vous contacte, consulte votre menu ou se connecte au Wi-Fi.\"},products:{badge:\"Nos produits\",title:\"Des supports physiques connect\u00e9s\",subtitle:\"Chaque produit Easy Services est un objet r\u00e9el, personnalis\u00e9, qui connecte vos clients \u00e0 vos services digitaux.\",launchPrice:\"Prix lancement\",normalPrice:\"Prix normal\",perUnit:\"\/ unit\u00e9\",onQuote:\"Sur devis\",uponConfig:\"Selon configuration\",orderCta:\"Commander\",items:{review:{name:\"Easy Review\",tagline:\"Support de comptoir Google Reviews\",desc:\"Un support premium pos\u00e9 sur le comptoir. Vos clients tapent ou scannent et laissent un avis Google en un geste.\",price:\"129 DH\",normalPrice:\"149 DH\"},profile:{name:\"Easy Profile\",tagline:\"Carte NFC profil digital\",desc:\"Une carte NFC \u00e9l\u00e9gante qui ouvre votre profil : nom du commerce, t\u00e9l\u00e9phone, WhatsApp, Instagram, localisation et liens.\",price:\"199 DH\"},bracelet:{name:\"Easy Bracelet\",tagline:\"Bracelet NFC identit\u00e9 digitale\",desc:\"Un bracelet NFC au poignet. Un tap et votre profil professionnel s'affiche sur le smartphone.\",price:\"Selon mod\u00e8le\"},menu:{name:\"Easy Menu\",tagline:\"Menu digital pour restaurants\",desc:\"Pour restaurants, caf\u00e9s, riads et h\u00f4tels. Cat\u00e9gories, plats, prix, bouton WhatsApp et localisation.\",price:\"Selon configuration\"},wifi:{name:\"Easy Wi-Fi\",tagline:\"Support Wi-Fi + QR\/NFC\",desc:\"Un support physique qui connecte vos clients au Wi-Fi en un tap ou un scan. Simple, rapide, \u00e9l\u00e9gant.\",price:\"Selon configuration\"},business:{name:\"Easy Business\",tagline:\"Solution sur mesure\",desc:\"Une solution compl\u00e8te adapt\u00e9e \u00e0 votre commerce. Multi-supports, branding personnalis\u00e9, accompagnement.\",price:\"Sur devis\"}}},demo:{badge:\"Essayez l'exp\u00e9rience\",title:\"Touchez. Scannez. D\u00e9couvrez.\",subtitle:\"Choisissez un service et voyez ce que vos clients voient quand ils touchent un support Easy Services.\",services:{google:\"Google\",whatsapp:\"WhatsApp\",menu:\"Menu\",wifi:\"Wi-Fi\",profile:\"Profil\"},google:{title:\"Avis Google\",rating:\"Exemple\",reviews:\"Donn\u00e9es de d\u00e9monstration\",btn:\"Laisser un avis\"},whatsapp:{title:\"WhatsApp Business\",placeholder:\"Bonjour, je souhaite des informations...\",btn:\"Envoyer un message\"},menu:{title:\"Menu Digital\",categories:\"Cat\u00e9gories\",items:\"Plats du jour\",orderBtn:\"Commander sur WhatsApp\"},wifi:{title:\"Connexion Wi-Fi\",network:\"EasyServices_Guest\",connect:\"Se connecter\",password:\"Mot de passe fourni au comptoir\"},profile:{title:\"Profil du commerce\",phone:\"+212 668 89 95 69\",location:\"Rabat, Maroc\",follow:\"Suivre sur Instagram\",save:\"Sauvegarder le contact\"}},metiers:{badge:\"Pour quel m\u00e9tier ?\",title:\"Pens\u00e9 pour chaque commerce\",subtitle:\"Quel que soit votre m\u00e9tier, Easy Services s'adapte \u00e0 vos besoins.\",items:{restaurants:{name:\"Restaurants\",desc:\"Menu digital + avis Google + commande WhatsApp\",tags:[\"Menu\",\"Google\",\"WhatsApp\"]},cafes:{name:\"Caf\u00e9s\",desc:\"Menu + Wi-Fi + avis en un geste\",tags:[\"Menu\",\"Wi-Fi\",\"Avis\"]},salons:{name:\"Salons & Barbers\",desc:\"Instagram + WhatsApp + prise de rendez-vous\",tags:[\"Instagram\",\"WhatsApp\",\"Rendez-vous\"]},hotels:{name:\"H\u00f4tels & Riads\",desc:\"Wi-Fi + informations + services clients\",tags:[\"Wi-Fi\",\"Infos\",\"Services\"]},commerces:{name:\"Commerces\",desc:\"Profil + r\u00e9seaux sociaux + WhatsApp\",tags:[\"Profil\",\"R\u00e9seaux\",\"WhatsApp\"]},pros:{name:\"Professionnels\",desc:\"Profil digital + contact direct\",tags:[\"Profil\",\"Contact\"]}}},bracelet:{badge:\"Easy Bracelet\",title:\"Une identit\u00e9 digitale. Au poignet.\",subtitle:\"Le bracelet NFC Easy Services transforme votre poignet en point de contact. Un tap et votre profil professionnel s'affiche sur n'importe quel smartphone.\",feature1:\"NFC int\u00e9gr\u00e9 \u2014 aucun app \u00e0 installer\",feature2:\"Profil personnalisable \u00e0 tout moment\",feature3:\"Design premium \u2014 mod\u00e8le \u00e0 choisir selon l\u2019usage\",cta:\"Demander le bracelet\"},reviewSpot:{badge:\"Easy Review\",title:\"Transformez un simple comptoir en point d'acc\u00e8s digital\",subtitle:\"Pos\u00e9 sur le comptoir de votre commerce, le support Easy Review invite vos clients \u00e0 laisser un avis Google en un seul geste. NFC ou QR, ils n'ont rien \u00e0 installer.\",point1:\"Support premium en acrylic personnalis\u00e9\",point2:\"NFC + QR code double acc\u00e8s\",point3:\"Lien direct vers vos Google Reviews\",point4:\"Branding Easy Services + votre logo\",cta:\"Commander Easy Review\"},diff:{badge:\"Notre diff\u00e9rence\",title:\"Nous ne vendons pas seulement du NFC\",subtitle:\"Easy Services c'est l'objet physique, l'exp\u00e9rience digitale, la personnalisation et le service local \u2014 r\u00e9unis.\",cards:{physical:{title:\"Produit physique premium\",desc:\"Des supports r\u00e9els, fabriqu\u00e9s avec soin, pens\u00e9s pour durer et pour s'int\u00e9grer dans votre commerce.\"},digital:{title:\"Exp\u00e9rience digitale fluide\",desc:\"QR, NFC, WhatsApp, Google, menu, Wi-Fi. Tout fonctionne en un geste, sans application \u00e0 installer.\"},custom:{title:\"Personnalisation totale\",desc:\"Votre logo, vos couleurs, vos liens. Chaque support est configur\u00e9 pour votre commerce.\"},local:{title:\"Service local \u00e0 Rabat\",desc:\"Accompagnement, installation et suivi. On est l\u00e0, \u00e0 Rabat, pour vous aider \u00e0 d\u00e9marrer.\"}}},maroc:{badge:\"\ud83c\uddf2\ud83c\udde6 Maroc\",title:\"Pens\u00e9 pour les commerces marocains\",subtitle:\"Easy Services est n\u00e9 \u00e0 Rabat. Nous comprenons les commerces marocains, leurs clients et leurs besoins.\",today:\"Rabat aujourd'hui\",tomorrow:\"Maroc demain\",cta:\"Rejoindre le lancement\"},pricing:{badge:\"Tarifs\",title:\"Des prix clairs, en dirhams\",subtitle:\"Pas d'abonnement cach\u00e9. Vous achetez le produit, nous le configurons pour vous.\",launch:\"Prix lancement\",normal:\"Prix normal\",perMonth:\"\",perUnit:\"\/ unit\u00e9\",onQuote:\"Sur devis\",uponConfig:\"Selon configuration\",includes:\"Inclus :\",orderCta:\"Commander\",quoteCta:\"Demander un devis\",popular:\"Prix lancement\",plans:{review:{name:\"Easy Review\",desc:\"Support comptoir Google Reviews\",price:\"129 DH\",oldPrice:\"149 DH\",features:[\"Support acrylic premium\",\"NFC + QR code\",\"Lien Google Reviews\",\"Personnalisation logo\",\"Configuration incluse\"]},profile:{name:\"Easy Profile\",desc:\"Carte NFC profil digital\",price:\"199 DH\",oldPrice:\"\",features:[\"Carte NFC \u00e9l\u00e9gante\",\"Profil digital personnalis\u00e9\",\"WhatsApp + Instagram\",\"Localisation Google Maps\",\"Configuration incluse\"]},bracelet:{name:\"Easy Bracelet\",desc:\"Bracelet NFC identit\u00e9 digitale\",price:\"Selon mod\u00e8le\",oldPrice:\"\",features:[\"Bracelet NFC r\u00e9sistant\",\"Profil professionnel\",\"Tap & go instantan\u00e9\",\"Personnalisation couleur\",\"Configuration incluse\"]},menu:{name:\"Easy Menu\",desc:\"Menu digital pour restaurants\",price:\"Selon configuration\",oldPrice:\"\",features:[\"Menu digital illimit\u00e9\",\"Cat\u00e9gories & plats\",\"Bouton WhatsApp\",\"Avis Google int\u00e9gr\u00e9s\",\"QR + NFC support\"]},wifi:{name:\"Easy Wi-Fi\",desc:\"Support Wi-Fi + QR\/NFC\",price:\"Selon configuration\",oldPrice:\"\",features:[\"Support physique premium\",\"Connexion Wi-Fi en 1 tap\",\"QR code de secours\",\"Personnalisation logo\",\"Configuration incluse\"]},business:{name:\"Easy Business\",desc:\"Solution sur mesure\",price:\"Sur devis\",oldPrice:\"\",features:[\"Multi-supports\",\"Branding complet\",\"Accompagnement d\u00e9di\u00e9\",\"Installation \u00e0 Rabat\",\"Support prioritaire\"]}}},faq:{badge:\"FAQ\",title:\"Questions fr\u00e9quentes\",subtitle:\"Tout ce que vous devez savoir avant de commander.\",items:[{q:\"Le client doit-il installer une application ?\",a:\"Non. Le client touche le support NFC ou scanne le QR code avec son smartphone. L'exp\u00e9rience s'ouvre dans le navigateur, sans aucune application \u00e0 installer.\"},{q:\"Est-ce que \u00e7a fonctionne avec tous les smartphones ?\",a:\"Le QR fonctionne sur les smartphones \u00e9quip\u00e9s d\u2019un appareil photo et d\u2019un navigateur. Le NFC d\u00e9pend de la compatibilit\u00e9 du t\u00e9l\u00e9phone ; le QR reste l\u2019alternative.\"},{q:\"Combien de temps pour configurer mon produit ?\",a:\"Le d\u00e9lai d\u00e9pend du produit et de l\u2019offre choisie. Le d\u00e9lai estimatif est confirm\u00e9 au moment de la commande.\"},{q:\"Puis-je changer mes informations plus tard ?\",a:\"Oui. Vos liens et informations peuvent \u00eatre modifi\u00e9s \u00e0 tout moment sans acheter un nouveau support. Contactez-nous sur WhatsApp.\"},{q:\"Livrez-vous en dehors de Rabat ?\",a:\"Le lancement se fait \u00e0 Rabat. Nous \u00e9tendrons progressivement \u00e0 d'autres villes du Maroc. Contactez-nous pour savoir si nous couvrons votre ville.\"},{q:\"Comment commander ?\",a:\"Cliquez sur le bouton WhatsApp, envoyez-nous le produit qui vous int\u00e9resse, et nous g\u00e9rons tout : configuration, personnalisation et livraison.\"}]},cta:{title:\"Pr\u00eat \u00e0 connecter votre commerce ?\",subtitle:\"Parlez-nous sur WhatsApp. Nous vous guidons, configurons votre produit et vous livrons \u00e0 Rabat.\",whatsapp:\"Commander sur WhatsApp\",call:\"Appeler +212 668 89 95 69\",note:\"R\u00e9ponse en quelques minutes \u00b7 Rabat, Maroc\"},emailPopup:{title:\"Recevez les nouveaut\u00e9s Easy Services\",subtitle:\"Nouveaux produits, offres de lancement et conseils pour votre commerce. Pas de spam.\",placeholder:\"Votre adresse email\",btn:\"S'inscrire\",success:\"Merci ! Vous recevrez bient\u00f4t nos nouveaut\u00e9s.\",close:\"Fermer\",demoNote:\"D\u00e9mo \u2014 les inscriptions ne sont pas encore enregistr\u00e9es.\"},footer:{tagline:\"Le digital qui commence dans votre commerce.\",contact:\"Contact\",phone:\"+212 668 89 95 69\",follow:\"Suivez-nous\",legal:\"L\u00e9gal\",privacy:\"Confidentialit\u00e9\",terms:\"CGV\",rights:\"Tous droits r\u00e9serv\u00e9s.\",madeIn:\"Con\u00e7u au Maroc\",links:{concept:\"Concept\",products:\"Produits\",demo:\"D\u00e9mo\",pricing:\"Tarifs\",faq:\"FAQ\"}}},l_={dir:\"rtl\",nav:{concept:\"\u0627\u0644\u0645\u0641\u0647\u0648\u0645\",products:\"\u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a\",demo:\"\u062a\u062c\u0631\u0628\u0629\",metiers:\"\u0627\u0644\u0645\u0647\u0646\",pricing:\"\u0627\u0644\u0623\u0633\u0639\u0627\u0631\",faq:\"\u0627\u0644\u0623\u0633\u0626\u0644\u0629\",order:\"\u0627\u0637\u0644\u0628\",langToggle:\"Fran\u00e7ais\"},hero:{badge:\"\ud83c\uddf2\ud83c\udde6 \u0635\u064f\u0645\u0645 \u0644\u0644\u0645\u062a\u0627\u062c\u0631 \u0627\u0644\u0645\u063a\u0631\u0628\u064a\u0629\",title1:\"\u0627\u0644\u0631\u0642\u0645\u064a\u0629 \u062a\u0628\u062f\u0623\",title2:\"\u0645\u0646 \u0645\u062d\u0644\u0643\",subtitle:\"\u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632 \u062a\u062d\u0648\u0651\u0644 \u0623\u064a \u0648\u0633\u064a\u0644\u0629 \u0645\u0627\u062f\u064a\u0629 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0648\u0635\u0648\u0644 \u0631\u0642\u0645\u064a\u0629. \u0632\u0628\u0648\u0646\u0643 \u064a\u0644\u0645\u0633 \u0623\u0648 \u064a\u0645\u0633\u062d\u060c \u0648\u064a\u0635\u0644 \u0641\u0648\u0631\u0627\u064b \u0625\u0644\u0649 \u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644\u060c \u0648\u0627\u062a\u0633\u0627\u0628\u060c \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629\u060c \u0627\u0644\u0648\u0627\u064a-\u0641\u0627\u064a \u0648\u0634\u0628\u0643\u0627\u062a\u0643 \u0627\u0644\u0627\u062c\u062a\u0645\u0627\u0639\u064a\u0629.\",ctaOrder:\"\u0627\u0637\u0644\u0628 \u0639\u0628\u0631 \u0648\u0627\u062a\u0633\u0627\u0628\",ctaDemo:\"\u0634\u0627\u0647\u062f \u0627\u0644\u0639\u0631\u0636\",tap:\"\u0644\u0645\u0633 NFC\",scan:\"\u0645\u0633\u062d QR\",discover:\"\u0627\u0643\u062a\u0634\u0641\",statsClients:\"\u0645\u062a\u0627\u062c\u0631 \u0645\u062c\u0647\u0651\u0632\u0629\",statsProducts:\"\u0645\u0646\u062a\u062c\u0627\u062a NFC\",statsCity:\"\u0627\u0644\u0631\u0628\u0627\u0637 \u2014 \u0627\u0644\u0625\u0637\u0644\u0627\u0642\"},concept:{badge:\"\u0643\u064a\u0641 \u064a\u0639\u0645\u0644\",title:\"\u0634\u064a\u0621 \u0645\u0627\u062f\u064a. \u062a\u062c\u0631\u0628\u0629 \u0631\u0642\u0645\u064a\u0629.\",subtitle:\"\u0627\u0644\u0632\u0628\u0648\u0646 \u064a\u0644\u0645\u0633 \u0627\u0644\u0648\u0633\u064a\u0644\u0629 NFC \u0623\u0648 \u064a\u0645\u0633\u062d \u0631\u0645\u0632 QR. \u0641\u064a \u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629\u060c \u064a\u0635\u0644 \u0625\u0644\u0649 \u0627\u0644\u062a\u062c\u0631\u0628\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629 \u0644\u0645\u062d\u0644\u0643.\",step1Title:\"\u0648\u0633\u064a\u0644\u0629 \u0645\u0627\u062f\u064a\u0629\",step1Desc:\"\u0648\u0633\u064a\u0644\u0629 \u0641\u0627\u062e\u0631\u0629 \u0645\u0648\u0636\u0648\u0639\u0629 \u0639\u0644\u0649 \u0627\u0644\u0628\u0627\u0628\u060c \u0623\u0648 \u0633\u0648\u0627\u0631 \u0641\u064a \u0645\u0639\u0635\u0645\u0643.\",step2Title:\"\u0644\u0645\u0633 \u0623\u0648 \u0645\u0633\u062d\",step2Desc:\"\u0627\u0644\u0632\u0628\u0648\u0646 \u064a\u0642\u0631\u0628 \u0647\u0627\u062a\u0641\u0647 \u0645\u0646 \u0627\u0644\u0648\u0633\u064a\u0644\u0629 NFC \u0623\u0648 \u064a\u0645\u0633\u062d \u0631\u0645\u0632 QR.\",step3Title:\"\u062a\u062c\u0631\u0628\u0629 \u0631\u0642\u0645\u064a\u0629\",step3Desc:\"\u0627\u0644\u0647\u0627\u062a\u0641 \u064a\u0641\u062a\u062d \u0641\u0648\u0631\u0627\u064b \u0639\u0644\u0649 \u063a\u0648\u063a\u0644\u060c \u0648\u0627\u062a\u0633\u0627\u0628\u060c \u0627\u0644\u0642\u0627\u0626\u0645\u0629\u060c \u0627\u0644\u0648\u0627\u064a-\u0641\u0627\u064a \u0623\u0648 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062e\u0635\u064a.\",step4Title:\"\u062a\u0648\u0627\u0635\u0644 \u062d\u0642\u064a\u0642\u064a\",step4Desc:\"\u0632\u0628\u0648\u0646\u0643 \u064a\u062a\u0631\u0643 \u062a\u0642\u064a\u064a\u0645\u0627\u064b\u060c \u064a\u062a\u0648\u0627\u0635\u0644 \u0645\u0639\u0643\u060c \u064a\u0637\u0651\u0644\u0639 \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u062a\u0643 \u0623\u0648 \u064a\u062a\u0635\u0644 \u0628\u0627\u0644\u0648\u0627\u064a-\u0641\u0627\u064a.\"},products:{badge:\"\u0645\u0646\u062a\u062c\u0627\u062a\u0646\u0627\",title:\"\u0648\u0633\u0627\u0626\u0644 \u0645\u0627\u062f\u064a\u0629 \u0645\u062a\u0635\u0644\u0629\",subtitle:\"\u0643\u0644 \u0645\u0646\u062a\u062c \u0645\u0646 \u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632 \u0647\u0648 \u0634\u064a\u0621 \u062d\u0642\u064a\u0642\u064a\u060c \u0645\u062e\u0635\u0635\u060c \u064a\u0631\u0628\u0637 \u0632\u0628\u0646\u0627\u0626\u0643 \u0628\u062e\u062f\u0645\u0627\u062a\u0643 \u0627\u0644\u0631\u0642\u0645\u064a\u0629.\",launchPrice:\"\u0633\u0639\u0631 \u0627\u0644\u0625\u0637\u0644\u0627\u0642\",normalPrice:\"\u0627\u0644\u0633\u0639\u0631 \u0627\u0644\u0639\u0627\u062f\u064a\",perUnit:\"\/ \u0627\u0644\u0648\u062d\u062f\u0629\",onQuote:\"\u062d\u0633\u0628 \u0627\u0644\u0637\u0644\u0628\",uponConfig:\"\u062d\u0633\u0628 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\",orderCta:\"\u0627\u0637\u0644\u0628\",items:{review:{name:\"Easy Review\",tagline:\"\u0648\u0633\u064a\u0644\u0629 \u0639\u0644\u0649 \u0627\u0644\u0628\u0627\u0628 \u0644\u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644\",desc:\"\u0648\u0633\u064a\u0644\u0629 \u0641\u0627\u062e\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u0628\u0627\u0628. \u0632\u0628\u0646\u0627\u0624\u0643 \u064a\u0644\u0645\u0633\u0648\u0646 \u0623\u0648 \u064a\u0645\u0633\u062d\u0648\u0646 \u0648\u064a\u062a\u0631\u0643\u0648\u0646 \u062a\u0642\u064a\u064a\u0645 \u063a\u0648\u063a\u0644 \u0628\u0625\u064a\u0645\u0627\u0621\u0629 \u0648\u0627\u062d\u062f\u0629.\",price:\"129 \u062f\u0631\u0647\u0645\",normalPrice:\"149 \u062f\u0631\u0647\u0645\"},profile:{name:\"Easy Profile\",tagline:\"\u0628\u0637\u0627\u0642\u0629 NFC \u0644\u0644\u0645\u0644\u0641 \u0627\u0644\u0631\u0642\u0645\u064a\",desc:\"\u0628\u0637\u0627\u0642\u0629 NFC \u0623\u0646\u064a\u0642\u0629 \u062a\u0641\u062a\u062d \u0645\u0644\u0641\u0643: \u0627\u0633\u0645 \u0627\u0644\u0645\u062d\u0644\u060c \u0627\u0644\u0647\u0627\u062a\u0641\u060c \u0648\u0627\u062a\u0633\u0627\u0628\u060c \u0625\u0646\u0633\u062a\u063a\u0631\u0627\u0645\u060c \u0627\u0644\u0645\u0648\u0642\u0639 \u0648\u0627\u0644\u0631\u0648\u0627\u0628\u0637.\",price:\"199 \u062f\u0631\u0647\u0645\"},bracelet:{name:\"Easy Bracelet\",tagline:\"\u0633\u0648\u0627\u0631 NFC \u0644\u0644\u0647\u0648\u064a\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629\",desc:\"\u0633\u0648\u0627\u0631 NFC \u0641\u064a \u0645\u0639\u0635\u0645\u0643. \u0644\u0645\u0633\u0629 \u0648\u0627\u062d\u062f\u0629 \u0648\u0645\u0644\u0641\u0643 \u0627\u0644\u0645\u0647\u0646\u064a \u064a\u0638\u0647\u0631 \u0639\u0644\u0649 \u0627\u0644\u0647\u0627\u062a\u0641.\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0645\u0648\u062f\u064a\u0644\"},menu:{name:\"Easy Menu\",tagline:\"\u0642\u0627\u0626\u0645\u0629 \u0631\u0642\u0645\u064a\u0629 \u0644\u0644\u0645\u0637\u0627\u0639\u0645\",desc:\"\u0644\u0644\u0645\u0637\u0627\u0639\u0645\u060c \u0627\u0644\u0645\u0642\u0627\u0647\u064a\u060c \u0627\u0644\u0631\u064a\u0627\u0636\u0627\u062a \u0648\u0627\u0644\u0641\u0646\u0627\u062f\u0642. \u0641\u0626\u0627\u062a\u060c \u0623\u0637\u0628\u0627\u0642\u060c \u0623\u0633\u0639\u0627\u0631\u060c \u0632\u0631 \u0648\u0627\u062a\u0633\u0627\u0628 \u0648\u0645\u0648\u0642\u0639.\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\"},wifi:{name:\"Easy Wi-Fi\",tagline:\"\u0648\u0633\u064a\u0644\u0629 \u0648\u0627\u064a-\u0641\u0627\u064a + QR\/NFC\",desc:\"\u0648\u0633\u064a\u0644\u0629 \u0645\u0627\u062f\u064a\u0629 \u062a\u0631\u0628\u0637 \u0632\u0628\u0646\u0627\u0621\u0643 \u0628\u0627\u0644\u0648\u0627\u064a-\u0641\u0627\u064a \u0628\u0644\u0645\u0633\u0629 \u0623\u0648 \u0645\u0633\u062d\u0629. \u0628\u0633\u064a\u0637\u060c \u0633\u0631\u064a\u0639\u060c \u0623\u0646\u064a\u0642.\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\"},business:{name:\"Easy Business\",tagline:\"\u062d\u0644 \u062d\u0633\u0628 \u0627\u0644\u0637\u0644\u0628\",desc:\"\u062d\u0644 \u0643\u0627\u0645\u0644 \u0645\u062e\u0635\u0635 \u0644\u0645\u062d\u0644\u0643. \u0648\u0633\u0627\u0626\u0644 \u0645\u062a\u0639\u062f\u062f\u0629\u060c \u0639\u0644\u0627\u0645\u0629 \u0645\u062e\u0635\u0635\u0629\u060c \u0645\u0631\u0627\u0641\u0642\u0629 \u0643\u0627\u0645\u0644\u0629.\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0637\u0644\u0628\"}}},demo:{badge:\"\u062c\u0631\u0651\u0628 \u0627\u0644\u062a\u062c\u0631\u0628\u0629\",title:\"\u0627\u0644\u0645\u0633. \u0627\u0645\u0633\u062d. \u0627\u0643\u062a\u0634\u0641.\",subtitle:\"\u0627\u062e\u062a\u0631 \u062e\u062f\u0645\u0629 \u0648\u0634\u0627\u0647\u062f \u0645\u0627 \u064a\u0631\u0627\u0647 \u0632\u0628\u0646\u0627\u0624\u0643 \u0639\u0646\u062f\u0645\u0627 \u064a\u0644\u0645\u0633\u0648\u0646 \u0648\u0633\u064a\u0644\u0629 \u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632.\",services:{google:\"\u063a\u0648\u063a\u0644\",whatsapp:\"\u0648\u0627\u062a\u0633\u0627\u0628\",menu:\"\u0627\u0644\u0642\u0627\u0626\u0645\u0629\",wifi:\"\u0648\u0627\u064a-\u0641\u0627\u064a\",profile:\"\u0627\u0644\u0645\u0644\u0641\"},google:{title:\"\u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644\",rating:\"Exemple\",reviews:\"237 \u062a\u0642\u064a\u064a\u0645\",btn:\"\u0627\u062a\u0631\u0643 \u062a\u0642\u064a\u064a\u0645\u0627\u064b\"},whatsapp:{title:\"\u0648\u0627\u062a\u0633\u0627\u0628 \u0644\u0644\u0623\u0639\u0645\u0627\u0644\",placeholder:\"\u0645\u0631\u062d\u0628\u0627\u064b\u060c \u0623\u0631\u064a\u062f \u0645\u0639\u0644\u0648\u0645\u0627\u062a...\",btn:\"\u0623\u0631\u0633\u0644 \u0631\u0633\u0627\u0644\u0629\"},menu:{title:\"\u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629\",categories:\"\u0627\u0644\u0641\u0626\u0627\u062a\",items:\"\u0623\u0637\u0628\u0627\u0642 \u0627\u0644\u064a\u0648\u0645\",orderBtn:\"\u0627\u0637\u0644\u0628 \u0639\u0628\u0631 \u0648\u0627\u062a\u0633\u0627\u0628\"},wifi:{title:\"\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u0648\u0627\u064a-\u0641\u0627\u064a\",network:\"EasyServices_Guest\",connect:\"\u0627\u062a\u0635\u0644\",password:\"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0645\u062a\u0648\u0641\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u0628\u0627\u0628\"},profile:{title:\"\u0645\u0644\u0641 \u0627\u0644\u0645\u062d\u0644\",phone:\"+212 668 89 95 69\",location:\"\u0627\u0644\u0631\u0628\u0627\u0637\u060c \u0627\u0644\u0645\u063a\u0631\u0628\",follow:\"\u062a\u0627\u0628\u0639\u0646\u0627 \u0639\u0644\u0649 \u0625\u0646\u0633\u062a\u063a\u0631\u0627\u0645\",save:\"\u0627\u062d\u0641\u0638 \u062c\u0647\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\"}},metiers:{badge:\"\u0644\u0623\u064a \u0645\u0647\u0646\u0629\u061f\",title:\"\u0635\u064f\u0645\u0645 \u0644\u0643\u0644 \u062a\u062c\u0627\u0631\u0629\",subtitle:\"\u0645\u0647\u0645\u0627 \u0643\u0627\u0646 \u0645\u0647\u0646\u062a\u0643\u060c \u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632 \u062a\u062a\u0643\u064a\u0641 \u0645\u0639 \u0627\u062d\u062a\u064a\u0627\u062c\u0627\u062a\u0643.\",items:{restaurants:{name:\"\u0627\u0644\u0645\u0637\u0627\u0639\u0645\",desc:\"\u0642\u0627\u0626\u0645\u0629 \u0631\u0642\u0645\u064a\u0629 + \u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644 + \u0637\u0644\u0628 \u0648\u0627\u062a\u0633\u0627\u0628\",tags:[\"\u0627\u0644\u0642\u0627\u0626\u0645\u0629\",\"\u063a\u0648\u063a\u0644\",\"\u0648\u0627\u062a\u0633\u0627\u0628\"]},cafes:{name:\"\u0627\u0644\u0645\u0642\u0627\u0647\u064a\",desc:\"\u0642\u0627\u0626\u0645\u0629 + \u0648\u0627\u064a-\u0641\u0627\u064a + \u062a\u0642\u064a\u064a\u0645\u0627\u062a \u0628\u0625\u064a\u0645\u0627\u0621\u0629\",tags:[\"\u0627\u0644\u0642\u0627\u0626\u0645\u0629\",\"\u0648\u0627\u064a-\u0641\u0627\u064a\",\"\u062a\u0642\u064a\u064a\u0645\u0627\u062a\"]},salons:{name:\"\u0635\u0627\u0644\u0648\u0646\u0627\u062a \u0648\u062d\u0644\u0627\u0642\u064a\u0646\",desc:\"\u0625\u0646\u0633\u062a\u063a\u0631\u0627\u0645 + \u0648\u0627\u062a\u0633\u0627\u0628 + \u062d\u062c\u0632 \u0645\u0648\u0639\u062f\",tags:[\"\u0625\u0646\u0633\u062a\u063a\u0631\u0627\u0645\",\"\u0648\u0627\u062a\u0633\u0627\u0628\",\"\u0645\u0648\u0639\u062f\"]},hotels:{name:\"\u0641\u0646\u0627\u062f\u0642 \u0648\u0631\u064a\u0627\u0636\u0627\u062a\",desc:\"\u0648\u0627\u064a-\u0641\u0627\u064a + \u0645\u0639\u0644\u0648\u0645\u0627\u062a + \u062e\u062f\u0645\u0627\u062a \u0627\u0644\u0632\u0628\u0646\u0627\u0621\",tags:[\"\u0648\u0627\u064a-\u0641\u0627\u064a\",\"\u0645\u0639\u0644\u0648\u0645\u0627\u062a\",\"\u062e\u062f\u0645\u0627\u062a\"]},commerces:{name:\"\u0627\u0644\u0645\u062a\u0627\u062c\u0631\",desc:\"\u0645\u0644\u0641 + \u0634\u0628\u0643\u0627\u062a \u0627\u062c\u062a\u0645\u0627\u0639\u064a\u0629 + \u0648\u0627\u062a\u0633\u0627\u0628\",tags:[\"\u0627\u0644\u0645\u0644\u0641\",\"\u0627\u0644\u0634\u0628\u0643\u0627\u062a\",\"\u0648\u0627\u062a\u0633\u0627\u0628\"]},pros:{name:\"\u0627\u0644\u0645\u0647\u0646\u064a\u0648\u0646\",desc:\"\u0645\u0644\u0641 \u0631\u0642\u0645\u064a + \u062a\u0648\u0627\u0635\u0644 \u0645\u0628\u0627\u0634\u0631\",tags:[\"\u0627\u0644\u0645\u0644\u0641\",\"\u062a\u0648\u0627\u0635\u0644\"]}}},bracelet:{badge:\"Easy Bracelet\",title:\"\u0647\u0648\u064a\u0629 \u0631\u0642\u0645\u064a\u0629. \u0641\u064a \u0645\u0639\u0635\u0645\u0643.\",subtitle:\"\u0633\u0648\u0627\u0631 NFC \u0645\u0646 \u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632 \u064a\u062d\u0648\u0651\u0644 \u0645\u0639\u0635\u0645\u0643 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u062a\u0648\u0627\u0635\u0644. \u0644\u0645\u0633\u0629 \u0648\u0627\u062d\u062f\u0629 \u0648\u0645\u0644\u0641\u0643 \u0627\u0644\u0645\u0647\u0646\u064a \u064a\u0638\u0647\u0631 \u0639\u0644\u0649 \u0623\u064a \u0647\u0627\u062a\u0641.\",feature1:\"NFC \u0645\u062f\u0645\u062c \u2014 \u0628\u062f\u0648\u0646 \u062a\u062b\u0628\u064a\u062a \u0623\u064a \u062a\u0637\u0628\u064a\u0642\",feature2:\"\u0645\u0644\u0641 \u0634\u062e\u0635\u064a \u0642\u0627\u0628\u0644 \u0644\u0644\u062a\u0639\u062f\u064a\u0644 \u0641\u064a \u0623\u064a \u0648\u0642\u062a\",feature3:\"\u062a\u0635\u0645\u064a\u0645 \u0641\u0627\u062e\u0631 \u2014 \u0627\u0644\u0646\u0645\u0648\u0630\u062c \u064a\u064f\u062e\u062a\u0627\u0631 \u062d\u0633\u0628 \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645\",cta:\"\u0627\u0637\u0644\u0628 \u0627\u0644\u0633\u0648\u0627\u0631\"},reviewSpot:{badge:\"Easy Review\",title:\"\u062d\u0648\u0651\u0644 \u0628\u0627\u0628 \u0645\u062d\u0644\u0643 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0648\u0635\u0648\u0644 \u0631\u0642\u0645\u064a\u0629\",subtitle:\"\u0645\u0648\u0636\u0648\u0639 \u0639\u0644\u0649 \u0628\u0627\u0628 \u0645\u062d\u0644\u0643\u060c \u0627\u0644\u0648\u0633\u064a\u0644\u0629 Easy Review \u062a\u062f\u0639\u0648 \u0632\u0628\u0646\u0627\u0621\u0643 \u0644\u062a\u0631\u0643 \u062a\u0642\u064a\u064a\u0645 \u063a\u0648\u063a\u0644 \u0628\u0625\u064a\u0645\u0627\u0621\u0629 \u0648\u0627\u062d\u062f\u0629. NFC \u0623\u0648 QR\u060c \u0644\u0627 \u062d\u0627\u062c\u0629 \u0644\u062a\u062b\u0628\u064a\u062a \u0623\u064a \u0634\u064a\u0621.\",point1:\"\u0648\u0633\u064a\u0644\u0629 \u0641\u0627\u062e\u0631\u0629 \u0645\u0646 \u0627\u0644\u0623\u0643\u0631\u064a\u0644\u064a\u0643 \u0627\u0644\u0645\u062e\u0635\u0635\",point2:\"NFC + \u0631\u0645\u0632 QR \u0648\u0635\u0648\u0644 \u0645\u0632\u062f\u0648\u062c\",point3:\"\u0631\u0627\u0628\u0637 \u0645\u0628\u0627\u0634\u0631 \u0644\u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644\",point4:\"\u0639\u0644\u0627\u0645\u0629 Easy Services + \u0634\u0639\u0627\u0631\u0643\",cta:\"\u0627\u0637\u0644\u0628 Easy Review\"},diff:{badge:\"\u0627\u0644\u0641\u0631\u0642 \u0628\u064a\u0646\u0646\u0627\",title:\"\u0646\u062d\u0646 \u0644\u0627 \u0646\u0628\u064a\u0639 \u0645\u062c\u0631\u062f NFC\",subtitle:\"\u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632 \u0647\u064a \u0627\u0644\u0648\u0633\u064a\u0644\u0629 \u0627\u0644\u0645\u0627\u062f\u064a\u0629\u060c \u0627\u0644\u062a\u062c\u0631\u0628\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629\u060c \u0627\u0644\u062a\u062e\u0635\u064a\u0635 \u0648\u0627\u0644\u062e\u062f\u0645\u0629 \u0627\u0644\u0645\u062d\u0644\u064a\u0629 \u2014 \u0645\u062c\u062a\u0645\u0639\u0629.\",cards:{physical:{title:\"\u0645\u0646\u062a\u062c \u0645\u0627\u062f\u064a \u0641\u0627\u062e\u0631\",desc:\"\u0648\u0633\u0627\u0626\u0644 \u062d\u0642\u064a\u0642\u064a\u0629\u060c \u0645\u0635\u0646\u0648\u0639\u0629 \u0628\u0639\u0646\u0627\u064a\u0629\u060c \u0635\u064f\u0645\u0645\u062a \u0644\u062a\u062f\u0648\u0645 \u0648\u062a\u0646\u062f\u0645\u062c \u0641\u064a \u0645\u062d\u0644\u0643.\"},digital:{title:\"\u062a\u062c\u0631\u0628\u0629 \u0631\u0642\u0645\u064a\u0629 \u0633\u0644\u0633\u0629\",desc:\"QR\u060c NFC\u060c \u0648\u0627\u062a\u0633\u0627\u0628\u060c \u063a\u0648\u063a\u0644\u060c \u0642\u0627\u0626\u0645\u0629\u060c \u0648\u0627\u064a-\u0641\u0627\u064a. \u0643\u0644 \u0634\u064a\u0621 \u064a\u0639\u0645\u0644 \u0628\u0625\u064a\u0645\u0627\u0621\u0629\u060c \u0628\u062f\u0648\u0646 \u062a\u0637\u0628\u064a\u0642.\"},custom:{title:\"\u062a\u062e\u0635\u064a\u0635 \u0643\u0627\u0645\u0644\",desc:\"\u0634\u0639\u0627\u0631\u0643\u060c \u0623\u0644\u0648\u0627\u0646\u0643\u060c \u0631\u0648\u0627\u0628\u0637\u0643. \u0643\u0644 \u0648\u0633\u064a\u0644\u0629 \u0645\u0647\u064a\u0623\u0629 \u0644\u0645\u062d\u0644\u0643.\"},local:{title:\"\u062e\u062f\u0645\u0629 \u0645\u062d\u0644\u064a\u0629 \u0641\u064a \u0627\u0644\u0631\u0628\u0627\u0637\",desc:\"\u0645\u0631\u0627\u0641\u0642\u0629\u060c \u062a\u0631\u0643\u064a\u0628 \u0648\u0645\u062a\u0627\u0628\u0639\u0629. \u0646\u062d\u0646 \u0647\u0646\u0627\u060c \u0641\u064a \u0627\u0644\u0631\u0628\u0627\u0637\u060c \u0644\u0645\u0633\u0627\u0639\u062f\u062a\u0643 \u0639\u0644\u0649 \u0627\u0644\u0628\u062f\u0621.\"}}},maroc:{badge:\"\ud83c\uddf2\ud83c\udde6 \u0627\u0644\u0645\u063a\u0631\u0628\",title:\"\u0635\u064f\u0645\u0645 \u0644\u0644\u0645\u062a\u0627\u062c\u0631 \u0627\u0644\u0645\u063a\u0631\u0628\u064a\u0629\",subtitle:\"\u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632 \u0648\u064f\u0644\u062f \u0641\u064a \u0627\u0644\u0631\u0628\u0627\u0637. \u0646\u0641\u0647\u0645 \u0627\u0644\u0645\u062a\u0627\u062c\u0631 \u0627\u0644\u0645\u063a\u0631\u0628\u064a\u0629\u060c \u0632\u0628\u0646\u0627\u0621\u0647\u0627 \u0648\u0627\u062d\u062a\u064a\u0627\u062c\u0627\u062a\u0647\u0627.\",today:\"\u0627\u0644\u0631\u0628\u0627\u0637 \u0627\u0644\u064a\u0648\u0645\",tomorrow:\"\u0627\u0644\u0645\u063a\u0631\u0628 \u063a\u062f\u0627\u064b\",cta:\"\u0627\u0646\u0636\u0645 \u0644\u0644\u0625\u0637\u0644\u0627\u0642\"},pricing:{badge:\"\u0627\u0644\u0623\u0633\u0639\u0627\u0631\",title:\"\u0623\u0633\u0639\u0627\u0631 \u0648\u0627\u0636\u062d\u0629\u060c \u0628\u0627\u0644\u062f\u0631\u0647\u0645\",subtitle:\"\u0628\u062f\u0648\u0646 \u0627\u0634\u062a\u0631\u0627\u0643 \u062e\u0641\u064a. \u062a\u0634\u062a\u0631\u064a \u0627\u0644\u0645\u0646\u062a\u062c\u060c \u0648\u0646\u062d\u0646 \u0646\u0647\u064a\u0626\u0647 \u0644\u0643.\",launch:\"\u0633\u0639\u0631 \u0627\u0644\u0625\u0637\u0644\u0627\u0642\",normal:\"\u0627\u0644\u0633\u0639\u0631 \u0627\u0644\u0639\u0627\u062f\u064a\",perMonth:\"\",perUnit:\"\/ \u0627\u0644\u0648\u062d\u062f\u0629\",onQuote:\"\u062d\u0633\u0628 \u0627\u0644\u0637\u0644\u0628\",uponConfig:\"\u062d\u0633\u0628 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\",includes:\"\u064a\u0634\u0645\u0644:\",orderCta:\"\u0627\u0637\u0644\u0628\",quoteCta:\"\u0627\u0637\u0644\u0628 \u0639\u0631\u0636\u0627\u064b\",popular:\"\u0633\u0639\u0631 \u0627\u0644\u0625\u0637\u0644\u0627\u0642\",plans:{review:{name:\"Easy Review\",desc:\"\u0648\u0633\u064a\u0644\u0629 \u0639\u0644\u0649 \u0627\u0644\u0628\u0627\u0628 \u0644\u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644\",price:\"129 \u062f\u0631\u0647\u0645\",oldPrice:\"149 \u062f\u0631\u0647\u0645\",features:[\"\u0648\u0633\u064a\u0644\u0629 \u0623\u0643\u0631\u064a\u0644\u064a\u0643 \u0641\u0627\u062e\u0631\u0629\",\"NFC + \u0631\u0645\u0632 QR\",\"\u0631\u0627\u0628\u0637 \u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644\",\"\u062a\u062e\u0635\u064a\u0635 \u0627\u0644\u0634\u0639\u0627\u0631\",\"\u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0645\u0634\u0645\u0648\u0644\"]},profile:{name:\"Easy Profile\",desc:\"\u0628\u0637\u0627\u0642\u0629 NFC \u0644\u0644\u0645\u0644\u0641 \u0627\u0644\u0631\u0642\u0645\u064a\",price:\"199 \u062f\u0631\u0647\u0645\",oldPrice:\"\",features:[\"\u0628\u0637\u0627\u0642\u0629 NFC \u0623\u0646\u064a\u0642\u0629\",\"\u0645\u0644\u0641 \u0631\u0642\u0645\u064a \u0645\u062e\u0635\u0635\",\"\u0648\u0627\u062a\u0633\u0627\u0628 + \u0625\u0646\u0633\u062a\u063a\u0631\u0627\u0645\",\"\u0645\u0648\u0642\u0639 \u0639\u0644\u0649 \u063a\u0648\u063a\u0644 \u0645\u0627\u0628\u0633\",\"\u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0645\u0634\u0645\u0648\u0644\"]},bracelet:{name:\"Easy Bracelet\",desc:\"\u0633\u0648\u0627\u0631 NFC \u0644\u0644\u0647\u0648\u064a\u0629 \u0627\u0644\u0631\u0642\u0645\u064a\u0629\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0645\u0648\u062f\u064a\u0644\",oldPrice:\"\",features:[\"\u0633\u0648\u0627\u0631 NFC \u0645\u0642\u0627\u0648\u0645\",\"\u0645\u0644\u0641 \u0645\u0647\u0646\u064a\",\"\u0644\u0645\u0633 \u0641\u0648\u0631\u064a\",\"\u062a\u062e\u0635\u064a\u0635 \u0627\u0644\u0644\u0648\u0646\",\"\u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0645\u0634\u0645\u0648\u0644\"]},menu:{name:\"Easy Menu\",desc:\"\u0642\u0627\u0626\u0645\u0629 \u0631\u0642\u0645\u064a\u0629 \u0644\u0644\u0645\u0637\u0627\u0639\u0645\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\",oldPrice:\"\",features:[\"\u0642\u0627\u0626\u0645\u0629 \u0631\u0642\u0645\u064a\u0629 \u063a\u064a\u0631 \u0645\u062d\u062f\u0648\u062f\u0629\",\"\u0641\u0626\u0627\u062a \u0648\u0623\u0637\u0628\u0627\u0642\",\"\u0632\u0631 \u0648\u0627\u062a\u0633\u0627\u0628\",\"\u062a\u0642\u064a\u064a\u0645\u0627\u062a \u063a\u0648\u063a\u0644 \u0645\u062f\u0645\u062c\u0629\",\"\u0648\u0633\u064a\u0644\u0629 QR + NFC\"]},wifi:{name:\"Easy Wi-Fi\",desc:\"\u0648\u0633\u064a\u0644\u0629 \u0648\u0627\u064a-\u0641\u0627\u064a + QR\/NFC\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\",oldPrice:\"\",features:[\"\u0648\u0633\u064a\u0644\u0629 \u0645\u0627\u062f\u064a\u0629 \u0641\u0627\u062e\u0631\u0629\",\"\u0627\u062a\u0635\u0627\u0644 \u0648\u0627\u064a-\u0641\u0627\u064a \u0628\u0644\u0645\u0633\u0629\",\"\u0631\u0645\u0632 QR \u0627\u062d\u062a\u064a\u0627\u0637\u064a\",\"\u062a\u062e\u0635\u064a\u0635 \u0627\u0644\u0634\u0639\u0627\u0631\",\"\u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0645\u0634\u0645\u0648\u0644\"]},business:{name:\"Easy Business\",desc:\"\u062d\u0644 \u062d\u0633\u0628 \u0627\u0644\u0637\u0644\u0628\",price:\"\u062d\u0633\u0628 \u0627\u0644\u0637\u0644\u0628\",oldPrice:\"\",features:[\"\u0648\u0633\u0627\u0626\u0644 \u0645\u062a\u0639\u062f\u062f\u0629\",\"\u0639\u0644\u0627\u0645\u0629 \u0643\u0627\u0645\u0644\u0629\",\"\u0645\u0631\u0627\u0641\u0642\u0629 \u0645\u062e\u0635\u0635\u0629\",\"\u062a\u0631\u0643\u064a\u0628 \u0641\u064a \u0627\u0644\u0631\u0628\u0627\u0637\",\"\u062f\u0639\u0645 \u0623\u0648\u0644\u0648\u064a\u0629\"]}}},faq:{badge:\"\u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0634\u0627\u0626\u0639\u0629\",title:\"\u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u0645\u062a\u0643\u0631\u0631\u0629\",subtitle:\"\u0643\u0644 \u0645\u0627 \u062a\u062d\u062a\u0627\u062c \u0645\u0639\u0631\u0641\u062a\u0647 \u0642\u0628\u0644 \u0627\u0644\u0637\u0644\u0628.\",items:[{q:\"\u0647\u0644 \u064a\u062c\u0628 \u0639\u0644\u0649 \u0627\u0644\u0632\u0628\u0648\u0646 \u062a\u062b\u0628\u064a\u062a \u062a\u0637\u0628\u064a\u0642\u061f\",a:\"\u0644\u0627. \u0627\u0644\u0632\u0628\u0648\u0646 \u064a\u0644\u0645\u0633 \u0627\u0644\u0648\u0633\u064a\u0644\u0629 NFC \u0623\u0648 \u064a\u0645\u0633\u062d \u0631\u0645\u0632 QR \u0628\u0647\u0627\u062a\u0641\u0647. \u0627\u0644\u062a\u062c\u0631\u0628\u0629 \u062a\u0641\u062a\u062d \u0641\u064a \u0627\u0644\u0645\u062a\u0635\u0641\u062d\u060c \u0628\u062f\u0648\u0646 \u0623\u064a \u062a\u0637\u0628\u064a\u0642.\"},{q:\"\u0647\u0644 \u064a\u0639\u0645\u0644 \u0645\u0639 \u062c\u0645\u064a\u0639 \u0627\u0644\u0647\u0648\u0627\u062a\u0641\u061f\",a:\"\u064a\u0639\u0645\u0644 QR \u0639\u0644\u0649 \u0627\u0644\u0647\u0648\u0627\u062a\u0641 \u0627\u0644\u062a\u064a \u062a\u062a\u0648\u0641\u0631 \u0639\u0644\u0649 \u0643\u0627\u0645\u064a\u0631\u0627 \u0648\u0645\u062a\u0635\u0641\u062d. \u0623\u0645\u0627 NFC \u0641\u064a\u0639\u062a\u0645\u062f \u0639\u0644\u0649 \u062a\u0648\u0627\u0641\u0642 \u0627\u0644\u0647\u0627\u062a\u0641\u060c \u0648\u064a\u0628\u0642\u0649 QR \u0628\u062f\u064a\u0644\u0627\u064b \u0628\u0633\u064a\u0637\u0627\u064b.\"},{q:\"\u0643\u0645 \u064a\u0633\u062a\u063a\u0631\u0642 \u0625\u0639\u062f\u0627\u062f \u0645\u0646\u062a\u062c\u064a\u061f\",a:\"\u0627\u0644\u0645\u062f\u0629 \u062a\u0639\u062a\u0645\u062f \u0639\u0644\u0649 \u0627\u0644\u0645\u0646\u062a\u062c \u0648\u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0645\u062e\u062a\u0627\u0631\u060c \u0648\u064a\u062a\u0645 \u062a\u0623\u0643\u064a\u062f\u0647\u0627 \u0639\u0646\u062f \u0627\u0644\u0637\u0644\u0628.\"},{q:\"\u0647\u0644 \u064a\u0645\u0643\u0646\u0646\u064a \u062a\u063a\u064a\u064a\u0631 \u0645\u0639\u0644\u0648\u0645\u0627\u062a\u064a \u0644\u0627\u062d\u0642\u0627\u064b\u061f\",a:\"\u0646\u0639\u0645. \u0631\u0648\u0627\u0628\u0637\u0643 \u0648\u0645\u0639\u0644\u0648\u0645\u0627\u062a\u0643 \u0642\u0627\u0628\u0644\u0629 \u0644\u0644\u062a\u0639\u062f\u064a\u0644 \u0641\u064a \u0623\u064a \u0648\u0642\u062a \u062f\u0648\u0646 \u0634\u0631\u0627\u0621 \u0648\u0633\u064a\u0644\u0629 \u062c\u062f\u064a\u062f\u0629. \u062a\u0648\u0627\u0635\u0644 \u0645\u0639\u0646\u0627 \u0639\u0628\u0631 \u0648\u0627\u062a\u0633\u0627\u0628.\"},{q:\"\u0647\u0644 \u062a\u0648\u0635\u0644\u0648\u0646 \u062e\u0627\u0631\u062c \u0627\u0644\u0631\u0628\u0627\u0637\u061f\",a:\"\u0627\u0644\u0625\u0637\u0644\u0627\u0642 \u0641\u064a \u0627\u0644\u0631\u0628\u0627\u0637. \u0633\u0646\u0648\u0633\u0639 \u062a\u062f\u0631\u064a\u062c\u064a\u0627\u064b \u0625\u0644\u0649 \u0645\u062f\u0646 \u0645\u063a\u0631\u0628\u064a\u0629 \u0623\u062e\u0631\u0649. \u062a\u0648\u0627\u0635\u0644 \u0645\u0639\u0646\u0627 \u0644\u0645\u0639\u0631\u0641\u0629 \u0647\u0644 \u0646\u063a\u0637\u064a \u0645\u062f\u064a\u0646\u062a\u0643.\"},{q:\"\u0643\u064a\u0641 \u0623\u0637\u0644\u0628\u061f\",a:\"\u0627\u0636\u063a\u0637 \u0639\u0644\u0649 \u0632\u0631 \u0648\u0627\u062a\u0633\u0627\u0628\u060c \u0623\u0631\u0633\u0644 \u0644\u0646\u0627 \u0627\u0644\u0645\u0646\u062a\u062c \u0627\u0644\u0630\u064a \u064a\u0647\u0645\u0643\u060c \u0648\u0646\u062d\u0646 \u0646\u062a\u0643\u0641\u0644 \u0628\u0643\u0644 \u0634\u064a\u0621: \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u060c \u0627\u0644\u062a\u062e\u0635\u064a\u0635 \u0648\u0627\u0644\u062a\u0648\u0635\u064a\u0644.\"}]},cta:{title:\"\u062c\u0627\u0647\u0632 \u0644\u0631\u0628\u0637 \u0645\u062d\u0644\u0643\u061f\",subtitle:\"\u062a\u0648\u0627\u0635\u0644 \u0645\u0639\u0646\u0627 \u0639\u0644\u0649 \u0648\u0627\u062a\u0633\u0627\u0628. \u0646\u0631\u0634\u062f\u0643\u060c \u0646\u0647\u064a\u0626 \u0645\u0646\u062a\u062c\u0643 \u0648\u0646\u0648\u0635\u0644 \u0644\u0643 \u0641\u064a \u0627\u0644\u0631\u0628\u0627\u0637.\",whatsapp:\"\u0627\u0637\u0644\u0628 \u0639\u0628\u0631 \u0648\u0627\u062a\u0633\u0627\u0628\",call:\"\u0627\u062a\u0635\u0644 +212 668 89 95 69\",note:\"\u0631\u062f \u062e\u0644\u0627\u0644 \u062f\u0642\u0627\u0626\u0642 \u00b7 \u0627\u0644\u0631\u0628\u0627\u0637\u060c \u0627\u0644\u0645\u063a\u0631\u0628\"},emailPopup:{title:\"\u0627\u0633\u062a\u0642\u0628\u0644 \u062c\u062f\u064a\u062f \u0625\u064a\u0632\u064a \u0633\u064a\u0631\u0641\u0633\u0632\",subtitle:\"\u0645\u0646\u062a\u062c\u0627\u062a \u062c\u062f\u064a\u062f\u0629\u060c \u0639\u0631\u0648\u0636 \u0627\u0644\u0625\u0637\u0644\u0627\u0642 \u0648\u0646\u0635\u0627\u0626\u062d \u0644\u0645\u062d\u0644\u0643. \u0628\u062f\u0648\u0646 \u0625\u0632\u0639\u0627\u062c.\",placeholder:\"\u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a\",btn:\"\u0627\u0634\u062a\u0631\u0643\",success:\"\u0634\u0643\u0631\u0627\u064b! \u0633\u062a\u0635\u0644\u0643 \u062c\u062f\u064a\u062f\u0646\u0627 \u0642\u0631\u064a\u0628\u0627\u064b.\",close:\"\u0625\u063a\u0644\u0627\u0642\",demoNote:\"\u062a\u062c\u0631\u064a\u0628\u064a \u2014 \u0627\u0644\u0627\u0634\u062a\u0631\u0627\u0643\u0627\u062a \u0644\u0627 \u062a\u064f\u0633\u062c\u0644 \u0628\u0639\u062f.\"},footer:{tagline:\"\u0627\u0644\u0631\u0642\u0645\u064a\u0629 \u062a\u0628\u062f\u0623 \u0645\u0646 \u0645\u062d\u0644\u0643.\",contact:\"\u062a\u0648\u0627\u0635\u0644\",phone:\"+212 668 89 95 69\",follow:\"\u062a\u0627\u0628\u0639\u0646\u0627\",legal:\"\u0642\u0627\u0646\u0648\u0646\u064a\",privacy:\"\u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629\",terms:\"\u0634\u0631\u0648\u0637 \u0627\u0644\u0628\u064a\u0639\",rights:\"\u062c\u0645\u064a\u0639 \u0627\u0644\u062d\u0642\u0648\u0642 \u0645\u062d\u0641\u0648\u0638\u0629.\",madeIn:\"\u0635\u064f\u0645\u0645 \u0641\u064a \u0627\u0644\u0645\u063a\u0631\u0628\",links:{concept:\"\u0627\u0644\u0645\u0641\u0647\u0648\u0645\",products:\"\u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a\",demo:\"\u062a\u062c\u0631\u0628\u0629\",pricing:\"\u0627\u0644\u0623\u0633\u0639\u0627\u0631\",faq:\"\u0627\u0644\u0623\u0633\u0626\u0644\u0629\"}}},fp={fr:a_,ar:l_},Bo=\"212660190129\",ot=`https:\/\/wa.me\/${Bo}`,Oy=T.createContext(void 0);function u_({children:e}){const[t,n]=T.useState(\"fr\");T.useEffect(()=>{document.documentElement.dir=fp[t].dir,document.documentElement.lang=t},[t]);const r=()=>n(s=>s===\"fr\"?\"ar\":\"fr\");return u.jsx(Oy.Provider,{value:{lang:t,t:fp[t],toggleLang:r},children:e})}function ie(){const e=T.useContext(Oy);if(!e)throw new Error(\"useLang must be used within LanguageProvider\");return e}\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const c_=e=>e.replace(\/([a-z0-9])([A-Z])\/g,\"$1-$2\").toLowerCase(),Ly=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(\" \");\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/var d_={xmlns:\"http:\/\/www.w3.org\/2000\/svg\",width:24,height:24,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\"};\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const h_=T.forwardRef(({color:e=\"currentColor\",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s=\"\",children:i,iconNode:o,...a},l)=>T.createElement(\"svg\",{ref:l,...d_,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24\/Number(t):n,className:Ly(\"lucide\",s),...a},[...o.map(([c,d])=>T.createElement(c,d)),...Array.isArray(i)?i:[i]]));\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const z=(e,t)=>{const n=T.forwardRef(({className:r,...s},i)=>T.createElement(h_,{ref:i,iconNode:t,className:Ly(`lucide-${c_(e)}`,r),...s}));return n.displayName=`${e}`,n};\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const f_=z(\"ArrowLeft\",[[\"path\",{d:\"m12 19-7-7 7-7\",key:\"1l729n\"}],[\"path\",{d:\"M19 12H5\",key:\"x3x0zl\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const p_=z(\"Briefcase\",[[\"path\",{d:\"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\",key:\"jecpp\"}],[\"rect\",{width:\"20\",height:\"14\",x:\"2\",y:\"6\",rx:\"2\",key:\"i6l2r4\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const m_=z(\"Building2\",[[\"path\",{d:\"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z\",key:\"1b4qmf\"}],[\"path\",{d:\"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2\",key:\"i71pzd\"}],[\"path\",{d:\"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2\",key:\"10jefs\"}],[\"path\",{d:\"M10 6h4\",key:\"1itunk\"}],[\"path\",{d:\"M10 10h4\",key:\"tcdvrf\"}],[\"path\",{d:\"M10 14h4\",key:\"kelpxr\"}],[\"path\",{d:\"M10 18h4\",key:\"1ulq68\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const fa=z(\"Check\",[[\"path\",{d:\"M20 6 9 17l-5-5\",key:\"1gmf2c\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const g_=z(\"ChevronDown\",[[\"path\",{d:\"m6 9 6 6 6-6\",key:\"qrunsl\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const y_=z(\"Coffee\",[[\"path\",{d:\"M10 2v2\",key:\"7u0qdc\"}],[\"path\",{d:\"M14 2v2\",key:\"6buw04\"}],[\"path\",{d:\"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1\",key:\"pwadti\"}],[\"path\",{d:\"M6 2v2\",key:\"colzsn\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const v_=z(\"Facebook\",[[\"path\",{d:\"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z\",key:\"1jg4f8\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const x_=z(\"Globe\",[[\"circle\",{cx:\"12\",cy:\"12\",r:\"10\",key:\"1mglay\"}],[\"path\",{d:\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\",key:\"13o1zl\"}],[\"path\",{d:\"M2 12h20\",key:\"9i4pu4\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const w_=z(\"Heart\",[[\"path\",{d:\"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z\",key:\"c3ymky\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const k_=z(\"Hotel\",[[\"path\",{d:\"M10 22v-6.57\",key:\"1wmca3\"}],[\"path\",{d:\"M12 11h.01\",key:\"z322tv\"}],[\"path\",{d:\"M12 7h.01\",key:\"1ivr5q\"}],[\"path\",{d:\"M14 15.43V22\",key:\"1q2vjd\"}],[\"path\",{d:\"M15 16a5 5 0 0 0-6 0\",key:\"o9wqvi\"}],[\"path\",{d:\"M16 11h.01\",key:\"xkw8gn\"}],[\"path\",{d:\"M16 7h.01\",key:\"1kdx03\"}],[\"path\",{d:\"M8 11h.01\",key:\"1dfujw\"}],[\"path\",{d:\"M8 7h.01\",key:\"1vti4s\"}],[\"rect\",{x:\"4\",y:\"2\",width:\"16\",height:\"20\",rx:\"2\",key:\"1uxh74\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Vu=z(\"Instagram\",[[\"rect\",{width:\"20\",height:\"20\",x:\"2\",y:\"2\",rx:\"5\",ry:\"5\",key:\"2e1cvw\"}],[\"path\",{d:\"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z\",key:\"9exkf1\"}],[\"line\",{x1:\"17.5\",x2:\"17.51\",y1:\"6.5\",y2:\"6.5\",key:\"r4j83e\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const b_=z(\"Mail\",[[\"rect\",{width:\"20\",height:\"16\",x:\"2\",y:\"4\",rx:\"2\",key:\"18n3k1\"}],[\"path\",{d:\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\",key:\"1ocrg3\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const pa=z(\"MapPin\",[[\"path\",{d:\"M20 10c0 Exemple93-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 1Exemple93 4 10a8 8 0 0 1 16 0\",key:\"1r0f0z\"}],[\"circle\",{cx:\"12\",cy:\"10\",r:\"3\",key:\"ilqhr7\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const S_=z(\"Menu\",[[\"line\",{x1:\"4\",x2:\"20\",y1:\"12\",y2:\"12\",key:\"1e0a9i\"}],[\"line\",{x1:\"4\",x2:\"20\",y1:\"6\",y2:\"6\",key:\"1owob3\"}],[\"line\",{x1:\"4\",x2:\"20\",y1:\"18\",y2:\"18\",key:\"yk5zj1\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Re=z(\"MessageCircle\",[[\"path\",{d:\"M7.9 20A9 9 0 1 0 4 16.1L2 22Z\",key:\"vv11sd\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Dy=z(\"Package\",[[\"path\",{d:\"m7.5 4.27 9 5.15\",key:\"1c824w\"}],[\"path\",{d:\"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z\",key:\"hh9hay\"}],[\"path\",{d:\"m3.3 7 8.7 5 8.7-5\",key:\"g66t2b\"}],[\"path\",{d:\"M12 22V12\",key:\"d0xqtd\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const __=z(\"Palette\",[[\"circle\",{cx:\"13.5\",cy:\"6.5\",r:\".5\",fill:\"currentColor\",key:\"1okk4w\"}],[\"circle\",{cx:\"17.5\",cy:\"10.5\",r:\".5\",fill:\"currentColor\",key:\"f64h9f\"}],[\"circle\",{cx:\"8.5\",cy:\"7.5\",r:\".5\",fill:\"currentColor\",key:\"fotxhn\"}],[\"circle\",{cx:\"6.5\",cy:\"12.5\",r:\".5\",fill:\"currentColor\",key:\"qy21gx\"}],[\"path\",{d:\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z\",key:\"12rzf8\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const wd=z(\"Phone\",[[\"path\",{d:\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\",key:\"foiqr5\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const j_=z(\"Play\",[[\"polygon\",{points:\"6 3 20 12 6 21 6 3\",key:\"1oa8hb\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Iy=z(\"QrCode\",[[\"rect\",{width:\"5\",height:\"5\",x:\"3\",y:\"3\",rx:\"1\",key:\"1tu5fj\"}],[\"rect\",{width:\"5\",height:\"5\",x:\"16\",y:\"3\",rx:\"1\",key:\"1v8r4q\"}],[\"rect\",{width:\"5\",height:\"5\",x:\"3\",y:\"16\",rx:\"1\",key:\"1x03jg\"}],[\"path\",{d:\"M21 16h-3a2 2 0 0 0-2 2v3\",key:\"177gqh\"}],[\"path\",{d:\"M21 21v.01\",key:\"ents32\"}],[\"path\",{d:\"M12 7v3a2 2 0 0 1-2 2H7\",key:\"8crl2c\"}],[\"path\",{d:\"M3 12h.01\",key:\"nlz23k\"}],[\"path\",{d:\"M12 3h.01\",key:\"n36tog\"}],[\"path\",{d:\"M12 16v.01\",key:\"133mhm\"}],[\"path\",{d:\"M16 12h1\",key:\"1slzba\"}],[\"path\",{d:\"M21 12v.01\",key:\"1lwtk9\"}],[\"path\",{d:\"M12 21v-1\",key:\"1880an\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const E_=z(\"Save\",[[\"path\",{d:\"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\",key:\"1c8476\"}],[\"path\",{d:\"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7\",key:\"1ydtos\"}],[\"path\",{d:\"M7 3v4a1 1 0 0 0 1 1h7\",key:\"t51u73\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const T_=z(\"Scissors\",[[\"circle\",{cx:\"6\",cy:\"6\",r:\"3\",key:\"1lh9wr\"}],[\"path\",{d:\"M8.12 8.12 12 12\",key:\"1alkpv\"}],[\"path\",{d:\"M20 4 8.12 15.88\",key:\"xgtan2\"}],[\"circle\",{cx:\"6\",cy:\"18\",r:\"3\",key:\"fqmcym\"}],[\"path\",{d:\"M14.8 14.8 20 20\",key:\"ptml3r\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Vy=z(\"Smartphone\",[[\"rect\",{width:\"14\",height:\"20\",x:\"5\",y:\"2\",rx:\"2\",ry:\"2\",key:\"1yt0o3\"}],[\"path\",{d:\"M12 18h.01\",key:\"mhygvu\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const C_=z(\"Sparkles\",[[\"path\",{d:\"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z\",key:\"4pj2yx\"}],[\"path\",{d:\"M20 3v4\",key:\"1olli1\"}],[\"path\",{d:\"M22 5h-4\",key:\"1gvqau\"}],[\"path\",{d:\"M4 17v2\",key:\"vumght\"}],[\"path\",{d:\"M5 18H3\",key:\"zchphs\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Wn=z(\"Star\",[[\"polygon\",{points:\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\",key:\"8f66p6\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const P_=z(\"Store\",[[\"path\",{d:\"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7\",key:\"ztvudi\"}],[\"path\",{d:\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\",key:\"1b2hhj\"}],[\"path\",{d:\"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4\",key:\"2ebpfo\"}],[\"path\",{d:\"M2 7h20\",key:\"1fcdvo\"}],[\"path\",{d:\"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7\",key:\"6c3vgh\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const kd=z(\"User\",[[\"path\",{d:\"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2\",key:\"975kel\"}],[\"circle\",{cx:\"12\",cy:\"7\",r:\"4\",key:\"17ys0d\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const bd=z(\"UtensilsCrossed\",[[\"path\",{d:\"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8\",key:\"n7qcjb\"}],[\"path\",{d:\"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7\",key:\"d0u48b\"}],[\"path\",{d:\"m2.1 21.8 6.4-6.3\",key:\"yn04lh\"}],[\"path\",{d:\"m19 5-7 7\",key:\"194lzd\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Hn=z(\"Wifi\",[[\"path\",{d:\"M12 20h.01\",key:\"zekei9\"}],[\"path\",{d:\"M2 8.82a15 15 0 0 1 20 0\",key:\"dnpr2z\"}],[\"path\",{d:\"M5 12.859a10 10 0 0 1 14 0\",key:\"1x1e6c\"}],[\"path\",{d:\"M8.5 16.429a5 5 0 0 1 7 0\",key:\"1bycff\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const $y=z(\"X\",[[\"path\",{d:\"M18 6 6 18\",key:\"1bl5f8\"}],[\"path\",{d:\"m6 6 12 12\",key:\"d8bk6v\"}]]);\/**\n * @license lucide-react v0.446.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n *\/const Fy=z(\"Zap\",[[\"path\",{d:\"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z\",key:\"1xq2db\"}]]);function By({size:e=40,showText:t=!0,className:n=\"\"}){return u.jsxs(\"div\",{className:`flex items-center gap-2.5 ${n}`,children:[u.jsxs(\"div\",{className:\"relative\",style:{width:e,height:e},children:[u.jsx(\"div\",{className:\"absolute inset-0 rounded-xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 blur-md opacity-50\"}),u.jsx(\"div\",{className:\"relative w-full h-full rounded-xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shadow-lg shadow-es-blue-500\/30\",children:u.jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",className:\"w-3\/5 h-3\/5\",children:[u.jsx(E.path,{d:\"M6 8c2 0 3 1.5 3 4s-1 4-3 4\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\"}),u.jsx(E.path,{d:\"M10 6c3 0 4.5 2.5 4.5 6s-1.5 6-4.5 6\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.7\"}),u.jsx(E.path,{d:\"M14 4c4 0 6 3 6 8s-2 8-6 8\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.4\"})]})})]}),t&&u.jsx(\"div\",{className:\"leading-none\",children:u.jsx(\"span\",{className:\"text-white font-bold tracking-tight text-lg\",children:\"Easy Services\"})})]})}function N_(){const{t:e,toggleLang:t}=ie(),[n,r]=T.useState(!1),[s,i]=T.useState(!1);T.useEffect(()=>{const a=()=>r(window.scrollY>30);return window.addEventListener(\"scroll\",a),()=>window.removeEventListener(\"scroll\",a)},[]);const o=[{label:e.nav.concept,href:\"#concept\"},{label:e.nav.products,href:\"#products\"},{label:e.nav.demo,href:\"#demo\"},{label:e.nav.metiers,href:\"#metiers\"},{label:e.nav.pricing,href:\"#pricing\"},{label:e.nav.faq,href:\"#faq\"}];return u.jsx(E.header,{initial:{y:-100,opacity:0},animate:{y:0,opacity:1},transition:{duration:.6,ease:[.22,1,.36,1]},className:\"fixed top-0 left-0 right-0 z-50 px-4 pt-4\",children:u.jsxs(\"nav\",{className:`mx-auto max-w-6xl rounded-2xl px-5 py-3 transition-all duration-500 ${n?\"glass-dark shadow-2xl shadow-es-blue-900\/20\":\"bg-transparent border border-transparent\"}`,children:[u.jsxs(\"div\",{className:\"flex items-center justify-between gap-4\",children:[u.jsx(\"a\",{href:\"#\",className:\"shrink-0\",children:u.jsx(By,{size:36})}),u.jsx(\"ul\",{className:\"hidden lg:flex items-center gap-6\",children:o.map(a=>u.jsx(\"li\",{children:u.jsxs(\"a\",{href:a.href,className:\"text-sm text-es-dark-300 hover:text-white transition-colors duration-300 relative group\",children:[a.label,u.jsx(\"span\",{className:\"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-es-blue-400 to-es-cyan-400 group-hover:w-full transition-all duration-300\"})]})},a.href))}),u.jsxs(\"div\",{className:\"flex items-center gap-2.5\",children:[u.jsxs(\"button\",{onClick:t,className:\"flex items-center gap-1.5 text-sm text-es-dark-300 hover:text-white px-3 py-2 rounded-lg hover:bg-white\/10 transition-all duration-300\",children:[u.jsx(x_,{className:\"w-4 h-4\"}),e.nav.langToggle]}),u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"hidden sm:inline-flex items-center gap-2 text-sm font-medium text-white px-4 py-2.5 rounded-xl bg-es-wa-500 hover:bg-es-wa-400 shadow-lg shadow-es-wa-500\/25 hover:shadow-es-wa-500\/40 hover:scale-[1.03] transition-all duration-300\",children:[u.jsx(Re,{className:\"w-4 h-4\"}),e.nav.order]}),u.jsx(\"button\",{className:\"lg:hidden text-white p-2\",onClick:()=>i(!s),\"aria-label\":\"Menu\",children:s?u.jsx($y,{className:\"w-6 h-6\"}):u.jsx(S_,{className:\"w-6 h-6\"})})]})]}),u.jsx(da,{children:s&&u.jsxs(E.ul,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:\"lg:hidden overflow-hidden mt-3 space-y-2\",children:[o.map(a=>u.jsx(\"li\",{children:u.jsx(\"a\",{href:a.href,onClick:()=>i(!1),className:\"block text-sm text-es-dark-300 hover:text-white py-2\",children:a.label})},a.href)),u.jsx(\"li\",{children:u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",onClick:()=>i(!1),className:\"flex items-center justify-center gap-2 text-sm font-medium text-white px-4 py-2.5 rounded-xl bg-es-wa-500\",children:[u.jsx(Re,{className:\"w-4 h-4\"}),e.nav.order]})})]})})]})})}const L={hidden:{opacity:0,y:24},visible:(e=0)=>({opacity:1,y:0,transition:{duration:.6,delay:e*.1,ease:[.22,1,.36,1]}})},ve={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:.1}}};function Sd({children:e,className:t=\"\",scale:n=1}){return u.jsxs(\"div\",{className:`relative ${t}`,style:{width:280*n,height:570*n},children:[u.jsx(\"div\",{className:\"absolute inset-0 rounded-[2.5rem] bg-es-dark-800 border-[3px] border-es-dark-700 shadow-2xl shadow-es-blue-900\/40\"}),u.jsxs(\"div\",{className:\"absolute inset-[3px] rounded-[2.3rem] bg-es-dark-950 overflow-hidden\",children:[u.jsx(\"div\",{className:\"absolute top-0 left-1\/2 -translate-x-1\/2 w-24 h-6 bg-es-dark-800 rounded-b-2xl z-20\"}),u.jsx(\"div\",{className:\"absolute inset-0 pt-7 pb-3 px-3 overflow-y-auto no-scrollbar\",children:e})]}),u.jsx(\"div\",{className:\"absolute -left-[3px] top-24 w-[3px] h-12 bg-es-dark-700 rounded-l-sm\"}),u.jsx(\"div\",{className:\"absolute -left-[3px] top-40 w-[3px] h-8 bg-es-dark-700 rounded-l-sm\"}),u.jsx(\"div\",{className:\"absolute -right-[3px] top-32 w-[3px] h-16 bg-es-dark-700 rounded-r-sm\"})]})}function A_(){const{t:e}=ie();return u.jsxs(\"section\",{className:\"relative min-h-screen flex items-center overflow-hidden pt-28 pb-16 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-mesh-es opacity-70\"}),u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 via-es-dark-960\/80 to-es-dark-960\"}),u.jsx(\"div\",{className:\"absolute top-1\/4 left-1\/4 w-96 h-96 bg-es-blue-500\/20 rounded-full blur-[120px]\"}),u.jsx(\"div\",{className:\"absolute bottom-1\/4 right-1\/4 w-96 h-96 bg-es-cyan-500\/20 rounded-full blur-[120px]\"}),u.jsxs(\"div\",{className:\"relative z-20 max-w-6xl mx-auto w-full grid lg:grid-cols-2 gap-12 items-center\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",animate:\"visible\",className:\"text-center lg:text-left\",children:[u.jsx(E.div,{variants:L,className:\"inline-flex items-center gap-2 glass rounded-full px-4 py-2 mb-6\",children:u.jsx(\"span\",{className:\"text-sm text-es-dark-200\",children:e.hero.badge})}),u.jsxs(E.h1,{variants:L,className:\"text-4xl md:text-6xl font-bold tracking-tight text-white leading-[1.1]\",children:[e.hero.title1,u.jsx(\"br\",{}),u.jsx(\"span\",{className:\"bg-gradient-to-r from-es-blue-400 via-es-cyan-400 to-es-blue-300 bg-clip-text text-transparent\",children:e.hero.title2})]}),u.jsx(E.p,{variants:L,className:\"mt-6 text-base md:text-lg text-es-dark-300 max-w-xl mx-auto lg:mx-0 leading-relaxed\",children:e.hero.subtitle}),u.jsxs(E.div,{variants:L,className:\"mt-8 flex flex-col sm:flex-row items-center justify-center lg:justify-start gap-4\",children:[u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"group inline-flex items-center gap-2 px-7 py-3.5 rounded-xl bg-es-wa-500 text-white font-medium shadow-xl shadow-es-wa-500\/30 hover:bg-es-wa-400 hover:shadow-es-wa-500\/50 hover:scale-[1.03] transition-all duration-300 w-full sm:w-auto justify-center\",children:[u.jsx(Re,{className:\"w-5 h-5\"}),e.hero.ctaOrder]}),u.jsxs(\"a\",{href:\"#demo\",className:\"group inline-flex items-center gap-2 px-7 py-3.5 rounded-xl glass text-white font-medium hover:bg-white\/15 transition-all duration-300 w-full sm:w-auto justify-center\",children:[u.jsx(j_,{className:\"w-4 h-4 text-es-cyan-400\"}),e.hero.ctaDemo]})]}),u.jsx(E.div,{variants:L,className:\"mt-12 grid grid-cols-3 gap-4 max-w-md mx-auto lg:mx-0\",children:[{value:\"5\",label:e.hero.statsProducts},{value:\"\ud83c\uddf2\ud83c\udde6\",label:e.hero.statsCity},{value:\"1\",label:e.hero.statsClients}].map(t=>u.jsxs(\"div\",{className:\"text-center lg:text-left\",children:[u.jsx(\"div\",{className:\"text-2xl font-bold text-white\",children:t.value}),u.jsx(\"div\",{className:\"text-xs text-es-dark-400 mt-1\",children:t.label})]},t.label))})]}),u.jsx(E.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.4,duration:.8,ease:[.22,1,.36,1]},className:\"relative flex items-center justify-center h-[500px] lg:h-[600px]\",children:u.jsx(R_,{})})]})]})}function R_(){const{t:e}=ie();return u.jsxs(\"div\",{className:\"relative w-full h-full flex items-center justify-center\",children:[u.jsx(E.div,{animate:{y:[0,-8,0]},transition:{duration:5,repeat:1\/0,ease:\"easeInOut\"},className:\"absolute left-[5%] top-1\/2 -translate-y-1\/2 z-10\",children:u.jsx(M_,{})}),u.jsx(E.div,{animate:{scale:[.5,2.5],opacity:[.6,0]},transition:{duration:2,repeat:1\/0,ease:\"easeOut\"},className:\"absolute left-[22%] top-1\/2 -translate-y-1\/2 w-20 h-20 rounded-full border-2 border-es-cyan-400\"}),u.jsx(E.div,{animate:{scale:[.5,2.5],opacity:[.6,0]},transition:{duration:2,repeat:1\/0,ease:\"easeOut\",delay:.5},className:\"absolute left-[22%] top-1\/2 -translate-y-1\/2 w-20 h-20 rounded-full border-2 border-es-blue-400\"}),u.jsx(E.div,{animate:{y:[0,-10,0]},transition:{duration:6,repeat:1\/0,ease:\"easeInOut\",delay:1},className:\"relative z-20\",children:u.jsx(Sd,{scale:.85,children:u.jsxs(\"div\",{className:\"flex flex-col h-full\",children:[u.jsxs(\"div\",{className:\"flex items-center justify-between text-[10px] text-es-dark-400 px-2 mb-2\",children:[u.jsx(\"span\",{children:\"9:41\"}),u.jsxs(\"div\",{className:\"flex items-center gap-1\",children:[u.jsx(Hn,{className:\"w-3 h-3\"}),u.jsx(\"span\",{children:\"100%\"})]})]}),u.jsxs(\"div\",{className:\"bg-es-dark-800 rounded-lg px-2 py-1.5 mb-3 flex items-center gap-1.5\",children:[u.jsx(\"div\",{className:\"w-1.5 h-1.5 rounded-full bg-es-wa-500\"}),u.jsx(\"span\",{className:\"text-[9px] text-es-dark-400 truncate\",children:\"easyservices.store\"})]}),u.jsxs(\"div\",{className:\"flex-1 flex flex-col items-center justify-center gap-3 px-2\",children:[u.jsx(\"div\",{className:\"w-14 h-14 rounded-2xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shadow-lg shadow-es-blue-500\/30\",children:u.jsx(Wn,{className:\"w-7 h-7 text-white fill-white\"})}),u.jsxs(\"div\",{className:\"text-center\",children:[u.jsx(\"p\",{className:\"text-white text-sm font-semibold\",children:\"Easy Services\"}),u.jsx(\"p\",{className:\"text-es-dark-400 text-[10px]\",children:\"Rabat, Maroc\"})]}),u.jsx(\"div\",{className:\"flex items-center gap-1\",children:[1,2,3,4,5].map(t=>u.jsx(Wn,{className:\"w-3 h-3 fill-amber-400 text-amber-400\"},t))}),u.jsx(\"p\",{className:\"text-amber-400 text-xs font-bold\",children:\"Exemple\"}),u.jsx(\"div\",{className:\"w-full bg-es-wa-500 rounded-lg py-2 flex items-center justify-center gap-1.5\",children:u.jsx(\"span\",{className:\"text-white text-[10px] font-medium\",children:e.demo.google.btn})}),u.jsx(\"div\",{className:\"flex items-center justify-center gap-2 mt-2 pt-2 border-t border-white\/10 w-full\",children:[{icon:Re,color:\"text-es-wa-400\"},{icon:bd,color:\"text-es-cyan-400\"},{icon:Hn,color:\"text-es-blue-400\"},{icon:kd,color:\"text-es-dark-300\"}].map(({icon:t,color:n},r)=>u.jsx(\"div\",{className:\"w-7 h-7 rounded-lg bg-white\/5 flex items-center justify-center\",children:u.jsx(t,{className:`w-3.5 h-3.5 ${n}`})},r))})]})]})})}),u.jsx(E.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:1,duration:.6},className:\"absolute right-[0%] top-[18%] z-30\",children:u.jsxs(\"div\",{className:\"glass-dark rounded-xl px-3 py-2 flex items-center gap-2\",children:[u.jsx(Iy,{className:\"w-4 h-4 text-es-cyan-400\"}),u.jsx(\"span\",{className:\"text-white text-xs font-medium\",children:e.hero.scan})]})}),u.jsx(E.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:1.2,duration:.6},className:\"absolute left-[2%] bottom-[18%] z-30\",children:u.jsxs(\"div\",{className:\"glass-dark rounded-xl px-3 py-2 flex items-center gap-2\",children:[u.jsx(Vy,{className:\"w-4 h-4 text-es-blue-400\"}),u.jsx(\"span\",{className:\"text-white text-xs font-medium\",children:e.hero.tap})]})})]})}function M_(){return u.jsxs(\"div\",{className:\"relative\",style:{width:120,height:150},children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-cyan-500\/30 rounded-2xl blur-2xl animate-glow-pulse\"}),u.jsx(\"div\",{className:\"absolute bottom-0 left-1\/2 -translate-x-1\/2 w-24 h-3 rounded-full bg-es-dark-600 shadow-lg\"}),u.jsxs(\"div\",{className:\"absolute bottom-3 left-1\/2 -translate-x-1\/2 w-20 h-32 rounded-xl bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-xl overflow-hidden\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-br from-white\/10 via-transparent to-transparent\"}),u.jsx(\"div\",{className:\"absolute top-4 left-1\/2 -translate-x-1\/2\",children:u.jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",className:\"w-8 h-8\",children:[u.jsx(\"path\",{d:\"M6 8c2 0 3 1.5 3 4s-1 4-3 4\",stroke:\"url(#nfcGrad)\",strokeWidth:\"2\",strokeLinecap:\"round\"}),u.jsx(\"path\",{d:\"M10 6c3 0 4.5 2.5 4.5 6s-1.5 6-4.5 6\",stroke:\"url(#nfcGrad)\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.7\"}),u.jsx(\"path\",{d:\"M14 4c4 0 6 3 6 8s-2 8-6 8\",stroke:\"url(#nfcGrad)\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.4\"}),u.jsx(\"defs\",{children:u.jsxs(\"linearGradient\",{id:\"nfcGrad\",x1:\"0\",y1:\"0\",x2:\"24\",y2:\"24\",children:[u.jsx(\"stop\",{offset:\"0%\",stopColor:\"#2b7bff\"}),u.jsx(\"stop\",{offset:\"100%\",stopColor:\"#22d3ee\"})]})})]})}),u.jsxs(\"div\",{className:\"absolute top-16 left-1\/2 -translate-x-1\/2 whitespace-nowrap\",children:[u.jsx(\"p\",{className:\"text-[7px] text-es-blue-400 font-semibold tracking-wider\",children:\"EASY\"}),u.jsx(\"p\",{className:\"text-[7px] text-es-cyan-400 font-semibold tracking-wider text-center\",children:\"REVIEW\"})]}),u.jsx(\"div\",{className:\"absolute bottom-4 left-1\/2 -translate-x-1\/2 w-10 h-10 rounded-md bg-white p-1\",children:u.jsx(\"div\",{className:\"grid grid-cols-5 gap-0.5 w-full h-full\",children:Array.from({length:25}).map((e,t)=>u.jsx(\"div\",{className:`rounded-[1px] ${Math.random()>.4?\"bg-es-dark-900\":\"bg-white\"}`},t))})})]})]})}function O_(){const{t:e}=ie(),t=[{icon:Dy,title:e.concept.step1Title,desc:e.concept.step1Desc},{icon:Vy,title:e.concept.step2Title,desc:e.concept.step2Desc},{icon:Fy,title:e.concept.step3Title,desc:e.concept.step3Desc},{icon:w_,title:e.concept.step4Title,desc:e.concept.step4Desc}];return u.jsxs(\"section\",{id:\"concept\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 to-es-dark-900\"}),u.jsx(\"div\",{className:\"absolute top-1\/2 left-1\/2 -translate-x-1\/2 -translate-y-1\/2 w-[500px] h-[500px] bg-es-blue-500\/5 rounded-full blur-[150px]\"}),u.jsxs(\"div\",{className:\"relative max-w-6xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-16\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.concept.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.concept.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400 max-w-2xl mx-auto leading-relaxed\",children:e.concept.subtitle})]}),u.jsx(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 relative\",children:t.map((n,r)=>u.jsxs(E.div,{variants:L,custom:r,className:\"relative\",children:[u.jsxs(\"div\",{className:\"glass-card rounded-2xl p-6 h-full\",children:[u.jsxs(\"div\",{className:\"flex items-center gap-3 mb-4\",children:[u.jsx(\"div\",{className:\"w-10 h-10 rounded-xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shadow-lg shadow-es-blue-500\/20\",children:u.jsx(n.icon,{className:\"w-5 h-5 text-white\"})}),u.jsx(\"span\",{className:\"text-3xl font-bold text-es-dark-700\",children:r+1})]}),u.jsx(\"h3\",{className:\"text-white font-semibold text-lg mb-2\",children:n.title}),u.jsx(\"p\",{className:\"text-es-dark-400 text-sm leading-relaxed\",children:n.desc})]}),r<t.length-1&&u.jsx(\"div\",{className:\"hidden lg:flex absolute top-1\/2 -right-3 -translate-y-1\/2 text-es-dark-600 text-2xl z-10 rtl-flip\",children:\"\u2192\"})]},r))})]})]})}function L_(){const{t:e}=ie(),t=[{key:\"review\",mockup:u.jsx(D_,{}),highlighted:!0},{key:\"profile\",mockup:u.jsx(I_,{}),highlighted:!1},{key:\"bracelet\",mockup:u.jsx(V_,{}),highlighted:!1},{key:\"menu\",mockup:u.jsx($_,{}),highlighted:!1},{key:\"wifi\",mockup:u.jsx(F_,{}),highlighted:!1},{key:\"business\",mockup:u.jsx(B_,{}),highlighted:!1}];return u.jsxs(\"section\",{id:\"products\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-900 to-es-dark-960\"}),u.jsx(\"div\",{className:\"absolute top-1\/3 left-1\/2 -translate-x-1\/2 w-[600px] h-[300px] bg-es-cyan-500\/8 rounded-full blur-[130px]\"}),u.jsxs(\"div\",{className:\"relative max-w-6xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-16\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.products.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.products.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400 max-w-2xl mx-auto leading-relaxed\",children:e.products.subtitle})]}),u.jsx(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\",children:t.map(({key:n,mockup:r,highlighted:s},i)=>{const o=e.products.items[n];return u.jsxs(E.div,{variants:L,custom:i,whileHover:{y:-8},transition:{type:\"spring\",stiffness:300,damping:20},className:`group relative rounded-2xl p-6 transition-colors duration-500 overflow-hidden ${s?\"glass border-2 border-es-cyan-400\/30\":\"glass-card\"}`,children:[u.jsx(\"div\",{className:\"absolute -top-20 -right-20 w-40 h-40 rounded-full blur-3xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 bg-gradient-to-br from-es-blue-500 to-es-cyan-500\"}),s&&u.jsx(\"div\",{className:\"absolute top-4 right-4 px-2.5 py-1 rounded-full bg-es-wa-500\/20 border border-es-wa-500\/30 text-es-wa-400 text-[10px] font-medium z-10\",children:e.products.launchPrice}),u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"h-48 flex items-center justify-center mb-5\",children:r}),u.jsx(\"h3\",{className:\"text-xl font-bold text-white\",children:o.name}),u.jsx(\"p\",{className:\"text-es-cyan-400 text-xs mt-1 mb-3\",children:o.tagline}),u.jsx(\"p\",{className:\"text-es-dark-400 text-sm leading-relaxed mb-4\",children:o.desc}),u.jsxs(\"div\",{className:\"flex items-baseline gap-2 mb-4\",children:[u.jsx(\"span\",{className:\"text-2xl font-bold text-white\",children:o.price}),o.normalPrice&&u.jsx(\"span\",{className:\"text-sm text-es-dark-500 line-through\",children:o.normalPrice})]}),u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"inline-flex items-center gap-2 text-sm font-medium text-es-wa-400 hover:text-es-wa-300 transition-colors\",children:[u.jsx(Re,{className:\"w-4 h-4\"}),e.products.orderCta,u.jsx(\"span\",{className:\"rtl-flip\",children:\"\u2192\"})]})]}),u.jsx(\"div\",{className:\"absolute bottom-0 left-0 right-0 h-0.5 bg-gradient-to-r from-es-blue-500 to-es-cyan-500 scale-x-0 group-hover:scale-x-100 transition-transform duration-500 origin-left\"})]},n)})})]})]})}function D_(){return u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-cyan-500\/20 rounded-full blur-2xl\"}),u.jsx(\"div\",{className:\"absolute -bottom-2 left-1\/2 -translate-x-1\/2 w-28 h-2.5 rounded-full bg-es-dark-600\"}),u.jsxs(\"div\",{className:\"relative w-24 h-32 rounded-xl bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-xl\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-br from-white\/10 via-transparent to-transparent rounded-xl\"}),u.jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",className:\"absolute top-3 left-1\/2 -translate-x-1\/2 w-6 h-6\",children:[u.jsx(\"path\",{d:\"M6 8c2 0 3 1.5 3 4s-1 4-3 4\",stroke:\"#22d3ee\",strokeWidth:\"2\",strokeLinecap:\"round\"}),u.jsx(\"path\",{d:\"M10 6c3 0 4.5 2.5 4.5 6s-1.5 6-4.5 6\",stroke:\"#22d3ee\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.6\"}),u.jsx(\"path\",{d:\"M14 4c4 0 6 3 6 8s-2 8-6 8\",stroke:\"#22d3ee\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.3\"})]}),u.jsx(\"p\",{className:\"absolute top-12 left-1\/2 -translate-x-1\/2 text-[7px] text-es-blue-400 font-bold tracking-wider whitespace-nowrap\",children:\"EASY REVIEW\"}),u.jsx(\"div\",{className:\"absolute bottom-3 left-1\/2 -translate-x-1\/2 w-10 h-10 rounded-md bg-white p-1\",children:u.jsx(Uy,{})})]}),u.jsx(E.div,{animate:{y:[0,-6,0]},transition:{duration:3,repeat:1\/0},className:\"absolute -top-2 -right-4 w-8 h-8 rounded-full bg-amber-400\/20 flex items-center justify-center\",children:u.jsx(Wn,{className:\"w-4 h-4 fill-amber-400 text-amber-400\"})})]})}function I_(){return u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-blue-500\/15 rounded-full blur-2xl\"}),u.jsxs(E.div,{whileHover:{rotateY:8,rotateX:-4},transition:{type:\"spring\",stiffness:300},className:\"relative w-36 h-24 rounded-xl bg-gradient-to-br from-es-dark-700 to-es-dark-800 border border-white\/15 shadow-xl p-3\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-br from-white\/10 via-transparent to-transparent rounded-xl\"}),u.jsxs(\"div\",{className:\"relative flex items-start gap-2\",children:[u.jsx(\"div\",{className:\"w-7 h-7 rounded-lg bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shrink-0\",children:u.jsx(kd,{className:\"w-4 h-4 text-white\"})}),u.jsxs(\"div\",{children:[u.jsx(\"p\",{className:\"text-white text-[9px] font-semibold leading-tight\",children:\"Caf\u00e9 Atlas\"}),u.jsx(\"p\",{className:\"text-es-dark-400 text-[7px]\",children:\"Rabat, Maroc\"})]})]}),u.jsx(\"div\",{className:\"absolute bottom-2 right-2 w-5 h-4 rounded-sm bg-es-cyan-500\/30 border border-es-cyan-400\/40 flex items-center justify-center\",children:u.jsx(\"span\",{className:\"text-[5px] text-es-cyan-400 font-bold\",children:\"NFC\"})}),u.jsxs(\"div\",{className:\"absolute bottom-2 left-2 flex gap-1\",children:[u.jsx(\"div\",{className:\"w-3 h-3 rounded-full bg-es-wa-500\/40\"}),u.jsx(\"div\",{className:\"w-3 h-3 rounded-full bg-pink-500\/40\"}),u.jsx(\"div\",{className:\"w-3 h-3 rounded-full bg-es-blue-500\/40\"})]})]})]})}function V_(){return u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-cyan-500\/15 rounded-full blur-2xl\"}),u.jsxs(\"svg\",{viewBox:\"0 0 160 100\",className:\"w-40\",children:[u.jsx(\"ellipse\",{cx:\"80\",cy:\"55\",rx:\"62\",ry:\"28\",fill:\"none\",stroke:\"url(#bandGrad)\",strokeWidth:\"14\",strokeLinecap:\"round\"}),u.jsx(\"ellipse\",{cx:\"80\",cy:\"53\",rx:\"62\",ry:\"26\",fill:\"none\",stroke:\"rgba(255,255,255,0.08)\",strokeWidth:\"2\"}),u.jsx(\"rect\",{x:\"68\",y:\"20\",width:\"24\",height:\"18\",rx:\"4\",fill:\"#0f172a\",stroke:\"#22d3ee\",strokeWidth:\"1.5\"}),u.jsx(\"text\",{x:\"80\",y:\"32\",textAnchor:\"middle\",fill:\"#22d3ee\",fontSize:\"6\",fontWeight:\"bold\",children:\"NFC\"}),u.jsx(\"circle\",{cx:\"80\",cy:\"29\",r:\"14\",fill:\"#22d3ee\",opacity:\"0.15\"}),u.jsx(\"defs\",{children:u.jsxs(\"linearGradient\",{id:\"bandGrad\",x1:\"0\",y1:\"0\",x2:\"160\",y2:\"100\",children:[u.jsx(\"stop\",{offset:\"0%\",stopColor:\"#1560f0\"}),u.jsx(\"stop\",{offset:\"50%\",stopColor:\"#0d4ad9\"}),u.jsx(\"stop\",{offset:\"100%\",stopColor:\"#0e7490\"})]})})]}),u.jsx(E.div,{animate:{scale:[.5,1.5],opacity:[.4,0]},transition:{duration:2,repeat:1\/0},className:\"absolute top-7 left-1\/2 -translate-x-1\/2 w-8 h-8 rounded-full border border-es-cyan-400\"})]})}function $_(){return u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-blue-500\/15 rounded-full blur-2xl\"}),u.jsxs(\"div\",{className:\"relative w-20 h-36 rounded-2xl bg-es-dark-800 border-2 border-es-dark-700 shadow-xl p-1.5\",children:[u.jsx(\"div\",{className:\"absolute top-0 left-1\/2 -translate-x-1\/2 w-8 h-3 bg-es-dark-800 rounded-b-xl z-10\"}),u.jsxs(\"div\",{className:\"h-full rounded-xl bg-es-dark-950 p-2 pt-4 overflow-hidden\",children:[u.jsx(\"p\",{className:\"text-[7px] text-white font-bold text-center\",children:\"Menu\"}),u.jsx(\"div\",{className:\"mt-1.5 space-y-1.5\",children:[\"\ud83c\udf7d\ufe0f Tajine\",\"\u2615 Caf\u00e9\",\"\ud83e\udd50 P\u00e2tisserie\"].map((e,t)=>u.jsxs(\"div\",{className:\"flex items-center justify-between bg-white\/5 rounded px-1 py-0.5\",children:[u.jsx(\"span\",{className:\"text-[6px] text-es-dark-200\",children:e}),u.jsx(\"span\",{className:\"text-[6px] text-es-cyan-400 font-bold\",children:\"DH\"})]},t))}),u.jsx(\"div\",{className:\"mt-2 bg-es-wa-500\/80 rounded py-1 flex items-center justify-center\",children:u.jsx(\"span\",{className:\"text-[6px] text-white font-medium\",children:\"WhatsApp\"})})]})]}),u.jsx(\"div\",{className:\"absolute -right-2 bottom-2 w-9 h-9 rounded-md bg-white p-0.5 shadow-lg\",children:u.jsx(Uy,{})})]})}function F_(){return u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-cyan-500\/15 rounded-full blur-2xl\"}),u.jsx(\"div\",{className:\"absolute -bottom-2 left-1\/2 -translate-x-1\/2 w-28 h-2 rounded-full bg-es-dark-600\"}),u.jsxs(\"div\",{className:\"relative w-28 h-28 rounded-2xl bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-xl flex flex-col items-center justify-center\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-br from-white\/10 via-transparent to-transparent rounded-2xl\"}),u.jsx(Hn,{className:\"w-8 h-8 text-es-cyan-400 relative z-10\"}),u.jsx(\"p\",{className:\"text-[8px] text-white font-semibold mt-1.5 relative z-10\",children:\"EASY WI-FI\"}),u.jsx(\"p\",{className:\"text-[7px] text-es-dark-400 relative z-10\",children:\"Guest Network\"}),u.jsx(\"div\",{className:\"absolute bottom-2 right-2 w-6 h-4 rounded-sm bg-es-cyan-500\/20 border border-es-cyan-400\/30 flex items-center justify-center\",children:u.jsx(\"span\",{className:\"text-[5px] text-es-cyan-400 font-bold\",children:\"NFC\"})})]})]})}function B_(){return u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-blue-500\/15 rounded-full blur-2xl\"}),u.jsxs(\"div\",{className:\"relative flex items-center justify-center gap-2\",children:[u.jsx(\"div\",{className:\"w-12 h-16 rounded-lg bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-lg flex items-center justify-center\",children:u.jsx(m_,{className:\"w-5 h-5 text-es-blue-400\"})}),u.jsx(\"div\",{className:\"w-12 h-16 rounded-lg bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-lg flex items-center justify-center\",children:u.jsx(Iy,{className:\"w-5 h-5 text-es-cyan-400\"})}),u.jsx(\"div\",{className:\"w-12 h-16 rounded-lg bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-lg flex items-center justify-center\",children:u.jsx(Hn,{className:\"w-5 h-5 text-es-wa-400\"})})]}),u.jsx(\"p\",{className:\"text-center text-[8px] text-es-dark-400 mt-2\",children:\"Multi-supports sur mesure\"})]})}function Uy(){return u.jsx(\"div\",{className:\"grid grid-cols-5 gap-0.5 w-full h-full\",children:Array.from({length:25}).map((e,t)=>{const n=[0,1,2,3,4,5,9,10,12,14,15,18,20,21,22,23,24].includes(t);return u.jsx(\"div\",{className:`rounded-[1px] ${n?\"bg-es-dark-900\":\"bg-white\"}`},t)})})}function U_(){const{t:e}=ie(),[t,n]=T.useState(\"google\"),r=[{key:\"google\",icon:Wn,color:\"from-amber-400 to-orange-500\"},{key:\"whatsapp\",icon:Re,color:\"from-es-wa-500 to-es-wa-600\"},{key:\"menu\",icon:bd,color:\"from-es-blue-400 to-es-cyan-500\"},{key:\"wifi\",icon:Hn,color:\"from-es-cyan-400 to-es-blue-500\"},{key:\"profile\",icon:kd,color:\"from-pink-400 to-purple-500\"}];return u.jsxs(\"section\",{id:\"demo\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 to-es-dark-900\"}),u.jsx(\"div\",{className:\"absolute top-1\/3 right-1\/4 w-96 h-96 bg-es-cyan-500\/10 rounded-full blur-[120px]\"}),u.jsxs(\"div\",{className:\"relative max-w-5xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-12\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.demo.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.demo.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400 max-w-2xl mx-auto\",children:e.demo.subtitle})]}),u.jsxs(\"div\",{className:\"grid lg:grid-cols-2 gap-10 items-center\",children:[u.jsx(E.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:\"space-y-3 order-2 lg:order-1\",children:r.map(({key:s,icon:i,color:o})=>u.jsxs(\"button\",{onClick:()=>n(s),className:`w-full flex items-center gap-4 p-4 rounded-2xl border transition-all duration-300 text-left ${t===s?\"glass border-es-cyan-400\/40 shadow-lg shadow-es-cyan-500\/10 scale-[1.02]\":\"glass-card border-transparent hover:border-white\/15\"}`,children:[u.jsx(\"div\",{className:`w-11 h-11 rounded-xl bg-gradient-to-br ${o} flex items-center justify-center shadow-lg shrink-0`,children:u.jsx(i,{className:\"w-5 h-5 text-white\"})}),u.jsx(\"span\",{className:`font-medium text-base ${t===s?\"text-white\":\"text-es-dark-300\"}`,children:e.demo.services[s]}),t===s&&u.jsx(E.div,{layoutId:\"demo-active\",className:\"ml-auto w-2 h-2 rounded-full bg-es-cyan-400\"})]},s))}),u.jsxs(E.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},className:\"flex items-center justify-center order-1 lg:order-2 relative\",children:[u.jsx(E.div,{animate:{scale:[.5,2.5],opacity:[.3,0]},transition:{duration:2,repeat:1\/0,ease:\"easeOut\"},className:\"absolute w-24 h-24 rounded-full border-2 border-es-cyan-400\/30\"}),u.jsx(Sd,{scale:.9,children:u.jsx(da,{mode:\"wait\",children:u.jsxs(E.div,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},exit:{opacity:0,y:-15},transition:{duration:.3},children:[t===\"google\"&&u.jsx(z_,{}),t===\"whatsapp\"&&u.jsx(W_,{}),t===\"menu\"&&u.jsx(H_,{}),t===\"wifi\"&&u.jsx(q_,{}),t===\"profile\"&&u.jsx(K_,{})]},t)})})]})]})]})]})}function ai({title:e,color:t}){return u.jsxs(\"div\",{className:\"flex items-center gap-2 mb-4 pb-3 border-b border-white\/10\",children:[u.jsx(\"div\",{className:`w-8 h-8 rounded-lg bg-gradient-to-br ${t} flex items-center justify-center`,children:u.jsx(f_,{className:\"w-4 h-4 text-white\"})}),u.jsx(\"span\",{className:\"text-white text-sm font-semibold\",children:e})]})}function z_(){const{t:e}=ie();return u.jsxs(\"div\",{children:[u.jsx(ai,{title:e.demo.google.title,color:\"from-amber-400 to-orange-500\"}),u.jsxs(\"div\",{className:\"flex flex-col items-center gap-2\",children:[u.jsx(\"div\",{className:\"w-16 h-16 rounded-2xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shadow-lg\",children:u.jsx(\"span\",{className:\"text-white font-bold text-lg\",children:\"ES\"})}),u.jsx(\"p\",{className:\"text-white text-sm font-semibold\",children:\"Easy Services\"}),u.jsx(\"p\",{className:\"text-es-dark-400 text-[10px]\",children:\"Rabat, Maroc\"}),u.jsx(\"div\",{className:\"flex items-center gap-1\",children:[1,2,3,4,5].map(t=>u.jsx(Wn,{className:\"w-3 h-3 fill-amber-400 text-amber-400\"},t))}),u.jsx(\"p\",{className:\"text-amber-400 text-xs font-bold\",children:e.demo.google.rating}),u.jsx(\"p\",{className:\"text-es-dark-400 text-[10px]\",children:e.demo.google.reviews}),u.jsx(\"div\",{className:\"w-full mt-2 space-y-1.5\",children:[1,2].map(t=>u.jsxs(\"div\",{className:\"bg-white\/5 rounded-lg p-2\",children:[u.jsx(\"div\",{className:\"flex gap-0.5 mb-1\",children:[1,2,3,4,5].map(n=>u.jsx(Wn,{className:\"w-2 h-2 fill-amber-400 text-amber-400\"},n))}),u.jsx(\"p\",{className:\"text-es-dark-300 text-[9px] leading-relaxed\",children:t===1?'\"Service excellent et accueil chaleureux !\"':'\"Le concept NFC est g\u00e9nial, tr\u00e8s pratique.\"'})]},t))}),u.jsx(\"div\",{className:\"w-full mt-2 bg-amber-500 rounded-lg py-2 flex items-center justify-center\",children:u.jsx(\"span\",{className:\"text-white text-[10px] font-medium\",children:e.demo.google.btn})})]})]})}function W_(){const{t:e}=ie();return u.jsxs(\"div\",{children:[u.jsx(ai,{title:e.demo.whatsapp.title,color:\"from-es-wa-500 to-es-wa-600\"}),u.jsxs(\"div\",{className:\"flex flex-col gap-2\",children:[u.jsxs(\"div\",{className:\"flex items-center gap-2 bg-es-wa-600\/20 rounded-lg p-2\",children:[u.jsx(\"div\",{className:\"w-7 h-7 rounded-full bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center\",children:u.jsx(\"span\",{className:\"text-white text-[9px] font-bold\",children:\"ES\"})}),u.jsxs(\"div\",{children:[u.jsx(\"p\",{className:\"text-white text-[10px] font-semibold\",children:\"Easy Services\"}),u.jsx(\"p\",{className:\"text-es-wa-400 text-[8px]\",children:\"en ligne\"})]})]}),u.jsxs(\"div\",{className:\"space-y-1.5\",children:[u.jsx(\"div\",{className:\"bg-es-wa-600\/30 rounded-lg rounded-tr-sm px-2 py-1.5 ml-6\",children:u.jsx(\"p\",{className:\"text-white text-[9px] leading-relaxed\",children:\"Bonjour ! Bienvenue chez Easy Services. Comment pouvons-nous vous aider ?\"})}),u.jsx(\"div\",{className:\"bg-es-dark-800 rounded-lg rounded-tl-sm px-2 py-1.5 mr-6\",children:u.jsx(\"p\",{className:\"text-es-dark-200 text-[9px] leading-relaxed\",children:e.demo.whatsapp.placeholder})})]}),u.jsxs(\"div\",{className:\"mt-2 flex items-center gap-1.5 bg-es-dark-800 rounded-full px-2 py-1.5\",children:[u.jsx(\"div\",{className:\"flex-1 text-es-dark-500 text-[9px]\",children:e.demo.whatsapp.placeholder}),u.jsx(\"div\",{className:\"w-6 h-6 rounded-full bg-es-wa-500 flex items-center justify-center\",children:u.jsx(Re,{className:\"w-3 h-3 text-white\"})})]})]})]})}function H_(){const{t:e}=ie(),t=[\"Tajines\",\"Couscous\",\"Grillades\",\"Boissons\"],n=[{name:\"Tajine de poulet\",price:\"65 DH\"},{name:\"Couscous royal\",price:\"85 DH\"},{name:\"Brochettes mixtes\",price:\"70 DH\"},{name:\"Th\u00e9 \u00e0 la menthe\",price:\"15 DH\"}];return u.jsxs(\"div\",{children:[u.jsx(ai,{title:e.demo.menu.title,color:\"from-es-blue-400 to-es-cyan-500\"}),u.jsxs(\"div\",{className:\"flex flex-col gap-2\",children:[u.jsx(\"div\",{className:\"flex gap-1.5 overflow-x-auto no-scrollbar pb-1\",children:t.map((r,s)=>u.jsx(\"div\",{className:`px-2.5 py-1 rounded-full text-[9px] whitespace-nowrap ${s===0?\"bg-es-blue-500 text-white\":\"bg-white\/5 text-es-dark-400\"}`,children:r},r))}),u.jsx(\"div\",{className:\"space-y-1.5\",children:n.map(r=>u.jsxs(\"div\",{className:\"flex items-center justify-between bg-white\/5 rounded-lg px-2.5 py-2\",children:[u.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[u.jsx(\"div\",{className:\"w-8 h-8 rounded-lg bg-gradient-to-br from-amber-400\/30 to-orange-500\/30 flex items-center justify-center text-sm\",children:r.name.includes(\"Tajine\")?\"\ud83c\udf72\":r.name.includes(\"Couscous\")?\"\ud83e\udd58\":r.name.includes(\"Brochettes\")?\"\ud83c\udf62\":\"\ud83c\udf75\"}),u.jsx(\"span\",{className:\"text-white text-[10px] font-medium\",children:r.name})]}),u.jsx(\"span\",{className:\"text-es-cyan-400 text-[10px] font-bold\",children:r.price})]},r.name))}),u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"mt-2 bg-es-wa-500 rounded-lg py-2 flex items-center justify-center gap-1.5\",children:[u.jsx(Re,{className:\"w-3 h-3 text-white\"}),u.jsx(\"span\",{className:\"text-white text-[10px] font-medium\",children:e.demo.menu.orderBtn})]})]})]})}function q_(){const{t:e}=ie();return u.jsxs(\"div\",{children:[u.jsx(ai,{title:e.demo.wifi.title,color:\"from-es-cyan-400 to-es-blue-500\"}),u.jsxs(\"div\",{className:\"flex flex-col items-center gap-3 py-4\",children:[u.jsx(E.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1\/0},className:\"w-16 h-16 rounded-full bg-es-cyan-500\/20 flex items-center justify-center\",children:u.jsx(Hn,{className:\"w-8 h-8 text-es-cyan-400\"})}),u.jsxs(\"div\",{className:\"w-full bg-white\/5 rounded-xl p-3 space-y-2\",children:[u.jsxs(\"div\",{className:\"flex items-center justify-between\",children:[u.jsx(\"span\",{className:\"text-es-dark-400 text-[9px]\",children:\"SSID\"}),u.jsx(\"span\",{className:\"text-white text-[10px] font-medium\",children:e.demo.wifi.network})]}),u.jsxs(\"div\",{className:\"flex items-center justify-between\",children:[u.jsx(\"span\",{className:\"text-es-dark-400 text-[9px]\",children:\"\ud83d\udd12 WPA2\"}),u.jsx(\"span\",{className:\"text-es-dark-300 text-[9px]\",children:e.demo.wifi.password})]})]}),u.jsxs(\"div\",{className:\"w-full bg-es-cyan-500 rounded-lg py-2 flex items-center justify-center gap-1.5\",children:[u.jsx(Hn,{className:\"w-3.5 h-3.5 text-white\"}),u.jsx(\"span\",{className:\"text-white text-[10px] font-medium\",children:e.demo.wifi.connect})]}),u.jsx(\"p\",{className:\"text-es-dark-500 text-[8px]\",children:\"EasyServices_Guest \u00b7 2.4 GHz \u00b7 5 GHz\"})]})]})}function K_(){const{t:e}=ie();return u.jsxs(\"div\",{children:[u.jsx(ai,{title:e.demo.profile.title,color:\"from-pink-400 to-purple-500\"}),u.jsxs(\"div\",{className:\"flex flex-col items-center gap-3\",children:[u.jsx(\"div\",{className:\"w-16 h-16 rounded-2xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shadow-lg\",children:u.jsx(\"span\",{className:\"text-white font-bold text-lg\",children:\"ES\"})}),u.jsxs(\"div\",{className:\"text-center\",children:[u.jsx(\"p\",{className:\"text-white text-sm font-semibold\",children:\"Easy Services\"}),u.jsx(\"p\",{className:\"text-es-dark-400 text-[10px]\",children:\"easyservices.store\"})]}),u.jsxs(\"div\",{className:\"w-full space-y-1.5\",children:[u.jsxs(\"div\",{className:\"flex items-center gap-2 bg-white\/5 rounded-lg px-3 py-2\",children:[u.jsx(wd,{className:\"w-3.5 h-3.5 text-es-cyan-400\"}),u.jsx(\"span\",{className:\"text-white text-[10px]\",children:e.demo.profile.phone})]}),u.jsxs(\"div\",{className:\"flex items-center gap-2 bg-white\/5 rounded-lg px-3 py-2\",children:[u.jsx(pa,{className:\"w-3.5 h-3.5 text-es-cyan-400\"}),u.jsx(\"span\",{className:\"text-white text-[10px]\",children:e.demo.profile.location})]}),u.jsxs(\"div\",{className:\"flex items-center gap-2 bg-white\/5 rounded-lg px-3 py-2\",children:[u.jsx(Vu,{className:\"w-3.5 h-3.5 text-pink-400\"}),u.jsx(\"span\",{className:\"text-white text-[10px]\",children:\"@easyservices.ma\"})]})]}),u.jsxs(\"div\",{className:\"w-full grid grid-cols-2 gap-2 mt-1\",children:[u.jsxs(\"div\",{className:\"bg-gradient-to-r from-pink-500 to-purple-500 rounded-lg py-2 flex items-center justify-center gap-1.5\",children:[u.jsx(Vu,{className:\"w-3 h-3 text-white\"}),u.jsx(\"span\",{className:\"text-white text-[9px] font-medium\",children:e.demo.profile.follow})]}),u.jsxs(\"div\",{className:\"bg-white\/10 rounded-lg py-2 flex items-center justify-center gap-1.5\",children:[u.jsx(E_,{className:\"w-3 h-3 text-white\"}),u.jsx(\"span\",{className:\"text-white text-[9px] font-medium\",children:e.demo.profile.save})]})]})]})]})}function G_(){const{t:e}=ie(),t=[{key:\"restaurants\",icon:bd,color:\"from-amber-400 to-orange-500\"},{key:\"cafes\",icon:y_,color:\"from-orange-400 to-amber-600\"},{key:\"salons\",icon:T_,color:\"from-pink-400 to-rose-500\"},{key:\"hotels\",icon:k_,color:\"from-es-blue-400 to-es-cyan-500\"},{key:\"commerces\",icon:P_,color:\"from-es-wa-500 to-es-wa-600\"},{key:\"pros\",icon:p_,color:\"from-violet-400 to-purple-500\"}];return u.jsxs(\"section\",{id:\"metiers\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-900 to-es-dark-960\"}),u.jsx(\"div\",{className:\"absolute bottom-1\/3 left-1\/4 w-96 h-96 bg-es-blue-500\/10 rounded-full blur-[120px]\"}),u.jsxs(\"div\",{className:\"relative max-w-6xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-16\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.metiers.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.metiers.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400 max-w-2xl mx-auto\",children:e.metiers.subtitle})]}),u.jsx(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6\",children:t.map(({key:n,icon:r,color:s},i)=>{const o=e.metiers.items[n];return u.jsxs(E.div,{variants:L,custom:i,whileHover:{y:-8},transition:{type:\"spring\",stiffness:300,damping:20},className:\"group glass-card rounded-2xl p-6 relative overflow-hidden\",children:[u.jsx(\"div\",{className:`absolute -top-16 -right-16 w-32 h-32 rounded-full blur-3xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 bg-gradient-to-br ${s}`}),u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:`w-12 h-12 rounded-xl bg-gradient-to-br ${s} flex items-center justify-center shadow-lg mb-4 group-hover:scale-110 group-hover:rotate-3 transition-transform duration-300`,children:u.jsx(r,{className:\"w-6 h-6 text-white\"})}),u.jsx(\"h3\",{className:\"text-white font-semibold text-lg mb-2\",children:o.name}),u.jsx(\"p\",{className:\"text-es-dark-400 text-sm mb-3 leading-relaxed\",children:o.desc}),u.jsx(\"div\",{className:\"flex flex-wrap gap-2\",children:o.tags.map(a=>u.jsx(\"span\",{className:\"text-[11px] px-2.5 py-1 rounded-full bg-white\/5 text-es-cyan-400 border border-white\/10\",children:a},a))})]})]},n)})})]})]})}function Q_(){const{t:e}=ie(),t=[e.bracelet.feature1,e.bracelet.feature2,e.bracelet.feature3];return u.jsxs(\"section\",{className:\"relative py-28 px-6 overflow-hidden\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 to-es-dark-900\"}),u.jsx(\"div\",{className:\"absolute top-1\/3 right-0 w-96 h-96 bg-es-cyan-500\/15 rounded-full blur-[120px]\"}),u.jsx(\"div\",{className:\"absolute bottom-1\/3 left-0 w-96 h-96 bg-es-blue-500\/15 rounded-full blur-[120px]\"}),u.jsxs(\"div\",{className:\"relative max-w-5xl mx-auto grid lg:grid-cols-2 gap-12 items-center\",children:[u.jsxs(E.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0,margin:\"-50px\"},transition:{duration:.8},className:\"flex items-center justify-center relative h-[400px]\",children:[u.jsx(E.div,{animate:{scale:[.3,2.5],opacity:[.5,0]},transition:{duration:2.5,repeat:1\/0,ease:\"easeOut\"},className:\"absolute left-[35%] top-1\/2 -translate-y-1\/2 w-32 h-32 rounded-full border-2 border-es-cyan-400\/40\"}),u.jsx(E.div,{animate:{scale:[.3,2.5],opacity:[.5,0]},transition:{duration:2.5,repeat:1\/0,ease:\"easeOut\",delay:.8},className:\"absolute left-[35%] top-1\/2 -translate-y-1\/2 w-32 h-32 rounded-full border-2 border-es-blue-400\/40\"}),u.jsx(Y_,{}),u.jsx(\"div\",{className:\"absolute right-[5%] top-1\/2 -translate-y-1\/2\",children:u.jsx(Sd,{scale:.7,children:u.jsxs(\"div\",{className:\"flex flex-col items-center justify-center h-full gap-2\",children:[u.jsx(\"div\",{className:\"w-12 h-12 rounded-2xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shadow-lg\",children:u.jsx(\"span\",{className:\"text-white font-bold\",children:\"ES\"})}),u.jsx(\"p\",{className:\"text-white text-[10px] font-semibold\",children:\"Easy Profile\"}),u.jsx(\"p\",{className:\"text-es-dark-400 text-[8px]\",children:\"Tap to connect\"}),u.jsx(\"div\",{className:\"w-full bg-es-wa-500\/80 rounded py-1 flex items-center justify-center mt-1\",children:u.jsx(\"span\",{className:\"text-white text-[8px]\",children:\"WhatsApp\"})})]})})})]}),u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.bracelet.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight leading-tight\",children:e.bracelet.title}),u.jsx(E.p,{variants:L,className:\"mt-5 text-es-dark-300 leading-relaxed\",children:e.bracelet.subtitle}),u.jsx(E.ul,{variants:L,className:\"mt-6 space-y-3\",children:t.map(n=>u.jsxs(\"li\",{className:\"flex items-center gap-3\",children:[u.jsx(\"div\",{className:\"w-5 h-5 rounded-full bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center shrink-0\",children:u.jsx(fa,{className:\"w-3 h-3 text-white\"})}),u.jsx(\"span\",{className:\"text-es-dark-200 text-sm\",children:n})]},n))}),u.jsxs(E.a,{variants:L,href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"mt-8 inline-flex items-center gap-2 px-6 py-3.5 rounded-xl bg-es-wa-500 text-white font-medium shadow-xl shadow-es-wa-500\/25 hover:bg-es-wa-400 hover:scale-[1.03] transition-all duration-300\",children:[u.jsx(Re,{className:\"w-5 h-5\"}),e.bracelet.cta]})]})]})]})}function Y_(){return u.jsx(E.div,{animate:{y:[0,-10,0]},transition:{duration:5,repeat:1\/0,ease:\"easeInOut\"},className:\"relative\",children:u.jsxs(\"svg\",{viewBox:\"0 0 220 140\",className:\"w-56\",children:[u.jsx(\"ellipse\",{cx:\"110\",cy:\"70\",rx:\"95\",ry:\"42\",fill:\"url(#glowGrad)\",opacity:\"0.3\"}),u.jsx(\"ellipse\",{cx:\"110\",cy:\"72\",rx:\"85\",ry:\"38\",fill:\"none\",stroke:\"url(#bandGrad2)\",strokeWidth:\"18\",strokeLinecap:\"round\"}),u.jsx(\"ellipse\",{cx:\"110\",cy:\"70\",rx:\"85\",ry:\"36\",fill:\"none\",stroke:\"rgba(255,255,255,0.06)\",strokeWidth:\"2\"}),u.jsx(\"rect\",{x:\"95\",y:\"30\",width:\"30\",height:\"22\",rx:\"5\",fill:\"#0f172a\",stroke:\"#22d3ee\",strokeWidth:\"2\"}),u.jsx(\"text\",{x:\"110\",y:\"44\",textAnchor:\"middle\",fill:\"#22d3ee\",fontSize:\"8\",fontWeight:\"bold\",children:\"NFC\"}),u.jsx(\"circle\",{cx:\"110\",cy:\"41\",r:\"18\",fill:\"#22d3ee\",opacity:\"0.2\"}),u.jsx(\"text\",{x:\"110\",y:\"108\",textAnchor:\"middle\",fill:\"rgba(255,255,255,0.3)\",fontSize:\"7\",fontWeight:\"600\",letterSpacing:\"2\",children:\"EASY SERVICES\"}),u.jsxs(\"defs\",{children:[u.jsxs(\"linearGradient\",{id:\"bandGrad2\",x1:\"0\",y1:\"0\",x2:\"220\",y2:\"140\",children:[u.jsx(\"stop\",{offset:\"0%\",stopColor:\"#2b7bff\"}),u.jsx(\"stop\",{offset:\"50%\",stopColor:\"#1560f0\"}),u.jsx(\"stop\",{offset:\"100%\",stopColor:\"#0e7490\"})]}),u.jsxs(\"radialGradient\",{id:\"glowGrad\",children:[u.jsx(\"stop\",{offset:\"0%\",stopColor:\"#22d3ee\"}),u.jsx(\"stop\",{offset:\"100%\",stopColor:\"transparent\"})]})]})]})})}function X_(){const{t:e}=ie(),t=[e.reviewSpot.point1,e.reviewSpot.point2,e.reviewSpot.point3,e.reviewSpot.point4];return u.jsxs(\"section\",{className:\"relative py-28 px-6 overflow-hidden\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-900 to-es-dark-960\"}),u.jsx(\"div\",{className:\"absolute top-1\/3 left-1\/4 w-96 h-96 bg-es-cyan-500\/10 rounded-full blur-[120px]\"}),u.jsxs(\"div\",{className:\"relative max-w-5xl mx-auto grid lg:grid-cols-2 gap-12 items-center\",children:[u.jsx(E.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0,margin:\"-50px\"},transition:{duration:.8},className:\"flex items-center justify-center relative h-[400px] order-2 lg:order-1\",children:u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute -bottom-8 left-1\/2 -translate-x-1\/2 w-64 h-3 rounded-full bg-es-dark-700\/50\"}),u.jsxs(E.div,{animate:{y:[0,-6,0]},transition:{duration:5,repeat:1\/0,ease:\"easeInOut\"},className:\"relative\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-es-cyan-500\/20 rounded-2xl blur-2xl animate-glow-pulse\"}),u.jsxs(\"div\",{className:\"relative w-36 h-44 rounded-2xl bg-gradient-to-b from-es-dark-700 to-es-dark-800 border border-white\/10 shadow-2xl overflow-hidden\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-br from-white\/10 via-transparent to-transparent\"}),u.jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",className:\"absolute top-6 left-1\/2 -translate-x-1\/2 w-10 h-10\",children:[u.jsx(\"path\",{d:\"M6 8c2 0 3 1.5 3 4s-1 4-3 4\",stroke:\"url(#nfcGrad3)\",strokeWidth:\"2\",strokeLinecap:\"round\"}),u.jsx(\"path\",{d:\"M10 6c3 0 4.5 2.5 4.5 6s-1.5 6-4.5 6\",stroke:\"url(#nfcGrad3)\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.6\"}),u.jsx(\"path\",{d:\"M14 4c4 0 6 3 6 8s-2 8-6 8\",stroke:\"url(#nfcGrad3)\",strokeWidth:\"2\",strokeLinecap:\"round\",opacity:\"0.3\"}),u.jsx(\"defs\",{children:u.jsxs(\"linearGradient\",{id:\"nfcGrad3\",x1:\"0\",y1:\"0\",x2:\"24\",y2:\"24\",children:[u.jsx(\"stop\",{offset:\"0%\",stopColor:\"#2b7bff\"}),u.jsx(\"stop\",{offset:\"100%\",stopColor:\"#22d3ee\"})]})})]}),u.jsx(\"p\",{className:\"absolute top-20 left-1\/2 -translate-x-1\/2 text-[9px] text-es-blue-400 font-bold tracking-wider whitespace-nowrap\",children:\"EASY REVIEW\"}),u.jsx(\"p\",{className:\"absolute top-26 left-1\/2 -translate-x-1\/2 text-[7px] text-es-dark-400 whitespace-nowrap mt-1\",children:\"Google Reviews\"}),u.jsx(\"div\",{className:\"absolute bottom-4 left-1\/2 -translate-x-1\/2 w-14 h-14 rounded-md bg-white p-1.5 shadow-lg\",children:u.jsx(\"div\",{className:\"grid grid-cols-6 gap-0.5 w-full h-full\",children:Array.from({length:36}).map((n,r)=>{const s=[0,1,2,3,4,5,6,11,12,14,17,18,19,20,21,22,23,24,25,28,30,31,32,33,34,35].includes(r);return u.jsx(\"div\",{className:`rounded-[1px] ${s?\"bg-es-dark-900\":\"bg-white\"}`},r)})})})]})]}),u.jsx(E.div,{animate:{y:[0,8,0]},transition:{duration:4,repeat:1\/0,ease:\"easeInOut\",delay:1},className:\"absolute -right-8 top-0 z-20\",children:u.jsxs(\"div\",{className:\"w-24 h-40 rounded-2xl bg-es-dark-800 border-2 border-es-dark-700 shadow-xl p-1.5\",children:[u.jsx(\"div\",{className:\"absolute top-0 left-1\/2 -translate-x-1\/2 w-8 h-3 bg-es-dark-800 rounded-b-xl\"}),u.jsx(\"div\",{className:\"h-full rounded-xl bg-es-dark-950 p-2 pt-4\",children:u.jsxs(\"div\",{className:\"flex flex-col items-center gap-1\",children:[u.jsx(\"div\",{className:\"w-7 h-7 rounded-lg bg-gradient-to-br from-es-blue-500 to-es-cyan-500\"}),u.jsx(\"p\",{className:\"text-white text-[7px] font-bold\",children:\"Easy Services\"}),u.jsx(\"div\",{className:\"flex gap-0.5\",children:[1,2,3,4,5].map(n=>u.jsx(\"span\",{className:\"text-[6px] text-amber-400\",children:\"\u2605\"},n))}),u.jsx(\"p\",{className:\"text-amber-400 text-[8px] font-bold\",children:\"Exemple\"}),u.jsx(\"div\",{className:\"w-full bg-amber-500 rounded py-1 flex items-center justify-center\",children:u.jsx(\"span\",{className:\"text-white text-[6px]\",children:\"Avis\"})})]})})]})}),u.jsx(E.div,{animate:{scale:[.3,1.8],opacity:[.5,0]},transition:{duration:2,repeat:1\/0},className:\"absolute top-8 right-12 w-12 h-12 rounded-full border-2 border-es-cyan-400\/40\"})]})}),u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"order-1 lg:order-2\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.reviewSpot.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-4xl font-bold text-white tracking-tight leading-tight\",children:e.reviewSpot.title}),u.jsx(E.p,{variants:L,className:\"mt-5 text-es-dark-300 leading-relaxed\",children:e.reviewSpot.subtitle}),u.jsx(E.ul,{variants:L,className:\"mt-6 space-y-3\",children:t.map(n=>u.jsxs(\"li\",{className:\"flex items-center gap-3\",children:[u.jsx(\"div\",{className:\"w-5 h-5 rounded-full bg-gradient-to-br from-es-cyan-400 to-es-blue-500 flex items-center justify-center shrink-0\",children:u.jsx(fa,{className:\"w-3 h-3 text-white\"})}),u.jsx(\"span\",{className:\"text-es-dark-200 text-sm\",children:n})]},n))}),u.jsxs(E.div,{variants:L,className:\"mt-6 flex items-center gap-3\",children:[u.jsxs(\"div\",{className:\"glass-dark rounded-xl px-4 py-2.5\",children:[u.jsx(\"span\",{className:\"text-es-dark-400 text-xs block\",children:e.products.launchPrice}),u.jsx(\"span\",{className:\"text-white text-2xl font-bold\",children:\"129 DH\"})]}),u.jsx(\"div\",{className:\"text-es-dark-500 line-through text-lg\",children:\"149 DH\"})]}),u.jsxs(E.a,{variants:L,href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"mt-6 inline-flex items-center gap-2 px-6 py-3.5 rounded-xl bg-es-wa-500 text-white font-medium shadow-xl shadow-es-wa-500\/25 hover:bg-es-wa-400 hover:scale-[1.03] transition-all duration-300\",children:[u.jsx(Re,{className:\"w-5 h-5\"}),e.reviewSpot.cta]})]})]})]})}function J_(){const{t:e}=ie(),t=[{key:\"physical\",icon:Dy,color:\"from-es-blue-400 to-es-cyan-500\"},{key:\"digital\",icon:Fy,color:\"from-es-wa-500 to-es-wa-600\"},{key:\"custom\",icon:__,color:\"from-pink-400 to-rose-500\"},{key:\"local\",icon:pa,color:\"from-amber-400 to-orange-500\"}];return u.jsxs(\"section\",{className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 to-es-dark-900\"}),u.jsx(\"div\",{className:\"absolute top-1\/2 left-1\/2 -translate-x-1\/2 -translate-y-1\/2 w-[500px] h-[300px] bg-es-blue-500\/8 rounded-full blur-[130px]\"}),u.jsxs(\"div\",{className:\"relative max-w-5xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-16\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.diff.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.diff.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400 max-w-2xl mx-auto leading-relaxed\",children:e.diff.subtitle})]}),u.jsx(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6\",children:t.map(({key:n,icon:r,color:s},i)=>{const o=e.diff.cards[n];return u.jsxs(E.div,{variants:L,custom:i,whileHover:{y:-6},transition:{type:\"spring\",stiffness:300,damping:20},className:\"glass-card rounded-2xl p-6 text-center group\",children:[u.jsx(\"div\",{className:`w-14 h-14 rounded-2xl bg-gradient-to-br ${s} flex items-center justify-center shadow-lg mx-auto mb-4 group-hover:scale-110 group-hover:rotate-3 transition-transform duration-300`,children:u.jsx(r,{className:\"w-7 h-7 text-white\"})}),u.jsx(\"h3\",{className:\"text-white font-semibold text-base mb-2\",children:o.title}),u.jsx(\"p\",{className:\"text-es-dark-400 text-sm leading-relaxed\",children:o.desc})]},n)})})]})]})}function Z_(){const{t:e}=ie();return u.jsxs(\"section\",{className:\"relative py-28 px-6 overflow-hidden\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-900 to-es-dark-960\"}),u.jsx(\"div\",{className:\"absolute top-1\/2 left-1\/2 -translate-x-1\/2 -translate-y-1\/2 w-[600px] h-[400px] bg-es-blue-500\/10 rounded-full blur-[130px]\"}),u.jsx(\"div\",{className:\"relative max-w-4xl mx-auto text-center\",children:u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},children:[u.jsx(E.div,{variants:L,className:\"text-6xl mb-6\",children:\"\ud83c\uddf2\ud83c\udde6\"}),u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.maroc.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.maroc.title}),u.jsx(E.p,{variants:L,className:\"mt-5 text-es-dark-300 max-w-xl mx-auto leading-relaxed\",children:e.maroc.subtitle}),u.jsxs(E.div,{variants:L,className:\"mt-10 flex flex-col sm:flex-row items-center justify-center gap-6\",children:[u.jsxs(\"div\",{className:\"glass-dark rounded-2xl px-8 py-5 flex items-center gap-3\",children:[u.jsx(pa,{className:\"w-5 h-5 text-es-blue-400\"}),u.jsxs(\"div\",{className:\"text-left\",children:[u.jsx(\"p\",{className:\"text-white font-semibold\",children:e.maroc.today}),u.jsx(\"p\",{className:\"text-es-cyan-400 text-xs\",children:\"Lancement\"})]})]}),u.jsx(\"div\",{className:\"text-es-dark-600 text-2xl rtl-flip\",children:\"\u2192\"}),u.jsxs(\"div\",{className:\"glass-dark rounded-2xl px-8 py-5 flex items-center gap-3\",children:[u.jsx(\"div\",{className:\"w-5 h-5 rounded-full bg-gradient-to-br from-es-blue-500 to-es-cyan-500\"}),u.jsxs(\"div\",{className:\"text-left\",children:[u.jsx(\"p\",{className:\"text-white font-semibold\",children:e.maroc.tomorrow}),u.jsx(\"p\",{className:\"text-es-dark-400 text-xs\",children:\"Expansion\"})]})]})]}),u.jsxs(E.a,{variants:L,href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"mt-10 inline-flex items-center gap-2 px-7 py-3.5 rounded-xl bg-es-wa-500 text-white font-medium shadow-xl shadow-es-wa-500\/25 hover:bg-es-wa-400 hover:scale-[1.03] transition-all duration-300\",children:[u.jsx(Re,{className:\"w-5 h-5\"}),e.maroc.cta]})]})})]})}function ej(){const{t:e}=ie(),t=[{key:\"review\",highlighted:!0},{key:\"profile\",highlighted:!1},{key:\"bracelet\",highlighted:!1},{key:\"menu\",highlighted:!1},{key:\"wifi\",highlighted:!1},{key:\"business\",highlighted:!1}];return u.jsxs(\"section\",{id:\"pricing\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 to-es-dark-900\"}),u.jsx(\"div\",{className:\"absolute top-1\/3 left-1\/2 -translate-x-1\/2 w-[500px] h-[300px] bg-es-blue-500\/8 rounded-full blur-[130px]\"}),u.jsxs(\"div\",{className:\"relative max-w-6xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-16\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.pricing.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.pricing.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400 max-w-2xl mx-auto\",children:e.pricing.subtitle})]}),u.jsx(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 items-start\",children:t.map(({key:n,highlighted:r},s)=>{const i=e.pricing.plans[n],a=i.price===e.pricing.onQuote?e.pricing.quoteCta:e.pricing.orderCta;return u.jsxs(E.div,{variants:L,custom:s,whileHover:{y:-6},transition:{type:\"spring\",stiffness:300,damping:20},className:`relative rounded-2xl p-7 transition-colors duration-500 ${r?\"glass border-2 border-es-cyan-400\/40 shadow-2xl shadow-es-cyan-500\/15\":\"glass-card\"}`,children:[r&&u.jsxs(\"div\",{className:\"absolute -top-3 left-1\/2 -translate-x-1\/2 px-3 py-1 rounded-full bg-gradient-to-r from-es-wa-500 to-es-wa-600 text-white text-xs font-medium shadow-lg shadow-es-wa-500\/30 flex items-center gap-1.5\",children:[u.jsx(Wn,{className:\"w-3 h-3 fill-white\"}),e.pricing.popular]}),u.jsx(\"h3\",{className:\"text-white font-bold text-lg\",children:i.name}),u.jsx(\"p\",{className:\"text-es-cyan-400 text-xs mt-1 mb-4\",children:i.desc}),u.jsx(\"div\",{className:\"flex items-baseline gap-2 mb-1\",children:u.jsx(\"span\",{className:\"text-3xl font-bold text-white\",children:i.price})}),i.oldPrice&&u.jsx(\"span\",{className:\"text-es-dark-500 line-through text-sm\",children:i.oldPrice}),u.jsx(\"ul\",{className:\"mt-5 space-y-2.5\",children:i.features.map(l=>u.jsxs(\"li\",{className:\"flex items-start gap-2.5 text-sm text-es-dark-300\",children:[u.jsx(\"div\",{className:`mt-0.5 w-4 h-4 rounded-full flex items-center justify-center shrink-0 ${r?\"bg-gradient-to-br from-es-wa-500 to-es-wa-600\":\"bg-white\/10\"}`,children:u.jsx(fa,{className:\"w-2.5 h-2.5 text-white\"})}),l]},l))}),u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:`mt-6 w-full inline-flex items-center justify-center gap-2 px-5 py-3 rounded-xl font-medium text-sm transition-all duration-300 group ${r?\"bg-es-wa-500 text-white shadow-lg shadow-es-wa-500\/25 hover:shadow-es-wa-500\/40 hover:scale-[1.02]\":\"glass text-white hover:bg-white\/15\"}`,children:[u.jsx(Re,{className:\"w-4 h-4\"}),a,u.jsx(\"span\",{className:\"rtl-flip group-hover:translate-x-1 transition-transform\",children:\"\u2192\"})]})]},n)})})]})]})}function tj(){const{t:e}=ie(),[t,n]=T.useState(0);return u.jsxs(\"section\",{id:\"faq\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-900 to-es-dark-960\"}),u.jsxs(\"div\",{className:\"relative max-w-3xl mx-auto\",children:[u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"text-center mb-12\",children:[u.jsx(E.span,{variants:L,className:\"inline-block text-sm font-medium text-es-cyan-400 mb-3 tracking-wide uppercase\",children:e.faq.badge}),u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.faq.title}),u.jsx(E.p,{variants:L,className:\"mt-4 text-es-dark-400\",children:e.faq.subtitle})]}),u.jsx(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-50px\"},className:\"space-y-3\",children:e.faq.items.map((r,s)=>u.jsxs(E.div,{variants:L,custom:s,className:\"glass-card rounded-xl overflow-hidden\",children:[u.jsxs(\"button\",{onClick:()=>n(t===s?null:s),className:\"w-full flex items-center justify-between gap-4 p-5 text-left\",children:[u.jsx(\"span\",{className:\"text-white font-medium text-sm md:text-base\",children:r.q}),u.jsx(E.div,{animate:{rotate:t===s?180:0},transition:{duration:.3},className:\"shrink-0\",children:u.jsx(g_,{className:\"w-5 h-5 text-es-cyan-400\"})})]}),u.jsx(da,{children:t===s&&u.jsx(E.div,{initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:\"overflow-hidden\",children:u.jsx(\"p\",{className:\"px-5 pb-5 text-es-dark-400 text-sm leading-relaxed\",children:r.a})})})]},s))})]})]})}function nj(){const{t:e}=ie();return u.jsxs(\"section\",{id:\"cta\",className:\"relative py-28 px-6\",children:[u.jsx(\"div\",{className:\"absolute inset-0 bg-gradient-to-b from-es-dark-960 to-es-dark-900\"}),u.jsx(\"div\",{className:\"relative max-w-4xl mx-auto\",children:u.jsxs(E.div,{variants:ve,initial:\"hidden\",whileInView:\"visible\",viewport:{once:!0,margin:\"-100px\"},className:\"relative glass rounded-3xl p-10 md:p-14 text-center overflow-hidden\",children:[u.jsx(E.div,{animate:{x:[0,30,0],y:[0,-20,0]},transition:{duration:8,repeat:1\/0,ease:\"easeInOut\"},className:\"absolute -top-20 -left-20 w-72 h-72 bg-es-blue-500\/25 rounded-full blur-[100px]\"}),u.jsx(E.div,{animate:{x:[0,-30,0],y:[0,20,0]},transition:{duration:8,repeat:1\/0,ease:\"easeInOut\",delay:1},className:\"absolute -bottom-20 -right-20 w-72 h-72 bg-es-wa-500\/25 rounded-full blur-[100px]\"}),u.jsxs(\"div\",{className:\"relative\",children:[u.jsx(E.h2,{variants:L,className:\"text-3xl md:text-5xl font-bold text-white tracking-tight\",children:e.cta.title}),u.jsx(E.p,{variants:L,className:\"mt-5 text-es-dark-300 max-w-xl mx-auto\",children:e.cta.subtitle}),u.jsxs(E.div,{variants:L,className:\"mt-10 flex flex-col sm:flex-row items-center justify-center gap-4\",children:[u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"group inline-flex items-center gap-2 px-8 py-4 rounded-xl bg-es-wa-500 text-white font-medium shadow-xl shadow-es-wa-500\/30 hover:bg-es-wa-400 hover:shadow-es-wa-500\/50 hover:scale-[1.03] transition-all duration-300 w-full sm:w-auto justify-center\",children:[u.jsx(Re,{className:\"w-5 h-5\"}),e.cta.whatsapp]}),u.jsxs(\"a\",{href:`tel:+${Bo}`,className:\"inline-flex items-center gap-2 px-8 py-4 rounded-xl glass-dark text-white font-medium hover:bg-white\/15 transition-all duration-300 w-full sm:w-auto justify-center\",children:[u.jsx(wd,{className:\"w-5 h-5 text-es-cyan-400\"}),e.cta.call]})]}),u.jsx(E.p,{variants:L,className:\"mt-6 text-xs text-es-dark-500\",children:e.cta.note})]})]})})]})}function rj(){const{t:e}=ie(),t=[{icon:Vu,href:\"https:\/\/instagram.com\/easyservices.ma\",label:\"Instagram\"},{icon:v_,href:\"https:\/\/facebook.com\/easyservices.ma\",label:\"Facebook\"},{icon:Re,href:ot,label:\"WhatsApp\"}],n=[{label:e.footer.links.concept,href:\"#concept\"},{label:e.footer.links.products,href:\"#products\"},{label:e.footer.links.demo,href:\"#demo\"},{label:e.footer.links.pricing,href:\"#pricing\"},{label:e.footer.links.faq,href:\"#faq\"}];return u.jsx(\"footer\",{className:\"relative bg-es-dark-960 border-t border-white\/5 pt-20 pb-10 px-6\",children:u.jsxs(\"div\",{className:\"max-w-6xl mx-auto\",children:[u.jsxs(\"div\",{className:\"grid grid-cols-1 md:grid-cols-4 gap-10 mb-14\",children:[u.jsxs(\"div\",{className:\"md:col-span-1\",children:[u.jsx(By,{size:36}),u.jsx(\"p\",{className:\"text-es-dark-400 text-sm mt-4 max-w-xs leading-relaxed\",children:e.footer.tagline}),u.jsx(\"div\",{className:\"flex gap-3 mt-6\",children:t.map(({icon:r,href:s,label:i})=>u.jsx(\"a\",{href:s,target:\"_blank\",rel:\"noopener noreferrer\",\"aria-label\":i,className:\"w-9 h-9 rounded-lg glass-dark flex items-center justify-center text-es-dark-400 hover:text-white hover:bg-white\/15 transition-all duration-300\",children:u.jsx(r,{className:\"w-4 h-4\"})},i))})]}),u.jsxs(\"div\",{children:[u.jsx(\"h4\",{className:\"text-white text-sm font-semibold mb-4\",children:e.nav.products}),u.jsx(\"ul\",{className:\"space-y-2.5\",children:n.map(r=>u.jsx(\"li\",{children:u.jsx(\"a\",{href:r.href,className:\"text-es-dark-400 hover:text-white text-sm transition-colors duration-300\",children:r.label})},r.href))})]}),u.jsxs(\"div\",{children:[u.jsx(\"h4\",{className:\"text-white text-sm font-semibold mb-4\",children:e.footer.contact}),u.jsxs(\"ul\",{className:\"space-y-3\",children:[u.jsx(\"li\",{children:u.jsxs(\"a\",{href:ot,target:\"_blank\",rel:\"noopener noreferrer\",className:\"flex items-center gap-2 text-es-dark-400 hover:text-es-wa-400 text-sm transition-colors\",children:[u.jsx(Re,{className:\"w-4 h-4\"}),e.footer.phone]})}),u.jsx(\"li\",{children:u.jsxs(\"a\",{href:`tel:+${Bo}`,className:\"flex items-center gap-2 text-es-dark-400 hover:text-white text-sm transition-colors\",children:[u.jsx(wd,{className:\"w-4 h-4\"}),\"+\",Bo]})}),u.jsxs(\"li\",{className:\"flex items-center gap-2 text-es-dark-400 text-sm\",children:[u.jsx(pa,{className:\"w-4 h-4\"}),\"Rabat, Maroc\"]})]}),u.jsx(\"p\",{className:\"text-es-dark-500 text-xs mt-3\",children:\"easyservices.store\"})]}),u.jsxs(\"div\",{children:[u.jsx(\"h4\",{className:\"text-white text-sm font-semibold mb-4\",children:e.footer.legal}),u.jsxs(\"ul\",{className:\"space-y-2.5\",children:[u.jsx(\"li\",{children:u.jsx(\"a\",{href:\"#\",className:\"text-es-dark-400 hover:text-white text-sm transition-colors duration-300\",children:e.footer.privacy})}),u.jsx(\"li\",{children:u.jsx(\"a\",{href:\"#\",className:\"text-es-dark-400 hover:text-white text-sm transition-colors duration-300\",children:e.footer.terms})})]})]})]}),u.jsxs(\"div\",{className:\"border-t border-white\/5 pt-8 flex flex-col md:flex-row items-center justify-between gap-4\",children:[u.jsxs(\"p\",{className:\"text-es-dark-500 text-xs\",children:[\"\u00a9 2026 Easy Services. \",e.footer.rights]}),u.jsxs(\"p\",{className:\"text-es-dark-500 text-xs flex items-center gap-1.5\",children:[u.jsx(\"span\",{className:\"text-es-cyan-400\",children:\"\u25cf\"}),e.footer.madeIn,\" \ud83c\uddf2\ud83c\udde6\"]})]})]})})}const sj=\"modulepreload\",ij=function(e){return\"\/\"+e},pp={},li=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName(\"link\");const o=document.querySelector(\"meta[property=csp-nonce]\"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute(\"nonce\"));s=Promise.allSettled(n.map(l=>{if(l=ij(l),l in pp)return;pp[l]=!0;const c=l.endsWith(\".css\"),d=c?'[rel=\"stylesheet\"]':\"\";if(document.querySelector(`link[href=\"${l}\"]${d}`))return;const h=document.createElement(\"link\");if(h.rel=c?\"stylesheet\":sj,c||(h.as=\"script\"),h.crossOrigin=\"\",h.href=l,a&&h.setAttribute(\"nonce\",a),document.head.appendChild(h),c)return new Promise((f,p)=>{h.addEventListener(\"load\",f),h.addEventListener(\"error\",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const a=new Event(\"vite:preloadError\",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return s.then(o=>{for(const a of o||[])a.status===\"rejected\"&&i(a.reason);return t().catch(i)})},oj=e=>{let t;return e?t=e:typeof fetch>\"u\"?t=(...n)=>li(async()=>{const{default:r}=await Promise.resolve().then(()=>qr);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)};class _d extends Error{constructor(t,n=\"FunctionsError\",r){super(t),this.name=n,this.context=r}}class aj extends _d{constructor(t){super(\"Failed to send a request to the Edge Function\",\"FunctionsFetchError\",t)}}class mp extends _d{constructor(t){super(\"Relay Error invoking the Edge Function\",\"FunctionsRelayError\",t)}}class gp extends _d{constructor(t){super(\"Edge Function returned a non-2xx status code\",\"FunctionsHttpError\",t)}}var $u;(function(e){e.Any=\"any\",e.ApNortheast1=\"ap-northeast-1\",e.ApNortheast2=\"ap-northeast-2\",e.ApSouth1=\"ap-south-1\",e.ApSoutheast1=\"ap-southeast-1\",e.ApSoutheast2=\"ap-southeast-2\",e.CaCentral1=\"ca-central-1\",e.EuCentral1=\"eu-central-1\",e.EuWest1=\"eu-west-1\",e.EuWest2=\"eu-west-2\",e.EuWest3=\"eu-west-3\",e.SaEast1=\"sa-east-1\",e.UsEast1=\"us-east-1\",e.UsWest1=\"us-west-1\",e.UsWest2=\"us-west-2\"})($u||($u={}));var lj=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};class uj{constructor(t,{headers:n={},customFetch:r,region:s=$u.Any}={}){this.url=t,this.headers=n,this.region=s,this.fetch=oj(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return lj(this,void 0,void 0,function*(){try{const{headers:s,method:i,body:o}=n;let a={},{region:l}=n;l||(l=this.region);const c=new URL(`${this.url}\/${t}`);l&&l!==\"any\"&&(a[\"x-region\"]=l,c.searchParams.set(\"forceFunctionRegion\",l));let d;o&&(s&&!Object.prototype.hasOwnProperty.call(s,\"Content-Type\")||!s)&&(typeof Blob<\"u\"&&o instanceof Blob||o instanceof ArrayBuffer?(a[\"Content-Type\"]=\"application\/octet-stream\",d=o):typeof o==\"string\"?(a[\"Content-Type\"]=\"text\/plain\",d=o):typeof FormData<\"u\"&&o instanceof FormData?d=o:(a[\"Content-Type\"]=\"application\/json\",d=JSON.stringify(o)));const h=yield this.fetch(c.toString(),{method:i||\"POST\",headers:Object.assign(Object.assign(Object.assign({},a),this.headers),s),body:d}).catch(x=>{throw new aj(x)}),f=h.headers.get(\"x-relay-error\");if(f&&f===\"true\")throw new mp(h);if(!h.ok)throw new gp(h);let p=((r=h.headers.get(\"Content-Type\"))!==null&&r!==void 0?r:\"text\/plain\").split(\";\")[0].trim(),v;return p===\"application\/json\"?v=yield h.json():p===\"application\/octet-stream\"?v=yield h.blob():p===\"text\/event-stream\"?v=h:p===\"multipart\/form-data\"?v=yield h.formData():v=yield h.text(),{data:v,error:null,response:h}}catch(s){return{data:null,error:s,response:s instanceof gp||s instanceof mp?s.context:void 0}}})}}var Ie={},jd={},ma={},ui={},ga={},ya={},cj=function(){if(typeof self<\"u\")return self;if(typeof window<\"u\")return window;if(typeof global<\"u\")return global;throw new Error(\"unable to locate global object\")},Vr=cj();const dj=Vr.fetch,zy=Vr.fetch.bind(Vr),Wy=Vr.Headers,hj=Vr.Request,fj=Vr.Response,qr=Object.freeze(Object.defineProperty({__proto__:null,Headers:Wy,Request:hj,Response:fj,default:zy,fetch:dj},Symbol.toStringTag,{value:\"Module\"})),pj=hv(qr);var va={};Object.defineProperty(va,\"__esModule\",{value:!0});let mj=class extends Error{constructor(t){super(t.message),this.name=\"PostgrestError\",this.details=t.details,this.hint=t.hint,this.code=t.code}};va.default=mj;var Hy=nt&&nt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ya,\"__esModule\",{value:!0});const gj=Hy(pj),yj=Hy(va);let vj=class{constructor(t){var n,r;this.shouldThrowOnError=!1,this.method=t.method,this.url=t.url,this.headers=new Headers(t.headers),this.schema=t.schema,this.body=t.body,this.shouldThrowOnError=(n=t.shouldThrowOnError)!==null&&n!==void 0?n:!1,this.signal=t.signal,this.isMaybeSingle=(r=t.isMaybeSingle)!==null&&r!==void 0?r:!1,t.fetch?this.fetch=t.fetch:typeof fetch>\"u\"?this.fetch=gj.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(t,n){return this.headers=new Headers(this.headers),this.headers.set(t,n),this}then(t,n){this.schema===void 0||([\"GET\",\"HEAD\"].includes(this.method)?this.headers.set(\"Accept-Profile\",this.schema):this.headers.set(\"Content-Profile\",this.schema)),this.method!==\"GET\"&&this.method!==\"HEAD\"&&this.headers.set(\"Content-Type\",\"application\/json\");const r=this.fetch;let s=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async i=>{var o,a,l,c;let d=null,h=null,f=null,p=i.status,v=i.statusText;if(i.ok){if(this.method!==\"HEAD\"){const m=await i.text();m===\"\"||(this.headers.get(\"Accept\")===\"text\/csv\"||this.headers.get(\"Accept\")&&(!((o=this.headers.get(\"Accept\"))===null||o===void 0)&&o.includes(\"application\/vnd.pgrst.plan+text\"))?h=m:h=JSON.parse(m))}const k=(a=this.headers.get(\"Prefer\"))===null||a===void 0?void 0:a.match(\/count=(exact|planned|estimated)\/),g=(l=i.headers.get(\"content-range\"))===null||l===void 0?void 0:l.split(\"\/\");k&&g&&g.length>1&&(f=parseInt(g[1])),this.isMaybeSingle&&this.method===\"GET\"&&Array.isArray(h)&&(h.length>1?(d={code:\"PGRST116\",details:`Results contain ${h.length} rows, application\/vnd.pgrst.object+json requires 1 row`,hint:null,message:\"JSON object requested, multiple (or no) rows returned\"},h=null,f=null,p=406,v=\"Not Acceptable\"):h.length===1?h=h[0]:h=null)}else{const k=await i.text();try{d=JSON.parse(k),Array.isArray(d)&&i.status===404&&(h=[],d=null,p=200,v=\"OK\")}catch{i.status===404&&k===\"\"?(p=204,v=\"No Content\"):d={message:k}}if(d&&this.isMaybeSingle&&(!((c=d==null?void 0:d.details)===null||c===void 0)&&c.includes(\"0 rows\"))&&(d=null,p=200,v=\"OK\"),d&&this.shouldThrowOnError)throw new yj.default(d)}return{error:d,data:h,count:f,status:p,statusText:v}});return this.shouldThrowOnError||(s=s.catch(i=>{var o,a,l;return{error:{message:`${(o=i==null?void 0:i.name)!==null&&o!==void 0?o:\"FetchError\"}: ${i==null?void 0:i.message}`,details:`${(a=i==null?void 0:i.stack)!==null&&a!==void 0?a:\"\"}`,hint:\"\",code:`${(l=i==null?void 0:i.code)!==null&&l!==void 0?l:\"\"}`},data:null,count:null,status:0,statusText:\"\"}})),s.then(t,n)}returns(){return this}overrideTypes(){return this}};ya.default=vj;var xj=nt&&nt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ga,\"__esModule\",{value:!0});const wj=xj(ya);let kj=class extends wj.default{select(t){let n=!1;const r=(t??\"*\").split(\"\").map(s=>\/\\s\/.test(s)&&!n?\"\":(s==='\"'&&(n=!n),s)).join(\"\");return this.url.searchParams.set(\"select\",r),this.headers.append(\"Prefer\",\"return=representation\"),this}order(t,{ascending:n=!0,nullsFirst:r,foreignTable:s,referencedTable:i=s}={}){const o=i?`${i}.order`:\"order\",a=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${a?`${a},`:\"\"}${t}.${n?\"asc\":\"desc\"}${r===void 0?\"\":r?\".nullsfirst\":\".nullslast\"}`),this}limit(t,{foreignTable:n,referencedTable:r=n}={}){const s=typeof r>\"u\"?\"limit\":`${r}.limit`;return this.url.searchParams.set(s,`${t}`),this}range(t,n,{foreignTable:r,referencedTable:s=r}={}){const i=typeof s>\"u\"?\"offset\":`${s}.offset`,o=typeof s>\"u\"?\"limit\":`${s}.limit`;return this.url.searchParams.set(i,`${t}`),this.url.searchParams.set(o,`${n-t+1}`),this}abortSignal(t){return this.signal=t,this}single(){return this.headers.set(\"Accept\",\"application\/vnd.pgrst.object+json\"),this}maybeSingle(){return this.method===\"GET\"?this.headers.set(\"Accept\",\"application\/json\"):this.headers.set(\"Accept\",\"application\/vnd.pgrst.object+json\"),this.isMaybeSingle=!0,this}csv(){return this.headers.set(\"Accept\",\"text\/csv\"),this}geojson(){return this.headers.set(\"Accept\",\"application\/geo+json\"),this}explain({analyze:t=!1,verbose:n=!1,settings:r=!1,buffers:s=!1,wal:i=!1,format:o=\"text\"}={}){var a;const l=[t?\"analyze\":null,n?\"verbose\":null,r?\"settings\":null,s?\"buffers\":null,i?\"wal\":null].filter(Boolean).join(\"|\"),c=(a=this.headers.get(\"Accept\"))!==null&&a!==void 0?a:\"application\/json\";return this.headers.set(\"Accept\",`application\/vnd.pgrst.plan+${o}; for=\"${c}\"; options=${l};`),o===\"json\"?this:this}rollback(){return this.headers.append(\"Prefer\",\"tx=rollback\"),this}returns(){return this}maxAffected(t){return this.headers.append(\"Prefer\",\"handling=strict\"),this.headers.append(\"Prefer\",`max-affected=${t}`),this}};ga.default=kj;var bj=nt&&nt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ui,\"__esModule\",{value:!0});const Sj=bj(ga);let _j=class extends Sj.default{eq(t,n){return this.url.searchParams.append(t,`eq.${n}`),this}neq(t,n){return this.url.searchParams.append(t,`neq.${n}`),this}gt(t,n){return this.url.searchParams.append(t,`gt.${n}`),this}gte(t,n){return this.url.searchParams.append(t,`gte.${n}`),this}lt(t,n){return this.url.searchParams.append(t,`lt.${n}`),this}lte(t,n){return this.url.searchParams.append(t,`lte.${n}`),this}like(t,n){return this.url.searchParams.append(t,`like.${n}`),this}likeAllOf(t,n){return this.url.searchParams.append(t,`like(all).{${n.join(\",\")}}`),this}likeAnyOf(t,n){return this.url.searchParams.append(t,`like(any).{${n.join(\",\")}}`),this}ilike(t,n){return this.url.searchParams.append(t,`ilike.${n}`),this}ilikeAllOf(t,n){return this.url.searchParams.append(t,`ilike(all).{${n.join(\",\")}}`),this}ilikeAnyOf(t,n){return this.url.searchParams.append(t,`ilike(any).{${n.join(\",\")}}`),this}is(t,n){return this.url.searchParams.append(t,`is.${n}`),this}in(t,n){const r=Array.from(new Set(n)).map(s=>typeof s==\"string\"&&new RegExp(\"[,()]\").test(s)?`\"${s}\"`:`${s}`).join(\",\");return this.url.searchParams.append(t,`in.(${r})`),this}contains(t,n){return typeof n==\"string\"?this.url.searchParams.append(t,`cs.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cs.{${n.join(\",\")}}`):this.url.searchParams.append(t,`cs.${JSON.stringify(n)}`),this}containedBy(t,n){return typeof n==\"string\"?this.url.searchParams.append(t,`cd.${n}`):Array.isArray(n)?this.url.searchParams.append(t,`cd.{${n.join(\",\")}}`):this.url.searchParams.append(t,`cd.${JSON.stringify(n)}`),this}rangeGt(t,n){return this.url.searchParams.append(t,`sr.${n}`),this}rangeGte(t,n){return this.url.searchParams.append(t,`nxl.${n}`),this}rangeLt(t,n){return this.url.searchParams.append(t,`sl.${n}`),this}rangeLte(t,n){return this.url.searchParams.append(t,`nxr.${n}`),this}rangeAdjacent(t,n){return this.url.searchParams.append(t,`adj.${n}`),this}overlaps(t,n){return typeof n==\"string\"?this.url.searchParams.append(t,`ov.${n}`):this.url.searchParams.append(t,`ov.{${n.join(\",\")}}`),this}textSearch(t,n,{config:r,type:s}={}){let i=\"\";s===\"plain\"?i=\"pl\":s===\"phrase\"?i=\"ph\":s===\"websearch\"&&(i=\"w\");const o=r===void 0?\"\":`(${r})`;return this.url.searchParams.append(t,`${i}fts${o}.${n}`),this}match(t){return Object.entries(t).forEach(([n,r])=>{this.url.searchParams.append(n,`eq.${r}`)}),this}not(t,n,r){return this.url.searchParams.append(t,`not.${n}.${r}`),this}or(t,{foreignTable:n,referencedTable:r=n}={}){const s=r?`${r}.or`:\"or\";return this.url.searchParams.append(s,`(${t})`),this}filter(t,n,r){return this.url.searchParams.append(t,`${n}.${r}`),this}};ui.default=_j;var jj=nt&&nt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ma,\"__esModule\",{value:!0});const rs=jj(ui);let Ej=class{constructor(t,{headers:n={},schema:r,fetch:s}){this.url=t,this.headers=new Headers(n),this.schema=r,this.fetch=s}select(t,{head:n=!1,count:r}={}){const s=n?\"HEAD\":\"GET\";let i=!1;const o=(t??\"*\").split(\"\").map(a=>\/\\s\/.test(a)&&!i?\"\":(a==='\"'&&(i=!i),a)).join(\"\");return this.url.searchParams.set(\"select\",o),r&&this.headers.append(\"Prefer\",`count=${r}`),new rs.default({method:s,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch})}insert(t,{count:n,defaultToNull:r=!0}={}){var s;const i=\"POST\";if(n&&this.headers.append(\"Prefer\",`count=${n}`),r||this.headers.append(\"Prefer\",\"missing=default\"),Array.isArray(t)){const o=t.reduce((a,l)=>a.concat(Object.keys(l)),[]);if(o.length>0){const a=[...new Set(o)].map(l=>`\"${l}\"`);this.url.searchParams.set(\"columns\",a.join(\",\"))}}return new rs.default({method:i,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:(s=this.fetch)!==null&&s!==void 0?s:fetch})}upsert(t,{onConflict:n,ignoreDuplicates:r=!1,count:s,defaultToNull:i=!0}={}){var o;const a=\"POST\";if(this.headers.append(\"Prefer\",`resolution=${r?\"ignore\":\"merge\"}-duplicates`),n!==void 0&&this.url.searchParams.set(\"on_conflict\",n),s&&this.headers.append(\"Prefer\",`count=${s}`),i||this.headers.append(\"Prefer\",\"missing=default\"),Array.isArray(t)){const l=t.reduce((c,d)=>c.concat(Object.keys(d)),[]);if(l.length>0){const c=[...new Set(l)].map(d=>`\"${d}\"`);this.url.searchParams.set(\"columns\",c.join(\",\"))}}return new rs.default({method:a,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}update(t,{count:n}={}){var r;const s=\"PATCH\";return n&&this.headers.append(\"Prefer\",`count=${n}`),new rs.default({method:s,url:this.url,headers:this.headers,schema:this.schema,body:t,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch})}delete({count:t}={}){var n;const r=\"DELETE\";return t&&this.headers.append(\"Prefer\",`count=${t}`),new rs.default({method:r,url:this.url,headers:this.headers,schema:this.schema,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch})}};ma.default=Ej;var qy=nt&&nt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jd,\"__esModule\",{value:!0});const Tj=qy(ma),Cj=qy(ui);let Pj=class Ky{constructor(t,{headers:n={},schema:r,fetch:s}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.fetch=s}from(t){const n=new URL(`${this.url}\/${t}`);return new Tj.default(n,{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(t){return new Ky(this.url,{headers:this.headers,schema:t,fetch:this.fetch})}rpc(t,n={},{head:r=!1,get:s=!1,count:i}={}){var o;let a;const l=new URL(`${this.url}\/rpc\/${t}`);let c;r||s?(a=r?\"HEAD\":\"GET\",Object.entries(n).filter(([h,f])=>f!==void 0).map(([h,f])=>[h,Array.isArray(f)?`{${f.join(\",\")}}`:`${f}`]).forEach(([h,f])=>{l.searchParams.append(h,f)})):(a=\"POST\",c=n);const d=new Headers(this.headers);return i&&d.set(\"Prefer\",`count=${i}`),new Cj.default({method:a,url:l,headers:d,schema:this.schemaName,body:c,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch})}};jd.default=Pj;var Kr=nt&&nt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ie,\"__esModule\",{value:!0});Ie.PostgrestError=Ie.PostgrestBuilder=Ie.PostgrestTransformBuilder=Ie.PostgrestFilterBuilder=Ie.PostgrestQueryBuilder=Ie.PostgrestClient=void 0;const Gy=Kr(jd);Ie.PostgrestClient=Gy.default;const Qy=Kr(ma);Ie.PostgrestQueryBuilder=Qy.default;const Yy=Kr(ui);Ie.PostgrestFilterBuilder=Yy.default;const Xy=Kr(ga);Ie.PostgrestTransformBuilder=Xy.default;const Jy=Kr(ya);Ie.PostgrestBuilder=Jy.default;const Zy=Kr(va);Ie.PostgrestError=Zy.default;var Nj=Ie.default={PostgrestClient:Gy.default,PostgrestQueryBuilder:Qy.default,PostgrestFilterBuilder:Yy.default,PostgrestTransformBuilder:Xy.default,PostgrestBuilder:Jy.default,PostgrestError:Zy.default};const{PostgrestClient:Aj,PostgrestQueryBuilder:AT,PostgrestFilterBuilder:RT,PostgrestTransformBuilder:MT,PostgrestBuilder:OT,PostgrestError:LT}=Nj;class Rj{static detectEnvironment(){var t;if(typeof WebSocket<\"u\")return{type:\"native\",constructor:WebSocket};if(typeof globalThis<\"u\"&&typeof globalThis.WebSocket<\"u\")return{type:\"native\",constructor:globalThis.WebSocket};if(typeof global<\"u\"&&typeof global.WebSocket<\"u\")return{type:\"native\",constructor:global.WebSocket};if(typeof globalThis<\"u\"&&typeof globalThis.WebSocketPair<\"u\"&&typeof globalThis.WebSocket>\"u\")return{type:\"cloudflare\",error:\"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.\",workaround:\"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime.\"};if(typeof globalThis<\"u\"&&globalThis.EdgeRuntime||typeof navigator<\"u\"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes(\"Vercel-Edge\")))return{type:\"unsupported\",error:\"Edge runtime detected (Vercel Edge\/Netlify Edge). WebSockets are not supported in edge functions.\",workaround:\"Use serverless functions or a different deployment target for WebSocket functionality.\"};if(typeof process<\"u\"){const n=process.versions;if(n&&n.node){const r=n.node,s=parseInt(r.replace(\/^v\/,\"\").split(\".\")[0]);return s>=22?typeof globalThis.WebSocket<\"u\"?{type:\"native\",constructor:globalThis.WebSocket}:{type:\"unsupported\",error:`Node.js ${s} detected but native WebSocket not found.`,workaround:\"Provide a WebSocket implementation via the transport option.\"}:{type:\"unsupported\",error:`Node.js ${s} detected without native WebSocket support.`,workaround:`For Node.js < 22, install \"ws\" package and provide it via the transport option:\nimport ws from \"ws\"\nnew RealtimeClient(url, { transport: ws })`}}}return{type:\"unsupported\",error:\"Unknown JavaScript runtime without WebSocket support.\",workaround:\"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation.\"}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.constructor)return t.constructor;let n=t.error||\"WebSocket not supported in this environment.\";throw t.workaround&&(n+=`\n\nSuggested solution: ${t.workaround}`),new Error(n)}static createWebSocket(t,n){const r=this.getWebSocketConstructor();return new r(t,n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type===\"native\"||t.type===\"ws\"}catch{return!1}}}const Mj=\"2.15.5\",Oj=`realtime-js\/${Mj}`,Lj=\"1.0.0\",Fu=1e4,Dj=1e3,Ij=100;var Es;(function(e){e[e.connecting=0]=\"connecting\",e[e.open=1]=\"open\",e[e.closing=2]=\"closing\",e[e.closed=3]=\"closed\"})(Es||(Es={}));var ue;(function(e){e.closed=\"closed\",e.errored=\"errored\",e.joined=\"joined\",e.joining=\"joining\",e.leaving=\"leaving\"})(ue||(ue={}));var pt;(function(e){e.close=\"phx_close\",e.error=\"phx_error\",e.join=\"phx_join\",e.reply=\"phx_reply\",e.leave=\"phx_leave\",e.access_token=\"access_token\"})(pt||(pt={}));var Bu;(function(e){e.websocket=\"websocket\"})(Bu||(Bu={}));var Pn;(function(e){e.Connecting=\"connecting\",e.Open=\"open\",e.Closing=\"closing\",e.Closed=\"closed\"})(Pn||(Pn={}));class Vj{constructor(){this.HEADER_LENGTH=1}decode(t,n){return t.constructor===ArrayBuffer?n(this._binaryDecode(t)):n(typeof t==\"string\"?JSON.parse(t):{})}_binaryDecode(t){const n=new DataView(t),r=new TextDecoder;return this._decodeBroadcast(t,n,r)}_decodeBroadcast(t,n,r){const s=n.getUint8(1),i=n.getUint8(2);let o=this.HEADER_LENGTH+2;const a=r.decode(t.slice(o,o+s));o=o+s;const l=r.decode(t.slice(o,o+i));o=o+i;const c=JSON.parse(r.decode(t.slice(o,t.byteLength)));return{ref:null,topic:a,event:l,payload:c}}}class ev{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var K;(function(e){e.abstime=\"abstime\",e.bool=\"bool\",e.date=\"date\",e.daterange=\"daterange\",e.float4=\"float4\",e.float8=\"float8\",e.int2=\"int2\",e.int4=\"int4\",e.int4range=\"int4range\",e.int8=\"int8\",e.int8range=\"int8range\",e.json=\"json\",e.jsonb=\"jsonb\",e.money=\"money\",e.numeric=\"numeric\",e.oid=\"oid\",e.reltime=\"reltime\",e.text=\"text\",e.time=\"time\",e.timestamp=\"timestamp\",e.timestamptz=\"timestamptz\",e.timetz=\"timetz\",e.tsrange=\"tsrange\",e.tstzrange=\"tstzrange\"})(K||(K={}));const yp=(e,t,n={})=>{var r;const s=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((i,o)=>(i[o]=$j(o,e,t,s),i),{})},$j=(e,t,n,r)=>{const s=t.find(a=>a.name===e),i=s==null?void 0:s.type,o=n[e];return i&&!r.includes(i)?tv(i,o):Uu(o)},tv=(e,t)=>{if(e.charAt(0)===\"_\"){const n=e.slice(1,e.length);return zj(t,n)}switch(e){case K.bool:return Fj(t);case K.float4:case K.float8:case K.int2:case K.int4:case K.int8:case K.numeric:case K.oid:return Bj(t);case K.json:case K.jsonb:return Uj(t);case K.timestamp:return Wj(t);case K.abstime:case K.date:case K.daterange:case K.int4range:case K.int8range:case K.money:case K.reltime:case K.text:case K.time:case K.timestamptz:case K.timetz:case K.tsrange:case K.tstzrange:return Uu(t);default:return Uu(t)}},Uu=e=>e,Fj=e=>{switch(e){case\"t\":return!0;case\"f\":return!1;default:return e}},Bj=e=>{if(typeof e==\"string\"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},Uj=e=>{if(typeof e==\"string\")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},zj=(e,t)=>{if(typeof e!=\"string\")return e;const n=e.length-1,r=e[n];if(e[0]===\"{\"&&r===\"}\"){let i;const o=e.slice(1,n);try{i=JSON.parse(\"[\"+o+\"]\")}catch{i=o?o.split(\",\"):[]}return i.map(a=>tv(t,a))}return e},Wj=e=>typeof e==\"string\"?e.replace(\" \",\"T\"):e,nv=e=>{let t=e;return t=t.replace(\/^ws\/i,\"http\"),t=t.replace(\/(\\\/socket\\\/websocket|\\\/socket|\\\/websocket)\\\/?$\/i,\"\"),t.replace(\/\\\/+$\/,\"\")+\"\/api\/broadcast\"};class dl{constructor(t,n,r={},s=Fu){this.channel=t,this.event=n,this.payload=r,this.timeout=s,this.sent=!1,this.timeoutTimer=void 0,this.ref=\"\",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref=\"\",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived(\"timeout\")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger(\"timeout\",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var vp;(function(e){e.SYNC=\"sync\",e.JOIN=\"join\",e.LEAVE=\"leave\"})(vp||(vp={}));class Ts{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:\"presence_state\",diff:\"presence_diff\"};this.channel._on(r.state,{},s=>{const{onJoin:i,onLeave:o,onSync:a}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Ts.syncState(this.state,s,i,o),this.pendingDiffs.forEach(l=>{this.state=Ts.syncDiff(this.state,l,i,o)}),this.pendingDiffs=[],a()}),this.channel._on(r.diff,{},s=>{const{onJoin:i,onLeave:o,onSync:a}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(s):(this.state=Ts.syncDiff(this.state,s,i,o),a())}),this.onJoin((s,i,o)=>{this.channel._trigger(\"presence\",{event:\"join\",key:s,currentPresences:i,newPresences:o})}),this.onLeave((s,i,o)=>{this.channel._trigger(\"presence\",{event:\"leave\",key:s,currentPresences:i,leftPresences:o})}),this.onSync(()=>{this.channel._trigger(\"presence\",{event:\"sync\"})})}static syncState(t,n,r,s){const i=this.cloneDeep(t),o=this.transformState(n),a={},l={};return this.map(i,(c,d)=>{o[c]||(l[c]=d)}),this.map(o,(c,d)=>{const h=i[c];if(h){const f=d.map(k=>k.presence_ref),p=h.map(k=>k.presence_ref),v=d.filter(k=>p.indexOf(k.presence_ref)<0),x=h.filter(k=>f.indexOf(k.presence_ref)<0);v.length>0&&(a[c]=v),x.length>0&&(l[c]=x)}else a[c]=d}),this.syncDiff(i,{joins:a,leaves:l},r,s)}static syncDiff(t,n,r,s){const{joins:i,leaves:o}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),s||(s=()=>{}),this.map(i,(a,l)=>{var c;const d=(c=t[a])!==null&&c!==void 0?c:[];if(t[a]=this.cloneDeep(l),d.length>0){const h=t[a].map(p=>p.presence_ref),f=d.filter(p=>h.indexOf(p.presence_ref)<0);t[a].unshift(...f)}r(a,d,l)}),this.map(o,(a,l)=>{let c=t[a];if(!c)return;const d=l.map(h=>h.presence_ref);c=c.filter(h=>d.indexOf(h.presence_ref)<0),t[a]=c,s(a,c,l),c.length===0&&delete t[a]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const s=t[r];return\"metas\"in s?n[r]=s.metas.map(i=>(i.presence_ref=i.phx_ref,delete i.phx_ref,delete i.phx_ref_prev,i)):n[r]=s,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var xp;(function(e){e.ALL=\"*\",e.INSERT=\"INSERT\",e.UPDATE=\"UPDATE\",e.DELETE=\"DELETE\"})(xp||(xp={}));var Cs;(function(e){e.BROADCAST=\"broadcast\",e.PRESENCE=\"presence\",e.POSTGRES_CHANGES=\"postgres_changes\",e.SYSTEM=\"system\"})(Cs||(Cs={}));var Ot;(function(e){e.SUBSCRIBED=\"SUBSCRIBED\",e.TIMED_OUT=\"TIMED_OUT\",e.CLOSED=\"CLOSED\",e.CHANNEL_ERROR=\"CHANNEL_ERROR\"})(Ot||(Ot={}));class Ed{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=ue.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(\/^realtime:\/i,\"\"),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:\"\",enabled:!1},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new dl(this,pt.join,this.params,this.timeout),this.rejoinTimer=new ev(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive(\"ok\",()=>{this.state=ue.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(s=>s.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log(\"channel\",`close ${this.topic} ${this._joinRef()}`),this.state=ue.closed,this.socket._remove(this)}),this._onError(s=>{this._isLeaving()||this._isClosed()||(this.socket.log(\"channel\",`error ${this.topic}`,s),this.state=ue.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive(\"timeout\",()=>{this._isJoining()&&(this.socket.log(\"channel\",`timeout ${this.topic}`,this.joinPush.timeout),this.state=ue.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive(\"error\",s=>{this._isLeaving()||this._isClosed()||(this.socket.log(\"channel\",`error ${this.topic}`,s),this.state=ue.errored,this.rejoinTimer.scheduleTimeout())}),this._on(pt.reply,{},(s,i)=>{this._trigger(this._replyEventName(i),s)}),this.presence=new Ts(this),this.broadcastEndpointURL=nv(this.socket.endPoint),this.private=this.params.config.private||!1}subscribe(t,n=this.timeout){var r,s,i;if(this.socket.isConnected()||this.socket.connect(),this.state==ue.closed){const{config:{broadcast:o,presence:a,private:l}}=this.params,c=(s=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(p=>p.filter))!==null&&s!==void 0?s:[],d=!!this.bindings[Cs.PRESENCE]&&this.bindings[Cs.PRESENCE].length>0||((i=this.params.config.presence)===null||i===void 0?void 0:i.enabled)===!0,h={},f={broadcast:o,presence:Object.assign(Object.assign({},a),{enabled:d}),postgres_changes:c,private:l};this.socket.accessTokenValue&&(h.access_token=this.socket.accessTokenValue),this._onError(p=>t==null?void 0:t(Ot.CHANNEL_ERROR,p)),this._onClose(()=>t==null?void 0:t(Ot.CLOSED)),this.updateJoinPayload(Object.assign({config:f},h)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive(\"ok\",async({postgres_changes:p})=>{var v;if(this.socket.setAuth(),p===void 0){t==null||t(Ot.SUBSCRIBED);return}else{const x=this.bindings.postgres_changes,k=(v=x==null?void 0:x.length)!==null&&v!==void 0?v:0,g=[];for(let m=0;m<k;m++){const y=x[m],{filter:{event:w,schema:b,table:j,filter:_}}=y,S=p&&p[m];if(S&&S.event===w&&S.schema===b&&S.table===j&&S.filter===_)g.push(Object.assign(Object.assign({},y),{id:S.id}));else{this.unsubscribe(),this.state=ue.errored,t==null||t(Ot.CHANNEL_ERROR,new Error(\"mismatch between server and client bindings for postgres changes\"));return}}this.bindings.postgres_changes=g,t&&t(Ot.SUBSCRIBED);return}}).receive(\"error\",p=>{this.state=ue.errored,t==null||t(Ot.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(p).join(\", \")||\"error\")))}).receive(\"timeout\",()=>{t==null||t(Ot.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:\"presence\",event:\"track\",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:\"presence\",event:\"untrack\"},t)}on(t,n,r){return this.state===ue.joined&&t===Cs.PRESENCE&&(this.socket.log(\"channel\",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(()=>this.subscribe())),this._on(t,n,r)}async send(t,n={}){var r,s;if(!this._canPush()&&t.type===\"broadcast\"){const{event:i,payload:o}=t,l={method:\"POST\",headers:{Authorization:this.socket.accessTokenValue?`Bearer ${this.socket.accessTokenValue}`:\"\",apikey:this.socket.apiKey?this.socket.apiKey:\"\",\"Content-Type\":\"application\/json\"},body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:o,private:this.private}]})};try{const c=await this._fetchWithTimeout(this.broadcastEndpointURL,l,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((s=c.body)===null||s===void 0?void 0:s.cancel()),c.ok?\"ok\":\"error\"}catch(c){return c.name===\"AbortError\"?\"timed out\":\"error\"}}else return new Promise(i=>{var o,a,l;const c=this._push(t.type,t,n.timeout||this.timeout);t.type===\"broadcast\"&&!(!((l=(a=(o=this.params)===null||o===void 0?void 0:o.config)===null||a===void 0?void 0:a.broadcast)===null||l===void 0)&&l.ack)&&i(\"ok\"),c.receive(\"ok\",()=>i(\"ok\")),c.receive(\"error\",()=>i(\"error\")),c.receive(\"timeout\",()=>i(\"timed out\"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=ue.leaving;const n=()=>{this.socket.log(\"channel\",`leave ${this.topic}`),this._trigger(pt.close,\"leave\",this._joinRef())};this.joinPush.destroy();let r=null;return new Promise(s=>{r=new dl(this,pt.leave,{},t),r.receive(\"ok\",()=>{n(),s(\"ok\")}).receive(\"timeout\",()=>{n(),s(\"timed out\")}).receive(\"error\",()=>{s(\"error\")}),r.send(),this._canPush()||r.trigger(\"ok\",{})}).finally(()=>{r==null||r.destroy()})}teardown(){this.pushBuffer.forEach(t=>t.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=ue.closed,this.bindings={}}async _fetchWithTimeout(t,n,r){const s=new AbortController,i=setTimeout(()=>s.abort(),r),o=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:s.signal}));return clearTimeout(i),o}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let s=new dl(this,t,n,r);return this._canPush()?s.send():this._addToPushBuffer(s),s}_addToPushBuffer(t){if(t.startTimeout(),this.pushBuffer.push(t),this.pushBuffer.length>Ij){const n=this.pushBuffer.shift();n&&(n.destroy(),this.socket.log(\"channel\",`discarded push due to buffer overflow: ${n.event}`,n.payload))}}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var s,i;const o=t.toLocaleLowerCase(),{close:a,error:l,leave:c,join:d}=pt;if(r&&[a,l,c,d].indexOf(o)>=0&&r!==this._joinRef())return;let f=this._onMessage(o,n,r);if(n&&!f)throw\"channel onMessage callbacks must return the payload, modified or unmodified\";[\"insert\",\"update\",\"delete\"].includes(o)?(s=this.bindings.postgres_changes)===null||s===void 0||s.filter(p=>{var v,x,k;return((v=p.filter)===null||v===void 0?void 0:v.event)===\"*\"||((k=(x=p.filter)===null||x===void 0?void 0:x.event)===null||k===void 0?void 0:k.toLocaleLowerCase())===o}).map(p=>p.callback(f,r)):(i=this.bindings[o])===null||i===void 0||i.filter(p=>{var v,x,k,g,m,y;if([\"broadcast\",\"presence\",\"postgres_changes\"].includes(o))if(\"id\"in p){const w=p.id,b=(v=p.filter)===null||v===void 0?void 0:v.event;return w&&((x=n.ids)===null||x===void 0?void 0:x.includes(w))&&(b===\"*\"||(b==null?void 0:b.toLocaleLowerCase())===((k=n.data)===null||k===void 0?void 0:k.type.toLocaleLowerCase()))}else{const w=(m=(g=p==null?void 0:p.filter)===null||g===void 0?void 0:g.event)===null||m===void 0?void 0:m.toLocaleLowerCase();return w===\"*\"||w===((y=n==null?void 0:n.event)===null||y===void 0?void 0:y.toLocaleLowerCase())}else return p.type.toLocaleLowerCase()===o}).map(p=>{if(typeof f==\"object\"&&\"ids\"in f){const v=f.data,{schema:x,table:k,commit_timestamp:g,type:m,errors:y}=v;f=Object.assign(Object.assign({},{schema:x,table:k,commit_timestamp:g,eventType:m,new:{},old:{},errors:y}),this._getPayloadRecords(v))}p.callback(f,r)})}_isClosed(){return this.state===ue.closed}_isJoined(){return this.state===ue.joined}_isJoining(){return this.state===ue.joining}_isLeaving(){return this.state===ue.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const s=t.toLocaleLowerCase(),i={type:s,filter:n,callback:r};return this.bindings[s]?this.bindings[s].push(i):this.bindings[s]=[i],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]&&(this.bindings[r]=this.bindings[r].filter(s=>{var i;return!(((i=s.type)===null||i===void 0?void 0:i.toLocaleLowerCase())===r&&Ed.isEqual(s.filter,n))})),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(pt.close,{},t)}_onError(t){this._on(pt.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=ue.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type===\"INSERT\"||t.type===\"UPDATE\")&&(n.new=yp(t.columns,t.record)),(t.type===\"UPDATE\"||t.type===\"DELETE\")&&(n.old=yp(t.columns,t.old_record)),n}}const hl=()=>{},Ii={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},Hj=[1e3,2e3,5e3,1e4],qj=1e4,Kj=`\n  addEventListener(\"message\", (e) => {\n    if (e.data.event === \"start\") {\n      setInterval(() => postMessage({ event: \"keepAlive\" }), e.data.interval);\n    }\n  });`;class Gj{constructor(t,n){var r;if(this.accessTokenValue=null,this.apiKey=null,this.channels=new Array,this.endPoint=\"\",this.httpEndpoint=\"\",this.headers={},this.params={},this.timeout=Fu,this.transport=null,this.heartbeatIntervalMs=Ii.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=hl,this.ref=0,this.reconnectTimer=null,this.logger=hl,this.conn=null,this.sendBuffer=[],this.serializer=new Vj,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState=\"disconnected\",this._wasManualDisconnect=!1,this._authPromise=null,this._resolveFetch=s=>{let i;return s?i=s:typeof fetch>\"u\"?i=(...o)=>li(async()=>{const{default:a}=await Promise.resolve().then(()=>qr);return{default:a}},void 0).then(({default:a})=>a(...o)).catch(a=>{throw new Error(`Failed to load @supabase\/node-fetch: ${a.message}. This is required for HTTP requests in Node.js environments without native fetch.`)}):i=fetch,(...o)=>i(...o)},!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error(\"API key is required to connect to Realtime\");this.apiKey=n.params.apikey,this.endPoint=`${t}\/${Bu.websocket}`,this.httpEndpoint=nv(t),this._initializeOptions(n),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState(\"connecting\"),this._setAuthSafely(\"connect\"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=Rj.createWebSocket(this.endpointURL())}catch(t){this._setConnectionState(\"disconnected\");const n=t.message;throw n.includes(\"Node.js\")?new Error(`${n}\n\nTo use Realtime in Node.js, you need to provide a WebSocket implementation:\n\nOption 1: Use Node.js 22+ which has native WebSocket support\nOption 2: Install and provide the \"ws\" package:\n\n  npm install ws\n\n  import ws from \"ws\"\n  const client = new RealtimeClient(url, {\n    ...options,\n    transport: ws\n  })`):new Error(`WebSocket not available: ${n}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:Lj}))}disconnect(t,n){if(!this.isDisconnecting())if(this._setConnectionState(\"disconnecting\",!0),this.conn){const r=setTimeout(()=>{this._setConnectionState(\"disconnected\")},100);this.conn.onclose=()=>{clearTimeout(r),this._setConnectionState(\"disconnected\")},t?this.conn.close(t,n??\"\"):this.conn.close(),this._teardownConnection()}else this._setConnectionState(\"disconnected\")}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.channels=[],this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case Es.connecting:return Pn.Connecting;case Es.open:return Pn.Open;case Es.closing:return Pn.Closing;default:return Pn.Closed}}isConnected(){return this.connectionState()===Pn.Open}isConnecting(){return this._connectionState===\"connecting\"}isDisconnecting(){return this._connectionState===\"disconnecting\"}channel(t,n={config:{}}){const r=`realtime:${t}`,s=this.getChannels().find(i=>i.topic===r);if(s)return s;{const i=new Ed(`realtime:${t}`,n,this);return this.channels.push(i),i}}push(t){const{topic:n,event:r,payload:s,ref:i}=t,o=()=>{this.encode(t,a=>{var l;(l=this.conn)===null||l===void 0||l.send(a)})};this.log(\"push\",`${n} ${r} (${i})`,s),this.isConnected()?o():this.sendBuffer.push(o)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}async sendHeartbeat(){var t;if(!this.isConnected()){try{this.heartbeatCallback(\"disconnected\")}catch(n){this.log(\"error\",\"error in heartbeat callback\",n)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log(\"transport\",\"heartbeat timeout. Attempting to re-establish connection\");try{this.heartbeatCallback(\"timeout\")}catch(n){this.log(\"error\",\"error in heartbeat callback\",n)}this._wasManualDisconnect=!1,(t=this.conn)===null||t===void 0||t.close(Dj,\"heartbeat timeout\"),setTimeout(()=>{var n;this.isConnected()||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout()},Ii.HEARTBEAT_TIMEOUT_FALLBACK);return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:\"phoenix\",event:\"heartbeat\",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback(\"sent\")}catch(n){this.log(\"error\",\"error in heartbeat callback\",n)}this._setAuthSafely(\"heartbeat\")}onHeartbeat(t){this.heartbeatCallback=t}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log(\"transport\",`leaving duplicate topic \"${t}\"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic)}_onConnMessage(t){this.decode(t.data,n=>{if(n.topic===\"phoenix\"&&n.event===\"phx_reply\")try{this.heartbeatCallback(n.payload.status===\"ok\"?\"ok\":\"error\")}catch(c){this.log(\"error\",\"error in heartbeat callback\",c)}n.ref&&n.ref===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null);const{topic:r,event:s,payload:i,ref:o}=n,a=o?`(${o})`:\"\",l=i.status||\"\";this.log(\"receive\",`${l} ${r} ${s} ${a}`.trim(),i),this.channels.filter(c=>c._isMember(r)).forEach(c=>c._trigger(s,i,o)),this._triggerStateCallbacks(\"message\",n)})}_clearTimer(t){var n;t===\"heartbeat\"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):t===\"reconnect\"&&((n=this.reconnectTimer)===null||n===void 0||n.reset())}_clearAllTimers(){this._clearTimer(\"heartbeat\"),this._clearTimer(\"reconnect\")}_setupConnectionHandlers(){this.conn&&(\"binaryType\"in this.conn&&(this.conn.binaryType=\"arraybuffer\"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t))}_teardownConnection(){this.conn&&(this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null),this._clearAllTimers(),this.channels.forEach(t=>t.teardown())}_onConnOpen(){this._setConnectionState(\"connected\"),this.log(\"transport\",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this._clearTimer(\"reconnect\"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks(\"open\")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log(\"worker\",`starting worker for from ${this.workerUrl}`):this.log(\"worker\",\"starting default worker\");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log(\"worker\",\"worker error\",n.message),this.workerRef.terminate()},this.workerRef.onmessage=n=>{n.data.event===\"keepAlive\"&&this.sendHeartbeat()},this.workerRef.postMessage({event:\"start\",interval:this.heartbeatIntervalMs})}_onConnClose(t){var n;this._setConnectionState(\"disconnected\"),this.log(\"transport\",\"close\",t),this._triggerChanError(),this._clearTimer(\"heartbeat\"),this._wasManualDisconnect||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout(),this._triggerStateCallbacks(\"close\",t)}_onConnError(t){this._setConnectionState(\"disconnected\"),this.log(\"transport\",`${t}`),this._triggerChanError(),this._triggerStateCallbacks(\"error\",t)}_triggerChanError(){this.channels.forEach(t=>t._trigger(pt.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(\/\\?\/)?\"&\":\"?\",s=new URLSearchParams(n);return`${t}${r}${s}`}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([Kj],{type:\"application\/javascript\"});n=URL.createObjectURL(r)}return n}_setConnectionState(t,n=!1){this._connectionState=t,t===\"connecting\"?this._wasManualDisconnect=!1:t===\"disconnecting\"&&(this._wasManualDisconnect=n)}async _performAuth(t=null){let n;t?n=t:this.accessToken?n=await this.accessToken():n=this.accessTokenValue,this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(r=>{const s={access_token:n,version:Oj};n&&r.updateJoinPayload(s),r.joinedOnce&&r._isJoined()&&r._push(pt.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t=\"general\"){this.setAuth().catch(n=>{this.log(\"error\",`error setting auth in ${t}`,n)})}_triggerStateCallbacks(t,n){try{this.stateChangeCallbacks[t].forEach(r=>{try{r(n)}catch(s){this.log(\"error\",`error in ${t} callback`,s)}})}catch(r){this.log(\"error\",`error triggering ${t} callbacks`,r)}}_setupReconnectionTimer(){this.reconnectTimer=new ev(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},Ii.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(t){var n,r,s,i,o,a,l,c,d;if(this.transport=(n=t==null?void 0:t.transport)!==null&&n!==void 0?n:null,this.timeout=(r=t==null?void 0:t.timeout)!==null&&r!==void 0?r:Fu,this.heartbeatIntervalMs=(s=t==null?void 0:t.heartbeatIntervalMs)!==null&&s!==void 0?s:Ii.HEARTBEAT_INTERVAL,this.worker=(i=t==null?void 0:t.worker)!==null&&i!==void 0?i:!1,this.accessToken=(o=t==null?void 0:t.accessToken)!==null&&o!==void 0?o:null,this.heartbeatCallback=(a=t==null?void 0:t.heartbeatCallback)!==null&&a!==void 0?a:hl,t!=null&&t.params&&(this.params=t.params),t!=null&&t.logger&&(this.logger=t.logger),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(l=t==null?void 0:t.reconnectAfterMs)!==null&&l!==void 0?l:h=>Hj[h-1]||qj,this.encode=(c=t==null?void 0:t.encode)!==null&&c!==void 0?c:(h,f)=>f(JSON.stringify(h)),this.decode=(d=t==null?void 0:t.decode)!==null&&d!==void 0?d:this.serializer.decode.bind(this.serializer),this.worker){if(typeof window<\"u\"&&!window.Worker)throw new Error(\"Web Worker is not supported\");this.workerUrl=t==null?void 0:t.workerUrl}}}class Td extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name=\"StorageError\"}}function de(e){return typeof e==\"object\"&&e!==null&&\"__isStorageError\"in e}class Qj extends Td{constructor(t,n,r){super(t),this.name=\"StorageApiError\",this.status=n,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class zu extends Td{constructor(t,n){super(t),this.name=\"StorageUnknownError\",this.originalError=n}}var Yj=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const rv=e=>{let t;return e?t=e:typeof fetch>\"u\"?t=(...n)=>li(async()=>{const{default:r}=await Promise.resolve().then(()=>qr);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},Xj=()=>Yj(void 0,void 0,void 0,function*(){return typeof Response>\"u\"?(yield li(()=>Promise.resolve().then(()=>qr),void 0)).Response:Response}),Wu=e=>{if(Array.isArray(e))return e.map(n=>Wu(n));if(typeof e==\"function\"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const s=n.replace(\/([-_][a-z])\/gi,i=>i.toUpperCase().replace(\/[-_]\/g,\"\"));t[s]=Wu(r)}),t},Jj=e=>{if(typeof e!=\"object\"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};var Gn=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const fl=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),Zj=(e,t,n)=>Gn(void 0,void 0,void 0,function*(){const r=yield Xj();e instanceof r&&!(n!=null&&n.noResolveJson)?e.json().then(s=>{const i=e.status||500,o=(s==null?void 0:s.statusCode)||i+\"\";t(new Qj(fl(s),i,o))}).catch(s=>{t(new zu(fl(s),s))}):t(new zu(fl(e),e))}),eE=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e===\"GET\"||!r?s:(Jj(r)?(s.headers=Object.assign({\"Content-Type\":\"application\/json\"},t==null?void 0:t.headers),s.body=JSON.stringify(r)):s.body=r,t!=null&&t.duplex&&(s.duplex=t.duplex),Object.assign(Object.assign({},s),n))};function ci(e,t,n,r,s,i){return Gn(this,void 0,void 0,function*(){return new Promise((o,a)=>{e(n,eE(t,r,s,i)).then(l=>{if(!l.ok)throw l;return r!=null&&r.noResolveJson?l:l.json()}).then(l=>o(l)).catch(l=>Zj(l,a,r))})})}function Uo(e,t,n,r){return Gn(this,void 0,void 0,function*(){return ci(e,\"GET\",t,n,r)})}function jt(e,t,n,r,s){return Gn(this,void 0,void 0,function*(){return ci(e,\"POST\",t,r,s,n)})}function Hu(e,t,n,r,s){return Gn(this,void 0,void 0,function*(){return ci(e,\"PUT\",t,r,s,n)})}function tE(e,t,n,r){return Gn(this,void 0,void 0,function*(){return ci(e,\"HEAD\",t,Object.assign(Object.assign({},n),{noResolveJson:!0}),r)})}function sv(e,t,n,r,s){return Gn(this,void 0,void 0,function*(){return ci(e,\"DELETE\",t,r,s,n)})}var Te=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const nE={limit:100,offset:0,sortBy:{column:\"name\",order:\"asc\"}},wp={cacheControl:\"3600\",contentType:\"text\/plain;charset=UTF-8\",upsert:!1};class rE{constructor(t,n={},r,s){this.shouldThrowOnError=!1,this.url=t,this.headers=n,this.bucketId=r,this.fetch=rv(s)}throwOnError(){return this.shouldThrowOnError=!0,this}uploadOrUpdate(t,n,r,s){return Te(this,void 0,void 0,function*(){try{let i;const o=Object.assign(Object.assign({},wp),s);let a=Object.assign(Object.assign({},this.headers),t===\"POST\"&&{\"x-upsert\":String(o.upsert)});const l=o.metadata;typeof Blob<\"u\"&&r instanceof Blob?(i=new FormData,i.append(\"cacheControl\",o.cacheControl),l&&i.append(\"metadata\",this.encodeMetadata(l)),i.append(\"\",r)):typeof FormData<\"u\"&&r instanceof FormData?(i=r,i.append(\"cacheControl\",o.cacheControl),l&&i.append(\"metadata\",this.encodeMetadata(l))):(i=r,a[\"cache-control\"]=`max-age=${o.cacheControl}`,a[\"content-type\"]=o.contentType,l&&(a[\"x-metadata\"]=this.toBase64(this.encodeMetadata(l)))),s!=null&&s.headers&&(a=Object.assign(Object.assign({},a),s.headers));const c=this._removeEmptyFolders(n),d=this._getFinalPath(c),h=yield(t==\"PUT\"?Hu:jt)(this.fetch,`${this.url}\/object\/${d}`,i,Object.assign({headers:a},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{data:{path:c,id:h.Id,fullPath:h.Key},error:null}}catch(i){if(this.shouldThrowOnError)throw i;if(de(i))return{data:null,error:i};throw i}})}upload(t,n,r){return Te(this,void 0,void 0,function*(){return this.uploadOrUpdate(\"POST\",t,n,r)})}uploadToSignedUrl(t,n,r,s){return Te(this,void 0,void 0,function*(){const i=this._removeEmptyFolders(t),o=this._getFinalPath(i),a=new URL(this.url+`\/object\/upload\/sign\/${o}`);a.searchParams.set(\"token\",n);try{let l;const c=Object.assign({upsert:wp.upsert},s),d=Object.assign(Object.assign({},this.headers),{\"x-upsert\":String(c.upsert)});typeof Blob<\"u\"&&r instanceof Blob?(l=new FormData,l.append(\"cacheControl\",c.cacheControl),l.append(\"\",r)):typeof FormData<\"u\"&&r instanceof FormData?(l=r,l.append(\"cacheControl\",c.cacheControl)):(l=r,d[\"cache-control\"]=`max-age=${c.cacheControl}`,d[\"content-type\"]=c.contentType);const h=yield Hu(this.fetch,a.toString(),l,{headers:d});return{data:{path:i,fullPath:h.Key},error:null}}catch(l){if(this.shouldThrowOnError)throw l;if(de(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(t,n){return Te(this,void 0,void 0,function*(){try{let r=this._getFinalPath(t);const s=Object.assign({},this.headers);n!=null&&n.upsert&&(s[\"x-upsert\"]=\"true\");const i=yield jt(this.fetch,`${this.url}\/object\/upload\/sign\/${r}`,{},{headers:s}),o=new URL(this.url+i.url),a=o.searchParams.get(\"token\");if(!a)throw new Td(\"No token returned by API\");return{data:{signedUrl:o.toString(),path:t,token:a},error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(de(r))return{data:null,error:r};throw r}})}update(t,n,r){return Te(this,void 0,void 0,function*(){return this.uploadOrUpdate(\"PUT\",t,n,r)})}move(t,n,r){return Te(this,void 0,void 0,function*(){try{return{data:yield jt(this.fetch,`${this.url}\/object\/move`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers}),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(de(s))return{data:null,error:s};throw s}})}copy(t,n,r){return Te(this,void 0,void 0,function*(){try{return{data:{path:(yield jt(this.fetch,`${this.url}\/object\/copy`,{bucketId:this.bucketId,sourceKey:t,destinationKey:n,destinationBucket:r==null?void 0:r.destinationBucket},{headers:this.headers})).Key},error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(de(s))return{data:null,error:s};throw s}})}createSignedUrl(t,n,r){return Te(this,void 0,void 0,function*(){try{let s=this._getFinalPath(t),i=yield jt(this.fetch,`${this.url}\/object\/sign\/${s}`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const o=r!=null&&r.download?`&download=${r.download===!0?\"\":r.download}`:\"\";return i={signedUrl:encodeURI(`${this.url}${i.signedURL}${o}`)},{data:i,error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(de(s))return{data:null,error:s};throw s}})}createSignedUrls(t,n,r){return Te(this,void 0,void 0,function*(){try{const s=yield jt(this.fetch,`${this.url}\/object\/sign\/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),i=r!=null&&r.download?`&download=${r.download===!0?\"\":r.download}`:\"\";return{data:s.map(o=>Object.assign(Object.assign({},o),{signedUrl:o.signedURL?encodeURI(`${this.url}${o.signedURL}${i}`):null})),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(de(s))return{data:null,error:s};throw s}})}download(t,n){return Te(this,void 0,void 0,function*(){const s=typeof(n==null?void 0:n.transform)<\"u\"?\"render\/image\/authenticated\":\"object\",i=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),o=i?`?${i}`:\"\";try{const a=this._getFinalPath(t);return{data:yield(yield Uo(this.fetch,`${this.url}\/${s}\/${a}${o}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(a){if(this.shouldThrowOnError)throw a;if(de(a))return{data:null,error:a};throw a}})}info(t){return Te(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{const r=yield Uo(this.fetch,`${this.url}\/object\/info\/${n}`,{headers:this.headers});return{data:Wu(r),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(de(r))return{data:null,error:r};throw r}})}exists(t){return Te(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{return yield tE(this.fetch,`${this.url}\/object\/${n}`,{headers:this.headers}),{data:!0,error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(de(r)&&r instanceof zu){const s=r.originalError;if([400,404].includes(s==null?void 0:s.status))return{data:!1,error:r}}throw r}})}getPublicUrl(t,n){const r=this._getFinalPath(t),s=[],i=n!=null&&n.download?`download=${n.download===!0?\"\":n.download}`:\"\";i!==\"\"&&s.push(i);const a=typeof(n==null?void 0:n.transform)<\"u\"?\"render\/image\":\"object\",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==\"\"&&s.push(l);let c=s.join(\"&\");return c!==\"\"&&(c=`?${c}`),{data:{publicUrl:encodeURI(`${this.url}\/${a}\/public\/${r}${c}`)}}}remove(t){return Te(this,void 0,void 0,function*(){try{return{data:yield sv(this.fetch,`${this.url}\/object\/${this.bucketId}`,{prefixes:t},{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(de(n))return{data:null,error:n};throw n}})}list(t,n,r){return Te(this,void 0,void 0,function*(){try{const s=Object.assign(Object.assign(Object.assign({},nE),n),{prefix:t||\"\"});return{data:yield jt(this.fetch,`${this.url}\/object\/list\/${this.bucketId}`,s,{headers:this.headers},r),error:null}}catch(s){if(this.shouldThrowOnError)throw s;if(de(s))return{data:null,error:s};throw s}})}listV2(t,n){return Te(this,void 0,void 0,function*(){try{const r=Object.assign({},t);return{data:yield jt(this.fetch,`${this.url}\/object\/list-v2\/${this.bucketId}`,r,{headers:this.headers},n),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(de(r))return{data:null,error:r};throw r}})}encodeMetadata(t){return JSON.stringify(t)}toBase64(t){return typeof Buffer<\"u\"?Buffer.from(t).toString(\"base64\"):btoa(t)}_getFinalPath(t){return`${this.bucketId}\/${t.replace(\/^\\\/+\/,\"\")}`}_removeEmptyFolders(t){return t.replace(\/^\\\/|\\\/$\/g,\"\").replace(\/\\\/+\/g,\"\/\")}transformOptsToQueryString(t){const n=[];return t.width&&n.push(`width=${t.width}`),t.height&&n.push(`height=${t.height}`),t.resize&&n.push(`resize=${t.resize}`),t.format&&n.push(`format=${t.format}`),t.quality&&n.push(`quality=${t.quality}`),n.join(\"&\")}}const sE=\"2.12.1\",iE={\"X-Client-Info\":`storage-js\/${sE}`};var Xn=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};class oE{constructor(t,n={},r,s){this.shouldThrowOnError=!1;const i=new URL(t);s!=null&&s.useNewHostname&&\/supabase\\.(co|in|red)$\/.test(i.hostname)&&!i.hostname.includes(\"storage.supabase.\")&&(i.hostname=i.hostname.replace(\"supabase.\",\"storage.supabase.\")),this.url=i.href,this.headers=Object.assign(Object.assign({},iE),n),this.fetch=rv(r)}throwOnError(){return this.shouldThrowOnError=!0,this}listBuckets(){return Xn(this,void 0,void 0,function*(){try{return{data:yield Uo(this.fetch,`${this.url}\/bucket`,{headers:this.headers}),error:null}}catch(t){if(this.shouldThrowOnError)throw t;if(de(t))return{data:null,error:t};throw t}})}getBucket(t){return Xn(this,void 0,void 0,function*(){try{return{data:yield Uo(this.fetch,`${this.url}\/bucket\/${t}`,{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(de(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return Xn(this,void 0,void 0,function*(){try{return{data:yield jt(this.fetch,`${this.url}\/bucket`,{id:t,name:t,type:n.type,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(de(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return Xn(this,void 0,void 0,function*(){try{return{data:yield Hu(this.fetch,`${this.url}\/bucket\/${t}`,{id:t,name:t,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(this.shouldThrowOnError)throw r;if(de(r))return{data:null,error:r};throw r}})}emptyBucket(t){return Xn(this,void 0,void 0,function*(){try{return{data:yield jt(this.fetch,`${this.url}\/bucket\/${t}\/empty`,{},{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(de(n))return{data:null,error:n};throw n}})}deleteBucket(t){return Xn(this,void 0,void 0,function*(){try{return{data:yield sv(this.fetch,`${this.url}\/bucket\/${t}`,{},{headers:this.headers}),error:null}}catch(n){if(this.shouldThrowOnError)throw n;if(de(n))return{data:null,error:n};throw n}})}}class aE extends oE{constructor(t,n={},r,s){super(t,n,r,s)}from(t){return new rE(this.url,this.headers,t,this.fetch)}}const lE=\"2.57.4\";let cs=\"\";typeof Deno<\"u\"?cs=\"deno\":typeof document<\"u\"?cs=\"web\":typeof navigator<\"u\"&&navigator.product===\"ReactNative\"?cs=\"react-native\":cs=\"node\";const uE={\"X-Client-Info\":`supabase-js-${cs}\/${lE}`},cE={headers:uE},dE={schema:\"public\"},hE={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:\"implicit\"},fE={};var pE=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};const mE=e=>{let t;return e?t=e:typeof fetch>\"u\"?t=zy:t=fetch,(...n)=>t(...n)},gE=()=>typeof Headers>\"u\"?Wy:Headers,yE=(e,t,n)=>{const r=mE(n),s=gE();return(i,o)=>pE(void 0,void 0,void 0,function*(){var a;const l=(a=yield t())!==null&&a!==void 0?a:e;let c=new s(o==null?void 0:o.headers);return c.has(\"apikey\")||c.set(\"apikey\",e),c.has(\"Authorization\")||c.set(\"Authorization\",`Bearer ${l}`),r(i,Object.assign(Object.assign({},o),{headers:c}))})};var vE=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};function xE(e){return e.endsWith(\"\/\")?e:e+\"\/\"}function wE(e,t){var n,r;const{db:s,auth:i,realtime:o,global:a}=e,{db:l,auth:c,realtime:d,global:h}=t,f={db:Object.assign(Object.assign({},l),s),auth:Object.assign(Object.assign({},c),i),realtime:Object.assign(Object.assign({},d),o),storage:{},global:Object.assign(Object.assign(Object.assign({},h),a),{headers:Object.assign(Object.assign({},(n=h==null?void 0:h.headers)!==null&&n!==void 0?n:{}),(r=a==null?void 0:a.headers)!==null&&r!==void 0?r:{})}),accessToken:()=>vE(this,void 0,void 0,function*(){return\"\"})};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function kE(e){const t=e==null?void 0:e.trim();if(!t)throw new Error(\"supabaseUrl is required.\");if(!t.match(\/^https?:\\\/\\\/\/i))throw new Error(\"Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.\");try{return new URL(xE(t))}catch{throw Error(\"Invalid supabaseUrl: Provided URL is malformed.\")}}const iv=\"2.71.1\",rr=30*1e3,qu=3,pl=qu*rr,bE=\"http:\/\/localhost:9999\",SE=\"supabase.auth.token\",_E={\"X-Client-Info\":`gotrue-js\/${iv}`},Ku=\"X-Supabase-Api-Version\",ov={\"2024-01-01\":{timestamp:Date.parse(\"2024-01-01T00:00:00.0Z\"),name:\"2024-01-01\"}},jE=\/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$\/i,EE=10*60*1e3;class Cd extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name=\"AuthError\",this.status=n,this.code=r}}function I(e){return typeof e==\"object\"&&e!==null&&\"__isAuthError\"in e}class TE extends Cd{constructor(t,n,r){super(t,n,r),this.name=\"AuthApiError\",this.status=n,this.code=r}}function CE(e){return I(e)&&e.name===\"AuthApiError\"}class av extends Cd{constructor(t,n){super(t),this.name=\"AuthUnknownError\",this.originalError=n}}class xn extends Cd{constructor(t,n,r,s){super(t,r,s),this.name=n,this.status=r}}class Gt extends xn{constructor(){super(\"Auth session missing!\",\"AuthSessionMissingError\",400,void 0)}}function PE(e){return I(e)&&e.name===\"AuthSessionMissingError\"}class Vi extends xn{constructor(){super(\"Auth session or user missing\",\"AuthInvalidTokenResponseError\",500,void 0)}}class $i extends xn{constructor(t){super(t,\"AuthInvalidCredentialsError\",400,void 0)}}class Fi extends xn{constructor(t,n=null){super(t,\"AuthImplicitGrantRedirectError\",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function NE(e){return I(e)&&e.name===\"AuthImplicitGrantRedirectError\"}class kp extends xn{constructor(t,n=null){super(t,\"AuthPKCEGrantCodeExchangeError\",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class Gu extends xn{constructor(t,n){super(t,\"AuthRetryableFetchError\",n,void 0)}}function ml(e){return I(e)&&e.name===\"AuthRetryableFetchError\"}class bp extends xn{constructor(t,n,r){super(t,\"AuthWeakPasswordError\",n,\"weak_password\"),this.reasons=r}}class Qu extends xn{constructor(t){super(t,\"AuthInvalidJwtError\",400,\"invalid_jwt\")}}const zo=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\".split(\"\"),Sp=` \t\n\\r=`.split(\"\"),AE=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<Sp.length;t+=1)e[Sp[t].charCodeAt(0)]=-2;for(let t=0;t<zo.length;t+=1)e[zo[t].charCodeAt(0)]=t;return e})();function _p(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(zo[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(zo[r]),t.queuedBits-=6}}function lv(e,t,n){const r=AE[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character \"${String.fromCharCode(e)}\"`)}}function jp(e){const t=[],n=o=>{t.push(String.fromCodePoint(o))},r={utf8seq:0,codepoint:0},s={queue:0,queuedBits:0},i=o=>{OE(o,r,n)};for(let o=0;o<e.length;o+=1)lv(e.charCodeAt(o),s,i);return t.join(\"\")}function RE(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function ME(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const s=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|s)+65536,n+=1}RE(r,t)}}function OE(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error(\"Invalid UTF-8 sequence\");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error(\"Invalid UTF-8 sequence\");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function LE(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};for(let s=0;s<e.length;s+=1)lv(e.charCodeAt(s),n,r);return new Uint8Array(t)}function DE(e){const t=[];return ME(e,n=>t.push(n)),new Uint8Array(t)}function IE(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};return e.forEach(s=>_p(s,n,r)),_p(null,n,r),t.join(\"\")}function VE(e){return Math.round(Date.now()\/1e3)+e}function $E(){return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(\/[xy]\/g,function(e){const t=Math.random()*16|0;return(e==\"x\"?t:t&3|8).toString(16)})}const ct=()=>typeof window<\"u\"&&typeof document<\"u\",Sn={tested:!1,writable:!1},uv=()=>{if(!ct())return!1;try{if(typeof globalThis.localStorage!=\"object\")return!1}catch{return!1}if(Sn.tested)return Sn.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Sn.tested=!0,Sn.writable=!0}catch{Sn.tested=!0,Sn.writable=!1}return Sn.writable};function FE(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]===\"#\")try{new URLSearchParams(n.hash.substring(1)).forEach((s,i)=>{t[i]=s})}catch{}return n.searchParams.forEach((r,s)=>{t[s]=r}),t}const cv=e=>{let t;return e?t=e:typeof fetch>\"u\"?t=(...n)=>li(async()=>{const{default:r}=await Promise.resolve().then(()=>qr);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},BE=e=>typeof e==\"object\"&&e!==null&&\"status\"in e&&\"ok\"in e&&\"json\"in e&&typeof e.json==\"function\",sr=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},_n=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},qt=async(e,t)=>{await e.removeItem(t)};class xa{constructor(){this.promise=new xa.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}xa.promiseConstructor=Promise;function gl(e){const t=e.split(\".\");if(t.length!==3)throw new Qu(\"Invalid JWT structure\");for(let r=0;r<t.length;r++)if(!jE.test(t[r]))throw new Qu(\"JWT not in base64url format\");return{header:JSON.parse(jp(t[0])),payload:JSON.parse(jp(t[1])),signature:LE(t[2]),raw:{header:t[0],payload:t[1]}}}async function UE(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function zE(e,t){return new Promise((r,s)=>{(async()=>{for(let i=0;i<1\/0;i++)try{const o=await e(i);if(!t(i,null,o)){r(o);return}}catch(o){if(!t(i,o)){s(o);return}}})()})}function WE(e){return(\"0\"+e.toString(16)).substr(-2)}function HE(){const t=new Uint32Array(56);if(typeof crypto>\"u\"){const n=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~\",r=n.length;let s=\"\";for(let i=0;i<56;i++)s+=n.charAt(Math.floor(Math.random()*r));return s}return crypto.getRandomValues(t),Array.from(t,WE).join(\"\")}async function qE(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest(\"SHA-256\",n),s=new Uint8Array(r);return Array.from(s).map(i=>String.fromCharCode(i)).join(\"\")}async function KE(e){if(!(typeof crypto<\"u\"&&typeof crypto.subtle<\"u\"&&typeof TextEncoder<\"u\"))return console.warn(\"WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256.\"),e;const n=await qE(e);return btoa(n).replace(\/\\+\/g,\"-\").replace(\/\\\/\/g,\"_\").replace(\/=+$\/,\"\")}async function Jn(e,t,n=!1){const r=HE();let s=r;n&&(s+=\"\/PASSWORD_RECOVERY\"),await sr(e,`${t}-code-verifier`,s);const i=await KE(r);return[i,r===i?\"plain\":\"s256\"]}const GE=\/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$\/i;function QE(e){const t=e.headers.get(Ku);if(!t||!t.match(GE))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function YE(e){if(!e)throw new Error(\"Missing exp claim\");const t=Math.floor(Date.now()\/1e3);if(e<=t)throw new Error(\"JWT has expired\")}function XE(e){switch(e){case\"RS256\":return{name:\"RSASSA-PKCS1-v1_5\",hash:{name:\"SHA-256\"}};case\"ES256\":return{name:\"ECDSA\",namedCurve:\"P-256\",hash:{name:\"SHA-256\"}};default:throw new Error(\"Invalid alg claim\")}}const JE=\/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$\/;function Zn(e){if(!JE.test(e))throw new Error(\"@supabase\/auth-js: Expected parameter to be UUID but is not\")}function yl(){const e={};return new Proxy(e,{get:(t,n)=>{if(n===\"__isUserNotAvailableProxy\")return!0;if(typeof n==\"symbol\"){const r=n.toString();if(r===\"Symbol(Symbol.toPrimitive)\"||r===\"Symbol(Symbol.toStringTag)\"||r===\"Symbol(util.inspect.custom)\")return}throw new Error(`@supabase\/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the \"${n}\" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase\/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the \"${n}\" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase\/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the \"${n}\" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function Ep(e){return JSON.parse(JSON.stringify(e))}var ZE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n};const Cn=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),eT=[502,503,504];async function Tp(e){var t;if(!BE(e))throw new Gu(Cn(e),0);if(eT.includes(e.status))throw new Gu(Cn(e),e.status);let n;try{n=await e.json()}catch(i){throw new av(Cn(i),i)}let r;const s=QE(e);if(s&&s.getTime()>=ov[\"2024-01-01\"].timestamp&&typeof n==\"object\"&&n&&typeof n.code==\"string\"?r=n.code:typeof n==\"object\"&&n&&typeof n.error_code==\"string\"&&(r=n.error_code),r){if(r===\"weak_password\")throw new bp(Cn(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r===\"session_not_found\")throw new Gt}else if(typeof n==\"object\"&&n&&typeof n.weak_password==\"object\"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((i,o)=>i&&typeof o==\"string\",!0))throw new bp(Cn(n),e.status,n.weak_password.reasons);throw new TE(Cn(n),e.status||500,r)}const tT=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e===\"GET\"?s:(s.headers=Object.assign({\"Content-Type\":\"application\/json;charset=UTF-8\"},t==null?void 0:t.headers),s.body=JSON.stringify(r),Object.assign(Object.assign({},s),n))};async function V(e,t,n,r){var s;const i=Object.assign({},r==null?void 0:r.headers);i[Ku]||(i[Ku]=ov[\"2024-01-01\"].name),r!=null&&r.jwt&&(i.Authorization=`Bearer ${r.jwt}`);const o=(s=r==null?void 0:r.query)!==null&&s!==void 0?s:{};r!=null&&r.redirectTo&&(o.redirect_to=r.redirectTo);const a=Object.keys(o).length?\"?\"+new URLSearchParams(o).toString():\"\",l=await nT(e,t,n+a,{headers:i,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function nT(e,t,n,r,s,i){const o=tT(t,r,s,i);let a;try{a=await e(n,Object.assign({},o))}catch(l){throw console.error(l),new Gu(Cn(l),0)}if(a.ok||await Tp(a),r!=null&&r.noResolveJson)return a;try{return await a.json()}catch(l){await Tp(l)}}function Rt(e){var t;let n=null;oT(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=VE(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function Cp(e){const t=Rt(e);return!t.error&&e.weak_password&&typeof e.weak_password==\"object\"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message==\"string\"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r==\"string\",!0)&&(t.data.weak_password=e.weak_password),t}function Zt(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function rT(e){return{data:e,error:null}}function sT(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:i}=e,o=ZE(e,[\"action_link\",\"email_otp\",\"hashed_token\",\"redirect_to\",\"verification_type\"]),a={action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:i},l=Object.assign({},o);return{data:{properties:a,user:l},error:null}}function iT(e){return e}function oT(e){return e.access_token&&e.refresh_token&&e.expires_in}const vl=[\"global\",\"local\",\"others\"];var aT=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n};class lT{constructor({url:t=\"\",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=cv(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(t,n=vl[0]){if(vl.indexOf(n)<0)throw new Error(`@supabase\/auth-js: Parameter scope must be one of ${vl.join(\", \")}`);try{return await V(this.fetch,\"POST\",`${this.url}\/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(I(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await V(this.fetch,\"POST\",`${this.url}\/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Zt})}catch(r){if(I(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=aT(t,[\"options\"]),s=Object.assign(Object.assign({},r),n);return\"newEmail\"in r&&(s.new_email=r==null?void 0:r.newEmail,delete s.newEmail),await V(this.fetch,\"POST\",`${this.url}\/admin\/generate_link`,{body:s,headers:this.headers,xform:sT,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(I(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await V(this.fetch,\"POST\",`${this.url}\/admin\/users`,{body:t,headers:this.headers,xform:Zt})}catch(n){if(I(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,s,i,o,a,l;try{const c={nextPage:null,lastPage:0,total:0},d=await V(this.fetch,\"GET\",`${this.url}\/admin\/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:\"\",per_page:(i=(s=t==null?void 0:t.perPage)===null||s===void 0?void 0:s.toString())!==null&&i!==void 0?i:\"\"},xform:iT});if(d.error)throw d.error;const h=await d.json(),f=(o=d.headers.get(\"x-total-count\"))!==null&&o!==void 0?o:0,p=(l=(a=d.headers.get(\"link\"))===null||a===void 0?void 0:a.split(\",\"))!==null&&l!==void 0?l:[];return p.length>0&&(p.forEach(v=>{const x=parseInt(v.split(\";\")[0].split(\"=\")[1].substring(0,1)),k=JSON.parse(v.split(\";\")[1].split(\"=\")[1]);c[`${k}Page`]=x}),c.total=parseInt(f)),{data:Object.assign(Object.assign({},h),c),error:null}}catch(c){if(I(c))return{data:{users:[]},error:c};throw c}}async getUserById(t){Zn(t);try{return await V(this.fetch,\"GET\",`${this.url}\/admin\/users\/${t}`,{headers:this.headers,xform:Zt})}catch(n){if(I(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){Zn(t);try{return await V(this.fetch,\"PUT\",`${this.url}\/admin\/users\/${t}`,{body:n,headers:this.headers,xform:Zt})}catch(r){if(I(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){Zn(t);try{return await V(this.fetch,\"DELETE\",`${this.url}\/admin\/users\/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:Zt})}catch(r){if(I(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){Zn(t.userId);try{const{data:n,error:r}=await V(this.fetch,\"GET\",`${this.url}\/admin\/users\/${t.userId}\/factors`,{headers:this.headers,xform:s=>({data:{factors:s},error:null})});return{data:n,error:r}}catch(n){if(I(n))return{data:null,error:n};throw n}}async _deleteFactor(t){Zn(t.userId),Zn(t.id);try{return{data:await V(this.fetch,\"DELETE\",`${this.url}\/admin\/users\/${t.userId}\/factors\/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(I(n))return{data:null,error:n};throw n}}}function Pp(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}function uT(){if(typeof globalThis!=\"object\")try{Object.defineProperty(Object.prototype,\"__magic__\",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<\"u\"&&(self.globalThis=self)}}const er={debug:!!(globalThis&&uv()&&globalThis.localStorage&&globalThis.localStorage.getItem(\"supabase.gotrue-js.locks.debug\")===\"true\")};class dv extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class cT extends dv{}async function dT(e,t,n){er.debug&&console.log(\"@supabase\/gotrue-js: navigatorLock: acquire lock\",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),er.debug&&console.log(\"@supabase\/gotrue-js: navigatorLock acquire timed out\",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,t===0?{mode:\"exclusive\",ifAvailable:!0}:{mode:\"exclusive\",signal:r.signal},async s=>{if(s){er.debug&&console.log(\"@supabase\/gotrue-js: navigatorLock: acquired\",e,s.name);try{return await n()}finally{er.debug&&console.log(\"@supabase\/gotrue-js: navigatorLock: released\",e,s.name)}}else{if(t===0)throw er.debug&&console.log(\"@supabase\/gotrue-js: navigatorLock: not immediately available\",e),new cT(`Acquiring an exclusive Navigator LockManager lock \"${e}\" immediately failed`);if(er.debug)try{const i=await globalThis.navigator.locks.query();console.log(\"@supabase\/gotrue-js: Navigator LockManager state\",JSON.stringify(i,null,\"  \"))}catch(i){console.warn(\"@supabase\/gotrue-js: Error when querying Navigator LockManager state\",i)}return console.warn(\"@supabase\/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/LockManager\/request\"),await n()}}))}uT();const hT={url:bE,storageKey:SE,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:_E,flowType:\"implicit\",debug:!1,hasCustomAuthorizationHeader:!1};async function Np(e,t,n){return await n()}const tr={};class Ys{constructor(t){var n,r;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=Ys.nextInstanceID,Ys.nextInstanceID+=1,this.instanceID>0&&ct()&&console.warn(\"Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.\");const s=Object.assign(Object.assign({},hT),t);if(this.logDebugMessages=!!s.debug,typeof s.debug==\"function\"&&(this.logger=s.debug),this.persistSession=s.persistSession,this.storageKey=s.storageKey,this.autoRefreshToken=s.autoRefreshToken,this.admin=new lT({url:s.url,headers:s.headers,fetch:s.fetch}),this.url=s.url,this.headers=s.headers,this.fetch=cv(s.fetch),this.lock=s.lock||Np,this.detectSessionInUrl=s.detectSessionInUrl,this.flowType=s.flowType,this.hasCustomAuthorizationHeader=s.hasCustomAuthorizationHeader,s.lock?this.lock=s.lock:ct()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=dT:this.lock=Np,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?(s.storage?this.storage=s.storage:uv()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=Pp(this.memoryStorage)),s.userStorage&&(this.userStorage=s.userStorage)):(this.memoryStorage={},this.storage=Pp(this.memoryStorage)),ct()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(i){console.error(\"Failed to create a new BroadcastChannel, multi-tab state changes will not be available\",i)}(r=this.broadcastChannel)===null||r===void 0||r.addEventListener(\"message\",async i=>{this._debug(\"received broadcast notification from other tab or client\",i),await this._notifyAllSubscribers(i.data.event,i.data.session,!1)})}this.initialize()}get jwks(){var t,n;return(n=(t=tr[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){tr[this.storageKey]=Object.assign(Object.assign({},tr[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=tr[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){tr[this.storageKey]=Object.assign(Object.assign({},tr[this.storageKey]),{cachedAt:t})}_debug(...t){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${iv}) ${new Date().toISOString()}`,...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(-1,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{const n=FE(window.location.href);let r=\"none\";if(this._isImplicitGrantCallback(n)?r=\"implicit\":await this._isPKCECallback(n)&&(r=\"pkce\"),ct()&&this.detectSessionInUrl&&r!==\"none\"){const{data:s,error:i}=await this._getSessionFromURL(n,r);if(i){if(this._debug(\"#_initialize()\",\"error detecting session from URL\",i),NE(i)){const l=(t=i.details)===null||t===void 0?void 0:t.code;if(l===\"identity_already_exists\"||l===\"identity_not_found\"||l===\"single_identity_not_deletable\")return{error:i}}return await this._removeSession(),{error:i}}const{session:o,redirectType:a}=s;return this._debug(\"#_initialize()\",\"detected session in URL\",o,\"redirect type\",a),await this._saveSession(o),setTimeout(async()=>{a===\"recovery\"?await this._notifyAllSubscribers(\"PASSWORD_RECOVERY\",o):await this._notifyAllSubscribers(\"SIGNED_IN\",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return I(n)?{error:n}:{error:new av(\"Unexpected error during initialization\",n)}}finally{await this._handleVisibilityChange(),this._debug(\"#_initialize()\",\"end\")}}async signInAnonymously(t){var n,r,s;try{const i=await V(this.fetch,\"POST\",`${this.url}\/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(s=t==null?void 0:t.options)===null||s===void 0?void 0:s.captchaToken}},xform:Rt}),{data:o,error:a}=i;if(a||!o)return{data:{user:null,session:null},error:a};const l=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers(\"SIGNED_IN\",l)),{data:{user:c,session:l},error:null}}catch(i){if(I(i))return{data:{user:null,session:null},error:i};throw i}}async signUp(t){var n,r,s;try{let i;if(\"email\"in t){const{email:d,password:h,options:f}=t;let p=null,v=null;this.flowType===\"pkce\"&&([p,v]=await Jn(this.storage,this.storageKey)),i=await V(this.fetch,\"POST\",`${this.url}\/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:d,password:h,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:p,code_challenge_method:v},xform:Rt})}else if(\"phone\"in t){const{phone:d,password:h,options:f}=t;i=await V(this.fetch,\"POST\",`${this.url}\/signup`,{headers:this.headers,body:{phone:d,password:h,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(s=f==null?void 0:f.channel)!==null&&s!==void 0?s:\"sms\",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:Rt})}else throw new $i(\"You must provide either an email or phone number and a password\");const{data:o,error:a}=i;if(a||!o)return{data:{user:null,session:null},error:a};const l=o.session,c=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers(\"SIGNED_IN\",l)),{data:{user:c,session:l},error:null}}catch(i){if(I(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithPassword(t){try{let n;if(\"email\"in t){const{email:i,password:o,options:a}=t;n=await V(this.fetch,\"POST\",`${this.url}\/token?grant_type=password`,{headers:this.headers,body:{email:i,password:o,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:Cp})}else if(\"phone\"in t){const{phone:i,password:o,options:a}=t;n=await V(this.fetch,\"POST\",`${this.url}\/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:o,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:Cp})}else throw new $i(\"You must provide either an email or phone number and a password\");const{data:r,error:s}=n;return s?{data:{user:null,session:null},error:s}:!r||!r.session||!r.user?{data:{user:null,session:null},error:new Vi}:(r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers(\"SIGNED_IN\",r.session)),{data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:s})}catch(n){if(I(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,s,i;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(s=t.options)===null||s===void 0?void 0:s.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;if(n===\"solana\")return await this.signInWithSolana(t);throw new Error(`@supabase\/auth-js: Unsupported chain \"${n}\"`)}async signInWithSolana(t){var n,r,s,i,o,a,l,c,d,h,f,p;let v,x;if(\"message\"in t)v=t.message,x=t.signature;else{const{chain:k,wallet:g,statement:m,options:y}=t;let w;if(ct())if(typeof g==\"object\")w=g;else{const j=window;if(\"solana\"in j&&typeof j.solana==\"object\"&&(\"signIn\"in j.solana&&typeof j.solana.signIn==\"function\"||\"signMessage\"in j.solana&&typeof j.solana.signMessage==\"function\"))w=j.solana;else throw new Error(\"@supabase\/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.\")}else{if(typeof g!=\"object\"||!(y!=null&&y.url))throw new Error(\"@supabase\/auth-js: Both wallet and url must be specified in non-browser environments.\");w=g}const b=new URL((n=y==null?void 0:y.url)!==null&&n!==void 0?n:window.location.href);if(\"signIn\"in w&&w.signIn){const j=await w.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},y==null?void 0:y.signInWithSolana),{version:\"1\",domain:b.host,uri:b.href}),m?{statement:m}:null));let _;if(Array.isArray(j)&&j[0]&&typeof j[0]==\"object\")_=j[0];else if(j&&typeof j==\"object\"&&\"signedMessage\"in j&&\"signature\"in j)_=j;else throw new Error(\"@supabase\/auth-js: Wallet method signIn() returned unrecognized value\");if(\"signedMessage\"in _&&\"signature\"in _&&(typeof _.signedMessage==\"string\"||_.signedMessage instanceof Uint8Array)&&_.signature instanceof Uint8Array)v=typeof _.signedMessage==\"string\"?_.signedMessage:new TextDecoder().decode(_.signedMessage),x=_.signature;else throw new Error(\"@supabase\/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields\")}else{if(!(\"signMessage\"in w)||typeof w.signMessage!=\"function\"||!(\"publicKey\"in w)||typeof w!=\"object\"||!w.publicKey||!(\"toBase58\"in w.publicKey)||typeof w.publicKey.toBase58!=\"function\")throw new Error(\"@supabase\/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API\");v=[`${b.host} wants you to sign in with your Solana account:`,w.publicKey.toBase58(),...m?[\"\",m,\"\"]:[\"\"],\"Version: 1\",`URI: ${b.href}`,`Issued At: ${(s=(r=y==null?void 0:y.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&s!==void 0?s:new Date().toISOString()}`,...!((i=y==null?void 0:y.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${y.signInWithSolana.notBefore}`]:[],...!((o=y==null?void 0:y.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${y.signInWithSolana.expirationTime}`]:[],...!((a=y==null?void 0:y.signInWithSolana)===null||a===void 0)&&a.chainId?[`Chain ID: ${y.signInWithSolana.chainId}`]:[],...!((l=y==null?void 0:y.signInWithSolana)===null||l===void 0)&&l.nonce?[`Nonce: ${y.signInWithSolana.nonce}`]:[],...!((c=y==null?void 0:y.signInWithSolana)===null||c===void 0)&&c.requestId?[`Request ID: ${y.signInWithSolana.requestId}`]:[],...!((h=(d=y==null?void 0:y.signInWithSolana)===null||d===void 0?void 0:d.resources)===null||h===void 0)&&h.length?[\"Resources\",...y.signInWithSolana.resources.map(_=>`- ${_}`)]:[]].join(`\n`);const j=await w.signMessage(new TextEncoder().encode(v),\"utf8\");if(!j||!(j instanceof Uint8Array))throw new Error(\"@supabase\/auth-js: Wallet signMessage() API returned an recognized value\");x=j}}try{const{data:k,error:g}=await V(this.fetch,\"POST\",`${this.url}\/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:\"solana\",message:v,signature:IE(x)},!((f=t.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(p=t.options)===null||p===void 0?void 0:p.captchaToken}}:null),xform:Rt});if(g)throw g;return!k||!k.session||!k.user?{data:{user:null,session:null},error:new Vi}:(k.session&&(await this._saveSession(k.session),await this._notifyAllSubscribers(\"SIGNED_IN\",k.session)),{data:Object.assign({},k),error:g})}catch(k){if(I(k))return{data:{user:null,session:null},error:k};throw k}}async _exchangeCodeForSession(t){const n=await _n(this.storage,`${this.storageKey}-code-verifier`),[r,s]=(n??\"\").split(\"\/\");try{const{data:i,error:o}=await V(this.fetch,\"POST\",`${this.url}\/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:Rt});if(await qt(this.storage,`${this.storageKey}-code-verifier`),o)throw o;return!i||!i.session||!i.user?{data:{user:null,session:null,redirectType:null},error:new Vi}:(i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers(\"SIGNED_IN\",i.session)),{data:Object.assign(Object.assign({},i),{redirectType:s??null}),error:o})}catch(i){if(I(i))return{data:{user:null,session:null,redirectType:null},error:i};throw i}}async signInWithIdToken(t){try{const{options:n,provider:r,token:s,access_token:i,nonce:o}=t,a=await V(this.fetch,\"POST\",`${this.url}\/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:s,access_token:i,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Rt}),{data:l,error:c}=a;return c?{data:{user:null,session:null},error:c}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new Vi}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers(\"SIGNED_IN\",l.session)),{data:l,error:c})}catch(n){if(I(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,s,i,o;try{if(\"email\"in t){const{email:a,options:l}=t;let c=null,d=null;this.flowType===\"pkce\"&&([c,d]=await Jn(this.storage,this.storageKey));const{error:h}=await V(this.fetch,\"POST\",`${this.url}\/otp`,{headers:this.headers,body:{email:a,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:c,code_challenge_method:d},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:h}}if(\"phone\"in t){const{phone:a,options:l}=t,{data:c,error:d}=await V(this.fetch,\"POST\",`${this.url}\/otp`,{headers:this.headers,body:{phone:a,data:(s=l==null?void 0:l.data)!==null&&s!==void 0?s:{},create_user:(i=l==null?void 0:l.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(o=l==null?void 0:l.channel)!==null&&o!==void 0?o:\"sms\"}});return{data:{user:null,session:null,messageId:c==null?void 0:c.message_id},error:d}}throw new $i(\"You must provide either an email or phone number.\")}catch(a){if(I(a))return{data:{user:null,session:null},error:a};throw a}}async verifyOtp(t){var n,r;try{let s,i;\"options\"in t&&(s=(n=t.options)===null||n===void 0?void 0:n.redirectTo,i=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:o,error:a}=await V(this.fetch,\"POST\",`${this.url}\/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:i}}),redirectTo:s,xform:Rt});if(a)throw a;if(!o)throw new Error(\"An error occurred on token verification.\");const l=o.session,c=o.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(t.type==\"recovery\"?\"PASSWORD_RECOVERY\":\"SIGNED_IN\",l)),{data:{user:c,session:l},error:null}}catch(s){if(I(s))return{data:{user:null,session:null},error:s};throw s}}async signInWithSSO(t){var n,r,s;try{let i=null,o=null;return this.flowType===\"pkce\"&&([i,o]=await Jn(this.storage,this.storageKey)),await V(this.fetch,\"POST\",`${this.url}\/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},\"providerId\"in t?{provider_id:t.providerId}:null),\"domain\"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((s=t==null?void 0:t.options)===null||s===void 0)&&s.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:i,code_challenge_method:o}),headers:this.headers,xform:rT})}catch(i){if(I(i))return{data:null,error:i};throw i}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new Gt;const{error:s}=await V(this.fetch,\"GET\",`${this.url}\/reauthenticate`,{headers:this.headers,jwt:n.access_token});return{data:{user:null,session:null},error:s}})}catch(t){if(I(t))return{data:{user:null,session:null},error:t};throw t}}async resend(t){try{const n=`${this.url}\/resend`;if(\"email\"in t){const{email:r,type:s,options:i}=t,{error:o}=await V(this.fetch,\"POST\",n,{headers:this.headers,body:{email:r,type:s,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return{data:{user:null,session:null},error:o}}else if(\"phone\"in t){const{phone:r,type:s,options:i}=t,{data:o,error:a}=await V(this.fetch,\"POST\",n,{headers:this.headers,body:{phone:r,type:s,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return{data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:a}}throw new $i(\"You must provide either an email or phone number and a type\")}catch(n){if(I(n))return{data:{user:null,session:null},error:n};throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(-1,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug(\"#_acquireLock\",\"begin\",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),s=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await s}catch{}})()),s}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug(\"#_acquireLock\",\"lock acquired for storage key\",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const s=[...this.pendingInLock];await Promise.all(s),this.pendingInLock.splice(0,s.length)}return await r}finally{this._debug(\"#_acquireLock\",\"lock released for storage key\",this.storageKey),this.lockAcquired=!1}})}finally{this._debug(\"#_acquireLock\",\"end\")}}async _useSession(t){this._debug(\"#_useSession\",\"begin\");try{const n=await this.__loadSession();return await t(n)}finally{this._debug(\"#_useSession\",\"end\")}}async __loadSession(){this._debug(\"#__loadSession()\",\"begin\"),this.lockAcquired||this._debug(\"#__loadSession()\",\"used outside of an acquired lock!\",new Error().stack);try{let t=null;const n=await _n(this.storage,this.storageKey);if(this._debug(\"#getSession()\",\"session from storage\",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug(\"#getSession()\",\"session from storage is not valid\"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<pl:!1;if(this._debug(\"#__loadSession()\",`session has${r?\"\":\" not\"} expired`,\"expires_at\",t.expires_at),!r){if(this.userStorage){const o=await _n(this.userStorage,this.storageKey+\"-user\");o!=null&&o.user?t.user=o.user:t.user=yl()}if(this.storage.isServer&&t.user){let o=this.suppressGetSessionWarning;t=new Proxy(t,{get:(l,c,d)=>(!o&&c===\"user\"&&(console.warn(\"Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server.\"),o=!0,this.suppressGetSessionWarning=!0),Reflect.get(l,c,d))})}return{data:{session:t},error:null}}const{session:s,error:i}=await this._callRefreshToken(t.refresh_token);return i?{data:{session:null},error:i}:{data:{session:s},error:null}}finally{this._debug(\"#__loadSession()\",\"end\")}}async getUser(t){return t?await this._getUser(t):(await this.initializePromise,await this._acquireLock(-1,async()=>await this._getUser()))}async _getUser(t){try{return t?await V(this.fetch,\"GET\",`${this.url}\/user`,{headers:this.headers,jwt:t,xform:Zt}):await this._useSession(async n=>{var r,s,i;const{data:o,error:a}=n;if(a)throw a;return!(!((r=o.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Gt}:await V(this.fetch,\"GET\",`${this.url}\/user`,{headers:this.headers,jwt:(i=(s=o.session)===null||s===void 0?void 0:s.access_token)!==null&&i!==void 0?i:void 0,xform:Zt})})}catch(n){if(I(n))return PE(n)&&(await this._removeSession(),await qt(this.storage,`${this.storageKey}-code-verifier`)),{data:{user:null},error:n};throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:s,error:i}=r;if(i)throw i;if(!s.session)throw new Gt;const o=s.session;let a=null,l=null;this.flowType===\"pkce\"&&t.email!=null&&([a,l]=await Jn(this.storage,this.storageKey));const{data:c,error:d}=await V(this.fetch,\"PUT\",`${this.url}\/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:a,code_challenge_method:l}),jwt:o.access_token,xform:Zt});if(d)throw d;return o.user=c.user,await this._saveSession(o),await this._notifyAllSubscribers(\"USER_UPDATED\",o),{data:{user:o.user},error:null}})}catch(r){if(I(r))return{data:{user:null},error:r};throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new Gt;const n=Date.now()\/1e3;let r=n,s=!0,i=null;const{payload:o}=gl(t.access_token);if(o.exp&&(r=o.exp,s=r<=n),s){const{session:a,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!a)return{data:{user:null,session:null},error:null};i=a}else{const{data:a,error:l}=await this._getUser(t.access_token);if(l)throw l;i={access_token:t.access_token,refresh_token:t.refresh_token,user:a.user,token_type:\"bearer\",expires_in:r-n,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers(\"SIGNED_IN\",i)}return{data:{user:i.user,session:i},error:null}}catch(n){if(I(n))return{data:{session:null,user:null},error:n};throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:o,error:a}=n;if(a)throw a;t=(r=o.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new Gt;const{session:s,error:i}=await this._callRefreshToken(t.refresh_token);return i?{data:{user:null,session:null},error:i}:s?{data:{user:s.user,session:s},error:null}:{data:{user:null,session:null},error:null}})}catch(n){if(I(n))return{data:{user:null,session:null},error:n};throw n}}async _getSessionFromURL(t,n){try{if(!ct())throw new Fi(\"No browser detected.\");if(t.error||t.error_description||t.error_code)throw new Fi(t.error_description||\"Error in URL with unspecified error_description\",{error:t.error||\"unspecified_error\",code:t.error_code||\"unspecified_code\"});switch(n){case\"implicit\":if(this.flowType===\"pkce\")throw new kp(\"Not a valid PKCE flow url.\");break;case\"pkce\":if(this.flowType===\"implicit\")throw new Fi(\"Not a valid implicit grant flow url.\");break;default:}if(n===\"pkce\"){if(this._debug(\"#_initialize()\",\"begin\",\"is PKCE flow\",!0),!t.code)throw new kp(\"No code detected.\");const{data:m,error:y}=await this._exchangeCodeForSession(t.code);if(y)throw y;const w=new URL(window.location.href);return w.searchParams.delete(\"code\"),window.history.replaceState(window.history.state,\"\",w.toString()),{data:{session:m.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:s,access_token:i,refresh_token:o,expires_in:a,expires_at:l,token_type:c}=t;if(!i||!a||!o||!c)throw new Fi(\"No session defined in URL\");const d=Math.round(Date.now()\/1e3),h=parseInt(a);let f=d+h;l&&(f=parseInt(l));const p=f-d;p*1e3<=rr&&console.warn(`@supabase\/gotrue-js: Session as retrieved from URL expires in ${p}s, should have been closer to ${h}s`);const v=f-h;d-v>=120?console.warn(\"@supabase\/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale\",v,f,d):d-v<0&&console.warn(\"@supabase\/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew\",v,f,d);const{data:x,error:k}=await this._getUser(i);if(k)throw k;const g={provider_token:r,provider_refresh_token:s,access_token:i,expires_in:h,expires_at:f,refresh_token:o,token_type:c,user:x.user};return window.location.hash=\"\",this._debug(\"#_getSessionFromURL()\",\"clearing window.location.hash\"),{data:{session:g,redirectType:t.type},error:null}}catch(r){if(I(r))return{data:{session:null,redirectType:null},error:r};throw r}}_isImplicitGrantCallback(t){return!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await _n(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:\"global\"}){return await this.initializePromise,await this._acquireLock(-1,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:\"global\"}){return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i)return{error:i};const o=(r=s.session)===null||r===void 0?void 0:r.access_token;if(o){const{error:a}=await this.admin.signOut(o,t);if(a&&!(CE(a)&&(a.status===404||a.status===401||a.status===403)))return{error:a}}return t!==\"others\"&&(await this._removeSession(),await qt(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(t){const n=$E(),r={id:n,callback:t,unsubscribe:()=>{this._debug(\"#unsubscribe()\",\"state change callback with id removed\",n),this.stateChangeEmitters.delete(n)}};return this._debug(\"#onAuthStateChange()\",\"registered callback with id\",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(-1,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,s;try{const{data:{session:i},error:o}=n;if(o)throw o;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback(\"INITIAL_SESSION\",i)),this._debug(\"INITIAL_SESSION\",\"callback id\",t,\"session\",i)}catch(i){await((s=this.stateChangeEmitters.get(t))===null||s===void 0?void 0:s.callback(\"INITIAL_SESSION\",null)),this._debug(\"INITIAL_SESSION\",\"callback id\",t,\"error\",i),console.error(i)}})}async resetPasswordForEmail(t,n={}){let r=null,s=null;this.flowType===\"pkce\"&&([r,s]=await Jn(this.storage,this.storageKey,!0));try{return await V(this.fetch,\"POST\",`${this.url}\/recover`,{body:{email:t,code_challenge:r,code_challenge_method:s,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(i){if(I(i))return{data:null,error:i};throw i}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return{data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null}}catch(n){if(I(n))return{data:null,error:n};throw n}}async linkIdentity(t){var n;try{const{data:r,error:s}=await this._useSession(async i=>{var o,a,l,c,d;const{data:h,error:f}=i;if(f)throw f;const p=await this._getUrlForProvider(`${this.url}\/user\/identities\/authorize`,t.provider,{redirectTo:(o=t.options)===null||o===void 0?void 0:o.redirectTo,scopes:(a=t.options)===null||a===void 0?void 0:a.scopes,queryParams:(l=t.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await V(this.fetch,\"GET\",p,{headers:this.headers,jwt:(d=(c=h.session)===null||c===void 0?void 0:c.access_token)!==null&&d!==void 0?d:void 0})});if(s)throw s;return ct()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),{data:{provider:t.provider,url:r==null?void 0:r.url},error:null}}catch(r){if(I(r))return{data:{provider:t.provider,url:null},error:r};throw r}}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,s;const{data:i,error:o}=n;if(o)throw o;return await V(this.fetch,\"DELETE\",`${this.url}\/user\/identities\/${t.identity_id}`,{headers:this.headers,jwt:(s=(r=i.session)===null||r===void 0?void 0:r.access_token)!==null&&s!==void 0?s:void 0})})}catch(n){if(I(n))return{data:null,error:n};throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,\"begin\");try{const r=Date.now();return await zE(async s=>(s>0&&await UE(200*Math.pow(2,s-1)),this._debug(n,\"refreshing attempt\",s),await V(this.fetch,\"POST\",`${this.url}\/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Rt})),(s,i)=>{const o=200*Math.pow(2,s);return i&&ml(i)&&Date.now()+o-r<rr})}catch(r){if(this._debug(n,\"error\",r),I(r))return{data:{session:null,user:null},error:r};throw r}finally{this._debug(n,\"end\")}}_isValidSession(t){return typeof t==\"object\"&&t!==null&&\"access_token\"in t&&\"refresh_token\"in t&&\"expires_at\"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}\/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug(\"#_handleProviderSignIn()\",\"provider\",t,\"options\",n,\"url\",r),ct()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r=\"#_recoverAndRefresh()\";this._debug(r,\"begin\");try{const s=await _n(this.storage,this.storageKey);if(s&&this.userStorage){let o=await _n(this.userStorage,this.storageKey+\"-user\");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:s.user},await sr(this.userStorage,this.storageKey+\"-user\",o)),s.user=(t=o==null?void 0:o.user)!==null&&t!==void 0?t:yl()}else if(s&&!s.user&&!s.user){const o=await _n(this.storage,this.storageKey+\"-user\");o&&(o!=null&&o.user)?(s.user=o.user,await qt(this.storage,this.storageKey+\"-user\"),await sr(this.storage,this.storageKey,s)):s.user=yl()}if(this._debug(r,\"session from storage\",s),!this._isValidSession(s)){this._debug(r,\"session is not valid\"),s!==null&&await this._removeSession();return}const i=((n=s.expires_at)!==null&&n!==void 0?n:1\/0)*1e3-Date.now()<pl;if(this._debug(r,`session has${i?\"\":\" not\"} expired with margin of ${pl}s`),i){if(this.autoRefreshToken&&s.refresh_token){const{error:o}=await this._callRefreshToken(s.refresh_token);o&&(console.error(o),ml(o)||(this._debug(r,\"refresh failed with a non-retryable error, removing the session\",o),await this._removeSession()))}}else if(s.user&&s.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:a}=await this._getUser(s.access_token);!a&&(o!=null&&o.user)?(s.user=o.user,await this._saveSession(s),await this._notifyAllSubscribers(\"SIGNED_IN\",s)):this._debug(r,\"could not get user data, skipping SIGNED_IN notification\")}catch(o){console.error(\"Error getting user data:\",o),this._debug(r,\"error getting user data, skipping SIGNED_IN notification\",o)}else await this._notifyAllSubscribers(\"SIGNED_IN\",s)}catch(s){this._debug(r,\"error\",s),console.error(s);return}finally{this._debug(r,\"end\")}}async _callRefreshToken(t){var n,r;if(!t)throw new Gt;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const s=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(s,\"begin\");try{this.refreshingDeferred=new xa;const{data:i,error:o}=await this._refreshAccessToken(t);if(o)throw o;if(!i.session)throw new Gt;await this._saveSession(i.session),await this._notifyAllSubscribers(\"TOKEN_REFRESHED\",i.session);const a={session:i.session,error:null};return this.refreshingDeferred.resolve(a),a}catch(i){if(this._debug(s,\"error\",i),I(i)){const o={session:null,error:i};return ml(i)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(i),i}finally{this.refreshingDeferred=null,this._debug(s,\"end\")}}async _notifyAllSubscribers(t,n,r=!0){const s=`#_notifyAllSubscribers(${t})`;this._debug(s,\"begin\",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const i=[],o=Array.from(this.stateChangeEmitters.values()).map(async a=>{try{await a.callback(t,n)}catch(l){i.push(l)}});if(await Promise.all(o),i.length>0){for(let a=0;a<i.length;a+=1)console.error(i[a]);throw i[0]}}finally{this._debug(s,\"end\")}}async _saveSession(t){this._debug(\"#_saveSession()\",t),this.suppressGetSessionWarning=!0;const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await sr(this.userStorage,this.storageKey+\"-user\",{user:n.user});const s=Object.assign({},n);delete s.user;const i=Ep(s);await sr(this.storage,this.storageKey,i)}else{const s=Ep(n);await sr(this.storage,this.storageKey,s)}}async _removeSession(){this._debug(\"#_removeSession()\"),await qt(this.storage,this.storageKey),await qt(this.storage,this.storageKey+\"-code-verifier\"),await qt(this.storage,this.storageKey+\"-user\"),this.userStorage&&await qt(this.userStorage,this.storageKey+\"-user\"),await this._notifyAllSubscribers(\"SIGNED_OUT\",null)}_removeVisibilityChangedCallback(){this._debug(\"#_removeVisibilityChangedCallback()\");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&ct()&&(window!=null&&window.removeEventListener)&&window.removeEventListener(\"visibilitychange\",t)}catch(n){console.error(\"removing visibilitychange callback failed\",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug(\"#_startAutoRefresh()\");const t=setInterval(()=>this._autoRefreshTokenTick(),rr);this.autoRefreshTicker=t,t&&typeof t==\"object\"&&typeof t.unref==\"function\"?t.unref():typeof Deno<\"u\"&&typeof Deno.unrefTimer==\"function\"&&Deno.unrefTimer(t),setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0)}async _stopAutoRefresh(){this._debug(\"#_stopAutoRefresh()\");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug(\"#_autoRefreshTokenTick()\",\"begin\");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug(\"#_autoRefreshTokenTick()\",\"no session\");return}const s=Math.floor((r.expires_at*1e3-t)\/rr);this._debug(\"#_autoRefreshTokenTick()\",`access token expires in ${s} ticks, a tick lasts ${rr}ms, refresh threshold is ${qu} ticks`),s<=qu&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error(\"Auto refresh tick failed with error. This is likely a transient error.\",n)}}finally{this._debug(\"#_autoRefreshTokenTick()\",\"end\")}})}catch(t){if(t.isAcquireTimeout||t instanceof dv)this._debug(\"auto refresh token tick lock not available\");else throw t}}async _handleVisibilityChange(){if(this._debug(\"#_handleVisibilityChange()\"),!ct()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),window==null||window.addEventListener(\"visibilitychange\",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error(\"_handleVisibilityChange\",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,\"visibilityState\",document.visibilityState),document.visibilityState===\"visible\"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(-1,async()=>{if(document.visibilityState!==\"visible\"){this._debug(n,\"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting\");return}await this._recoverAndRefresh()}))):document.visibilityState===\"hidden\"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const s=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&s.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&s.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType===\"pkce\"){const[i,o]=await Jn(this.storage,this.storageKey),a=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(o)}`});s.push(a.toString())}if(r!=null&&r.queryParams){const i=new URLSearchParams(r.queryParams);s.push(i.toString())}return r!=null&&r.skipBrowserRedirect&&s.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${s.join(\"&\")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;return i?{data:null,error:i}:await V(this.fetch,\"DELETE\",`${this.url}\/factors\/${t.factorId}`,{headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(I(n))return{data:null,error:n};throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,s;const{data:i,error:o}=n;if(o)return{data:null,error:o};const a=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType===\"phone\"?{phone:t.phone}:{issuer:t.issuer}),{data:l,error:c}=await V(this.fetch,\"POST\",`${this.url}\/factors`,{body:a,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return c?{data:null,error:c}:(t.factorType===\"totp\"&&(!((s=l==null?void 0:l.totp)===null||s===void 0)&&s.qr_code)&&(l.totp.qr_code=`data:image\/svg+xml;utf-8,${l.totp.qr_code}`),{data:l,error:null})})}catch(n){if(I(n))return{data:null,error:n};throw n}}async _verify(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i)return{data:null,error:i};const{data:o,error:a}=await V(this.fetch,\"POST\",`${this.url}\/factors\/${t.factorId}\/verify`,{body:{code:t.code,challenge_id:t.challengeId},headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});return a?{data:null,error:a}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()\/1e3)+o.expires_in},o)),await this._notifyAllSubscribers(\"MFA_CHALLENGE_VERIFIED\",o),{data:o,error:a})})}catch(n){if(I(n))return{data:null,error:n};throw n}})}async _challenge(t){return this._acquireLock(-1,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;return i?{data:null,error:i}:await V(this.fetch,\"POST\",`${this.url}\/factors\/${t.factorId}\/challenge`,{body:{channel:t.channel},headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(I(n))return{data:null,error:n};throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?{data:null,error:r}:await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){const{data:{user:t},error:n}=await this.getUser();if(n)return{data:null,error:n};const r=(t==null?void 0:t.factors)||[],s=r.filter(o=>o.factor_type===\"totp\"&&o.status===\"verified\"),i=r.filter(o=>o.factor_type===\"phone\"&&o.status===\"verified\");return{data:{all:r,totp:s,phone:i},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async t=>{var n,r;const{data:{session:s},error:i}=t;if(i)return{data:null,error:i};if(!s)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:o}=gl(s.access_token);let a=null;o.aal&&(a=o.aal);let l=a;((r=(n=s.user.factors)===null||n===void 0?void 0:n.filter(h=>h.status===\"verified\"))!==null&&r!==void 0?r:[]).length>0&&(l=\"aal2\");const d=o.amr||[];return{data:{currentLevel:a,nextLevel:l,currentAuthenticationMethods:d},error:null}}))}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(a=>a.kid===t);if(r)return r;const s=Date.now();if(r=this.jwks.keys.find(a=>a.kid===t),r&&this.jwks_cached_at+EE>s)return r;const{data:i,error:o}=await V(this.fetch,\"GET\",`${this.url}\/.well-known\/jwks.json`,{headers:this.headers});if(o)throw o;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=s,r=i.keys.find(a=>a.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:p,error:v}=await this.getSession();if(v||!p.session)return{data:null,error:v};r=p.session.access_token}const{header:s,payload:i,signature:o,raw:{header:a,payload:l}}=gl(r);n!=null&&n.allowExpired||YE(i.exp);const c=!s.alg||s.alg.startsWith(\"HS\")||!s.kid||!(\"crypto\"in globalThis&&\"subtle\"in globalThis.crypto)?null:await this.fetchJwk(s.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!c){const{error:p}=await this.getUser(r);if(p)throw p;return{data:{claims:i,header:s,signature:o},error:null}}const d=XE(s.alg),h=await crypto.subtle.importKey(\"jwk\",c,d,!0,[\"verify\"]);if(!await crypto.subtle.verify(d,h,o,DE(`${a}.${l}`)))throw new Qu(\"Invalid JWT signature\");return{data:{claims:i,header:s,signature:o},error:null}}catch(r){if(I(r))return{data:null,error:r};throw r}}}Ys.nextInstanceID=0;const fT=Ys;class pT extends fT{constructor(t){super(t)}}var mT=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function a(d){try{c(r.next(d))}catch(h){o(h)}}function l(d){try{c(r.throw(d))}catch(h){o(h)}}function c(d){d.done?i(d.value):s(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})};class gT{constructor(t,n,r){var s,i,o;this.supabaseUrl=t,this.supabaseKey=n;const a=kE(t);if(!n)throw new Error(\"supabaseKey is required.\");this.realtimeUrl=new URL(\"realtime\/v1\",a),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace(\"http\",\"ws\"),this.authUrl=new URL(\"auth\/v1\",a),this.storageUrl=new URL(\"storage\/v1\",a),this.functionsUrl=new URL(\"functions\/v1\",a);const l=`sb-${a.hostname.split(\".\")[0]}-auth-token`,c={db:dE,realtime:fE,auth:Object.assign(Object.assign({},hE),{storageKey:l}),global:cE},d=wE(r??{},c);this.storageKey=(s=d.auth.storageKey)!==null&&s!==void 0?s:\"\",this.headers=(i=d.global.headers)!==null&&i!==void 0?i:{},d.accessToken?(this.accessToken=d.accessToken,this.auth=new Proxy({},{get:(h,f)=>{throw new Error(`@supabase\/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(f)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((o=d.auth)!==null&&o!==void 0?o:{},this.headers,d.global.fetch),this.fetch=yE(n,this._getAccessToken.bind(this),d.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},d.realtime)),this.rest=new Aj(new URL(\"rest\/v1\",a).href,{headers:this.headers,schema:d.db.schema,fetch:this.fetch}),this.storage=new aE(this.storageUrl.href,this.headers,this.fetch,r==null?void 0:r.storage),d.accessToken||this._listenForAuthEvents()}get functions(){return new uj(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,n={},r={}){return this.rest.rpc(t,n,r)}channel(t,n={config:{}}){return this.realtime.channel(t,n)}getChannels(){return this.realtime.getChannels()}removeChannel(t){return this.realtime.removeChannel(t)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var t,n;return mT(this,void 0,void 0,function*(){if(this.accessToken)return yield this.accessToken();const{data:r}=yield this.auth.getSession();return(n=(t=r.session)===null||t===void 0?void 0:t.access_token)!==null&&n!==void 0?n:this.supabaseKey})}_initSupabaseAuthClient({autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:s,userStorage:i,storageKey:o,flowType:a,lock:l,debug:c},d,h){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new pT({url:this.authUrl.href,headers:Object.assign(Object.assign({},f),d),storageKey:o,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:s,userStorage:i,flowType:a,lock:l,debug:c,fetch:h,hasCustomAuthorizationHeader:Object.keys(this.headers).some(p=>p.toLowerCase()===\"authorization\")})}_initRealtimeClient(t){return new Gj(this.realtimeUrl.href,Object.assign(Object.assign({},t),{params:Object.assign({apikey:this.supabaseKey},t==null?void 0:t.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((n,r)=>{this._handleTokenChanged(n,\"CLIENT\",r==null?void 0:r.access_token)})}_handleTokenChanged(t,n,r){(t===\"TOKEN_REFRESHED\"||t===\"SIGNED_IN\")&&this.changedAccessToken!==r?this.changedAccessToken=r:t===\"SIGNED_OUT\"&&(this.realtime.setAuth(),n==\"STORAGE\"&&this.auth.signOut(),this.changedAccessToken=void 0)}}const yT=(e,t,n)=>new gT(e,t,n);function vT(){if(typeof window<\"u\"||typeof process>\"u\")return!1;const e=process.version;if(e==null)return!1;const t=e.match(\/^v(\\d+)\\.\/);return t?parseInt(t[1],10)<=18:!1}vT()&&console.warn(\"\u26a0\ufe0f  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase\/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https:\/\/github.com\/orgs\/supabase\/discussions\/37217\");const xT=\"https:\/\/ytimrhdnxahrrjcbqbsq.supabase.co\",wT=\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inl0aW1yaGRueGFocnJqY2JxYnNxIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODY2NzY2NzMsImV4cCI6MjEwMjI1MjY3M30.bGgFEMuGJRXLuYxTiMzQRsGtDVV29Zpxf4Z3wnRSBcc\",kT=yT(xT,wT);function bT(){const{t:e}=ie(),[t,n]=T.useState(!1),[r,s]=T.useState(\"\"),[i,o]=T.useState(\"idle\");T.useEffect(()=>{if(sessionStorage.getItem(\"es-email-dismissed\"))return;const d=setTimeout(()=>n(!0),12e3);return()=>clearTimeout(d)},[]);const a=()=>{n(!1),sessionStorage.setItem(\"es-email-dismissed\",\"1\")},l=async c=>{if(c.preventDefault(),!(!r||!r.includes(\"@\"))){o(\"loading\");try{const{error:d}=await kT.from(\"newsletter_subscribers\").insert({email:r});d?d.code===\"23505\"?o(\"success\"):o(\"error\"):o(\"success\")}catch{o(\"error\")}}};return u.jsx(da,{children:t&&u.jsxs(u.Fragment,{children:[u.jsx(E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:a,className:\"fixed inset-0 z-[70] bg-es-dark-960\/80 backdrop-blur-sm\"}),u.jsx(E.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},transition:{type:\"spring\",stiffness:300,damping:25},className:\"fixed top-1\/2 left-1\/2 -translate-x-1\/2 -translate-y-1\/2 z-[71] w-[90%] max-w-md\",children:u.jsxs(\"div\",{className:\"relative glass rounded-3xl p-8 overflow-hidden shadow-2xl shadow-es-blue-900\/40\",children:[u.jsx(\"div\",{className:\"absolute -top-20 -right-20 w-40 h-40 bg-es-blue-500\/20 rounded-full blur-[80px]\"}),u.jsx(\"div\",{className:\"absolute -bottom-20 -left-20 w-40 h-40 bg-es-cyan-500\/20 rounded-full blur-[80px]\"}),u.jsx(\"button\",{onClick:a,className:\"absolute top-4 right-4 text-es-dark-400 hover:text-white transition-colors z-10\",\"aria-label\":e.emailPopup.close,children:u.jsx($y,{className:\"w-5 h-5\"})}),u.jsx(\"div\",{className:\"relative text-center\",children:i===\"success\"?u.jsxs(u.Fragment,{children:[u.jsx(\"div\",{className:\"w-14 h-14 rounded-2xl bg-es-wa-500\/20 flex items-center justify-center mx-auto mb-4\",children:u.jsx(fa,{className:\"w-7 h-7 text-es-wa-400\"})}),u.jsx(\"p\",{className:\"text-white font-semibold text-lg mb-2\",children:e.emailPopup.success}),u.jsx(\"button\",{onClick:a,className:\"mt-4 px-6 py-2.5 rounded-xl glass-dark text-white text-sm font-medium hover:bg-white\/15 transition-colors\",children:e.emailPopup.close})]}):u.jsxs(u.Fragment,{children:[u.jsx(\"div\",{className:\"w-14 h-14 rounded-2xl bg-gradient-to-br from-es-blue-500 to-es-cyan-500 flex items-center justify-center mx-auto mb-4 shadow-lg shadow-es-blue-500\/30\",children:u.jsx(b_,{className:\"w-7 h-7 text-white\"})}),u.jsxs(\"div\",{className:\"flex items-center justify-center gap-1.5 mb-2\",children:[u.jsx(C_,{className:\"w-4 h-4 text-es-cyan-400\"}),u.jsx(\"span\",{className:\"text-es-cyan-400 text-xs font-medium tracking-wide uppercase\",children:\"Easy Services\"})]}),u.jsx(\"h3\",{className:\"text-white font-bold text-xl mb-2\",children:e.emailPopup.title}),u.jsx(\"p\",{className:\"text-es-dark-400 text-sm mb-6 leading-relaxed\",children:e.emailPopup.subtitle}),u.jsxs(\"form\",{onSubmit:l,className:\"space-y-3\",children:[u.jsx(\"input\",{type:\"email\",value:r,onChange:c=>s(c.target.value),placeholder:e.emailPopup.placeholder,required:!0,className:\"w-full px-4 py-3 rounded-xl bg-es-dark-950\/60 border border-white\/10 text-white text-sm placeholder:text-es-dark-500 focus:outline-none focus:border-es-cyan-400\/50 focus:ring-1 focus:ring-es-cyan-400\/30 transition-colors\"}),u.jsx(\"button\",{type:\"submit\",disabled:i===\"loading\",className:\"w-full px-5 py-3 rounded-xl bg-gradient-to-r from-es-blue-500 to-es-cyan-500 text-white font-medium text-sm shadow-lg shadow-es-blue-500\/25 hover:shadow-es-blue-500\/40 hover:scale-[1.02] transition-all duration-300 disabled:opacity-60\",children:i===\"loading\"?\"...\":e.emailPopup.btn}),i===\"error\"&&u.jsx(\"p\",{className:\"text-red-400 text-xs\",children:\"Erreur. R\u00e9essayez plus tard.\"})]}),u.jsx(\"p\",{className:\"mt-4 text-es-dark-600 text-[10px]\",children:e.emailPopup.demoNote})]})})]})})]})})}function ST(){const{scrollYProgress:e}=n_(),t=o_(e,{stiffness:100,damping:30,restDelta:.001});return u.jsx(E.div,{style:{scaleX:t},className:\"fixed top-0 left-0 right-0 h-1 bg-gradient-to-r from-es-blue-500 via-es-cyan-400 to-es-blue-500 origin-left z-[60]\"})}function _T(){return T.useEffect(()=>{document.title=\"Easy Services \u2014 Le digital qui commence dans votre commerce | Maroc\"},[]),u.jsx(u_,{children:u.jsxs(\"div\",{className:\"min-h-screen bg-es-dark-960 overflow-x-hidden\",children:[u.jsx(ST,{}),u.jsx(N_,{}),u.jsxs(\"main\",{children:[u.jsx(A_,{}),u.jsx(O_,{}),u.jsx(L_,{}),u.jsx(U_,{}),u.jsx(G_,{}),u.jsx(Q_,{}),u.jsx(X_,{}),u.jsx(J_,{}),u.jsx(Z_,{}),u.jsx(ej,{}),u.jsx(tj,{}),u.jsx(nj,{})]}),u.jsx(rj,{}),u.jsx(bT,{})]})})}zg(document.getElementById(\"root\")).render(u.jsx(T.StrictMode,{children:u.jsx(_T,{})}));\n<\/script>\n<\/body>\n<\/html>\n<div aria-hidden=\"false\" style=\"display:none\">+212 660 19 01 29<\/div>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Easy Services \u2014 Le digital qui commence dans votre commerce | Maroc +212 660 19 01 29<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"_thinkrank_schema_form_data":"","_thinkrank_selected_schema_type":"","_thinkrank_additional_schemas":"","_thinkrank_canonical_url":"","_thinkrank_og_title":"","_thinkrank_og_description":"","_thinkrank_og_image":"","_thinkrank_twitter_title":"","_thinkrank_twitter_description":"","_thinkrank_twitter_image":"","_thinkrank_imported_from":"","_thinkrank_focus_keywords":[],"_thinkrank_focus_keyword":"","_thinkrank_robots_meta_enabled":0,"_thinkrank_robots_meta":"[]","_thinkrank_advanced_robots_meta":"[]","_thinkrank_primary_category":0,"footnotes":""},"class_list":["post-97","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Elementor #97 - Easy Services<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easyservices.store\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elementor #97 - Easy Services\" \/>\n<meta property=\"og:description\" content=\"Easy Services \u2014 Le digital qui commence dans votre commerce | Maroc +212 660 19 01 29\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easyservices.store\/\" \/>\n<meta property=\"og:site_name\" content=\"Easy Services\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-14T16:44:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/easyservices.store\\\/\",\"url\":\"https:\\\/\\\/easyservices.store\\\/\",\"name\":\"Elementor #97 - Easy Services\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/easyservices.store\\\/#website\"},\"datePublished\":\"2026-08-13T17:07:41+00:00\",\"dateModified\":\"2026-08-14T16:44:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/easyservices.store\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/easyservices.store\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/easyservices.store\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/easyservices.store\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elementor #97\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/easyservices.store\\\/#website\",\"url\":\"https:\\\/\\\/easyservices.store\\\/\",\"name\":\"Easy Services\",\"description\":\"Le digital qui commence dans votre commerce.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/easyservices.store\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elementor #97 - Easy Services","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/easyservices.store\/","og_locale":"fr_FR","og_type":"article","og_title":"Elementor #97 - Easy Services","og_description":"Easy Services \u2014 Le digital qui commence dans votre commerce | Maroc +212 660 19 01 29","og_url":"https:\/\/easyservices.store\/","og_site_name":"Easy Services","article_modified_time":"2026-08-14T16:44:51+00:00","twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/easyservices.store\/","url":"https:\/\/easyservices.store\/","name":"Elementor #97 - Easy Services","isPartOf":{"@id":"https:\/\/easyservices.store\/#website"},"datePublished":"2026-08-13T17:07:41+00:00","dateModified":"2026-08-14T16:44:51+00:00","breadcrumb":{"@id":"https:\/\/easyservices.store\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easyservices.store\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/easyservices.store\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easyservices.store\/"},{"@type":"ListItem","position":2,"name":"Elementor #97"}]},{"@type":"WebSite","@id":"https:\/\/easyservices.store\/#website","url":"https:\/\/easyservices.store\/","name":"Easy Services","description":"Le digital qui commence dans votre commerce.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easyservices.store\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"}]}},"_links":{"self":[{"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/pages\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":28,"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/pages\/97\/revisions"}],"predecessor-version":[{"id":132,"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/pages\/97\/revisions\/132"}],"wp:attachment":[{"href":"https:\/\/easyservices.store\/index.php\/wp-json\/wp\/v2\/media?parent=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}