@agrada_digital/pbm 0.0.68 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +14 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -10
- package/dist/index.mjs.map +1 -1
- package/dist-wc/pbm-wc.js +20 -20
- package/package.json +1 -1
package/dist-wc/pbm-wc.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var j4=Object.defineProperty;var B4=(Rr,Xi,_o)=>Xi in Rr?j4(Rr,Xi,{enumerable:!0,configurable:!0,writable:!0,value:_o}):Rr[Xi]=_o;var y1=(Rr,Xi,_o)=>B4(Rr,typeof Xi!="symbol"?Xi+"":Xi,_o);(function(){"use strict";var Rr=document.createElement("style");Rr.textContent=`/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-900:oklch(37.8% .077 168.94);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-4{top:calc(var(--spacing)*-4)}.-top-6{top:calc(var(--spacing)*-6)}.-right-4{right:calc(var(--spacing)*-4)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.left-2{left:calc(var(--spacing)*2)}.left-10{left:calc(var(--spacing)*10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80\\%\\]{height:80%}.h-auto{height:auto}.w-1\\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-4\\/5{width:80%}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.max-w-md{max-width:var(--container-md)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.shrink-0{flex-shrink:0}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-full{border-start-start-radius:3.40282e38px;border-end-start-radius:3.40282e38px}.rounded-ss-2xl{border-start-start-radius:var(--radius-2xl)}.rounded-e-full{border-start-end-radius:3.40282e38px;border-end-end-radius:3.40282e38px}.rounded-se-2xl{border-start-end-radius:var(--radius-2xl)}.rounded-ee-2xl{border-end-end-radius:var(--radius-2xl)}.rounded-es-2xl{border-end-start-radius:var(--radius-2xl)}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-\\[\\#44c2c0\\]{border-color:#44c2c0}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:#9f9fa980}@supports (color:color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400)50%,transparent)}}.border-t-gray-700{border-top-color:var(--color-gray-700)}.bg-\\[\\#32b316\\]{background-color:#32b316}.bg-\\[\\#44c2c0\\]{background-color:#44c2c0}.bg-\\[\\#44c2c0\\]\\/20{background-color:#44c2c033}.bg-\\[\\#44c2c0\\]\\/30{background-color:#44c2c04d}.bg-black\\/35{background-color:#00000059}@supports (color:color-mix(in lab,red,red)){.bg-black\\/35{background-color:color-mix(in oklab,var(--color-black)35%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-zinc-300\\/60{background-color:#d4d4d899}@supports (color:color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300)60%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\\[\\#339c9b\\]{color:#339c9b}.text-amber-500{color:var(--color-amber-500)}.text-emerald-900{color:var(--color-emerald-900)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}@media (hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-emerald-400:hover{background-color:var(--color-emerald-400)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-zinc-300:hover{background-color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:bg-\\[\\#44c2c0\\]\\/30:focus{background-color:#44c2c04d}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\[\\#339c9b\\]:focus{outline-color:#339c9b}@media (min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:root{--max-container:556px;--min-container:350px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
|
|
1
|
+
var jw=Object.defineProperty;var Bw=(Rr,Xi,_o)=>Xi in Rr?jw(Rr,Xi,{enumerable:!0,configurable:!0,writable:!0,value:_o}):Rr[Xi]=_o;var y1=(Rr,Xi,_o)=>Bw(Rr,typeof Xi!="symbol"?Xi+"":Xi,_o);(function(){"use strict";var Rr=document.createElement("style");Rr.textContent=`/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-900:oklch(37.8% .077 168.94);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-4{top:calc(var(--spacing)*-4)}.-top-6{top:calc(var(--spacing)*-6)}.-right-4{right:calc(var(--spacing)*-4)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.left-2{left:calc(var(--spacing)*2)}.left-10{left:calc(var(--spacing)*10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80\\%\\]{height:80%}.h-auto{height:auto}.w-1\\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-4\\/5{width:80%}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.max-w-md{max-width:var(--container-md)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.shrink-0{flex-shrink:0}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.rounded-ss-2xl{border-start-start-radius:var(--radius-2xl)}.rounded-e-lg{border-start-end-radius:var(--radius-lg);border-end-end-radius:var(--radius-lg)}.rounded-se-2xl{border-start-end-radius:var(--radius-2xl)}.rounded-ee-2xl{border-end-end-radius:var(--radius-2xl)}.rounded-es-2xl{border-end-start-radius:var(--radius-2xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-\\[\\#44c2c0\\]{border-color:#44c2c0}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:#9f9fa980}@supports (color:color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400)50%,transparent)}}.border-t-gray-700{border-top-color:var(--color-gray-700)}.bg-\\[\\#32b316\\]{background-color:#32b316}.bg-\\[\\#44c2c0\\]{background-color:#44c2c0}.bg-\\[\\#44c2c0\\]\\/30{background-color:#44c2c04d}.bg-black\\/35{background-color:#00000059}@supports (color:color-mix(in lab,red,red)){.bg-black\\/35{background-color:color-mix(in oklab,var(--color-black)35%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-zinc-300\\/60{background-color:#d4d4d899}@supports (color:color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300)60%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\\[\\#339c9b\\]{color:#339c9b}.text-amber-500{color:var(--color-amber-500)}.text-emerald-900{color:var(--color-emerald-900)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}@media (hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-emerald-400:hover{background-color:var(--color-emerald-400)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-zinc-300:hover{background-color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:bg-\\[\\#44c2c0\\]\\/30:focus{background-color:#44c2c04d}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\[\\#339c9b\\]:focus{outline-color:#339c9b}@media (min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:root{--max-container:556px;--min-container:350px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
|
|
2
2
|
/*$vite$:1*/`,document.head.appendChild(Rr);function Xi(d){return d&&d.__esModule&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d}var _o={exports:{}},fm={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
@@ -160,7 +160,7 @@ This will cause a hydration error.%s`,p,u,n,c)):console.error(`In HTML, %s canno
|
|
|
160
160
|
This will cause a hydration error.%s`,p,u,c),t&&(e=t.return,r===null||e===null||r===e&&e._debugOwner===t._debugOwner||ke(r,function(){console.error(`<%s> cannot contain a nested %s.
|
|
161
161
|
See this log for the ancestor stack trace.`,u,p)})),!1}function qr(e,t,n){if(n||Uo("#text",t,!1))return!0;if(n="#text|"+t,ci[n])return!1;ci[n]=!0;var u=(n=on)?jm(n,t):null;return n=n!==null&&u!==null?Hm(u,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
162
162
|
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
163
|
-
This will cause a hydration error.%s`,t,n),!1}function fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Fv(e){return e.replace(pb,function(t,n){return n.toUpperCase()})}function ds(e,t,n){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?Ci.hasOwnProperty(t)&&Ci[t]||(Ci[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Fv(t.replace(vo,"ms-")))):xf.test(t)?Ci.hasOwnProperty(t)&&Ci[t]||(Ci[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Hp.test(n)||kp.hasOwnProperty(n)&&kp[n]||(kp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Hp,""))),typeof n=="number"&&(isNaN(n)?jp||(jp=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Ef||(Ef=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,n):typeof n!="number"||n===0||Bp.has(t)?t==="float"?e.cssFloat=n:(Te(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function td(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var u={};if(n){for(var r in n)if(n.hasOwnProperty(r)&&!t.hasOwnProperty(r))for(var c=Mi[r]||[r],p=0;p<c.length;p++)u[c[p]]=r}for(var b in t)if(t.hasOwnProperty(b)&&(!n||n[b]!==t[b]))for(r=Mi[b]||[b],c=0;c<r.length;c++)u[r[c]]=b;b={};for(var E in t)for(r=Mi[E]||[E],c=0;c<r.length;c++)b[r[c]]=E;E={};for(var R in u)if(r=u[R],(c=b[R])&&r!==c&&(p=r+","+c,!E[p])){E[p]=!0,p=console;var $=t[r];p.error.call(p,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",$==null||typeof $=="boolean"||$===""?"Removing":"Updating",r,c)}}for(var P in n)!n.hasOwnProperty(P)||t!=null&&t.hasOwnProperty(P)||(P.indexOf("--")===0?e.setProperty(P,""):P==="float"?e.cssFloat="":e[P]="");for(var K in t)R=t[K],t.hasOwnProperty(K)&&n[K]!==R&&ds(e,K,R)}else for(u in t)t.hasOwnProperty(u)&&ds(e,u,t[u])}function No(e){if(e.indexOf("-")===-1)return!1;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}}function Ho(e){return Nh.get(e)||e}function Yr(e,t){if(Oi.call(bo,t)&&bo[t])return!0;if(G0.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),bo[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0}if(Hh.test(t)){if(e=t.toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return bo[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0)}return!0}function Lg(e,t){var n=[],u;for(u in t)Yr(e,u)||n.push(u);t=n.map(function(r){return"`"+r+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Bm(e,t,n,u){if(Oi.call(Ja,t)&&Ja[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ja[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(r)?e[r]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),Ja[t]=!0;if(a.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ja[t]=!0}else if(a.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ja[t]=!0;if(i.test(t)||o.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ja[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ja[t]=!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Ja[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ja[t]=!0;if(_f.hasOwnProperty(r)){if(r=_f[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),Ja[t]=!0}else if(t!==r)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),Ja[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return r=t.toLowerCase().slice(0,5),r==="data-"||r==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Ja[t]=!0)}case"function":case"symbol":return Ja[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Ja[t]=!0}}return!0}function qg(e,t,n){var u=[],r;for(r in t)Bm(e,r,t[r],n)||u.push(r);t=u.map(function(c){return"`"+c+"`"}).join(", "),u.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<u.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Ii(e){return f.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Vl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ad(e){var t=Pa(e);if(t&&(e=t.stateNode)){var n=e[Fn]||null;e:switch(e=t.stateNode,t.type){case"input":if(zm(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(ee(t,"name"),n=n.querySelectorAll('input[name="'+Ga(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=u[Fn]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");zm(u,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)u=n[t],u.form===e.form&&Om(u)}break e;case"textarea":Mm(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Wi(e,!!n.multiple,t,!1)}}}function Gr(e,t,n){if(z)return e(t,n);z=!0;try{var u=e(t);return u}finally{if(z=!1,(S!==null||T!==null)&&(lr(),S&&(t=S,e=T,T=S=null,ad(t),e)))for(t=0;t<e.length;t++)ad(e[t])}}function xl(e,t){var n=e.stateNode;if(n===null)return null;var u=n[Fn]||null;if(u===null)return null;n=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function nd(){if(Ge)return Ge;var e,t=F,n=t.length,u,r="value"in Q?Q.value:Q.textContent,c=r.length;for(e=0;e<n&&t[e]===r[e];e++);var p=n-e;for(u=1;u<=p&&t[n-u]===r[c-u];u++);return Ge=r.slice(e,1<u?1-u:void 0)}function ko(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 hs(){return!0}function ms(){return!1}function tn(e){function t(n,u,r,c,p){this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?hs:ms,this.isPropagationStopped=ms,this}return Pe(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=hs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}function Yg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=B_[e])?!!t[e]:!1}function dn(){return Yg}function Vu(e,t){switch(e){case"keyup":return W_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==BS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ys(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function ps(e,t){switch(e){case"compositionend":return ys(t);case"keypress":return t.which!==LS?null:(YS=!0,qS);case"textInput":return e=t.data,e===qS&&YS?null:e;default:return null}}function Iv(e,t){if(kh)return e==="compositionend"||!vb&&Vu(e,t)?(e=nd(),Ge=F=Q=null,kh=!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 VS&&t.locale!=="ko"?null:t.data;default:return null}}function ld(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!I_[e.type]:t==="textarea"}function Vm(e){if(!q)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Zr(e,t,n,u){S?T?T.push(u):T=[u]:S=u,t=yn(t,"onChange"),0<t.length&&(n=new qt("onChange","change",null,n,u),e.push({event:n,listeners:t}))}function id(e){tp(e,0)}function gs(e){var t=Cn(e);if(Om(t))return e}function Gg(e,t){if(e==="change")return t}function Zg(){Lp&&(Lp.detachEvent("onpropertychange",Xg),qp=Lp=null)}function Xg(e){if(e.propertyName==="value"&&gs(qp)){var t=[];Zr(t,qp,e,Vl(e)),Gr(id,t)}}function Lm(e,t,n){e==="focusin"?(Zg(),Lp=t,qp=n,Lp.attachEvent("onpropertychange",Xg)):e==="focusout"&&Zg()}function Pv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(qp)}function eb(e,t){if(e==="click")return gs(t)}function tb(e,t){if(e==="input"||e==="change")return gs(t)}function ab(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function vs(e,t){if(hl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!Oi.call(t,r)||!hl(e[r],t[r]))return!1}return!0}function qm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qg(e,t){var n=qm(e);e=0;for(var u;n;){if(n.nodeType===3){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qm(n)}}function Kg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=rs(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rs(e.document)}return t}function Ym(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 ud(e,t,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sb||jh==null||jh!==rs(u)||(u=jh,"selectionStart"in u&&Ym(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Yp&&vs(Yp,u)||(Yp=u,u=yn(bb,"onSelect"),0<u.length&&(t=new qt("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=jh)))}function jo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Bo(e){if(Tb[e])return Tb[e];if(!Bh[e])return e;var t=Bh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ZS)return Tb[e]=t[n];return e}function Ll(e,t){$S.set(e,t),he(t,[e])}function Un(e,t){if(typeof e=="object"&&e!==null){var n=Eb.get(e);return n!==void 0?n:(t={value:e,source:t,stack:jg(t)},Eb.set(e,t),t)}return{value:e,source:t,stack:jg(t)}}function od(){for(var e=Vh,t=_b=Vh=0;t<e;){var n=Ni[t];Ni[t++]=null;var u=Ni[t];Ni[t++]=null;var r=Ni[t];Ni[t++]=null;var c=Ni[t];if(Ni[t++]=null,u!==null&&r!==null){var p=u.pending;p===null?r.next=r:(r.next=p.next,p.next=r),u.pending=r}c!==0&&$g(n,r,c)}}function rd(e,t,n,u){Ni[Vh++]=e,Ni[Vh++]=t,Ni[Vh++]=n,Ni[Vh++]=u,_b|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Gm(e,t,n,u){return rd(e,t,n,u),cd(e)}function Nn(e,t){return rd(e,null,null,t),cd(e)}function $g(e,t,n){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n);for(var r=!1,c=e.return;c!==null;)c.childLanes|=n,u=c.alternate,u!==null&&(u.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&X0||(r=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,r&&t!==null&&(r=31-Ka(n),e=c.hiddenUpdates,u=e[r],u===null?e[r]=[t]:u.push(t),t.lane=n|536870912),c):null}function cd(e){if(sg>T4)throw jf=sg=0,fg=e1=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");jf>x4&&(jf=0,fg=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Fy(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Fy(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Vo(e){if(Hi===null)return e;var t=Hi(e);return t===void 0?e:t.current}function Zm(e){if(Hi===null)return e;var t=Hi(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Vo(e.render),e.render!==t)?(t={$$typeof:mo,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Wg(e,t){if(Hi===null)return!1;var n=e.elementType;t=t.type;var u=!1,r=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||r===fl)&&(u=!0);break;case 11:(r===mo||r===fl)&&(u=!0);break;case 14:case 15:(r===Th||r===fl)&&(u=!0);break;default:return!1}return!!(u&&(e=Hi(n),e!==void 0&&e===Hi(t)))}function sd(e){Hi!==null&&typeof WeakSet=="function"&&(Lh===null&&(Lh=new WeakSet),Lh.add(e))}function Lo(e,t,n){var u=e.alternate,r=e.child,c=e.sibling,p=e.tag,b=e.type,E=null;switch(p){case 0:case 15:case 1:E=b;break;case 11:E=b.render}if(Hi===null)throw Error("Expected resolveFamily to be set during hot reload.");var R=!1;b=!1,E!==null&&(E=Hi(E),E!==void 0&&(n.has(E)?b=!0:t.has(E)&&(p===1?b=!0:R=!0))),Lh!==null&&(Lh.has(e)||u!==null&&Lh.has(u))&&(b=!0),b&&(e._debugNeedsRemount=!0),(b||R)&&(u=Nn(e,2),u!==null&&bt(u,e,2)),r===null||b||Lo(r,t,n),c!==null&&Lo(c,t,n)}function nb(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,FS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function fd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bi(e,t){var n=e.alternate;switch(n===null?(n=L(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,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,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Vo(e.type);break;case 1:n.type=Vo(e.type);break;case 11:n.type=Zm(e.type)}return n}function Xm(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function dd(e,t,n,u,r,c){var p=0,b=e;if(typeof e=="function")fd(e)&&(p=1),b=Vo(b);else if(typeof e=="string")p=Z(),p=sh(e,n,p)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xh:return t=L(31,n,t,r),t.elementType=xh,t.lanes=c,t;case ho:return El(n.children,r,c,t);case fr:p=8,r|=In,r|=Ou;break;case sf:return e=n,u=r,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=L(12,e,t,u|Rn),t.elementType=sf,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case yo:return t=L(13,n,t,r),t.elementType=yo,t.lanes=c,t;case Sh:return t=L(19,n,t,r),t.elementType=Sh,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M0:case Wn:p=10;break e;case ff:p=9;break e;case mo:p=11,b=Zm(b);break e;case Th:p=14;break e;case fl:p=16,b=null;break e}b="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Ba(e)?n="array":e!==void 0&&e.$$typeof===Tu?(n="<"+(it(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(p=u?wt(u):null)&&(b+=`
|
|
163
|
+
This will cause a hydration error.%s`,t,n),!1}function fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Fv(e){return e.replace(pb,function(t,n){return n.toUpperCase()})}function ds(e,t,n){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?Ci.hasOwnProperty(t)&&Ci[t]||(Ci[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Fv(t.replace(vo,"ms-")))):xf.test(t)?Ci.hasOwnProperty(t)&&Ci[t]||(Ci[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Hp.test(n)||kp.hasOwnProperty(n)&&kp[n]||(kp[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Hp,""))),typeof n=="number"&&(isNaN(n)?jp||(jp=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Ef||(Ef=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,n):typeof n!="number"||n===0||Bp.has(t)?t==="float"?e.cssFloat=n:(Te(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function td(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var u={};if(n){for(var r in n)if(n.hasOwnProperty(r)&&!t.hasOwnProperty(r))for(var c=Mi[r]||[r],p=0;p<c.length;p++)u[c[p]]=r}for(var b in t)if(t.hasOwnProperty(b)&&(!n||n[b]!==t[b]))for(r=Mi[b]||[b],c=0;c<r.length;c++)u[r[c]]=b;b={};for(var E in t)for(r=Mi[E]||[E],c=0;c<r.length;c++)b[r[c]]=E;E={};for(var R in u)if(r=u[R],(c=b[R])&&r!==c&&(p=r+","+c,!E[p])){E[p]=!0,p=console;var $=t[r];p.error.call(p,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",$==null||typeof $=="boolean"||$===""?"Removing":"Updating",r,c)}}for(var P in n)!n.hasOwnProperty(P)||t!=null&&t.hasOwnProperty(P)||(P.indexOf("--")===0?e.setProperty(P,""):P==="float"?e.cssFloat="":e[P]="");for(var K in t)R=t[K],t.hasOwnProperty(K)&&n[K]!==R&&ds(e,K,R)}else for(u in t)t.hasOwnProperty(u)&&ds(e,u,t[u])}function No(e){if(e.indexOf("-")===-1)return!1;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}}function Ho(e){return Nh.get(e)||e}function Yr(e,t){if(Oi.call(bo,t)&&bo[t])return!0;if(G0.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),bo[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0}if(Hh.test(t)){if(e=t.toLowerCase(),e=Gc.hasOwnProperty(e)?e:null,e==null)return bo[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),bo[t]=!0)}return!0}function Lg(e,t){var n=[],u;for(u in t)Yr(e,u)||n.push(u);t=n.map(function(r){return"`"+r+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Bm(e,t,n,u){if(Oi.call(Ja,t)&&Ja[t])return!0;var r=t.toLowerCase();if(r==="onfocusin"||r==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ja[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(r)?e[r]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),Ja[t]=!0;if(a.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ja[t]=!0}else if(a.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ja[t]=!0;if(i.test(t)||o.test(t))return!0;if(r==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ja[t]=!0;if(r==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ja[t]=!0;if(r==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Ja[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ja[t]=!0;if(_f.hasOwnProperty(r)){if(r=_f[r],r!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,r),Ja[t]=!0}else if(t!==r)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),Ja[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return r=t.toLowerCase().slice(0,5),r==="data-"||r==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Ja[t]=!0)}case"function":case"symbol":return Ja[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Ja[t]=!0}}return!0}function qg(e,t,n){var u=[],r;for(r in t)Bm(e,r,t[r],n)||u.push(r);t=u.map(function(c){return"`"+c+"`"}).join(", "),u.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<u.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Ii(e){return f.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Vl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ad(e){var t=Pa(e);if(t&&(e=t.stateNode)){var n=e[Fn]||null;e:switch(e=t.stateNode,t.type){case"input":if(zm(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(ee(t,"name"),n=n.querySelectorAll('input[name="'+Ga(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var u=n[t];if(u!==e&&u.form===e.form){var r=u[Fn]||null;if(!r)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");zm(u,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)u=n[t],u.form===e.form&&Om(u)}break e;case"textarea":Mm(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Wi(e,!!n.multiple,t,!1)}}}function Gr(e,t,n){if(z)return e(t,n);z=!0;try{var u=e(t);return u}finally{if(z=!1,(S!==null||T!==null)&&(lr(),S&&(t=S,e=T,T=S=null,ad(t),e)))for(t=0;t<e.length;t++)ad(e[t])}}function xl(e,t){var n=e.stateNode;if(n===null)return null;var u=n[Fn]||null;if(u===null)return null;n=u[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":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function nd(){if(Ge)return Ge;var e,t=F,n=t.length,u,r="value"in Q?Q.value:Q.textContent,c=r.length;for(e=0;e<n&&t[e]===r[e];e++);var p=n-e;for(u=1;u<=p&&t[n-u]===r[c-u];u++);return Ge=r.slice(e,1<u?1-u:void 0)}function ko(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 hs(){return!0}function ms(){return!1}function tn(e){function t(n,u,r,c,p){this._reactName=n,this._targetInst=r,this.type=u,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?hs:ms,this.isPropagationStopped=ms,this}return Pe(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=hs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}function Yg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=B_[e])?!!t[e]:!1}function dn(){return Yg}function Vu(e,t){switch(e){case"keyup":return W_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==BS;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ys(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function ps(e,t){switch(e){case"compositionend":return ys(t);case"keypress":return t.which!==LS?null:(YS=!0,qS);case"textInput":return e=t.data,e===qS&&YS?null:e;default:return null}}function Iv(e,t){if(kh)return e==="compositionend"||!vb&&Vu(e,t)?(e=nd(),Ge=F=Q=null,kh=!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 VS&&t.locale!=="ko"?null:t.data;default:return null}}function ld(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!I_[e.type]:t==="textarea"}function Vm(e){if(!q)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Zr(e,t,n,u){S?T?T.push(u):T=[u]:S=u,t=yn(t,"onChange"),0<t.length&&(n=new qt("onChange","change",null,n,u),e.push({event:n,listeners:t}))}function id(e){tp(e,0)}function gs(e){var t=Cn(e);if(Om(t))return e}function Gg(e,t){if(e==="change")return t}function Zg(){Lp&&(Lp.detachEvent("onpropertychange",Xg),qp=Lp=null)}function Xg(e){if(e.propertyName==="value"&&gs(qp)){var t=[];Zr(t,qp,e,Vl(e)),Gr(id,t)}}function Lm(e,t,n){e==="focusin"?(Zg(),Lp=t,qp=n,Lp.attachEvent("onpropertychange",Xg)):e==="focusout"&&Zg()}function Pv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(qp)}function eb(e,t){if(e==="click")return gs(t)}function tb(e,t){if(e==="input"||e==="change")return gs(t)}function ab(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function vs(e,t){if(hl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),u=Object.keys(t);if(n.length!==u.length)return!1;for(u=0;u<n.length;u++){var r=n[u];if(!Oi.call(t,r)||!hl(e[r],t[r]))return!1}return!0}function qm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Qg(e,t){var n=qm(e);e=0;for(var u;n;){if(n.nodeType===3){if(u=e+n.textContent.length,e<=t&&u>=t)return{node:n,offset:t-e};e=u}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qm(n)}}function Kg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Kg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=rs(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rs(e.document)}return t}function Ym(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 ud(e,t,n){var u=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sb||jh==null||jh!==rs(u)||(u=jh,"selectionStart"in u&&Ym(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Yp&&vs(Yp,u)||(Yp=u,u=yn(bb,"onSelect"),0<u.length&&(t=new qt("onSelect","select",null,t,n),e.push({event:t,listeners:u}),t.target=jh)))}function jo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Bo(e){if(Tb[e])return Tb[e];if(!Bh[e])return e;var t=Bh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ZS)return Tb[e]=t[n];return e}function Ll(e,t){$S.set(e,t),he(t,[e])}function Un(e,t){if(typeof e=="object"&&e!==null){var n=Eb.get(e);return n!==void 0?n:(t={value:e,source:t,stack:jg(t)},Eb.set(e,t),t)}return{value:e,source:t,stack:jg(t)}}function od(){for(var e=Vh,t=_b=Vh=0;t<e;){var n=Ni[t];Ni[t++]=null;var u=Ni[t];Ni[t++]=null;var r=Ni[t];Ni[t++]=null;var c=Ni[t];if(Ni[t++]=null,u!==null&&r!==null){var p=u.pending;p===null?r.next=r:(r.next=p.next,p.next=r),u.pending=r}c!==0&&$g(n,r,c)}}function rd(e,t,n,u){Ni[Vh++]=e,Ni[Vh++]=t,Ni[Vh++]=n,Ni[Vh++]=u,_b|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function Gm(e,t,n,u){return rd(e,t,n,u),cd(e)}function Nn(e,t){return rd(e,null,null,t),cd(e)}function $g(e,t,n){e.lanes|=n;var u=e.alternate;u!==null&&(u.lanes|=n);for(var r=!1,c=e.return;c!==null;)c.childLanes|=n,u=c.alternate,u!==null&&(u.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&X0||(r=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,r&&t!==null&&(r=31-Ka(n),e=c.hiddenUpdates,u=e[r],u===null?e[r]=[t]:u.push(t),t.lane=n|536870912),c):null}function cd(e){if(sg>Tw)throw jf=sg=0,fg=e1=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");jf>xw&&(jf=0,fg=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&Fy(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&Fy(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Vo(e){if(Hi===null)return e;var t=Hi(e);return t===void 0?e:t.current}function Zm(e){if(Hi===null)return e;var t=Hi(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Vo(e.render),e.render!==t)?(t={$$typeof:mo,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Wg(e,t){if(Hi===null)return!1;var n=e.elementType;t=t.type;var u=!1,r=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||r===fl)&&(u=!0);break;case 11:(r===mo||r===fl)&&(u=!0);break;case 14:case 15:(r===Th||r===fl)&&(u=!0);break;default:return!1}return!!(u&&(e=Hi(n),e!==void 0&&e===Hi(t)))}function sd(e){Hi!==null&&typeof WeakSet=="function"&&(Lh===null&&(Lh=new WeakSet),Lh.add(e))}function Lo(e,t,n){var u=e.alternate,r=e.child,c=e.sibling,p=e.tag,b=e.type,E=null;switch(p){case 0:case 15:case 1:E=b;break;case 11:E=b.render}if(Hi===null)throw Error("Expected resolveFamily to be set during hot reload.");var R=!1;b=!1,E!==null&&(E=Hi(E),E!==void 0&&(n.has(E)?b=!0:t.has(E)&&(p===1?b=!0:R=!0))),Lh!==null&&(Lh.has(e)||u!==null&&Lh.has(u))&&(b=!0),b&&(e._debugNeedsRemount=!0),(b||R)&&(u=Nn(e,2),u!==null&&bt(u,e,2)),r===null||b||Lo(r,t,n),c!==null&&Lo(c,t,n)}function nb(e,t,n,u){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,FS||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function fd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bi(e,t){var n=e.alternate;switch(n===null?(n=L(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,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,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Vo(e.type);break;case 1:n.type=Vo(e.type);break;case 11:n.type=Zm(e.type)}return n}function Xm(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function dd(e,t,n,u,r,c){var p=0,b=e;if(typeof e=="function")fd(e)&&(p=1),b=Vo(b);else if(typeof e=="string")p=Z(),p=sh(e,n,p)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case xh:return t=L(31,n,t,r),t.elementType=xh,t.lanes=c,t;case ho:return El(n.children,r,c,t);case fr:p=8,r|=In,r|=Ou;break;case sf:return e=n,u=r,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=L(12,e,t,u|Rn),t.elementType=sf,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case yo:return t=L(13,n,t,r),t.elementType=yo,t.lanes=c,t;case Sh:return t=L(19,n,t,r),t.elementType=Sh,t.lanes=c,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case M0:case Wn:p=10;break e;case ff:p=9;break e;case mo:p=11,b=Zm(b);break e;case Th:p=14;break e;case fl:p=16,b=null;break e}b="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(b+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":Ba(e)?n="array":e!==void 0&&e.$$typeof===Tu?(n="<"+(it(e.type)||"Unknown")+" />",b=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(p=u?wt(u):null)&&(b+=`
|
|
164
164
|
|
|
165
165
|
Check the render method of \``+p+"`."),p=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+b)),b=null}return t=L(p,n,t,r),t.elementType=e,t.type=b,t.lanes=c,t._debugOwner=u,t}function bs(e,t,n){return t=dd(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function El(e,t,n,u){return e=L(7,e,u,t),e.lanes=n,e}function Qm(e,t,n){return e=L(6,e,null,t),e.lanes=n,e}function Km(e,t,n){return t=L(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qo(e,t){ql(),qh[Yh++]=K0,qh[Yh++]=Q0,Q0=e,K0=t}function Jm(e,t,n){ql(),ki[ji++]=pr,ki[ji++]=gr,ki[ji++]=wf,wf=e;var u=pr;e=gr;var r=32-Ka(u)-1;u&=~(1<<r),n+=1;var c=32-Ka(t)+r;if(30<c){var p=r-r%5;c=(u&(1<<p)-1).toString(32),u>>=p,r-=p,pr=1<<32-Ka(t)+r|n<<r|u,gr=c+e}else pr=1<<c|n<<r|u,gr=e}function hd(e){ql(),e.return!==null&&(qo(e,1),Jm(e,1,0))}function Yo(e){for(;e===Q0;)Q0=qh[--Yh],qh[Yh]=null,K0=qh[--Yh],qh[Yh]=null;for(;e===wf;)wf=ki[--ji],ki[ji]=null,gr=ki[--ji],ki[ji]=null,pr=ki[--ji],ki[ji]=null}function ql(){kt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Go(e,t){if(e.return===null){if(Bi===null)Bi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Bi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Bi.distanceFromLeaf>t&&(Bi.distanceFromLeaf=t)}return Bi}var n=Go(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Xr(e,t){vr||(e=Go(e,0),e.serverProps=null,t!==null&&(t=ih(t),e.serverTail.push(t)))}function Lu(e){var t="",n=Bi;throw n!==null&&(Bi=null,t=Bu(n)),Kr(Un(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
166
166
|
|
|
@@ -182,7 +182,7 @@ https://react.dev/link/hydration-mismatch`+t),e)),wb}function $m(e){var t=e.stat
|
|
|
182
182
|
|
|
183
183
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
184
184
|
|
|
185
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function yd(){Gh=J0=null,Zh=!1}function qu(e,t,n){Re(Ab,t._currentValue,e),t._currentValue=n,Re(Rb,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==tT&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=tT}function Pi(e,t){e._currentValue=Ab.current;var n=Rb.current;fe(Rb,t),e._currentRenderer=n,fe(Ab,t)}function Fm(e,t,n){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function En(e,t,n,u){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var c=r.dependencies;if(c!==null){var p=r.child;c=c.firstContext;e:for(;c!==null;){var b=c;c=r;for(var E=0;E<t.length;E++)if(b.context===t[E]){c.lanes|=n,b=c.alternate,b!==null&&(b.lanes|=n),Fm(c.return,n,e),u||(p=null);break e}c=b.next}}else if(r.tag===18){if(p=r.return,p===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");p.lanes|=n,c=p.alternate,c!==null&&(c.lanes|=n),Fm(p,n,e),p=null}else p=r.child;if(p!==null)p.return=r;else for(p=r;p!==null;){if(p===e){p=null;break}if(r=p.sibling,r!==null){r.return=p.return,p=r;break}p=p.return}r=p}}function eu(e,t,n,u){e=null;for(var r=t,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var p=r.alternate;if(p===null)throw Error("Should have a current fiber. This is a bug in React.");if(p=p.memoizedProps,p!==null){var b=r.type;hl(r.pendingProps.value,p.value)||(e!==null?e.push(b):e=[b])}}else if(r===Eh.current){if(p=r.alternate,p===null)throw Error("Should have a current fiber. This is a bug in React.");p.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(pg):e=[pg])}r=r.return}e!==null&&En(t,e,n,u),t.flags|=262144}function Ss(e){for(e=e.firstContext;e!==null;){if(!hl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Yu(e){J0=e,Gh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function la(e){return Zh&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),pd(J0,e)}function Ts(e,t){return J0===null&&Yu(e),pd(e,t)}function pd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gh===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Gh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Gh=Gh.next=t;return n}function Im(){return{controller:new
|
|
185
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function yd(){Gh=J0=null,Zh=!1}function qu(e,t,n){Re(Ab,t._currentValue,e),t._currentValue=n,Re(Rb,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==tT&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=tT}function Pi(e,t){e._currentValue=Ab.current;var n=Rb.current;fe(Rb,t),e._currentRenderer=n,fe(Ab,t)}function Fm(e,t,n){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function En(e,t,n,u){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var c=r.dependencies;if(c!==null){var p=r.child;c=c.firstContext;e:for(;c!==null;){var b=c;c=r;for(var E=0;E<t.length;E++)if(b.context===t[E]){c.lanes|=n,b=c.alternate,b!==null&&(b.lanes|=n),Fm(c.return,n,e),u||(p=null);break e}c=b.next}}else if(r.tag===18){if(p=r.return,p===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");p.lanes|=n,c=p.alternate,c!==null&&(c.lanes|=n),Fm(p,n,e),p=null}else p=r.child;if(p!==null)p.return=r;else for(p=r;p!==null;){if(p===e){p=null;break}if(r=p.sibling,r!==null){r.return=p.return,p=r;break}p=p.return}r=p}}function eu(e,t,n,u){e=null;for(var r=t,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var p=r.alternate;if(p===null)throw Error("Should have a current fiber. This is a bug in React.");if(p=p.memoizedProps,p!==null){var b=r.type;hl(r.pendingProps.value,p.value)||(e!==null?e.push(b):e=[b])}}else if(r===Eh.current){if(p=r.alternate,p===null)throw Error("Should have a current fiber. This is a bug in React.");p.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(pg):e=[pg])}r=r.return}e!==null&&En(t,e,n,u),t.flags|=262144}function Ss(e){for(e=e.firstContext;e!==null;){if(!hl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Yu(e){J0=e,Gh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function la(e){return Zh&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),pd(J0,e)}function Ts(e,t){return J0===null&&Yu(e),pd(e,t)}function pd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gh===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Gh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Gh=Gh.next=t;return n}function Im(){return{controller:new uw,data:new Map,refCount:0}}function _l(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Xo(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&ow(rw,function(){e.controller.abort()})}function nl(){var e=Rf;return Rf=0,e}function Jr(e){var t=Rf;return Rf=e,t}function $r(e){var t=Rf;return Rf+=e,t}function tu(e){Nl=Xh(),0>e.actualStartTime&&(e.actualStartTime=Nl)}function Gu(e){if(0<=Nl){var t=Xh()-Nl;e.actualDuration+=t,e.selfBaseDuration=t,Nl=-1}}function gd(e){if(0<=Nl){var t=Xh()-Nl;e.actualDuration+=t,Nl=-1}}function Yl(){if(0<=Nl){var e=Xh()-Nl;Nl=-1,Rf+=e}}function hn(){Nl=Xh()}function xs(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ig(e,t){if(Gp===null){var n=Gp=[];Ob=0,Of=th(),Qh={status:"pending",value:void 0,then:function(u){n.push(u)}}}return Ob++,t.then(Pm,Pm),t}function Pm(){if(--Ob===0&&Gp!==null){Qh!==null&&(Qh.status="fulfilled");var e=Gp;Gp=null,Of=0,Qh=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function lb(e,t){var n=[],u={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(u.status="rejected",u.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),u}function ey(){var e=zf.current;return e!==null?e:ra.pooledCache}function vd(e,t){t===null?Re(zf,zf.current,e):Re(zf,t.pool,e)}function ty(){var e=ey();return e===null?null:{parent:rn._currentValue,pool:e}}function ay(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function bd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Hn(){}function ny(e,t,n){J.actQueue!==null&&(J.didUsePromise=!0);var u=e.thenables;switch(n=u[n],n===void 0?u.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Hn,Hn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,il(e),e;default:if(typeof t.status=="string")t.then(Hn,Hn);else{if(e=ra,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=r}},function(r){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,il(e),e}throw Fp=t,ev=!0,Wp}}function ll(){if(Fp===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Fp;return Fp=null,ev=!1,e}function il(e){if(e===Wp||e===P0)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Zu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Es(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Gl(e){return{lane:e,tag:uT,payload:null,callback:null,next:null}}function Zl(e,t,n){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,Mb===u&&!cT){var r=Ae(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
186
186
|
|
|
187
187
|
Please update the following component: %s`,r),cT=!0}return(Kt&pl)!==si?(r=u.pending,r===null?t.next=t:(t.next=r.next,r.next=t),u.pending=t,t=cd(e),$g(e,null,n),t):(rd(e,u,t,n),cd(e))}function Qo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,Qe(e,n)}}function au(e,t){var n=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,n===u)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var p={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=p:c=c.next=p,n=n.next}while(n!==null);c===null?r=c=t:c=c.next=t}else r=c=t;n={baseState:u.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:u.shared,callbacks:u.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wr(){if(Cb){var e=Qh;if(e!==null)throw e}}function Xu(e,t,n,u){Cb=!1;var r=e.updateQueue;Xc=!1,Mb=r.shared;var c=r.firstBaseUpdate,p=r.lastBaseUpdate,b=r.shared.pending;if(b!==null){r.shared.pending=null;var E=b,R=E.next;E.next=null,p===null?c=R:p.next=R,p=E;var $=e.alternate;$!==null&&($=$.updateQueue,b=$.lastBaseUpdate,b!==p&&(b===null?$.firstBaseUpdate=R:b.next=R,$.lastBaseUpdate=E))}if(c!==null){var P=r.baseState;p=0,$=R=E=null,b=c;do{var K=b.lane&-536870913,te=K!==b.lane;if(te?(At&K)===K:(u&K)===K){K!==0&&K===Of&&(Cb=!0),$!==null&&($=$.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{K=e;var Ue=b,We=t,ca=n;switch(Ue.tag){case oT:if(Ue=Ue.payload,typeof Ue=="function"){Zh=!0;var zt=Ue.call(ca,P,We);if(K.mode&In){$e(!0);try{Ue.call(ca,P,We)}finally{$e(!1)}}Zh=!1,P=zt;break e}P=Ue;break e;case Db:K.flags=K.flags&-65537|128;case uT:if(zt=Ue.payload,typeof zt=="function"){if(Zh=!0,Ue=zt.call(ca,P,We),K.mode&In){$e(!0);try{zt.call(ca,P,We)}finally{$e(!1)}}Zh=!1}else Ue=zt;if(Ue==null)break e;P=Pe({},P,Ue);break e;case rT:Xc=!0}}K=b.callback,K!==null&&(e.flags|=64,te&&(e.flags|=8192),te=r.callbacks,te===null?r.callbacks=[K]:te.push(K))}else te={lane:K,tag:b.tag,payload:b.payload,callback:b.callback,next:null},$===null?(R=$=te,E=P):$=$.next=te,p|=K;if(b=b.next,b===null){if(b=r.shared.pending,b===null)break;te=b,b=te.next,te.next=null,r.lastBaseUpdate=te,r.shared.pending=null}}while(!0);$===null&&(E=P),r.baseState=E,r.firstBaseUpdate=R,r.lastBaseUpdate=$,c===null&&(r.shared.lanes=0),$c|=p,e.lanes=p,e.memoizedState=P}Mb=null}function Ko(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function ib(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Ko(n[e],t)}function kn(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ko(n[e],t)}function Sd(e,t){var n=Eo;Re(tv,n,e),Re(Kh,t,e),Eo=n|t.baseLanes}function Xl(e){Re(tv,Eo,e),Re(Kh,Kh.current,e)}function Td(e){Eo=tv.current,fe(Kh,e),fe(tv,e)}function ct(){var e=I;qi===null?qi=[e]:qi.push(e)}function ce(){var e=I;if(qi!==null&&(Sr++,qi[Sr]!==e)){var t=Ae(et);if(!sT.has(t)&&(sT.add(t),qi!==null)){for(var n="",u=0;u<=Sr;u++){var r=qi[u],c=u===Sr?e:r;for(r=u+1+". "+r;30>r.length;)r+=" ";r+=c+`
|
|
188
188
|
`,n+=r}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
@@ -197,14 +197,14 @@ Please update the following component: %s`,r),cT=!0}return(Kt&pl)!==si?(r=u.pend
|
|
|
197
197
|
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ku(e,t){if(Pp)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",I),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
198
198
|
|
|
199
199
|
Previous: %s
|
|
200
|
-
Incoming: %s`,I,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!hl(e[n],t[n]))return!1;return!0}function Ir(e,t,n,u,r,c){Qc=c,et=t,qi=e!==null?e._debugHookTypes:null,Sr=-1,Pp=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(c=Ae(et),Ub.has(c)||(Ub.add(c),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?Hb:qi!==null?hT:Nb,Mf=c=(t.mode&In)!==fa;var p=kb(n,u,r);if(Mf=!1,$h&&(p=jn(t,n,u,r)),c){$e(!0);try{p=jn(t,n,u,r)}finally{$e(!1)}}return _s(e,t),p}function _s(e,t){t._debugHookTypes=qi,t.dependencies===null?br!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:br}):t.dependencies._debugThenableState=br,J.H=lv;var n=na!==null&&na.next!==null;if(Qc=0,qi=I=Wa=na=et=null,Sr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),av=!1,Ip=0,br=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||gn||(e=e.dependencies,e!==null&&Ss(e)&&(gn=!0)),ev?(ev=!1,e=!0):e=!1,e&&(t=Ae(t)||"Unknown",fT.has(t)||Ub.has(t)||(fT.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function jn(e,t,n,u){et=e;var r=0;do{if($h&&(br=null),Ip=0,$h=!1,r>=s4)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,Pp=!1,Wa=na=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}Sr=-1,J.H=mT,c=kb(t,n,u)}while($h);return c}function wl(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?Jo(t):t,e=e.useState()[0],(na!==null?na.memoizedState:null)!==e&&(et.flags|=1024),t}function nu(){var e=nv!==0;return nv=0,e}function Ql(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ou)!==fa?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Kl(e){if(av){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}av=!1}Qc=0,qi=Wa=na=et=null,Sr=-1,I=null,$h=!1,Ip=nv=0,br=null}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wa===null?et.memoizedState=Wa=e:Wa=Wa.next=e,Wa}function Zt(){if(na===null){var e=et.alternate;e=e!==null?e.memoizedState:null}else e=na.next;var t=Wa===null?et.memoizedState:Wa.next;if(t!==null)Wa=t,na=e;else{if(e===null)throw et.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");na=e,e={memoizedState:na.memoizedState,baseState:na.baseState,baseQueue:na.baseQueue,queue:na.queue,next:null},Wa===null?et.memoizedState=Wa=e:Wa=Wa.next=e}return Wa}function ws(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Jo(e){var t=Ip;return Ip+=1,br===null&&(br=ay()),e=ny(br,e,t),t=et,(Wa===null?t.memoizedState:Wa.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?Hb:Nb),e}function pa(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Jo(e);if(e.$$typeof===Wn)return la(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Jt(e){var t=null,n=et.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var u=et.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ws(),et.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Pp)for(n=t.data[t.index]=Array(e),u=0;u<e;u++)n[u]=C0;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function st(e,t){return typeof t=="function"?t(e):t}function lu(e,t,n){var u=wa();if(n!==void 0){var r=n(t);if(Mf){$e(!0);try{n(t)}finally{$e(!1)}}}else r=t;return u.memoizedState=u.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},u.queue=e,e=e.dispatch=Hs.bind(null,et,e),[u.memoizedState,e]}function _n(e){var t=Zt();return As(t,na,e)}function As(e,t,n){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=n;var r=e.baseQueue,c=u.pending;if(c!==null){if(r!==null){var p=r.next;r.next=c.next,c.next=p}t.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=r=c,u.pending=null}if(c=e.baseState,r===null)e.memoizedState=c;else{t=r.next;var b=p=null,E=null,R=t,$=!1;do{var P=R.lane&-536870913;if(P!==R.lane?(At&P)===P:(Qc&P)===P){var K=R.revertLane;if(K===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),P===Of&&($=!0);else if((Qc&K)===K){R=R.next,K===Of&&($=!0);continue}else P={lane:0,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},E===null?(b=E=P,p=c):E=E.next=P,et.lanes|=K,$c|=K;P=R.action,Mf&&n(c,P),c=R.hasEagerState?R.eagerState:n(c,P)}else K={lane:P,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},E===null?(b=E=K,p=c):E=E.next=K,et.lanes|=P,$c|=P;R=R.next}while(R!==null&&R!==t);if(E===null?p=c:E.next=b,!hl(c,e.memoizedState)&&(gn=!0,$&&(n=Qh,n!==null)))throw n;e.memoizedState=c,e.baseState=p,e.baseQueue=E,u.lastRenderedState=c}return r===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Jl(e){var t=Zt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,c=t.memoizedState;if(r!==null){n.pending=null;var p=r=r.next;do c=e(c,p.action),p=p.next;while(p!==r);hl(c,t.memoizedState)||(gn=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,u]}function xd(e,t,n){var u=et,r=wa();if(kt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=n();Jh||c===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jh=!0)}else{if(c=t(),Jh||(n=t(),hl(c,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(At&124)!==0||Pr(u,t,c)}return r.memoizedState=c,n={value:c,getSnapshot:t},r.queue=n,Ds(ly.bind(null,u,n,e),[e]),u.flags|=2048,xi(Li|cn,lc(),ec.bind(null,u,n,c,t),null),c}function Rs(e,t,n){var u=et,r=Zt(),c=kt;if(c){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Jh){var p=t();hl(n,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)}(p=!hl((na||r).memoizedState,n))&&(r.memoizedState=n,gn=!0),r=r.queue;var b=ly.bind(null,u,r,e);if(Bn(2048,cn,b,[e]),r.getSnapshot!==t||p||Wa!==null&&Wa.memoizedState.tag&Li){if(u.flags|=2048,xi(Li|cn,lc(),ec.bind(null,u,r,n,t),null),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(Qc&124)!==0||Pr(u,t,n)}return n}function Pr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=et.updateQueue,t===null?(t=ws(),et.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ec(e,t,n,u){t.value=n,t.getSnapshot=u,tc(t)&&Ed(e)}function ly(e,t,n){return n(function(){tc(t)&&Ed(e)})}function tc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hl(e,n)}catch{return!0}}function Ed(e){var t=Nn(e,2);t!==null&&bt(t,e,2)}function iu(e){var t=wa();if(typeof e=="function"){var n=e;if(e=n(),Mf){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:e},t}function $l(e){e=iu(e);var t=e.queue,n=sc.bind(null,et,t);return t.dispatch=n,[e.memoizedState,n]}function Si(e){var t=wa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Dd.bind(null,et,!0,n),n.dispatch=t,[e,t]}function Ti(e,t){var n=Zt();return _d(n,na,e,t)}function _d(e,t,n,u){return e.baseState=n,As(e,na,typeof u=="function"?u:st)}function wd(e,t){var n=Zt();return na!==null?_d(n,na,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Os(e,t,n,u,r){if(cu(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};J.T!==null?n(!0):c.isTransition=!1,u(c),n=t.pending,n===null?(c.next=t.pending=c,zs(t,c)):(c.next=n.next,t.pending=n.next=c)}}function zs(e,t){var n=t.action,u=t.payload,r=e.state;if(t.isTransition){var c=J.T,p={};J.T=p,J.T._updatedFibers=new Set;try{var b=n(r,u),E=J.S;E!==null&&E(p,b),Ju(e,t,b)}catch(R){ac(e,t,R)}finally{J.T=c,c===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{p=n(r,u),Ju(e,t,p)}catch(R){ac(e,t,R)}}function Ju(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(u){an(e,t,u)},function(u){return ac(e,t,u)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):an(e,t,n)}function an(e,t,n){t.status="fulfilled",t.value=n,iy(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,zs(e,n)))}function ac(e,t,n){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=n,iy(t),t=t.next;while(t!==u)}e.action=null}function iy(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Pg(e,t){return t}function nc(e,t){if(kt){var n=ra.formState;if(n!==null){e:{var u=et;if(kt){if(za){t:{for(var r=za,c=So;r.nodeType!==8;){if(!c){r=null;break t}if(r=Jn(r.nextSibling),r===null){r=null;break t}}c=r.data,r=c===r1||c===dx?r:null}if(r){za=Jn(r.nextSibling),u=r.data===r1;break e}}Lu(u)}u=!1}u&&(t=n[0])}}return n=wa(),n.memoizedState=n.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pg,lastRenderedState:t},n.queue=u,n=sc.bind(null,et,u),u.dispatch=n,u=iu(!1),c=Dd.bind(null,et,!1,u.queue),u=wa(),r={state:t,dispatch:null,action:e,pending:null},u.queue=r,n=Os.bind(null,et,r,c,n),r.dispatch=n,u.memoizedState=e,[t,n,!1]}function Ad(e){var t=Zt();return Aa(t,na,e)}function Aa(e,t,n){if(t=As(e,t,Pg)[0],e=_n(st)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=Jo(t)}catch(p){throw p===Wp?P0:p}else u=t;t=Zt();var r=t.queue,c=r.dispatch;return n!==t.memoizedState&&(et.flags|=2048,xi(Li|cn,lc(),uy.bind(null,r,n),null)),[u,c,e]}function uy(e,t){e.action=t}function $u(e){var t=Zt(),n=na;if(n!==null)return Aa(t,n,e);Zt(),t=t.memoizedState,n=Zt();var u=n.queue.dispatch;return n.memoizedState=e,[t,u,!1]}function xi(e,t,n,u){return e={tag:e,create:n,deps:u,inst:t,next:null},t=et.updateQueue,t===null&&(t=ws(),et.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function lc(){return{destroy:void 0,resource:void 0}}function Wu(e){var t=wa();return e={current:e},t.memoizedState=e}function Al(e,t,n,u){var r=wa();u=u===void 0?null:u,et.flags|=e,r.memoizedState=xi(Li|t,lc(),n,u)}function Bn(e,t,n,u){var r=Zt();u=u===void 0?null:u;var c=r.memoizedState.inst;na!==null&&u!==null&&Ku(u,na.memoizedState.deps)?r.memoizedState=xi(t,c,n,u):(et.flags|=e,r.memoizedState=xi(Li|t,c,n,u))}function Ds(e,t){(et.mode&Ou)!==fa&&(et.mode&WS)===fa?Al(276826112,cn,e,t):Al(8390656,cn,e,t)}function oy(e,t){var n=4194308;return(et.mode&Ou)!==fa&&(n|=134217728),Al(n,On,e,t)}function ry(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function uu(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var u=4194308;(et.mode&Ou)!==fa&&(u|=134217728),Al(u,On,ry.bind(null,t,e),n)}function ic(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,Bn(4,On,ry.bind(null,t,e),n)}function uc(e,t){return wa().memoizedState=[e,t===void 0?null:t],e}function Ms(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;return t!==null&&Ku(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function $o(e,t){var n=wa();t=t===void 0?null:t;var u=e();if(Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function Cs(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;if(t!==null&&Ku(t,u[1]))return u[0];if(u=e(),Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function oc(e,t){var n=wa();return rc(n,e,t)}function Rd(e,t){var n=Zt();return sy(n,na.memoizedState,e,t)}function cy(e,t){var n=Zt();return na===null?rc(n,e,t):sy(n,na.memoizedState,e,t)}function rc(e,t,n){return n===void 0||(Qc&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=qy(),et.lanes|=e,$c|=e,n)}function sy(e,t,n,u){return hl(n,t)?n:Kh.current!==null?(e=rc(e,n,u),hl(e,t)||(gn=!0),e):(Qc&42)===0?(gn=!0,e.memoizedState=n):(e=qy(),et.lanes|=e,$c|=e,t)}function cc(e,t,n,u,r){var c=Lt.p;Lt.p=c!==0&&c<zi?c:zi;var p=J.T,b={};J.T=b,Dd(e,!1,t,n),b._updatedFibers=new Set;try{var E=r(),R=J.S;if(R!==null&&R(b,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var $=lb(E,u);fc(e,t,$,ol(e))}else fc(e,t,u,ol(e))}catch(P){fc(e,t,{then:function(){},status:"rejected",reason:P},ol(e))}finally{Lt.p=c,J.T=p,p===null&&b._updatedFibers&&(e=b._updatedFibers.size,b._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Od(e,t,n,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=fy(e).queue;cc(e,r,t,Yf,n===null?se:function(){return ou(e),n(u)})}function fy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yf,baseState:Yf,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:Yf},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ou(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=fy(e).next.queue;fc(e,t,{},ol(e))}function Us(){var e=iu(!1);return e=cc.bind(null,et,e.queue,!0,!1),wa().memoizedState=e,[!1,e]}function zd(){var e=_n(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:Jo(e),t]}function ru(){var e=Jl(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:Jo(e),t]}function Vn(){return la(pg)}function Wo(){var e=wa(),t=ra.identifierPrefix;if(kt){var n=gr,u=pr;n=(u&~(1<<32-Ka(u)-1)).toString(32)+n,t="«"+t+"R"+n,n=nv++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=c4++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Ns(){return wa().memoizedState=dy.bind(null,et)}function dy(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var u=ol(n);e=Gl(u);var r=Zl(n,e,u);r!==null&&(bt(r,n,u),Qo(r,n,u)),n=Im(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Hs(e,t,n){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=ol(e);var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};cu(e)?ks(t,r):(r=Gm(e,t,r,u),r!==null&&(bt(r,e,u),hy(r,t,u))),el(e,u)}function sc(e,t,n){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=ol(e),fc(e,t,n,u),el(e,u)}function fc(e,t,n,u){var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))ks(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var p=J.H;J.H=Du;try{var b=t.lastRenderedState,E=c(b,n);if(r.hasEagerState=!0,r.eagerState=E,hl(E,b))return rd(e,t,r,0),ra===null&&od(),!1}catch{}finally{J.H=p}}if(n=Gm(e,t,r,u),n!==null)return bt(n,e,u),hy(n,t,u),!0}return!1}function Dd(e,t,n,u){if(J.T===null&&Of===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),u={lane:2,revertLane:th(),action:u,hasEagerState:!1,eagerState:null,next:null},cu(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Gm(e,n,u,2),t!==null&&bt(t,e,2);el(e,2)}function cu(e){var t=e.alternate;return e===et||t!==null&&t===et}function ks(e,t){$h=av=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hy(e,t,n){if((n&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,Qe(e,n)}}function Ha(e){var t=gt;return e!=null&&(gt=t===null?e:t.concat(e)),t}function dc(e,t,n){for(var u=Object.keys(e.props),r=0;r<u.length;r++){var c=u[r];if(c!=="children"&&c!=="key"){t===null&&(t=bs(e,n.mode,0),t._debugInfo=gt,t.return=n),ke(t,function(p){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p)},c);break}}}function Wl(e){var t=eg;return eg+=1,Wh===null&&(Wh=ay()),ny(Wh,e,t)}function at(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Vt(e,t){throw t.$$typeof===db?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
200
|
+
Incoming: %s`,I,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!hl(e[n],t[n]))return!1;return!0}function Ir(e,t,n,u,r,c){Qc=c,et=t,qi=e!==null?e._debugHookTypes:null,Sr=-1,Pp=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(c=Ae(et),Ub.has(c)||(Ub.add(c),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",c===null?"An unknown Component":"<"+c+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,J.H=e!==null&&e.memoizedState!==null?Hb:qi!==null?hT:Nb,Mf=c=(t.mode&In)!==fa;var p=kb(n,u,r);if(Mf=!1,$h&&(p=jn(t,n,u,r)),c){$e(!0);try{p=jn(t,n,u,r)}finally{$e(!1)}}return _s(e,t),p}function _s(e,t){t._debugHookTypes=qi,t.dependencies===null?br!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:br}):t.dependencies._debugThenableState=br,J.H=lv;var n=na!==null&&na.next!==null;if(Qc=0,qi=I=Wa=na=et=null,Sr=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),av=!1,Ip=0,br=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||gn||(e=e.dependencies,e!==null&&Ss(e)&&(gn=!0)),ev?(ev=!1,e=!0):e=!1,e&&(t=Ae(t)||"Unknown",fT.has(t)||Ub.has(t)||(fT.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function jn(e,t,n,u){et=e;var r=0;do{if($h&&(br=null),Ip=0,$h=!1,r>=sw)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r+=1,Pp=!1,Wa=na=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}Sr=-1,J.H=mT,c=kb(t,n,u)}while($h);return c}function wl(){var e=J.H,t=e.useState()[0];return t=typeof t.then=="function"?Jo(t):t,e=e.useState()[0],(na!==null?na.memoizedState:null)!==e&&(et.flags|=1024),t}function nu(){var e=nv!==0;return nv=0,e}function Ql(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Ou)!==fa?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Kl(e){if(av){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}av=!1}Qc=0,qi=Wa=na=et=null,Sr=-1,I=null,$h=!1,Ip=nv=0,br=null}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wa===null?et.memoizedState=Wa=e:Wa=Wa.next=e,Wa}function Zt(){if(na===null){var e=et.alternate;e=e!==null?e.memoizedState:null}else e=na.next;var t=Wa===null?et.memoizedState:Wa.next;if(t!==null)Wa=t,na=e;else{if(e===null)throw et.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");na=e,e={memoizedState:na.memoizedState,baseState:na.baseState,baseQueue:na.baseQueue,queue:na.queue,next:null},Wa===null?et.memoizedState=Wa=e:Wa=Wa.next=e}return Wa}function ws(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Jo(e){var t=Ip;return Ip+=1,br===null&&(br=ay()),e=ny(br,e,t),t=et,(Wa===null?t.memoizedState:Wa.next)===null&&(t=t.alternate,J.H=t!==null&&t.memoizedState!==null?Hb:Nb),e}function pa(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Jo(e);if(e.$$typeof===Wn)return la(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Jt(e){var t=null,n=et.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var u=et.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=ws(),et.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Pp)for(n=t.data[t.index]=Array(e),u=0;u<e;u++)n[u]=C0;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function st(e,t){return typeof t=="function"?t(e):t}function lu(e,t,n){var u=wa();if(n!==void 0){var r=n(t);if(Mf){$e(!0);try{n(t)}finally{$e(!1)}}}else r=t;return u.memoizedState=u.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},u.queue=e,e=e.dispatch=Hs.bind(null,et,e),[u.memoizedState,e]}function _n(e){var t=Zt();return As(t,na,e)}function As(e,t,n){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=n;var r=e.baseQueue,c=u.pending;if(c!==null){if(r!==null){var p=r.next;r.next=c.next,c.next=p}t.baseQueue!==r&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=r=c,u.pending=null}if(c=e.baseState,r===null)e.memoizedState=c;else{t=r.next;var b=p=null,E=null,R=t,$=!1;do{var P=R.lane&-536870913;if(P!==R.lane?(At&P)===P:(Qc&P)===P){var K=R.revertLane;if(K===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),P===Of&&($=!0);else if((Qc&K)===K){R=R.next,K===Of&&($=!0);continue}else P={lane:0,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},E===null?(b=E=P,p=c):E=E.next=P,et.lanes|=K,$c|=K;P=R.action,Mf&&n(c,P),c=R.hasEagerState?R.eagerState:n(c,P)}else K={lane:P,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},E===null?(b=E=K,p=c):E=E.next=K,et.lanes|=P,$c|=P;R=R.next}while(R!==null&&R!==t);if(E===null?p=c:E.next=b,!hl(c,e.memoizedState)&&(gn=!0,$&&(n=Qh,n!==null)))throw n;e.memoizedState=c,e.baseState=p,e.baseQueue=E,u.lastRenderedState=c}return r===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Jl(e){var t=Zt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var u=n.dispatch,r=n.pending,c=t.memoizedState;if(r!==null){n.pending=null;var p=r=r.next;do c=e(c,p.action),p=p.next;while(p!==r);hl(c,t.memoizedState)||(gn=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,u]}function xd(e,t,n){var u=et,r=wa();if(kt){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=n();Jh||c===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Jh=!0)}else{if(c=t(),Jh||(n=t(),hl(c,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(At&124)!==0||Pr(u,t,c)}return r.memoizedState=c,n={value:c,getSnapshot:t},r.queue=n,Ds(ly.bind(null,u,n,e),[e]),u.flags|=2048,xi(Li|cn,lc(),ec.bind(null,u,n,c,t),null),c}function Rs(e,t,n){var u=et,r=Zt(),c=kt;if(c){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Jh){var p=t();hl(n,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Jh=!0)}(p=!hl((na||r).memoizedState,n))&&(r.memoizedState=n,gn=!0),r=r.queue;var b=ly.bind(null,u,r,e);if(Bn(2048,cn,b,[e]),r.getSnapshot!==t||p||Wa!==null&&Wa.memoizedState.tag&Li){if(u.flags|=2048,xi(Li|cn,lc(),ec.bind(null,u,r,n,t),null),ra===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(Qc&124)!==0||Pr(u,t,n)}return n}function Pr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=et.updateQueue,t===null?(t=ws(),et.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ec(e,t,n,u){t.value=n,t.getSnapshot=u,tc(t)&&Ed(e)}function ly(e,t,n){return n(function(){tc(t)&&Ed(e)})}function tc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hl(e,n)}catch{return!0}}function Ed(e){var t=Nn(e,2);t!==null&&bt(t,e,2)}function iu(e){var t=wa();if(typeof e=="function"){var n=e;if(e=n(),Mf){$e(!0);try{n()}finally{$e(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:e},t}function $l(e){e=iu(e);var t=e.queue,n=sc.bind(null,et,t);return t.dispatch=n,[e.memoizedState,n]}function Si(e){var t=wa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Dd.bind(null,et,!0,n),n.dispatch=t,[e,t]}function Ti(e,t){var n=Zt();return _d(n,na,e,t)}function _d(e,t,n,u){return e.baseState=n,As(e,na,typeof u=="function"?u:st)}function wd(e,t){var n=Zt();return na!==null?_d(n,na,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Os(e,t,n,u,r){if(cu(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var c={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};J.T!==null?n(!0):c.isTransition=!1,u(c),n=t.pending,n===null?(c.next=t.pending=c,zs(t,c)):(c.next=n.next,t.pending=n.next=c)}}function zs(e,t){var n=t.action,u=t.payload,r=e.state;if(t.isTransition){var c=J.T,p={};J.T=p,J.T._updatedFibers=new Set;try{var b=n(r,u),E=J.S;E!==null&&E(p,b),Ju(e,t,b)}catch(R){ac(e,t,R)}finally{J.T=c,c===null&&p._updatedFibers&&(e=p._updatedFibers.size,p._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{p=n(r,u),Ju(e,t,p)}catch(R){ac(e,t,R)}}function Ju(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(n.then(function(u){an(e,t,u)},function(u){return ac(e,t,u)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):an(e,t,n)}function an(e,t,n){t.status="fulfilled",t.value=n,iy(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,zs(e,n)))}function ac(e,t,n){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=n,iy(t),t=t.next;while(t!==u)}e.action=null}function iy(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Pg(e,t){return t}function nc(e,t){if(kt){var n=ra.formState;if(n!==null){e:{var u=et;if(kt){if(za){t:{for(var r=za,c=So;r.nodeType!==8;){if(!c){r=null;break t}if(r=Jn(r.nextSibling),r===null){r=null;break t}}c=r.data,r=c===r1||c===dx?r:null}if(r){za=Jn(r.nextSibling),u=r.data===r1;break e}}Lu(u)}u=!1}u&&(t=n[0])}}return n=wa(),n.memoizedState=n.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pg,lastRenderedState:t},n.queue=u,n=sc.bind(null,et,u),u.dispatch=n,u=iu(!1),c=Dd.bind(null,et,!1,u.queue),u=wa(),r={state:t,dispatch:null,action:e,pending:null},u.queue=r,n=Os.bind(null,et,r,c,n),r.dispatch=n,u.memoizedState=e,[t,n,!1]}function Ad(e){var t=Zt();return Aa(t,na,e)}function Aa(e,t,n){if(t=As(e,t,Pg)[0],e=_n(st)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=Jo(t)}catch(p){throw p===Wp?P0:p}else u=t;t=Zt();var r=t.queue,c=r.dispatch;return n!==t.memoizedState&&(et.flags|=2048,xi(Li|cn,lc(),uy.bind(null,r,n),null)),[u,c,e]}function uy(e,t){e.action=t}function $u(e){var t=Zt(),n=na;if(n!==null)return Aa(t,n,e);Zt(),t=t.memoizedState,n=Zt();var u=n.queue.dispatch;return n.memoizedState=e,[t,u,!1]}function xi(e,t,n,u){return e={tag:e,create:n,deps:u,inst:t,next:null},t=et.updateQueue,t===null&&(t=ws(),et.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(u=n.next,n.next=e,e.next=u,t.lastEffect=e),e}function lc(){return{destroy:void 0,resource:void 0}}function Wu(e){var t=wa();return e={current:e},t.memoizedState=e}function Al(e,t,n,u){var r=wa();u=u===void 0?null:u,et.flags|=e,r.memoizedState=xi(Li|t,lc(),n,u)}function Bn(e,t,n,u){var r=Zt();u=u===void 0?null:u;var c=r.memoizedState.inst;na!==null&&u!==null&&Ku(u,na.memoizedState.deps)?r.memoizedState=xi(t,c,n,u):(et.flags|=e,r.memoizedState=xi(Li|t,c,n,u))}function Ds(e,t){(et.mode&Ou)!==fa&&(et.mode&WS)===fa?Al(276826112,cn,e,t):Al(8390656,cn,e,t)}function oy(e,t){var n=4194308;return(et.mode&Ou)!==fa&&(n|=134217728),Al(n,On,e,t)}function ry(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function uu(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var u=4194308;(et.mode&Ou)!==fa&&(u|=134217728),Al(u,On,ry.bind(null,t,e),n)}function ic(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,Bn(4,On,ry.bind(null,t,e),n)}function uc(e,t){return wa().memoizedState=[e,t===void 0?null:t],e}function Ms(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;return t!==null&&Ku(t,u[1])?u[0]:(n.memoizedState=[e,t],e)}function $o(e,t){var n=wa();t=t===void 0?null:t;var u=e();if(Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function Cs(e,t){var n=Zt();t=t===void 0?null:t;var u=n.memoizedState;if(t!==null&&Ku(t,u[1]))return u[0];if(u=e(),Mf){$e(!0);try{e()}finally{$e(!1)}}return n.memoizedState=[u,t],u}function oc(e,t){var n=wa();return rc(n,e,t)}function Rd(e,t){var n=Zt();return sy(n,na.memoizedState,e,t)}function cy(e,t){var n=Zt();return na===null?rc(n,e,t):sy(n,na.memoizedState,e,t)}function rc(e,t,n){return n===void 0||(Qc&1073741824)!==0?e.memoizedState=t:(e.memoizedState=n,e=qy(),et.lanes|=e,$c|=e,n)}function sy(e,t,n,u){return hl(n,t)?n:Kh.current!==null?(e=rc(e,n,u),hl(e,t)||(gn=!0),e):(Qc&42)===0?(gn=!0,e.memoizedState=n):(e=qy(),et.lanes|=e,$c|=e,t)}function cc(e,t,n,u,r){var c=Lt.p;Lt.p=c!==0&&c<zi?c:zi;var p=J.T,b={};J.T=b,Dd(e,!1,t,n),b._updatedFibers=new Set;try{var E=r(),R=J.S;if(R!==null&&R(b,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var $=lb(E,u);fc(e,t,$,ol(e))}else fc(e,t,u,ol(e))}catch(P){fc(e,t,{then:function(){},status:"rejected",reason:P},ol(e))}finally{Lt.p=c,J.T=p,p===null&&b._updatedFibers&&(e=b._updatedFibers.size,b._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Od(e,t,n,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var r=fy(e).queue;cc(e,r,t,Yf,n===null?se:function(){return ou(e),n(u)})}function fy(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Yf,baseState:Yf,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:Yf},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:st,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ou(e){J.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=fy(e).next.queue;fc(e,t,{},ol(e))}function Us(){var e=iu(!1);return e=cc.bind(null,et,e.queue,!0,!1),wa().memoizedState=e,[!1,e]}function zd(){var e=_n(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:Jo(e),t]}function ru(){var e=Jl(st)[0],t=Zt().memoizedState;return[typeof e=="boolean"?e:Jo(e),t]}function Vn(){return la(pg)}function Wo(){var e=wa(),t=ra.identifierPrefix;if(kt){var n=gr,u=pr;n=(u&~(1<<32-Ka(u)-1)).toString(32)+n,t="«"+t+"R"+n,n=nv++,0<n&&(t+="H"+n.toString(32)),t+="»"}else n=cw++,t="«"+t+"r"+n.toString(32)+"»";return e.memoizedState=t}function Ns(){return wa().memoizedState=dy.bind(null,et)}function dy(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var u=ol(n);e=Gl(u);var r=Zl(n,e,u);r!==null&&(bt(r,n,u),Qo(r,n,u)),n=Im(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:n};return}n=n.return}}function Hs(e,t,n){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=ol(e);var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};cu(e)?ks(t,r):(r=Gm(e,t,r,u),r!==null&&(bt(r,e,u),hy(r,t,u))),el(e,u)}function sc(e,t,n){var u=arguments;typeof u[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),u=ol(e),fc(e,t,n,u),el(e,u)}function fc(e,t,n,u){var r={lane:u,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(cu(e))ks(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var p=J.H;J.H=Du;try{var b=t.lastRenderedState,E=c(b,n);if(r.hasEagerState=!0,r.eagerState=E,hl(E,b))return rd(e,t,r,0),ra===null&&od(),!1}catch{}finally{J.H=p}}if(n=Gm(e,t,r,u),n!==null)return bt(n,e,u),hy(n,t,u),!0}return!1}function Dd(e,t,n,u){if(J.T===null&&Of===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),u={lane:2,revertLane:th(),action:u,hasEagerState:!1,eagerState:null,next:null},cu(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Gm(e,n,u,2),t!==null&&bt(t,e,2);el(e,2)}function cu(e){var t=e.alternate;return e===et||t!==null&&t===et}function ks(e,t){$h=av=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hy(e,t,n){if((n&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,n|=u,t.lanes=n,Qe(e,n)}}function Ha(e){var t=gt;return e!=null&&(gt=t===null?e:t.concat(e)),t}function dc(e,t,n){for(var u=Object.keys(e.props),r=0;r<u.length;r++){var c=u[r];if(c!=="children"&&c!=="key"){t===null&&(t=bs(e,n.mode,0),t._debugInfo=gt,t.return=n),ke(t,function(p){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p)},c);break}}}function Wl(e){var t=eg;return eg+=1,Wh===null&&(Wh=ay()),ny(Wh,e,t)}function at(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Vt(e,t){throw t.$$typeof===db?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
201
201
|
- Multiple copies of the "react" package is used.
|
|
202
202
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
203
203
|
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function ma(e,t){var n=Ae(e)||"Component";zT[n]||(zT[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
204
204
|
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
205
205
|
<%s>{%s}</%s>`,t,t,n,t,n))}function Fo(e,t){var n=Ae(e)||"Component";DT[n]||(DT[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
206
206
|
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
207
|
-
<%s>%s</%s>`,n,t,n))}function Io(e){function t(D,M){if(e){var N=D.deletions;N===null?(D.deletions=[M],D.flags|=16):N.push(M)}}function n(D,M){if(!e)return null;for(;M!==null;)t(D,M),M=M.sibling;return null}function u(D){for(var M=new Map;D!==null;)D.key!==null?M.set(D.key,D):M.set(D.index,D),D=D.sibling;return M}function r(D,M){return D=bi(D,M),D.index=0,D.sibling=null,D}function c(D,M,N){return D.index=N,e?(N=D.alternate,N!==null?(N=N.index,N<M?(D.flags|=67108866,M):N):(D.flags|=67108866,M)):(D.flags|=1048576,M)}function p(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function b(D,M,N,ae){return M===null||M.tag!==6?(M=Qm(N,D.mode,ae),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function E(D,M,N,ae){var Se=N.type;return Se===ho?(M=$(D,M,N.props.children,ae,N.key),dc(N,M,D),M):M!==null&&(M.elementType===Se||Wg(M,N)||typeof Se=="object"&&Se!==null&&Se.$$typeof===fl&&Kc(Se)===M.type)?(M=r(M,N.props),at(M,N),M.return=D,M._debugOwner=N._owner,M._debugInfo=gt,M):(M=bs(N,D.mode,ae),at(M,N),M.return=D,M._debugInfo=gt,M)}function R(D,M,N,ae){return M===null||M.tag!==4||M.stateNode.containerInfo!==N.containerInfo||M.stateNode.implementation!==N.implementation?(M=Km(N,D.mode,ae),M.return=D,M._debugInfo=gt,M):(M=r(M,N.children||[]),M.return=D,M._debugInfo=gt,M)}function $(D,M,N,ae,Se){return M===null||M.tag!==7?(M=El(N,D.mode,ae,Se),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function P(D,M,N){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Qm(""+M,D.mode,N),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Tu:return N=bs(M,D.mode,N),at(N,M),N.return=D,D=Ha(M._debugInfo),N._debugInfo=gt,gt=D,N;case ut:return M=Km(M,D.mode,N),M.return=D,M._debugInfo=gt,M;case fl:var ae=Ha(M._debugInfo);return M=Kc(M),D=P(D,M,N),gt=ae,D}if(Ba(M)||_t(M))return N=El(M,D.mode,N,null),N.return=D,N._debugOwner=D,N._debugTask=D._debugTask,D=Ha(M._debugInfo),N._debugInfo=gt,gt=D,N;if(typeof M.then=="function")return ae=Ha(M._debugInfo),D=P(D,Wl(M),N),gt=ae,D;if(M.$$typeof===Wn)return P(D,Ts(D,M),N);Vt(D,M)}return typeof M=="function"&&ma(D,M),typeof M=="symbol"&&Fo(D,M),null}function K(D,M,N,ae){var Se=M!==null?M.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return Se!==null?null:b(D,M,""+N,ae);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:return N.key===Se?(Se=Ha(N._debugInfo),D=E(D,M,N,ae),gt=Se,D):null;case ut:return N.key===Se?R(D,M,N,ae):null;case fl:return Se=Ha(N._debugInfo),N=Kc(N),D=K(D,M,N,ae),gt=Se,D}if(Ba(N)||_t(N))return Se!==null?null:(Se=Ha(N._debugInfo),D=$(D,M,N,ae,null),gt=Se,D);if(typeof N.then=="function")return Se=Ha(N._debugInfo),D=K(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return K(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Fo(D,N),null}function te(D,M,N,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return D=D.get(N)||null,b(M,D,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case Tu:return N=D.get(ae.key===null?N:ae.key)||null,D=Ha(ae._debugInfo),M=E(M,N,ae,Se),gt=D,M;case ut:return D=D.get(ae.key===null?N:ae.key)||null,R(M,D,ae,Se);case fl:var ot=Ha(ae._debugInfo);return ae=Kc(ae),M=te(D,M,N,ae,Se),gt=ot,M}if(Ba(ae)||_t(ae))return N=D.get(N)||null,D=Ha(ae._debugInfo),M=$(M,N,ae,Se,null),gt=D,M;if(typeof ae.then=="function")return ot=Ha(ae._debugInfo),M=te(D,M,N,Wl(ae),Se),gt=ot,M;if(ae.$$typeof===Wn)return te(D,M,N,Ts(M,ae),Se);Vt(M,ae)}return typeof ae=="function"&&ma(M,ae),typeof ae=="symbol"&&Fo(M,ae),null}function Ue(D,M,N,ae){if(typeof N!="object"||N===null)return ae;switch(N.$$typeof){case Tu:case ut:j(D,M,N);var Se=N.key;if(typeof Se!="string")break;if(ae===null){ae=new Set,ae.add(Se);break}if(!ae.has(Se)){ae.add(Se);break}ke(M,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Se)});break;case fl:N=Kc(N),Ue(D,M,N,ae)}return ae}function We(D,M,N,ae){for(var Se=null,ot=null,Ne=null,rt=M,dt=M=0,da=null;rt!==null&&dt<N.length;dt++){rt.index>dt?(da=rt,rt=null):da=rt.sibling;var La=K(D,rt,N[dt],ae);if(La===null){rt===null&&(rt=da);break}Se=Ue(D,La,N[dt],Se),e&&rt&&La.alternate===null&&t(D,rt),M=c(La,M,dt),Ne===null?ot=La:Ne.sibling=La,Ne=La,rt=da}if(dt===N.length)return n(D,rt),kt&&qo(D,dt),ot;if(rt===null){for(;dt<N.length;dt++)rt=P(D,N[dt],ae),rt!==null&&(Se=Ue(D,rt,N[dt],Se),M=c(rt,M,dt),Ne===null?ot=rt:Ne.sibling=rt,Ne=rt);return kt&&qo(D,dt),ot}for(rt=u(rt);dt<N.length;dt++)da=te(rt,D,dt,N[dt],ae),da!==null&&(Se=Ue(D,da,N[dt],Se),e&&da.alternate!==null&&rt.delete(da.key===null?dt:da.key),M=c(da,M,dt),Ne===null?ot=da:Ne.sibling=da,Ne=da);return e&&rt.forEach(function(Ar){return t(D,Ar)}),kt&&qo(D,dt),ot}function ca(D,M,N,ae){if(N==null)throw Error("An iterable object provided no iterator.");for(var Se=null,ot=null,Ne=M,rt=M=0,dt=null,da=null,La=N.next();Ne!==null&&!La.done;rt++,La=N.next()){Ne.index>rt?(dt=Ne,Ne=null):dt=Ne.sibling;var Ar=K(D,Ne,La.value,ae);if(Ar===null){Ne===null&&(Ne=dt);break}da=Ue(D,Ar,La.value,da),e&&Ne&&Ar.alternate===null&&t(D,Ne),M=c(Ar,M,rt),ot===null?Se=Ar:ot.sibling=Ar,ot=Ar,Ne=dt}if(La.done)return n(D,Ne),kt&&qo(D,rt),Se;if(Ne===null){for(;!La.done;rt++,La=N.next())Ne=P(D,La.value,ae),Ne!==null&&(da=Ue(D,Ne,La.value,da),M=c(Ne,M,rt),ot===null?Se=Ne:ot.sibling=Ne,ot=Ne);return kt&&qo(D,rt),Se}for(Ne=u(Ne);!La.done;rt++,La=N.next())dt=te(Ne,D,rt,La.value,ae),dt!==null&&(da=Ue(D,dt,La.value,da),e&&dt.alternate!==null&&Ne.delete(dt.key===null?rt:dt.key),M=c(dt,M,rt),ot===null?Se=dt:ot.sibling=dt,ot=dt);return e&&Ne.forEach(function(k4){return t(D,k4)}),kt&&qo(D,rt),Se}function zt(D,M,N,ae){if(typeof N=="object"&&N!==null&&N.type===ho&&N.key===null&&(dc(N,null,D),N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:var Se=Ha(N._debugInfo);e:{for(var ot=N.key;M!==null;){if(M.key===ot){if(ot=N.type,ot===ho){if(M.tag===7){n(D,M.sibling),ae=r(M,N.props.children),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,dc(N,ae,D),D=ae;break e}}else if(M.elementType===ot||Wg(M,N)||typeof ot=="object"&&ot!==null&&ot.$$typeof===fl&&Kc(ot)===M.type){n(D,M.sibling),ae=r(M,N.props),at(ae,N),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,D=ae;break e}n(D,M);break}else t(D,M);M=M.sibling}N.type===ho?(ae=El(N.props.children,D.mode,ae,N.key),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,dc(N,ae,D),D=ae):(ae=bs(N,D.mode,ae),at(ae,N),ae.return=D,ae._debugInfo=gt,D=ae)}return D=p(D),gt=Se,D;case ut:e:{for(Se=N,N=Se.key;M!==null;){if(M.key===N)if(M.tag===4&&M.stateNode.containerInfo===Se.containerInfo&&M.stateNode.implementation===Se.implementation){n(D,M.sibling),ae=r(M,Se.children||[]),ae.return=D,D=ae;break e}else{n(D,M);break}else t(D,M);M=M.sibling}ae=Km(Se,D.mode,ae),ae.return=D,D=ae}return p(D);case fl:return Se=Ha(N._debugInfo),N=Kc(N),D=zt(D,M,N,ae),gt=Se,D}if(Ba(N))return Se=Ha(N._debugInfo),D=We(D,M,N,ae),gt=Se,D;if(_t(N)){if(Se=Ha(N._debugInfo),ot=_t(N),typeof ot!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ne=ot.call(N);return Ne===N?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ne)!=="[object Generator]")&&(RT||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),RT=!0):N.entries!==ot||Bb||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bb=!0),D=ca(D,M,Ne,ae),gt=Se,D}if(typeof N.then=="function")return Se=Ha(N._debugInfo),D=zt(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return zt(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(Se=""+N,M!==null&&M.tag===6?(n(D,M.sibling),ae=r(M,Se),ae.return=D,D=ae):(n(D,M),ae=Qm(Se,D.mode,ae),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,D=ae),p(D)):(typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Fo(D,N),n(D,M))}return function(D,M,N,ae){var Se=gt;gt=null;try{eg=0;var ot=zt(D,M,N,ae);return Wh=null,ot}catch(da){if(da===Wp||da===P0)throw da;var Ne=L(29,da,null,D.mode);Ne.lanes=ae,Ne.return=D;var rt=Ne._debugInfo=gt;if(Ne._debugOwner=D._debugOwner,Ne._debugTask=D._debugTask,rt!=null){for(var dt=rt.length-1;0<=dt;dt--)if(typeof rt[dt].stack=="string"){Ne._debugOwner=rt[dt],Ne._debugTask=rt[dt].debugTask;break}}return Ne}finally{gt=Se}}}function Ln(e){var t=e.alternate;Re(sn,sn.current&Ih,e),Re(Yi,e,e),xo===null&&(t===null||Kh.current!==null||t.memoizedState!==null)&&(xo=e)}function js(e){if(e.tag===22){if(Re(sn,sn.current,e),Re(Yi,e,e),xo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(xo=e)}}else Rl(e)}function Rl(e){Re(sn,sn.current,e),Re(Yi,Yi.current,e)}function qn(e){fe(Yi,e),xo===e&&(xo=null),fe(sn,e)}function Md(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===Er||co(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)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}function ya(e){if(e!==null&&typeof e!="function"){var t=String(e);YT.has(t)||(YT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Bs(e,t,n,u){var r=e.memoizedState,c=n(u,r);if(e.mode&In){$e(!0);try{c=n(u,r)}finally{$e(!1)}}c===void 0&&(t=it(t)||"Component",BT.has(t)||(BT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),r=c==null?r:Pe({},r,c),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}function Cd(e,t,n,u,r,c,p){var b=e.stateNode;if(typeof b.shouldComponentUpdate=="function"){if(n=b.shouldComponentUpdate(u,c,p),e.mode&In){$e(!0);try{n=b.shouldComponentUpdate(u,c,p)}finally{$e(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",it(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!vs(n,u)||!vs(r,c):!0}function my(e,t,n,u){var r=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==r&&(e=Ae(e)||"Component",UT.has(e)||(UT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Vb.enqueueReplaceState(t,t.state,null))}function Fu(e,t){var n=t;if("ref"in t){n={};for(var u in t)u!=="ref"&&(n[u]=t[u])}if(e=e.defaultProps){n===t&&(n=Pe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function e0(e){Lb(e),console.warn(`%s
|
|
207
|
+
<%s>%s</%s>`,n,t,n))}function Io(e){function t(D,M){if(e){var N=D.deletions;N===null?(D.deletions=[M],D.flags|=16):N.push(M)}}function n(D,M){if(!e)return null;for(;M!==null;)t(D,M),M=M.sibling;return null}function u(D){for(var M=new Map;D!==null;)D.key!==null?M.set(D.key,D):M.set(D.index,D),D=D.sibling;return M}function r(D,M){return D=bi(D,M),D.index=0,D.sibling=null,D}function c(D,M,N){return D.index=N,e?(N=D.alternate,N!==null?(N=N.index,N<M?(D.flags|=67108866,M):N):(D.flags|=67108866,M)):(D.flags|=1048576,M)}function p(D){return e&&D.alternate===null&&(D.flags|=67108866),D}function b(D,M,N,ae){return M===null||M.tag!==6?(M=Qm(N,D.mode,ae),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function E(D,M,N,ae){var Se=N.type;return Se===ho?(M=$(D,M,N.props.children,ae,N.key),dc(N,M,D),M):M!==null&&(M.elementType===Se||Wg(M,N)||typeof Se=="object"&&Se!==null&&Se.$$typeof===fl&&Kc(Se)===M.type)?(M=r(M,N.props),at(M,N),M.return=D,M._debugOwner=N._owner,M._debugInfo=gt,M):(M=bs(N,D.mode,ae),at(M,N),M.return=D,M._debugInfo=gt,M)}function R(D,M,N,ae){return M===null||M.tag!==4||M.stateNode.containerInfo!==N.containerInfo||M.stateNode.implementation!==N.implementation?(M=Km(N,D.mode,ae),M.return=D,M._debugInfo=gt,M):(M=r(M,N.children||[]),M.return=D,M._debugInfo=gt,M)}function $(D,M,N,ae,Se){return M===null||M.tag!==7?(M=El(N,D.mode,ae,Se),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M):(M=r(M,N),M.return=D,M._debugInfo=gt,M)}function P(D,M,N){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=Qm(""+M,D.mode,N),M.return=D,M._debugOwner=D,M._debugTask=D._debugTask,M._debugInfo=gt,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Tu:return N=bs(M,D.mode,N),at(N,M),N.return=D,D=Ha(M._debugInfo),N._debugInfo=gt,gt=D,N;case ut:return M=Km(M,D.mode,N),M.return=D,M._debugInfo=gt,M;case fl:var ae=Ha(M._debugInfo);return M=Kc(M),D=P(D,M,N),gt=ae,D}if(Ba(M)||_t(M))return N=El(M,D.mode,N,null),N.return=D,N._debugOwner=D,N._debugTask=D._debugTask,D=Ha(M._debugInfo),N._debugInfo=gt,gt=D,N;if(typeof M.then=="function")return ae=Ha(M._debugInfo),D=P(D,Wl(M),N),gt=ae,D;if(M.$$typeof===Wn)return P(D,Ts(D,M),N);Vt(D,M)}return typeof M=="function"&&ma(D,M),typeof M=="symbol"&&Fo(D,M),null}function K(D,M,N,ae){var Se=M!==null?M.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return Se!==null?null:b(D,M,""+N,ae);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:return N.key===Se?(Se=Ha(N._debugInfo),D=E(D,M,N,ae),gt=Se,D):null;case ut:return N.key===Se?R(D,M,N,ae):null;case fl:return Se=Ha(N._debugInfo),N=Kc(N),D=K(D,M,N,ae),gt=Se,D}if(Ba(N)||_t(N))return Se!==null?null:(Se=Ha(N._debugInfo),D=$(D,M,N,ae,null),gt=Se,D);if(typeof N.then=="function")return Se=Ha(N._debugInfo),D=K(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return K(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Fo(D,N),null}function te(D,M,N,ae,Se){if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return D=D.get(N)||null,b(M,D,""+ae,Se);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case Tu:return N=D.get(ae.key===null?N:ae.key)||null,D=Ha(ae._debugInfo),M=E(M,N,ae,Se),gt=D,M;case ut:return D=D.get(ae.key===null?N:ae.key)||null,R(M,D,ae,Se);case fl:var ot=Ha(ae._debugInfo);return ae=Kc(ae),M=te(D,M,N,ae,Se),gt=ot,M}if(Ba(ae)||_t(ae))return N=D.get(N)||null,D=Ha(ae._debugInfo),M=$(M,N,ae,Se,null),gt=D,M;if(typeof ae.then=="function")return ot=Ha(ae._debugInfo),M=te(D,M,N,Wl(ae),Se),gt=ot,M;if(ae.$$typeof===Wn)return te(D,M,N,Ts(M,ae),Se);Vt(M,ae)}return typeof ae=="function"&&ma(M,ae),typeof ae=="symbol"&&Fo(M,ae),null}function Ue(D,M,N,ae){if(typeof N!="object"||N===null)return ae;switch(N.$$typeof){case Tu:case ut:j(D,M,N);var Se=N.key;if(typeof Se!="string")break;if(ae===null){ae=new Set,ae.add(Se);break}if(!ae.has(Se)){ae.add(Se);break}ke(M,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Se)});break;case fl:N=Kc(N),Ue(D,M,N,ae)}return ae}function We(D,M,N,ae){for(var Se=null,ot=null,Ne=null,rt=M,dt=M=0,da=null;rt!==null&&dt<N.length;dt++){rt.index>dt?(da=rt,rt=null):da=rt.sibling;var La=K(D,rt,N[dt],ae);if(La===null){rt===null&&(rt=da);break}Se=Ue(D,La,N[dt],Se),e&&rt&&La.alternate===null&&t(D,rt),M=c(La,M,dt),Ne===null?ot=La:Ne.sibling=La,Ne=La,rt=da}if(dt===N.length)return n(D,rt),kt&&qo(D,dt),ot;if(rt===null){for(;dt<N.length;dt++)rt=P(D,N[dt],ae),rt!==null&&(Se=Ue(D,rt,N[dt],Se),M=c(rt,M,dt),Ne===null?ot=rt:Ne.sibling=rt,Ne=rt);return kt&&qo(D,dt),ot}for(rt=u(rt);dt<N.length;dt++)da=te(rt,D,dt,N[dt],ae),da!==null&&(Se=Ue(D,da,N[dt],Se),e&&da.alternate!==null&&rt.delete(da.key===null?dt:da.key),M=c(da,M,dt),Ne===null?ot=da:Ne.sibling=da,Ne=da);return e&&rt.forEach(function(Ar){return t(D,Ar)}),kt&&qo(D,dt),ot}function ca(D,M,N,ae){if(N==null)throw Error("An iterable object provided no iterator.");for(var Se=null,ot=null,Ne=M,rt=M=0,dt=null,da=null,La=N.next();Ne!==null&&!La.done;rt++,La=N.next()){Ne.index>rt?(dt=Ne,Ne=null):dt=Ne.sibling;var Ar=K(D,Ne,La.value,ae);if(Ar===null){Ne===null&&(Ne=dt);break}da=Ue(D,Ar,La.value,da),e&&Ne&&Ar.alternate===null&&t(D,Ne),M=c(Ar,M,rt),ot===null?Se=Ar:ot.sibling=Ar,ot=Ar,Ne=dt}if(La.done)return n(D,Ne),kt&&qo(D,rt),Se;if(Ne===null){for(;!La.done;rt++,La=N.next())Ne=P(D,La.value,ae),Ne!==null&&(da=Ue(D,Ne,La.value,da),M=c(Ne,M,rt),ot===null?Se=Ne:ot.sibling=Ne,ot=Ne);return kt&&qo(D,rt),Se}for(Ne=u(Ne);!La.done;rt++,La=N.next())dt=te(Ne,D,rt,La.value,ae),dt!==null&&(da=Ue(D,dt,La.value,da),e&&dt.alternate!==null&&Ne.delete(dt.key===null?rt:dt.key),M=c(dt,M,rt),ot===null?Se=dt:ot.sibling=dt,ot=dt);return e&&Ne.forEach(function(kw){return t(D,kw)}),kt&&qo(D,rt),Se}function zt(D,M,N,ae){if(typeof N=="object"&&N!==null&&N.type===ho&&N.key===null&&(dc(N,null,D),N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Tu:var Se=Ha(N._debugInfo);e:{for(var ot=N.key;M!==null;){if(M.key===ot){if(ot=N.type,ot===ho){if(M.tag===7){n(D,M.sibling),ae=r(M,N.props.children),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,dc(N,ae,D),D=ae;break e}}else if(M.elementType===ot||Wg(M,N)||typeof ot=="object"&&ot!==null&&ot.$$typeof===fl&&Kc(ot)===M.type){n(D,M.sibling),ae=r(M,N.props),at(ae,N),ae.return=D,ae._debugOwner=N._owner,ae._debugInfo=gt,D=ae;break e}n(D,M);break}else t(D,M);M=M.sibling}N.type===ho?(ae=El(N.props.children,D.mode,ae,N.key),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,dc(N,ae,D),D=ae):(ae=bs(N,D.mode,ae),at(ae,N),ae.return=D,ae._debugInfo=gt,D=ae)}return D=p(D),gt=Se,D;case ut:e:{for(Se=N,N=Se.key;M!==null;){if(M.key===N)if(M.tag===4&&M.stateNode.containerInfo===Se.containerInfo&&M.stateNode.implementation===Se.implementation){n(D,M.sibling),ae=r(M,Se.children||[]),ae.return=D,D=ae;break e}else{n(D,M);break}else t(D,M);M=M.sibling}ae=Km(Se,D.mode,ae),ae.return=D,D=ae}return p(D);case fl:return Se=Ha(N._debugInfo),N=Kc(N),D=zt(D,M,N,ae),gt=Se,D}if(Ba(N))return Se=Ha(N._debugInfo),D=We(D,M,N,ae),gt=Se,D;if(_t(N)){if(Se=Ha(N._debugInfo),ot=_t(N),typeof ot!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ne=ot.call(N);return Ne===N?(D.tag!==0||Object.prototype.toString.call(D.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ne)!=="[object Generator]")&&(RT||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),RT=!0):N.entries!==ot||Bb||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bb=!0),D=ca(D,M,Ne,ae),gt=Se,D}if(typeof N.then=="function")return Se=Ha(N._debugInfo),D=zt(D,M,Wl(N),ae),gt=Se,D;if(N.$$typeof===Wn)return zt(D,M,Ts(D,N),ae);Vt(D,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(Se=""+N,M!==null&&M.tag===6?(n(D,M.sibling),ae=r(M,Se),ae.return=D,D=ae):(n(D,M),ae=Qm(Se,D.mode,ae),ae.return=D,ae._debugOwner=D,ae._debugTask=D._debugTask,ae._debugInfo=gt,D=ae),p(D)):(typeof N=="function"&&ma(D,N),typeof N=="symbol"&&Fo(D,N),n(D,M))}return function(D,M,N,ae){var Se=gt;gt=null;try{eg=0;var ot=zt(D,M,N,ae);return Wh=null,ot}catch(da){if(da===Wp||da===P0)throw da;var Ne=L(29,da,null,D.mode);Ne.lanes=ae,Ne.return=D;var rt=Ne._debugInfo=gt;if(Ne._debugOwner=D._debugOwner,Ne._debugTask=D._debugTask,rt!=null){for(var dt=rt.length-1;0<=dt;dt--)if(typeof rt[dt].stack=="string"){Ne._debugOwner=rt[dt],Ne._debugTask=rt[dt].debugTask;break}}return Ne}finally{gt=Se}}}function Ln(e){var t=e.alternate;Re(sn,sn.current&Ih,e),Re(Yi,e,e),xo===null&&(t===null||Kh.current!==null||t.memoizedState!==null)&&(xo=e)}function js(e){if(e.tag===22){if(Re(sn,sn.current,e),Re(Yi,e,e),xo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(xo=e)}}else Rl(e)}function Rl(e){Re(sn,sn.current,e),Re(Yi,Yi.current,e)}function qn(e){fe(Yi,e),xo===e&&(xo=null),fe(sn,e)}function Md(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===Er||co(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)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}function ya(e){if(e!==null&&typeof e!="function"){var t=String(e);YT.has(t)||(YT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Bs(e,t,n,u){var r=e.memoizedState,c=n(u,r);if(e.mode&In){$e(!0);try{c=n(u,r)}finally{$e(!1)}}c===void 0&&(t=it(t)||"Component",BT.has(t)||(BT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),r=c==null?r:Pe({},r,c),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}function Cd(e,t,n,u,r,c,p){var b=e.stateNode;if(typeof b.shouldComponentUpdate=="function"){if(n=b.shouldComponentUpdate(u,c,p),e.mode&In){$e(!0);try{n=b.shouldComponentUpdate(u,c,p)}finally{$e(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",it(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!vs(n,u)||!vs(r,c):!0}function my(e,t,n,u){var r=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,u),t.state!==r&&(e=Ae(e)||"Component",UT.has(e)||(UT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Vb.enqueueReplaceState(t,t.state,null))}function Fu(e,t){var n=t;if("ref"in t){n={};for(var u in t)u!=="ref"&&(n[u]=t[u])}if(e=e.defaultProps){n===t&&(n=Pe({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function e0(e){Lb(e),console.warn(`%s
|
|
208
208
|
|
|
209
209
|
%s
|
|
210
210
|
`,Ph?"An error occurred in the <"+Ph+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
@@ -213,12 +213,12 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
213
213
|
%s
|
|
214
214
|
|
|
215
215
|
%s
|
|
216
|
-
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Sx+e[0],Tx,Ev+u+Ev,xx):e.splice(0,0,Sx,Tx,Ev+u+Ev,xx),e.unshift(console),u=
|
|
216
|
+
`,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,Sx+e[0],Tx,Ev+u+Ev,xx):e.splice(0,0,Sx,Tx,Ev+u+Ev,xx),e.unshift(console),u=Nw.apply(console.error,e),u()}else console.error(`%o
|
|
217
217
|
|
|
218
218
|
%s
|
|
219
219
|
|
|
220
220
|
%s
|
|
221
|
-
`,e,t,n)}function Nd(e){Lb(e)}function hc(e,t){try{Ph=t.source?Ae(t.source):null,qb=null;var n=t.value;if(J.actQueue!==null)J.thrownErrors.push(n);else{var u=e.onUncaughtError;u(n,{componentStack:t.stack})}}catch(r){setTimeout(function(){throw r})}}function wn(e,t,n){try{Ph=n.source?Ae(n.source):null,qb=Ae(t);var u=e.onCaughtError;u(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ga(e,t,n){return n=Gl(n),n.tag=Db,n.payload={element:null},n.callback=function(){ke(t.source,hc,e,t)},n}function Vs(e){return e=Gl(e),e.tag=Db,e}function Po(e,t,n,u){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=u.value;e.payload=function(){return r(c)},e.callback=function(){sd(n),ke(u.source,wn,t,n,u)}}var p=n.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){sd(n),ke(u.source,wn,t,n,u),typeof r!="function"&&(Fc===null?Fc=new Set([this]):Fc.add(this)),
|
|
221
|
+
`,e,t,n)}function Nd(e){Lb(e)}function hc(e,t){try{Ph=t.source?Ae(t.source):null,qb=null;var n=t.value;if(J.actQueue!==null)J.thrownErrors.push(n);else{var u=e.onUncaughtError;u(n,{componentStack:t.stack})}}catch(r){setTimeout(function(){throw r})}}function wn(e,t,n){try{Ph=n.source?Ae(n.source):null,qb=Ae(t);var u=e.onCaughtError;u(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ga(e,t,n){return n=Gl(n),n.tag=Db,n.payload={element:null},n.callback=function(){ke(t.source,hc,e,t)},n}function Vs(e){return e=Gl(e),e.tag=Db,e}function Po(e,t,n,u){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=u.value;e.payload=function(){return r(c)},e.callback=function(){sd(n),ke(u.source,wn,t,n,u)}}var p=n.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){sd(n),ke(u.source,wn,t,n,u),typeof r!="function"&&(Fc===null?Fc=new Set([this]):Fc.add(this)),fw(this,u),typeof r=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ae(n)||"Unknown")})}function Hd(e,t,n,u,r){if(n.flags|=32768,Ul&&ur(e,r),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=n.alternate,t!==null&&eu(t,n,r,!0),kt&&(vr=!0),n=Yi.current,n!==null){switch(n.tag){case 13:return xo===null?$d():n.alternate===null&&Da===xr&&(Da=Xb),n.flags&=-257,n.flags|=65536,n.lanes=r,u===zb?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([u]):t.add(u),Wy(e,u,r)),!1;case 22:return n.flags|=65536,u===zb?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([u]):n.add(u)),Wy(e,u,r)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Wy(e,u,r),$d(),!1}if(kt)return vr=!0,t=Yi.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,u!==wb&&Kr(Un(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),n))):(u!==wb&&Kr(Un(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),n)),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,u=Un(u,n),r=ga(e.stateNode,u,r),au(e,r),Da!==Cf&&(Da=nm)),!1;var c=Un(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),n);if(rg===null?rg=[c]:rg.push(c),Da!==Cf&&(Da=nm),t===null)return!0;u=Un(u,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=ga(n.stateNode,u,e),au(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Fc===null||!Fc.has(c))))return n.flags|=65536,r&=-r,n.lanes|=r,r=Vs(r),Po(r,e,n,u),au(n,r),!1}n=n.return}while(n!==null);return!1}function ka(e,t,n,u){t.child=e===null?MT(t,null,n,u):Fh(t,e.child,n,u)}function Ei(e,t,n,u,r){n=n.render;var c=t.ref;if("ref"in u){var p={};for(var b in u)b!=="ref"&&(p[b]=u[b])}else p=u;return Yu(t),ha(t),u=Ir(e,t,n,p,c,r),b=nu(),Ia(),e!==null&&!gn?(Ql(e,t,r),_i(e,t,r)):(kt&&b&&hd(t),t.flags|=1,ka(e,t,u,r),t.child)}function Ls(e,t,n,u,r){if(e===null){var c=n.type;return typeof c=="function"&&!fd(c)&&c.defaultProps===void 0&&n.compare===null?(n=Vo(c),t.tag=15,t.type=n,Ys(t,c),kd(e,t,n,u,r)):(e=dd(n.type,null,u,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!_y(e,r)){var p=c.memoizedProps;if(n=n.compare,n=n!==null?n:vs,n(p,u)&&e.ref===t.ref)return _i(e,t,r)}return t.flags|=1,e=bi(c,u),e.ref=t.ref,e.return=t,t.child=e}function kd(e,t,n,u,r){if(e!==null){var c=e.memoizedProps;if(vs(c,u)&&e.ref===t.ref&&t.type===e.type)if(gn=!1,t.pendingProps=u=c,_y(e,r))(e.flags&131072)!==0&&(gn=!0);else return t.lanes=e.lanes,_i(e,t,r)}return Bd(e,t,n,u,r)}function jd(e,t,n){var u=t.pendingProps,r=u.children,c=e!==null?e.memoizedState:null;if(u.mode==="hidden"){if((t.flags&128)!==0){if(u=c!==null?c.baseLanes|n:n,e!==null){for(r=t.child=e.child,c=0;r!==null;)c=c|r.lanes|r.childLanes,r=r.sibling;t.childLanes=c&~u}else t.childLanes=0,t.child=null;return yy(e,t,u,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&vd(t,c!==null?c.cachePool:null),c!==null?Sd(t,c):Xl(t),js(t);else return t.lanes=t.childLanes=536870912,yy(e,t,c!==null?c.baseLanes|n:n,n)}else c!==null?(vd(t,c.cachePool),Sd(t,c),Rl(t),t.memoizedState=null):(e!==null&&vd(t,null),Xl(t),Rl(t));return ka(e,t,r,n),t.child}function yy(e,t,n,u){var r=ey();return r=r===null?null:{parent:rn._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&vd(t,null),Xl(t),js(t),e!==null&&eu(e,t,u,!0),null}function qs(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Bd(e,t,n,u,r){if(n.prototype&&typeof n.prototype.render=="function"){var c=it(n)||"Unknown";ZT[c]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",c,c),ZT[c]=!0)}return t.mode&In&&zu.recordLegacyContextWarning(t,null),e===null&&(Ys(t,t.type),n.contextTypes&&(c=it(n)||"Unknown",QT[c]||(QT[c]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",c)))),Yu(t),ha(t),n=Ir(e,t,n,u,void 0,r),u=nu(),Ia(),e!==null&&!gn?(Ql(e,t,r),_i(e,t,r)):(kt&&u&&hd(t),t.flags|=1,ka(e,t,n,r),t.child)}function py(e,t,n,u,r,c){return Yu(t),ha(t),Sr=-1,Pp=e!==null&&e.type!==t.type,t.updateQueue=null,n=jn(t,u,n,r),_s(e,t),u=nu(),Ia(),e!==null&&!gn?(Ql(e,t,c),_i(e,t,c)):(kt&&u&&hd(t),t.flags|=1,ka(e,t,n,c),t.child)}function gy(e,t,n,u,r){switch(A(t)){case!1:var c=t.stateNode,p=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,p,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var b=r&-r;if(t.lanes|=b,p=ra,p===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");b=Vs(b),Po(b,p,t,Un(c,t)),au(t,b)}if(Yu(t),t.stateNode===null){if(p=Zc,c=n.contextType,"contextType"in n&&c!==null&&(c===void 0||c.$$typeof!==Wn)&&!qT.has(n)&&(qT.add(n),b=c===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof c!="object"?" However, it is set to a "+typeof c+".":c.$$typeof===ff?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",it(n)||"Component",b)),typeof c=="object"&&c!==null&&(p=la(c)),c=new n(u,p),t.mode&In){$e(!0);try{c=new n(u,p)}finally{$e(!1)}}if(p=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Vb,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=CT,typeof n.getDerivedStateFromProps=="function"&&p===null&&(p=it(n)||"Component",NT.has(p)||(NT.add(p),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",p,c.state===null?"null":"undefined",p))),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"){var E=b=p=null;if(typeof c.componentWillMount=="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?p="componentWillMount":typeof c.UNSAFE_componentWillMount=="function"&&(p="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?b="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps=="function"&&(b="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate=="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),p!==null||b!==null||E!==null){c=it(n)||"Component";var R=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kT.has(c)||(kT.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
222
222
|
|
|
223
223
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
224
224
|
|
|
@@ -227,7 +227,7 @@ https://react.dev/link/unsafe-component-lifecycles`,c,R,p!==null?`
|
|
|
227
227
|
`+p:"",b!==null?`
|
|
228
228
|
`+b:"",E!==null?`
|
|
229
229
|
`+E:""))}}c=t.stateNode,p=it(n)||"Component",c.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",p):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",p)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",p),c.getDefaultProps&&!c.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",p),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),n.childContextTypes&&!LT.has(n)&&(LT.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",p)),n.contextTypes&&!VT.has(n)&&(VT.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",p)),typeof c.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",p),n.prototype&&n.prototype.isPureReactComponent&&typeof c.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",it(n)||"A pure component"),typeof c.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof c.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",p),typeof c.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof c.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p),b=c.props!==u,c.props!==void 0&&b&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p),c.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",p,p),typeof c.getSnapshotBeforeUpdate!="function"||typeof c.componentDidUpdate=="function"||HT.has(n)||(HT.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",it(n))),typeof c.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof c.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p),(b=c.state)&&(typeof b!="object"||Ba(b))&&console.error("%s.state: must be set to an object or null",p),typeof c.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p),c=t.stateNode,c.props=u,c.state=t.memoizedState,c.refs={},Zu(t),p=n.contextType,c.context=typeof p=="object"&&p!==null?la(p):Zc,c.state===u&&(p=it(n)||"Component",jT.has(p)||(jT.add(p),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",p))),t.mode&In&&zu.recordLegacyContextWarning(t,c),zu.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,p=n.getDerivedStateFromProps,typeof p=="function"&&(Bs(t,n,p,u),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ae(t)||"Component"),Vb.enqueueReplaceState(c,c.state,null)),Xu(t,u,c,r),Wr(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),c=!0}else if(e===null){c=t.stateNode;var $=t.memoizedProps;b=Fu(n,$),c.props=b;var P=c.context;E=n.contextType,p=Zc,typeof E=="object"&&E!==null&&(p=la(E)),R=n.getDerivedStateFromProps,E=typeof R=="function"||typeof c.getSnapshotBeforeUpdate=="function",$=t.pendingProps!==$,E||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||($||P!==p)&&my(t,c,u,p),Xc=!1;var K=t.memoizedState;c.state=K,Xu(t,u,c,r),Wr(),P=t.memoizedState,$||K!==P||Xc?(typeof R=="function"&&(Bs(t,n,R,u),P=t.memoizedState),(b=Xc||Cd(t,n,b,u,K,P,p))?(E||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),t.memoizedProps=u,t.memoizedState=P),c.props=u,c.state=P,c.context=p,c=b):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Ou)!==fa&&(t.flags|=134217728),c=!1)}else{c=t.stateNode,Es(e,t),p=t.memoizedProps,E=Fu(n,p),c.props=E,R=t.pendingProps,K=c.context,P=n.contextType,b=Zc,typeof P=="object"&&P!==null&&(b=la(P)),$=n.getDerivedStateFromProps,(P=typeof $=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==R||K!==b)&&my(t,c,u,b),Xc=!1,K=t.memoizedState,c.state=K,Xu(t,u,c,r),Wr();var te=t.memoizedState;p!==R||K!==te||Xc||e!==null&&e.dependencies!==null&&Ss(e.dependencies)?(typeof $=="function"&&(Bs(t,n,$,u),te=t.memoizedState),(E=Xc||Cd(t,n,E,u,K,te,b)||e!==null&&e.dependencies!==null&&Ss(e.dependencies))?(P||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(u,te,b),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(u,te,b)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=te),c.props=u,c.state=te,c.context=b,c=E):(typeof c.componentDidUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&K===e.memoizedState||(t.flags|=1024),c=!1)}if(b=c,qs(e,t),p=(t.flags&128)!==0,b||p){if(b=t.stateNode,ku(t),p&&typeof n.getDerivedStateFromError!="function")n=null,Nl=-1;else{if(ha(t),n=gT(b),t.mode&In){$e(!0);try{gT(b)}finally{$e(!1)}}Ia()}t.flags|=1,e!==null&&p?(t.child=Fh(t,e.child,null,r),t.child=Fh(t,null,n,r)):ka(e,t,n,r),t.memoizedState=b.state,e=t.child}else e=_i(e,t,r);return r=t.stateNode,c&&r.props!==u&&(em||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ae(t)||"a component"),em=!0),e}function vy(e,t,n,u){return Qr(),t.flags|=256,ka(e,t,n,u),t.child}function Ys(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
230
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=it(t)||"Unknown",KT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),KT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=it(t)||"Unknown",XT[t]||(console.error("%s: Function components do not support contextType.",t),XT[t]=!0))}function Vd(e){return{baseLanes:e,cachePool:ty()}}function by(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=di),e}function Sy(e,t,n){var u,r=t.pendingProps;_(t)&&(t.flags|=128);var c=!1,p=(t.flags&128)!==0;if((u=p)||(u=e!==null&&e.memoizedState===null?!1:(sn.current&tg)!==0),u&&(c=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(kt){if(c?Ln(t):Rl(t),kt){var b=za,E;if(!(E=!b)){e:{var R=b;for(E=So;R.nodeType!==8;){if(!E){E=null;break e}if(R=Jn(R.nextSibling),R===null){E=null;break e}}E=R}E!==null?(ql(),t.memoizedState={dehydrated:E,treeContext:wf!==null?{id:pr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},R=L(18,null,null,fa),R.stateNode=E,R.return=t,t.child=R,ml=t,za=null,E=!0):E=!1,E=!E}E&&(Xr(t,b),Lu(t))}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return co(b)?t.lanes=32:t.lanes=536870912,null;qn(t)}return b=r.children,r=r.fallback,c?(Rl(t),c=t.mode,b=Gs({mode:"hidden",children:b},c),r=El(r,c,n,null),b.return=t,r.return=t,b.sibling=r,t.child=b,c=t.child,c.memoizedState=Vd(n),c.childLanes=by(e,u,n),t.memoizedState=Gb,r):(Ln(t),Ld(t,b))}var $=e.memoizedState;if($!==null&&(b=$.dehydrated,b!==null)){if(p)t.flags&256?(Ln(t),t.flags&=-257,t=Zs(e,t,n)):t.memoizedState!==null?(Rl(t),t.child=e.child,t.flags|=128,t=null):(Rl(t),c=r.fallback,b=t.mode,r=Gs({mode:"visible",children:r.children},b),c=El(c,b,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fh(t,e.child,null,n),r=t.child,r.memoizedState=Vd(n),r.childLanes=by(e,u,n),t.memoizedState=Gb,t=c);else if(Ln(t),kt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),co(b)){if(u=b.nextSibling&&b.nextSibling.dataset,u){E=u.dgst;var P=u.msg;R=u.stck;var K=u.cstck}b=P,u=E,r=R,E=c=K,c=Error(b||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),c.stack=r||"",c.digest=u,u=E===void 0?null:E,r={value:c,source:null,stack:u},typeof u=="string"&&Eb.set(c,r),Kr(r),t=Zs(e,t,n)}else if(gn||eu(e,t,n,!1),u=(n&e.childLanes)!==0,gn||u){if(u=ra,u!==null&&(r=n&-n,r=(r&42)!==0?1:pt(r),r=(r&(u.suspendedLanes|n))!==0?0:r,r!==0&&r!==$.retryLane))throw $.retryLane=r,Nn(e,r),bt(u,e,r),GT;b.data===Er||$d(),t=Zs(e,t,n)}else b.data===Er?(t.flags|=192,t.child=e.child,t=null):(e=$.treeContext,za=Jn(b.nextSibling),ml=t,kt=!0,Af=null,vr=!1,Bi=null,So=!1,e!==null&&(ql(),ki[ji++]=pr,ki[ji++]=gr,ki[ji++]=wf,pr=e.id,gr=e.overflow,wf=t),t=Ld(t,r.children),t.flags|=4096);return t}return c?(Rl(t),c=r.fallback,b=t.mode,E=e.child,R=E.sibling,r=bi(E,{mode:"hidden",children:r.children}),r.subtreeFlags=E.subtreeFlags&65011712,R!==null?c=bi(R,c):(c=El(c,b,n,null),c.flags|=2),c.return=t,r.return=t,r.sibling=c,t.child=r,r=c,c=t.child,b=e.child.memoizedState,b===null?b=Vd(n):(E=b.cachePool,E!==null?(R=rn._currentValue,E=E.parent!==R?{parent:R,pool:R}:E):E=ty(),b={baseLanes:b.baseLanes|n,cachePool:E}),c.memoizedState=b,c.childLanes=by(e,u,n),t.memoizedState=Gb,r):(Ln(t),n=e.child,e=n.sibling,n=bi(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n)}function Ld(e,t){return t=Gs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Gs(e,t){return e=L(22,e,null,t),e.lanes=0,e.stateNode={_visibility:X0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Zs(e,t,n){return Fh(t,e.child,null,n),e=Ld(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ty(e,t,n){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Fm(e.return,t,n)}function xy(e,t){var n=Ba(e);return e=!n&&typeof _t(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function qd(e,t,n,u,r){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=u,c.tail=n,c.tailMode=r)}function Ey(e,t,n){var u=t.pendingProps,r=u.revealOrder,c=u.tail;if(u=u.children,r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!JT[r])if(JT[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);c===void 0||Yb[c]||(c!=="collapsed"&&c!=="hidden"?(Yb[c]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',c)):r!=="forwards"&&r!=="backwards"&&(Yb[c]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((r==="forwards"||r==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(Ba(u)){for(var p=0;p<u.length;p++)if(!xy(u[p],p))break e}else if(p=_t(u),typeof p=="function"){if(p=p.call(u))for(var b=p.next(),E=0;!b.done;b=p.next()){if(!xy(b.value,E))break e;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',r);if(ka(e,t,u,n),u=sn.current,(u&tg)!==0)u=u&Ih|tg,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ty(e,n,t);else if(e.tag===19)Ty(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}u&=Ih}switch(Re(sn,u,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Md(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),qd(t,!1,r,n,c);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Md(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}qd(t,!0,n,null,c);break;case"together":qd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function _i(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nl=-1,$c|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(eu(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=bi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=bi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _y(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ss(e)))}function t0(e,t,n){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),qu(t,rn,e.memoizedState.cache),Qr();break;case 27:case 5:re(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:qu(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ln(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Sy(e,t,n):(Ln(t),e=_i(e,t,n),e!==null?e.sibling:null);Ln(t);break;case 19:var r=(e.flags&128)!==0;if(u=(n&t.childLanes)!==0,u||(eu(e,t,n,!1),u=(n&t.childLanes)!==0),r){if(u)return Ey(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Re(sn,sn.current,t),u)break;return null;case 22:case 23:return t.lanes=0,jd(e,t,n);case 24:qu(t,rn,e.memoizedState.cache)}return _i(e,t,n)}function Iu(e,t,n){if(t._debugNeedsRemount&&e!==null){n=dd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===u.child)u.child=n;else{var r=u.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=n}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)gn=!0;else{if(!_y(e,n)&&(t.flags&128)===0)return gn=!1,t0(e,t,n);gn=(e.flags&131072)!==0}else gn=!1,(u=kt)&&(ql(),u=(t.flags&1048576)!==0),u&&(u=t.index,ql(),Jm(t,K0,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Kc(t.elementType),t.type=e,typeof e=="function")fd(e)?(u=Fu(e,u),t.tag=1,t.type=e=Vo(e),t=gy(null,t,e,u,n)):(t.tag=0,Ys(t,e),t.type=e=Vo(e),t=Bd(null,t,e,u,n));else{if(e!=null){if(r=e.$$typeof,r===mo){t.tag=11,t.type=e=Zm(e),t=Ei(null,t,e,u,n);break e}else if(r===Th){t.tag=14,t=Ls(null,t,e,u,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===fl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=it(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Bd(e,t,t.type,t.pendingProps,n);case 1:return u=t.type,r=Fu(u,t.pendingProps),gy(e,t,u,r,n);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var c=t.memoizedState;r=c.element,Es(e,t),Xu(t,u,null,n);var p=t.memoizedState;if(u=p.cache,qu(t,rn,u),u!==c.cache&&En(t,[rn],n,!0),Wr(),u=p.element,c.isDehydrated)if(c={element:u,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=vy(e,t,u,n);break e}else if(u!==r){r=Un(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Kr(r),t=vy(e,t,u,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(za=Jn(e.firstChild),ml=t,kt=!0,Af=null,vr=!1,Bi=null,So=!0,e=MT(t,null,u,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Qr(),u===r){t=_i(e,t,n);break e}ka(e,t,u,n)}t=t.child}return t;case 26:return qs(e,t),e===null?(e=nf(t.type,null,t.pendingProps,null))?t.memoizedState=e:kt||(e=t.type,n=t.pendingProps,u=Ke(Ri.current),u=Nt(u).createElement(e),u[pn]=t,u[Fn]=n,Qa(u,e,n),B(u),t.stateNode=u):t.memoizedState=nf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return re(t),e===null&&kt&&(u=Ke(Ri.current),r=Z(),u=t.stateNode=$n(t.type,t.pendingProps,u,r,!1),vr||(r=Tt(u,t.type,t.pendingProps,r),r!==null&&(Go(t,0).serverProps=r)),ml=t,So=!0,r=za,ja(t.type)?(d1=r,za=Jn(u.firstChild)):za=r),ka(e,t,t.pendingProps.children,n),qs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&kt&&(c=Z(),u=ed(t.type,c.ancestorInfo),r=za,(p=!r)||(p=nn(r,t.type,t.pendingProps,So),p!==null?(t.stateNode=p,vr||(c=Tt(p,t.type,t.pendingProps,c),c!==null&&(Go(t,0).serverProps=c)),ml=t,za=Jn(p.firstChild),So=!1,c=!0):c=!1,p=!c),p&&(u&&Xr(t,r),Lu(t))),re(t),r=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,u=c.children,io(r,c)?u=null:p!==null&&io(r,p)&&(t.flags|=32),t.memoizedState!==null&&(r=Ir(e,t,wl,null,null,n),pg._currentValue=r),qs(e,t),ka(e,t,u,n),t.child;case 6:return e===null&&kt&&(e=t.pendingProps,n=Z(),u=n.ancestorInfo.current,e=u!=null?qr(e,u.tag,n.ancestorInfo.implicitRootScope):!0,n=za,(u=!n)||(u=ro(n,t.pendingProps,So),u!==null?(t.stateNode=u,ml=t,za=null,u=!0):u=!1,u=!u),u&&(e&&Xr(t,n),Lu(t))),null;case 13:return Sy(e,t,n);case 4:return Je(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=Fh(t,null,u,n):ka(e,t,u,n),t.child;case 11:return Ei(e,t,t.type,t.pendingProps,n);case 7:return ka(e,t,t.pendingProps,n),t.child;case 8:return ka(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,ka(e,t,t.pendingProps.children,n),t.child;case 10:return u=t.type,r=t.pendingProps,c=r.value,"value"in r||$T||($T=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),qu(t,u,c),ka(e,t,r.children,n),t.child;case 9:return r=t.type._context,u=t.pendingProps.children,typeof u!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Yu(t),r=la(r),ha(t),u=kb(u,r,void 0),Ia(),t.flags|=1,ka(e,t,u,n),t.child;case 14:return Ls(e,t,t.type,t.pendingProps,n);case 15:return kd(e,t,t.type,t.pendingProps,n);case 19:return Ey(e,t,n);case 31:return u=t.pendingProps,n=t.mode,u={mode:u.mode,children:u.children},e===null?(e=Gs(u,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=bi(e.child,u),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return jd(e,t,n);case 24:return Yu(t),u=la(rn),e===null?(r=ey(),r===null&&(r=ra,c=Im(),r.pooledCache=c,_l(c),c!==null&&(r.pooledCacheLanes|=n),r=c),t.memoizedState={parent:u,cache:r},Zu(t),qu(t,rn,r)):((e.lanes&n)!==0&&(Es(e,t),Xu(t,null,null,n),Wr()),r=e.memoizedState,c=t.memoizedState,r.parent!==u?(r={parent:u,cache:u},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),qu(t,rn,u)):(u=c.cache,qu(t,rn,u),u!==r.cache&&En(t,[rn],n,!0))),ka(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ol(e){e.flags|=4}function wy(e,t){if(t.type!=="stylesheet"||(t.state.loading&Gi)!==qf)e.flags&=-16777217;else if(e.flags|=16777216,!hp(t)){if(t=Yi.current,t!==null&&((At&4194048)===At?xo!==null:(At&62914560)!==At&&(At&536870912)===0||t!==xo))throw Fp=zb,iT;e.flags|=8192}}function er(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ne():536870912,e.lanes|=t,Hf|=t)}function su(e,t){if(!kt)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 u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,u=0;if(t)if((e.mode&Rn)!==fa){for(var r=e.selfBaseDuration,c=e.child;c!==null;)n|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,r+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=r}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags&65011712,u|=r.flags&65011712,r.return=e,r=r.sibling;else if((e.mode&Rn)!==fa){r=e.actualDuration,c=e.selfBaseDuration;for(var p=e.child;p!==null;)n|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,r+=p.actualDuration,c+=p.treeBaseDuration,p=p.sibling;e.actualDuration=r,e.treeBaseDuration=c}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function a0(e,t,n){var u=t.pendingProps;switch(Yo(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ia(t),null;case 1:return ia(t),null;case 3:return n=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Pi(rn,t),W(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Zo(t)?(Fg(),Ol(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Wm())),ia(t),null;case 26:return n=t.memoizedState,e===null?(Ol(t),n!==null?(ia(t),wy(t,n)):(ia(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Ol(t),ia(t),wy(t,n)):(ia(t),t.flags&=-16777217):(e.memoizedProps!==u&&Ol(t),ia(t),t.flags&=-16777217),null;case 27:ve(t),n=Ke(Ri.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ia(t),null}e=Z(),Zo(t)?$m(t):(e=$n(r,u,n,e,!0),t.stateNode=e,Ol(t))}return ia(t),null;case 5:if(ve(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ia(t),null}if(r=Z(),Zo(t))$m(t);else{switch(e=Ke(Ri.current),ed(n,r.ancestorInfo),r=r.context,e=Nt(e),r){case cm:e=e.createElementNS(Ru,n);break;case Sv:e=e.createElementNS(Uh,n);break;default:switch(n){case"svg":e=e.createElementNS(Ru,n);break;case"math":e=e.createElementNS(Uh,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?e.createElement("select",{is:u.is}):e.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?e.createElement(n,{is:u.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Oi.call(mx,n)||(mx[n]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",n)))}}e[pn]=t,e[Fn]=u;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Qa(e,n,u),n){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ol(t)}}return ia(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Ke(Ri.current),n=Z(),Zo(t)){e=t.stateNode,n=t.memoizedProps,r=!vr,u=null;var c=ml;if(c!==null)switch(c.tag){case 3:r&&(r=cp(e,n,u),r!==null&&(Go(t,0).serverProps=r));break;case 27:case 5:u=c.memoizedProps,r&&(r=cp(e,n,u),r!==null&&(Go(t,0).serverProps=r))}e[pn]=t,e=!!(e.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||rr(e.nodeValue,n)),e||Lu(t)}else r=n.ancestorInfo.current,r!=null&&qr(u,r.tag,n.ancestorInfo.implicitRootScope),e=Nt(e).createTextNode(u),e[pn]=t,t.stateNode=e}return ia(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Zo(t),u!==null&&u.dehydrated!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[pn]=t,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else Fg(),Qr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=Wm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(qn(t),t):(qn(t),null)}return qn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Rn)!==fa&&xs(t),t):(n=u!==null,e=e!==null&&e.memoizedState!==null,n&&(u=t.child,r=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(r=u.alternate.memoizedState.cachePool.pool),c=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool),c!==r&&(u.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),er(t,t.updateQueue),ia(t),(t.mode&Rn)!==fa&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return W(t),e===null&&ef(t.stateNode.containerInfo),ia(t),null;case 10:return Pi(t.type,t),ia(t),null;case 19:if(fe(sn,t),r=t.memoizedState,r===null)return ia(t),null;if(u=(t.flags&128)!==0,c=r.rendering,c===null)if(u)su(r,!1);else{if(Da!==xr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Md(e),c!==null){for(t.flags|=128,su(r,!1),e=c.updateQueue,t.updateQueue=e,er(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Xm(n,e),n=n.sibling;return Re(sn,sn.current&Ih|tg,t),t.child}e=e.sibling}r.tail!==null&&ln()>rv&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304)}else{if(!u)if(e=Md(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,er(t,e),su(r,!0),r.tail===null&&r.tailMode==="hidden"&&!c.alternate&&!kt)return ia(t),null}else 2*ln()-r.renderingStartTime>rv&&n!==536870912&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304);r.isBackwards?(c.sibling=t.child,t.child=c):(e=r.last,e!==null?e.sibling=c:t.child=c,r.last=c)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ln(),e.sibling=null,n=sn.current,n=u?n&Ih|tg:n&Ih,Re(sn,n,t),e):(ia(t),null);case 22:case 23:return qn(t),Td(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(n&536870912)!==0&&(t.flags&128)===0&&(ia(t),t.subtreeFlags&6&&(t.flags|=8192)):ia(t),n=t.updateQueue,n!==null&&er(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==n&&(t.flags|=2048),e!==null&&fe(zf,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Pi(rn,t),ia(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function n0(e,t){switch(Yo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 3:return Pi(rn,t),W(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 13:if(qn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 19:return fe(sn,t),null;case 4:return W(t),null;case 10:return Pi(t.type,t),null;case 22:case 23:return qn(t),Td(t),e!==null&&fe(zf,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 24:return Pi(rn,t),null;case 25:return null;default:return null}}function Ay(e,t){switch(Yo(t),t.tag){case 3:Pi(rn,t),W(t);break;case 26:case 27:case 5:ve(t);break;case 4:W(t);break;case 13:qn(t);break;case 19:fe(sn,t);break;case 10:Pi(t.type,t);break;case 22:case 23:qn(t),Td(t),e!==null&&fe(zf,t);break;case 24:Pi(rn,t)}}function Fl(e){return(e.mode&Rn)!==fa}function Ry(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Xs(e,t,n){Fl(e)?(hn(),tr(n,e,t),Yl()):tr(n,e,t)}function mc(e,t){try{var n=t.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var r=u.next;n=r;do{if((n.tag&e)===e&&((e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStarted=="function"&&Ee.markComponentPassiveEffectMountStarted(t):(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStarted=="function"&&Ee.markComponentLayoutEffectMountStarted(t),u=void 0,(e&yl)!==Vi&&(om=!0),u=ke(t,d4,n),(e&yl)!==Vi&&(om=!1),(e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStopped=="function"&&Ee.markComponentPassiveEffectMountStopped():(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStopped=="function"&&Ee.markComponentLayoutEffectMountStopped(),u!==void 0&&typeof u!="function")){var c=void 0;c=(n.tag&On)!==0?"useLayoutEffect":(n.tag&yl)!==0?"useInsertionEffect":"useEffect";var p=void 0;p=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
|
|
230
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=it(t)||"Unknown",KT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),KT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=it(t)||"Unknown",XT[t]||(console.error("%s: Function components do not support contextType.",t),XT[t]=!0))}function Vd(e){return{baseLanes:e,cachePool:ty()}}function by(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=di),e}function Sy(e,t,n){var u,r=t.pendingProps;_(t)&&(t.flags|=128);var c=!1,p=(t.flags&128)!==0;if((u=p)||(u=e!==null&&e.memoizedState===null?!1:(sn.current&tg)!==0),u&&(c=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(kt){if(c?Ln(t):Rl(t),kt){var b=za,E;if(!(E=!b)){e:{var R=b;for(E=So;R.nodeType!==8;){if(!E){E=null;break e}if(R=Jn(R.nextSibling),R===null){E=null;break e}}E=R}E!==null?(ql(),t.memoizedState={dehydrated:E,treeContext:wf!==null?{id:pr,overflow:gr}:null,retryLane:536870912,hydrationErrors:null},R=L(18,null,null,fa),R.stateNode=E,R.return=t,t.child=R,ml=t,za=null,E=!0):E=!1,E=!E}E&&(Xr(t,b),Lu(t))}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return co(b)?t.lanes=32:t.lanes=536870912,null;qn(t)}return b=r.children,r=r.fallback,c?(Rl(t),c=t.mode,b=Gs({mode:"hidden",children:b},c),r=El(r,c,n,null),b.return=t,r.return=t,b.sibling=r,t.child=b,c=t.child,c.memoizedState=Vd(n),c.childLanes=by(e,u,n),t.memoizedState=Gb,r):(Ln(t),Ld(t,b))}var $=e.memoizedState;if($!==null&&(b=$.dehydrated,b!==null)){if(p)t.flags&256?(Ln(t),t.flags&=-257,t=Zs(e,t,n)):t.memoizedState!==null?(Rl(t),t.child=e.child,t.flags|=128,t=null):(Rl(t),c=r.fallback,b=t.mode,r=Gs({mode:"visible",children:r.children},b),c=El(c,b,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Fh(t,e.child,null,n),r=t.child,r.memoizedState=Vd(n),r.childLanes=by(e,u,n),t.memoizedState=Gb,t=c);else if(Ln(t),kt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),co(b)){if(u=b.nextSibling&&b.nextSibling.dataset,u){E=u.dgst;var P=u.msg;R=u.stck;var K=u.cstck}b=P,u=E,r=R,E=c=K,c=Error(b||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),c.stack=r||"",c.digest=u,u=E===void 0?null:E,r={value:c,source:null,stack:u},typeof u=="string"&&Eb.set(c,r),Kr(r),t=Zs(e,t,n)}else if(gn||eu(e,t,n,!1),u=(n&e.childLanes)!==0,gn||u){if(u=ra,u!==null&&(r=n&-n,r=(r&42)!==0?1:pt(r),r=(r&(u.suspendedLanes|n))!==0?0:r,r!==0&&r!==$.retryLane))throw $.retryLane=r,Nn(e,r),bt(u,e,r),GT;b.data===Er||$d(),t=Zs(e,t,n)}else b.data===Er?(t.flags|=192,t.child=e.child,t=null):(e=$.treeContext,za=Jn(b.nextSibling),ml=t,kt=!0,Af=null,vr=!1,Bi=null,So=!1,e!==null&&(ql(),ki[ji++]=pr,ki[ji++]=gr,ki[ji++]=wf,pr=e.id,gr=e.overflow,wf=t),t=Ld(t,r.children),t.flags|=4096);return t}return c?(Rl(t),c=r.fallback,b=t.mode,E=e.child,R=E.sibling,r=bi(E,{mode:"hidden",children:r.children}),r.subtreeFlags=E.subtreeFlags&65011712,R!==null?c=bi(R,c):(c=El(c,b,n,null),c.flags|=2),c.return=t,r.return=t,r.sibling=c,t.child=r,r=c,c=t.child,b=e.child.memoizedState,b===null?b=Vd(n):(E=b.cachePool,E!==null?(R=rn._currentValue,E=E.parent!==R?{parent:R,pool:R}:E):E=ty(),b={baseLanes:b.baseLanes|n,cachePool:E}),c.memoizedState=b,c.childLanes=by(e,u,n),t.memoizedState=Gb,r):(Ln(t),n=e.child,e=n.sibling,n=bi(n,{mode:"visible",children:r.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n)}function Ld(e,t){return t=Gs({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Gs(e,t){return e=L(22,e,null,t),e.lanes=0,e.stateNode={_visibility:X0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Zs(e,t,n){return Fh(t,e.child,null,n),e=Ld(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ty(e,t,n){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Fm(e.return,t,n)}function xy(e,t){var n=Ba(e);return e=!n&&typeof _t(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function qd(e,t,n,u,r){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:n,tailMode:r}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=u,c.tail=n,c.tailMode=r)}function Ey(e,t,n){var u=t.pendingProps,r=u.revealOrder,c=u.tail;if(u=u.children,r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!JT[r])if(JT[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',r,r.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);c===void 0||Yb[c]||(c!=="collapsed"&&c!=="hidden"?(Yb[c]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',c)):r!=="forwards"&&r!=="backwards"&&(Yb[c]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((r==="forwards"||r==="backwards")&&u!==void 0&&u!==null&&u!==!1)if(Ba(u)){for(var p=0;p<u.length;p++)if(!xy(u[p],p))break e}else if(p=_t(u),typeof p=="function"){if(p=p.call(u))for(var b=p.next(),E=0;!b.done;b=p.next()){if(!xy(b.value,E))break e;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',r);if(ka(e,t,u,n),u=sn.current,(u&tg)!==0)u=u&Ih|tg,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ty(e,n,t);else if(e.tag===19)Ty(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}u&=Ih}switch(Re(sn,u,t),r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&Md(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),qd(t,!1,r,n,c);break;case"backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&Md(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}qd(t,!0,n,null,c);break;case"together":qd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function _i(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Nl=-1,$c|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(eu(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=bi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=bi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _y(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ss(e)))}function t0(e,t,n){switch(t.tag){case 3:Je(t,t.stateNode.containerInfo),qu(t,rn,e.memoizedState.cache),Qr();break;case 27:case 5:re(t);break;case 4:Je(t,t.stateNode.containerInfo);break;case 10:qu(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ln(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Sy(e,t,n):(Ln(t),e=_i(e,t,n),e!==null?e.sibling:null);Ln(t);break;case 19:var r=(e.flags&128)!==0;if(u=(n&t.childLanes)!==0,u||(eu(e,t,n,!1),u=(n&t.childLanes)!==0),r){if(u)return Ey(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Re(sn,sn.current,t),u)break;return null;case 22:case 23:return t.lanes=0,jd(e,t,n);case 24:qu(t,rn,e.memoizedState.cache)}return _i(e,t,n)}function Iu(e,t,n){if(t._debugNeedsRemount&&e!==null){n=dd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===u.child)u.child=n;else{var r=u.child;if(r===null)throw Error("Expected parent to have a child.");for(;r.sibling!==t;)if(r=r.sibling,r===null)throw Error("Expected to find the previous sibling.");r.sibling=n}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)gn=!0;else{if(!_y(e,n)&&(t.flags&128)===0)return gn=!1,t0(e,t,n);gn=(e.flags&131072)!==0}else gn=!1,(u=kt)&&(ql(),u=(t.flags&1048576)!==0),u&&(u=t.index,ql(),Jm(t,K0,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=Kc(t.elementType),t.type=e,typeof e=="function")fd(e)?(u=Fu(e,u),t.tag=1,t.type=e=Vo(e),t=gy(null,t,e,u,n)):(t.tag=0,Ys(t,e),t.type=e=Vo(e),t=Bd(null,t,e,u,n));else{if(e!=null){if(r=e.$$typeof,r===mo){t.tag=11,t.type=e=Zm(e),t=Ei(null,t,e,u,n);break e}else if(r===Th){t.tag=14,t=Ls(null,t,e,u,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===fl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=it(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Bd(e,t,t.type,t.pendingProps,n);case 1:return u=t.type,r=Fu(u,t.pendingProps),gy(e,t,u,r,n);case 3:e:{if(Je(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var c=t.memoizedState;r=c.element,Es(e,t),Xu(t,u,null,n);var p=t.memoizedState;if(u=p.cache,qu(t,rn,u),u!==c.cache&&En(t,[rn],n,!0),Wr(),u=p.element,c.isDehydrated)if(c={element:u,isDehydrated:!1,cache:p.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=vy(e,t,u,n);break e}else if(u!==r){r=Un(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Kr(r),t=vy(e,t,u,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(za=Jn(e.firstChild),ml=t,kt=!0,Af=null,vr=!1,Bi=null,So=!0,e=MT(t,null,u,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Qr(),u===r){t=_i(e,t,n);break e}ka(e,t,u,n)}t=t.child}return t;case 26:return qs(e,t),e===null?(e=nf(t.type,null,t.pendingProps,null))?t.memoizedState=e:kt||(e=t.type,n=t.pendingProps,u=Ke(Ri.current),u=Nt(u).createElement(e),u[pn]=t,u[Fn]=n,Qa(u,e,n),B(u),t.stateNode=u):t.memoizedState=nf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return re(t),e===null&&kt&&(u=Ke(Ri.current),r=Z(),u=t.stateNode=$n(t.type,t.pendingProps,u,r,!1),vr||(r=Tt(u,t.type,t.pendingProps,r),r!==null&&(Go(t,0).serverProps=r)),ml=t,So=!0,r=za,ja(t.type)?(d1=r,za=Jn(u.firstChild)):za=r),ka(e,t,t.pendingProps.children,n),qs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&kt&&(c=Z(),u=ed(t.type,c.ancestorInfo),r=za,(p=!r)||(p=nn(r,t.type,t.pendingProps,So),p!==null?(t.stateNode=p,vr||(c=Tt(p,t.type,t.pendingProps,c),c!==null&&(Go(t,0).serverProps=c)),ml=t,za=Jn(p.firstChild),So=!1,c=!0):c=!1,p=!c),p&&(u&&Xr(t,r),Lu(t))),re(t),r=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,u=c.children,io(r,c)?u=null:p!==null&&io(r,p)&&(t.flags|=32),t.memoizedState!==null&&(r=Ir(e,t,wl,null,null,n),pg._currentValue=r),qs(e,t),ka(e,t,u,n),t.child;case 6:return e===null&&kt&&(e=t.pendingProps,n=Z(),u=n.ancestorInfo.current,e=u!=null?qr(e,u.tag,n.ancestorInfo.implicitRootScope):!0,n=za,(u=!n)||(u=ro(n,t.pendingProps,So),u!==null?(t.stateNode=u,ml=t,za=null,u=!0):u=!1,u=!u),u&&(e&&Xr(t,n),Lu(t))),null;case 13:return Sy(e,t,n);case 4:return Je(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=Fh(t,null,u,n):ka(e,t,u,n),t.child;case 11:return Ei(e,t,t.type,t.pendingProps,n);case 7:return ka(e,t,t.pendingProps,n),t.child;case 8:return ka(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,ka(e,t,t.pendingProps.children,n),t.child;case 10:return u=t.type,r=t.pendingProps,c=r.value,"value"in r||$T||($T=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),qu(t,u,c),ka(e,t,r.children,n),t.child;case 9:return r=t.type._context,u=t.pendingProps.children,typeof u!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Yu(t),r=la(r),ha(t),u=kb(u,r,void 0),Ia(),t.flags|=1,ka(e,t,u,n),t.child;case 14:return Ls(e,t,t.type,t.pendingProps,n);case 15:return kd(e,t,t.type,t.pendingProps,n);case 19:return Ey(e,t,n);case 31:return u=t.pendingProps,n=t.mode,u={mode:u.mode,children:u.children},e===null?(e=Gs(u,n),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=bi(e.child,u),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return jd(e,t,n);case 24:return Yu(t),u=la(rn),e===null?(r=ey(),r===null&&(r=ra,c=Im(),r.pooledCache=c,_l(c),c!==null&&(r.pooledCacheLanes|=n),r=c),t.memoizedState={parent:u,cache:r},Zu(t),qu(t,rn,r)):((e.lanes&n)!==0&&(Es(e,t),Xu(t,null,null,n),Wr()),r=e.memoizedState,c=t.memoizedState,r.parent!==u?(r={parent:u,cache:u},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),qu(t,rn,u)):(u=c.cache,qu(t,rn,u),u!==r.cache&&En(t,[rn],n,!0))),ka(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ol(e){e.flags|=4}function wy(e,t){if(t.type!=="stylesheet"||(t.state.loading&Gi)!==qf)e.flags&=-16777217;else if(e.flags|=16777216,!hp(t)){if(t=Yi.current,t!==null&&((At&4194048)===At?xo!==null:(At&62914560)!==At&&(At&536870912)===0||t!==xo))throw Fp=zb,iT;e.flags|=8192}}function er(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ne():536870912,e.lanes|=t,Hf|=t)}function su(e,t){if(!kt)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 u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function ia(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,u=0;if(t)if((e.mode&Rn)!==fa){for(var r=e.selfBaseDuration,c=e.child;c!==null;)n|=c.lanes|c.childLanes,u|=c.subtreeFlags&65011712,u|=c.flags&65011712,r+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=r}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags&65011712,u|=r.flags&65011712,r.return=e,r=r.sibling;else if((e.mode&Rn)!==fa){r=e.actualDuration,c=e.selfBaseDuration;for(var p=e.child;p!==null;)n|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,r+=p.actualDuration,c+=p.treeBaseDuration,p=p.sibling;e.actualDuration=r,e.treeBaseDuration=c}else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,u|=r.subtreeFlags,u|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=u,e.childLanes=n,t}function a0(e,t,n){var u=t.pendingProps;switch(Yo(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ia(t),null;case 1:return ia(t),null;case 3:return n=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Pi(rn,t),W(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Zo(t)?(Fg(),Ol(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Wm())),ia(t),null;case 26:return n=t.memoizedState,e===null?(Ol(t),n!==null?(ia(t),wy(t,n)):(ia(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Ol(t),ia(t),wy(t,n)):(ia(t),t.flags&=-16777217):(e.memoizedProps!==u&&Ol(t),ia(t),t.flags&=-16777217),null;case 27:ve(t),n=Ke(Ri.current);var r=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ia(t),null}e=Z(),Zo(t)?$m(t):(e=$n(r,u,n,e,!0),t.stateNode=e,Ol(t))}return ia(t),null;case 5:if(ve(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ia(t),null}if(r=Z(),Zo(t))$m(t);else{switch(e=Ke(Ri.current),ed(n,r.ancestorInfo),r=r.context,e=Nt(e),r){case cm:e=e.createElementNS(Ru,n);break;case Sv:e=e.createElementNS(Uh,n);break;default:switch(n){case"svg":e=e.createElementNS(Ru,n);break;case"math":e=e.createElementNS(Uh,n);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof u.is=="string"?e.createElement("select",{is:u.is}):e.createElement("select"),u.multiple?e.multiple=!0:u.size&&(e.size=u.size);break;default:e=typeof u.is=="string"?e.createElement(n,{is:u.is}):e.createElement(n),n.indexOf("-")===-1&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Oi.call(mx,n)||(mx[n]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",n)))}}e[pn]=t,e[Fn]=u;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(Qa(e,n,u),n){case"button":case"input":case"select":case"textarea":e=!!u.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ol(t)}}return ia(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Ol(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Ke(Ri.current),n=Z(),Zo(t)){e=t.stateNode,n=t.memoizedProps,r=!vr,u=null;var c=ml;if(c!==null)switch(c.tag){case 3:r&&(r=cp(e,n,u),r!==null&&(Go(t,0).serverProps=r));break;case 27:case 5:u=c.memoizedProps,r&&(r=cp(e,n,u),r!==null&&(Go(t,0).serverProps=r))}e[pn]=t,e=!!(e.nodeValue===n||u!==null&&u.suppressHydrationWarning===!0||rr(e.nodeValue,n)),e||Lu(t)}else r=n.ancestorInfo.current,r!=null&&qr(u,r.tag,n.ancestorInfo.implicitRootScope),e=Nt(e).createTextNode(u),e[pn]=t,t.stateNode=e}return ia(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Zo(t),u!==null&&u.dehydrated!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[pn]=t,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration))}else Fg(),Qr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,ia(t),(t.mode&Rn)!==fa&&u!==null&&(r=t.child,r!==null&&(t.treeBaseDuration-=r.treeBaseDuration));r=!1}else r=Wm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(qn(t),t):(qn(t),null)}return qn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&Rn)!==fa&&xs(t),t):(n=u!==null,e=e!==null&&e.memoizedState!==null,n&&(u=t.child,r=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(r=u.alternate.memoizedState.cachePool.pool),c=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(c=u.memoizedState.cachePool.pool),c!==r&&(u.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),er(t,t.updateQueue),ia(t),(t.mode&Rn)!==fa&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return W(t),e===null&&ef(t.stateNode.containerInfo),ia(t),null;case 10:return Pi(t.type,t),ia(t),null;case 19:if(fe(sn,t),r=t.memoizedState,r===null)return ia(t),null;if(u=(t.flags&128)!==0,c=r.rendering,c===null)if(u)su(r,!1);else{if(Da!==xr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Md(e),c!==null){for(t.flags|=128,su(r,!1),e=c.updateQueue,t.updateQueue=e,er(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Xm(n,e),n=n.sibling;return Re(sn,sn.current&Ih|tg,t),t.child}e=e.sibling}r.tail!==null&&ln()>rv&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304)}else{if(!u)if(e=Md(c),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,er(t,e),su(r,!0),r.tail===null&&r.tailMode==="hidden"&&!c.alternate&&!kt)return ia(t),null}else 2*ln()-r.renderingStartTime>rv&&n!==536870912&&(t.flags|=128,u=!0,su(r,!1),t.lanes=4194304);r.isBackwards?(c.sibling=t.child,t.child=c):(e=r.last,e!==null?e.sibling=c:t.child=c,r.last=c)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ln(),e.sibling=null,n=sn.current,n=u?n&Ih|tg:n&Ih,Re(sn,n,t),e):(ia(t),null);case 22:case 23:return qn(t),Td(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(n&536870912)!==0&&(t.flags&128)===0&&(ia(t),t.subtreeFlags&6&&(t.flags|=8192)):ia(t),n=t.updateQueue,n!==null&&er(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==n&&(t.flags|=2048),e!==null&&fe(zf,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Pi(rn,t),ia(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function n0(e,t){switch(Yo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 3:return Pi(rn,t),W(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 13:if(qn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 19:return fe(sn,t),null;case 4:return W(t),null;case 10:return Pi(t.type,t),null;case 22:case 23:return qn(t),Td(t),e!==null&&fe(zf,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Rn)!==fa&&xs(t),t):null;case 24:return Pi(rn,t),null;case 25:return null;default:return null}}function Ay(e,t){switch(Yo(t),t.tag){case 3:Pi(rn,t),W(t);break;case 26:case 27:case 5:ve(t);break;case 4:W(t);break;case 13:qn(t);break;case 19:fe(sn,t);break;case 10:Pi(t.type,t);break;case 22:case 23:qn(t),Td(t),e!==null&&fe(zf,t);break;case 24:Pi(rn,t)}}function Fl(e){return(e.mode&Rn)!==fa}function Ry(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Xs(e,t,n){Fl(e)?(hn(),tr(n,e,t),Yl()):tr(n,e,t)}function mc(e,t){try{var n=t.updateQueue,u=n!==null?n.lastEffect:null;if(u!==null){var r=u.next;n=r;do{if((n.tag&e)===e&&((e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStarted=="function"&&Ee.markComponentPassiveEffectMountStarted(t):(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStarted=="function"&&Ee.markComponentLayoutEffectMountStarted(t),u=void 0,(e&yl)!==Vi&&(om=!0),u=ke(t,dw,n),(e&yl)!==Vi&&(om=!1),(e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectMountStopped=="function"&&Ee.markComponentPassiveEffectMountStopped():(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectMountStopped=="function"&&Ee.markComponentLayoutEffectMountStopped(),u!==void 0&&typeof u!="function")){var c=void 0;c=(n.tag&On)!==0?"useLayoutEffect":(n.tag&yl)!==0?"useInsertionEffect":"useEffect";var p=void 0;p=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
|
|
231
231
|
|
|
232
232
|
It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
233
233
|
|
|
@@ -240,11 +240,11 @@ It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, w
|
|
|
240
240
|
fetchData();
|
|
241
241
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
242
242
|
|
|
243
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,ke(t,function(b,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",b,E)},c,p)}n=n.next}while(n!==r)}}catch(b){$t(t,t.return,b)}}function tr(e,t,n){try{var u=t.updateQueue,r=u!==null?u.lastEffect:null;if(r!==null){var c=r.next;u=c;do{if((u.tag&e)===e){var p=u.inst,b=p.destroy;b!==void 0&&(p.destroy=void 0,(e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStarted=="function"&&Ee.markComponentPassiveEffectUnmountStarted(t):(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStarted=="function"&&Ee.markComponentLayoutEffectUnmountStarted(t),(e&yl)!==Vi&&(om=!0),r=t,ke(r,h4,r,n,b),(e&yl)!==Vi&&(om=!1),(e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStopped=="function"&&Ee.markComponentPassiveEffectUnmountStopped():(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStopped=="function"&&Ee.markComponentLayoutEffectUnmountStopped())}u=u.next}while(u!==c)}}catch(E){$t(t,t.return,E)}}function Yd(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Gd(e,t,n){Fl(e)?(hn(),tr(n,e,t),Yl()):tr(n,e,t)}function Oy(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||em||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(e)||"instance"));try{ke(e,kn,t,n)}catch(u){$t(e,e.return,u)}}}function ub(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function zy(e,t){var n=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||em||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(e)||"instance"));try{var r=Fu(e.type,n,e.elementType===e.type),c=ke(e,ub,t,r,u);n=WT,c!==void 0||n.has(e.type)||(n.add(e.type),ke(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ae(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(p){$t(e,e.return,p)}}function Dy(e,t,n){n.props=Fu(e.type,e.memoizedProps),n.state=e.memoizedState,Fl(e)?(hn(),ke(e,ET,e,t,n),Yl()):ke(e,ET,e,t,n)}function l0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Fl(e))try{hn(),e.refCleanup=t(n)}finally{Yl()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ae(e)),t.current=n}}function ar(e,t){try{ke(e,l0,e)}catch(n){$t(e,t,n)}}function Il(e,t){var n=e.ref,u=e.refCleanup;if(n!==null)if(typeof u=="function")try{if(Fl(e))try{hn(),ke(e,u)}finally{Yl(e)}else ke(e,u)}catch(r){$t(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Fl(e))try{hn(),ke(e,n,null)}finally{Yl(e)}else ke(e,n,null)}catch(r){$t(e,t,r)}else n.current=null}function My(e,t,n,u){var r=e.memoizedProps,c=r.id,p=r.onCommit;r=r.onRender,t=t===null?"mount":"update",W0&&(t="nested-update"),typeof r=="function"&&r(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof p=="function"&&p(e.memoizedProps.id,t,u,n)}function ob(e,t,n,u){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",W0&&(t="nested-update"),typeof r=="function"&&r(e,t,u,n)}function i0(e){var t=e.type,n=e.memoizedProps,u=e.stateNode;try{ke(e,ba,u,t,n,e)}catch(r){$t(e,e.return,r)}}function Zd(e,t,n){try{ke(e,uo,e.stateNode,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ja(e.type)||e.tag===4}function Qs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yc(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.tag===27&&ja(e.type)||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 pc(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=no));else if(u!==4&&(u===27&&ja(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function Ks(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(u!==4&&(u===27&&ja(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ks(e,t,n),e=e.sibling;e!==null;)Ks(e,t,n),e=e.sibling}function u0(e){for(var t,n=e.return;n!==null;){if(yc(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Qs(e),Ks(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(oo(n),t.flags&=-33),t=Qs(e),Ks(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Qs(e),pc(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Js(e){var t=e.stateNode,n=e.memoizedProps;try{ke(e,T0,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function o0(e,t){if(e=e.containerInfo,c1=_v,e=Jg(e),Ym(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var r=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var p=0,b=-1,E=-1,R=0,$=0,P=e,K=null;t:for(;;){for(var te;P!==n||r!==0&&P.nodeType!==3||(b=p+r),P!==c||u!==0&&P.nodeType!==3||(E=p+u),P.nodeType===3&&(p+=P.nodeValue.length),(te=P.firstChild)!==null;)K=P,P=te;for(;;){if(P===e)break t;if(K===n&&++R===r&&(b=p),K===c&&++$===u&&(E=p),(te=P.nextSibling)!==null)break;P=K,K=P.parentNode}P=te}n=b===-1||E===-1?null:{start:b,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(s1={focusedElem:e,selectionRange:n},_v=!1,vn=t;vn!==null;)if(t=vn,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,vn=e;else for(;vn!==null;){switch(e=t=vn,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&zy(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)wi(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":wi(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,vn=e;break}vn=t.return}}function Cy(e,t,n){var u=n.flags;switch(n.tag){case 0:case 11:case 15:Ra(e,n),u&4&&Ry(n,On|Li);break;case 1:if(Ra(e,n),u&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(n)||"instance")),Fl(n)?(hn(),ke(n,jb,n,e),Yl()):ke(n,jb,n,e);else{var r=Fu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(n)||"instance")),Fl(n)?(hn(),ke(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Yl()):ke(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}u&64&&Oy(n),u&512&&ar(n,n.return);break;case 3:if(t=nl(),Ra(e,n),u&64&&(u=n.updateQueue,u!==null)){if(r=null,n.child!==null)switch(n.child.tag){case 27:case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}try{ke(n,kn,u,r)}catch(p){$t(n,n.return,p)}}e.effectDuration+=Jr(t);break;case 27:t===null&&u&4&&Js(n);case 26:case 5:Ra(e,n),t===null&&u&4&&i0(n),u&512&&ar(n,n.return);break;case 12:if(u&4){u=nl(),Ra(e,n),e=n.stateNode,e.effectDuration+=$r(u);try{ke(n,My,n,t,$0,e.effectDuration)}catch(p){$t(n,n.return,p)}}else Ra(e,n);break;case 13:Ra(e,n),u&4&&$s(e,n),u&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=to.bind(null,n),Oc(e,n))));break;case 22:if(u=n.memoizedState!==null||Tr,!u){t=t!==null&&t.memoizedState!==null||Va,r=Tr;var c=Va;Tr=u,(Va=t)&&!c?mn(e,n,(n.subtreeFlags&8772)!==0):Ra(e,n),Tr=r,Va=c}break;case 30:break;default:Ra(e,n)}}function r0(e){var t=e.alternate;t!==null&&(e.alternate=null,r0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tn(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yn(e,t,n){for(n=n.child;n!==null;)gc(e,t,n),n=n.sibling}function gc(e,t,n){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(hr,n)}catch(c){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",c))}switch(n.tag){case 26:Va||Il(n,t),Yn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Va||Il(n,t);var u=Fa,r=Hl;ja(n.type)&&(Fa=n.stateNode,Hl=!1),Yn(e,t,n),ke(n,Dc,n.stateNode),Fa=u,Hl=r;break;case 5:Va||Il(n,t);case 6:if(u=Fa,r=Hl,Fa=null,Yn(e,t,n),Fa=u,Hl=r,Fa!==null)if(Hl)try{ke(n,af,Fa,n.stateNode)}catch(c){$t(n,t,c)}else try{ke(n,Rc,Fa,n.stateNode)}catch(c){$t(n,t,c)}break;case 18:Fa!==null&&(Hl?(e=Fa,An(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Hc(e)):An(Fa,n.stateNode));break;case 4:u=Fa,r=Hl,Fa=n.stateNode.containerInfo,Hl=!0,Yn(e,t,n),Fa=u,Hl=r;break;case 0:case 11:case 14:case 15:Va||tr(yl,n,t),Va||Xs(n,t,On),Yn(e,t,n);break;case 1:Va||(Il(n,t),u=n.stateNode,typeof u.componentWillUnmount=="function"&&Dy(n,t,u)),Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:Va=(u=Va)||n.memoizedState!==null,Yn(e,t,n),Va=u;break;default:Yn(e,t,n)}}function $s(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ke(t,S0,e)}catch(n){$t(t,t.return,n)}}function Ws(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new FT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new FT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function vc(e,t){var n=Ws(e);t.forEach(function(u){var r=m0.bind(null,e,u);if(!n.has(u)){if(n.add(u),Ul)if(tm!==null&&am!==null)ur(am,tm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(r,r)}})}function Gn(e,t){var n=t.deletions;if(n!==null)for(var u=0;u<n.length;u++){var r=e,c=t,p=n[u],b=c;e:for(;b!==null;){switch(b.tag){case 27:if(ja(b.type)){Fa=b.stateNode,Hl=!1;break e}break;case 5:Fa=b.stateNode,Hl=!1;break e;case 3:case 4:Fa=b.stateNode.containerInfo,Hl=!0;break e}b=b.return}if(Fa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");gc(r,c,p),Fa=null,Hl=!1,r=p,c=r.alternate,c!==null&&(c.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Uy(t,e),t=t.sibling}function Uy(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Gn(t,e),Za(e),u&4&&(tr(yl|Li,e,e.return),mc(yl|Li,e),Xs(e,e.return,On|Li));break;case 1:Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),u&64&&Tr&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?u:n.concat(u))));break;case 26:var r=Mu;if(Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),u&4)if(t=n!==null?n.memoizedState:null,u=e.memoizedState,n===null)if(u===null)if(e.stateNode===null){e:{u=e.type,n=e.memoizedProps,t=r.ownerDocument||r;t:switch(u){case"title":r=t.getElementsByTagName("title")[0],(!r||r[pf]||r[pn]||r.namespaceURI===Ru||r.hasAttribute("itemprop"))&&(r=t.createElement(u),t.head.insertBefore(r,t.querySelector("head > title"))),Qa(r,u,n),r[pn]=e,B(r),u=r;break e;case"link":var c=dp("link","href",t).get(u+(n.href||""));if(c){for(var p=0;p<c.length;p++)if(r=c[p],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(p,1);break t}}r=t.createElement(u),Qa(r,u,n),t.head.appendChild(r);break;case"meta":if(c=dp("meta","content",t).get(u+(n.content||""))){for(p=0;p<c.length;p++)if(r=c[p],ee(n.content,"content"),r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(p,1);break t}}r=t.createElement(u),Qa(r,u,n),t.head.appendChild(r);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+u+'". This is a bug in React.')}r[pn]=e,B(r),u=r}e.stateNode=u}else sr(r,e.type,e.stateNode);else e.stateNode=E0(r,u,e.memoizedProps);else t!==u?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,u===null?sr(r,e.type,e.stateNode):E0(r,u,e.memoizedProps)):u===null&&e.stateNode!==null&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 27:Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),n!==null&&u&4&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),e.flags&32){t=e.stateNode;try{ke(e,oo,t)}catch($){$t(e,e.return,$)}}u&4&&e.stateNode!=null&&(t=e.memoizedProps,Zd(e,t,n!==null?n.memoizedProps:t)),u&1024&&(Zb=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gn(t,e),Za(e),u&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");u=e.memoizedProps,n=n!==null?n.memoizedProps:u,t=e.stateNode;try{ke(e,up,t,n,u)}catch($){$t(e,e.return,$)}}break;case 3:if(r=nl(),Tv=null,c=Mu,Mu=oh(t.containerInfo),Gn(t,e),Mu=c,Za(e),u&4&&n!==null&&n.memoizedState.isDehydrated)try{ke(e,sl,t.containerInfo)}catch($){$t(e,e.return,$)}Zb&&(Zb=!1,Ny(e)),t.effectDuration+=Jr(r);break;case 4:u=Mu,Mu=oh(e.stateNode.containerInfo),Gn(t,e),Za(e),Mu=u;break;case 12:u=nl(),Gn(t,e),Za(e),e.stateNode.effectDuration+=$r(u);break;case 13:Gn(t,e),Za(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Wb=ln()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 22:r=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,E=Tr,R=Va;if(Tr=E||r,Va=R||b,Gn(t,e),Va=R,Tr=E,Za(e),u&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~X0:t._visibility|X0,r&&(n===null||b||Tr||Va||Zn(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{c=b.stateNode,r?ke(b,op,c):ke(b,nh,b.stateNode,b.memoizedProps)}catch($){$t(b,b.return,$)}}}else if(t.tag===6){if(n===null){b=t;try{p=b.stateNode,r?ke(b,rp,p):ke(b,lh,p,b.memoizedProps)}catch($){$t(b,b.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(n=u.retryQueue,n!==null&&(u.retryQueue=null,vc(e,n))));break;case 19:Gn(t,e),Za(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 30:break;case 21:break;default:Gn(t,e),Za(e)}}function Za(e){var t=e.flags;if(t&2){try{ke(e,u0,e)}catch(n){$t(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ny(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ny(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ra(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Cy(e,t.alternate,t),t=t.sibling}function Pl(e){switch(e.tag){case 0:case 11:case 14:case 15:Xs(e,e.return,On),Zn(e);break;case 1:Il(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Dy(e,e.return,t),Zn(e);break;case 27:ke(e,Dc,e.stateNode);case 26:case 5:Il(e,e.return),Zn(e);break;case 22:e.memoizedState===null&&Zn(e);break;case 30:Zn(e);break;default:Zn(e)}}function Zn(e){for(e=e.child;e!==null;)Pl(e),e=e.sibling}function Hy(e,t,n,u){var r=n.flags;switch(n.tag){case 0:case 11:case 15:mn(e,n,u),Ry(n,On);break;case 1:if(mn(e,n,u),t=n.stateNode,typeof t.componentDidMount=="function"&&ke(n,jb,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ke(n,ib,t,e)}catch(c){$t(n,n.return,c)}}u&&r&64&&Oy(n),ar(n,n.return);break;case 27:Js(n);case 26:case 5:mn(e,n,u),u&&t===null&&r&4&&i0(n),ar(n,n.return);break;case 12:if(u&&r&4){r=nl(),mn(e,n,u),u=n.stateNode,u.effectDuration+=$r(r);try{ke(n,My,n,t,$0,u.effectDuration)}catch(c){$t(n,n.return,c)}}else mn(e,n,u);break;case 13:mn(e,n,u),u&&r&4&&$s(e,n);break;case 22:n.memoizedState===null&&mn(e,n,u),ar(n,n.return);break;case 30:break;default:mn(e,n,u)}}function mn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Hy(e,t.alternate,t,n),t=t.sibling}function ei(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&_l(e),n!=null&&Xo(n))}function xa(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(_l(t),e!=null&&Xo(e))}function ul(e,t,n,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xd(e,t,n,u),t=t.sibling}function Xd(e,t,n,u){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ul(e,t,n,u),r&2048&&Yd(t,cn|Li);break;case 1:ul(e,t,n,u);break;case 3:var c=nl();ul(e,t,n,u),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(_l(t),n!=null&&Xo(n))),e.passiveEffectDuration+=Jr(c);break;case 12:if(r&2048){r=nl(),ul(e,t,n,u),e=t.stateNode,e.passiveEffectDuration+=$r(r);try{ke(t,ob,t,t.alternate,$0,e.passiveEffectDuration)}catch(b){$t(t,t.return,b)}}else ul(e,t,n,u);break;case 13:ul(e,t,n,u);break;case 23:break;case 22:c=t.stateNode;var p=t.alternate;t.memoizedState!==null?c._visibility&yr?ul(e,t,n,u):bc(e,t):c._visibility&yr?ul(e,t,n,u):(c._visibility|=yr,Pu(e,t,n,u,(t.subtreeFlags&10256)!==0)),r&2048&&ei(p,t);break;case 24:ul(e,t,n,u),r&2048&&xa(t.alternate,t);break;default:ul(e,t,n,u)}}function Pu(e,t,n,u,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)ky(e,t,n,u,r),t=t.sibling}function ky(e,t,n,u,r){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Pu(e,t,n,u,r),Yd(t,cn);break;case 23:break;case 22:var p=t.stateNode;t.memoizedState!==null?p._visibility&yr?Pu(e,t,n,u,r):bc(e,t):(p._visibility|=yr,Pu(e,t,n,u,r)),r&&c&2048&&ei(t.alternate,t);break;case 24:Pu(e,t,n,u,r),r&&c&2048&&xa(t.alternate,t);break;default:Pu(e,t,n,u,r)}}function bc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,u=t,r=u.flags;switch(u.tag){case 22:bc(n,u),r&2048&&ei(u.alternate,u);break;case 24:bc(n,u),r&2048&&xa(u.alternate,u);break;default:bc(n,u)}t=t.sibling}}function zl(e){if(e.subtreeFlags&ag)for(e=e.child;e!==null;)Fs(e),e=e.sibling}function Fs(e){switch(e.tag){case 26:zl(e),e.flags&ag&&e.memoizedState!==null&&w0(Mu,e.memoizedState,e.memoizedProps);break;case 5:zl(e);break;case 3:case 4:var t=Mu;Mu=oh(e.stateNode.containerInfo),zl(e),Mu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=ag,ag=16777216,zl(e),ag=t):zl(e));break;default:zl(e)}}function jy(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Sc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}jy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)By(e),e=e.sibling}function By(e){switch(e.tag){case 0:case 11:case 15:Sc(e),e.flags&2048&&Gd(e,e.return,cn|Li);break;case 3:var t=nl();Sc(e),e.stateNode.passiveEffectDuration+=Jr(t);break;case 12:t=nl(),Sc(e),e.stateNode.passiveEffectDuration+=$r(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&yr&&(e.return===null||e.return.tag!==13)?(t._visibility&=~yr,nr(e)):Sc(e);break;default:Sc(e)}}function nr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}jy(e)}for(e=e.child;e!==null;)Vy(e),e=e.sibling}function Vy(e){switch(e.tag){case 0:case 11:case 15:Gd(e,e.return,cn),nr(e);break;case 22:var t=e.stateNode;t._visibility&yr&&(t._visibility&=~yr,nr(e));break;default:nr(e)}}function Qd(e,t){for(;vn!==null;){var n=vn,u=n;switch(u.tag){case 0:case 11:case 15:Gd(u,t,cn);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(u=u.memoizedState.cachePool.pool,u!=null&&_l(u));break;case 24:Xo(u.memoizedState.cache)}if(u=n.child,u!==null)u.return=n,vn=u;else e:for(n=e;vn!==null;){u=vn;var r=u.sibling,c=u.return;if(r0(u),u===n){vn=null;break e}if(r!==null){r.return=c,vn=r;break e}vn=c}}}function c0(){y4.forEach(function(e){return e()})}function Ly(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ol(e){if((Kt&pl)!==si&&At!==0)return At&-At;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Of,e!==0?e:th()):zo()}function qy(){di===0&&(di=(At&536870912)===0||kt?k():536870912);var e=Yi.current;return e!==null&&(e.flags|=32),di}function bt(e,t,n){if(om&&console.error("useInsertionEffect must not schedule updates."),t1&&(cv=!0),(e===ra&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)&&(du(e,0),fu(e,At,di,!1)),pe(e,n),(Kt&pl)!==0&&e===ra){if(Di)switch(t.tag){case 0:case 11:case 15:e=xt&&Ae(xt)||"Unknown",ox.has(e)||(ox.add(e),t=Ae(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:ux||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ux=!0)}}else Ul&&Gt(e,t,n),Iy(t),e===ra&&((Kt&pl)===si&&(Wc|=n),Da===Cf&&fu(e,At,di,!1)),Dl(e)}function Xa(e,t,n){if((Kt&(pl|Cu))!==si)throw Error("Should not already be working.");var u=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Sl(e,t),r=u?Xy(e,t):Is(e,t,!0),c=u;do{if(r===xr){im&&!u&&fu(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!s0(n)){r=Is(e,t,!1),c=!1;continue}if(r===nm){if(c=t,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{r=e;var b=p;p=rg;var E=r.current.memoizedState.isDehydrated;if(E&&(du(r,b).flags|=256),b=Is(r,b,!1),b!==nm){if(Jb&&!E){r.errorRecoveryDisabledLanes|=c,Wc|=c,r=Cf;break e}r=gl,gl=p,r!==null&&(gl===null?gl=r:gl.push.apply(gl,r))}r=b}if(c=!1,r!==nm)continue}}if(r===lg){du(e,0),fu(e,t,0,!0);break}e:{switch(u=e,r){case xr:case lg:throw Error("Root did not complete. This is a bug in React.");case Cf:if((t&4194048)!==t)break;case uv:fu(u,t,di,!Jc);break e;case nm:gl=null;break;case Xb:case IT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)ti(u,n,t,gl,cg,ov,di,Wc,Hf);else{if((t&62914560)===t&&(c=Wb+ex-ln(),10<c)){if(fu(u,t,di,!Jc),mi(u,0,!0)!==0)break e;u.timeoutHandle=yx(Yy.bind(null,u,n,gl,cg,ov,t,di,Wc,Hf,Jc,r,b4,aT,0),c);break e}Yy(u,n,gl,cg,ov,t,di,Wc,Hf,Jc,r,g4,aT,0)}}}break}while(!0);Dl(e)}function Yy(e,t,n,u,r,c,p,b,E,R,$,P,K,te){if(e.timeoutHandle=Lf,P=t.subtreeFlags,(P&8192||(P&16785408)===16785408)&&(yg={stylesheets:null,count:0,unsuspend:_0},Fs(t),P=A0(),P!==null)){e.cancelPendingCommit=P(ti.bind(null,e,t,c,n,u,r,p,b,E,$,v4,K,te)),fu(e,c,p,!R);return}ti(e,t,c,n,u,r,p,b,E)}function s0(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var u=0;u<n.length;u++){var r=n[u],c=r.getSnapshot;r=r.value;try{if(!hl(c(),r))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 fu(e,t,n,u){t&=~$b,t&=~Wc,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var r=t;0<r;){var c=31-Ka(r),p=1<<c;u[c]=-1,r&=~p}n!==0&&ze(e,n,t)}function lr(){return(Kt&(pl|Cu))===si?(ao(0),!1):!0}function Kd(){if(xt!==null){if(Pt===kl)var e=xt.return;else e=xt,yd(),Kl(e),Wh=null,eg=0,e=xt;for(;e!==null;)Ay(e.alternate,e),e=e.return;xt=null}}function du(e,t){var n=e.timeoutHandle;n!==Lf&&(e.timeoutHandle=Lf,C4(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Kd(),ra=e,xt=n=bi(e.current,null),At=t,Pt=kl,fi=null,Jc=!1,im=Sl(e,t),Jb=!1,Da=xr,Hf=di=$b=Wc=$c=0,gl=rg=null,ov=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var r=31-Ka(u),c=1<<r;t|=e[r],u&=~c}return Eo=t,od(),t=eT(),1e3<t-PS&&(J.recentlyCreatedOwnerStacks=0,PS=t),zu.discardPendingWarnings(),n}function Jd(e,t){et=null,J.H=lv,J.getCurrentStack=null,Di=!1,on=null,t===Wp||t===P0?(t=ll(),Pt=ug):t===iT?(t=ll(),Pt=PT):Pt=t===GT?Kb:t!==null&&typeof t=="object"&&typeof t.then=="function"?lm:ig,fi=t;var n=xt;if(n===null)Da=lg,hc(e,Un(t,e.current));else switch(n.mode&Rn&&Gu(n),Ia(),Pt){case ig:Ee!==null&&typeof Ee.markComponentErrored=="function"&&Ee.markComponentErrored(n,t,At);break;case Uf:case Nf:case ug:case lm:case og:Ee!==null&&typeof Ee.markComponentSuspended=="function"&&Ee.markComponentSuspended(n,t,At)}}function Gy(){var e=J.H;return J.H=lv,e===null?lv:e}function Zy(){var e=J.A;return J.A=m4,e}function $d(){Da=Cf,Jc||(At&4194048)!==At&&Yi.current!==null||(im=!0),($c&134217727)===0&&(Wc&134217727)===0||ra===null||fu(ra,At,di,!1)}function Is(e,t,n){var u=Kt;Kt|=pl;var r=Gy(),c=Zy();if(ra!==e||At!==t){if(Ul){var p=e.memoizedUpdaters;0<p.size&&(ur(e,At),p.clear()),yi(e,t)}cg=null,du(e,t)}bl(t),t=!1,p=Da;e:do try{if(Pt!==kl&&xt!==null){var b=xt,E=fi;switch(Pt){case Kb:Kd(),p=uv;break e;case ug:case Uf:case Nf:case lm:Yi.current===null&&(t=!0);var R=Pt;if(Pt=kl,fi=null,ir(e,b,E,R),n&&im){p=xr;break e}break;default:R=Pt,Pt=kl,fi=null,ir(e,b,E,R)}}Wd(),p=Da;break}catch($){Jd(e,$)}while(!0);return t&&e.shellSuspendCounter++,yd(),Kt=u,J.H=r,J.A=c,$i(),xt===null&&(ra=null,At=0,od()),p}function Wd(){for(;xt!==null;)Fd(xt)}function Xy(e,t){var n=Kt;Kt|=pl;var u=Gy(),r=Zy();if(ra!==e||At!==t){if(Ul){var c=e.memoizedUpdaters;0<c.size&&(ur(e,At),c.clear()),yi(e,t)}cg=null,rv=ln()+tx,du(e,t)}else im=Sl(e,t);bl(t);e:do try{if(Pt!==kl&&xt!==null)t:switch(t=xt,c=fi,Pt){case ig:Pt=kl,fi=null,ir(e,t,c,ig);break;case Uf:case Nf:if(bd(c)){Pt=kl,fi=null,Ps(t);break}t=function(){Pt!==Uf&&Pt!==Nf||ra!==e||(Pt=og),Dl(e)},c.then(t,t);break e;case ug:Pt=og;break e;case PT:Pt=Qb;break e;case og:bd(c)?(Pt=kl,fi=null,Ps(t)):(Pt=kl,fi=null,ir(e,t,c,og));break;case Qb:var p=null;switch(xt.tag){case 26:p=xt.memoizedState;case 5:case 27:var b=xt;if(!p||hp(p)){Pt=kl,fi=null;var E=b.sibling;if(E!==null)xt=E;else{var R=b.return;R!==null?(xt=R,Tc(R)):xt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Pt=kl,fi=null,ir(e,t,c,Qb);break;case lm:Pt=kl,fi=null,ir(e,t,c,lm);break;case Kb:Kd(),Da=uv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?Wd():f0();break}catch($){Jd(e,$)}while(!0);return yd(),J.H=u,J.A=r,Kt=n,xt!==null?(Ee!==null&&typeof Ee.markRenderYielded=="function"&&Ee.markRenderYielded(),xr):($i(),ra=null,At=0,od(),Da)}function f0(){for(;xt!==null&&!hb();)Fd(xt)}function Fd(e){var t=e.alternate;(e.mode&Rn)!==fa?(tu(e),t=ke(e,Iu,t,e,Eo),Gu(e)):t=ke(e,Iu,t,e,Eo),e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Ps(e){var t=ke(e,Qy,e);e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Qy(e){var t=e.alternate,n=(e.mode&Rn)!==fa;switch(n&&tu(e),e.tag){case 15:case 0:t=py(t,e,e.pendingProps,e.type,void 0,At);break;case 11:t=py(t,e,e.pendingProps,e.type.render,e.ref,At);break;case 5:Kl(e);default:Ay(t,e),e=xt=Xm(e,Eo),t=Iu(t,e,Eo)}return n&&Gu(e),t}function ir(e,t,n,u){yd(),Kl(t),Wh=null,eg=0;var r=t.return;try{if(Hd(e,r,t,n,At)){Da=lg,hc(e,Un(n,e.current)),xt=null;return}}catch(c){if(r!==null)throw xt=r,c;Da=lg,hc(e,Un(n,e.current)),xt=null;return}t.flags&32768?(kt||u===ig?e=!0:im||(At&536870912)!==0?e=!1:(Jc=e=!0,(u===Uf||u===Nf||u===ug||u===lm)&&(u=Yi.current,u!==null&&u.tag===13&&(u.flags|=16384))),Ky(t,e)):Tc(t)}function Tc(e){var t=e;do{if((t.flags&32768)!==0){Ky(t,Jc);return}var n=t.alternate;if(e=t.return,tu(t),n=ke(t,a0,n,t,Eo),(t.mode&Rn)!==fa&&gd(t),n!==null){xt=n;return}if(t=t.sibling,t!==null){xt=t;return}xt=t=e}while(t!==null);Da===xr&&(Da=IT)}function Ky(e,t){do{var n=n0(e.alternate,e);if(n!==null){n.flags&=32767,xt=n;return}if((e.mode&Rn)!==fa){gd(e),n=e.actualDuration;for(var u=e.child;u!==null;)n+=u.actualDuration,u=u.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){xt=e;return}xt=e=n}while(e!==null);Da=uv,xt=null}function ti(e,t,n,u,r,c,p,b,E){e.cancelPendingCommit=null;do eo();while(zn!==kf);if(zu.flushLegacyContextWarning(),zu.flushPendingUnsafeLifecycleWarnings(),(Kt&(pl|Cu))!==si)throw Error("Should not already be working.");if(Ee!==null&&typeof Ee.markCommitStarted=="function"&&Ee.markCommitStarted(n),t===null)Dt();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(c=t.lanes|t.childLanes,c|=_b,me(e,n,c,p,b,E),e===ra&&(xt=ra=null,At=0),um=t,Ic=e,Pc=n,Ib=c,Pb=r,ix=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,y0(jc,function(){return xc(),null})):(e.callbackNode=null,e.callbackPriority=0),$0=Xh(),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null,r=Lt.p,Lt.p=dl,p=Kt,Kt|=Cu;try{o0(e,t,n)}finally{Kt=p,Lt.p=r,J.T=u}}zn=ax,Id(),d0(),Jy()}}function Id(){if(zn===ax){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{tm=n,am=e,Uy(t,e),am=tm=null,n=s1;var p=Jg(e.containerInfo),b=n.focusedElem,E=n.selectionRange;if(p!==b&&b&&b.ownerDocument&&Kg(b.ownerDocument.documentElement,b)){if(E!==null&&Ym(b)){var R=E.start,$=E.end;if($===void 0&&($=R),"selectionStart"in b)b.selectionStart=R,b.selectionEnd=Math.min($,b.value.length);else{var P=b.ownerDocument||document,K=P&&P.defaultView||window;if(K.getSelection){var te=K.getSelection(),Ue=b.textContent.length,We=Math.min(E.start,Ue),ca=E.end===void 0?We:Math.min(E.end,Ue);!te.extend&&We>ca&&(p=ca,ca=We,We=p);var zt=Qg(b,We),D=Qg(b,ca);if(zt&&D&&(te.rangeCount!==1||te.anchorNode!==zt.node||te.anchorOffset!==zt.offset||te.focusNode!==D.node||te.focusOffset!==D.offset)){var M=P.createRange();M.setStart(zt.node,zt.offset),te.removeAllRanges(),We>ca?(te.addRange(M),te.extend(D.node,D.offset)):(M.setEnd(D.node,D.offset),te.addRange(M))}}}}for(P=[],te=b;te=te.parentNode;)te.nodeType===1&&P.push({element:te,left:te.scrollLeft,top:te.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<P.length;b++){var N=P[b];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}_v=!!c1,s1=c1=null}finally{Kt=c,Lt.p=r,J.T=u}}e.current=t,zn=nx}}function d0(){if(zn===nx){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{Ee!==null&&typeof Ee.markLayoutEffectsStarted=="function"&&Ee.markLayoutEffectsStarted(n),tm=n,am=e,Cy(e,t.alternate,t),am=tm=null,Ee!==null&&typeof Ee.markLayoutEffectsStopped=="function"&&Ee.markLayoutEffectsStopped()}finally{Kt=c,Lt.p=r,J.T=u}}zn=lx}}function Jy(){if(zn===S4||zn===lx){zn=kf,mb();var e=Ic,t=um,n=Pc,u=ix,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?zn=Fb:(zn=kf,um=Ic=null,$y(e,e.pendingLanes),jf=0,fg=null);var c=e.pendingLanes;if(c===0&&(Fc=null),r||ai(e),r=Sn(n),t=t.stateNode,un&&typeof un.onCommitFiberRoot=="function")try{var p=(t.current.flags&128)===128;switch(r){case dl:var b=mf;break;case zi:b=Sp;break;case wu:b=jc;break;case wh:b=xp;break;default:b=jc}un.onCommitFiberRoot(hr,t,b,p)}catch(P){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",P))}if(Ul&&e.memoizedUpdaters.clear(),c0(),u!==null){p=J.T,b=Lt.p,Lt.p=dl,J.T=null;try{var E=e.onRecoverableError;for(t=0;t<u.length;t++){var R=u[t],$=hu(R.stack);ke(R.source,E,R.value,$)}}finally{J.T=p,Lt.p=b}}(Pc&3)!==0&&eo(),Dl(e),c=e.pendingLanes,(n&4194090)!==0&&(c&42)!==0?(F0=!0,e===e1?sg++:(sg=0,e1=e)):sg=0,ao(0),Dt()}}function hu(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function $y(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Xo(t)))}function eo(e){return Id(),d0(),Jy(),xc()}function xc(){if(zn!==Fb)return!1;var e=Ic,t=Ib;Ib=0;var n=Sn(Pc),u=wu>n?wu:n;n=J.T;var r=Lt.p;try{Lt.p=u,J.T=null,u=Pb,Pb=null;var c=Ic,p=Pc;if(zn=kf,um=Ic=null,Pc=0,(Kt&(pl|Cu))!==si)throw Error("Cannot flush passive effects while already rendering.");t1=!0,cv=!1,Ee!==null&&typeof Ee.markPassiveEffectsStarted=="function"&&Ee.markPassiveEffectsStarted(p);var b=Kt;if(Kt|=Cu,By(c.current),Xd(c,c.current,p,u),Ee!==null&&typeof Ee.markPassiveEffectsStopped=="function"&&Ee.markPassiveEffectsStopped(),ai(c),Kt=b,ao(0,!1),cv?c===fg?jf++:(jf=0,fg=c):jf=0,cv=t1=!1,un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(hr,c)}catch(R){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",R))}var E=c.current.stateNode;return E.effectDuration=0,E.passiveEffectDuration=0,!0}finally{Lt.p=r,J.T=n,$y(e,t)}}function sa(e,t,n){t=Un(n,t),t=ga(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(pe(e,2),Dl(e))}function $t(e,t,n){if(om=!1,e.tag===3)sa(e,e,n);else{for(;t!==null;){if(t.tag===3){sa(t,e,n);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Fc===null||!Fc.has(u))){e=Un(n,e),n=Vs(2),u=Zl(t,n,2),u!==null&&(Po(n,u,t,e),pe(u,2),Dl(u));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
243
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,ke(t,function(b,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",b,E)},c,p)}n=n.next}while(n!==r)}}catch(b){$t(t,t.return,b)}}function tr(e,t,n){try{var u=t.updateQueue,r=u!==null?u.lastEffect:null;if(r!==null){var c=r.next;u=c;do{if((u.tag&e)===e){var p=u.inst,b=p.destroy;b!==void 0&&(p.destroy=void 0,(e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStarted=="function"&&Ee.markComponentPassiveEffectUnmountStarted(t):(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStarted=="function"&&Ee.markComponentLayoutEffectUnmountStarted(t),(e&yl)!==Vi&&(om=!0),r=t,ke(r,hw,r,n,b),(e&yl)!==Vi&&(om=!1),(e&cn)!==Vi?Ee!==null&&typeof Ee.markComponentPassiveEffectUnmountStopped=="function"&&Ee.markComponentPassiveEffectUnmountStopped():(e&On)!==Vi&&Ee!==null&&typeof Ee.markComponentLayoutEffectUnmountStopped=="function"&&Ee.markComponentLayoutEffectUnmountStopped())}u=u.next}while(u!==c)}}catch(E){$t(t,t.return,E)}}function Yd(e,t){Fl(e)?(hn(),mc(t,e),Yl()):mc(t,e)}function Gd(e,t,n){Fl(e)?(hn(),tr(n,e,t),Yl()):tr(n,e,t)}function Oy(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||em||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(e)||"instance"));try{ke(e,kn,t,n)}catch(u){$t(e,e.return,u)}}}function ub(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function zy(e,t){var n=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||em||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(e)||"instance"));try{var r=Fu(e.type,n,e.elementType===e.type),c=ke(e,ub,t,r,u);n=WT,c!==void 0||n.has(e.type)||(n.add(e.type),ke(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ae(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(p){$t(e,e.return,p)}}function Dy(e,t,n){n.props=Fu(e.type,e.memoizedProps),n.state=e.memoizedState,Fl(e)?(hn(),ke(e,ET,e,t,n),Yl()):ke(e,ET,e,t,n)}function l0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Fl(e))try{hn(),e.refCleanup=t(n)}finally{Yl()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ae(e)),t.current=n}}function ar(e,t){try{ke(e,l0,e)}catch(n){$t(e,t,n)}}function Il(e,t){var n=e.ref,u=e.refCleanup;if(n!==null)if(typeof u=="function")try{if(Fl(e))try{hn(),ke(e,u)}finally{Yl(e)}else ke(e,u)}catch(r){$t(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Fl(e))try{hn(),ke(e,n,null)}finally{Yl(e)}else ke(e,n,null)}catch(r){$t(e,t,r)}else n.current=null}function My(e,t,n,u){var r=e.memoizedProps,c=r.id,p=r.onCommit;r=r.onRender,t=t===null?"mount":"update",W0&&(t="nested-update"),typeof r=="function"&&r(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof p=="function"&&p(e.memoizedProps.id,t,u,n)}function ob(e,t,n,u){var r=e.memoizedProps;e=r.id,r=r.onPostCommit,t=t===null?"mount":"update",W0&&(t="nested-update"),typeof r=="function"&&r(e,t,u,n)}function i0(e){var t=e.type,n=e.memoizedProps,u=e.stateNode;try{ke(e,ba,u,t,n,e)}catch(r){$t(e,e.return,r)}}function Zd(e,t,n){try{ke(e,uo,e.stateNode,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function yc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ja(e.type)||e.tag===4}function Qs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yc(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.tag===27&&ja(e.type)||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 pc(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=no));else if(u!==4&&(u===27&&ja(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function Ks(e,t,n){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(u!==4&&(u===27&&ja(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ks(e,t,n),e=e.sibling;e!==null;)Ks(e,t,n),e=e.sibling}function u0(e){for(var t,n=e.return;n!==null;){if(yc(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=Qs(e),Ks(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(oo(n),t.flags&=-33),t=Qs(e),Ks(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=Qs(e),pc(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Js(e){var t=e.stateNode,n=e.memoizedProps;try{ke(e,T0,e.type,n,t,e)}catch(u){$t(e,e.return,u)}}function o0(e,t){if(e=e.containerInfo,c1=_v,e=Jg(e),Ym(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var u=n.getSelection&&n.getSelection();if(u&&u.rangeCount!==0){n=u.anchorNode;var r=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var p=0,b=-1,E=-1,R=0,$=0,P=e,K=null;t:for(;;){for(var te;P!==n||r!==0&&P.nodeType!==3||(b=p+r),P!==c||u!==0&&P.nodeType!==3||(E=p+u),P.nodeType===3&&(p+=P.nodeValue.length),(te=P.firstChild)!==null;)K=P,P=te;for(;;){if(P===e)break t;if(K===n&&++R===r&&(b=p),K===c&&++$===u&&(E=p),(te=P.nextSibling)!==null)break;P=K,K=P.parentNode}P=te}n=b===-1||E===-1?null:{start:b,end:E}}else n=null}n=n||{start:0,end:0}}else n=null;for(s1={focusedElem:e,selectionRange:n},_v=!1,vn=t;vn!==null;)if(t=vn,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,vn=e;else for(;vn!==null;){switch(e=t=vn,n=e.alternate,r=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(r&1024)!==0&&n!==null&&zy(e,n);break;case 3:if((r&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)wi(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":wi(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,vn=e;break}vn=t.return}}function Cy(e,t,n){var u=n.flags;switch(n.tag){case 0:case 11:case 15:Ra(e,n),u&4&&Ry(n,On|Li);break;case 1:if(Ra(e,n),u&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(n)||"instance")),Fl(n)?(hn(),ke(n,jb,n,e),Yl()):ke(n,jb,n,e);else{var r=Fu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||em||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ae(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ae(n)||"instance")),Fl(n)?(hn(),ke(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate),Yl()):ke(n,ST,n,e,r,t,e.__reactInternalSnapshotBeforeUpdate)}u&64&&Oy(n),u&512&&ar(n,n.return);break;case 3:if(t=nl(),Ra(e,n),u&64&&(u=n.updateQueue,u!==null)){if(r=null,n.child!==null)switch(n.child.tag){case 27:case 5:r=n.child.stateNode;break;case 1:r=n.child.stateNode}try{ke(n,kn,u,r)}catch(p){$t(n,n.return,p)}}e.effectDuration+=Jr(t);break;case 27:t===null&&u&4&&Js(n);case 26:case 5:Ra(e,n),t===null&&u&4&&i0(n),u&512&&ar(n,n.return);break;case 12:if(u&4){u=nl(),Ra(e,n),e=n.stateNode,e.effectDuration+=$r(u);try{ke(n,My,n,t,$0,e.effectDuration)}catch(p){$t(n,n.return,p)}}else Ra(e,n);break;case 13:Ra(e,n),u&4&&$s(e,n),u&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=to.bind(null,n),Oc(e,n))));break;case 22:if(u=n.memoizedState!==null||Tr,!u){t=t!==null&&t.memoizedState!==null||Va,r=Tr;var c=Va;Tr=u,(Va=t)&&!c?mn(e,n,(n.subtreeFlags&8772)!==0):Ra(e,n),Tr=r,Va=c}break;case 30:break;default:Ra(e,n)}}function r0(e){var t=e.alternate;t!==null&&(e.alternate=null,r0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tn(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Yn(e,t,n){for(n=n.child;n!==null;)gc(e,t,n),n=n.sibling}function gc(e,t,n){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(hr,n)}catch(c){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",c))}switch(n.tag){case 26:Va||Il(n,t),Yn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Va||Il(n,t);var u=Fa,r=Hl;ja(n.type)&&(Fa=n.stateNode,Hl=!1),Yn(e,t,n),ke(n,Dc,n.stateNode),Fa=u,Hl=r;break;case 5:Va||Il(n,t);case 6:if(u=Fa,r=Hl,Fa=null,Yn(e,t,n),Fa=u,Hl=r,Fa!==null)if(Hl)try{ke(n,af,Fa,n.stateNode)}catch(c){$t(n,t,c)}else try{ke(n,Rc,Fa,n.stateNode)}catch(c){$t(n,t,c)}break;case 18:Fa!==null&&(Hl?(e=Fa,An(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Hc(e)):An(Fa,n.stateNode));break;case 4:u=Fa,r=Hl,Fa=n.stateNode.containerInfo,Hl=!0,Yn(e,t,n),Fa=u,Hl=r;break;case 0:case 11:case 14:case 15:Va||tr(yl,n,t),Va||Xs(n,t,On),Yn(e,t,n);break;case 1:Va||(Il(n,t),u=n.stateNode,typeof u.componentWillUnmount=="function"&&Dy(n,t,u)),Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:Va=(u=Va)||n.memoizedState!==null,Yn(e,t,n),Va=u;break;default:Yn(e,t,n)}}function $s(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ke(t,S0,e)}catch(n){$t(t,t.return,n)}}function Ws(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new FT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new FT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function vc(e,t){var n=Ws(e);t.forEach(function(u){var r=m0.bind(null,e,u);if(!n.has(u)){if(n.add(u),Ul)if(tm!==null&&am!==null)ur(am,tm);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(r,r)}})}function Gn(e,t){var n=t.deletions;if(n!==null)for(var u=0;u<n.length;u++){var r=e,c=t,p=n[u],b=c;e:for(;b!==null;){switch(b.tag){case 27:if(ja(b.type)){Fa=b.stateNode,Hl=!1;break e}break;case 5:Fa=b.stateNode,Hl=!1;break e;case 3:case 4:Fa=b.stateNode.containerInfo,Hl=!0;break e}b=b.return}if(Fa===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");gc(r,c,p),Fa=null,Hl=!1,r=p,c=r.alternate,c!==null&&(c.return=null),r.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Uy(t,e),t=t.sibling}function Uy(e,t){var n=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Gn(t,e),Za(e),u&4&&(tr(yl|Li,e,e.return),mc(yl|Li,e),Xs(e,e.return,On|Li));break;case 1:Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),u&64&&Tr&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?u:n.concat(u))));break;case 26:var r=Mu;if(Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),u&4)if(t=n!==null?n.memoizedState:null,u=e.memoizedState,n===null)if(u===null)if(e.stateNode===null){e:{u=e.type,n=e.memoizedProps,t=r.ownerDocument||r;t:switch(u){case"title":r=t.getElementsByTagName("title")[0],(!r||r[pf]||r[pn]||r.namespaceURI===Ru||r.hasAttribute("itemprop"))&&(r=t.createElement(u),t.head.insertBefore(r,t.querySelector("head > title"))),Qa(r,u,n),r[pn]=e,B(r),u=r;break e;case"link":var c=dp("link","href",t).get(u+(n.href||""));if(c){for(var p=0;p<c.length;p++)if(r=c[p],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){c.splice(p,1);break t}}r=t.createElement(u),Qa(r,u,n),t.head.appendChild(r);break;case"meta":if(c=dp("meta","content",t).get(u+(n.content||""))){for(p=0;p<c.length;p++)if(r=c[p],ee(n.content,"content"),r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){c.splice(p,1);break t}}r=t.createElement(u),Qa(r,u,n),t.head.appendChild(r);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+u+'". This is a bug in React.')}r[pn]=e,B(r),u=r}e.stateNode=u}else sr(r,e.type,e.stateNode);else e.stateNode=E0(r,u,e.memoizedProps);else t!==u?(t===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):t.count--,u===null?sr(r,e.type,e.stateNode):E0(r,u,e.memoizedProps)):u===null&&e.stateNode!==null&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 27:Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),n!==null&&u&4&&Zd(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Gn(t,e),Za(e),u&512&&(Va||n===null||Il(n,n.return)),e.flags&32){t=e.stateNode;try{ke(e,oo,t)}catch($){$t(e,e.return,$)}}u&4&&e.stateNode!=null&&(t=e.memoizedProps,Zd(e,t,n!==null?n.memoizedProps:t)),u&1024&&(Zb=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Gn(t,e),Za(e),u&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");u=e.memoizedProps,n=n!==null?n.memoizedProps:u,t=e.stateNode;try{ke(e,up,t,n,u)}catch($){$t(e,e.return,$)}}break;case 3:if(r=nl(),Tv=null,c=Mu,Mu=oh(t.containerInfo),Gn(t,e),Mu=c,Za(e),u&4&&n!==null&&n.memoizedState.isDehydrated)try{ke(e,sl,t.containerInfo)}catch($){$t(e,e.return,$)}Zb&&(Zb=!1,Ny(e)),t.effectDuration+=Jr(r);break;case 4:u=Mu,Mu=oh(e.stateNode.containerInfo),Gn(t,e),Za(e),Mu=u;break;case 12:u=nl(),Gn(t,e),Za(e),e.stateNode.effectDuration+=$r(u);break;case 13:Gn(t,e),Za(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Wb=ln()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 22:r=e.memoizedState!==null;var b=n!==null&&n.memoizedState!==null,E=Tr,R=Va;if(Tr=E||r,Va=R||b,Gn(t,e),Va=R,Tr=E,Za(e),u&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&~X0:t._visibility|X0,r&&(n===null||b||Tr||Va||Zn(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){b=n=t;try{c=b.stateNode,r?ke(b,op,c):ke(b,nh,b.stateNode,b.memoizedProps)}catch($){$t(b,b.return,$)}}}else if(t.tag===6){if(n===null){b=t;try{p=b.stateNode,r?ke(b,rp,p):ke(b,lh,p,b.memoizedProps)}catch($){$t(b,b.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}u&4&&(u=e.updateQueue,u!==null&&(n=u.retryQueue,n!==null&&(u.retryQueue=null,vc(e,n))));break;case 19:Gn(t,e),Za(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,vc(e,u)));break;case 30:break;case 21:break;default:Gn(t,e),Za(e)}}function Za(e){var t=e.flags;if(t&2){try{ke(e,u0,e)}catch(n){$t(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ny(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ny(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ra(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Cy(e,t.alternate,t),t=t.sibling}function Pl(e){switch(e.tag){case 0:case 11:case 14:case 15:Xs(e,e.return,On),Zn(e);break;case 1:Il(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Dy(e,e.return,t),Zn(e);break;case 27:ke(e,Dc,e.stateNode);case 26:case 5:Il(e,e.return),Zn(e);break;case 22:e.memoizedState===null&&Zn(e);break;case 30:Zn(e);break;default:Zn(e)}}function Zn(e){for(e=e.child;e!==null;)Pl(e),e=e.sibling}function Hy(e,t,n,u){var r=n.flags;switch(n.tag){case 0:case 11:case 15:mn(e,n,u),Ry(n,On);break;case 1:if(mn(e,n,u),t=n.stateNode,typeof t.componentDidMount=="function"&&ke(n,jb,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ke(n,ib,t,e)}catch(c){$t(n,n.return,c)}}u&&r&64&&Oy(n),ar(n,n.return);break;case 27:Js(n);case 26:case 5:mn(e,n,u),u&&t===null&&r&4&&i0(n),ar(n,n.return);break;case 12:if(u&&r&4){r=nl(),mn(e,n,u),u=n.stateNode,u.effectDuration+=$r(r);try{ke(n,My,n,t,$0,u.effectDuration)}catch(c){$t(n,n.return,c)}}else mn(e,n,u);break;case 13:mn(e,n,u),u&&r&4&&$s(e,n);break;case 22:n.memoizedState===null&&mn(e,n,u),ar(n,n.return);break;case 30:break;default:mn(e,n,u)}}function mn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Hy(e,t.alternate,t,n),t=t.sibling}function ei(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&_l(e),n!=null&&Xo(n))}function xa(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(_l(t),e!=null&&Xo(e))}function ul(e,t,n,u){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xd(e,t,n,u),t=t.sibling}function Xd(e,t,n,u){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ul(e,t,n,u),r&2048&&Yd(t,cn|Li);break;case 1:ul(e,t,n,u);break;case 3:var c=nl();ul(e,t,n,u),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(_l(t),n!=null&&Xo(n))),e.passiveEffectDuration+=Jr(c);break;case 12:if(r&2048){r=nl(),ul(e,t,n,u),e=t.stateNode,e.passiveEffectDuration+=$r(r);try{ke(t,ob,t,t.alternate,$0,e.passiveEffectDuration)}catch(b){$t(t,t.return,b)}}else ul(e,t,n,u);break;case 13:ul(e,t,n,u);break;case 23:break;case 22:c=t.stateNode;var p=t.alternate;t.memoizedState!==null?c._visibility&yr?ul(e,t,n,u):bc(e,t):c._visibility&yr?ul(e,t,n,u):(c._visibility|=yr,Pu(e,t,n,u,(t.subtreeFlags&10256)!==0)),r&2048&&ei(p,t);break;case 24:ul(e,t,n,u),r&2048&&xa(t.alternate,t);break;default:ul(e,t,n,u)}}function Pu(e,t,n,u,r){for(r=r&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)ky(e,t,n,u,r),t=t.sibling}function ky(e,t,n,u,r){var c=t.flags;switch(t.tag){case 0:case 11:case 15:Pu(e,t,n,u,r),Yd(t,cn);break;case 23:break;case 22:var p=t.stateNode;t.memoizedState!==null?p._visibility&yr?Pu(e,t,n,u,r):bc(e,t):(p._visibility|=yr,Pu(e,t,n,u,r)),r&&c&2048&&ei(t.alternate,t);break;case 24:Pu(e,t,n,u,r),r&&c&2048&&xa(t.alternate,t);break;default:Pu(e,t,n,u,r)}}function bc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,u=t,r=u.flags;switch(u.tag){case 22:bc(n,u),r&2048&&ei(u.alternate,u);break;case 24:bc(n,u),r&2048&&xa(u.alternate,u);break;default:bc(n,u)}t=t.sibling}}function zl(e){if(e.subtreeFlags&ag)for(e=e.child;e!==null;)Fs(e),e=e.sibling}function Fs(e){switch(e.tag){case 26:zl(e),e.flags&ag&&e.memoizedState!==null&&w0(Mu,e.memoizedState,e.memoizedProps);break;case 5:zl(e);break;case 3:case 4:var t=Mu;Mu=oh(e.stateNode.containerInfo),zl(e),Mu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=ag,ag=16777216,zl(e),ag=t):zl(e));break;default:zl(e)}}function jy(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Sc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}jy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)By(e),e=e.sibling}function By(e){switch(e.tag){case 0:case 11:case 15:Sc(e),e.flags&2048&&Gd(e,e.return,cn|Li);break;case 3:var t=nl();Sc(e),e.stateNode.passiveEffectDuration+=Jr(t);break;case 12:t=nl(),Sc(e),e.stateNode.passiveEffectDuration+=$r(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&yr&&(e.return===null||e.return.tag!==13)?(t._visibility&=~yr,nr(e)):Sc(e);break;default:Sc(e)}}function nr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var u=t[n];vn=u,Qd(u,e)}jy(e)}for(e=e.child;e!==null;)Vy(e),e=e.sibling}function Vy(e){switch(e.tag){case 0:case 11:case 15:Gd(e,e.return,cn),nr(e);break;case 22:var t=e.stateNode;t._visibility&yr&&(t._visibility&=~yr,nr(e));break;default:nr(e)}}function Qd(e,t){for(;vn!==null;){var n=vn,u=n;switch(u.tag){case 0:case 11:case 15:Gd(u,t,cn);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(u=u.memoizedState.cachePool.pool,u!=null&&_l(u));break;case 24:Xo(u.memoizedState.cache)}if(u=n.child,u!==null)u.return=n,vn=u;else e:for(n=e;vn!==null;){u=vn;var r=u.sibling,c=u.return;if(r0(u),u===n){vn=null;break e}if(r!==null){r.return=c,vn=r;break e}vn=c}}}function c0(){yw.forEach(function(e){return e()})}function Ly(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||J.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ol(e){if((Kt&pl)!==si&&At!==0)return At&-At;var t=J.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Of,e!==0?e:th()):zo()}function qy(){di===0&&(di=(At&536870912)===0||kt?k():536870912);var e=Yi.current;return e!==null&&(e.flags|=32),di}function bt(e,t,n){if(om&&console.error("useInsertionEffect must not schedule updates."),t1&&(cv=!0),(e===ra&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)&&(du(e,0),fu(e,At,di,!1)),pe(e,n),(Kt&pl)!==0&&e===ra){if(Di)switch(t.tag){case 0:case 11:case 15:e=xt&&Ae(xt)||"Unknown",ox.has(e)||(ox.add(e),t=Ae(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:ux||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ux=!0)}}else Ul&&Gt(e,t,n),Iy(t),e===ra&&((Kt&pl)===si&&(Wc|=n),Da===Cf&&fu(e,At,di,!1)),Dl(e)}function Xa(e,t,n){if((Kt&(pl|Cu))!==si)throw Error("Should not already be working.");var u=!n&&(t&124)===0&&(t&e.expiredLanes)===0||Sl(e,t),r=u?Xy(e,t):Is(e,t,!0),c=u;do{if(r===xr){im&&!u&&fu(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!s0(n)){r=Is(e,t,!1),c=!1;continue}if(r===nm){if(c=t,e.errorRecoveryDisabledLanes&c)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){t=p;e:{r=e;var b=p;p=rg;var E=r.current.memoizedState.isDehydrated;if(E&&(du(r,b).flags|=256),b=Is(r,b,!1),b!==nm){if(Jb&&!E){r.errorRecoveryDisabledLanes|=c,Wc|=c,r=Cf;break e}r=gl,gl=p,r!==null&&(gl===null?gl=r:gl.push.apply(gl,r))}r=b}if(c=!1,r!==nm)continue}}if(r===lg){du(e,0),fu(e,t,0,!0);break}e:{switch(u=e,r){case xr:case lg:throw Error("Root did not complete. This is a bug in React.");case Cf:if((t&4194048)!==t)break;case uv:fu(u,t,di,!Jc);break e;case nm:gl=null;break;case Xb:case IT:break;default:throw Error("Unknown root exit status.")}if(J.actQueue!==null)ti(u,n,t,gl,cg,ov,di,Wc,Hf);else{if((t&62914560)===t&&(c=Wb+ex-ln(),10<c)){if(fu(u,t,di,!Jc),mi(u,0,!0)!==0)break e;u.timeoutHandle=yx(Yy.bind(null,u,n,gl,cg,ov,t,di,Wc,Hf,Jc,r,bw,aT,0),c);break e}Yy(u,n,gl,cg,ov,t,di,Wc,Hf,Jc,r,gw,aT,0)}}}break}while(!0);Dl(e)}function Yy(e,t,n,u,r,c,p,b,E,R,$,P,K,te){if(e.timeoutHandle=Lf,P=t.subtreeFlags,(P&8192||(P&16785408)===16785408)&&(yg={stylesheets:null,count:0,unsuspend:_0},Fs(t),P=A0(),P!==null)){e.cancelPendingCommit=P(ti.bind(null,e,t,c,n,u,r,p,b,E,$,vw,K,te)),fu(e,c,p,!R);return}ti(e,t,c,n,u,r,p,b,E)}function s0(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var u=0;u<n.length;u++){var r=n[u],c=r.getSnapshot;r=r.value;try{if(!hl(c(),r))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 fu(e,t,n,u){t&=~$b,t&=~Wc,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var r=t;0<r;){var c=31-Ka(r),p=1<<c;u[c]=-1,r&=~p}n!==0&&ze(e,n,t)}function lr(){return(Kt&(pl|Cu))===si?(ao(0),!1):!0}function Kd(){if(xt!==null){if(Pt===kl)var e=xt.return;else e=xt,yd(),Kl(e),Wh=null,eg=0,e=xt;for(;e!==null;)Ay(e.alternate,e),e=e.return;xt=null}}function du(e,t){var n=e.timeoutHandle;n!==Lf&&(e.timeoutHandle=Lf,Cw(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Kd(),ra=e,xt=n=bi(e.current,null),At=t,Pt=kl,fi=null,Jc=!1,im=Sl(e,t),Jb=!1,Da=xr,Hf=di=$b=Wc=$c=0,gl=rg=null,ov=!1,(t&8)!==0&&(t|=t&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=t;0<u;){var r=31-Ka(u),c=1<<r;t|=e[r],u&=~c}return Eo=t,od(),t=eT(),1e3<t-PS&&(J.recentlyCreatedOwnerStacks=0,PS=t),zu.discardPendingWarnings(),n}function Jd(e,t){et=null,J.H=lv,J.getCurrentStack=null,Di=!1,on=null,t===Wp||t===P0?(t=ll(),Pt=ug):t===iT?(t=ll(),Pt=PT):Pt=t===GT?Kb:t!==null&&typeof t=="object"&&typeof t.then=="function"?lm:ig,fi=t;var n=xt;if(n===null)Da=lg,hc(e,Un(t,e.current));else switch(n.mode&Rn&&Gu(n),Ia(),Pt){case ig:Ee!==null&&typeof Ee.markComponentErrored=="function"&&Ee.markComponentErrored(n,t,At);break;case Uf:case Nf:case ug:case lm:case og:Ee!==null&&typeof Ee.markComponentSuspended=="function"&&Ee.markComponentSuspended(n,t,At)}}function Gy(){var e=J.H;return J.H=lv,e===null?lv:e}function Zy(){var e=J.A;return J.A=mw,e}function $d(){Da=Cf,Jc||(At&4194048)!==At&&Yi.current!==null||(im=!0),($c&134217727)===0&&(Wc&134217727)===0||ra===null||fu(ra,At,di,!1)}function Is(e,t,n){var u=Kt;Kt|=pl;var r=Gy(),c=Zy();if(ra!==e||At!==t){if(Ul){var p=e.memoizedUpdaters;0<p.size&&(ur(e,At),p.clear()),yi(e,t)}cg=null,du(e,t)}bl(t),t=!1,p=Da;e:do try{if(Pt!==kl&&xt!==null){var b=xt,E=fi;switch(Pt){case Kb:Kd(),p=uv;break e;case ug:case Uf:case Nf:case lm:Yi.current===null&&(t=!0);var R=Pt;if(Pt=kl,fi=null,ir(e,b,E,R),n&&im){p=xr;break e}break;default:R=Pt,Pt=kl,fi=null,ir(e,b,E,R)}}Wd(),p=Da;break}catch($){Jd(e,$)}while(!0);return t&&e.shellSuspendCounter++,yd(),Kt=u,J.H=r,J.A=c,$i(),xt===null&&(ra=null,At=0,od()),p}function Wd(){for(;xt!==null;)Fd(xt)}function Xy(e,t){var n=Kt;Kt|=pl;var u=Gy(),r=Zy();if(ra!==e||At!==t){if(Ul){var c=e.memoizedUpdaters;0<c.size&&(ur(e,At),c.clear()),yi(e,t)}cg=null,rv=ln()+tx,du(e,t)}else im=Sl(e,t);bl(t);e:do try{if(Pt!==kl&&xt!==null)t:switch(t=xt,c=fi,Pt){case ig:Pt=kl,fi=null,ir(e,t,c,ig);break;case Uf:case Nf:if(bd(c)){Pt=kl,fi=null,Ps(t);break}t=function(){Pt!==Uf&&Pt!==Nf||ra!==e||(Pt=og),Dl(e)},c.then(t,t);break e;case ug:Pt=og;break e;case PT:Pt=Qb;break e;case og:bd(c)?(Pt=kl,fi=null,Ps(t)):(Pt=kl,fi=null,ir(e,t,c,og));break;case Qb:var p=null;switch(xt.tag){case 26:p=xt.memoizedState;case 5:case 27:var b=xt;if(!p||hp(p)){Pt=kl,fi=null;var E=b.sibling;if(E!==null)xt=E;else{var R=b.return;R!==null?(xt=R,Tc(R)):xt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Pt=kl,fi=null,ir(e,t,c,Qb);break;case lm:Pt=kl,fi=null,ir(e,t,c,lm);break;case Kb:Kd(),Da=uv;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}J.actQueue!==null?Wd():f0();break}catch($){Jd(e,$)}while(!0);return yd(),J.H=u,J.A=r,Kt=n,xt!==null?(Ee!==null&&typeof Ee.markRenderYielded=="function"&&Ee.markRenderYielded(),xr):($i(),ra=null,At=0,od(),Da)}function f0(){for(;xt!==null&&!hb();)Fd(xt)}function Fd(e){var t=e.alternate;(e.mode&Rn)!==fa?(tu(e),t=ke(e,Iu,t,e,Eo),Gu(e)):t=ke(e,Iu,t,e,Eo),e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Ps(e){var t=ke(e,Qy,e);e.memoizedProps=e.pendingProps,t===null?Tc(e):xt=t}function Qy(e){var t=e.alternate,n=(e.mode&Rn)!==fa;switch(n&&tu(e),e.tag){case 15:case 0:t=py(t,e,e.pendingProps,e.type,void 0,At);break;case 11:t=py(t,e,e.pendingProps,e.type.render,e.ref,At);break;case 5:Kl(e);default:Ay(t,e),e=xt=Xm(e,Eo),t=Iu(t,e,Eo)}return n&&Gu(e),t}function ir(e,t,n,u){yd(),Kl(t),Wh=null,eg=0;var r=t.return;try{if(Hd(e,r,t,n,At)){Da=lg,hc(e,Un(n,e.current)),xt=null;return}}catch(c){if(r!==null)throw xt=r,c;Da=lg,hc(e,Un(n,e.current)),xt=null;return}t.flags&32768?(kt||u===ig?e=!0:im||(At&536870912)!==0?e=!1:(Jc=e=!0,(u===Uf||u===Nf||u===ug||u===lm)&&(u=Yi.current,u!==null&&u.tag===13&&(u.flags|=16384))),Ky(t,e)):Tc(t)}function Tc(e){var t=e;do{if((t.flags&32768)!==0){Ky(t,Jc);return}var n=t.alternate;if(e=t.return,tu(t),n=ke(t,a0,n,t,Eo),(t.mode&Rn)!==fa&&gd(t),n!==null){xt=n;return}if(t=t.sibling,t!==null){xt=t;return}xt=t=e}while(t!==null);Da===xr&&(Da=IT)}function Ky(e,t){do{var n=n0(e.alternate,e);if(n!==null){n.flags&=32767,xt=n;return}if((e.mode&Rn)!==fa){gd(e),n=e.actualDuration;for(var u=e.child;u!==null;)n+=u.actualDuration,u=u.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){xt=e;return}xt=e=n}while(e!==null);Da=uv,xt=null}function ti(e,t,n,u,r,c,p,b,E){e.cancelPendingCommit=null;do eo();while(zn!==kf);if(zu.flushLegacyContextWarning(),zu.flushPendingUnsafeLifecycleWarnings(),(Kt&(pl|Cu))!==si)throw Error("Should not already be working.");if(Ee!==null&&typeof Ee.markCommitStarted=="function"&&Ee.markCommitStarted(n),t===null)Dt();else{if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(c=t.lanes|t.childLanes,c|=_b,me(e,n,c,p,b,E),e===ra&&(xt=ra=null,At=0),um=t,Ic=e,Pc=n,Ib=c,Pb=r,ix=u,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,y0(jc,function(){return xc(),null})):(e.callbackNode=null,e.callbackPriority=0),$0=Xh(),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null,r=Lt.p,Lt.p=dl,p=Kt,Kt|=Cu;try{o0(e,t,n)}finally{Kt=p,Lt.p=r,J.T=u}}zn=ax,Id(),d0(),Jy()}}function Id(){if(zn===ax){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{tm=n,am=e,Uy(t,e),am=tm=null,n=s1;var p=Jg(e.containerInfo),b=n.focusedElem,E=n.selectionRange;if(p!==b&&b&&b.ownerDocument&&Kg(b.ownerDocument.documentElement,b)){if(E!==null&&Ym(b)){var R=E.start,$=E.end;if($===void 0&&($=R),"selectionStart"in b)b.selectionStart=R,b.selectionEnd=Math.min($,b.value.length);else{var P=b.ownerDocument||document,K=P&&P.defaultView||window;if(K.getSelection){var te=K.getSelection(),Ue=b.textContent.length,We=Math.min(E.start,Ue),ca=E.end===void 0?We:Math.min(E.end,Ue);!te.extend&&We>ca&&(p=ca,ca=We,We=p);var zt=Qg(b,We),D=Qg(b,ca);if(zt&&D&&(te.rangeCount!==1||te.anchorNode!==zt.node||te.anchorOffset!==zt.offset||te.focusNode!==D.node||te.focusOffset!==D.offset)){var M=P.createRange();M.setStart(zt.node,zt.offset),te.removeAllRanges(),We>ca?(te.addRange(M),te.extend(D.node,D.offset)):(M.setEnd(D.node,D.offset),te.addRange(M))}}}}for(P=[],te=b;te=te.parentNode;)te.nodeType===1&&P.push({element:te,left:te.scrollLeft,top:te.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<P.length;b++){var N=P[b];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}_v=!!c1,s1=c1=null}finally{Kt=c,Lt.p=r,J.T=u}}e.current=t,zn=nx}}function d0(){if(zn===nx){zn=kf;var e=Ic,t=um,n=Pc,u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=J.T,J.T=null;var r=Lt.p;Lt.p=dl;var c=Kt;Kt|=Cu;try{Ee!==null&&typeof Ee.markLayoutEffectsStarted=="function"&&Ee.markLayoutEffectsStarted(n),tm=n,am=e,Cy(e,t.alternate,t),am=tm=null,Ee!==null&&typeof Ee.markLayoutEffectsStopped=="function"&&Ee.markLayoutEffectsStopped()}finally{Kt=c,Lt.p=r,J.T=u}}zn=lx}}function Jy(){if(zn===Sw||zn===lx){zn=kf,mb();var e=Ic,t=um,n=Pc,u=ix,r=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;r?zn=Fb:(zn=kf,um=Ic=null,$y(e,e.pendingLanes),jf=0,fg=null);var c=e.pendingLanes;if(c===0&&(Fc=null),r||ai(e),r=Sn(n),t=t.stateNode,un&&typeof un.onCommitFiberRoot=="function")try{var p=(t.current.flags&128)===128;switch(r){case dl:var b=mf;break;case zi:b=Sp;break;case wu:b=jc;break;case wh:b=xp;break;default:b=jc}un.onCommitFiberRoot(hr,t,b,p)}catch(P){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",P))}if(Ul&&e.memoizedUpdaters.clear(),c0(),u!==null){p=J.T,b=Lt.p,Lt.p=dl,J.T=null;try{var E=e.onRecoverableError;for(t=0;t<u.length;t++){var R=u[t],$=hu(R.stack);ke(R.source,E,R.value,$)}}finally{J.T=p,Lt.p=b}}(Pc&3)!==0&&eo(),Dl(e),c=e.pendingLanes,(n&4194090)!==0&&(c&42)!==0?(F0=!0,e===e1?sg++:(sg=0,e1=e)):sg=0,ao(0),Dt()}}function hu(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function $y(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Xo(t)))}function eo(e){return Id(),d0(),Jy(),xc()}function xc(){if(zn!==Fb)return!1;var e=Ic,t=Ib;Ib=0;var n=Sn(Pc),u=wu>n?wu:n;n=J.T;var r=Lt.p;try{Lt.p=u,J.T=null,u=Pb,Pb=null;var c=Ic,p=Pc;if(zn=kf,um=Ic=null,Pc=0,(Kt&(pl|Cu))!==si)throw Error("Cannot flush passive effects while already rendering.");t1=!0,cv=!1,Ee!==null&&typeof Ee.markPassiveEffectsStarted=="function"&&Ee.markPassiveEffectsStarted(p);var b=Kt;if(Kt|=Cu,By(c.current),Xd(c,c.current,p,u),Ee!==null&&typeof Ee.markPassiveEffectsStopped=="function"&&Ee.markPassiveEffectsStopped(),ai(c),Kt=b,ao(0,!1),cv?c===fg?jf++:(jf=0,fg=c):jf=0,cv=t1=!1,un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(hr,c)}catch(R){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",R))}var E=c.current.stateNode;return E.effectDuration=0,E.passiveEffectDuration=0,!0}finally{Lt.p=r,J.T=n,$y(e,t)}}function sa(e,t,n){t=Un(n,t),t=ga(e.stateNode,t,2),e=Zl(e,t,2),e!==null&&(pe(e,2),Dl(e))}function $t(e,t,n){if(om=!1,e.tag===3)sa(e,e,n);else{for(;t!==null;){if(t.tag===3){sa(t,e,n);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Fc===null||!Fc.has(u))){e=Un(n,e),n=Vs(2),u=Zl(t,n,2),u!==null&&(Po(n,u,t,e),pe(u,2),Dl(u));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
244
244
|
|
|
245
245
|
Error message:
|
|
246
246
|
|
|
247
|
-
%s`,n)}}function Wy(e,t,n){var u=e.pingCache;if(u===null){u=e.pingCache=new
|
|
247
|
+
%s`,n)}}function Wy(e,t,n){var u=e.pingCache;if(u===null){u=e.pingCache=new pw;var r=new Set;u.set(t,r)}else r=u.get(t),r===void 0&&(r=new Set,u.set(t,r));r.has(n)||(Jb=!0,r.add(n),u=h0.bind(null,e,t,n),Ul&&ur(e,n),t.then(u,u))}function h0(e,t,n){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ly()&&J.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
248
248
|
|
|
249
249
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
250
250
|
|
|
@@ -253,7 +253,7 @@ act(() => {
|
|
|
253
253
|
});
|
|
254
254
|
/* assert on the output */
|
|
255
255
|
|
|
256
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ra===e&&(At&n)===n&&(Da===Cf||Da===Xb&&(At&62914560)===At&&ln()-Wb<ex?(Kt&pl)===si&&du(e,0):$b|=n,Hf===At&&(Hf=0)),Dl(e)}function Ec(e,t){t===0&&(t=ne()),e=Nn(e,t),e!==null&&(pe(e,t),Dl(e))}function to(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ec(e,n)}function m0(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),Ec(e,n)}function Pd(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,r=t,c=r.type===fr;c=n||c,r.tag!==22?r.flags&67108864?c&&ke(r,_c,u,r,(r.mode&WS)===fa):Pd(u,r,c):r.memoizedState===null&&(c&&r.flags&8192?ke(r,_c,u,r):r.subtreeFlags&67108864&&ke(r,Pd,u,r,c)),t=t.sibling}}function _c(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;$e(!0);try{Pl(t),n&&Vy(t),Hy(e,t.alternate,t,!1),n&&ky(e,t,0,null,!1,0)}finally{$e(!1)}}function ai(e){var t=!0;e.current.mode&(In|Ou)||(t=!1),Pd(e,e.current,t)}function Fy(e){if((Kt&pl)===si){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=Ae(e)||"ReactComponent",sv!==null){if(sv.has(t))return;sv.add(t)}else sv=new Set([t]);ke(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function ur(e,t){Ul&&e.memoizedUpdaters.forEach(function(n){Gt(e,n,t)})}function y0(e,t){var n=J.actQueue;return n!==null?(n.push(t),
|
|
256
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ra===e&&(At&n)===n&&(Da===Cf||Da===Xb&&(At&62914560)===At&&ln()-Wb<ex?(Kt&pl)===si&&du(e,0):$b|=n,Hf===At&&(Hf=0)),Dl(e)}function Ec(e,t){t===0&&(t=ne()),e=Nn(e,t),e!==null&&(pe(e,t),Dl(e))}function to(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ec(e,n)}function m0(e,t){var n=0;switch(e.tag){case 13:var u=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),Ec(e,n)}function Pd(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,r=t,c=r.type===fr;c=n||c,r.tag!==22?r.flags&67108864?c&&ke(r,_c,u,r,(r.mode&WS)===fa):Pd(u,r,c):r.memoizedState===null&&(c&&r.flags&8192?ke(r,_c,u,r):r.subtreeFlags&67108864&&ke(r,Pd,u,r,c)),t=t.sibling}}function _c(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;$e(!0);try{Pl(t),n&&Vy(t),Hy(e,t.alternate,t,!1),n&&ky(e,t,0,null,!1,0)}finally{$e(!1)}}function ai(e){var t=!0;e.current.mode&(In|Ou)||(t=!1),Pd(e,e.current,t)}function Fy(e){if((Kt&pl)===si){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=Ae(e)||"ReactComponent",sv!==null){if(sv.has(t))return;sv.add(t)}else sv=new Set([t]);ke(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function ur(e,t){Ul&&e.memoizedUpdaters.forEach(function(n){Gt(e,n,t)})}function y0(e,t){var n=J.actQueue;return n!==null?(n.push(t),Ew):bp(e,t)}function Iy(e){Ly()&&J.actQueue===null&&ke(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
257
257
|
|
|
258
258
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
259
259
|
|
|
@@ -262,16 +262,16 @@ act(() => {
|
|
|
262
262
|
});
|
|
263
263
|
/* assert on the output */
|
|
264
264
|
|
|
265
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,Ae(e))})}function Dl(e){e!==rm&&e.next===null&&(rm===null?fv=rm=e:rm=rm.next=e),dv=!0,J.actQueue!==null?n1||(n1=!0,g0()):a1||(a1=!0,g0())}function ao(e,t){if(!l1&&dv){l1=!0;do for(var n=!1,u=fv;u!==null;){if(e!==0){var r=u.pendingLanes;if(r===0)var c=0;else{var p=u.suspendedLanes,b=u.pingedLanes;c=(1<<31-Ka(42|e)+1)-1,c&=r&~(p&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Py(u,c))}else c=At,c=mi(u,u===ra?c:0,u.cancelPendingCommit!==null||u.timeoutHandle!==Lf),(c&3)===0||Sl(u,c)||(n=!0,Py(u,c));u=u.next}while(n);l1=!1}}function p0(){ni()}function ni(){dv=n1=a1=!1;var e=0;Bf!==0&&(ip()&&(e=Bf),Bf=0);for(var t=ln(),n=null,u=fv;u!==null;){var r=u.next,c=va(u,t);c===0?(u.next=null,n===null?fv=r:n.next=r,r===null&&(rm=n)):(n=u,(e!==0||(c&3)!==0)&&(dv=!0)),u=r}ao(e)}function va(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-Ka(c),b=1<<p,E=r[p];E===-1?((b&n)===0||(b&u)!==0)&&(r[p]=U(b,t)):E<=t&&(e.expiredLanes|=b),c&=~b}if(t=ra,n=At,n=mi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u=e.callbackNode,n===0||e===t&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)return u!==null&&Oa(u),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Sl(e,n)){if(t=n&-n,t!==e.callbackPriority||J.actQueue!==null&&u!==i1)Oa(u);else return t;switch(Sn(n)){case dl:case zi:n=Sp;break;case wu:n=jc;break;case wh:n=xp;break;default:n=jc}return u=eh.bind(null,e),J.actQueue!==null?(J.actQueue.push(u),n=i1):n=bp(n,u),e.callbackPriority=t,e.callbackNode=n,t}return u!==null&&Oa(u),e.callbackPriority=2,e.callbackNode=null,2}function eh(e,t){if(F0=W0=!1,zn!==kf&&zn!==Fb)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(eo()&&e.callbackNode!==n)return null;var u=At;return u=mi(e,e===ra?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u===0?null:(Xa(e,u,t),va(e,ln()),e.callbackNode!=null&&e.callbackNode===n?eh.bind(null,e):null)}function Py(e,t){if(eo())return null;W0=F0,F0=!1,Xa(e,t,!0)}function Oa(e){e!==i1&&e!==null&&U0(e)}function g0(){J.actQueue!==null&&J.actQueue.push(function(){return ni(),null}),U4(function(){(Kt&(pl|Cu))!==si?bp(mf,p0):ni()})}function th(){return Bf===0&&(Bf=k()),Bf}function ep(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ee(e,"action"),Ii(""+e))}function ua(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Xn(e,t,n,u,r){if(t==="submit"&&n&&n.stateNode===r){var c=ep((r[Fn]||null).action),p=u.submitter;p&&(t=(t=p[Fn]||null)?ep(t.formAction):p.getAttribute("formAction"),t!==null&&(c=t,p=null));var b=new qt("action","action",null,u,r);e.push({event:b,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Bf!==0){var E=p?ua(r,p):new FormData(r),R={pending:!0,data:E,method:r.method,action:c};Object.freeze(R),Od(n,R,null,E)}}else typeof c=="function"&&(b.preventDefault(),E=p?ua(r,p):new FormData(r),R={pending:!0,data:E,method:r.method,action:c},Object.freeze(R),Od(n,R,c,E))},currentTarget:r}]})}}function Ml(e,t,n){e.currentTarget=n;try{t(e)}catch(u){Lb(u)}e.currentTarget=null}function tp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var u=e[n];e:{var r=void 0,c=u.event;if(u=u.listeners,t)for(var p=u.length-1;0<=p;p--){var b=u[p],E=b.instance,R=b.currentTarget;if(b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?ke(E,Ml,c,b,R):Ml(c,b,R),r=E}else for(p=0;p<u.length;p++){if(b=u[p],E=b.instance,R=b.currentTarget,b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?ke(E,Ml,c,b,R):Ml(c,b,R),r=E}}}}function St(e,t){u1.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Ah];n===void 0&&(n=t[Ah]=new Set);var u=e+"__bubble";n.has(u)||(Qn(t,e,2,!1),n.add(u))}function ap(e,t,n){u1.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),Qn(n,e,u,t)}function ef(e){if(!e[hv]){e[hv]=!0,mr.forEach(function(n){n!=="selectionchange"&&(u1.has(n)||ap(n,!1,e),ap(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hv]||(t[hv]=!0,ap("selectionchange",!1,t))}}function Qn(e,t,n,u){switch(fo(t)){case dl:var r=mh;break;case zi:r=Uc;break;default:r=of}n=r.bind(null,t,n,e),r=void 0,!le||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),u?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function rl(e,t,n,u,r){var c=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var p=u.tag;if(p===3||p===4){var b=u.stateNode.containerInfo;if(b===r)break;if(p===4)for(p=u.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===r)return;p=p.return}for(;b!==null;){if(p=Na(b),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){u=c=p;continue e}b=b.parentNode}}u=u.return}Gr(function(){var R=c,$=Vl(n),P=[];e:{var K=$S.get(e);if(K!==void 0){var te=qt,Ue=e;switch(e){case"keypress":if(ko(n)===0)break e;case"keydown":case"keyup":te=L_;break;case"focusin":Ue="focus",te=Ui;break;case"focusout":Ue="blur",te=Ui;break;case"beforeblur":case"afterblur":te=Ui;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":te=qe;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=$a;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=G_;break;case XS:case QS:case KS:te=M_;break;case JS:te=X_;break;case"scroll":case"scrollend":te=H;break;case"wheel":te=K_;break;case"copy":case"cut":case"paste":te=U_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=jS;break;case"toggle":case"beforetoggle":te=$_}var We=(t&4)!==0,ca=!We&&(e==="scroll"||e==="scrollend"),zt=We?K!==null?K+"Capture":null:K;We=[];for(var D=R,M;D!==null;){var N=D;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||zt===null||(N=xl(D,zt),N!=null&&We.push(wc(D,N,M))),ca)break;D=D.return}0<We.length&&(K=new te(K,Ue,null,n,$),P.push({event:K,listeners:We}))}}if((t&7)===0){e:{if(K=e==="mouseover"||e==="pointerover",te=e==="mouseout"||e==="pointerout",K&&n!==m&&(Ue=n.relatedTarget||n.fromElement)&&(Na(Ue)||Ue[go]))break e;if((te||K)&&(K=$.window===$?$:(K=$.ownerDocument)?K.defaultView||K.parentWindow:window,te?(Ue=n.relatedTarget||n.toElement,te=R,Ue=Ue?Na(Ue):null,Ue!==null&&(ca=_e(Ue),We=Ue.tag,Ue!==ca||We!==5&&We!==27&&We!==6)&&(Ue=null)):(te=null,Ue=R),te!==Ue)){if(We=qe,N="onMouseLeave",zt="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(We=jS,N="onPointerLeave",zt="onPointerEnter",D="pointer"),ca=te==null?K:Cn(te),M=Ue==null?K:Cn(Ue),K=new We(N,D+"leave",te,n,$),K.target=ca,K.relatedTarget=M,N=null,Na($)===R&&(We=new We(zt,D+"enter",Ue,n,$),We.target=M,We.relatedTarget=ca,N=We),ca=N,te&&Ue)t:{for(We=te,zt=Ue,D=0,M=We;M;M=or(M))D++;for(M=0,N=zt;N;N=or(N))M++;for(;0<D-M;)We=or(We),D--;for(;0<M-D;)zt=or(zt),M--;for(;D--;){if(We===zt||zt!==null&&We===zt.alternate)break t;We=or(We),zt=or(zt)}We=null}else We=null;te!==null&&mu(P,K,te,We,!1),Ue!==null&&ca!==null&&mu(P,ca,Ue,We,!0)}}e:{if(K=R?Cn(R):window,te=K.nodeName&&K.nodeName.toLowerCase(),te==="select"||te==="input"&&K.type==="file")var ae=Gg;else if(ld(K))if(GS)ae=tb;else{ae=Pv;var Se=Lm}else te=K.nodeName,!te||te.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?R&&No(R.elementType)&&(ae=Gg):ae=eb;if(ae&&(ae=ae(e,R))){Zr(P,ae,n,$);break e}Se&&Se(e,K,R),e==="focusout"&&R&&K.type==="number"&&R.memoizedProps.value!=null&&Wf(K,"number",K.value)}switch(Se=R?Cn(R):window,e){case"focusin":(ld(Se)||Se.contentEditable==="true")&&(jh=Se,bb=R,Yp=null);break;case"focusout":Yp=bb=jh=null;break;case"mousedown":Sb=!0;break;case"contextmenu":case"mouseup":case"dragend":Sb=!1,ud(P,n,$);break;case"selectionchange":if(P_)break;case"keydown":case"keyup":ud(P,n,$)}var ot;if(vb)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else kh?Vu(e,n)&&(Ne="onCompositionEnd"):e==="keydown"&&n.keyCode===BS&&(Ne="onCompositionStart");Ne&&(VS&&n.locale!=="ko"&&(kh||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&kh&&(ot=nd()):(Q=$,F="value"in Q?Q.value:Q.textContent,kh=!0)),Se=yn(R,Ne),0<Se.length&&(Ne=new kS(Ne,e,null,n,$),P.push({event:Ne,listeners:Se}),ot?Ne.data=ot:(ot=ys(n),ot!==null&&(Ne.data=ot)))),(ot=F_?ps(e,n):Iv(e,n))&&(Ne=yn(R,"onBeforeInput"),0<Ne.length&&(Se=new H_("onBeforeInput","beforeinput",null,n,$),P.push({event:Se,listeners:Ne}),Se.data=ot)),Xn(P,e,R,n,$)}tp(P,t)})}function wc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yn(e,t){for(var n=t+"Capture",u=[];e!==null;){var r=e,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=xl(e,n),r!=null&&u.unshift(wc(e,r,c)),r=xl(e,t),r!=null&&u.push(wc(e,r,c))),e.tag===3)return u;e=e.return}return[]}function or(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mu(e,t,n,u,r){for(var c=t._reactName,p=[];n!==null&&n!==u;){var b=n,E=b.alternate,R=b.stateNode;if(b=b.tag,E!==null&&E===u)break;b!==5&&b!==26&&b!==27||R===null||(E=R,r?(R=xl(n,c),R!=null&&p.unshift(wc(n,R,E))):r||(R=xl(n,c),R!=null&&p.push(wc(n,R,E)))),n=n.return}p.length!==0&&e.push({event:t,listeners:p})}function yu(e,t){Lg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Z0||(Z0=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:ri,possibleRegistrationNames:Rh};No(e)||typeof t.is=="string"||qg(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function oa(e,t,n,u){t!==n&&(n=pu(n),pu(t)!==n&&(u[e]=t))}function np(e,t,n){t.forEach(function(u){n[Ac(u)]=u==="style"?ah(e):e.getAttribute(u)})}function Cl(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function li(e,t){return e=e.namespaceURI===Uh||e.namespaceURI===Ru?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function pu(e){return C(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",O(e)),ie(e)),(typeof e=="string"?e:""+e).replace(_4,`
|
|
266
|
-
`).replace(w4,"")}function rr(e,t){return t=pu(t),pu(e)===t}function no(){}function Ut(e,t,n,u,r,c){switch(n){case"children":typeof u=="string"?(qr(u,t,!1),t==="body"||t==="textarea"&&u===""||fs(e,u)):(typeof u=="number"||typeof u=="bigint")&&(qr(""+u,t,!1),t!=="body"&&fs(e,""+u));break;case"className":Ie(e,"class",u);break;case"tabIndex":Ie(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ie(e,n,u);break;case"style":td(e,u,c);break;case"data":if(t!=="object"){Ie(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(r.encType==null&&r.method==null||pv||(pv=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),r.target==null||yv||(yv=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||r.type==="submit"||r.type==="image"||mv?t!=="button"||r.type==null||r.type==="submit"||mv?typeof u=="function"&&(r.name==null||sx||(sx=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),r.formEncType==null&&r.formMethod==null||pv||(pv=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),r.formTarget==null||yv||(yv=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(mv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(mv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(t!=="input"&&Ut(e,t,"name",r.name,r,null),Ut(e,t,"formEncType",r.formEncType,r,null),Ut(e,t,"formMethod",r.formMethod,r,null),Ut(e,t,"formTarget",r.formTarget,r,null)):(Ut(e,t,"encType",r.encType,r,null),Ut(e,t,"method",r.method,r,null),Ut(e,t,"target",r.target,r,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}ee(u,n),n=Ii(""+u),e.setAttributeNS(Vf,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,""+u)):e.removeAttribute(n);break;case"inert":u!==""||gv[n]||(gv[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":u===!0?e.setAttribute(n,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(n):(ee(u,n),e.setAttribute(n,u));break;case"popover":St("beforetoggle",e),St("toggle",e),Ot(e,"popover",u);break;case"xlinkActuate":_a(e,Vf,"xlink:actuate",u);break;case"xlinkArcrole":_a(e,Vf,"xlink:arcrole",u);break;case"xlinkRole":_a(e,Vf,"xlink:role",u);break;case"xlinkShow":_a(e,Vf,"xlink:show",u);break;case"xlinkTitle":_a(e,Vf,"xlink:title",u);break;case"xlinkType":_a(e,Vf,"xlink:type",u);break;case"xmlBase":_a(e,o1,"xml:base",u);break;case"xmlLang":_a(e,o1,"xml:lang",u);break;case"xmlSpace":_a(e,o1,"xml:space",u);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ot(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":fx||u==null||typeof u!="object"||(fx=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Ho(n),Ot(e,n,u)):ri.hasOwnProperty(n)&&u!=null&&typeof u!="function"&&Cl(n,u)}}function lo(e,t,n,u,r,c){switch(n){case"style":td(e,u,c);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof u=="string"?fs(e,u):(typeof u=="number"||typeof u=="bigint")&&fs(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ri.hasOwnProperty(n))u!=null&&typeof u!="function"&&Cl(n,u);else e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),c=e[Fn]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,r),typeof u=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,u,r);break e}n in e?e[n]=u:u===!0?e.setAttribute(n,""):Ot(e,n,u)}}}function Qa(e,t,n){switch(yu(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",e),St("load",e);var u=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var p=n[c];if(p!=null)switch(c){case"src":u=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,c,p,n,null)}}r&&Ut(e,t,"srcSet",n.srcSet,n,null),u&&Ut(e,t,"src",n.src,n,null);return;case"input":Me("input",n),St("invalid",e);var b=c=p=r=null,E=null,R=null;for(u in n)if(n.hasOwnProperty(u)){var $=n[u];if($!=null)switch(u){case"name":r=$;break;case"type":p=$;break;case"checked":E=$;break;case"defaultChecked":R=$;break;case"value":c=$;break;case"defaultValue":b=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,u,$,n,null)}}Mo(e,n),Dm(e,c,b,E,R,p,r,!1),Ta(e);return;case"select":Me("select",n),St("invalid",e),u=p=c=null;for(r in n)if(n.hasOwnProperty(r)&&(b=n[r],b!=null))switch(r){case"value":c=b;break;case"defaultValue":p=b;break;case"multiple":u=b;default:Ut(e,t,r,b,n,null)}vi(e,n),t=c,n=p,e.multiple=!!u,t!=null?Wi(e,!!u,t,!1):n!=null&&Wi(e,!!u,n,!0);return;case"textarea":Me("textarea",n),St("invalid",e),c=r=u=null;for(p in n)if(n.hasOwnProperty(p)&&(b=n[p],b!=null))switch(p){case"value":u=b;break;case"defaultValue":r=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,p,b,n,null)}Ff(e,n),Co(e,u,r,c),Ta(e);return;case"option":Vg(e,n);for(E in n)if(n.hasOwnProperty(E)&&(u=n[E],u!=null))switch(E){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Ut(e,t,E,u,n,null)}return;case"dialog":St("beforetoggle",e),St("toggle",e),St("cancel",e),St("close",e);break;case"iframe":case"object":St("load",e);break;case"video":case"audio":for(u=0;u<dg.length;u++)St(dg[u],e);break;case"image":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"embed":case"source":case"link":St("error",e),St("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(R in n)if(n.hasOwnProperty(R)&&(u=n[R],u!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,R,u,n,null)}return;default:if(No(t)){for($ in n)n.hasOwnProperty($)&&(u=n[$],u!==void 0&&lo(e,t,$,u,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(u=n[b],u!=null&&Ut(e,t,b,u,n,null))}function v0(e,t,n,u){switch(yu(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,p=null,b=null,E=null,R=null,$=null;for(te in n){var P=n[te];if(n.hasOwnProperty(te)&&P!=null)switch(te){case"checked":break;case"value":break;case"defaultValue":E=P;default:u.hasOwnProperty(te)||Ut(e,t,te,null,u,P)}}for(var K in u){var te=u[K];if(P=n[K],u.hasOwnProperty(K)&&(te!=null||P!=null))switch(K){case"type":c=te;break;case"name":r=te;break;case"checked":R=te;break;case"defaultChecked":$=te;break;case"value":p=te;break;case"defaultValue":b=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:te!==P&&Ut(e,t,K,te,u,P)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||cx||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),cx=!0),!t||u||rx||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),rx=!0),zm(e,p,b,E,R,$,c,r);return;case"select":te=p=b=K=null;for(c in n)if(E=n[c],n.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":te=E;default:u.hasOwnProperty(c)||Ut(e,t,c,null,u,E)}for(r in u)if(c=u[r],E=n[r],u.hasOwnProperty(r)&&(c!=null||E!=null))switch(r){case"value":K=c;break;case"defaultValue":b=c;break;case"multiple":p=c;default:c!==E&&Ut(e,t,r,c,u,E)}u=b,t=p,n=te,K!=null?Wi(e,!!t,K,!1):!!n!=!!t&&(u!=null?Wi(e,!!t,u,!0):Wi(e,!!t,t?[]:"",!1));return;case"textarea":te=K=null;for(b in n)if(r=n[b],n.hasOwnProperty(b)&&r!=null&&!u.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ut(e,t,b,null,u,r)}for(p in u)if(r=u[p],c=n[p],u.hasOwnProperty(p)&&(r!=null||c!=null))switch(p){case"value":K=r;break;case"defaultValue":te=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==c&&Ut(e,t,p,r,u,c)}Mm(e,K,te);return;case"option":for(var Ue in n)if(K=n[Ue],n.hasOwnProperty(Ue)&&K!=null&&!u.hasOwnProperty(Ue))switch(Ue){case"selected":e.selected=!1;break;default:Ut(e,t,Ue,null,u,K)}for(E in u)if(K=u[E],te=n[E],u.hasOwnProperty(E)&&K!==te&&(K!=null||te!=null))switch(E){case"selected":e.selected=K&&typeof K!="function"&&typeof K!="symbol";break;default:Ut(e,t,E,K,u,te)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var We in n)K=n[We],n.hasOwnProperty(We)&&K!=null&&!u.hasOwnProperty(We)&&Ut(e,t,We,null,u,K);for(R in u)if(K=u[R],te=n[R],u.hasOwnProperty(R)&&K!==te&&(K!=null||te!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,R,K,u,te)}return;default:if(No(t)){for(var ca in n)K=n[ca],n.hasOwnProperty(ca)&&K!==void 0&&!u.hasOwnProperty(ca)&&lo(e,t,ca,void 0,u,K);for($ in u)K=u[$],te=n[$],!u.hasOwnProperty($)||K===te||K===void 0&&te===void 0||lo(e,t,$,K,u,te);return}}for(var zt in n)K=n[zt],n.hasOwnProperty(zt)&&K!=null&&!u.hasOwnProperty(zt)&&Ut(e,t,zt,null,u,K);for(P in u)K=u[P],te=n[P],!u.hasOwnProperty(P)||K===te||K==null&&te==null||Ut(e,t,P,K,u,te)}function Ac(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function ah(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var u=e[n];t[u]=e.getPropertyValue(u)}return t}function tf(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var u,r=u="",c;for(c in t)if(t.hasOwnProperty(c)){var p=t[c];p!=null&&typeof p!="boolean"&&p!==""&&(c.indexOf("--")===0?(Te(p,c),u+=r+c+":"+(""+p).trim()):typeof p!="number"||p===0||Bp.has(c)?(Te(p,c),u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+(""+p).trim()):u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+p+"px",r=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=pu(u),pu(t)!==u&&(n.style=ah(e)))}}function cl(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),e===""+u)return}oa(t,e,u,c)}function b0(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}oa(t,e,u,c)}function lp(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(ee(u,n),e===""+u)return}oa(t,e,u,c)}function Xt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(ee(u,t),e===""+u))return}oa(t,e,u,c)}function Wt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),n=Ii(""+u),e===n)return}oa(t,e,u,c)}function Tt(e,t,n,u){for(var r={},c=new Set,p=e.attributes,b=0;b<p.length;b++)switch(p[b].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(p[b].name)}if(No(t)){for(var E in n)if(n.hasOwnProperty(E)){var R=n[E];if(R!=null){if(ri.hasOwnProperty(E))typeof R!="function"&&Cl(E,R);else if(n.suppressHydrationWarning!==!0)switch(E){case"children":typeof R!="string"&&typeof R!="number"||oa("children",e.textContent,R,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,R=R?R.__html:void 0,R!=null&&(R=li(e,R),oa(E,p,R,r));continue;case"style":c.delete(E),tf(e,R,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":c.delete("class"),p=tt(e,"class",R),oa("className",p,R,r);continue;default:u.context===_r&&t!=="svg"&&t!=="math"?c.delete(E.toLowerCase()):c.delete(E),p=tt(e,E,R),oa(E,p,R,r)}}}}else for(R in n)if(n.hasOwnProperty(R)&&(E=n[R],E!=null)){if(ri.hasOwnProperty(R))typeof E!="function"&&Cl(R,E);else if(n.suppressHydrationWarning!==!0)switch(R){case"children":typeof E!="string"&&typeof E!="number"||oa("children",e.textContent,E,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=li(e,E),p!==E&&(r[R]={__html:p}));continue;case"className":cl(e,R,"class",E,c,r);continue;case"tabIndex":cl(e,R,"tabindex",E,c,r);continue;case"style":c.delete(R),tf(e,E,r);continue;case"multiple":c.delete(R),oa(R,e.multiple,E,r);continue;case"muted":c.delete(R),oa(R,e.muted,E,r);continue;case"autoFocus":c.delete("autofocus"),oa(R,e.autofocus,E,r);continue;case"data":if(t!=="object"){c.delete(R),p=e.getAttribute("data"),oa(R,p,E,r);continue}case"src":case"href":if(!(E!==""||t==="a"&&R==="href"||t==="object"&&R==="data")){console.error(R==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',R,R);continue}Wt(e,R,R,E,c,r);continue;case"action":case"formAction":if(p=e.getAttribute(R),typeof E=="function"){c.delete(R.toLowerCase()),R==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(p===A4){c.delete(R.toLowerCase()),oa(R,"function",E,r);continue}Wt(e,R,R.toLowerCase(),E,c,r);continue;case"xlinkHref":Wt(e,R,"xlink:href",E,c,r);continue;case"contentEditable":lp(e,R,"contenteditable",E,c,r);continue;case"spellCheck":lp(e,R,"spellcheck",E,c,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":lp(e,R,R,E,c,r);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":b0(e,R,R.toLowerCase(),E,c,r);continue;case"capture":case"download":e:{b=e;var $=p=R,P=r;if(c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&b==="")break e;break;default:if(ee(E,p),b===""+E)break e}oa(p,b,E,P)}continue;case"cols":case"rows":case"size":case"span":e:{if(b=e,$=p=R,P=r,c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ee(E,p),b===""+E))break e}oa(p,b,E,P)}continue;case"rowSpan":Xt(e,R,"rowspan",E,c,r);continue;case"start":Xt(e,R,R,E,c,r);continue;case"xHeight":cl(e,R,"x-height",E,c,r);continue;case"xlinkActuate":cl(e,R,"xlink:actuate",E,c,r);continue;case"xlinkArcrole":cl(e,R,"xlink:arcrole",E,c,r);continue;case"xlinkRole":cl(e,R,"xlink:role",E,c,r);continue;case"xlinkShow":cl(e,R,"xlink:show",E,c,r);continue;case"xlinkTitle":cl(e,R,"xlink:title",E,c,r);continue;case"xlinkType":cl(e,R,"xlink:type",E,c,r);continue;case"xmlBase":cl(e,R,"xml:base",E,c,r);continue;case"xmlLang":cl(e,R,"xml:lang",E,c,r);continue;case"xmlSpace":cl(e,R,"xml:space",E,c,r);continue;case"inert":E!==""||gv[R]||(gv[R]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",R)),b0(e,R,R,E,c,r);continue;default:if(!(2<R.length)||R[0]!=="o"&&R[0]!=="O"||R[1]!=="n"&&R[1]!=="N"){b=Ho(R),p=!1,u.context===_r&&t!=="svg"&&t!=="math"?c.delete(b.toLowerCase()):($=R.toLowerCase(),$=_f.hasOwnProperty($)&&_f[$]||null,$!==null&&$!==R&&(p=!0,c.delete($)),c.delete(b));e:if($=e,P=b,b=E,mt(P))if($.hasAttribute(P))$=$.getAttribute(P),ee(b,P),b=$===""+b?b:$;else{switch(typeof b){case"function":case"symbol":break e;case"boolean":if($=P.toLowerCase().slice(0,5),$!=="data-"&&$!=="aria-")break e}b=b===void 0?void 0:null}else b=void 0;p||oa(R,b,E,r)}}}return 0<c.size&&n.suppressHydrationWarning!==!0&&np(e,c,r),Object.keys(r).length===0?null:r}function Mt(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Nt(e){return e.nodeType===9?e:e.ownerDocument}function Kn(e){switch(e){case Ru:return cm;case Uh:return Sv;default:return _r}}function gu(e,t){if(e===_r)switch(t){case"svg":return cm;case"math":return Sv;default:return _r}return e===cm&&t==="foreignObject"?_r:e}function io(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function ip(){var e=window.event;return e&&e.type==="popstate"?e===f1?!1:(f1=e,!0):(f1=null,!1)}function vu(e){setTimeout(function(){throw e})}function ba(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function uo(e,t,n,u){v0(e,t,n,u),e[Fn]=u}function oo(e){fs(e,"")}function up(e,t,n){e.nodeValue=n}function ja(e){return e==="head"}function Rc(e,t){e.removeChild(t)}function af(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function An(e,t){var n=t,u=0,r=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===8)if(n=c.data,n===bv){if(0<u&&8>u){n=u;var p=e.ownerDocument;if(n&O4&&Dc(p.documentElement),n&z4&&Dc(p.body),n&D4)for(n=p.head,Dc(n),p=n.firstChild;p;){var b=p.nextSibling,E=p.nodeName;p[pf]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&p.rel.toLowerCase()==="stylesheet"||n.removeChild(p),p=b}}if(r===0){e.removeChild(c),Hc(t);return}r--}else n===vv||n===Er||n===hg?r++:u=n.charCodeAt(0)-48;else u=0;n=c}while(n);Hc(t)}function op(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function rp(e){e.nodeValue=""}function nh(e,t){t=t[M4],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function lh(e,t){e.nodeValue=t}function wi(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":wi(n),Tn(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function nn(e,t,n,u){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[pf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ee(r.name,"name");var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Jn(e.nextSibling),e===null)break}return null}function ro(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jn(e.nextSibling),e===null))return null;return e}function co(e){return e.data===hg||e.data===Er&&e.ownerDocument.readyState===hx}function Oc(e,t){var n=e.ownerDocument;if(e.data!==Er||n.readyState===hx)t();else{var u=function(){t(),n.removeEventListener("DOMContentLoaded",u)};n.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Jn(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===vv||t===hg||t===Er||t===r1||t===dx)break;if(t===bv)return null}}return e}function ih(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},u=e.attributes,r=0;r<u.length;r++){var c=u[r];n[Ac(c.name)]=c.name.toLowerCase()==="style"?ah(e):c.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function cp(e,t,n){return n===null||n[R4]!==!0?(e.nodeValue===t?e=null:(t=pu(t),e=pu(e.nodeValue)===t?null:e.nodeValue),e):null}function zc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===bv){if(t===0)return Jn(e.nextSibling);t--}else n!==vv&&n!==hg&&n!==Er||t++}e=e.nextSibling}return null}function uh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===vv||n===hg||n===Er){if(t===0)return e;t--}else n===bv&&t++}e=e.previousSibling}return null}function sl(e){Hc(e)}function S0(e){Hc(e)}function $n(e,t,n,u,r){switch(r&&ed(e,u.ancestorInfo),t=Nt(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function T0(e,t,n,u){if(!n[go]&&Pa(n)){var r=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",r,r,r)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Qa(n,e,t),n[pn]=u,n[Fn]=t}function Dc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tn(e)}function oh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function bu(e,t,n){var u=sm;if(u&&typeof t=="string"&&t){var r=Ga(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),bx.has(r)||(bx.add(r),e={rel:e,crossOrigin:n,href:t},u.querySelector(r)===null&&(t=u.createElement("link"),Qa(t,"link",e),B(t),u.head.appendChild(t)))}}function nf(e,t,n,u){var r=(r=Ri.current)?oh(r):null;if(!r)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=ii(n.href),t=x(r).hoistableStyles,u=t.get(n),u||(u={type:"style",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ii(n.href);var c=x(r).hoistableStyles,p=c.get(e);if(!p&&(r=r.ownerDocument||r,p={type:"stylesheet",instance:null,count:0,state:{loading:qf,preload:null}},c.set(e,p),(c=r.querySelector(Cc(e)))&&!c._p&&(p.instance=c,p.state.loading=mg|Gi),!Zi.has(e))){var b={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Zi.set(e,b),c||x0(r,e,b,p.state)}if(t&&u===null)throw n=`
|
|
265
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,Ae(e))})}function Dl(e){e!==rm&&e.next===null&&(rm===null?fv=rm=e:rm=rm.next=e),dv=!0,J.actQueue!==null?n1||(n1=!0,g0()):a1||(a1=!0,g0())}function ao(e,t){if(!l1&&dv){l1=!0;do for(var n=!1,u=fv;u!==null;){if(e!==0){var r=u.pendingLanes;if(r===0)var c=0;else{var p=u.suspendedLanes,b=u.pingedLanes;c=(1<<31-Ka(42|e)+1)-1,c&=r&~(p&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Py(u,c))}else c=At,c=mi(u,u===ra?c:0,u.cancelPendingCommit!==null||u.timeoutHandle!==Lf),(c&3)===0||Sl(u,c)||(n=!0,Py(u,c));u=u.next}while(n);l1=!1}}function p0(){ni()}function ni(){dv=n1=a1=!1;var e=0;Bf!==0&&(ip()&&(e=Bf),Bf=0);for(var t=ln(),n=null,u=fv;u!==null;){var r=u.next,c=va(u,t);c===0?(u.next=null,n===null?fv=r:n.next=r,r===null&&(rm=n)):(n=u,(e!==0||(c&3)!==0)&&(dv=!0)),u=r}ao(e)}function va(e,t){for(var n=e.suspendedLanes,u=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var p=31-Ka(c),b=1<<p,E=r[p];E===-1?((b&n)===0||(b&u)!==0)&&(r[p]=U(b,t)):E<=t&&(e.expiredLanes|=b),c&=~b}if(t=ra,n=At,n=mi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u=e.callbackNode,n===0||e===t&&(Pt===Uf||Pt===Nf)||e.cancelPendingCommit!==null)return u!==null&&Oa(u),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Sl(e,n)){if(t=n&-n,t!==e.callbackPriority||J.actQueue!==null&&u!==i1)Oa(u);else return t;switch(Sn(n)){case dl:case zi:n=Sp;break;case wu:n=jc;break;case wh:n=xp;break;default:n=jc}return u=eh.bind(null,e),J.actQueue!==null?(J.actQueue.push(u),n=i1):n=bp(n,u),e.callbackPriority=t,e.callbackNode=n,t}return u!==null&&Oa(u),e.callbackPriority=2,e.callbackNode=null,2}function eh(e,t){if(F0=W0=!1,zn!==kf&&zn!==Fb)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(eo()&&e.callbackNode!==n)return null;var u=At;return u=mi(e,e===ra?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Lf),u===0?null:(Xa(e,u,t),va(e,ln()),e.callbackNode!=null&&e.callbackNode===n?eh.bind(null,e):null)}function Py(e,t){if(eo())return null;W0=F0,F0=!1,Xa(e,t,!0)}function Oa(e){e!==i1&&e!==null&&U0(e)}function g0(){J.actQueue!==null&&J.actQueue.push(function(){return ni(),null}),Uw(function(){(Kt&(pl|Cu))!==si?bp(mf,p0):ni()})}function th(){return Bf===0&&(Bf=k()),Bf}function ep(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ee(e,"action"),Ii(""+e))}function ua(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Xn(e,t,n,u,r){if(t==="submit"&&n&&n.stateNode===r){var c=ep((r[Fn]||null).action),p=u.submitter;p&&(t=(t=p[Fn]||null)?ep(t.formAction):p.getAttribute("formAction"),t!==null&&(c=t,p=null));var b=new qt("action","action",null,u,r);e.push({event:b,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Bf!==0){var E=p?ua(r,p):new FormData(r),R={pending:!0,data:E,method:r.method,action:c};Object.freeze(R),Od(n,R,null,E)}}else typeof c=="function"&&(b.preventDefault(),E=p?ua(r,p):new FormData(r),R={pending:!0,data:E,method:r.method,action:c},Object.freeze(R),Od(n,R,c,E))},currentTarget:r}]})}}function Ml(e,t,n){e.currentTarget=n;try{t(e)}catch(u){Lb(u)}e.currentTarget=null}function tp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var u=e[n];e:{var r=void 0,c=u.event;if(u=u.listeners,t)for(var p=u.length-1;0<=p;p--){var b=u[p],E=b.instance,R=b.currentTarget;if(b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?ke(E,Ml,c,b,R):Ml(c,b,R),r=E}else for(p=0;p<u.length;p++){if(b=u[p],E=b.instance,R=b.currentTarget,b=b.listener,E!==r&&c.isPropagationStopped())break e;E!==null?ke(E,Ml,c,b,R):Ml(c,b,R),r=E}}}}function St(e,t){u1.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Ah];n===void 0&&(n=t[Ah]=new Set);var u=e+"__bubble";n.has(u)||(Qn(t,e,2,!1),n.add(u))}function ap(e,t,n){u1.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),Qn(n,e,u,t)}function ef(e){if(!e[hv]){e[hv]=!0,mr.forEach(function(n){n!=="selectionchange"&&(u1.has(n)||ap(n,!1,e),ap(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hv]||(t[hv]=!0,ap("selectionchange",!1,t))}}function Qn(e,t,n,u){switch(fo(t)){case dl:var r=mh;break;case zi:r=Uc;break;default:r=of}n=r.bind(null,t,n,e),r=void 0,!le||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),u?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function rl(e,t,n,u,r){var c=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var p=u.tag;if(p===3||p===4){var b=u.stateNode.containerInfo;if(b===r)break;if(p===4)for(p=u.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===r)return;p=p.return}for(;b!==null;){if(p=Na(b),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){u=c=p;continue e}b=b.parentNode}}u=u.return}Gr(function(){var R=c,$=Vl(n),P=[];e:{var K=$S.get(e);if(K!==void 0){var te=qt,Ue=e;switch(e){case"keypress":if(ko(n)===0)break e;case"keydown":case"keyup":te=L_;break;case"focusin":Ue="focus",te=Ui;break;case"focusout":Ue="blur",te=Ui;break;case"beforeblur":case"afterblur":te=Ui;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":te=qe;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":te=$a;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":te=G_;break;case XS:case QS:case KS:te=M_;break;case JS:te=X_;break;case"scroll":case"scrollend":te=H;break;case"wheel":te=K_;break;case"copy":case"cut":case"paste":te=U_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":te=jS;break;case"toggle":case"beforetoggle":te=$_}var We=(t&4)!==0,ca=!We&&(e==="scroll"||e==="scrollend"),zt=We?K!==null?K+"Capture":null:K;We=[];for(var D=R,M;D!==null;){var N=D;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||zt===null||(N=xl(D,zt),N!=null&&We.push(wc(D,N,M))),ca)break;D=D.return}0<We.length&&(K=new te(K,Ue,null,n,$),P.push({event:K,listeners:We}))}}if((t&7)===0){e:{if(K=e==="mouseover"||e==="pointerover",te=e==="mouseout"||e==="pointerout",K&&n!==m&&(Ue=n.relatedTarget||n.fromElement)&&(Na(Ue)||Ue[go]))break e;if((te||K)&&(K=$.window===$?$:(K=$.ownerDocument)?K.defaultView||K.parentWindow:window,te?(Ue=n.relatedTarget||n.toElement,te=R,Ue=Ue?Na(Ue):null,Ue!==null&&(ca=_e(Ue),We=Ue.tag,Ue!==ca||We!==5&&We!==27&&We!==6)&&(Ue=null)):(te=null,Ue=R),te!==Ue)){if(We=qe,N="onMouseLeave",zt="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(We=jS,N="onPointerLeave",zt="onPointerEnter",D="pointer"),ca=te==null?K:Cn(te),M=Ue==null?K:Cn(Ue),K=new We(N,D+"leave",te,n,$),K.target=ca,K.relatedTarget=M,N=null,Na($)===R&&(We=new We(zt,D+"enter",Ue,n,$),We.target=M,We.relatedTarget=ca,N=We),ca=N,te&&Ue)t:{for(We=te,zt=Ue,D=0,M=We;M;M=or(M))D++;for(M=0,N=zt;N;N=or(N))M++;for(;0<D-M;)We=or(We),D--;for(;0<M-D;)zt=or(zt),M--;for(;D--;){if(We===zt||zt!==null&&We===zt.alternate)break t;We=or(We),zt=or(zt)}We=null}else We=null;te!==null&&mu(P,K,te,We,!1),Ue!==null&&ca!==null&&mu(P,ca,Ue,We,!0)}}e:{if(K=R?Cn(R):window,te=K.nodeName&&K.nodeName.toLowerCase(),te==="select"||te==="input"&&K.type==="file")var ae=Gg;else if(ld(K))if(GS)ae=tb;else{ae=Pv;var Se=Lm}else te=K.nodeName,!te||te.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?R&&No(R.elementType)&&(ae=Gg):ae=eb;if(ae&&(ae=ae(e,R))){Zr(P,ae,n,$);break e}Se&&Se(e,K,R),e==="focusout"&&R&&K.type==="number"&&R.memoizedProps.value!=null&&Wf(K,"number",K.value)}switch(Se=R?Cn(R):window,e){case"focusin":(ld(Se)||Se.contentEditable==="true")&&(jh=Se,bb=R,Yp=null);break;case"focusout":Yp=bb=jh=null;break;case"mousedown":Sb=!0;break;case"contextmenu":case"mouseup":case"dragend":Sb=!1,ud(P,n,$);break;case"selectionchange":if(P_)break;case"keydown":case"keyup":ud(P,n,$)}var ot;if(vb)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else kh?Vu(e,n)&&(Ne="onCompositionEnd"):e==="keydown"&&n.keyCode===BS&&(Ne="onCompositionStart");Ne&&(VS&&n.locale!=="ko"&&(kh||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&kh&&(ot=nd()):(Q=$,F="value"in Q?Q.value:Q.textContent,kh=!0)),Se=yn(R,Ne),0<Se.length&&(Ne=new kS(Ne,e,null,n,$),P.push({event:Ne,listeners:Se}),ot?Ne.data=ot:(ot=ys(n),ot!==null&&(Ne.data=ot)))),(ot=F_?ps(e,n):Iv(e,n))&&(Ne=yn(R,"onBeforeInput"),0<Ne.length&&(Se=new H_("onBeforeInput","beforeinput",null,n,$),P.push({event:Se,listeners:Ne}),Se.data=ot)),Xn(P,e,R,n,$)}tp(P,t)})}function wc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yn(e,t){for(var n=t+"Capture",u=[];e!==null;){var r=e,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=xl(e,n),r!=null&&u.unshift(wc(e,r,c)),r=xl(e,t),r!=null&&u.push(wc(e,r,c))),e.tag===3)return u;e=e.return}return[]}function or(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mu(e,t,n,u,r){for(var c=t._reactName,p=[];n!==null&&n!==u;){var b=n,E=b.alternate,R=b.stateNode;if(b=b.tag,E!==null&&E===u)break;b!==5&&b!==26&&b!==27||R===null||(E=R,r?(R=xl(n,c),R!=null&&p.unshift(wc(n,R,E))):r||(R=xl(n,c),R!=null&&p.push(wc(n,R,E)))),n=n.return}p.length!==0&&e.push({event:t,listeners:p})}function yu(e,t){Lg(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Z0||(Z0=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:ri,possibleRegistrationNames:Rh};No(e)||typeof t.is=="string"||qg(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function oa(e,t,n,u){t!==n&&(n=pu(n),pu(t)!==n&&(u[e]=t))}function np(e,t,n){t.forEach(function(u){n[Ac(u)]=u==="style"?ah(e):e.getAttribute(u)})}function Cl(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function li(e,t){return e=e.namespaceURI===Uh||e.namespaceURI===Ru?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function pu(e){return C(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",O(e)),ie(e)),(typeof e=="string"?e:""+e).replace(_w,`
|
|
266
|
+
`).replace(ww,"")}function rr(e,t){return t=pu(t),pu(e)===t}function no(){}function Ut(e,t,n,u,r,c){switch(n){case"children":typeof u=="string"?(qr(u,t,!1),t==="body"||t==="textarea"&&u===""||fs(e,u)):(typeof u=="number"||typeof u=="bigint")&&(qr(""+u,t,!1),t!=="body"&&fs(e,""+u));break;case"className":Ie(e,"class",u);break;case"tabIndex":Ie(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ie(e,n,u);break;case"style":td(e,u,c);break;case"data":if(t!=="object"){Ie(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(r.encType==null&&r.method==null||pv||(pv=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),r.target==null||yv||(yv=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||r.type==="submit"||r.type==="image"||mv?t!=="button"||r.type==null||r.type==="submit"||mv?typeof u=="function"&&(r.name==null||sx||(sx=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),r.formEncType==null&&r.formMethod==null||pv||(pv=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),r.formTarget==null||yv||(yv=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(mv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(mv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(t!=="input"&&Ut(e,t,"name",r.name,r,null),Ut(e,t,"formEncType",r.formEncType,r,null),Ut(e,t,"formMethod",r.formMethod,r,null),Ut(e,t,"formTarget",r.formTarget,r,null)):(Ut(e,t,"encType",r.encType,r,null),Ut(e,t,"method",r.method,r,null),Ut(e,t,"target",r.target,r,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(n);break}ee(u,n),u=Ii(""+u),e.setAttribute(n,u);break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}ee(u,n),n=Ii(""+u),e.setAttributeNS(Vf,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,""+u)):e.removeAttribute(n);break;case"inert":u!==""||gv[n]||(gv[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":u===!0?e.setAttribute(n,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(ee(u,n),e.setAttribute(n,u)):e.removeAttribute(n);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(n):(ee(u,n),e.setAttribute(n,u));break;case"popover":St("beforetoggle",e),St("toggle",e),Ot(e,"popover",u);break;case"xlinkActuate":_a(e,Vf,"xlink:actuate",u);break;case"xlinkArcrole":_a(e,Vf,"xlink:arcrole",u);break;case"xlinkRole":_a(e,Vf,"xlink:role",u);break;case"xlinkShow":_a(e,Vf,"xlink:show",u);break;case"xlinkTitle":_a(e,Vf,"xlink:title",u);break;case"xlinkType":_a(e,Vf,"xlink:type",u);break;case"xmlBase":_a(e,o1,"xml:base",u);break;case"xmlLang":_a(e,o1,"xml:lang",u);break;case"xmlSpace":_a(e,o1,"xml:space",u);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ot(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":fx||u==null||typeof u!="object"||(fx=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Ho(n),Ot(e,n,u)):ri.hasOwnProperty(n)&&u!=null&&typeof u!="function"&&Cl(n,u)}}function lo(e,t,n,u,r,c){switch(n){case"style":td(e,u,c);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=u.__html,n!=null){if(r.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof u=="string"?fs(e,u):(typeof u=="number"||typeof u=="bigint")&&fs(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Cl(n,u),St("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Cl(n,u),St("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Cl(n,u),e.onclick=no);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ri.hasOwnProperty(n))u!=null&&typeof u!="function"&&Cl(n,u);else e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),c=e[Fn]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,r),typeof u=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,u,r);break e}n in e?e[n]=u:u===!0?e.setAttribute(n,""):Ot(e,n,u)}}}function Qa(e,t,n){switch(yu(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",e),St("load",e);var u=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var p=n[c];if(p!=null)switch(c){case"src":u=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,c,p,n,null)}}r&&Ut(e,t,"srcSet",n.srcSet,n,null),u&&Ut(e,t,"src",n.src,n,null);return;case"input":Me("input",n),St("invalid",e);var b=c=p=r=null,E=null,R=null;for(u in n)if(n.hasOwnProperty(u)){var $=n[u];if($!=null)switch(u){case"name":r=$;break;case"type":p=$;break;case"checked":E=$;break;case"defaultChecked":R=$;break;case"value":c=$;break;case"defaultValue":b=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,u,$,n,null)}}Mo(e,n),Dm(e,c,b,E,R,p,r,!1),Ta(e);return;case"select":Me("select",n),St("invalid",e),u=p=c=null;for(r in n)if(n.hasOwnProperty(r)&&(b=n[r],b!=null))switch(r){case"value":c=b;break;case"defaultValue":p=b;break;case"multiple":u=b;default:Ut(e,t,r,b,n,null)}vi(e,n),t=c,n=p,e.multiple=!!u,t!=null?Wi(e,!!u,t,!1):n!=null&&Wi(e,!!u,n,!0);return;case"textarea":Me("textarea",n),St("invalid",e),c=r=u=null;for(p in n)if(n.hasOwnProperty(p)&&(b=n[p],b!=null))switch(p){case"value":u=b;break;case"defaultValue":r=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,p,b,n,null)}Ff(e,n),Co(e,u,r,c),Ta(e);return;case"option":Vg(e,n);for(E in n)if(n.hasOwnProperty(E)&&(u=n[E],u!=null))switch(E){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:Ut(e,t,E,u,n,null)}return;case"dialog":St("beforetoggle",e),St("toggle",e),St("cancel",e),St("close",e);break;case"iframe":case"object":St("load",e);break;case"video":case"audio":for(u=0;u<dg.length;u++)St(dg[u],e);break;case"image":St("error",e),St("load",e);break;case"details":St("toggle",e);break;case"embed":case"source":case"link":St("error",e),St("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(R in n)if(n.hasOwnProperty(R)&&(u=n[R],u!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,R,u,n,null)}return;default:if(No(t)){for($ in n)n.hasOwnProperty($)&&(u=n[$],u!==void 0&&lo(e,t,$,u,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(u=n[b],u!=null&&Ut(e,t,b,u,n,null))}function v0(e,t,n,u){switch(yu(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,p=null,b=null,E=null,R=null,$=null;for(te in n){var P=n[te];if(n.hasOwnProperty(te)&&P!=null)switch(te){case"checked":break;case"value":break;case"defaultValue":E=P;default:u.hasOwnProperty(te)||Ut(e,t,te,null,u,P)}}for(var K in u){var te=u[K];if(P=n[K],u.hasOwnProperty(K)&&(te!=null||P!=null))switch(K){case"type":c=te;break;case"name":r=te;break;case"checked":R=te;break;case"defaultChecked":$=te;break;case"value":p=te;break;case"defaultValue":b=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:te!==P&&Ut(e,t,K,te,u,P)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||cx||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),cx=!0),!t||u||rx||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),rx=!0),zm(e,p,b,E,R,$,c,r);return;case"select":te=p=b=K=null;for(c in n)if(E=n[c],n.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":te=E;default:u.hasOwnProperty(c)||Ut(e,t,c,null,u,E)}for(r in u)if(c=u[r],E=n[r],u.hasOwnProperty(r)&&(c!=null||E!=null))switch(r){case"value":K=c;break;case"defaultValue":b=c;break;case"multiple":p=c;default:c!==E&&Ut(e,t,r,c,u,E)}u=b,t=p,n=te,K!=null?Wi(e,!!t,K,!1):!!n!=!!t&&(u!=null?Wi(e,!!t,u,!0):Wi(e,!!t,t?[]:"",!1));return;case"textarea":te=K=null;for(b in n)if(r=n[b],n.hasOwnProperty(b)&&r!=null&&!u.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ut(e,t,b,null,u,r)}for(p in u)if(r=u[p],c=n[p],u.hasOwnProperty(p)&&(r!=null||c!=null))switch(p){case"value":K=r;break;case"defaultValue":te=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r!==c&&Ut(e,t,p,r,u,c)}Mm(e,K,te);return;case"option":for(var Ue in n)if(K=n[Ue],n.hasOwnProperty(Ue)&&K!=null&&!u.hasOwnProperty(Ue))switch(Ue){case"selected":e.selected=!1;break;default:Ut(e,t,Ue,null,u,K)}for(E in u)if(K=u[E],te=n[E],u.hasOwnProperty(E)&&K!==te&&(K!=null||te!=null))switch(E){case"selected":e.selected=K&&typeof K!="function"&&typeof K!="symbol";break;default:Ut(e,t,E,K,u,te)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var We in n)K=n[We],n.hasOwnProperty(We)&&K!=null&&!u.hasOwnProperty(We)&&Ut(e,t,We,null,u,K);for(R in u)if(K=u[R],te=n[R],u.hasOwnProperty(R)&&K!==te&&(K!=null||te!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,R,K,u,te)}return;default:if(No(t)){for(var ca in n)K=n[ca],n.hasOwnProperty(ca)&&K!==void 0&&!u.hasOwnProperty(ca)&&lo(e,t,ca,void 0,u,K);for($ in u)K=u[$],te=n[$],!u.hasOwnProperty($)||K===te||K===void 0&&te===void 0||lo(e,t,$,K,u,te);return}}for(var zt in n)K=n[zt],n.hasOwnProperty(zt)&&K!=null&&!u.hasOwnProperty(zt)&&Ut(e,t,zt,null,u,K);for(P in u)K=u[P],te=n[P],!u.hasOwnProperty(P)||K===te||K==null&&te==null||Ut(e,t,P,K,u,te)}function Ac(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function ah(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var u=e[n];t[u]=e.getPropertyValue(u)}return t}function tf(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var u,r=u="",c;for(c in t)if(t.hasOwnProperty(c)){var p=t[c];p!=null&&typeof p!="boolean"&&p!==""&&(c.indexOf("--")===0?(Te(p,c),u+=r+c+":"+(""+p).trim()):typeof p!="number"||p===0||Bp.has(c)?(Te(p,c),u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+(""+p).trim()):u+=r+c.replace(Au,"-$1").toLowerCase().replace(Yc,"-ms-")+":"+p+"px",r=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=pu(u),pu(t)!==u&&(n.style=ah(e)))}}function cl(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),e===""+u)return}oa(t,e,u,c)}function b0(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}oa(t,e,u,c)}function lp(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(ee(u,n),e===""+u)return}oa(t,e,u,c)}function Xt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(ee(u,t),e===""+u))return}oa(t,e,u,c)}function Wt(e,t,n,u,r,c){if(r.delete(n),e=e.getAttribute(n),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(ee(u,t),n=Ii(""+u),e===n)return}oa(t,e,u,c)}function Tt(e,t,n,u){for(var r={},c=new Set,p=e.attributes,b=0;b<p.length;b++)switch(p[b].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:c.add(p[b].name)}if(No(t)){for(var E in n)if(n.hasOwnProperty(E)){var R=n[E];if(R!=null){if(ri.hasOwnProperty(E))typeof R!="function"&&Cl(E,R);else if(n.suppressHydrationWarning!==!0)switch(E){case"children":typeof R!="string"&&typeof R!="number"||oa("children",e.textContent,R,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,R=R?R.__html:void 0,R!=null&&(R=li(e,R),oa(E,p,R,r));continue;case"style":c.delete(E),tf(e,R,r);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":c.delete("class"),p=tt(e,"class",R),oa("className",p,R,r);continue;default:u.context===_r&&t!=="svg"&&t!=="math"?c.delete(E.toLowerCase()):c.delete(E),p=tt(e,E,R),oa(E,p,R,r)}}}}else for(R in n)if(n.hasOwnProperty(R)&&(E=n[R],E!=null)){if(ri.hasOwnProperty(R))typeof E!="function"&&Cl(R,E);else if(n.suppressHydrationWarning!==!0)switch(R){case"children":typeof E!="string"&&typeof E!="number"||oa("children",e.textContent,E,r);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":p=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=li(e,E),p!==E&&(r[R]={__html:p}));continue;case"className":cl(e,R,"class",E,c,r);continue;case"tabIndex":cl(e,R,"tabindex",E,c,r);continue;case"style":c.delete(R),tf(e,E,r);continue;case"multiple":c.delete(R),oa(R,e.multiple,E,r);continue;case"muted":c.delete(R),oa(R,e.muted,E,r);continue;case"autoFocus":c.delete("autofocus"),oa(R,e.autofocus,E,r);continue;case"data":if(t!=="object"){c.delete(R),p=e.getAttribute("data"),oa(R,p,E,r);continue}case"src":case"href":if(!(E!==""||t==="a"&&R==="href"||t==="object"&&R==="data")){console.error(R==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',R,R);continue}Wt(e,R,R,E,c,r);continue;case"action":case"formAction":if(p=e.getAttribute(R),typeof E=="function"){c.delete(R.toLowerCase()),R==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(p===Aw){c.delete(R.toLowerCase()),oa(R,"function",E,r);continue}Wt(e,R,R.toLowerCase(),E,c,r);continue;case"xlinkHref":Wt(e,R,"xlink:href",E,c,r);continue;case"contentEditable":lp(e,R,"contenteditable",E,c,r);continue;case"spellCheck":lp(e,R,"spellcheck",E,c,r);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":lp(e,R,R,E,c,r);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":b0(e,R,R.toLowerCase(),E,c,r);continue;case"capture":case"download":e:{b=e;var $=p=R,P=r;if(c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&b==="")break e;break;default:if(ee(E,p),b===""+E)break e}oa(p,b,E,P)}continue;case"cols":case"rows":case"size":case"span":e:{if(b=e,$=p=R,P=r,c.delete($),b=b.getAttribute($),b===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ee(E,p),b===""+E))break e}oa(p,b,E,P)}continue;case"rowSpan":Xt(e,R,"rowspan",E,c,r);continue;case"start":Xt(e,R,R,E,c,r);continue;case"xHeight":cl(e,R,"x-height",E,c,r);continue;case"xlinkActuate":cl(e,R,"xlink:actuate",E,c,r);continue;case"xlinkArcrole":cl(e,R,"xlink:arcrole",E,c,r);continue;case"xlinkRole":cl(e,R,"xlink:role",E,c,r);continue;case"xlinkShow":cl(e,R,"xlink:show",E,c,r);continue;case"xlinkTitle":cl(e,R,"xlink:title",E,c,r);continue;case"xlinkType":cl(e,R,"xlink:type",E,c,r);continue;case"xmlBase":cl(e,R,"xml:base",E,c,r);continue;case"xmlLang":cl(e,R,"xml:lang",E,c,r);continue;case"xmlSpace":cl(e,R,"xml:space",E,c,r);continue;case"inert":E!==""||gv[R]||(gv[R]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",R)),b0(e,R,R,E,c,r);continue;default:if(!(2<R.length)||R[0]!=="o"&&R[0]!=="O"||R[1]!=="n"&&R[1]!=="N"){b=Ho(R),p=!1,u.context===_r&&t!=="svg"&&t!=="math"?c.delete(b.toLowerCase()):($=R.toLowerCase(),$=_f.hasOwnProperty($)&&_f[$]||null,$!==null&&$!==R&&(p=!0,c.delete($)),c.delete(b));e:if($=e,P=b,b=E,mt(P))if($.hasAttribute(P))$=$.getAttribute(P),ee(b,P),b=$===""+b?b:$;else{switch(typeof b){case"function":case"symbol":break e;case"boolean":if($=P.toLowerCase().slice(0,5),$!=="data-"&&$!=="aria-")break e}b=b===void 0?void 0:null}else b=void 0;p||oa(R,b,E,r)}}}return 0<c.size&&n.suppressHydrationWarning!==!0&&np(e,c,r),Object.keys(r).length===0?null:r}function Mt(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Nt(e){return e.nodeType===9?e:e.ownerDocument}function Kn(e){switch(e){case Ru:return cm;case Uh:return Sv;default:return _r}}function gu(e,t){if(e===_r)switch(t){case"svg":return cm;case"math":return Sv;default:return _r}return e===cm&&t==="foreignObject"?_r:e}function io(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function ip(){var e=window.event;return e&&e.type==="popstate"?e===f1?!1:(f1=e,!0):(f1=null,!1)}function vu(e){setTimeout(function(){throw e})}function ba(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function uo(e,t,n,u){v0(e,t,n,u),e[Fn]=u}function oo(e){fs(e,"")}function up(e,t,n){e.nodeValue=n}function ja(e){return e==="head"}function Rc(e,t){e.removeChild(t)}function af(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function An(e,t){var n=t,u=0,r=0;do{var c=n.nextSibling;if(e.removeChild(n),c&&c.nodeType===8)if(n=c.data,n===bv){if(0<u&&8>u){n=u;var p=e.ownerDocument;if(n&Ow&&Dc(p.documentElement),n&zw&&Dc(p.body),n&Dw)for(n=p.head,Dc(n),p=n.firstChild;p;){var b=p.nextSibling,E=p.nodeName;p[pf]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&p.rel.toLowerCase()==="stylesheet"||n.removeChild(p),p=b}}if(r===0){e.removeChild(c),Hc(t);return}r--}else n===vv||n===Er||n===hg?r++:u=n.charCodeAt(0)-48;else u=0;n=c}while(n);Hc(t)}function op(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function rp(e){e.nodeValue=""}function nh(e,t){t=t[Mw],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function lh(e,t){e.nodeValue=t}function wi(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":wi(n),Tn(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function nn(e,t,n,u){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[pf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ee(r.name,"name");var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Jn(e.nextSibling),e===null)break}return null}function ro(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Jn(e.nextSibling),e===null))return null;return e}function co(e){return e.data===hg||e.data===Er&&e.ownerDocument.readyState===hx}function Oc(e,t){var n=e.ownerDocument;if(e.data!==Er||n.readyState===hx)t();else{var u=function(){t(),n.removeEventListener("DOMContentLoaded",u)};n.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Jn(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===vv||t===hg||t===Er||t===r1||t===dx)break;if(t===bv)return null}}return e}function ih(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},u=e.attributes,r=0;r<u.length;r++){var c=u[r];n[Ac(c.name)]=c.name.toLowerCase()==="style"?ah(e):c.value}return{type:t,props:n}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function cp(e,t,n){return n===null||n[Rw]!==!0?(e.nodeValue===t?e=null:(t=pu(t),e=pu(e.nodeValue)===t?null:e.nodeValue),e):null}function zc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===bv){if(t===0)return Jn(e.nextSibling);t--}else n!==vv&&n!==hg&&n!==Er||t++}e=e.nextSibling}return null}function uh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===vv||n===hg||n===Er){if(t===0)return e;t--}else n===bv&&t++}e=e.previousSibling}return null}function sl(e){Hc(e)}function S0(e){Hc(e)}function $n(e,t,n,u,r){switch(r&&ed(e,u.ancestorInfo),t=Nt(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function T0(e,t,n,u){if(!n[go]&&Pa(n)){var r=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",r,r,r)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Qa(n,e,t),n[pn]=u,n[Fn]=t}function Dc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tn(e)}function oh(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function bu(e,t,n){var u=sm;if(u&&typeof t=="string"&&t){var r=Ga(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),bx.has(r)||(bx.add(r),e={rel:e,crossOrigin:n,href:t},u.querySelector(r)===null&&(t=u.createElement("link"),Qa(t,"link",e),B(t),u.head.appendChild(t)))}}function nf(e,t,n,u){var r=(r=Ri.current)?oh(r):null;if(!r)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=ii(n.href),t=x(r).hoistableStyles,u=t.get(n),u||(u={type:"style",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ii(n.href);var c=x(r).hoistableStyles,p=c.get(e);if(!p&&(r=r.ownerDocument||r,p={type:"stylesheet",instance:null,count:0,state:{loading:qf,preload:null}},c.set(e,p),(c=r.querySelector(Cc(e)))&&!c._p&&(p.instance=c,p.state.loading=mg|Gi),!Zi.has(e))){var b={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Zi.set(e,b),c||x0(r,e,b,p.state)}if(t&&u===null)throw n=`
|
|
267
267
|
|
|
268
268
|
- `+Mc(t)+`
|
|
269
269
|
+ `+Mc(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return p}if(t&&u!==null)throw n=`
|
|
270
270
|
|
|
271
271
|
- `+Mc(t)+`
|
|
272
|
-
+ `+Mc(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=so(n),t=x(r).hoistableScripts,u=t.get(n),u||(u={type:"script",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Mc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):Oi.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):Oi.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):Oi.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ii(e){return'href="'+Ga(e)+'"'}function Cc(e){return'link[rel="stylesheet"]['+e+"]"}function sp(e){return Pe({},e,{"data-precedence":e.precedence,precedence:null})}function x0(e,t,n,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=mg:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=mg}),t.addEventListener("error",function(){return u.loading|=gx}),Qa(t,"link",n),B(t),e.head.appendChild(t))}function so(e){return'[src="'+Ga(e)+'"]'}function cr(e){return"script[async]"+e}function E0(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Ga(n.href)+'"]');if(u)return t.instance=u,B(u),u;var r=Pe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),B(u),Qa(u,"style",r),rh(u,n.precedence,e),t.instance=u;case"stylesheet":r=ii(n.href);var c=e.querySelector(Cc(r));if(c)return t.state.loading|=Gi,t.instance=c,B(c),c;u=sp(n),(r=Zi.get(r))&&fp(u,r),c=(e.ownerDocument||e).createElement("link"),B(c);var p=c;return p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Qa(c,"link",u),t.state.loading|=Gi,rh(c,n.precedence,e),t.instance=c;case"script":return c=so(n.src),(r=e.querySelector(cr(c)))?(t.instance=r,B(r),r):(u=n,(r=Zi.get(c))&&(u=Pe({},n),ch(u,r)),e=e.ownerDocument||e,r=e.createElement("script"),B(r),Qa(r,"link",u),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Gi)===qf&&(u=t.instance,t.state.loading|=Gi,rh(u,n.precedence,e));return t.instance}function rh(e,t,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=u.length?u[u.length-1]:null,c=r,p=0;p<u.length;p++){var b=u[p];if(b.dataset.precedence===t)c=b;else if(c!==r)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function fp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ch(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function dp(e,t,n){if(Tv===null){var u=new Map,r=Tv=new Map;r.set(n,u)}else r=Tv,u=r.get(n),u||(u=new Map,r.set(n,u));if(u.has(e))return u;for(u.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var c=n[r];if(!(c[pf]||c[pn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==Ru){var p=c.getAttribute(t)||"";p=e+p;var b=u.get(p);b?b.push(c):u.set(p,[c])}}return u}function sr(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function sh(e,t,n){var u=!n.ancestorInfo.containerTagInScope;if(n.context===cm||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var r=t.onError,c=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),r&&n.push("`onError`"),c!=null&&n.push("`disabled`"),r=Mt(n,"and"),r+=n.length===1?" prop":" props",c=n.length===1?"an "+r:"the "+r,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,c,r)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function hp(e){return!(e.type==="stylesheet"&&(e.state.loading&vx)===qf)}function _0(){}function w0(e,t,n){if(yg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var u=yg;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&Gi)===qf){if(t.instance===null){var r=ii(n.href),c=e.querySelector(Cc(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=lf.bind(u),e.then(u,u)),t.state.loading|=Gi,t.instance=c,B(c);return}c=e.ownerDocument||e,n=sp(n),(r=Zi.get(r))&&fp(n,r),c=c.createElement("link"),B(c);var p=c;p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Qa(c,"link",n),t.instance=c}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&vx)===qf&&(u.count++,t=lf.bind(u),e.addEventListener("load",t),e.addEventListener("error",t))}}function A0(){if(yg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=yg;return e.stylesheets&&e.count===0&&fh(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&fh(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function lf(){if(this.count--,this.count===0){if(this.stylesheets)fh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function fh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,xv=new Map,t.forEach(dh,e),xv=null,lf.call(e))}function dh(e,t){if(!(t.state.loading&Gi)){var n=xv.get(e);if(n)var u=n.get(h1);else{n=new Map,xv.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var p=r[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(n.set(p.dataset.precedence,p),u=p)}u&&n.set(h1,u)}r=t.instance,p=r.getAttribute("data-precedence"),c=n.get(p)||u,c===u&&n.set(h1,r),n.set(p,r),this.count++,u=lf.bind(this),r.addEventListener("load",u),r.addEventListener("error",u),c?c.parentNode.insertBefore(r,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=Gi}}function R0(e,t,n,u,r,c,p,b){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Lf,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xe(0),this.hiddenUpdates=xe(null),this.identifierPrefix=u,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function mp(e,t,n,u,r,c,p,b,E,R,$,P){return e=new R0(e,t,n,p,b,E,R,P),t=n4,c===!0&&(t|=In|Ou),Ul&&(t|=Rn),c=L(3,null,null,t),e.current=c,c.stateNode=e,t=Im(),_l(t),e.pooledCache=t,_l(t),c.memoizedState={element:u,isDehydrated:n,cache:t},Zu(c),e}function Ft(e){return e?(e=Zc,e):Zc}function uf(e,t,n,u,r,c){if(un&&typeof un.onScheduleFiberRoot=="function")try{un.onScheduleFiberRoot(hr,u,n)}catch(p){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",p))}Ee!==null&&typeof Ee.markRenderScheduled=="function"&&Ee.markRenderScheduled(t),r=Ft(r),u.context===null?u.context=r:u.pendingContext=r,Di&&on!==null&&!Ex&&(Ex=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
272
|
+
+ `+Mc(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=so(n),t=x(r).hoistableScripts,u=t.get(n),u||(u={type:"script",instance:null,count:0,state:null},t.set(n,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Mc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):Oi.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):Oi.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):Oi.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function ii(e){return'href="'+Ga(e)+'"'}function Cc(e){return'link[rel="stylesheet"]['+e+"]"}function sp(e){return Pe({},e,{"data-precedence":e.precedence,precedence:null})}function x0(e,t,n,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=mg:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=mg}),t.addEventListener("error",function(){return u.loading|=gx}),Qa(t,"link",n),B(t),e.head.appendChild(t))}function so(e){return'[src="'+Ga(e)+'"]'}function cr(e){return"script[async]"+e}function E0(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+Ga(n.href)+'"]');if(u)return t.instance=u,B(u),u;var r=Pe({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),B(u),Qa(u,"style",r),rh(u,n.precedence,e),t.instance=u;case"stylesheet":r=ii(n.href);var c=e.querySelector(Cc(r));if(c)return t.state.loading|=Gi,t.instance=c,B(c),c;u=sp(n),(r=Zi.get(r))&&fp(u,r),c=(e.ownerDocument||e).createElement("link"),B(c);var p=c;return p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Qa(c,"link",u),t.state.loading|=Gi,rh(c,n.precedence,e),t.instance=c;case"script":return c=so(n.src),(r=e.querySelector(cr(c)))?(t.instance=r,B(r),r):(u=n,(r=Zi.get(c))&&(u=Pe({},n),ch(u,r)),e=e.ownerDocument||e,r=e.createElement("script"),B(r),Qa(r,"link",u),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Gi)===qf&&(u=t.instance,t.state.loading|=Gi,rh(u,n.precedence,e));return t.instance}function rh(e,t,n){for(var u=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=u.length?u[u.length-1]:null,c=r,p=0;p<u.length;p++){var b=u[p];if(b.dataset.precedence===t)c=b;else if(c!==r)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function fp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ch(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function dp(e,t,n){if(Tv===null){var u=new Map,r=Tv=new Map;r.set(n,u)}else r=Tv,u=r.get(n),u||(u=new Map,r.set(n,u));if(u.has(e))return u;for(u.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var c=n[r];if(!(c[pf]||c[pn]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==Ru){var p=c.getAttribute(t)||"";p=e+p;var b=u.get(p);b?b.push(c):u.set(p,[c])}}return u}function sr(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function sh(e,t,n){var u=!n.ancestorInfo.containerTagInScope;if(n.context===cm||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var r=t.onError,c=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),r&&n.push("`onError`"),c!=null&&n.push("`disabled`"),r=Mt(n,"and"),r+=n.length===1?" prop":" props",c=n.length===1?"an "+r:"the "+r,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,c,r)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function hp(e){return!(e.type==="stylesheet"&&(e.state.loading&vx)===qf)}function _0(){}function w0(e,t,n){if(yg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var u=yg;if(t.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(t.state.loading&Gi)===qf){if(t.instance===null){var r=ii(n.href),c=e.querySelector(Cc(r));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(u.count++,u=lf.bind(u),e.then(u,u)),t.state.loading|=Gi,t.instance=c,B(c);return}c=e.ownerDocument||e,n=sp(n),(r=Zi.get(r))&&fp(n,r),c=c.createElement("link"),B(c);var p=c;p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),Qa(c,"link",n),t.instance=c}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&vx)===qf&&(u.count++,t=lf.bind(u),e.addEventListener("load",t),e.addEventListener("error",t))}}function A0(){if(yg===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=yg;return e.stylesheets&&e.count===0&&fh(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&fh(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}function lf(){if(this.count--,this.count===0){if(this.stylesheets)fh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function fh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,xv=new Map,t.forEach(dh,e),xv=null,lf.call(e))}function dh(e,t){if(!(t.state.loading&Gi)){var n=xv.get(e);if(n)var u=n.get(h1);else{n=new Map,xv.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var p=r[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(n.set(p.dataset.precedence,p),u=p)}u&&n.set(h1,u)}r=t.instance,p=r.getAttribute("data-precedence"),c=n.get(p)||u,c===u&&n.set(h1,r),n.set(p,r),this.count++,u=lf.bind(this),r.addEventListener("load",u),r.addEventListener("error",u),c?c.parentNode.insertBefore(r,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=Gi}}function R0(e,t,n,u,r,c,p,b){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Lf,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xe(0),this.hiddenUpdates=xe(null),this.identifierPrefix=u,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function mp(e,t,n,u,r,c,p,b,E,R,$,P){return e=new R0(e,t,n,p,b,E,R,P),t=nw,c===!0&&(t|=In|Ou),Ul&&(t|=Rn),c=L(3,null,null,t),e.current=c,c.stateNode=e,t=Im(),_l(t),e.pooledCache=t,_l(t),c.memoizedState={element:u,isDehydrated:n,cache:t},Zu(c),e}function Ft(e){return e?(e=Zc,e):Zc}function uf(e,t,n,u,r,c){if(un&&typeof un.onScheduleFiberRoot=="function")try{un.onScheduleFiberRoot(hr,u,n)}catch(p){Ea||(Ea=!0,console.error("React instrumentation encountered an error: %s",p))}Ee!==null&&typeof Ee.markRenderScheduled=="function"&&Ee.markRenderScheduled(t),r=Ft(r),u.context===null?u.context=r:u.pendingContext=r,Di&&on!==null&&!Ex&&(Ex=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
273
273
|
|
|
274
|
-
Check the render method of %s.`,Ae(on)||"Unknown")),u=Gl(t),u.payload={element:n},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),u.callback=c),n=Zl(e,u,t),n!==null&&(bt(n,e,t),Qo(n,e,t))}function O0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hh(e,t){O0(e,t),(e=e.alternate)&&O0(e,t)}function z0(e){if(e.tag===13){var t=Nn(e,67108864);t!==null&&bt(t,e,67108864),hh(e,67108864)}}function rb(){return on}function cb(){for(var e=new Map,t=1,n=0;31>n;n++){var u=Oo(t);e.set(t,u),t*=2}return e}function mh(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=dl,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function Uc(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=zi,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function of(e,t,n,u){if(_v){var r=Nc(u);if(r===null)rl(e,t,u,wv,n),ui(e,u);else if(sb(r,e,t,n,u))u.stopPropagation();else if(ui(e,u),t&4&&-1<H4.indexOf(e)){for(;r!==null;){var c=Pa(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=Bt(c.pendingLanes);if(p!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;p;){var E=1<<31-Ka(p);b.entanglements[1]|=E,p&=~E}Dl(c),(Kt&(pl|Cu))===si&&(rv=ln()+tx,ao(0))}}break;case 13:b=Nn(c,2),b!==null&&bt(b,c,2),lr(),hh(c,2)}if(c=Nc(u),c===null&&rl(e,t,u,wv,n),c===r)break;r=c}r!==null&&u.stopPropagation()}else rl(e,t,u,null,n)}}function Nc(e){return e=Vl(e),rf(e)}function rf(e){if(wv=null,e=Na(e),e!==null){var t=_e(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Rt(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 wv=e,null}function fo(e){switch(e){case"beforetoggle":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"toggle":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 dl;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return zi;case"message":switch(N0()){case mf:return dl;case Sp:return zi;case jc:case Tp:return wu;case xp:return wh;default:return wu}default:return wu}}function ui(e,t){switch(e){case"focusin":case"focusout":es=null;break;case"dragenter":case"dragleave":ts=null;break;case"mouseover":case"mouseout":as=null;break;case"pointerover":case"pointerout":gg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vg.delete(t.pointerId)}}function Su(e,t,n,u,r,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:c,targetContainers:[r]},t!==null&&(t=Pa(t),t!==null&&z0(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function sb(e,t,n,u,r){switch(t){case"focusin":return es=Su(es,e,t,n,u,r),!0;case"dragenter":return ts=Su(ts,e,t,n,u,r),!0;case"mouseover":return as=Su(as,e,t,n,u,r),!0;case"pointerover":var c=r.pointerId;return gg.set(c,Su(gg.get(c)||null,e,t,n,u,r)),!0;case"gotpointercapture":return c=r.pointerId,vg.set(c,Su(vg.get(c)||null,e,t,n,u,r)),!0}return!1}function yp(e){var t=Na(e.target);if(t!==null){var n=_e(t);if(n!==null){if(t=n.tag,t===13){if(t=Rt(n),t!==null){e.blockedOn=t,tl(e.priority,function(){if(n.tag===13){var u=ol(n);u=pt(u);var r=Nn(n,u);r!==null&&bt(r,n,u),hh(n,u)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nc(e.nativeEvent);if(n===null){n=e.nativeEvent;var u=new n.constructor(n.type,n),r=u;m!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),m=r,n.target.dispatchEvent(u),m===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),m=null}else return t=Pa(n),t!==null&&z0(t),e.blockedOn=n,!1;t.shift()}return!0}function pp(e,t,n){cf(e)&&n.delete(t)}function D0(){m1=!1,es!==null&&cf(es)&&(es=null),ts!==null&&cf(ts)&&(ts=null),as!==null&&cf(as)&&(as=null),gg.forEach(pp),vg.forEach(pp)}function yh(e,t){e.blockedOn===t&&(e.blockedOn=null,m1||(m1=!0,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,D0)))}function ph(e){Av!==e&&(Av=e,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,function(){Av===e&&(Av=null);for(var t=0;t<e.length;t+=3){var n=e[t],u=e[t+1],r=e[t+2];if(typeof u!="function"){if(rf(u||n)===null)continue;break}var c=Pa(n);c!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:u},Object.freeze(n),Od(c,n,u,r))}}))}function Hc(e){function t(E){return yh(E,e)}es!==null&&yh(es,e),ts!==null&&yh(ts,e),as!==null&&yh(as,e),gg.forEach(t),vg.forEach(t);for(var n=0;n<ns.length;n++){var u=ns[n];u.blockedOn===e&&(u.blockedOn=null)}for(;0<ns.length&&(n=ns[0],n.blockedOn===null);)yp(n),n.blockedOn===null&&ns.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(u=0;u<n.length;u+=3){var r=n[u],c=n[u+1],p=r[Fn]||null;if(typeof c=="function")p||ph(n);else if(p){var b=null;if(c&&c.hasAttribute("formAction")){if(r=c,p=c[Fn]||null)b=p.formAction;else if(rf(r)!==null)continue}else b=p.action;typeof b=="function"?n[u+1]=b:(n.splice(u,3),u-=3),ph(n)}}}function gh(e){this._internalRoot=e}function vh(e){this._internalRoot=e}function bh(e){e[go]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Sa=w1(),gp=Gf(),fb=z1(),Pe=Object.assign,db=Symbol.for("react.element"),Tu=Symbol.for("react.transitional.element"),ut=Symbol.for("react.portal"),ho=Symbol.for("react.fragment"),fr=Symbol.for("react.strict_mode"),sf=Symbol.for("react.profiler"),M0=Symbol.for("react.provider"),ff=Symbol.for("react.consumer"),Wn=Symbol.for("react.context"),mo=Symbol.for("react.forward_ref"),yo=Symbol.for("react.suspense"),Sh=Symbol.for("react.suspense_list"),Th=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),xh=Symbol.for("react.activity"),C0=Symbol.for("react.memo_cache_sentinel"),df=Symbol.iterator,It=Symbol.for("react.client.reference"),Ba=Array.isArray,J=gp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lt=fb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vp=Object.freeze({pending:!1,data:null,method:null,action:null}),hf=[],kc=[],Ai=-1,xu=ht(null),dr=ht(null),Ri=ht(null),Eh=ht(null),Oi=Object.prototype.hasOwnProperty,bp=Sa.unstable_scheduleCallback,U0=Sa.unstable_cancelCallback,hb=Sa.unstable_shouldYield,mb=Sa.unstable_requestPaint,ln=Sa.unstable_now,N0=Sa.unstable_getCurrentPriorityLevel,mf=Sa.unstable_ImmediatePriority,Sp=Sa.unstable_UserBlockingPriority,jc=Sa.unstable_NormalPriority,Tp=Sa.unstable_LowPriority,xp=Sa.unstable_IdlePriority,oi=Sa.log,Ep=Sa.unstable_setDisableYieldValue,hr=null,un=null,Ee=null,Ea=!1,Ul=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ka=Math.clz32?Math.clz32:Ro,Eu=Math.log,yb=Math.LN2,_h=256,_u=4194304,dl=2,zi=8,wu=32,wh=268435456,po=Math.random().toString(36).slice(2),pn="__reactFiber$"+po,Fn="__reactProps$"+po,go="__reactContainer$"+po,Ah="__reactEvents$"+po,Bc="__reactListeners$"+po,yf="__reactHandles$"+po,_p="__reactResources$"+po,pf="__reactMarker$"+po,mr=new Set,ri={},Rh={},Oh={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},wp=RegExp("^[: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]*$"),zh={},gf={},Vc=0,Ap,H0,Rp,Lc,k0,j0,B0;pi.__reactDisabledLog=!0;var qc,vf,bf=!1,Op=new(typeof WeakMap=="function"?WeakMap:Map),on=null,Di=!1,V0=/[\n"\\]/g,zp=!1,Dp=!1,Mp=!1,Dh=!1,Cp=!1,Sf=!1,L0=["value","defaultValue"],q0=!1,Mh=/["'&<>\n\t]|^\s|\s$/,Up="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Tf="applet caption html table td th marquee object template foreignObject desc title".split(" "),Np=Tf.concat(["button"]),Y0="dd dt li option optgroup p rp rt".split(" "),Ch={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ci={},Mi={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Au=/([A-Z])/g,Yc=/^ms-/,xf=/^(?:webkit|moz|o)[A-Z]/,vo=/^-ms-/,pb=/-(.)/g,Hp=/;\s*$/,Ci={},kp={},jp=!1,Ef=!1,Bp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Uh="http://www.w3.org/1998/Math/MathML",Ru="http://www.w3.org/2000/svg",Nh=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),_f={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Gc={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},bo={},Hh=RegExp("^(aria)-[: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]*$"),G0=RegExp("^(aria)[A-Z][: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]*$"),Z0=!1,Ja={},a=/^on./,l=/^on[^A-Z]/,i=RegExp("^(aria)-[: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]*$"),o=RegExp("^(aria)[A-Z][: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]*$"),f=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,m=null,S=null,T=null,z=!1,q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),le=!1;if(q)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){le=!0}}),window.addEventListener("test",oe,oe),window.removeEventListener("test",oe,oe)}catch{le=!1}var Q=null,F=null,Ge=null,Ye={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qt=tn(Ye),V=Pe({},Ye,{view:0,detail:0}),H=tn(V),G,ue,Oe,ft=Pe({},V,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dn,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!==Oe&&(Oe&&e.type==="mousemove"?(G=e.screenX-Oe.screenX,ue=e.screenY-Oe.screenY):ue=G=0,Oe=e),G)},movementY:function(e){return"movementY"in e?e.movementY:ue}}),qe=tn(ft),Ze=Pe({},ft,{dataTransfer:0}),$a=tn(Ze),Ht=Pe({},V,{relatedTarget:0}),Ui=tn(Ht),gb=Pe({},Ye,{animationName:0,elapsedTime:0,pseudoElement:0}),M_=tn(gb),C_=Pe({},Ye,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),U_=tn(C_),N_=Pe({},Ye,{data:0}),kS=tn(N_),H_=kS,k_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j_={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"},B_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},V_=Pe({},V,{key:function(e){if(e.key){var t=k_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?j_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dn,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),L_=tn(V_),q_=Pe({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jS=tn(q_),Y_=Pe({},V,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dn}),G_=tn(Y_),Z_=Pe({},Ye,{propertyName:0,elapsedTime:0,pseudoElement:0}),X_=tn(Z_),Q_=Pe({},ft,{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}),K_=tn(Q_),J_=Pe({},Ye,{newState:0,oldState:0}),$_=tn(J_),W_=[9,13,27,32],BS=229,vb=q&&"CompositionEvent"in window,Vp=null;q&&"documentMode"in document&&(Vp=document.documentMode);var F_=q&&"TextEvent"in window&&!Vp,VS=q&&(!vb||Vp&&8<Vp&&11>=Vp),LS=32,qS=String.fromCharCode(LS),YS=!1,kh=!1,I_={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},Lp=null,qp=null,GS=!1;q&&(GS=Vm("input")&&(!document.documentMode||9<document.documentMode));var hl=typeof Object.is=="function"?Object.is:ab,P_=q&&"documentMode"in document&&11>=document.documentMode,jh=null,bb=null,Yp=null,Sb=!1,Bh={animationend:jo("Animation","AnimationEnd"),animationiteration:jo("Animation","AnimationIteration"),animationstart:jo("Animation","AnimationStart"),transitionrun:jo("Transition","TransitionRun"),transitionstart:jo("Transition","TransitionStart"),transitioncancel:jo("Transition","TransitionCancel"),transitionend:jo("Transition","TransitionEnd")},Tb={},ZS={};q&&(ZS=document.createElement("div").style,"AnimationEvent"in window||(delete Bh.animationend.animation,delete Bh.animationiteration.animation,delete Bh.animationstart.animation),"TransitionEvent"in window||delete Bh.transitionend.transition);var XS=Bo("animationend"),QS=Bo("animationiteration"),KS=Bo("animationstart"),e4=Bo("transitionrun"),t4=Bo("transitionstart"),a4=Bo("transitioncancel"),JS=Bo("transitionend"),$S=new Map,xb="abort auxClick beforeToggle 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(" ");xb.push("scrollEnd");var Eb=new WeakMap,X0=1,yr=2,Ni=[],Vh=0,_b=0,Zc={};Object.freeze(Zc);var Hi=null,Lh=null,fa=0,n4=1,Rn=2,In=8,Ou=16,WS=64,FS=!1;try{var IS=Object.preventExtensions({})}catch{FS=!0}var qh=[],Yh=0,Q0=null,K0=0,ki=[],ji=0,wf=null,pr=1,gr="",ml=null,za=null,kt=!1,vr=!1,Bi=null,Af=null,So=!1,wb=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),PS=0;if(typeof performance=="object"&&typeof performance.now=="function")var l4=performance,eT=function(){return l4.now()};else{var i4=Date;eT=function(){return i4.now()}}var Ab=ht(null),Rb=ht(null),tT={},J0=null,Gh=null,Zh=!1,u4=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},o4=Sa.unstable_scheduleCallback,r4=Sa.unstable_NormalPriority,rn={$$typeof:Wn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Xh=Sa.unstable_now,aT=-0,$0=-0,Nl=-1.1,Rf=-0,W0=!1,F0=!1,Gp=null,Ob=0,Of=0,Qh=null,nT=J.S;J.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ig(e,t),nT!==null&&nT(e,t)};var zf=ht(null),zu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],$p=[],Df=new Set;zu.recordUnsafeLifecycleWarnings=function(e,t){Df.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillMount=="function"&&Xp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Kp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Jp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillUpdate=="function"&&$p.push(e))},zu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Zp.length&&(Zp.forEach(function(b){e.add(Ae(b)||"Component"),Df.add(b.type)}),Zp=[]);var t=new Set;0<Xp.length&&(Xp.forEach(function(b){t.add(Ae(b)||"Component"),Df.add(b.type)}),Xp=[]);var n=new Set;0<Qp.length&&(Qp.forEach(function(b){n.add(Ae(b)||"Component"),Df.add(b.type)}),Qp=[]);var u=new Set;0<Kp.length&&(Kp.forEach(function(b){u.add(Ae(b)||"Component"),Df.add(b.type)}),Kp=[]);var r=new Set;0<Jp.length&&(Jp.forEach(function(b){r.add(Ae(b)||"Component"),Df.add(b.type)}),Jp=[]);var c=new Set;if(0<$p.length&&($p.forEach(function(b){c.add(Ae(b)||"Component"),Df.add(b.type)}),$p=[]),0<t.size){var p=Y(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
274
|
+
Check the render method of %s.`,Ae(on)||"Unknown")),u=Gl(t),u.payload={element:n},c=c===void 0?null:c,c!==null&&(typeof c!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),u.callback=c),n=Zl(e,u,t),n!==null&&(bt(n,e,t),Qo(n,e,t))}function O0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hh(e,t){O0(e,t),(e=e.alternate)&&O0(e,t)}function z0(e){if(e.tag===13){var t=Nn(e,67108864);t!==null&&bt(t,e,67108864),hh(e,67108864)}}function rb(){return on}function cb(){for(var e=new Map,t=1,n=0;31>n;n++){var u=Oo(t);e.set(t,u),t*=2}return e}function mh(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=dl,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function Uc(e,t,n,u){var r=J.T;J.T=null;var c=Lt.p;try{Lt.p=zi,of(e,t,n,u)}finally{Lt.p=c,J.T=r}}function of(e,t,n,u){if(_v){var r=Nc(u);if(r===null)rl(e,t,u,wv,n),ui(e,u);else if(sb(r,e,t,n,u))u.stopPropagation();else if(ui(e,u),t&4&&-1<Hw.indexOf(e)){for(;r!==null;){var c=Pa(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=Bt(c.pendingLanes);if(p!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;p;){var E=1<<31-Ka(p);b.entanglements[1]|=E,p&=~E}Dl(c),(Kt&(pl|Cu))===si&&(rv=ln()+tx,ao(0))}}break;case 13:b=Nn(c,2),b!==null&&bt(b,c,2),lr(),hh(c,2)}if(c=Nc(u),c===null&&rl(e,t,u,wv,n),c===r)break;r=c}r!==null&&u.stopPropagation()}else rl(e,t,u,null,n)}}function Nc(e){return e=Vl(e),rf(e)}function rf(e){if(wv=null,e=Na(e),e!==null){var t=_e(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=Rt(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 wv=e,null}function fo(e){switch(e){case"beforetoggle":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"toggle":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 dl;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return zi;case"message":switch(N0()){case mf:return dl;case Sp:return zi;case jc:case Tp:return wu;case xp:return wh;default:return wu}default:return wu}}function ui(e,t){switch(e){case"focusin":case"focusout":es=null;break;case"dragenter":case"dragleave":ts=null;break;case"mouseover":case"mouseout":as=null;break;case"pointerover":case"pointerout":gg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vg.delete(t.pointerId)}}function Su(e,t,n,u,r,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:u,nativeEvent:c,targetContainers:[r]},t!==null&&(t=Pa(t),t!==null&&z0(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function sb(e,t,n,u,r){switch(t){case"focusin":return es=Su(es,e,t,n,u,r),!0;case"dragenter":return ts=Su(ts,e,t,n,u,r),!0;case"mouseover":return as=Su(as,e,t,n,u,r),!0;case"pointerover":var c=r.pointerId;return gg.set(c,Su(gg.get(c)||null,e,t,n,u,r)),!0;case"gotpointercapture":return c=r.pointerId,vg.set(c,Su(vg.get(c)||null,e,t,n,u,r)),!0}return!1}function yp(e){var t=Na(e.target);if(t!==null){var n=_e(t);if(n!==null){if(t=n.tag,t===13){if(t=Rt(n),t!==null){e.blockedOn=t,tl(e.priority,function(){if(n.tag===13){var u=ol(n);u=pt(u);var r=Nn(n,u);r!==null&&bt(r,n,u),hh(n,u)}});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Nc(e.nativeEvent);if(n===null){n=e.nativeEvent;var u=new n.constructor(n.type,n),r=u;m!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),m=r,n.target.dispatchEvent(u),m===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),m=null}else return t=Pa(n),t!==null&&z0(t),e.blockedOn=n,!1;t.shift()}return!0}function pp(e,t,n){cf(e)&&n.delete(t)}function D0(){m1=!1,es!==null&&cf(es)&&(es=null),ts!==null&&cf(ts)&&(ts=null),as!==null&&cf(as)&&(as=null),gg.forEach(pp),vg.forEach(pp)}function yh(e,t){e.blockedOn===t&&(e.blockedOn=null,m1||(m1=!0,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,D0)))}function ph(e){Av!==e&&(Av=e,Sa.unstable_scheduleCallback(Sa.unstable_NormalPriority,function(){Av===e&&(Av=null);for(var t=0;t<e.length;t+=3){var n=e[t],u=e[t+1],r=e[t+2];if(typeof u!="function"){if(rf(u||n)===null)continue;break}var c=Pa(n);c!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:r,method:n.method,action:u},Object.freeze(n),Od(c,n,u,r))}}))}function Hc(e){function t(E){return yh(E,e)}es!==null&&yh(es,e),ts!==null&&yh(ts,e),as!==null&&yh(as,e),gg.forEach(t),vg.forEach(t);for(var n=0;n<ns.length;n++){var u=ns[n];u.blockedOn===e&&(u.blockedOn=null)}for(;0<ns.length&&(n=ns[0],n.blockedOn===null);)yp(n),n.blockedOn===null&&ns.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(u=0;u<n.length;u+=3){var r=n[u],c=n[u+1],p=r[Fn]||null;if(typeof c=="function")p||ph(n);else if(p){var b=null;if(c&&c.hasAttribute("formAction")){if(r=c,p=c[Fn]||null)b=p.formAction;else if(rf(r)!==null)continue}else b=p.action;typeof b=="function"?n[u+1]=b:(n.splice(u,3),u-=3),ph(n)}}}function gh(e){this._internalRoot=e}function vh(e){this._internalRoot=e}function bh(e){e[go]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Sa=w1(),gp=Gf(),fb=z1(),Pe=Object.assign,db=Symbol.for("react.element"),Tu=Symbol.for("react.transitional.element"),ut=Symbol.for("react.portal"),ho=Symbol.for("react.fragment"),fr=Symbol.for("react.strict_mode"),sf=Symbol.for("react.profiler"),M0=Symbol.for("react.provider"),ff=Symbol.for("react.consumer"),Wn=Symbol.for("react.context"),mo=Symbol.for("react.forward_ref"),yo=Symbol.for("react.suspense"),Sh=Symbol.for("react.suspense_list"),Th=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),xh=Symbol.for("react.activity"),C0=Symbol.for("react.memo_cache_sentinel"),df=Symbol.iterator,It=Symbol.for("react.client.reference"),Ba=Array.isArray,J=gp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lt=fb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vp=Object.freeze({pending:!1,data:null,method:null,action:null}),hf=[],kc=[],Ai=-1,xu=ht(null),dr=ht(null),Ri=ht(null),Eh=ht(null),Oi=Object.prototype.hasOwnProperty,bp=Sa.unstable_scheduleCallback,U0=Sa.unstable_cancelCallback,hb=Sa.unstable_shouldYield,mb=Sa.unstable_requestPaint,ln=Sa.unstable_now,N0=Sa.unstable_getCurrentPriorityLevel,mf=Sa.unstable_ImmediatePriority,Sp=Sa.unstable_UserBlockingPriority,jc=Sa.unstable_NormalPriority,Tp=Sa.unstable_LowPriority,xp=Sa.unstable_IdlePriority,oi=Sa.log,Ep=Sa.unstable_setDisableYieldValue,hr=null,un=null,Ee=null,Ea=!1,Ul=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ka=Math.clz32?Math.clz32:Ro,Eu=Math.log,yb=Math.LN2,_h=256,_u=4194304,dl=2,zi=8,wu=32,wh=268435456,po=Math.random().toString(36).slice(2),pn="__reactFiber$"+po,Fn="__reactProps$"+po,go="__reactContainer$"+po,Ah="__reactEvents$"+po,Bc="__reactListeners$"+po,yf="__reactHandles$"+po,_p="__reactResources$"+po,pf="__reactMarker$"+po,mr=new Set,ri={},Rh={},Oh={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},wp=RegExp("^[: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]*$"),zh={},gf={},Vc=0,Ap,H0,Rp,Lc,k0,j0,B0;pi.__reactDisabledLog=!0;var qc,vf,bf=!1,Op=new(typeof WeakMap=="function"?WeakMap:Map),on=null,Di=!1,V0=/[\n"\\]/g,zp=!1,Dp=!1,Mp=!1,Dh=!1,Cp=!1,Sf=!1,L0=["value","defaultValue"],q0=!1,Mh=/["'&<>\n\t]|^\s|\s$/,Up="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Tf="applet caption html table td th marquee object template foreignObject desc title".split(" "),Np=Tf.concat(["button"]),Y0="dd dt li option optgroup p rp rt".split(" "),Ch={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ci={},Mi={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Au=/([A-Z])/g,Yc=/^ms-/,xf=/^(?:webkit|moz|o)[A-Z]/,vo=/^-ms-/,pb=/-(.)/g,Hp=/;\s*$/,Ci={},kp={},jp=!1,Ef=!1,Bp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Uh="http://www.w3.org/1998/Math/MathML",Ru="http://www.w3.org/2000/svg",Nh=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),_f={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Gc={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},bo={},Hh=RegExp("^(aria)-[: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]*$"),G0=RegExp("^(aria)[A-Z][: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]*$"),Z0=!1,Ja={},a=/^on./,l=/^on[^A-Z]/,i=RegExp("^(aria)-[: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]*$"),o=RegExp("^(aria)[A-Z][: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]*$"),f=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,m=null,S=null,T=null,z=!1,q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),le=!1;if(q)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){le=!0}}),window.addEventListener("test",oe,oe),window.removeEventListener("test",oe,oe)}catch{le=!1}var Q=null,F=null,Ge=null,Ye={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qt=tn(Ye),V=Pe({},Ye,{view:0,detail:0}),H=tn(V),G,ue,Oe,ft=Pe({},V,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dn,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!==Oe&&(Oe&&e.type==="mousemove"?(G=e.screenX-Oe.screenX,ue=e.screenY-Oe.screenY):ue=G=0,Oe=e),G)},movementY:function(e){return"movementY"in e?e.movementY:ue}}),qe=tn(ft),Ze=Pe({},ft,{dataTransfer:0}),$a=tn(Ze),Ht=Pe({},V,{relatedTarget:0}),Ui=tn(Ht),gb=Pe({},Ye,{animationName:0,elapsedTime:0,pseudoElement:0}),M_=tn(gb),C_=Pe({},Ye,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),U_=tn(C_),N_=Pe({},Ye,{data:0}),kS=tn(N_),H_=kS,k_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j_={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"},B_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},V_=Pe({},V,{key:function(e){if(e.key){var t=k_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ko(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?j_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dn,charCode:function(e){return e.type==="keypress"?ko(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ko(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),L_=tn(V_),q_=Pe({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jS=tn(q_),Y_=Pe({},V,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dn}),G_=tn(Y_),Z_=Pe({},Ye,{propertyName:0,elapsedTime:0,pseudoElement:0}),X_=tn(Z_),Q_=Pe({},ft,{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}),K_=tn(Q_),J_=Pe({},Ye,{newState:0,oldState:0}),$_=tn(J_),W_=[9,13,27,32],BS=229,vb=q&&"CompositionEvent"in window,Vp=null;q&&"documentMode"in document&&(Vp=document.documentMode);var F_=q&&"TextEvent"in window&&!Vp,VS=q&&(!vb||Vp&&8<Vp&&11>=Vp),LS=32,qS=String.fromCharCode(LS),YS=!1,kh=!1,I_={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},Lp=null,qp=null,GS=!1;q&&(GS=Vm("input")&&(!document.documentMode||9<document.documentMode));var hl=typeof Object.is=="function"?Object.is:ab,P_=q&&"documentMode"in document&&11>=document.documentMode,jh=null,bb=null,Yp=null,Sb=!1,Bh={animationend:jo("Animation","AnimationEnd"),animationiteration:jo("Animation","AnimationIteration"),animationstart:jo("Animation","AnimationStart"),transitionrun:jo("Transition","TransitionRun"),transitionstart:jo("Transition","TransitionStart"),transitioncancel:jo("Transition","TransitionCancel"),transitionend:jo("Transition","TransitionEnd")},Tb={},ZS={};q&&(ZS=document.createElement("div").style,"AnimationEvent"in window||(delete Bh.animationend.animation,delete Bh.animationiteration.animation,delete Bh.animationstart.animation),"TransitionEvent"in window||delete Bh.transitionend.transition);var XS=Bo("animationend"),QS=Bo("animationiteration"),KS=Bo("animationstart"),ew=Bo("transitionrun"),tw=Bo("transitionstart"),aw=Bo("transitioncancel"),JS=Bo("transitionend"),$S=new Map,xb="abort auxClick beforeToggle 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(" ");xb.push("scrollEnd");var Eb=new WeakMap,X0=1,yr=2,Ni=[],Vh=0,_b=0,Zc={};Object.freeze(Zc);var Hi=null,Lh=null,fa=0,nw=1,Rn=2,In=8,Ou=16,WS=64,FS=!1;try{var IS=Object.preventExtensions({})}catch{FS=!0}var qh=[],Yh=0,Q0=null,K0=0,ki=[],ji=0,wf=null,pr=1,gr="",ml=null,za=null,kt=!1,vr=!1,Bi=null,Af=null,So=!1,wb=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),PS=0;if(typeof performance=="object"&&typeof performance.now=="function")var lw=performance,eT=function(){return lw.now()};else{var iw=Date;eT=function(){return iw.now()}}var Ab=ht(null),Rb=ht(null),tT={},J0=null,Gh=null,Zh=!1,uw=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ow=Sa.unstable_scheduleCallback,rw=Sa.unstable_NormalPriority,rn={$$typeof:Wn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Xh=Sa.unstable_now,aT=-0,$0=-0,Nl=-1.1,Rf=-0,W0=!1,F0=!1,Gp=null,Ob=0,Of=0,Qh=null,nT=J.S;J.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ig(e,t),nT!==null&&nT(e,t)};var zf=ht(null),zu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],$p=[],Df=new Set;zu.recordUnsafeLifecycleWarnings=function(e,t){Df.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillMount=="function"&&Xp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Kp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Jp.push(e),e.mode&In&&typeof t.UNSAFE_componentWillUpdate=="function"&&$p.push(e))},zu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Zp.length&&(Zp.forEach(function(b){e.add(Ae(b)||"Component"),Df.add(b.type)}),Zp=[]);var t=new Set;0<Xp.length&&(Xp.forEach(function(b){t.add(Ae(b)||"Component"),Df.add(b.type)}),Xp=[]);var n=new Set;0<Qp.length&&(Qp.forEach(function(b){n.add(Ae(b)||"Component"),Df.add(b.type)}),Qp=[]);var u=new Set;0<Kp.length&&(Kp.forEach(function(b){u.add(Ae(b)||"Component"),Df.add(b.type)}),Kp=[]);var r=new Set;0<Jp.length&&(Jp.forEach(function(b){r.add(Ae(b)||"Component"),Df.add(b.type)}),Jp=[]);var c=new Set;if(0<$p.length&&($p.forEach(function(b){c.add(Ae(b)||"Component"),Df.add(b.type)}),$p=[]),0<t.size){var p=Y(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
275
275
|
|
|
276
276
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
277
277
|
|
|
@@ -306,22 +306,22 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
306
306
|
|
|
307
307
|
Please update the following components: %s
|
|
308
308
|
|
|
309
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},zu.discardPendingWarnings=function(){Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],$p=[],I0=new Map};var Wp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),iT=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),P0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),zb={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Fp=null,ev=!1,Vi=0,Li=1,yl=2,On=4,cn=8,uT=0,oT=1,rT=2,Db=3,Xc=!1,cT=!1,Mb=null,Cb=!1,Kh=ht(null),tv=ht(0),Jh,sT=new Set,fT=new Set,Ub=new Set,dT=new Set,Qc=0,et=null,na=null,Wa=null,av=!1,$h=!1,Mf=!1,nv=0,Ip=0,br=null,c4=0,s4=25,I=null,qi=null,Sr=-1,Pp=!1,lv={readContext:la,use:pa,useCallback:aa,useContext:aa,useEffect:aa,useImperativeHandle:aa,useLayoutEffect:aa,useInsertionEffect:aa,useMemo:aa,useReducer:aa,useRef:aa,useState:aa,useDebugValue:aa,useDeferredValue:aa,useTransition:aa,useSyncExternalStore:aa,useId:aa,useHostTransitionStatus:aa,useFormState:aa,useActionState:aa,useOptimistic:aa,useMemoCache:aa,useCacheRefresh:aa},Nb=null,hT=null,Hb=null,mT=null,To=null,Du=null,iv=null;Nb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ct(),Qu(t),uc(e,t)},useContext:function(e){return I="useContext",ct(),la(e)},useEffect:function(e,t){return I="useEffect",ct(),Qu(t),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ct(),Qu(n),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ct(),Qu(t),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ct(),Qu(t),oy(e,t)},useMemo:function(e,t){I="useMemo",ct(),Qu(t);var n=J.H;J.H=To;try{return $o(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ct(),Wu(e)},useState:function(e){I="useState",ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ct()},useDeferredValue:function(e,t){return I="useDeferredValue",ct(),oc(e,t)},useTransition:function(){return I="useTransition",ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ct(),xd(e,t,n)},useId:function(){return I="useId",ct(),Wo()},useFormState:function(e,t){return I="useFormState",ct(),Fr(),nc(e,t)},useActionState:function(e,t){return I="useActionState",ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ct(),Si(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},hT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),uc(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){return I="useEffect",ce(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ce(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),oy(e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=To;try{return $o(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ce(),Wu(e)},useState:function(e){I="useState",ce();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),oc(e,t)},useTransition:function(){return I="useTransition",ce(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),xd(e,t,n)},useId:function(){return I="useId",ce(),Wo()},useActionState:function(e,t){return I="useActionState",ce(),nc(e,t)},useFormState:function(e,t){return I="useFormState",ce(),Fr(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ce(),Si(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Ns()}},Hb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),Rd(e,t)},useTransition:function(){return I="useTransition",ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),Ad(e)},useActionState:function(e){return I="useActionState",ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),Ti(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},mT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=iv;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=iv;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=iv;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),cy(e,t)},useTransition:function(){return I="useTransition",ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),$u(e)},useActionState:function(e){return I="useActionState",ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),wd(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},To={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ct(),uc(e,t)},useContext:function(e){return I="useContext",w(),ct(),la(e)},useEffect:function(e,t){return I="useEffect",w(),ct(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ct(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",w(),ct(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ct(),oy(e,t)},useMemo:function(e,t){I="useMemo",w(),ct();var n=J.H;J.H=To;try{return $o(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",w(),ct(),Wu(e)},useState:function(e){I="useState",w(),ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",w(),ct()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ct(),oc(e,t)},useTransition:function(){return I="useTransition",w(),ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ct(),xd(e,t,n)},useId:function(){return I="useId",w(),ct(),Wo()},useFormState:function(e,t){return I="useFormState",w(),ct(),nc(e,t)},useActionState:function(e,t){return I="useActionState",w(),ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",w(),ct(),Si(e)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},Du={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),Rd(e,t)},useTransition:function(){return I="useTransition",w(),ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),Ad(e)},useActionState:function(e){return I="useActionState",w(),ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),Ti(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},iv={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),cy(e,t)},useTransition:function(){return I="useTransition",w(),ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),$u(e)},useActionState:function(e){return I="useActionState",w(),ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),wd(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}};var yT={"react-stack-bottom-frame":function(e,t,n){var u=Di;Di=!0;try{return e(t,n)}finally{Di=u}}},kb=yT["react-stack-bottom-frame"].bind(yT),pT={"react-stack-bottom-frame":function(e){var t=Di;Di=!0;try{return e.render()}finally{Di=t}}},gT=pT["react-stack-bottom-frame"].bind(pT),vT={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){$t(e,e.return,n)}}},jb=vT["react-stack-bottom-frame"].bind(vT),bT={"react-stack-bottom-frame":function(e,t,n,u,r){try{t.componentDidUpdate(n,u,r)}catch(c){$t(e,e.return,c)}}},ST=bT["react-stack-bottom-frame"].bind(bT),TT={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},f4=TT["react-stack-bottom-frame"].bind(TT),xT={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(u){$t(e,t,u)}}},ET=xT["react-stack-bottom-frame"].bind(xT),_T={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},d4=_T["react-stack-bottom-frame"].bind(_T),wT={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(u){$t(e,t,u)}}},h4=wT["react-stack-bottom-frame"].bind(wT),AT={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Kc=AT["react-stack-bottom-frame"].bind(AT),Wh=null,eg=0,gt=null,Bb,RT=Bb=!1,OT={},zT={},DT={};j=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var u=Ae(e),r=u||"null";if(!OT[r]){OT[r]=!0,n=n._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(r=Ae(e))&&(c=`
|
|
309
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},zu.discardPendingWarnings=function(){Zp=[],Xp=[],Qp=[],Kp=[],Jp=[],$p=[],I0=new Map};var Wp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),iT=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),P0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),zb={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Fp=null,ev=!1,Vi=0,Li=1,yl=2,On=4,cn=8,uT=0,oT=1,rT=2,Db=3,Xc=!1,cT=!1,Mb=null,Cb=!1,Kh=ht(null),tv=ht(0),Jh,sT=new Set,fT=new Set,Ub=new Set,dT=new Set,Qc=0,et=null,na=null,Wa=null,av=!1,$h=!1,Mf=!1,nv=0,Ip=0,br=null,cw=0,sw=25,I=null,qi=null,Sr=-1,Pp=!1,lv={readContext:la,use:pa,useCallback:aa,useContext:aa,useEffect:aa,useImperativeHandle:aa,useLayoutEffect:aa,useInsertionEffect:aa,useMemo:aa,useReducer:aa,useRef:aa,useState:aa,useDebugValue:aa,useDeferredValue:aa,useTransition:aa,useSyncExternalStore:aa,useId:aa,useHostTransitionStatus:aa,useFormState:aa,useActionState:aa,useOptimistic:aa,useMemoCache:aa,useCacheRefresh:aa},Nb=null,hT=null,Hb=null,mT=null,To=null,Du=null,iv=null;Nb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ct(),Qu(t),uc(e,t)},useContext:function(e){return I="useContext",ct(),la(e)},useEffect:function(e,t){return I="useEffect",ct(),Qu(t),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ct(),Qu(n),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ct(),Qu(t),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ct(),Qu(t),oy(e,t)},useMemo:function(e,t){I="useMemo",ct(),Qu(t);var n=J.H;J.H=To;try{return $o(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ct(),Wu(e)},useState:function(e){I="useState",ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ct()},useDeferredValue:function(e,t){return I="useDeferredValue",ct(),oc(e,t)},useTransition:function(){return I="useTransition",ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ct(),xd(e,t,n)},useId:function(){return I="useId",ct(),Wo()},useFormState:function(e,t){return I="useFormState",ct(),Fr(),nc(e,t)},useActionState:function(e,t){return I="useActionState",ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ct(),Si(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},hT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),uc(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){return I="useEffect",ce(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",ce(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),oy(e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=To;try{return $o(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",ce(),Wu(e)},useState:function(e){I="useState",ce();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),oc(e,t)},useTransition:function(){return I="useTransition",ce(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),xd(e,t,n)},useId:function(){return I="useId",ce(),Wo()},useActionState:function(e,t){return I="useActionState",ce(),nc(e,t)},useFormState:function(e,t){return I="useFormState",ce(),Fr(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",ce(),Si(e)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Ns()}},Hb={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),Rd(e,t)},useTransition:function(){return I="useTransition",ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),Ad(e)},useActionState:function(e){return I="useActionState",ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),Ti(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},mT={readContext:function(e){return la(e)},use:pa,useCallback:function(e,t){return I="useCallback",ce(),Ms(e,t)},useContext:function(e){return I="useContext",ce(),la(e)},useEffect:function(e,t){I="useEffect",ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",ce();var n=J.H;J.H=iv;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",ce();var u=J.H;J.H=iv;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",ce(),Zt().memoizedState},useState:function(){I="useState",ce();var e=J.H;J.H=iv;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",ce()},useDeferredValue:function(e,t){return I="useDeferredValue",ce(),cy(e,t)},useTransition:function(){return I="useTransition",ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",ce(),Rs(e,t,n)},useId:function(){return I="useId",ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",ce(),Fr(),$u(e)},useActionState:function(e){return I="useActionState",ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",ce(),wd(e,t)},useHostTransitionStatus:Vn,useMemoCache:Jt,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},To={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ct(),uc(e,t)},useContext:function(e){return I="useContext",w(),ct(),la(e)},useEffect:function(e,t){return I="useEffect",w(),ct(),Ds(e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ct(),uu(e,t,n)},useInsertionEffect:function(e,t){I="useInsertionEffect",w(),ct(),Al(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ct(),oy(e,t)},useMemo:function(e,t){I="useMemo",w(),ct();var n=J.H;J.H=To;try{return $o(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ct();var u=J.H;J.H=To;try{return lu(e,t,n)}finally{J.H=u}},useRef:function(e){return I="useRef",w(),ct(),Wu(e)},useState:function(e){I="useState",w(),ct();var t=J.H;J.H=To;try{return $l(e)}finally{J.H=t}},useDebugValue:function(){I="useDebugValue",w(),ct()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ct(),oc(e,t)},useTransition:function(){return I="useTransition",w(),ct(),Us()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ct(),xd(e,t,n)},useId:function(){return I="useId",w(),ct(),Wo()},useFormState:function(e,t){return I="useFormState",w(),ct(),nc(e,t)},useActionState:function(e,t){return I="useActionState",w(),ct(),nc(e,t)},useOptimistic:function(e){return I="useOptimistic",w(),ct(),Si(e)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ct(),Ns()}},Du={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return _n(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return _n(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),Rd(e,t)},useTransition:function(){return I="useTransition",w(),ce(),zd()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),Ad(e)},useActionState:function(e){return I="useActionState",w(),ce(),Ad(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),Ti(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}},iv={readContext:function(e){return X(),la(e)},use:function(e){return w(),pa(e)},useCallback:function(e,t){return I="useCallback",w(),ce(),Ms(e,t)},useContext:function(e){return I="useContext",w(),ce(),la(e)},useEffect:function(e,t){I="useEffect",w(),ce(),Bn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return I="useImperativeHandle",w(),ce(),ic(e,t,n)},useInsertionEffect:function(e,t){return I="useInsertionEffect",w(),ce(),Bn(4,yl,e,t)},useLayoutEffect:function(e,t){return I="useLayoutEffect",w(),ce(),Bn(4,On,e,t)},useMemo:function(e,t){I="useMemo",w(),ce();var n=J.H;J.H=Du;try{return Cs(e,t)}finally{J.H=n}},useReducer:function(e,t,n){I="useReducer",w(),ce();var u=J.H;J.H=Du;try{return Jl(e,t,n)}finally{J.H=u}},useRef:function(){return I="useRef",w(),ce(),Zt().memoizedState},useState:function(){I="useState",w(),ce();var e=J.H;J.H=Du;try{return Jl(st)}finally{J.H=e}},useDebugValue:function(){I="useDebugValue",w(),ce()},useDeferredValue:function(e,t){return I="useDeferredValue",w(),ce(),cy(e,t)},useTransition:function(){return I="useTransition",w(),ce(),ru()},useSyncExternalStore:function(e,t,n){return I="useSyncExternalStore",w(),ce(),Rs(e,t,n)},useId:function(){return I="useId",w(),ce(),Zt().memoizedState},useFormState:function(e){return I="useFormState",w(),ce(),$u(e)},useActionState:function(e){return I="useActionState",w(),ce(),$u(e)},useOptimistic:function(e,t){return I="useOptimistic",w(),ce(),wd(e,t)},useMemoCache:function(e){return w(),Jt(e)},useHostTransitionStatus:Vn,useCacheRefresh:function(){return I="useCacheRefresh",ce(),Zt().memoizedState}};var yT={"react-stack-bottom-frame":function(e,t,n){var u=Di;Di=!0;try{return e(t,n)}finally{Di=u}}},kb=yT["react-stack-bottom-frame"].bind(yT),pT={"react-stack-bottom-frame":function(e){var t=Di;Di=!0;try{return e.render()}finally{Di=t}}},gT=pT["react-stack-bottom-frame"].bind(pT),vT={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(n){$t(e,e.return,n)}}},jb=vT["react-stack-bottom-frame"].bind(vT),bT={"react-stack-bottom-frame":function(e,t,n,u,r){try{t.componentDidUpdate(n,u,r)}catch(c){$t(e,e.return,c)}}},ST=bT["react-stack-bottom-frame"].bind(bT),TT={"react-stack-bottom-frame":function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},fw=TT["react-stack-bottom-frame"].bind(TT),xT={"react-stack-bottom-frame":function(e,t,n){try{n.componentWillUnmount()}catch(u){$t(e,t,u)}}},ET=xT["react-stack-bottom-frame"].bind(xT),_T={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},dw=_T["react-stack-bottom-frame"].bind(_T),wT={"react-stack-bottom-frame":function(e,t,n){try{n()}catch(u){$t(e,t,u)}}},hw=wT["react-stack-bottom-frame"].bind(wT),AT={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},Kc=AT["react-stack-bottom-frame"].bind(AT),Wh=null,eg=0,gt=null,Bb,RT=Bb=!1,OT={},zT={},DT={};j=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var u=Ae(e),r=u||"null";if(!OT[r]){OT[r]=!0,n=n._owner,e=e._debugOwner;var c="";e&&typeof e.tag=="number"&&(r=Ae(e))&&(c=`
|
|
310
310
|
|
|
311
311
|
Check the render method of \``+r+"`."),c||u&&(c=`
|
|
312
312
|
|
|
313
|
-
Check the top-level render call using <`+u+">.");var p="";n!=null&&e!==n&&(u=null,typeof n.tag=="number"?u=Ae(n):typeof n.name=="string"&&(u=n.name),u&&(p=" It was passed a child from "+u+".")),ke(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,p)})}}};var Fh=Io(!0),MT=Io(!1),Yi=ht(null),xo=null,Ih=1,tg=2,sn=ht(0),CT={},UT=new Set,NT=new Set,HT=new Set,kT=new Set,jT=new Set,BT=new Set,VT=new Set,LT=new Set,qT=new Set,YT=new Set;Object.freeze(CT);var Vb={enqueueSetState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Qo(t,e,u)),el(e,u)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.tag=oT,r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Qo(t,e,u)),el(e,u)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ol(e),u=Gl(n);u.tag=rT,t!=null&&(ya(t),u.callback=t),t=Zl(e,u,n),t!==null&&(bt(t,e,n),Qo(t,e,n)),Ee!==null&&typeof Ee.markForceUpdateScheduled=="function"&&Ee.markForceUpdateScheduled(e,n)}},Lb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ph=null,qb=null,GT=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),gn=!1,ZT={},XT={},QT={},KT={},em=!1,JT={},Yb={},Gb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$T=!1,WT=null;WT=new Set;var Tr=!1,Va=!1,Zb=!1,FT=typeof WeakSet=="function"?WeakSet:Set,vn=null,tm=null,am=null,Fa=null,Hl=!1,Mu=null,ag=8192,m4={getCacheForType:function(e){var t=la(rn),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return on}};if(typeof Symbol=="function"&&Symbol.for){var ng=Symbol.for;ng("selector.component"),ng("selector.has_pseudo_class"),ng("selector.role"),ng("selector.test_id"),ng("selector.text")}var y4=[],p4=typeof WeakMap=="function"?WeakMap:Map,si=0,pl=2,Cu=4,xr=0,lg=1,nm=2,Xb=3,Cf=4,uv=6,IT=5,Kt=si,ra=null,xt=null,At=0,kl=0,ig=1,Uf=2,ug=3,PT=4,Qb=5,lm=6,og=7,Kb=8,Nf=9,Pt=kl,fi=null,Jc=!1,im=!1,Jb=!1,Eo=0,Da=xr,$c=0,Wc=0,$b=0,di=0,Hf=0,rg=null,gl=null,ov=!1,Wb=0,ex=300,rv=1/0,tx=500,cg=null,Fc=null,g4=0,v4=1,b4=2,kf=0,ax=1,nx=2,lx=3,S4=4,Fb=5,zn=0,Ic=null,um=null,Pc=0,Ib=0,Pb=null,ix=null,T4=50,sg=0,e1=null,t1=!1,cv=!1,x4=50,jf=0,fg=null,om=!1,sv=null,ux=!1,ox=new Set,E4={},fv=null,rm=null,a1=!1,n1=!1,dv=!1,l1=!1,Bf=0,i1={};(function(){for(var e=0;e<xb.length;e++){var t=xb[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ll(n,"on"+t)}Ll(XS,"onAnimationEnd"),Ll(QS,"onAnimationIteration"),Ll(KS,"onAnimationStart"),Ll("dblclick","onDoubleClick"),Ll("focusin","onFocus"),Ll("focusout","onBlur"),Ll(e4,"onTransitionRun"),Ll(t4,"onTransitionStart"),Ll(a4,"onTransitionCancel"),Ll(JS,"onTransitionEnd")})(),be("onMouseEnter",["mouseout","mouseover"]),be("onMouseLeave",["mouseout","mouseover"]),be("onPointerEnter",["pointerout","pointerover"]),be("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dg="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(" "),u1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(dg)),hv="_reactListening"+Math.random().toString(36).slice(2),rx=!1,cx=!1,mv=!1,sx=!1,yv=!1,pv=!1,fx=!1,gv={},_4=/\r\n?/g,w4=/\u0000|\uFFFD/g,Vf="http://www.w3.org/1999/xlink",o1="http://www.w3.org/XML/1998/namespace",A4="javascript:throw new Error('React form unexpectedly submitted.')",R4="suppressHydrationWarning",vv="$",bv="/$",Er="$?",hg="$!",O4=1,z4=2,D4=4,r1="F!",dx="F",hx="complete",M4="style",_r=0,cm=1,Sv=2,c1=null,s1=null,mx={dialog:!0,webview:!0},f1=null,yx=typeof setTimeout=="function"?setTimeout:void 0,C4=typeof clearTimeout=="function"?clearTimeout:void 0,Lf=-1,px=typeof Promise=="function"?Promise:void 0,U4=typeof queueMicrotask=="function"?queueMicrotask:typeof px<"u"?function(e){return px.resolve(null).then(e).catch(vu)}:yx,d1=null,qf=0,mg=1,gx=2,vx=3,Gi=4,Zi=new Map,bx=new Set,wr=Lt.d;Lt.d={f:function(){var e=wr.f(),t=lr();return e||t},r:function(e){var t=Pa(e);t!==null&&t.tag===5&&t.type==="form"?ou(t):wr.r(e)},D:function(e){wr.D(e),bu("dns-prefetch",e,null)},C:function(e,t){wr.C(e,t),bu("preconnect",e,t)},L:function(e,t,n){wr.L(e,t,n);var u=sm;if(u&&e&&t){var r='link[rel="preload"][as="'+Ga(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ga(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ga(n.imageSizes)+'"]')):r+='[href="'+Ga(e)+'"]';var c=r;switch(t){case"style":c=ii(e);break;case"script":c=so(e)}Zi.has(c)||(e=Pe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Zi.set(c,e),u.querySelector(r)!==null||t==="style"&&u.querySelector(Cc(c))||t==="script"&&u.querySelector(cr(c))||(t=u.createElement("link"),Qa(t,"link",e),B(t),u.head.appendChild(t)))}},m:function(e,t){wr.m(e,t);var n=sm;if(n&&e){var u=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ga(u)+'"][href="'+Ga(e)+'"]',c=r;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=so(e)}if(!Zi.has(c)&&(e=Pe({rel:"modulepreload",href:e},t),Zi.set(c,e),n.querySelector(r)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(cr(c)))return}u=n.createElement("link"),Qa(u,"link",e),B(u),n.head.appendChild(u)}}},X:function(e,t){wr.X(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(cr(r)),c||(e=Pe({src:e,async:!0},t),(t=Zi.get(r))&&ch(e,t),c=n.createElement("script"),B(c),Qa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}},S:function(e,t,n){wr.S(e,t,n);var u=sm;if(u&&e){var r=x(u).hoistableStyles,c=ii(e);t=t||"default";var p=r.get(c);if(!p){var b={loading:qf,preload:null};if(p=u.querySelector(Cc(c)))b.loading=mg|Gi;else{e=Pe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Zi.get(c))&&fp(e,n);var E=p=u.createElement("link");B(E),Qa(E,"link",e),E._p=new Promise(function(R,$){E.onload=R,E.onerror=$}),E.addEventListener("load",function(){b.loading|=mg}),E.addEventListener("error",function(){b.loading|=gx}),b.loading|=Gi,rh(p,t,u)}p={type:"stylesheet",instance:p,count:1,state:b},r.set(c,p)}}},M:function(e,t){wr.M(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(cr(r)),c||(e=Pe({src:e,async:!0,type:"module"},t),(t=Zi.get(r))&&ch(e,t),c=n.createElement("script"),B(c),Qa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}}};var sm=typeof document>"u"?null:document,Tv=null,yg=null,h1=null,xv=null,Yf=vp,pg={$$typeof:Wn,Provider:null,Consumer:null,_currentValue:Yf,_currentValue2:Yf,_threadCount:0},Sx="%c%s%c ",Tx="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",xx="",Ev=" ",N4=Function.prototype.bind,Ex=!1,_x=null,wx=null,Ax=null,Rx=null,Ox=null,zx=null,Dx=null,Mx=null,Cx=null;_x=function(e,t,n,u){t=s(e,t),t!==null&&(n=h(t.memoizedState,n,0,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},wx=function(e,t,n){t=s(e,t),t!==null&&(n=v(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Ax=function(e,t,n,u){t=s(e,t),t!==null&&(n=y(t.memoizedState,n,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Rx=function(e,t,n){e.pendingProps=h(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Ox=function(e,t){e.pendingProps=v(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},zx=function(e,t,n){e.pendingProps=y(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Dx=function(e){var t=Nn(e,2);t!==null&&bt(t,e,2)},Mx=function(e){A=e},Cx=function(e){_=e};var _v=!0,wv=null,m1=!1,es=null,ts=null,as=null,gg=new Map,vg=new Map,ns=[],H4="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".split(" "),Av=null;if(vh.prototype.render=gh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Fe(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var u=t.current,r=ol(u);uf(u,r,n,t,null,null)},vh.prototype.unmount=gh.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Kt&(pl|Cu))!==si&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),uf(e.current,2,null,e,null,null),lr(),t[go]=null}},vh.prototype.unstable_scheduleHydration=function(e){if(e){var t=zo();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ns.length&&t!==0&&t<ns[n].priority;n++);ns.splice(n,0,e),n===0&&yp(e)}},function(){var e=gp.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
313
|
+
Check the top-level render call using <`+u+">.");var p="";n!=null&&e!==n&&(u=null,typeof n.tag=="number"?u=Ae(n):typeof n.name=="string"&&(u=n.name),u&&(p=" It was passed a child from "+u+".")),ke(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',c,p)})}}};var Fh=Io(!0),MT=Io(!1),Yi=ht(null),xo=null,Ih=1,tg=2,sn=ht(0),CT={},UT=new Set,NT=new Set,HT=new Set,kT=new Set,jT=new Set,BT=new Set,VT=new Set,LT=new Set,qT=new Set,YT=new Set;Object.freeze(CT);var Vb={enqueueSetState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Qo(t,e,u)),el(e,u)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var u=ol(e),r=Gl(u);r.tag=oT,r.payload=t,n!=null&&(ya(n),r.callback=n),t=Zl(e,r,u),t!==null&&(bt(t,e,u),Qo(t,e,u)),el(e,u)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ol(e),u=Gl(n);u.tag=rT,t!=null&&(ya(t),u.callback=t),t=Zl(e,u,n),t!==null&&(bt(t,e,n),Qo(t,e,n)),Ee!==null&&typeof Ee.markForceUpdateScheduled=="function"&&Ee.markForceUpdateScheduled(e,n)}},Lb=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ph=null,qb=null,GT=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),gn=!1,ZT={},XT={},QT={},KT={},em=!1,JT={},Yb={},Gb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},$T=!1,WT=null;WT=new Set;var Tr=!1,Va=!1,Zb=!1,FT=typeof WeakSet=="function"?WeakSet:Set,vn=null,tm=null,am=null,Fa=null,Hl=!1,Mu=null,ag=8192,mw={getCacheForType:function(e){var t=la(rn),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},getOwner:function(){return on}};if(typeof Symbol=="function"&&Symbol.for){var ng=Symbol.for;ng("selector.component"),ng("selector.has_pseudo_class"),ng("selector.role"),ng("selector.test_id"),ng("selector.text")}var yw=[],pw=typeof WeakMap=="function"?WeakMap:Map,si=0,pl=2,Cu=4,xr=0,lg=1,nm=2,Xb=3,Cf=4,uv=6,IT=5,Kt=si,ra=null,xt=null,At=0,kl=0,ig=1,Uf=2,ug=3,PT=4,Qb=5,lm=6,og=7,Kb=8,Nf=9,Pt=kl,fi=null,Jc=!1,im=!1,Jb=!1,Eo=0,Da=xr,$c=0,Wc=0,$b=0,di=0,Hf=0,rg=null,gl=null,ov=!1,Wb=0,ex=300,rv=1/0,tx=500,cg=null,Fc=null,gw=0,vw=1,bw=2,kf=0,ax=1,nx=2,lx=3,Sw=4,Fb=5,zn=0,Ic=null,um=null,Pc=0,Ib=0,Pb=null,ix=null,Tw=50,sg=0,e1=null,t1=!1,cv=!1,xw=50,jf=0,fg=null,om=!1,sv=null,ux=!1,ox=new Set,Ew={},fv=null,rm=null,a1=!1,n1=!1,dv=!1,l1=!1,Bf=0,i1={};(function(){for(var e=0;e<xb.length;e++){var t=xb[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ll(n,"on"+t)}Ll(XS,"onAnimationEnd"),Ll(QS,"onAnimationIteration"),Ll(KS,"onAnimationStart"),Ll("dblclick","onDoubleClick"),Ll("focusin","onFocus"),Ll("focusout","onBlur"),Ll(ew,"onTransitionRun"),Ll(tw,"onTransitionStart"),Ll(aw,"onTransitionCancel"),Ll(JS,"onTransitionEnd")})(),be("onMouseEnter",["mouseout","mouseover"]),be("onMouseLeave",["mouseout","mouseover"]),be("onPointerEnter",["pointerout","pointerover"]),be("onPointerLeave",["pointerout","pointerover"]),he("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),he("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),he("onBeforeInput",["compositionend","keypress","textInput","paste"]),he("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),he("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dg="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(" "),u1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(dg)),hv="_reactListening"+Math.random().toString(36).slice(2),rx=!1,cx=!1,mv=!1,sx=!1,yv=!1,pv=!1,fx=!1,gv={},_w=/\r\n?/g,ww=/\u0000|\uFFFD/g,Vf="http://www.w3.org/1999/xlink",o1="http://www.w3.org/XML/1998/namespace",Aw="javascript:throw new Error('React form unexpectedly submitted.')",Rw="suppressHydrationWarning",vv="$",bv="/$",Er="$?",hg="$!",Ow=1,zw=2,Dw=4,r1="F!",dx="F",hx="complete",Mw="style",_r=0,cm=1,Sv=2,c1=null,s1=null,mx={dialog:!0,webview:!0},f1=null,yx=typeof setTimeout=="function"?setTimeout:void 0,Cw=typeof clearTimeout=="function"?clearTimeout:void 0,Lf=-1,px=typeof Promise=="function"?Promise:void 0,Uw=typeof queueMicrotask=="function"?queueMicrotask:typeof px<"u"?function(e){return px.resolve(null).then(e).catch(vu)}:yx,d1=null,qf=0,mg=1,gx=2,vx=3,Gi=4,Zi=new Map,bx=new Set,wr=Lt.d;Lt.d={f:function(){var e=wr.f(),t=lr();return e||t},r:function(e){var t=Pa(e);t!==null&&t.tag===5&&t.type==="form"?ou(t):wr.r(e)},D:function(e){wr.D(e),bu("dns-prefetch",e,null)},C:function(e,t){wr.C(e,t),bu("preconnect",e,t)},L:function(e,t,n){wr.L(e,t,n);var u=sm;if(u&&e&&t){var r='link[rel="preload"][as="'+Ga(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ga(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ga(n.imageSizes)+'"]')):r+='[href="'+Ga(e)+'"]';var c=r;switch(t){case"style":c=ii(e);break;case"script":c=so(e)}Zi.has(c)||(e=Pe({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Zi.set(c,e),u.querySelector(r)!==null||t==="style"&&u.querySelector(Cc(c))||t==="script"&&u.querySelector(cr(c))||(t=u.createElement("link"),Qa(t,"link",e),B(t),u.head.appendChild(t)))}},m:function(e,t){wr.m(e,t);var n=sm;if(n&&e){var u=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ga(u)+'"][href="'+Ga(e)+'"]',c=r;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=so(e)}if(!Zi.has(c)&&(e=Pe({rel:"modulepreload",href:e},t),Zi.set(c,e),n.querySelector(r)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(cr(c)))return}u=n.createElement("link"),Qa(u,"link",e),B(u),n.head.appendChild(u)}}},X:function(e,t){wr.X(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(cr(r)),c||(e=Pe({src:e,async:!0},t),(t=Zi.get(r))&&ch(e,t),c=n.createElement("script"),B(c),Qa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}},S:function(e,t,n){wr.S(e,t,n);var u=sm;if(u&&e){var r=x(u).hoistableStyles,c=ii(e);t=t||"default";var p=r.get(c);if(!p){var b={loading:qf,preload:null};if(p=u.querySelector(Cc(c)))b.loading=mg|Gi;else{e=Pe({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Zi.get(c))&&fp(e,n);var E=p=u.createElement("link");B(E),Qa(E,"link",e),E._p=new Promise(function(R,$){E.onload=R,E.onerror=$}),E.addEventListener("load",function(){b.loading|=mg}),E.addEventListener("error",function(){b.loading|=gx}),b.loading|=Gi,rh(p,t,u)}p={type:"stylesheet",instance:p,count:1,state:b},r.set(c,p)}}},M:function(e,t){wr.M(e,t);var n=sm;if(n&&e){var u=x(n).hoistableScripts,r=so(e),c=u.get(r);c||(c=n.querySelector(cr(r)),c||(e=Pe({src:e,async:!0,type:"module"},t),(t=Zi.get(r))&&ch(e,t),c=n.createElement("script"),B(c),Qa(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},u.set(r,c))}}};var sm=typeof document>"u"?null:document,Tv=null,yg=null,h1=null,xv=null,Yf=vp,pg={$$typeof:Wn,Provider:null,Consumer:null,_currentValue:Yf,_currentValue2:Yf,_threadCount:0},Sx="%c%s%c ",Tx="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",xx="",Ev=" ",Nw=Function.prototype.bind,Ex=!1,_x=null,wx=null,Ax=null,Rx=null,Ox=null,zx=null,Dx=null,Mx=null,Cx=null;_x=function(e,t,n,u){t=s(e,t),t!==null&&(n=h(t.memoizedState,n,0,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},wx=function(e,t,n){t=s(e,t),t!==null&&(n=v(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Ax=function(e,t,n,u){t=s(e,t),t!==null&&(n=y(t.memoizedState,n,u),t.memoizedState=n,t.baseState=n,e.memoizedProps=Pe({},e.memoizedProps),n=Nn(e,2),n!==null&&bt(n,e,2))},Rx=function(e,t,n){e.pendingProps=h(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Ox=function(e,t){e.pendingProps=v(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},zx=function(e,t,n){e.pendingProps=y(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Nn(e,2),t!==null&&bt(t,e,2)},Dx=function(e){var t=Nn(e,2);t!==null&&bt(t,e,2)},Mx=function(e){A=e},Cx=function(e){_=e};var _v=!0,wv=null,m1=!1,es=null,ts=null,as=null,gg=new Map,vg=new Map,ns=[],Hw="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".split(" "),Av=null;if(vh.prototype.render=gh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Fe(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var u=t.current,r=ol(u);uf(u,r,n,t,null,null)},vh.prototype.unmount=gh.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Kt&(pl|Cu))!==si&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),uf(e.current,2,null,e,null,null),lr(),t[go]=null}},vh.prototype.unstable_scheduleHydration=function(e){if(e){var t=zo();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ns.length&&t!==0&&t<ns[n].priority;n++);ns.splice(n,0,e),n===0&&yp(e)}},function(){var e=gp.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
314
314
|
- react: `+(e+`
|
|
315
315
|
- react-dom: 19.1.0
|
|
316
316
|
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Lt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=He(t),e=e!==null?Qt(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:J,reconcilerVersion:"19.1.0"};return e.overrideHookState=_x,e.overrideHookStateDeletePath=wx,e.overrideHookStateRenamePath=Ax,e.overrideProps=Rx,e.overridePropsDeletePath=Ox,e.overridePropsRenamePath=zx,e.scheduleUpdate=Dx,e.setErrorHandler=Mx,e.setSuspenseHandler=Cx,e.scheduleRefresh=Be,e.scheduleRoot=de,e.setRefreshHandler=Xe,e.getCurrentFiber=rb,e.getLaneLabelMap=cb,e.injectProfilingHooks=Ct,De(e)}()&&q&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Ux=window.location.protocol;/^(https?|file):$/.test(Ux)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Ux==="file:"?`
|
|
317
317
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}ym.createRoot=function(e,t){if(!Fe(e))throw Error("Target container is not a DOM element.");bh(e);var n=!1,u="",r=e0,c=Ud,p=Nd,b=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Tu&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
318
318
|
|
|
319
319
|
let root = createRoot(domContainer);
|
|
320
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=mp(e,1,!1,null,null,n,u,r,c,p,b,null),e[go]=t.current,ef(e),new gh(t)},ym.hydrateRoot=function(e,t,n){if(!Fe(e))throw Error("Target container is not a DOM element.");bh(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,r="",c=e0,p=Ud,b=Nd,E=null,R=null;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(E=n.unstable_transitionCallbacks),n.formState!==void 0&&(R=n.formState)),t=mp(e,1,!0,t,n??null,u,r,c,p,b,E,R),t.context=Ft(null),n=t.current,u=ol(n),u=pt(u),r=Gl(u),r.callback=null,Zl(n,r,u),n=u,t.current.lanes=n,pe(t,n),Dl(t),e[go]=t.current,ef(e),new vh(t)},ym.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),ym}var C1;function Xx(){if(C1)return Sg.exports;C1=1;var d={};function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(d.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(h){console.error(h)}}}return d.NODE_ENV==="production"?(s(),Sg.exports=Gx()):Sg.exports=Zx(),Sg.exports}var Qx=Xx();const Kx=Xi(Qx),U1=d=>{let s;const h=new Set,y=(w,X)=>{const se=typeof w=="function"?w(s):w;if(!Object.is(se,s)){const Y=s;s=X??(typeof se!="object"||se===null)?se:Object.assign({},s,se),h.forEach(L=>L(s,Y))}},g=()=>s,A={setState:y,getState:g,getInitialState:()=>j,subscribe:w=>(h.add(w),()=>h.delete(w))},j=s=d(y,g,A);return A},Jx=d=>d?U1(d):U1;var Ma=Gf();const jl=Xi(Ma),$x=d=>d;function Wx(d,s=$x){const h=jl.useSyncExternalStore(d.subscribe,()=>s(d.getState()),()=>s(d.getInitialState()));return jl.useDebugValue(h),h}const Fx={securityNumber:"",state:"isEmpty",availableDiscountSelected:{quantity:0,discount:{unit:0,total:0},totalPrice:0,grossPrice:0},targetProduct:null,campaign:"pbm_campaign"},Eg=Jx(d=>({...Fx,setSecurityNumber:s=>d({securityNumber:s}),setState:s=>d({state:s}),setTargetProduct:s=>d({targetProduct:s}),setAvailableDiscountSelected:s=>d({availableDiscountSelected:s}),setUrlAcceptTerms:s=>d({urlAcceptTerms:s}),setUrlRegisterIndustry:s=>d({urlRegisterIndustry:s})})),Ix=()=>({getState:()=>{const d=Eg.getState(),{setSecurityNumber:s,setState:h,setAvailableDiscountSelected:y,setTargetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_,...A}=d,{quantity:j,productId:w,skuId:X,discountMax:se,netPrice:Y,stockBalance:L,listPrice:de,price:Be,...Xe}=d.targetProduct;return{...A,targetProduct:Xe}}});function Or(d){return Wx(Eg,s=>s)}function Px({originalProductPrice:d}){var g;const{targetProduct:s}=Or(),h=(s==null?void 0:s.listPrice)||d,y=h*(((s==null?void 0:s.discountMax)||0)/100);return ge.jsxs("header",{className:"flex items-center justify-between w-full p-0.5 rounded-
|
|
320
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=mp(e,1,!1,null,null,n,u,r,c,p,b,null),e[go]=t.current,ef(e),new gh(t)},ym.hydrateRoot=function(e,t,n){if(!Fe(e))throw Error("Target container is not a DOM element.");bh(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,r="",c=e0,p=Ud,b=Nd,E=null,R=null;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(p=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(E=n.unstable_transitionCallbacks),n.formState!==void 0&&(R=n.formState)),t=mp(e,1,!0,t,n??null,u,r,c,p,b,E,R),t.context=Ft(null),n=t.current,u=ol(n),u=pt(u),r=Gl(u),r.callback=null,Zl(n,r,u),n=u,t.current.lanes=n,pe(t,n),Dl(t),e[go]=t.current,ef(e),new vh(t)},ym.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),ym}var C1;function Xx(){if(C1)return Sg.exports;C1=1;var d={};function s(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(d.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(s)}catch(h){console.error(h)}}}return d.NODE_ENV==="production"?(s(),Sg.exports=Gx()):Sg.exports=Zx(),Sg.exports}var Qx=Xx();const Kx=Xi(Qx),U1=d=>{let s;const h=new Set,y=(w,X)=>{const se=typeof w=="function"?w(s):w;if(!Object.is(se,s)){const Y=s;s=X??(typeof se!="object"||se===null)?se:Object.assign({},s,se),h.forEach(L=>L(s,Y))}},g=()=>s,A={setState:y,getState:g,getInitialState:()=>j,subscribe:w=>(h.add(w),()=>h.delete(w))},j=s=d(y,g,A);return A},Jx=d=>d?U1(d):U1;var Ma=Gf();const jl=Xi(Ma),$x=d=>d;function Wx(d,s=$x){const h=jl.useSyncExternalStore(d.subscribe,()=>s(d.getState()),()=>s(d.getInitialState()));return jl.useDebugValue(h),h}const Fx={securityNumber:"",state:"isEmpty",availableDiscountSelected:{quantity:0,discount:{unit:0,total:0},totalPrice:0,grossPrice:0},targetProduct:null,campaign:"pbm_campaign"},Eg=Jx(d=>({...Fx,setSecurityNumber:s=>d({securityNumber:s}),setState:s=>d({state:s}),setTargetProduct:s=>d({targetProduct:s}),setAvailableDiscountSelected:s=>d({availableDiscountSelected:s}),setUrlAcceptTerms:s=>d({urlAcceptTerms:s}),setUrlRegisterIndustry:s=>d({urlRegisterIndustry:s})})),Ix=()=>({getState:()=>{const d=Eg.getState(),{setSecurityNumber:s,setState:h,setAvailableDiscountSelected:y,setTargetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_,...A}=d,{quantity:j,productId:w,skuId:X,discountMax:se,netPrice:Y,stockBalance:L,listPrice:de,price:Be,...Xe}=d.targetProduct;return{...A,targetProduct:Xe}}});function Or(d){return Wx(Eg,s=>s)}function Px({originalProductPrice:d}){var g;const{targetProduct:s}=Or(),h=(s==null?void 0:s.listPrice)||d,y=h*(((s==null?void 0:s.discountMax)||0)/100);return ge.jsxs("header",{className:"flex items-center justify-between w-full p-0.5 rounded-xl bg-[#44c2c0]/30 mt-5",id:"header_pbm",children:[ge.jsxs("span",{className:"py-1 px-6 rounded-xl bg-[#44c2c0] shrink-0 text-white text-xl font-bold flex items-center justify-start gap-2 relative","data-testid":"test_id_header_price",id:"header_price",children:[ge.jsxs("span",{className:"absolute -top-6 left-10 bg-emerald-500 px-4 py-1 rounded-t-lg text-xs font-medium text-white",children:[s==null?void 0:s.discountMax,"% OFF"]}),ge.jsxs("svg",{width:"32px",height:"32px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ge.jsx("g",{id:"SVGRepo_bgCarrier",strokeWidth:"0"}),ge.jsx("g",{id:"SVGRepo_tracerCarrier",strokeLinecap:"round",strokeLinejoin:"round"}),ge.jsxs("g",{id:"SVGRepo_iconCarrier",children:[ge.jsx("path",{d:"M10 8.99998C10.5523 8.99998 11 9.44769 11 9.99998C11 10.5523 10.5523 11 10 11C9.44775 11 9.00004 10.5523 9.00004 9.99998C9.00004 9.44769 9.44775 8.99998 10 8.99998Z",fill:"#fff"}),ge.jsx("path",{d:"M13 14C13 14.5523 13.4478 15 14 15C14.5523 15 15 14.5523 15 14C15 13.4477 14.5523 13 14 13C13.4478 13 13 13.4477 13 14Z",fill:"#fff"}),ge.jsx("path",{d:"M10.7071 14.7071L14.7071 10.7071C15.0977 10.3166 15.0977 9.6834 14.7071 9.29287C14.3166 8.90235 13.6835 8.90235 13.2929 9.29287L9.29293 13.2929C8.90241 13.6834 8.90241 14.3166 9.29293 14.7071C9.68346 15.0976 10.3166 15.0976 10.7071 14.7071Z",fill:"#fff"}),ge.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3117 4.07145L15.1708 4.34503L14.5575 3.34485C13.3869 1.43575 10.6131 1.43575 9.44254 3.34485L8.82926 4.34503L7.68836 4.07145C5.51069 3.54925 3.54931 5.51063 4.07151 7.6883L4.34509 8.8292L3.34491 9.44248C1.43581 10.6131 1.43581 13.3869 3.34491 14.5575L4.34509 15.1708L4.07151 16.3117C3.54931 18.4893 5.51069 20.4507 7.68836 19.9285L8.82926 19.6549L9.44254 20.6551C10.6131 22.5642 13.3869 22.5642 14.5575 20.6551L15.1708 19.6549L16.3117 19.9285C18.4894 20.4507 20.4508 18.4893 19.9286 16.3117L19.655 15.1708L20.6552 14.5575C22.5643 13.3869 22.5643 10.6131 20.6552 9.44248L19.655 8.8292L19.9286 7.6883C20.4508 5.51063 18.4894 3.54925 16.3117 4.07145ZM11.1475 4.3903C11.5377 3.75393 12.4623 3.75393 12.8525 4.3903L13.8454 6.00951C14.0717 6.37867 14.51 6.56019 14.9311 6.45922L16.7781 6.01631C17.504 5.84225 18.1578 6.49604 17.9837 7.22193L17.5408 9.06894C17.4398 9.49003 17.6213 9.92827 17.9905 10.1546L19.6097 11.1475C20.2461 11.5377 20.2461 12.4623 19.6097 12.8525L17.9905 13.8453C17.6213 14.0717 17.4398 14.5099 17.5408 14.931L17.9837 16.778C18.1578 17.5039 17.504 18.1577 16.7781 17.9836L14.9311 17.5407C14.51 17.4398 14.0717 17.6213 13.8454 17.9904L12.8525 19.6097C12.4623 20.246 11.5377 20.246 11.1475 19.6097L10.1547 17.9904C9.92833 17.6213 9.49009 17.4398 9.069 17.5407L7.22199 17.9836C6.4961 18.1577 5.84231 17.5039 6.01637 16.778L6.45928 14.931C6.56026 14.5099 6.37873 14.0717 6.00957 13.8453L4.39036 12.8525C3.75399 12.4623 3.75399 11.5377 4.39036 11.1475L6.00957 10.1546C6.37873 9.92827 6.56026 9.49003 6.45928 9.06894L6.01637 7.22193C5.84231 6.49604 6.4961 5.84225 7.22199 6.01631L9.069 6.45922C9.49009 6.56019 9.92833 6.37867 10.1547 6.00951L11.1475 4.3903Z",fill:"#fff"})]})]}),(g=Number(h-y))==null?void 0:g.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})]}),ge.jsx("h1",{id:"header_title",className:"text-center w-full text-[#339c9b] font-bold text-xs px-4 md:text-sm",children:"Desconto de Laboratório"})]})}var zv={exports:{}};/*!
|
|
321
321
|
Copyright (c) 2018 Jed Watson.
|
|
322
322
|
Licensed under the MIT License (MIT), see
|
|
323
323
|
http://jedwatson.github.io/classnames
|
|
324
|
-
*/var N1;function eE(){return N1||(N1=1,function(d){(function(){var s={}.hasOwnProperty;function h(){for(var v="",_=0;_<arguments.length;_++){var A=arguments[_];A&&(v=g(v,y(A)))}return v}function y(v){if(typeof v=="string"||typeof v=="number")return v;if(typeof v!="object")return"";if(Array.isArray(v))return h.apply(null,v);if(v.toString!==Object.prototype.toString&&!v.toString.toString().includes("[native code]"))return v.toString();var _="";for(var A in v)s.call(v,A)&&v[A]&&(_=g(_,A));return _}function g(v,_){return _?v?v+" "+_:v+_:v}d.exports?(h.default=h,d.exports=h):window.classNames=h})()}(zv)),zv.exports}var tE=eE();const Qi=Xi(tE);function H1({children:d,variant:s}){return ge.jsx("main",{className:Qi({"border-3 border-[#44c2c0] flex flex-col items-center justify-center min-w-[var(--min-container)] max-w-[var(--max-container)] w-full h-auto rounded-2xl p-4 bg-white gap-4 relative":s==="main","w-full h-auto relative":s==="simple"}),"data-testid":"test_id_container","data-variant":s,id:"container_pbm",children:d})}/*! js-cookie v3.0.5 | MIT */function _g(d){for(var s=1;s<arguments.length;s++){var h=arguments[s];for(var y in h)d[y]=h[y]}return d}var aE={read:function(d){return d[0]==='"'&&(d=d.slice(1,-1)),d.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(d){return encodeURIComponent(d).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Dv(d,s){function h(g,v,_){if(!(typeof document>"u")){_=_g({},s,_),typeof _.expires=="number"&&(_.expires=new Date(Date.now()+_.expires*864e5)),_.expires&&(_.expires=_.expires.toUTCString()),g=encodeURIComponent(g).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var A="";for(var j in _)_[j]&&(A+="; "+j,_[j]!==!0&&(A+="="+_[j].split(";")[0]));return document.cookie=g+"="+d.write(v,g)+A}}function y(g){if(!(typeof document>"u"||arguments.length&&!g)){for(var v=document.cookie?document.cookie.split("; "):[],_={},A=0;A<v.length;A++){var j=v[A].split("="),w=j.slice(1).join("=");try{var X=decodeURIComponent(j[0]);if(_[X]=d.read(w,X),g===X)break}catch{}}return g?_[g]:_}}return Object.create({set:h,get:y,remove:function(g,v){h(g,"",_g({},v,{expires:-1}))},withAttributes:function(g){return Dv(this.converter,_g({},this.attributes,g))},withConverter:function(g){return Dv(_g({},this.converter,g),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(d)}})}var pm=Dv(aE,{path:"/"});const nE=async({PRODUCT_EAN:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",h=pm.get("pbm-token");if(!h)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/ean/${d}`,{method:"GET",headers:{Authorization:`Bearer ${h}`,"Content-Type":"application/json"}})).json();if(!g.success)throw new Error(g.message||"Failed to fetch authorization");return g};function lE(){const[d,s]=Ma.useState(null),{targetProduct:h,setTargetProduct:y,state:g}=Or();return Ma.useEffect(()=>{(async()=>{if(h!=null&&h.ean)try{const _=await nE({PRODUCT_EAN:h.ean});if(_.success&&_.data){s(_.data.pbm.imageLink);const{pbm:A,sku:j,...w}=_.data;y({...h,...w,productId:Number(w.productId),informativeMessage:A.informativeMessage??"",discountMax:A.discountMax??0})}}catch(_){console.error(_)}})()},[h==null?void 0:h.ean]),ge.jsxs("footer",{className:"w-full h-auto relative",id:"footer_pbm",children:[g!=="isActivated"&&(h==null?void 0:h.informativeMessage)&&ge.jsx("p",{className:"text-start mb-3 font-semibold text-sm text-amber-500",children:h==null?void 0:h.informativeMessage}),ge.jsxs("section",{className:Qi("flex items-center w-full h-auto gap-4",{"justify-center":d,"justify-start":!d}),children:[ge.jsxs("section",{className:"w-4/5 h-auto",children:[ge.jsx("h3",{className:"text-start font-semibold text-sm",children:"Economize com o benefício do laboratório."}),ge.jsx("p",{className:"text-start font-normal text-sm",children:"Este produto tem preço exclusivo para clientes cadastrados no programa."})]}),d&&ge.jsx("img",{src:d,alt:"parceiro",className:"w-1/5 min-w-20 h-auto aspect-auto rounded-xl",loading:"eager",id:"footer_industry_logo_pbm","data-testid":"footer_industry_logo_pbm"})]})]})}var Yt;(function(d){d.assertEqual=g=>{};function s(g){}d.assertIs=s;function h(g){throw new Error}d.assertNever=h,d.arrayToEnum=g=>{const v={};for(const _ of g)v[_]=_;return v},d.getValidEnumValues=g=>{const v=d.objectKeys(g).filter(A=>typeof g[g[A]]!="number"),_={};for(const A of v)_[A]=g[A];return d.objectValues(_)},d.objectValues=g=>d.objectKeys(g).map(function(v){return g[v]}),d.objectKeys=typeof Object.keys=="function"?g=>Object.keys(g):g=>{const v=[];for(const _ in g)Object.prototype.hasOwnProperty.call(g,_)&&v.push(_);return v},d.find=(g,v)=>{for(const _ of g)if(v(_))return _},d.isInteger=typeof Number.isInteger=="function"?g=>Number.isInteger(g):g=>typeof g=="number"&&Number.isFinite(g)&&Math.floor(g)===g;function y(g,v=" | "){return g.map(_=>typeof _=="string"?`'${_}'`:_).join(v)}d.joinValues=y,d.jsonStringifyReplacer=(g,v)=>typeof v=="bigint"?v.toString():v})(Yt||(Yt={}));var k1;(function(d){d.mergeShapes=(s,h)=>({...s,...h})})(k1||(k1={}));const je=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),zr=d=>{switch(typeof d){case"undefined":return je.undefined;case"string":return je.string;case"number":return Number.isNaN(d)?je.nan:je.number;case"boolean":return je.boolean;case"function":return je.function;case"bigint":return je.bigint;case"symbol":return je.symbol;case"object":return Array.isArray(d)?je.array:d===null?je.null:d.then&&typeof d.then=="function"&&d.catch&&typeof d.catch=="function"?je.promise:typeof Map<"u"&&d instanceof Map?je.map:typeof Set<"u"&&d instanceof Set?je.set:typeof Date<"u"&&d instanceof Date?je.date:je.object;default:return je.unknown}},ye=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class wo extends Error{get errors(){return this.issues}constructor(s){super(),this.issues=[],this.addIssue=y=>{this.issues=[...this.issues,y]},this.addIssues=(y=[])=>{this.issues=[...this.issues,...y]};const h=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,h):this.__proto__=h,this.name="ZodError",this.issues=s}format(s){const h=s||function(v){return v.message},y={_errors:[]},g=v=>{for(const _ of v.issues)if(_.code==="invalid_union")_.unionErrors.map(g);else if(_.code==="invalid_return_type")g(_.returnTypeError);else if(_.code==="invalid_arguments")g(_.argumentsError);else if(_.path.length===0)y._errors.push(h(_));else{let A=y,j=0;for(;j<_.path.length;){const w=_.path[j];j===_.path.length-1?(A[w]=A[w]||{_errors:[]},A[w]._errors.push(h(_))):A[w]=A[w]||{_errors:[]},A=A[w],j++}}};return g(this),y}static assert(s){if(!(s instanceof wo))throw new Error(`Not a ZodError: ${s}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(s=h=>h.message){const h={},y=[];for(const g of this.issues)g.path.length>0?(h[g.path[0]]=h[g.path[0]]||[],h[g.path[0]].push(s(g))):y.push(s(g));return{formErrors:y,fieldErrors:h}}get formErrors(){return this.flatten()}}wo.create=d=>new wo(d);const Mv=(d,s)=>{let h;switch(d.code){case ye.invalid_type:d.received===je.undefined?h="Required":h=`Expected ${d.expected}, received ${d.received}`;break;case ye.invalid_literal:h=`Invalid literal value, expected ${JSON.stringify(d.expected,Yt.jsonStringifyReplacer)}`;break;case ye.unrecognized_keys:h=`Unrecognized key(s) in object: ${Yt.joinValues(d.keys,", ")}`;break;case ye.invalid_union:h="Invalid input";break;case ye.invalid_union_discriminator:h=`Invalid discriminator value. Expected ${Yt.joinValues(d.options)}`;break;case ye.invalid_enum_value:h=`Invalid enum value. Expected ${Yt.joinValues(d.options)}, received '${d.received}'`;break;case ye.invalid_arguments:h="Invalid function arguments";break;case ye.invalid_return_type:h="Invalid function return type";break;case ye.invalid_date:h="Invalid date";break;case ye.invalid_string:typeof d.validation=="object"?"includes"in d.validation?(h=`Invalid input: must include "${d.validation.includes}"`,typeof d.validation.position=="number"&&(h=`${h} at one or more positions greater than or equal to ${d.validation.position}`)):"startsWith"in d.validation?h=`Invalid input: must start with "${d.validation.startsWith}"`:"endsWith"in d.validation?h=`Invalid input: must end with "${d.validation.endsWith}"`:Yt.assertNever(d.validation):d.validation!=="regex"?h=`Invalid ${d.validation}`:h="Invalid";break;case ye.too_small:d.type==="array"?h=`Array must contain ${d.exact?"exactly":d.inclusive?"at least":"more than"} ${d.minimum} element(s)`:d.type==="string"?h=`String must contain ${d.exact?"exactly":d.inclusive?"at least":"over"} ${d.minimum} character(s)`:d.type==="number"?h=`Number must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${d.minimum}`:d.type==="date"?h=`Date must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(d.minimum))}`:h="Invalid input";break;case ye.too_big:d.type==="array"?h=`Array must contain ${d.exact?"exactly":d.inclusive?"at most":"less than"} ${d.maximum} element(s)`:d.type==="string"?h=`String must contain ${d.exact?"exactly":d.inclusive?"at most":"under"} ${d.maximum} character(s)`:d.type==="number"?h=`Number must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="bigint"?h=`BigInt must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="date"?h=`Date must be ${d.exact?"exactly":d.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(d.maximum))}`:h="Invalid input";break;case ye.custom:h="Invalid input";break;case ye.invalid_intersection_types:h="Intersection results could not be merged";break;case ye.not_multiple_of:h=`Number must be a multiple of ${d.multipleOf}`;break;case ye.not_finite:h="Number must be finite";break;default:h=s.defaultError,Yt.assertNever(d)}return{message:h}};let iE=Mv;function uE(){return iE}const oE=d=>{const{data:s,path:h,errorMaps:y,issueData:g}=d,v=[...h,...g.path||[]],_={...g,path:v};if(g.message!==void 0)return{...g,path:v,message:g.message};let A="";const j=y.filter(w=>!!w).slice().reverse();for(const w of j)A=w(_,{data:s,defaultError:A}).message;return{...g,path:v,message:A}};function we(d,s){const h=uE(),y=oE({issueData:s,data:d.data,path:d.path,errorMaps:[d.common.contextualErrorMap,d.schemaErrorMap,h,h===Mv?void 0:Mv].filter(g=>!!g)});d.common.issues.push(y)}class Bl{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(s,h){const y=[];for(const g of h){if(g.status==="aborted")return nt;g.status==="dirty"&&s.dirty(),y.push(g.value)}return{status:s.value,value:y}}static async mergeObjectAsync(s,h){const y=[];for(const g of h){const v=await g.key,_=await g.value;y.push({key:v,value:_})}return Bl.mergeObjectSync(s,y)}static mergeObjectSync(s,h){const y={};for(const g of h){const{key:v,value:_}=g;if(v.status==="aborted"||_.status==="aborted")return nt;v.status==="dirty"&&s.dirty(),_.status==="dirty"&&s.dirty(),v.value!=="__proto__"&&(typeof _.value<"u"||g.alwaysSet)&&(y[v.value]=_.value)}return{status:s.value,value:y}}}const nt=Object.freeze({status:"aborted"}),gm=d=>({status:"dirty",value:d}),hi=d=>({status:"valid",value:d}),j1=d=>d.status==="aborted",B1=d=>d.status==="dirty",Zf=d=>d.status==="valid",wg=d=>typeof Promise<"u"&&d instanceof Promise;var Ve;(function(d){d.errToObj=s=>typeof s=="string"?{message:s}:s||{},d.toString=s=>typeof s=="string"?s:s==null?void 0:s.message})(Ve||(Ve={}));class Dr{constructor(s,h,y,g){this._cachedPath=[],this.parent=s,this.data=h,this._path=y,this._key=g}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const V1=(d,s)=>{if(Zf(s))return{success:!0,data:s.value};if(!d.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const h=new wo(d.common.issues);return this._error=h,this._error}}};function Et(d){if(!d)return{};const{errorMap:s,invalid_type_error:h,required_error:y,description:g}=d;if(s&&(h||y))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return s?{errorMap:s,description:g}:{errorMap:(_,A)=>{const{message:j}=d;return _.code==="invalid_enum_value"?{message:j??A.defaultError}:typeof A.data>"u"?{message:j??y??A.defaultError}:_.code!=="invalid_type"?{message:A.defaultError}:{message:j??h??A.defaultError}},description:g}}class jt{get description(){return this._def.description}_getType(s){return zr(s.data)}_getOrReturnCtx(s,h){return h||{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}_processInputParams(s){return{status:new Bl,ctx:{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}}_parseSync(s){const h=this._parse(s);if(wg(h))throw new Error("Synchronous parse encountered promise.");return h}_parseAsync(s){const h=this._parse(s);return Promise.resolve(h)}parse(s,h){const y=this.safeParse(s,h);if(y.success)return y.data;throw y.error}safeParse(s,h){const y={common:{issues:[],async:(h==null?void 0:h.async)??!1,contextualErrorMap:h==null?void 0:h.errorMap},path:(h==null?void 0:h.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parseSync({data:s,path:y.path,parent:y});return V1(y,g)}"~validate"(s){var y,g;const h={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)};if(!this["~standard"].async)try{const v=this._parseSync({data:s,path:[],parent:h});return Zf(v)?{value:v.value}:{issues:h.common.issues}}catch(v){(g=(y=v==null?void 0:v.message)==null?void 0:y.toLowerCase())!=null&&g.includes("encountered")&&(this["~standard"].async=!0),h.common={issues:[],async:!0}}return this._parseAsync({data:s,path:[],parent:h}).then(v=>Zf(v)?{value:v.value}:{issues:h.common.issues})}async parseAsync(s,h){const y=await this.safeParseAsync(s,h);if(y.success)return y.data;throw y.error}async safeParseAsync(s,h){const y={common:{issues:[],contextualErrorMap:h==null?void 0:h.errorMap,async:!0},path:(h==null?void 0:h.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parse({data:s,path:y.path,parent:y}),v=await(wg(g)?g:Promise.resolve(g));return V1(y,v)}refine(s,h){const y=g=>typeof h=="string"||typeof h>"u"?{message:h}:typeof h=="function"?h(g):h;return this._refinement((g,v)=>{const _=s(g),A=()=>v.addIssue({code:ye.custom,...y(g)});return typeof Promise<"u"&&_ instanceof Promise?_.then(j=>j?!0:(A(),!1)):_?!0:(A(),!1)})}refinement(s,h){return this._refinement((y,g)=>s(y)?!0:(g.addIssue(typeof h=="function"?h(y,g):h),!1))}_refinement(s){return new Kf({schema:this,typeName:lt.ZodEffects,effect:{type:"refinement",refinement:s}})}superRefine(s){return this._refinement(s)}constructor(s){this.spa=this.safeParseAsync,this._def=s,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:h=>this["~validate"](h)}}optional(){return Ur.create(this,this._def)}nullable(){return Jf.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Uu.create(this)}promise(){return zg.create(this,this._def)}or(s){return Rg.create([this,s],this._def)}and(s){return Og.create(this,s,this._def)}transform(s){return new Kf({...Et(this._def),schema:this,typeName:lt.ZodEffects,effect:{type:"transform",transform:s}})}default(s){const h=typeof s=="function"?s:()=>s;return new Nv({...Et(this._def),innerType:this,defaultValue:h,typeName:lt.ZodDefault})}brand(){return new DE({typeName:lt.ZodBranded,type:this,...Et(this._def)})}catch(s){const h=typeof s=="function"?s:()=>s;return new Hv({...Et(this._def),innerType:this,catchValue:h,typeName:lt.ZodCatch})}describe(s){const h=this.constructor;return new h({...this._def,description:s})}pipe(s){return kv.create(this,s)}readonly(){return jv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const rE=/^c[^\s-]{8,}$/i,cE=/^[0-9a-z]+$/,sE=/^[0-9A-HJKMNP-TV-Z]{26}$/i,fE=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,dE=/^[a-z0-9_-]{21}$/i,hE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,mE=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,yE=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,pE="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Cv;const gE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,vE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,bE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,SE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,TE=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,xE=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,L1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",EE=new RegExp(`^${L1}$`);function q1(d){let s="[0-5]\\d";d.precision?s=`${s}\\.\\d{${d.precision}}`:d.precision==null&&(s=`${s}(\\.\\d+)?`);const h=d.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${s})${h}`}function _E(d){return new RegExp(`^${q1(d)}$`)}function wE(d){let s=`${L1}T${q1(d)}`;const h=[];return h.push(d.local?"Z?":"Z"),d.offset&&h.push("([+-]\\d{2}:?\\d{2})"),s=`${s}(${h.join("|")})`,new RegExp(`^${s}$`)}function AE(d,s){return!!((s==="v4"||!s)&&gE.test(d)||(s==="v6"||!s)&&bE.test(d))}function RE(d,s){if(!hE.test(d))return!1;try{const[h]=d.split("."),y=h.replace(/-/g,"+").replace(/_/g,"/").padEnd(h.length+(4-h.length%4)%4,"="),g=JSON.parse(atob(y));return!(typeof g!="object"||g===null||"typ"in g&&(g==null?void 0:g.typ)!=="JWT"||!g.alg||s&&g.alg!==s)}catch{return!1}}function OE(d,s){return!!((s==="v4"||!s)&&vE.test(d)||(s==="v6"||!s)&&SE.test(d))}class Mr extends jt{_parse(s){if(this._def.coerce&&(s.data=String(s.data)),this._getType(s)!==je.string){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:je.string,received:v.parsedType}),nt}const y=new Bl;let g;for(const v of this._def.checks)if(v.kind==="min")s.data.length<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="max")s.data.length>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="length"){const _=s.data.length>v.value,A=s.data.length<v.value;(_||A)&&(g=this._getOrReturnCtx(s,g),_?we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}):A&&we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}),y.dirty())}else if(v.kind==="email")yE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"email",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="emoji")Cv||(Cv=new RegExp(pE,"u")),Cv.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"emoji",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="uuid")fE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"uuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="nanoid")dE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"nanoid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid")rE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid2")cE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid2",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="ulid")sE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ulid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="url")try{new URL(s.data)}catch{g=this._getOrReturnCtx(s,g),we(g,{validation:"url",code:ye.invalid_string,message:v.message}),y.dirty()}else v.kind==="regex"?(v.regex.lastIndex=0,v.regex.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"regex",code:ye.invalid_string,message:v.message}),y.dirty())):v.kind==="trim"?s.data=s.data.trim():v.kind==="includes"?s.data.includes(v.value,v.position)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{includes:v.value,position:v.position},message:v.message}),y.dirty()):v.kind==="toLowerCase"?s.data=s.data.toLowerCase():v.kind==="toUpperCase"?s.data=s.data.toUpperCase():v.kind==="startsWith"?s.data.startsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{startsWith:v.value},message:v.message}),y.dirty()):v.kind==="endsWith"?s.data.endsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{endsWith:v.value},message:v.message}),y.dirty()):v.kind==="datetime"?wE(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"datetime",message:v.message}),y.dirty()):v.kind==="date"?EE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"date",message:v.message}),y.dirty()):v.kind==="time"?_E(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"time",message:v.message}),y.dirty()):v.kind==="duration"?mE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"duration",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="ip"?AE(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ip",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="jwt"?RE(s.data,v.alg)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"jwt",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="cidr"?OE(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cidr",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64"?TE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64url"?xE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64url",code:ye.invalid_string,message:v.message}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:s.data}}_regex(s,h,y){return this.refinement(g=>s.test(g),{validation:h,code:ye.invalid_string,...Ve.errToObj(y)})}_addCheck(s){return new Mr({...this._def,checks:[...this._def.checks,s]})}email(s){return this._addCheck({kind:"email",...Ve.errToObj(s)})}url(s){return this._addCheck({kind:"url",...Ve.errToObj(s)})}emoji(s){return this._addCheck({kind:"emoji",...Ve.errToObj(s)})}uuid(s){return this._addCheck({kind:"uuid",...Ve.errToObj(s)})}nanoid(s){return this._addCheck({kind:"nanoid",...Ve.errToObj(s)})}cuid(s){return this._addCheck({kind:"cuid",...Ve.errToObj(s)})}cuid2(s){return this._addCheck({kind:"cuid2",...Ve.errToObj(s)})}ulid(s){return this._addCheck({kind:"ulid",...Ve.errToObj(s)})}base64(s){return this._addCheck({kind:"base64",...Ve.errToObj(s)})}base64url(s){return this._addCheck({kind:"base64url",...Ve.errToObj(s)})}jwt(s){return this._addCheck({kind:"jwt",...Ve.errToObj(s)})}ip(s){return this._addCheck({kind:"ip",...Ve.errToObj(s)})}cidr(s){return this._addCheck({kind:"cidr",...Ve.errToObj(s)})}datetime(s){return typeof s=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:s}):this._addCheck({kind:"datetime",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,offset:(s==null?void 0:s.offset)??!1,local:(s==null?void 0:s.local)??!1,...Ve.errToObj(s==null?void 0:s.message)})}date(s){return this._addCheck({kind:"date",message:s})}time(s){return typeof s=="string"?this._addCheck({kind:"time",precision:null,message:s}):this._addCheck({kind:"time",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,...Ve.errToObj(s==null?void 0:s.message)})}duration(s){return this._addCheck({kind:"duration",...Ve.errToObj(s)})}regex(s,h){return this._addCheck({kind:"regex",regex:s,...Ve.errToObj(h)})}includes(s,h){return this._addCheck({kind:"includes",value:s,position:h==null?void 0:h.position,...Ve.errToObj(h==null?void 0:h.message)})}startsWith(s,h){return this._addCheck({kind:"startsWith",value:s,...Ve.errToObj(h)})}endsWith(s,h){return this._addCheck({kind:"endsWith",value:s,...Ve.errToObj(h)})}min(s,h){return this._addCheck({kind:"min",value:s,...Ve.errToObj(h)})}max(s,h){return this._addCheck({kind:"max",value:s,...Ve.errToObj(h)})}length(s,h){return this._addCheck({kind:"length",value:s,...Ve.errToObj(h)})}nonempty(s){return this.min(1,Ve.errToObj(s))}trim(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(s=>s.kind==="datetime")}get isDate(){return!!this._def.checks.find(s=>s.kind==="date")}get isTime(){return!!this._def.checks.find(s=>s.kind==="time")}get isDuration(){return!!this._def.checks.find(s=>s.kind==="duration")}get isEmail(){return!!this._def.checks.find(s=>s.kind==="email")}get isURL(){return!!this._def.checks.find(s=>s.kind==="url")}get isEmoji(){return!!this._def.checks.find(s=>s.kind==="emoji")}get isUUID(){return!!this._def.checks.find(s=>s.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(s=>s.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(s=>s.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(s=>s.kind==="cuid2")}get isULID(){return!!this._def.checks.find(s=>s.kind==="ulid")}get isIP(){return!!this._def.checks.find(s=>s.kind==="ip")}get isCIDR(){return!!this._def.checks.find(s=>s.kind==="cidr")}get isBase64(){return!!this._def.checks.find(s=>s.kind==="base64")}get isBase64url(){return!!this._def.checks.find(s=>s.kind==="base64url")}get minLength(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s}get maxLength(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s}}Mr.create=d=>new Mr({checks:[],typeName:lt.ZodString,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});function zE(d,s){const h=(d.toString().split(".")[1]||"").length,y=(s.toString().split(".")[1]||"").length,g=h>y?h:y,v=Number.parseInt(d.toFixed(g).replace(".","")),_=Number.parseInt(s.toFixed(g).replace(".",""));return v%_/10**g}class vm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(s){if(this._def.coerce&&(s.data=Number(s.data)),this._getType(s)!==je.number){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:je.number,received:v.parsedType}),nt}let y;const g=new Bl;for(const v of this._def.checks)v.kind==="int"?Yt.isInteger(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.invalid_type,expected:"integer",received:"float",message:v.message}),g.dirty()):v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,minimum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,maximum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="multipleOf"?zE(s.data,v.value)!==0&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):v.kind==="finite"?Number.isFinite(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_finite,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}gte(s,h){return this.setLimit("min",s,!0,Ve.toString(h))}gt(s,h){return this.setLimit("min",s,!1,Ve.toString(h))}lte(s,h){return this.setLimit("max",s,!0,Ve.toString(h))}lt(s,h){return this.setLimit("max",s,!1,Ve.toString(h))}setLimit(s,h,y,g){return new vm({...this._def,checks:[...this._def.checks,{kind:s,value:h,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new vm({...this._def,checks:[...this._def.checks,s]})}int(s){return this._addCheck({kind:"int",message:Ve.toString(s)})}positive(s){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ve.toString(s)})}multipleOf(s,h){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(h)})}finite(s){return this._addCheck({kind:"finite",message:Ve.toString(s)})}safe(s){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ve.toString(s)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ve.toString(s)})}get minValue(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s}get maxValue(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s}get isInt(){return!!this._def.checks.find(s=>s.kind==="int"||s.kind==="multipleOf"&&Yt.isInteger(s.value))}get isFinite(){let s=null,h=null;for(const y of this._def.checks){if(y.kind==="finite"||y.kind==="int"||y.kind==="multipleOf")return!0;y.kind==="min"?(h===null||y.value>h)&&(h=y.value):y.kind==="max"&&(s===null||y.value<s)&&(s=y.value)}return Number.isFinite(h)&&Number.isFinite(s)}}vm.create=d=>new vm({checks:[],typeName:lt.ZodNumber,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class bm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(s){if(this._def.coerce)try{s.data=BigInt(s.data)}catch{return this._getInvalidInput(s)}if(this._getType(s)!==je.bigint)return this._getInvalidInput(s);let y;const g=new Bl;for(const v of this._def.checks)v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,type:"bigint",minimum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,type:"bigint",maximum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="multipleOf"?s.data%v.value!==BigInt(0)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}_getInvalidInput(s){const h=this._getOrReturnCtx(s);return we(h,{code:ye.invalid_type,expected:je.bigint,received:h.parsedType}),nt}gte(s,h){return this.setLimit("min",s,!0,Ve.toString(h))}gt(s,h){return this.setLimit("min",s,!1,Ve.toString(h))}lte(s,h){return this.setLimit("max",s,!0,Ve.toString(h))}lt(s,h){return this.setLimit("max",s,!1,Ve.toString(h))}setLimit(s,h,y,g){return new bm({...this._def,checks:[...this._def.checks,{kind:s,value:h,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new bm({...this._def,checks:[...this._def.checks,s]})}positive(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}multipleOf(s,h){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(h)})}get minValue(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s}get maxValue(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s}}bm.create=d=>new bm({checks:[],typeName:lt.ZodBigInt,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});class Y1 extends jt{_parse(s){if(this._def.coerce&&(s.data=!!s.data),this._getType(s)!==je.boolean){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.boolean,received:y.parsedType}),nt}return hi(s.data)}}Y1.create=d=>new Y1({typeName:lt.ZodBoolean,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class Ag extends jt{_parse(s){if(this._def.coerce&&(s.data=new Date(s.data)),this._getType(s)!==je.date){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:je.date,received:v.parsedType}),nt}if(Number.isNaN(s.data.getTime())){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_date}),nt}const y=new Bl;let g;for(const v of this._def.checks)v.kind==="min"?s.data.getTime()<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,message:v.message,inclusive:!0,exact:!1,minimum:v.value,type:"date"}),y.dirty()):v.kind==="max"?s.data.getTime()>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,message:v.message,inclusive:!0,exact:!1,maximum:v.value,type:"date"}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:new Date(s.data.getTime())}}_addCheck(s){return new Ag({...this._def,checks:[...this._def.checks,s]})}min(s,h){return this._addCheck({kind:"min",value:s.getTime(),message:Ve.toString(h)})}max(s,h){return this._addCheck({kind:"max",value:s.getTime(),message:Ve.toString(h)})}get minDate(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s!=null?new Date(s):null}get maxDate(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s!=null?new Date(s):null}}Ag.create=d=>new Ag({checks:[],coerce:(d==null?void 0:d.coerce)||!1,typeName:lt.ZodDate,...Et(d)});class G1 extends jt{_parse(s){if(this._getType(s)!==je.symbol){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.symbol,received:y.parsedType}),nt}return hi(s.data)}}G1.create=d=>new G1({typeName:lt.ZodSymbol,...Et(d)});class Z1 extends jt{_parse(s){if(this._getType(s)!==je.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.undefined,received:y.parsedType}),nt}return hi(s.data)}}Z1.create=d=>new Z1({typeName:lt.ZodUndefined,...Et(d)});class X1 extends jt{_parse(s){if(this._getType(s)!==je.null){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.null,received:y.parsedType}),nt}return hi(s.data)}}X1.create=d=>new X1({typeName:lt.ZodNull,...Et(d)});class Q1 extends jt{constructor(){super(...arguments),this._any=!0}_parse(s){return hi(s.data)}}Q1.create=d=>new Q1({typeName:lt.ZodAny,...Et(d)});class K1 extends jt{constructor(){super(...arguments),this._unknown=!0}_parse(s){return hi(s.data)}}K1.create=d=>new K1({typeName:lt.ZodUnknown,...Et(d)});class Cr extends jt{_parse(s){const h=this._getOrReturnCtx(s);return we(h,{code:ye.invalid_type,expected:je.never,received:h.parsedType}),nt}}Cr.create=d=>new Cr({typeName:lt.ZodNever,...Et(d)});class J1 extends jt{_parse(s){if(this._getType(s)!==je.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.void,received:y.parsedType}),nt}return hi(s.data)}}J1.create=d=>new J1({typeName:lt.ZodVoid,...Et(d)});class Uu extends jt{_parse(s){const{ctx:h,status:y}=this._processInputParams(s),g=this._def;if(h.parsedType!==je.array)return we(h,{code:ye.invalid_type,expected:je.array,received:h.parsedType}),nt;if(g.exactLength!==null){const _=h.data.length>g.exactLength.value,A=h.data.length<g.exactLength.value;(_||A)&&(we(h,{code:_?ye.too_big:ye.too_small,minimum:A?g.exactLength.value:void 0,maximum:_?g.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:g.exactLength.message}),y.dirty())}if(g.minLength!==null&&h.data.length<g.minLength.value&&(we(h,{code:ye.too_small,minimum:g.minLength.value,type:"array",inclusive:!0,exact:!1,message:g.minLength.message}),y.dirty()),g.maxLength!==null&&h.data.length>g.maxLength.value&&(we(h,{code:ye.too_big,maximum:g.maxLength.value,type:"array",inclusive:!0,exact:!1,message:g.maxLength.message}),y.dirty()),h.common.async)return Promise.all([...h.data].map((_,A)=>g.type._parseAsync(new Dr(h,_,h.path,A)))).then(_=>Bl.mergeArray(y,_));const v=[...h.data].map((_,A)=>g.type._parseSync(new Dr(h,_,h.path,A)));return Bl.mergeArray(y,v)}get element(){return this._def.type}min(s,h){return new Uu({...this._def,minLength:{value:s,message:Ve.toString(h)}})}max(s,h){return new Uu({...this._def,maxLength:{value:s,message:Ve.toString(h)}})}length(s,h){return new Uu({...this._def,exactLength:{value:s,message:Ve.toString(h)}})}nonempty(s){return this.min(1,s)}}Uu.create=(d,s)=>new Uu({type:d,minLength:null,maxLength:null,exactLength:null,typeName:lt.ZodArray,...Et(s)});function Xf(d){if(d instanceof qa){const s={};for(const h in d.shape){const y=d.shape[h];s[h]=Ur.create(Xf(y))}return new qa({...d._def,shape:()=>s})}else return d instanceof Uu?new Uu({...d._def,type:Xf(d.element)}):d instanceof Ur?Ur.create(Xf(d.unwrap())):d instanceof Jf?Jf.create(Xf(d.unwrap())):d instanceof ls?ls.create(d.items.map(s=>Xf(s))):d}class qa extends jt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const s=this._def.shape(),h=Yt.objectKeys(s);return this._cached={shape:s,keys:h},this._cached}_parse(s){if(this._getType(s)!==je.object){const w=this._getOrReturnCtx(s);return we(w,{code:ye.invalid_type,expected:je.object,received:w.parsedType}),nt}const{status:y,ctx:g}=this._processInputParams(s),{shape:v,keys:_}=this._getCached(),A=[];if(!(this._def.catchall instanceof Cr&&this._def.unknownKeys==="strip"))for(const w in g.data)_.includes(w)||A.push(w);const j=[];for(const w of _){const X=v[w],se=g.data[w];j.push({key:{status:"valid",value:w},value:X._parse(new Dr(g,se,g.path,w)),alwaysSet:w in g.data})}if(this._def.catchall instanceof Cr){const w=this._def.unknownKeys;if(w==="passthrough")for(const X of A)j.push({key:{status:"valid",value:X},value:{status:"valid",value:g.data[X]}});else if(w==="strict")A.length>0&&(we(g,{code:ye.unrecognized_keys,keys:A}),y.dirty());else if(w!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const w=this._def.catchall;for(const X of A){const se=g.data[X];j.push({key:{status:"valid",value:X},value:w._parse(new Dr(g,se,g.path,X)),alwaysSet:X in g.data})}}return g.common.async?Promise.resolve().then(async()=>{const w=[];for(const X of j){const se=await X.key,Y=await X.value;w.push({key:se,value:Y,alwaysSet:X.alwaysSet})}return w}).then(w=>Bl.mergeObjectSync(y,w)):Bl.mergeObjectSync(y,j)}get shape(){return this._def.shape()}strict(s){return Ve.errToObj,new qa({...this._def,unknownKeys:"strict",...s!==void 0?{errorMap:(h,y)=>{var v,_;const g=((_=(v=this._def).errorMap)==null?void 0:_.call(v,h,y).message)??y.defaultError;return h.code==="unrecognized_keys"?{message:Ve.errToObj(s).message??g}:{message:g}}}:{}})}strip(){return new qa({...this._def,unknownKeys:"strip"})}passthrough(){return new qa({...this._def,unknownKeys:"passthrough"})}extend(s){return new qa({...this._def,shape:()=>({...this._def.shape(),...s})})}merge(s){return new qa({unknownKeys:s._def.unknownKeys,catchall:s._def.catchall,shape:()=>({...this._def.shape(),...s._def.shape()}),typeName:lt.ZodObject})}setKey(s,h){return this.augment({[s]:h})}catchall(s){return new qa({...this._def,catchall:s})}pick(s){const h={};for(const y of Yt.objectKeys(s))s[y]&&this.shape[y]&&(h[y]=this.shape[y]);return new qa({...this._def,shape:()=>h})}omit(s){const h={};for(const y of Yt.objectKeys(this.shape))s[y]||(h[y]=this.shape[y]);return new qa({...this._def,shape:()=>h})}deepPartial(){return Xf(this)}partial(s){const h={};for(const y of Yt.objectKeys(this.shape)){const g=this.shape[y];s&&!s[y]?h[y]=g:h[y]=g.optional()}return new qa({...this._def,shape:()=>h})}required(s){const h={};for(const y of Yt.objectKeys(this.shape))if(s&&!s[y])h[y]=this.shape[y];else{let v=this.shape[y];for(;v instanceof Ur;)v=v._def.innerType;h[y]=v}return new qa({...this._def,shape:()=>h})}keyof(){return I1(Yt.objectKeys(this.shape))}}qa.create=(d,s)=>new qa({shape:()=>d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),qa.strictCreate=(d,s)=>new qa({shape:()=>d,unknownKeys:"strict",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),qa.lazycreate=(d,s)=>new qa({shape:d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)});class Rg extends jt{_parse(s){const{ctx:h}=this._processInputParams(s),y=this._def.options;function g(v){for(const A of v)if(A.result.status==="valid")return A.result;for(const A of v)if(A.result.status==="dirty")return h.common.issues.push(...A.ctx.common.issues),A.result;const _=v.map(A=>new wo(A.ctx.common.issues));return we(h,{code:ye.invalid_union,unionErrors:_}),nt}if(h.common.async)return Promise.all(y.map(async v=>{const _={...h,common:{...h.common,issues:[]},parent:null};return{result:await v._parseAsync({data:h.data,path:h.path,parent:_}),ctx:_}})).then(g);{let v;const _=[];for(const j of y){const w={...h,common:{...h.common,issues:[]},parent:null},X=j._parseSync({data:h.data,path:h.path,parent:w});if(X.status==="valid")return X;X.status==="dirty"&&!v&&(v={result:X,ctx:w}),w.common.issues.length&&_.push(w.common.issues)}if(v)return h.common.issues.push(...v.ctx.common.issues),v.result;const A=_.map(j=>new wo(j));return we(h,{code:ye.invalid_union,unionErrors:A}),nt}}get options(){return this._def.options}}Rg.create=(d,s)=>new Rg({options:d,typeName:lt.ZodUnion,...Et(s)});function Uv(d,s){const h=zr(d),y=zr(s);if(d===s)return{valid:!0,data:d};if(h===je.object&&y===je.object){const g=Yt.objectKeys(s),v=Yt.objectKeys(d).filter(A=>g.indexOf(A)!==-1),_={...d,...s};for(const A of v){const j=Uv(d[A],s[A]);if(!j.valid)return{valid:!1};_[A]=j.data}return{valid:!0,data:_}}else if(h===je.array&&y===je.array){if(d.length!==s.length)return{valid:!1};const g=[];for(let v=0;v<d.length;v++){const _=d[v],A=s[v],j=Uv(_,A);if(!j.valid)return{valid:!1};g.push(j.data)}return{valid:!0,data:g}}else return h===je.date&&y===je.date&&+d==+s?{valid:!0,data:d}:{valid:!1}}class Og extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s),g=(v,_)=>{if(j1(v)||j1(_))return nt;const A=Uv(v.value,_.value);return A.valid?((B1(v)||B1(_))&&h.dirty(),{status:h.value,value:A.data}):(we(y,{code:ye.invalid_intersection_types}),nt)};return y.common.async?Promise.all([this._def.left._parseAsync({data:y.data,path:y.path,parent:y}),this._def.right._parseAsync({data:y.data,path:y.path,parent:y})]).then(([v,_])=>g(v,_)):g(this._def.left._parseSync({data:y.data,path:y.path,parent:y}),this._def.right._parseSync({data:y.data,path:y.path,parent:y}))}}Og.create=(d,s,h)=>new Og({left:d,right:s,typeName:lt.ZodIntersection,...Et(h)});class ls extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.parsedType!==je.array)return we(y,{code:ye.invalid_type,expected:je.array,received:y.parsedType}),nt;if(y.data.length<this._def.items.length)return we(y,{code:ye.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),nt;!this._def.rest&&y.data.length>this._def.items.length&&(we(y,{code:ye.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),h.dirty());const v=[...y.data].map((_,A)=>{const j=this._def.items[A]||this._def.rest;return j?j._parse(new Dr(y,_,y.path,A)):null}).filter(_=>!!_);return y.common.async?Promise.all(v).then(_=>Bl.mergeArray(h,_)):Bl.mergeArray(h,v)}get items(){return this._def.items}rest(s){return new ls({...this._def,rest:s})}}ls.create=(d,s)=>{if(!Array.isArray(d))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ls({items:d,typeName:lt.ZodTuple,rest:null,...Et(s)})};class $1 extends jt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.parsedType!==je.map)return we(y,{code:ye.invalid_type,expected:je.map,received:y.parsedType}),nt;const g=this._def.keyType,v=this._def.valueType,_=[...y.data.entries()].map(([A,j],w)=>({key:g._parse(new Dr(y,A,y.path,[w,"key"])),value:v._parse(new Dr(y,j,y.path,[w,"value"]))}));if(y.common.async){const A=new Map;return Promise.resolve().then(async()=>{for(const j of _){const w=await j.key,X=await j.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&h.dirty(),A.set(w.value,X.value)}return{status:h.value,value:A}})}else{const A=new Map;for(const j of _){const w=j.key,X=j.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&h.dirty(),A.set(w.value,X.value)}return{status:h.value,value:A}}}}$1.create=(d,s,h)=>new $1({valueType:s,keyType:d,typeName:lt.ZodMap,...Et(h)});class Sm extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.parsedType!==je.set)return we(y,{code:ye.invalid_type,expected:je.set,received:y.parsedType}),nt;const g=this._def;g.minSize!==null&&y.data.size<g.minSize.value&&(we(y,{code:ye.too_small,minimum:g.minSize.value,type:"set",inclusive:!0,exact:!1,message:g.minSize.message}),h.dirty()),g.maxSize!==null&&y.data.size>g.maxSize.value&&(we(y,{code:ye.too_big,maximum:g.maxSize.value,type:"set",inclusive:!0,exact:!1,message:g.maxSize.message}),h.dirty());const v=this._def.valueType;function _(j){const w=new Set;for(const X of j){if(X.status==="aborted")return nt;X.status==="dirty"&&h.dirty(),w.add(X.value)}return{status:h.value,value:w}}const A=[...y.data.values()].map((j,w)=>v._parse(new Dr(y,j,y.path,w)));return y.common.async?Promise.all(A).then(j=>_(j)):_(A)}min(s,h){return new Sm({...this._def,minSize:{value:s,message:Ve.toString(h)}})}max(s,h){return new Sm({...this._def,maxSize:{value:s,message:Ve.toString(h)}})}size(s,h){return this.min(s,h).max(s,h)}nonempty(s){return this.min(1,s)}}Sm.create=(d,s)=>new Sm({valueType:d,minSize:null,maxSize:null,typeName:lt.ZodSet,...Et(s)});class W1 extends jt{get schema(){return this._def.getter()}_parse(s){const{ctx:h}=this._processInputParams(s);return this._def.getter()._parse({data:h.data,path:h.path,parent:h})}}W1.create=(d,s)=>new W1({getter:d,typeName:lt.ZodLazy,...Et(s)});class F1 extends jt{_parse(s){if(s.data!==this._def.value){const h=this._getOrReturnCtx(s);return we(h,{received:h.data,code:ye.invalid_literal,expected:this._def.value}),nt}return{status:"valid",value:s.data}}get value(){return this._def.value}}F1.create=(d,s)=>new F1({value:d,typeName:lt.ZodLiteral,...Et(s)});function I1(d,s){return new Qf({values:d,typeName:lt.ZodEnum,...Et(s)})}class Qf extends jt{_parse(s){if(typeof s.data!="string"){const h=this._getOrReturnCtx(s),y=this._def.values;return we(h,{expected:Yt.joinValues(y),received:h.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(s.data)){const h=this._getOrReturnCtx(s),y=this._def.values;return we(h,{received:h.data,code:ye.invalid_enum_value,options:y}),nt}return hi(s.data)}get options(){return this._def.values}get enum(){const s={};for(const h of this._def.values)s[h]=h;return s}get Values(){const s={};for(const h of this._def.values)s[h]=h;return s}get Enum(){const s={};for(const h of this._def.values)s[h]=h;return s}extract(s,h=this._def){return Qf.create(s,{...this._def,...h})}exclude(s,h=this._def){return Qf.create(this.options.filter(y=>!s.includes(y)),{...this._def,...h})}}Qf.create=I1;class P1 extends jt{_parse(s){const h=Yt.getValidEnumValues(this._def.values),y=this._getOrReturnCtx(s);if(y.parsedType!==je.string&&y.parsedType!==je.number){const g=Yt.objectValues(h);return we(y,{expected:Yt.joinValues(g),received:y.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(Yt.getValidEnumValues(this._def.values))),!this._cache.has(s.data)){const g=Yt.objectValues(h);return we(y,{received:y.data,code:ye.invalid_enum_value,options:g}),nt}return hi(s.data)}get enum(){return this._def.values}}P1.create=(d,s)=>new P1({values:d,typeName:lt.ZodNativeEnum,...Et(s)});class zg extends jt{unwrap(){return this._def.type}_parse(s){const{ctx:h}=this._processInputParams(s);if(h.parsedType!==je.promise&&h.common.async===!1)return we(h,{code:ye.invalid_type,expected:je.promise,received:h.parsedType}),nt;const y=h.parsedType===je.promise?h.data:Promise.resolve(h.data);return hi(y.then(g=>this._def.type.parseAsync(g,{path:h.path,errorMap:h.common.contextualErrorMap})))}}zg.create=(d,s)=>new zg({type:d,typeName:lt.ZodPromise,...Et(s)});class Kf extends jt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(s){const{status:h,ctx:y}=this._processInputParams(s),g=this._def.effect||null,v={addIssue:_=>{we(y,_),_.fatal?h.abort():h.dirty()},get path(){return y.path}};if(v.addIssue=v.addIssue.bind(v),g.type==="preprocess"){const _=g.transform(y.data,v);if(y.common.async)return Promise.resolve(_).then(async A=>{if(h.value==="aborted")return nt;const j=await this._def.schema._parseAsync({data:A,path:y.path,parent:y});return j.status==="aborted"?nt:j.status==="dirty"||h.value==="dirty"?gm(j.value):j});{if(h.value==="aborted")return nt;const A=this._def.schema._parseSync({data:_,path:y.path,parent:y});return A.status==="aborted"?nt:A.status==="dirty"||h.value==="dirty"?gm(A.value):A}}if(g.type==="refinement"){const _=A=>{const j=g.refinement(A,v);if(y.common.async)return Promise.resolve(j);if(j instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return A};if(y.common.async===!1){const A=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});return A.status==="aborted"?nt:(A.status==="dirty"&&h.dirty(),_(A.value),{status:h.value,value:A.value})}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(A=>A.status==="aborted"?nt:(A.status==="dirty"&&h.dirty(),_(A.value).then(()=>({status:h.value,value:A.value}))))}if(g.type==="transform")if(y.common.async===!1){const _=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});if(!Zf(_))return nt;const A=g.transform(_.value,v);if(A instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:h.value,value:A}}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(_=>Zf(_)?Promise.resolve(g.transform(_.value,v)).then(A=>({status:h.value,value:A})):nt);Yt.assertNever(g)}}Kf.create=(d,s,h)=>new Kf({schema:d,typeName:lt.ZodEffects,effect:s,...Et(h)}),Kf.createWithPreprocess=(d,s,h)=>new Kf({schema:s,effect:{type:"preprocess",transform:d},typeName:lt.ZodEffects,...Et(h)});class Ur extends jt{_parse(s){return this._getType(s)===je.undefined?hi(void 0):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Ur.create=(d,s)=>new Ur({innerType:d,typeName:lt.ZodOptional,...Et(s)});class Jf extends jt{_parse(s){return this._getType(s)===je.null?hi(null):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Jf.create=(d,s)=>new Jf({innerType:d,typeName:lt.ZodNullable,...Et(s)});class Nv extends jt{_parse(s){const{ctx:h}=this._processInputParams(s);let y=h.data;return h.parsedType===je.undefined&&(y=this._def.defaultValue()),this._def.innerType._parse({data:y,path:h.path,parent:h})}removeDefault(){return this._def.innerType}}Nv.create=(d,s)=>new Nv({innerType:d,typeName:lt.ZodDefault,defaultValue:typeof s.default=="function"?s.default:()=>s.default,...Et(s)});class Hv extends jt{_parse(s){const{ctx:h}=this._processInputParams(s),y={...h,common:{...h.common,issues:[]}},g=this._def.innerType._parse({data:y.data,path:y.path,parent:{...y}});return wg(g)?g.then(v=>({status:"valid",value:v.status==="valid"?v.value:this._def.catchValue({get error(){return new wo(y.common.issues)},input:y.data})})):{status:"valid",value:g.status==="valid"?g.value:this._def.catchValue({get error(){return new wo(y.common.issues)},input:y.data})}}removeCatch(){return this._def.innerType}}Hv.create=(d,s)=>new Hv({innerType:d,typeName:lt.ZodCatch,catchValue:typeof s.catch=="function"?s.catch:()=>s.catch,...Et(s)});class eS extends jt{_parse(s){if(this._getType(s)!==je.nan){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.nan,received:y.parsedType}),nt}return{status:"valid",value:s.data}}}eS.create=d=>new eS({typeName:lt.ZodNaN,...Et(d)});class DE extends jt{_parse(s){const{ctx:h}=this._processInputParams(s),y=h.data;return this._def.type._parse({data:y,path:h.path,parent:h})}unwrap(){return this._def.type}}class kv extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.common.async)return(async()=>{const v=await this._def.in._parseAsync({data:y.data,path:y.path,parent:y});return v.status==="aborted"?nt:v.status==="dirty"?(h.dirty(),gm(v.value)):this._def.out._parseAsync({data:v.value,path:y.path,parent:y})})();{const g=this._def.in._parseSync({data:y.data,path:y.path,parent:y});return g.status==="aborted"?nt:g.status==="dirty"?(h.dirty(),{status:"dirty",value:g.value}):this._def.out._parseSync({data:g.value,path:y.path,parent:y})}}static create(s,h){return new kv({in:s,out:h,typeName:lt.ZodPipeline})}}class jv extends jt{_parse(s){const h=this._def.innerType._parse(s),y=g=>(Zf(g)&&(g.value=Object.freeze(g.value)),g);return wg(h)?h.then(g=>y(g)):y(h)}unwrap(){return this._def.innerType}}jv.create=(d,s)=>new jv({innerType:d,typeName:lt.ZodReadonly,...Et(s)});var lt;(function(d){d.ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly"})(lt||(lt={}));const tS=Mr.create;Cr.create,Uu.create;const ME=qa.create;Rg.create,Og.create,ls.create,Qf.create,zg.create,Ur.create,Jf.create;const CE=ME({securityNumber:tS({required_error:"CPF é obrigatório."}).refine(d=>d.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(d=>{const s=d.replace(/\D/g,"");return!!Number(s)},"CPF deve conter apenas números."),coupon:tS({required_error:"Cupom / ID do Cartão obrigatório."}).optional()}),UE=d=>{const s=d.replace(/\D/g,"");if(s.length<=11)return s.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1")};var Tm=d=>d.type==="checkbox",is=d=>d instanceof Date,Pn=d=>d==null;const aS=d=>typeof d=="object";var Ca=d=>!Pn(d)&&!Array.isArray(d)&&aS(d)&&!is(d),NE=d=>Ca(d)&&d.target?Tm(d.target)?d.target.checked:d.target.value:d,HE=d=>d.substring(0,d.search(/\.\d+(\.|$)/))||d,kE=(d,s)=>d.has(HE(s)),jE=d=>{const s=d.constructor&&d.constructor.prototype;return Ca(s)&&s.hasOwnProperty("isPrototypeOf")},Bv=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function bn(d){let s;const h=Array.isArray(d),y=typeof FileList<"u"?d instanceof FileList:!1;if(d instanceof Date)s=new Date(d);else if(d instanceof Set)s=new Set(d);else if(!(Bv&&(d instanceof Blob||y))&&(h||Ca(d)))if(s=h?[]:{},!h&&!jE(d))s=d;else for(const g in d)d.hasOwnProperty(g)&&(s[g]=bn(d[g]));else return d;return s}var Dg=d=>/^\w*$/.test(d),Ua=d=>d===void 0,Vv=d=>Array.isArray(d)?d.filter(Boolean):[],Lv=d=>Vv(d.replace(/["|']|\]/g,"").split(/\.|\[/)),Ce=(d,s,h)=>{if(!s||!Ca(d))return h;const y=(Dg(s)?[s]:Lv(s)).reduce((g,v)=>Pn(g)?g:g[v],d);return Ua(y)||y===d?Ua(d[s])?h:d[s]:y},Nu=d=>typeof d=="boolean",ta=(d,s,h)=>{let y=-1;const g=Dg(s)?[s]:Lv(s),v=g.length,_=v-1;for(;++y<v;){const A=g[y];let j=h;if(y!==_){const w=d[A];j=Ca(w)||Array.isArray(w)?w:isNaN(+g[y+1])?{}:[]}if(A==="__proto__"||A==="constructor"||A==="prototype")return;d[A]=j,d=d[A]}};const nS={BLUR:"blur",FOCUS_OUT:"focusout"},Ki={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ao={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},BE=jl.createContext(null);BE.displayName="HookFormContext";var VE=(d,s,h,y=!0)=>{const g={defaultValues:s._defaultValues};for(const v in d)Object.defineProperty(g,v,{get:()=>{const _=v;return s._proxyFormState[_]!==Ki.all&&(s._proxyFormState[_]=!y||Ki.all),d[_]}});return g};const LE=typeof window<"u"?Ma.useLayoutEffect:Ma.useEffect;var Hu=d=>typeof d=="string",qE=(d,s,h,y,g)=>Hu(d)?(y&&s.watch.add(d),Ce(h,d,g)):Array.isArray(d)?d.map(v=>(y&&s.watch.add(v),Ce(h,v))):(y&&(s.watchAll=!0),h),qv=(d,s,h,y,g)=>s?{...h[d],types:{...h[d]&&h[d].types?h[d].types:{},[y]:g||!0}}:{},xm=d=>Array.isArray(d)?d:[d],lS=()=>{let d=[];return{get observers(){return d},next:g=>{for(const v of d)v.next&&v.next(g)},subscribe:g=>(d.push(g),{unsubscribe:()=>{d=d.filter(v=>v!==g)}}),unsubscribe:()=>{d=[]}}},Yv=d=>Pn(d)||!aS(d);function Nr(d,s,h=new WeakSet){if(Yv(d)||Yv(s))return d===s;if(is(d)&&is(s))return d.getTime()===s.getTime();const y=Object.keys(d),g=Object.keys(s);if(y.length!==g.length)return!1;if(h.has(d)||h.has(s))return!0;h.add(d),h.add(s);for(const v of y){const _=d[v];if(!g.includes(v))return!1;if(v!=="ref"){const A=s[v];if(is(_)&&is(A)||Ca(_)&&Ca(A)||Array.isArray(_)&&Array.isArray(A)?!Nr(_,A,h):_!==A)return!1}}return!0}var vl=d=>Ca(d)&&!Object.keys(d).length,Gv=d=>d.type==="file",Ji=d=>typeof d=="function",Mg=d=>{if(!Bv)return!1;const s=d?d.ownerDocument:0;return d instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},iS=d=>d.type==="select-multiple",Zv=d=>d.type==="radio",YE=d=>Zv(d)||Tm(d),Xv=d=>Mg(d)&&d.isConnected;function GE(d,s){const h=s.slice(0,-1).length;let y=0;for(;y<h;)d=Ua(d)?y++:d[s[y++]];return d}function ZE(d){for(const s in d)if(d.hasOwnProperty(s)&&!Ua(d[s]))return!1;return!0}function Ya(d,s){const h=Array.isArray(s)?s:Dg(s)?[s]:Lv(s),y=h.length===1?d:GE(d,h),g=h.length-1,v=h[g];return y&&delete y[v],g!==0&&(Ca(y)&&vl(y)||Array.isArray(y)&&ZE(y))&&Ya(d,h.slice(0,-1)),d}var uS=d=>{for(const s in d)if(Ji(d[s]))return!0;return!1};function Cg(d,s={}){const h=Array.isArray(d);if(Ca(d)||h)for(const y in d)Array.isArray(d[y])||Ca(d[y])&&!uS(d[y])?(s[y]=Array.isArray(d[y])?[]:{},Cg(d[y],s[y])):Pn(d[y])||(s[y]=!0);return s}function oS(d,s,h){const y=Array.isArray(d);if(Ca(d)||y)for(const g in d)Array.isArray(d[g])||Ca(d[g])&&!uS(d[g])?Ua(s)||Yv(h[g])?h[g]=Array.isArray(d[g])?Cg(d[g],[]):{...Cg(d[g])}:oS(d[g],Pn(s)?{}:s[g],h[g]):h[g]=!Nr(d[g],s[g]);return h}var Em=(d,s)=>oS(d,s,Cg(s));const rS={value:!1,isValid:!1},cS={value:!0,isValid:!0};var sS=d=>{if(Array.isArray(d)){if(d.length>1){const s=d.filter(h=>h&&h.checked&&!h.disabled).map(h=>h.value);return{value:s,isValid:!!s.length}}return d[0].checked&&!d[0].disabled?d[0].attributes&&!Ua(d[0].attributes.value)?Ua(d[0].value)||d[0].value===""?cS:{value:d[0].value,isValid:!0}:cS:rS}return rS},fS=(d,{valueAsNumber:s,valueAsDate:h,setValueAs:y})=>Ua(d)?d:s?d===""?NaN:d&&+d:h&&Hu(d)?new Date(d):y?y(d):d;const dS={isValid:!1,value:null};var hS=d=>Array.isArray(d)?d.reduce((s,h)=>h&&h.checked&&!h.disabled?{isValid:!0,value:h.value}:s,dS):dS;function mS(d){const s=d.ref;return Gv(s)?s.files:Zv(s)?hS(d.refs).value:iS(s)?[...s.selectedOptions].map(({value:h})=>h):Tm(s)?sS(d.refs).value:fS(Ua(s.value)?d.ref.value:s.value,d)}var XE=(d,s,h,y)=>{const g={};for(const v of d){const _=Ce(s,v);_&&ta(g,v,_._f)}return{criteriaMode:h,names:[...d],fields:g,shouldUseNativeValidation:y}},Ug=d=>d instanceof RegExp,_m=d=>Ua(d)?d:Ug(d)?d.source:Ca(d)?Ug(d.value)?d.value.source:d.value:d,yS=d=>({isOnSubmit:!d||d===Ki.onSubmit,isOnBlur:d===Ki.onBlur,isOnChange:d===Ki.onChange,isOnAll:d===Ki.all,isOnTouch:d===Ki.onTouched});const pS="AsyncFunction";var QE=d=>!!d&&!!d.validate&&!!(Ji(d.validate)&&d.validate.constructor.name===pS||Ca(d.validate)&&Object.values(d.validate).find(s=>s.constructor.name===pS)),KE=d=>d.mount&&(d.required||d.min||d.max||d.maxLength||d.minLength||d.pattern||d.validate),gS=(d,s,h)=>!h&&(s.watchAll||s.watch.has(d)||[...s.watch].some(y=>d.startsWith(y)&&/^\.\w+/.test(d.slice(y.length))));const wm=(d,s,h,y)=>{for(const g of h||Object.keys(d)){const v=Ce(d,g);if(v){const{_f:_,...A}=v;if(_){if(_.refs&&_.refs[0]&&s(_.refs[0],g)&&!y)return!0;if(_.ref&&s(_.ref,_.name)&&!y)return!0;if(wm(A,s))break}else if(Ca(A)&&wm(A,s))break}}};function vS(d,s,h){const y=Ce(d,h);if(y||Dg(h))return{error:y,name:h};const g=h.split(".");for(;g.length;){const v=g.join("."),_=Ce(s,v),A=Ce(d,v);if(_&&!Array.isArray(_)&&h!==v)return{name:h};if(A&&A.type)return{name:v,error:A};if(A&&A.root&&A.root.type)return{name:`${v}.root`,error:A.root};g.pop()}return{name:h}}var JE=(d,s,h,y)=>{h(d);const{name:g,...v}=d;return vl(v)||Object.keys(v).length>=Object.keys(s).length||Object.keys(v).find(_=>s[_]===(!y||Ki.all))},$E=(d,s,h)=>!d||!s||d===s||xm(d).some(y=>y&&(h?y===s:y.startsWith(s)||s.startsWith(y))),WE=(d,s,h,y,g)=>g.isOnAll?!1:!h&&g.isOnTouch?!(s||d):(h?y.isOnBlur:g.isOnBlur)?!d:(h?y.isOnChange:g.isOnChange)?d:!0,FE=(d,s)=>!Vv(Ce(d,s)).length&&Ya(d,s),IE=(d,s,h)=>{const y=xm(Ce(d,h));return ta(y,"root",s[h]),ta(d,h,y),d},Ng=d=>Hu(d);function bS(d,s,h="validate"){if(Ng(d)||Array.isArray(d)&&d.every(Ng)||Nu(d)&&!d)return{type:h,message:Ng(d)?d:"",ref:s}}var $f=d=>Ca(d)&&!Ug(d)?d:{value:d,message:""},SS=async(d,s,h,y,g,v)=>{const{ref:_,refs:A,required:j,maxLength:w,minLength:X,min:se,max:Y,pattern:L,validate:de,name:Be,valueAsNumber:Xe,mount:Fe}=d._f,_e=Ce(h,Be);if(!Fe||s.has(Be))return{};const Rt=A?A[0]:_,vt=fe=>{g&&Rt.reportValidity&&(Rt.setCustomValidity(Nu(fe)?"":fe||""),Rt.reportValidity())},He={},Qt=Zv(_),_t=Tm(_),it=Qt||_t,wt=(Xe||Gv(_))&&Ua(_.value)&&Ua(_e)||Mg(_)&&_.value===""||_e===""||Array.isArray(_e)&&!_e.length,Ae=qv.bind(null,Be,y,He),ht=(fe,Re,Ke,Je=Ao.maxLength,W=Ao.minLength)=>{const Z=fe?Re:Ke;He[Be]={type:fe?Je:W,message:Z,ref:_,...Ae(fe?Je:W,Z)}};if(v?!Array.isArray(_e)||!_e.length:j&&(!it&&(wt||Pn(_e))||Nu(_e)&&!_e||_t&&!sS(A).isValid||Qt&&!hS(A).isValid)){const{value:fe,message:Re}=Ng(j)?{value:!!j,message:j}:$f(j);if(fe&&(He[Be]={type:Ao.required,message:Re,ref:Rt,...Ae(Ao.required,Re)},!y))return vt(Re),He}if(!wt&&(!Pn(se)||!Pn(Y))){let fe,Re;const Ke=$f(Y),Je=$f(se);if(!Pn(_e)&&!isNaN(_e)){const W=_.valueAsNumber||_e&&+_e;Pn(Ke.value)||(fe=W>Ke.value),Pn(Je.value)||(Re=W<Je.value)}else{const W=_.valueAsDate||new Date(_e),Z=O=>new Date(new Date().toDateString()+" "+O),re=_.type=="time",ve=_.type=="week";Hu(Ke.value)&&_e&&(fe=re?Z(_e)>Z(Ke.value):ve?_e>Ke.value:W>new Date(Ke.value)),Hu(Je.value)&&_e&&(Re=re?Z(_e)<Z(Je.value):ve?_e<Je.value:W<new Date(Je.value))}if((fe||Re)&&(ht(!!fe,Ke.message,Je.message,Ao.max,Ao.min),!y))return vt(He[Be].message),He}if((w||X)&&!wt&&(Hu(_e)||v&&Array.isArray(_e))){const fe=$f(w),Re=$f(X),Ke=!Pn(fe.value)&&_e.length>+fe.value,Je=!Pn(Re.value)&&_e.length<+Re.value;if((Ke||Je)&&(ht(Ke,fe.message,Re.message),!y))return vt(He[Be].message),He}if(L&&!wt&&Hu(_e)){const{value:fe,message:Re}=$f(L);if(Ug(fe)&&!_e.match(fe)&&(He[Be]={type:Ao.pattern,message:Re,ref:_,...Ae(Ao.pattern,Re)},!y))return vt(Re),He}if(de){if(Ji(de)){const fe=await de(_e,h),Re=bS(fe,Rt);if(Re&&(He[Be]={...Re,...Ae(Ao.validate,Re.message)},!y))return vt(Re.message),He}else if(Ca(de)){let fe={};for(const Re in de){if(!vl(fe)&&!y)break;const Ke=bS(await de[Re](_e,h),Rt,Re);Ke&&(fe={...Ke,...Ae(Re,Ke.message)},vt(Ke.message),y&&(He[Be]=fe))}if(!vl(fe)&&(He[Be]={ref:Rt,...fe},!y))return He}}return vt(!0),He};const PE={mode:Ki.onSubmit,reValidateMode:Ki.onChange,shouldFocusError:!0};function e_(d={}){let s={...PE,...d},h={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ji(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1};const y={};let g=Ca(s.defaultValues)||Ca(s.values)?bn(s.defaultValues||s.values)||{}:{},v=s.shouldUnregister?{}:bn(g),_={action:!1,mount:!1,watch:!1},A={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},j,w=0;const X={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let se={...X};const Y={array:lS(),state:lS()},L=s.criteriaMode===Ki.all,de=U=>k=>{clearTimeout(w),w=setTimeout(U,k)},Be=async U=>{if(!s.disabled&&(X.isValid||se.isValid||U)){const k=s.resolver?vl((await _t()).errors):await wt(y,!0);k!==h.isValid&&Y.state.next({isValid:k})}},Xe=(U,k)=>{!s.disabled&&(X.isValidating||X.validatingFields||se.isValidating||se.validatingFields)&&((U||Array.from(A.mount)).forEach(ne=>{ne&&(k?ta(h.validatingFields,ne,k):Ya(h.validatingFields,ne))}),Y.state.next({validatingFields:h.validatingFields,isValidating:!vl(h.validatingFields)}))},Fe=(U,k=[],ne,xe,pe=!0,me=!0)=>{if(xe&&ne&&!s.disabled){if(_.action=!0,me&&Array.isArray(Ce(y,U))){const ze=ne(Ce(y,U),xe.argA,xe.argB);pe&&ta(y,U,ze)}if(me&&Array.isArray(Ce(h.errors,U))){const ze=ne(Ce(h.errors,U),xe.argA,xe.argB);pe&&ta(h.errors,U,ze),FE(h.errors,U)}if((X.touchedFields||se.touchedFields)&&me&&Array.isArray(Ce(h.touchedFields,U))){const ze=ne(Ce(h.touchedFields,U),xe.argA,xe.argB);pe&&ta(h.touchedFields,U,ze)}(X.dirtyFields||se.dirtyFields)&&(h.dirtyFields=Em(g,v)),Y.state.next({name:U,isDirty:ht(U,k),dirtyFields:h.dirtyFields,errors:h.errors,isValid:h.isValid})}else ta(v,U,k)},_e=(U,k)=>{ta(h.errors,U,k),Y.state.next({errors:h.errors})},Rt=U=>{h.errors=U,Y.state.next({errors:h.errors,isValid:!1})},vt=(U,k,ne,xe)=>{const pe=Ce(y,U);if(pe){const me=Ce(v,U,Ua(ne)?Ce(g,U):ne);Ua(me)||xe&&xe.defaultChecked||k?ta(v,U,k?me:mS(pe._f)):Ke(U,me),_.mount&&Be()}},He=(U,k,ne,xe,pe)=>{let me=!1,ze=!1;const Qe={name:U};if(!s.disabled){if(!ne||xe){(X.isDirty||se.isDirty)&&(ze=h.isDirty,h.isDirty=Qe.isDirty=ht(),me=ze!==Qe.isDirty);const pt=Nr(Ce(g,U),k);ze=!!Ce(h.dirtyFields,U),pt?Ya(h.dirtyFields,U):ta(h.dirtyFields,U,!0),Qe.dirtyFields=h.dirtyFields,me=me||(X.dirtyFields||se.dirtyFields)&&ze!==!pt}if(ne){const pt=Ce(h.touchedFields,U);pt||(ta(h.touchedFields,U,ne),Qe.touchedFields=h.touchedFields,me=me||(X.touchedFields||se.touchedFields)&&pt!==ne)}me&&pe&&Y.state.next(Qe)}return me?Qe:{}},Qt=(U,k,ne,xe)=>{const pe=Ce(h.errors,U),me=(X.isValid||se.isValid)&&Nu(k)&&h.isValid!==k;if(s.delayError&&ne?(j=de(()=>_e(U,ne)),j(s.delayError)):(clearTimeout(w),j=null,ne?ta(h.errors,U,ne):Ya(h.errors,U)),(ne?!Nr(pe,ne):pe)||!vl(xe)||me){const ze={...xe,...me&&Nu(k)?{isValid:k}:{},errors:h.errors,name:U};h={...h,...ze},Y.state.next(ze)}},_t=async U=>{Xe(U,!0);const k=await s.resolver(v,s.context,XE(U||A.mount,y,s.criteriaMode,s.shouldUseNativeValidation));return Xe(U),k},it=async U=>{const{errors:k}=await _t(U);if(U)for(const ne of U){const xe=Ce(k,ne);xe?ta(h.errors,ne,xe):Ya(h.errors,ne)}else h.errors=k;return k},wt=async(U,k,ne={valid:!0})=>{for(const xe in U){const pe=U[xe];if(pe){const{_f:me,...ze}=pe;if(me){const Qe=A.array.has(me.name),pt=pe._f&&QE(pe._f);pt&&X.validatingFields&&Xe([xe],!0);const Gt=await SS(pe,A.disabled,v,L,s.shouldUseNativeValidation&&!k,Qe);if(pt&&X.validatingFields&&Xe([xe]),Gt[me.name]&&(ne.valid=!1,k))break;!k&&(Ce(Gt,me.name)?Qe?IE(h.errors,Gt,me.name):ta(h.errors,me.name,Gt[me.name]):Ya(h.errors,me.name))}!vl(ze)&&await wt(ze,k,ne)}}return ne.valid},Ae=()=>{for(const U of A.unMount){const k=Ce(y,U);k&&(k._f.refs?k._f.refs.every(ne=>!Xv(ne)):!Xv(k._f.ref))&&$e(U)}A.unMount=new Set},ht=(U,k)=>!s.disabled&&(U&&k&&ta(v,U,k),!Nr(O(),g)),fe=(U,k,ne)=>qE(U,A,{..._.mount?v:Ua(k)?g:Hu(U)?{[U]:k}:k},ne,k),Re=U=>Vv(Ce(_.mount?v:g,U,s.shouldUnregister?Ce(g,U,[]):[])),Ke=(U,k,ne={})=>{const xe=Ce(y,U);let pe=k;if(xe){const me=xe._f;me&&(!me.disabled&&ta(v,U,fS(k,me)),pe=Mg(me.ref)&&Pn(k)?"":k,iS(me.ref)?[...me.ref.options].forEach(ze=>ze.selected=pe.includes(ze.value)):me.refs?Tm(me.ref)?me.refs.forEach(ze=>{(!ze.defaultChecked||!ze.disabled)&&(Array.isArray(pe)?ze.checked=!!pe.find(Qe=>Qe===ze.value):ze.checked=pe===ze.value||!!pe)}):me.refs.forEach(ze=>ze.checked=ze.value===pe):Gv(me.ref)?me.ref.value="":(me.ref.value=pe,me.ref.type||Y.state.next({name:U,values:bn(v)})))}(ne.shouldDirty||ne.shouldTouch)&&He(U,pe,ne.shouldTouch,ne.shouldDirty,!0),ne.shouldValidate&&ve(U)},Je=(U,k,ne)=>{for(const xe in k){if(!k.hasOwnProperty(xe))return;const pe=k[xe],me=U+"."+xe,ze=Ce(y,me);(A.array.has(U)||Ca(pe)||ze&&!ze._f)&&!is(pe)?Je(me,pe,ne):Ke(me,pe,ne)}},W=(U,k,ne={})=>{const xe=Ce(y,U),pe=A.array.has(U),me=bn(k);ta(v,U,me),pe?(Y.array.next({name:U,values:bn(v)}),(X.isDirty||X.dirtyFields||se.isDirty||se.dirtyFields)&&ne.shouldDirty&&Y.state.next({name:U,dirtyFields:Em(g,v),isDirty:ht(U,me)})):xe&&!xe._f&&!Pn(me)?Je(U,me,ne):Ke(U,me,ne),gS(U,A)&&Y.state.next({...h}),Y.state.next({name:_.mount?U:void 0,values:bn(v)})},Z=async U=>{_.mount=!0;const k=U.target;let ne=k.name,xe=!0;const pe=Ce(y,ne),me=pt=>{xe=Number.isNaN(pt)||is(pt)&&isNaN(pt.getTime())||Nr(pt,Ce(v,ne,pt))},ze=yS(s.mode),Qe=yS(s.reValidateMode);if(pe){let pt,Gt;const yi=k.type?mS(pe._f):NE(U),Sn=U.type===nS.BLUR||U.type===nS.FOCUS_OUT,zo=!KE(pe._f)&&!s.resolver&&!Ce(h.errors,ne)&&!pe._f.deps||WE(Sn,Ce(h.touchedFields,ne),h.isSubmitted,Qe,ze),tl=gS(ne,A,Sn);ta(v,ne,yi),Sn?(pe._f.onBlur&&pe._f.onBlur(U),j&&j(0)):pe._f.onChange&&pe._f.onChange(U);const Tn=He(ne,yi,Sn),Na=!vl(Tn)||tl;if(!Sn&&Y.state.next({name:ne,type:U.type,values:bn(v)}),zo)return(X.isValid||se.isValid)&&(s.mode==="onBlur"?Sn&&Be():Sn||Be()),Na&&Y.state.next({name:ne,...tl?{}:Tn});if(!Sn&&tl&&Y.state.next({...h}),s.resolver){const{errors:Pa}=await _t([ne]);if(me(yi),xe){const Cn=vS(h.errors,y,ne),x=vS(Pa,y,Cn.name||ne);pt=x.error,ne=x.name,Gt=vl(Pa)}}else Xe([ne],!0),pt=(await SS(pe,A.disabled,v,L,s.shouldUseNativeValidation))[ne],Xe([ne]),me(yi),xe&&(pt?Gt=!1:(X.isValid||se.isValid)&&(Gt=await wt(y,!0)));xe&&(pe._f.deps&&ve(pe._f.deps),Qt(ne,Gt,pt,Tn))}},re=(U,k)=>{if(Ce(h.errors,k)&&U.focus)return U.focus(),1},ve=async(U,k={})=>{let ne,xe;const pe=xm(U);if(s.resolver){const me=await it(Ua(U)?U:pe);ne=vl(me),xe=U?!pe.some(ze=>Ce(me,ze)):ne}else U?(xe=(await Promise.all(pe.map(async me=>{const ze=Ce(y,me);return await wt(ze&&ze._f?{[me]:ze}:ze)}))).every(Boolean),!(!xe&&!h.isValid)&&Be()):xe=ne=await wt(y);return Y.state.next({...!Hu(U)||(X.isValid||se.isValid)&&ne!==h.isValid?{}:{name:U},...s.resolver||!U?{isValid:ne}:{},errors:h.errors}),k.shouldFocus&&!xe&&wm(y,re,U?pe:A.mount),xe},O=U=>{const k={..._.mount?v:g};return Ua(U)?k:Hu(U)?Ce(k,U):U.map(ne=>Ce(k,ne))},C=(U,k)=>({invalid:!!Ce((k||h).errors,U),isDirty:!!Ce((k||h).dirtyFields,U),error:Ce((k||h).errors,U),isValidating:!!Ce(h.validatingFields,U),isTouched:!!Ce((k||h).touchedFields,U)}),ie=U=>{U&&xm(U).forEach(k=>Ya(h.errors,k)),Y.state.next({errors:U?h.errors:{}})},ee=(U,k,ne)=>{const xe=(Ce(y,U,{_f:{}})._f||{}).ref,pe=Ce(h.errors,U)||{},{ref:me,message:ze,type:Qe,...pt}=pe;ta(h.errors,U,{...pt,...k,ref:xe}),Y.state.next({name:U,errors:h.errors,isValid:!1}),ne&&ne.shouldFocus&&xe&&xe.focus&&xe.focus()},Te=(U,k)=>Ji(U)?Y.state.subscribe({next:ne=>U(fe(void 0,k),ne)}):fe(U,k,!0),Le=U=>Y.state.subscribe({next:k=>{$E(U.name,k.name,U.exact)&&JE(k,U.formState||X,Bt,U.reRenderRoot)&&U.callback({values:{...v},...h,...k})}}).unsubscribe,De=U=>(_.mount=!0,se={...se,...U.formState},Le({...U,formState:se})),$e=(U,k={})=>{for(const ne of U?xm(U):A.mount)A.mount.delete(ne),A.array.delete(ne),k.keepValue||(Ya(y,ne),Ya(v,ne)),!k.keepError&&Ya(h.errors,ne),!k.keepDirty&&Ya(h.dirtyFields,ne),!k.keepTouched&&Ya(h.touchedFields,ne),!k.keepIsValidating&&Ya(h.validatingFields,ne),!s.shouldUnregister&&!k.keepDefaultValue&&Ya(g,ne);Y.state.next({values:bn(v)}),Y.state.next({...h,...k.keepDirty?{isDirty:ht()}:{}}),!k.keepIsValid&&Be()},Ct=({disabled:U,name:k})=>{(Nu(U)&&_.mount||U||A.disabled.has(k))&&(U?A.disabled.add(k):A.disabled.delete(k))},Dt=(U,k={})=>{let ne=Ce(y,U);const xe=Nu(k.disabled)||Nu(s.disabled);return ta(y,U,{...ne||{},_f:{...ne&&ne._f?ne._f:{ref:{name:U}},name:U,mount:!0,...k}}),A.mount.add(U),ne?Ct({disabled:Nu(k.disabled)?k.disabled:s.disabled,name:U}):vt(U,!0,k.value),{...xe?{disabled:k.disabled||s.disabled}:{},...s.progressive?{required:!!k.required,min:_m(k.min),max:_m(k.max),minLength:_m(k.minLength),maxLength:_m(k.maxLength),pattern:_m(k.pattern)}:{},name:U,onChange:Z,onBlur:Z,ref:pe=>{if(pe){Dt(U,k),ne=Ce(y,U);const me=Ua(pe.value)&&pe.querySelectorAll&&pe.querySelectorAll("input,select,textarea")[0]||pe,ze=YE(me),Qe=ne._f.refs||[];if(ze?Qe.find(pt=>pt===me):me===ne._f.ref)return;ta(y,U,{_f:{...ne._f,...ze?{refs:[...Qe.filter(Xv),me,...Array.isArray(Ce(g,U))?[{}]:[]],ref:{type:me.type,name:U}}:{ref:me}}}),vt(U,!1,void 0,me)}else ne=Ce(y,U,{}),ne._f&&(ne._f.mount=!1),(s.shouldUnregister||k.shouldUnregister)&&!(kE(A.array,U)&&_.action)&&A.unMount.add(U)}}},ha=()=>s.shouldFocusError&&wm(y,re,A.mount),Ia=U=>{Nu(U)&&(Y.state.next({disabled:U}),wm(y,(k,ne)=>{const xe=Ce(y,ne);xe&&(k.disabled=xe._f.disabled||U,Array.isArray(xe._f.refs)&&xe._f.refs.forEach(pe=>{pe.disabled=xe._f.disabled||U}))},0,!1))},bl=(U,k)=>async ne=>{let xe;ne&&(ne.preventDefault&&ne.preventDefault(),ne.persist&&ne.persist());let pe=bn(v);if(Y.state.next({isSubmitting:!0}),s.resolver){const{errors:me,values:ze}=await _t();h.errors=me,pe=bn(ze)}else await wt(y);if(A.disabled.size)for(const me of A.disabled)Ya(pe,me);if(Ya(h.errors,"root"),vl(h.errors)){Y.state.next({errors:{}});try{await U(pe,ne)}catch(me){xe=me}}else k&&await k({...h.errors},ne),ha(),setTimeout(ha);if(Y.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vl(h.errors)&&!xe,submitCount:h.submitCount+1,errors:h.errors}),xe)throw xe},$i=(U,k={})=>{Ce(y,U)&&(Ua(k.defaultValue)?W(U,bn(Ce(g,U))):(W(U,k.defaultValue),ta(g,U,bn(k.defaultValue))),k.keepTouched||Ya(h.touchedFields,U),k.keepDirty||(Ya(h.dirtyFields,U),h.isDirty=k.defaultValue?ht(U,bn(Ce(g,U))):ht()),k.keepError||(Ya(h.errors,U),X.isValid&&Be()),Y.state.next({...h}))},el=(U,k={})=>{const ne=U?bn(U):g,xe=bn(ne),pe=vl(U),me=pe?g:xe;if(k.keepDefaultValues||(g=ne),!k.keepValues){if(k.keepDirtyValues){const ze=new Set([...A.mount,...Object.keys(Em(g,v))]);for(const Qe of Array.from(ze))Ce(h.dirtyFields,Qe)?ta(me,Qe,Ce(v,Qe)):W(Qe,Ce(me,Qe))}else{if(Bv&&Ua(U))for(const ze of A.mount){const Qe=Ce(y,ze);if(Qe&&Qe._f){const pt=Array.isArray(Qe._f.refs)?Qe._f.refs[0]:Qe._f.ref;if(Mg(pt)){const Gt=pt.closest("form");if(Gt){Gt.reset();break}}}}for(const ze of A.mount){const Qe=Ce(me,ze,Ce(g,ze));Ua(Qe)||(ta(me,ze,Qe),W(ze,Ce(me,ze)))}}v=bn(me),Y.array.next({values:{...me}}),Y.state.next({values:{...me}})}A={mount:k.keepDirtyValues?A.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},_.mount=!X.isValid||!!k.keepIsValid||!!k.keepDirtyValues,_.watch=!!s.shouldUnregister,Y.state.next({submitCount:k.keepSubmitCount?h.submitCount:0,isDirty:pe?!1:k.keepDirty?h.isDirty:!!(k.keepDefaultValues&&!Nr(U,g)),isSubmitted:k.keepIsSubmitted?h.isSubmitted:!1,dirtyFields:pe?{}:k.keepDirtyValues?k.keepDefaultValues&&v?Em(g,v):h.dirtyFields:k.keepDefaultValues&&U?Em(g,U):k.keepDirty?h.dirtyFields:{},touchedFields:k.keepTouched?h.touchedFields:{},errors:k.keepErrors?h.errors:{},isSubmitSuccessful:k.keepIsSubmitSuccessful?h.isSubmitSuccessful:!1,isSubmitting:!1})},Ro=(U,k)=>el(Ji(U)?U(v):U,k),Oo=(U,k={})=>{const ne=Ce(y,U),xe=ne&&ne._f;if(xe){const pe=xe.refs?xe.refs[0]:xe.ref;pe.focus&&(pe.focus(),k.shouldSelect&&Ji(pe.select)&&pe.select())}},Bt=U=>{h={...h,...U}},Sl={control:{register:Dt,unregister:$e,getFieldState:C,handleSubmit:bl,setError:ee,_subscribe:Le,_runSchema:_t,_focusError:ha,_getWatch:fe,_getDirty:ht,_setValid:Be,_setFieldArray:Fe,_setDisabledField:Ct,_setErrors:Rt,_getFieldArray:Re,_reset:el,_resetDefaultValues:()=>Ji(s.defaultValues)&&s.defaultValues().then(U=>{Ro(U,s.resetOptions),Y.state.next({isLoading:!1})}),_removeUnmounted:Ae,_disableForm:Ia,_subjects:Y,_proxyFormState:X,get _fields(){return y},get _formValues(){return v},get _state(){return _},set _state(U){_=U},get _defaultValues(){return g},get _names(){return A},set _names(U){A=U},get _formState(){return h},get _options(){return s},set _options(U){s={...s,...U}}},subscribe:De,trigger:ve,register:Dt,handleSubmit:bl,watch:Te,setValue:W,getValues:O,reset:Ro,resetField:$i,clearErrors:ie,unregister:$e,setError:ee,setFocus:Oo,getFieldState:C};return{...Sl,formControl:Sl}}function t_(d={}){const s=jl.useRef(void 0),h=jl.useRef(void 0),[y,g]=jl.useState({isDirty:!1,isValidating:!1,isLoading:Ji(d.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:d.errors||{},disabled:d.disabled||!1,isReady:!1,defaultValues:Ji(d.defaultValues)?void 0:d.defaultValues});if(!s.current)if(d.formControl)s.current={...d.formControl,formState:y},d.defaultValues&&!Ji(d.defaultValues)&&d.formControl.reset(d.defaultValues,d.resetOptions);else{const{formControl:_,...A}=e_(d);s.current={...A,formState:y}}const v=s.current.control;return v._options=d,LE(()=>{const _=v._subscribe({formState:v._proxyFormState,callback:()=>g({...v._formState}),reRenderRoot:!0});return g(A=>({...A,isReady:!0})),v._formState.isReady=!0,_},[v]),jl.useEffect(()=>v._disableForm(d.disabled),[v,d.disabled]),jl.useEffect(()=>{d.mode&&(v._options.mode=d.mode),d.reValidateMode&&(v._options.reValidateMode=d.reValidateMode)},[v,d.mode,d.reValidateMode]),jl.useEffect(()=>{d.errors&&(v._setErrors(d.errors),v._focusError())},[v,d.errors]),jl.useEffect(()=>{d.shouldUnregister&&v._subjects.state.next({values:v._getWatch()})},[v,d.shouldUnregister]),jl.useEffect(()=>{if(v._proxyFormState.isDirty){const _=v._getDirty();_!==y.isDirty&&v._subjects.state.next({isDirty:_})}},[v,y.isDirty]),jl.useEffect(()=>{d.values&&!Nr(d.values,h.current)?(v._reset(d.values,v._options.resetOptions),h.current=d.values,g(_=>({..._}))):v._resetDefaultValues()},[v,d.values]),jl.useEffect(()=>{v._state.mount||(v._setValid(),v._state.mount=!0),v._state.watch&&(v._state.watch=!1,v._subjects.state.next({...v._formState})),v._removeUnmounted()}),s.current.formState=VE(y,v),s.current}const TS=(d,s,h)=>{if(d&&"reportValidity"in d){const y=Ce(h,s);d.setCustomValidity(y&&y.message||""),d.reportValidity()}},Qv=(d,s)=>{for(const h in s.fields){const y=s.fields[h];y&&y.ref&&"reportValidity"in y.ref?TS(y.ref,h,d):y&&y.refs&&y.refs.forEach(g=>TS(g,h,d))}},xS=(d,s)=>{s.shouldUseNativeValidation&&Qv(d,s);const h={};for(const y in d){const g=Ce(s.fields,y),v=Object.assign(d[y]||{},{ref:g&&g.ref});if(a_(s.names||Object.keys(d),y)){const _=Object.assign({},Ce(h,y));ta(_,"root",v),ta(h,y,_)}else ta(h,y,v)}return h},a_=(d,s)=>{const h=ES(s);return d.some(y=>ES(y).match(`^${h}\\.\\d+`))};function ES(d){return d.replace(/\]|\[/g,"")}function _S(d,s,h){function y(A,j){var w;Object.defineProperty(A,"_zod",{value:A._zod??{},enumerable:!1}),(w=A._zod).traits??(w.traits=new Set),A._zod.traits.add(d),s(A,j);for(const X in _.prototype)X in A||Object.defineProperty(A,X,{value:_.prototype[X].bind(A)});A._zod.constr=_,A._zod.def=j}const g=(h==null?void 0:h.Parent)??Object;class v extends g{}Object.defineProperty(v,"name",{value:d});function _(A){var j;const w=h!=null&&h.Parent?new v:this;y(w,A),(j=w._zod).deferred??(j.deferred=[]);for(const X of w._zod.deferred)X();return w}return Object.defineProperty(_,"init",{value:y}),Object.defineProperty(_,Symbol.hasInstance,{value:A=>{var j,w;return h!=null&&h.Parent&&A instanceof h.Parent?!0:(w=(j=A==null?void 0:A._zod)==null?void 0:j.traits)==null?void 0:w.has(d)}}),Object.defineProperty(_,"name",{value:d}),_}class n_ extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const l_={};function wS(d){return l_}function i_(d,s){return typeof s=="bigint"?s.toString():s}const AS=Error.captureStackTrace?Error.captureStackTrace:(...d)=>{};function Hg(d){return typeof d=="string"?d:d==null?void 0:d.message}function RS(d,s,h){var g,v,_,A,j,w;const y={...d,path:d.path??[]};if(!d.message){const X=Hg((_=(v=(g=d.inst)==null?void 0:g._zod.def)==null?void 0:v.error)==null?void 0:_.call(v,d))??Hg((A=s==null?void 0:s.error)==null?void 0:A.call(s,d))??Hg((j=h.customError)==null?void 0:j.call(h,d))??Hg((w=h.localeError)==null?void 0:w.call(h,d))??"Invalid input";y.message=X}return delete y.inst,delete y.continue,s!=null&&s.reportInput||delete y.input,y}const OS=(d,s)=>{d.name="$ZodError",Object.defineProperty(d,"_zod",{value:d._zod,enumerable:!1}),Object.defineProperty(d,"issues",{value:s,enumerable:!1}),Object.defineProperty(d,"message",{get(){return JSON.stringify(s,i_,2)},enumerable:!0})},u_=_S("$ZodError",OS),zS=_S("$ZodError",OS,{Parent:Error}),o_=(d=>(s,h,y,g)=>{const v=y?Object.assign(y,{async:!1}):{async:!1},_=s._zod.run({value:h,issues:[]},v);if(_ instanceof Promise)throw new n_;if(_.issues.length){const A=new((g==null?void 0:g.Err)??d)(_.issues.map(j=>RS(j,v,wS())));throw AS(A,g==null?void 0:g.callee),A}return _.value})(zS),r_=(d=>async(s,h,y,g)=>{const v=y?Object.assign(y,{async:!0}):{async:!0};let _=s._zod.run({value:h,issues:[]},v);if(_ instanceof Promise&&(_=await _),_.issues.length){const A=new((g==null?void 0:g.Err)??d)(_.issues.map(j=>RS(j,v,wS())));throw AS(A,g==null?void 0:g.callee),A}return _.value})(zS);function DS(d,s){try{var h=d()}catch(y){return s(y)}return h&&h.then?h.then(void 0,s):h}function c_(d,s){for(var h={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!h[_])if("unionErrors"in y){var A=y.unionErrors[0].errors[0];h[_]={message:A.message,type:A.code}}else h[_]={message:v,type:g};if("unionErrors"in y&&y.unionErrors.forEach(function(X){return X.errors.forEach(function(se){return d.push(se)})}),s){var j=h[_].types,w=j&&j[y.code];h[_]=qv(_,s,h,g,w?[].concat(w,y.message):y.message)}d.shift()}return h}function s_(d,s){for(var h={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!h[_])if(y.code==="invalid_union"){var A=y.errors[0][0];h[_]={message:A.message,type:A.code}}else h[_]={message:v,type:g};if(y.code==="invalid_union"&&y.errors.forEach(function(X){return X.forEach(function(se){return d.push(se)})}),s){var j=h[_].types,w=j&&j[y.code];h[_]=qv(_,s,h,g,w?[].concat(w,y.message):y.message)}d.shift()}return h}function f_(d,s,h){if(h===void 0&&(h={}),function(y){return"_def"in y&&typeof y._def=="object"&&"typeName"in y._def}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve(d[h.mode==="sync"?"parse":"parseAsync"](y,s)).then(function(_){return v.shouldUseNativeValidation&&Qv({},v),{errors:{},values:h.raw?Object.assign({},y):_}})},function(_){if(function(A){return Array.isArray(A==null?void 0:A.issues)}(_))return{values:{},errors:xS(c_(_.errors,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};if(function(y){return"_zod"in y&&typeof y._zod=="object"}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve((h.mode==="sync"?o_:r_)(d,y,s)).then(function(_){return v.shouldUseNativeValidation&&Qv({},v),{errors:{},values:h.raw?Object.assign({},y):_}})},function(_){if(function(A){return A instanceof u_}(_))return{values:{},errors:xS(s_(_.issues,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};throw new Error("Invalid input: not a Zod schema")}/**
|
|
324
|
+
*/var N1;function eE(){return N1||(N1=1,function(d){(function(){var s={}.hasOwnProperty;function h(){for(var v="",_=0;_<arguments.length;_++){var A=arguments[_];A&&(v=g(v,y(A)))}return v}function y(v){if(typeof v=="string"||typeof v=="number")return v;if(typeof v!="object")return"";if(Array.isArray(v))return h.apply(null,v);if(v.toString!==Object.prototype.toString&&!v.toString.toString().includes("[native code]"))return v.toString();var _="";for(var A in v)s.call(v,A)&&v[A]&&(_=g(_,A));return _}function g(v,_){return _?v?v+" "+_:v+_:v}d.exports?(h.default=h,d.exports=h):window.classNames=h})()}(zv)),zv.exports}var tE=eE();const Qi=Xi(tE);function H1({children:d,variant:s}){return ge.jsx("main",{className:Qi({"border-3 border-[#44c2c0] flex flex-col items-center justify-center min-w-[var(--min-container)] max-w-[var(--max-container)] w-full h-auto rounded-xl p-4 bg-white gap-4 relative":s==="main","w-full h-auto relative":s==="simple"}),"data-testid":"test_id_container","data-variant":s,id:"container_pbm",children:d})}/*! js-cookie v3.0.5 | MIT */function _g(d){for(var s=1;s<arguments.length;s++){var h=arguments[s];for(var y in h)d[y]=h[y]}return d}var aE={read:function(d){return d[0]==='"'&&(d=d.slice(1,-1)),d.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(d){return encodeURIComponent(d).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Dv(d,s){function h(g,v,_){if(!(typeof document>"u")){_=_g({},s,_),typeof _.expires=="number"&&(_.expires=new Date(Date.now()+_.expires*864e5)),_.expires&&(_.expires=_.expires.toUTCString()),g=encodeURIComponent(g).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var A="";for(var j in _)_[j]&&(A+="; "+j,_[j]!==!0&&(A+="="+_[j].split(";")[0]));return document.cookie=g+"="+d.write(v,g)+A}}function y(g){if(!(typeof document>"u"||arguments.length&&!g)){for(var v=document.cookie?document.cookie.split("; "):[],_={},A=0;A<v.length;A++){var j=v[A].split("="),w=j.slice(1).join("=");try{var X=decodeURIComponent(j[0]);if(_[X]=d.read(w,X),g===X)break}catch{}}return g?_[g]:_}}return Object.create({set:h,get:y,remove:function(g,v){h(g,"",_g({},v,{expires:-1}))},withAttributes:function(g){return Dv(this.converter,_g({},this.attributes,g))},withConverter:function(g){return Dv(_g({},this.converter,g),this.attributes)}},{attributes:{value:Object.freeze(s)},converter:{value:Object.freeze(d)}})}var pm=Dv(aE,{path:"/"});const nE=async({PRODUCT_EAN:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",h=pm.get("pbm-token");if(!h)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/ean/${d}`,{method:"GET",headers:{Authorization:`Bearer ${h}`,"Content-Type":"application/json"}})).json();if(!g.success)throw new Error(g.message||"Failed to fetch authorization");return g};function lE(){const[d,s]=Ma.useState(null),{targetProduct:h,setTargetProduct:y,state:g}=Or();return Ma.useEffect(()=>h!=null&&h.ean?((async()=>{try{const _=await nE({PRODUCT_EAN:h.ean});if(_.success&&_.data){s(_.data.pbm.imageLink);const{pbm:A,sku:j,...w}=_.data;y({...h,...w,productId:Number(w.productId),informativeMessage:A.informativeMessage??"",discountMax:A.discountMax??0})}}catch(_){console.error(_)}})(),()=>{}):void 0,[h==null?void 0:h.ean]),ge.jsxs("footer",{className:"w-full h-auto relative",id:"footer_pbm",children:[g!=="isActivated"&&(h==null?void 0:h.informativeMessage)&&ge.jsx("p",{className:"text-start mb-3 font-semibold text-sm text-amber-500",children:h==null?void 0:h.informativeMessage}),ge.jsxs("section",{className:Qi("flex items-center w-full h-auto gap-4",{"justify-center":d,"justify-start":!d}),children:[ge.jsxs("section",{className:"w-4/5 h-auto",children:[ge.jsx("h3",{className:"text-start font-semibold text-sm",children:"Economize com o benefício do laboratório."}),ge.jsx("p",{className:"text-start font-normal text-sm",children:"Este produto tem preço exclusivo para clientes cadastrados no programa."})]}),d&&ge.jsx("img",{src:d,alt:"parceiro",className:"w-1/5 min-w-20 h-auto aspect-auto rounded-xl",loading:"eager",id:"footer_industry_logo_pbm","data-testid":"footer_industry_logo_pbm"})]})]})}var Yt;(function(d){d.assertEqual=g=>{};function s(g){}d.assertIs=s;function h(g){throw new Error}d.assertNever=h,d.arrayToEnum=g=>{const v={};for(const _ of g)v[_]=_;return v},d.getValidEnumValues=g=>{const v=d.objectKeys(g).filter(A=>typeof g[g[A]]!="number"),_={};for(const A of v)_[A]=g[A];return d.objectValues(_)},d.objectValues=g=>d.objectKeys(g).map(function(v){return g[v]}),d.objectKeys=typeof Object.keys=="function"?g=>Object.keys(g):g=>{const v=[];for(const _ in g)Object.prototype.hasOwnProperty.call(g,_)&&v.push(_);return v},d.find=(g,v)=>{for(const _ of g)if(v(_))return _},d.isInteger=typeof Number.isInteger=="function"?g=>Number.isInteger(g):g=>typeof g=="number"&&Number.isFinite(g)&&Math.floor(g)===g;function y(g,v=" | "){return g.map(_=>typeof _=="string"?`'${_}'`:_).join(v)}d.joinValues=y,d.jsonStringifyReplacer=(g,v)=>typeof v=="bigint"?v.toString():v})(Yt||(Yt={}));var k1;(function(d){d.mergeShapes=(s,h)=>({...s,...h})})(k1||(k1={}));const je=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),zr=d=>{switch(typeof d){case"undefined":return je.undefined;case"string":return je.string;case"number":return Number.isNaN(d)?je.nan:je.number;case"boolean":return je.boolean;case"function":return je.function;case"bigint":return je.bigint;case"symbol":return je.symbol;case"object":return Array.isArray(d)?je.array:d===null?je.null:d.then&&typeof d.then=="function"&&d.catch&&typeof d.catch=="function"?je.promise:typeof Map<"u"&&d instanceof Map?je.map:typeof Set<"u"&&d instanceof Set?je.set:typeof Date<"u"&&d instanceof Date?je.date:je.object;default:return je.unknown}},ye=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class wo extends Error{get errors(){return this.issues}constructor(s){super(),this.issues=[],this.addIssue=y=>{this.issues=[...this.issues,y]},this.addIssues=(y=[])=>{this.issues=[...this.issues,...y]};const h=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,h):this.__proto__=h,this.name="ZodError",this.issues=s}format(s){const h=s||function(v){return v.message},y={_errors:[]},g=v=>{for(const _ of v.issues)if(_.code==="invalid_union")_.unionErrors.map(g);else if(_.code==="invalid_return_type")g(_.returnTypeError);else if(_.code==="invalid_arguments")g(_.argumentsError);else if(_.path.length===0)y._errors.push(h(_));else{let A=y,j=0;for(;j<_.path.length;){const w=_.path[j];j===_.path.length-1?(A[w]=A[w]||{_errors:[]},A[w]._errors.push(h(_))):A[w]=A[w]||{_errors:[]},A=A[w],j++}}};return g(this),y}static assert(s){if(!(s instanceof wo))throw new Error(`Not a ZodError: ${s}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(s=h=>h.message){const h={},y=[];for(const g of this.issues)g.path.length>0?(h[g.path[0]]=h[g.path[0]]||[],h[g.path[0]].push(s(g))):y.push(s(g));return{formErrors:y,fieldErrors:h}}get formErrors(){return this.flatten()}}wo.create=d=>new wo(d);const Mv=(d,s)=>{let h;switch(d.code){case ye.invalid_type:d.received===je.undefined?h="Required":h=`Expected ${d.expected}, received ${d.received}`;break;case ye.invalid_literal:h=`Invalid literal value, expected ${JSON.stringify(d.expected,Yt.jsonStringifyReplacer)}`;break;case ye.unrecognized_keys:h=`Unrecognized key(s) in object: ${Yt.joinValues(d.keys,", ")}`;break;case ye.invalid_union:h="Invalid input";break;case ye.invalid_union_discriminator:h=`Invalid discriminator value. Expected ${Yt.joinValues(d.options)}`;break;case ye.invalid_enum_value:h=`Invalid enum value. Expected ${Yt.joinValues(d.options)}, received '${d.received}'`;break;case ye.invalid_arguments:h="Invalid function arguments";break;case ye.invalid_return_type:h="Invalid function return type";break;case ye.invalid_date:h="Invalid date";break;case ye.invalid_string:typeof d.validation=="object"?"includes"in d.validation?(h=`Invalid input: must include "${d.validation.includes}"`,typeof d.validation.position=="number"&&(h=`${h} at one or more positions greater than or equal to ${d.validation.position}`)):"startsWith"in d.validation?h=`Invalid input: must start with "${d.validation.startsWith}"`:"endsWith"in d.validation?h=`Invalid input: must end with "${d.validation.endsWith}"`:Yt.assertNever(d.validation):d.validation!=="regex"?h=`Invalid ${d.validation}`:h="Invalid";break;case ye.too_small:d.type==="array"?h=`Array must contain ${d.exact?"exactly":d.inclusive?"at least":"more than"} ${d.minimum} element(s)`:d.type==="string"?h=`String must contain ${d.exact?"exactly":d.inclusive?"at least":"over"} ${d.minimum} character(s)`:d.type==="number"?h=`Number must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${d.minimum}`:d.type==="date"?h=`Date must be ${d.exact?"exactly equal to ":d.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(d.minimum))}`:h="Invalid input";break;case ye.too_big:d.type==="array"?h=`Array must contain ${d.exact?"exactly":d.inclusive?"at most":"less than"} ${d.maximum} element(s)`:d.type==="string"?h=`String must contain ${d.exact?"exactly":d.inclusive?"at most":"under"} ${d.maximum} character(s)`:d.type==="number"?h=`Number must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="bigint"?h=`BigInt must be ${d.exact?"exactly":d.inclusive?"less than or equal to":"less than"} ${d.maximum}`:d.type==="date"?h=`Date must be ${d.exact?"exactly":d.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(d.maximum))}`:h="Invalid input";break;case ye.custom:h="Invalid input";break;case ye.invalid_intersection_types:h="Intersection results could not be merged";break;case ye.not_multiple_of:h=`Number must be a multiple of ${d.multipleOf}`;break;case ye.not_finite:h="Number must be finite";break;default:h=s.defaultError,Yt.assertNever(d)}return{message:h}};let iE=Mv;function uE(){return iE}const oE=d=>{const{data:s,path:h,errorMaps:y,issueData:g}=d,v=[...h,...g.path||[]],_={...g,path:v};if(g.message!==void 0)return{...g,path:v,message:g.message};let A="";const j=y.filter(w=>!!w).slice().reverse();for(const w of j)A=w(_,{data:s,defaultError:A}).message;return{...g,path:v,message:A}};function we(d,s){const h=uE(),y=oE({issueData:s,data:d.data,path:d.path,errorMaps:[d.common.contextualErrorMap,d.schemaErrorMap,h,h===Mv?void 0:Mv].filter(g=>!!g)});d.common.issues.push(y)}class Bl{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(s,h){const y=[];for(const g of h){if(g.status==="aborted")return nt;g.status==="dirty"&&s.dirty(),y.push(g.value)}return{status:s.value,value:y}}static async mergeObjectAsync(s,h){const y=[];for(const g of h){const v=await g.key,_=await g.value;y.push({key:v,value:_})}return Bl.mergeObjectSync(s,y)}static mergeObjectSync(s,h){const y={};for(const g of h){const{key:v,value:_}=g;if(v.status==="aborted"||_.status==="aborted")return nt;v.status==="dirty"&&s.dirty(),_.status==="dirty"&&s.dirty(),v.value!=="__proto__"&&(typeof _.value<"u"||g.alwaysSet)&&(y[v.value]=_.value)}return{status:s.value,value:y}}}const nt=Object.freeze({status:"aborted"}),gm=d=>({status:"dirty",value:d}),hi=d=>({status:"valid",value:d}),j1=d=>d.status==="aborted",B1=d=>d.status==="dirty",Zf=d=>d.status==="valid",wg=d=>typeof Promise<"u"&&d instanceof Promise;var Ve;(function(d){d.errToObj=s=>typeof s=="string"?{message:s}:s||{},d.toString=s=>typeof s=="string"?s:s==null?void 0:s.message})(Ve||(Ve={}));class Dr{constructor(s,h,y,g){this._cachedPath=[],this.parent=s,this.data=h,this._path=y,this._key=g}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const V1=(d,s)=>{if(Zf(s))return{success:!0,data:s.value};if(!d.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const h=new wo(d.common.issues);return this._error=h,this._error}}};function Et(d){if(!d)return{};const{errorMap:s,invalid_type_error:h,required_error:y,description:g}=d;if(s&&(h||y))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return s?{errorMap:s,description:g}:{errorMap:(_,A)=>{const{message:j}=d;return _.code==="invalid_enum_value"?{message:j??A.defaultError}:typeof A.data>"u"?{message:j??y??A.defaultError}:_.code!=="invalid_type"?{message:A.defaultError}:{message:j??h??A.defaultError}},description:g}}class jt{get description(){return this._def.description}_getType(s){return zr(s.data)}_getOrReturnCtx(s,h){return h||{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}_processInputParams(s){return{status:new Bl,ctx:{common:s.parent.common,data:s.data,parsedType:zr(s.data),schemaErrorMap:this._def.errorMap,path:s.path,parent:s.parent}}}_parseSync(s){const h=this._parse(s);if(wg(h))throw new Error("Synchronous parse encountered promise.");return h}_parseAsync(s){const h=this._parse(s);return Promise.resolve(h)}parse(s,h){const y=this.safeParse(s,h);if(y.success)return y.data;throw y.error}safeParse(s,h){const y={common:{issues:[],async:(h==null?void 0:h.async)??!1,contextualErrorMap:h==null?void 0:h.errorMap},path:(h==null?void 0:h.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parseSync({data:s,path:y.path,parent:y});return V1(y,g)}"~validate"(s){var y,g;const h={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)};if(!this["~standard"].async)try{const v=this._parseSync({data:s,path:[],parent:h});return Zf(v)?{value:v.value}:{issues:h.common.issues}}catch(v){(g=(y=v==null?void 0:v.message)==null?void 0:y.toLowerCase())!=null&&g.includes("encountered")&&(this["~standard"].async=!0),h.common={issues:[],async:!0}}return this._parseAsync({data:s,path:[],parent:h}).then(v=>Zf(v)?{value:v.value}:{issues:h.common.issues})}async parseAsync(s,h){const y=await this.safeParseAsync(s,h);if(y.success)return y.data;throw y.error}async safeParseAsync(s,h){const y={common:{issues:[],contextualErrorMap:h==null?void 0:h.errorMap,async:!0},path:(h==null?void 0:h.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:s,parsedType:zr(s)},g=this._parse({data:s,path:y.path,parent:y}),v=await(wg(g)?g:Promise.resolve(g));return V1(y,v)}refine(s,h){const y=g=>typeof h=="string"||typeof h>"u"?{message:h}:typeof h=="function"?h(g):h;return this._refinement((g,v)=>{const _=s(g),A=()=>v.addIssue({code:ye.custom,...y(g)});return typeof Promise<"u"&&_ instanceof Promise?_.then(j=>j?!0:(A(),!1)):_?!0:(A(),!1)})}refinement(s,h){return this._refinement((y,g)=>s(y)?!0:(g.addIssue(typeof h=="function"?h(y,g):h),!1))}_refinement(s){return new Kf({schema:this,typeName:lt.ZodEffects,effect:{type:"refinement",refinement:s}})}superRefine(s){return this._refinement(s)}constructor(s){this.spa=this.safeParseAsync,this._def=s,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:h=>this["~validate"](h)}}optional(){return Ur.create(this,this._def)}nullable(){return Jf.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Uu.create(this)}promise(){return zg.create(this,this._def)}or(s){return Rg.create([this,s],this._def)}and(s){return Og.create(this,s,this._def)}transform(s){return new Kf({...Et(this._def),schema:this,typeName:lt.ZodEffects,effect:{type:"transform",transform:s}})}default(s){const h=typeof s=="function"?s:()=>s;return new Nv({...Et(this._def),innerType:this,defaultValue:h,typeName:lt.ZodDefault})}brand(){return new DE({typeName:lt.ZodBranded,type:this,...Et(this._def)})}catch(s){const h=typeof s=="function"?s:()=>s;return new Hv({...Et(this._def),innerType:this,catchValue:h,typeName:lt.ZodCatch})}describe(s){const h=this.constructor;return new h({...this._def,description:s})}pipe(s){return kv.create(this,s)}readonly(){return jv.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const rE=/^c[^\s-]{8,}$/i,cE=/^[0-9a-z]+$/,sE=/^[0-9A-HJKMNP-TV-Z]{26}$/i,fE=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,dE=/^[a-z0-9_-]{21}$/i,hE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,mE=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,yE=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,pE="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Cv;const gE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,vE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,bE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,SE=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,TE=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,xE=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,L1="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",EE=new RegExp(`^${L1}$`);function q1(d){let s="[0-5]\\d";d.precision?s=`${s}\\.\\d{${d.precision}}`:d.precision==null&&(s=`${s}(\\.\\d+)?`);const h=d.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${s})${h}`}function _E(d){return new RegExp(`^${q1(d)}$`)}function wE(d){let s=`${L1}T${q1(d)}`;const h=[];return h.push(d.local?"Z?":"Z"),d.offset&&h.push("([+-]\\d{2}:?\\d{2})"),s=`${s}(${h.join("|")})`,new RegExp(`^${s}$`)}function AE(d,s){return!!((s==="v4"||!s)&&gE.test(d)||(s==="v6"||!s)&&bE.test(d))}function RE(d,s){if(!hE.test(d))return!1;try{const[h]=d.split("."),y=h.replace(/-/g,"+").replace(/_/g,"/").padEnd(h.length+(4-h.length%4)%4,"="),g=JSON.parse(atob(y));return!(typeof g!="object"||g===null||"typ"in g&&(g==null?void 0:g.typ)!=="JWT"||!g.alg||s&&g.alg!==s)}catch{return!1}}function OE(d,s){return!!((s==="v4"||!s)&&vE.test(d)||(s==="v6"||!s)&&SE.test(d))}class Mr extends jt{_parse(s){if(this._def.coerce&&(s.data=String(s.data)),this._getType(s)!==je.string){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:je.string,received:v.parsedType}),nt}const y=new Bl;let g;for(const v of this._def.checks)if(v.kind==="min")s.data.length<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="max")s.data.length>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!1,message:v.message}),y.dirty());else if(v.kind==="length"){const _=s.data.length>v.value,A=s.data.length<v.value;(_||A)&&(g=this._getOrReturnCtx(s,g),_?we(g,{code:ye.too_big,maximum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}):A&&we(g,{code:ye.too_small,minimum:v.value,type:"string",inclusive:!0,exact:!0,message:v.message}),y.dirty())}else if(v.kind==="email")yE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"email",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="emoji")Cv||(Cv=new RegExp(pE,"u")),Cv.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"emoji",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="uuid")fE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"uuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="nanoid")dE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"nanoid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid")rE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="cuid2")cE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cuid2",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="ulid")sE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ulid",code:ye.invalid_string,message:v.message}),y.dirty());else if(v.kind==="url")try{new URL(s.data)}catch{g=this._getOrReturnCtx(s,g),we(g,{validation:"url",code:ye.invalid_string,message:v.message}),y.dirty()}else v.kind==="regex"?(v.regex.lastIndex=0,v.regex.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"regex",code:ye.invalid_string,message:v.message}),y.dirty())):v.kind==="trim"?s.data=s.data.trim():v.kind==="includes"?s.data.includes(v.value,v.position)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{includes:v.value,position:v.position},message:v.message}),y.dirty()):v.kind==="toLowerCase"?s.data=s.data.toLowerCase():v.kind==="toUpperCase"?s.data=s.data.toUpperCase():v.kind==="startsWith"?s.data.startsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{startsWith:v.value},message:v.message}),y.dirty()):v.kind==="endsWith"?s.data.endsWith(v.value)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:{endsWith:v.value},message:v.message}),y.dirty()):v.kind==="datetime"?wE(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"datetime",message:v.message}),y.dirty()):v.kind==="date"?EE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"date",message:v.message}),y.dirty()):v.kind==="time"?_E(v).test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{code:ye.invalid_string,validation:"time",message:v.message}),y.dirty()):v.kind==="duration"?mE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"duration",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="ip"?AE(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"ip",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="jwt"?RE(s.data,v.alg)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"jwt",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="cidr"?OE(s.data,v.version)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"cidr",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64"?TE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64",code:ye.invalid_string,message:v.message}),y.dirty()):v.kind==="base64url"?xE.test(s.data)||(g=this._getOrReturnCtx(s,g),we(g,{validation:"base64url",code:ye.invalid_string,message:v.message}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:s.data}}_regex(s,h,y){return this.refinement(g=>s.test(g),{validation:h,code:ye.invalid_string,...Ve.errToObj(y)})}_addCheck(s){return new Mr({...this._def,checks:[...this._def.checks,s]})}email(s){return this._addCheck({kind:"email",...Ve.errToObj(s)})}url(s){return this._addCheck({kind:"url",...Ve.errToObj(s)})}emoji(s){return this._addCheck({kind:"emoji",...Ve.errToObj(s)})}uuid(s){return this._addCheck({kind:"uuid",...Ve.errToObj(s)})}nanoid(s){return this._addCheck({kind:"nanoid",...Ve.errToObj(s)})}cuid(s){return this._addCheck({kind:"cuid",...Ve.errToObj(s)})}cuid2(s){return this._addCheck({kind:"cuid2",...Ve.errToObj(s)})}ulid(s){return this._addCheck({kind:"ulid",...Ve.errToObj(s)})}base64(s){return this._addCheck({kind:"base64",...Ve.errToObj(s)})}base64url(s){return this._addCheck({kind:"base64url",...Ve.errToObj(s)})}jwt(s){return this._addCheck({kind:"jwt",...Ve.errToObj(s)})}ip(s){return this._addCheck({kind:"ip",...Ve.errToObj(s)})}cidr(s){return this._addCheck({kind:"cidr",...Ve.errToObj(s)})}datetime(s){return typeof s=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:s}):this._addCheck({kind:"datetime",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,offset:(s==null?void 0:s.offset)??!1,local:(s==null?void 0:s.local)??!1,...Ve.errToObj(s==null?void 0:s.message)})}date(s){return this._addCheck({kind:"date",message:s})}time(s){return typeof s=="string"?this._addCheck({kind:"time",precision:null,message:s}):this._addCheck({kind:"time",precision:typeof(s==null?void 0:s.precision)>"u"?null:s==null?void 0:s.precision,...Ve.errToObj(s==null?void 0:s.message)})}duration(s){return this._addCheck({kind:"duration",...Ve.errToObj(s)})}regex(s,h){return this._addCheck({kind:"regex",regex:s,...Ve.errToObj(h)})}includes(s,h){return this._addCheck({kind:"includes",value:s,position:h==null?void 0:h.position,...Ve.errToObj(h==null?void 0:h.message)})}startsWith(s,h){return this._addCheck({kind:"startsWith",value:s,...Ve.errToObj(h)})}endsWith(s,h){return this._addCheck({kind:"endsWith",value:s,...Ve.errToObj(h)})}min(s,h){return this._addCheck({kind:"min",value:s,...Ve.errToObj(h)})}max(s,h){return this._addCheck({kind:"max",value:s,...Ve.errToObj(h)})}length(s,h){return this._addCheck({kind:"length",value:s,...Ve.errToObj(h)})}nonempty(s){return this.min(1,Ve.errToObj(s))}trim(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Mr({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(s=>s.kind==="datetime")}get isDate(){return!!this._def.checks.find(s=>s.kind==="date")}get isTime(){return!!this._def.checks.find(s=>s.kind==="time")}get isDuration(){return!!this._def.checks.find(s=>s.kind==="duration")}get isEmail(){return!!this._def.checks.find(s=>s.kind==="email")}get isURL(){return!!this._def.checks.find(s=>s.kind==="url")}get isEmoji(){return!!this._def.checks.find(s=>s.kind==="emoji")}get isUUID(){return!!this._def.checks.find(s=>s.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(s=>s.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(s=>s.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(s=>s.kind==="cuid2")}get isULID(){return!!this._def.checks.find(s=>s.kind==="ulid")}get isIP(){return!!this._def.checks.find(s=>s.kind==="ip")}get isCIDR(){return!!this._def.checks.find(s=>s.kind==="cidr")}get isBase64(){return!!this._def.checks.find(s=>s.kind==="base64")}get isBase64url(){return!!this._def.checks.find(s=>s.kind==="base64url")}get minLength(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s}get maxLength(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s}}Mr.create=d=>new Mr({checks:[],typeName:lt.ZodString,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});function zE(d,s){const h=(d.toString().split(".")[1]||"").length,y=(s.toString().split(".")[1]||"").length,g=h>y?h:y,v=Number.parseInt(d.toFixed(g).replace(".","")),_=Number.parseInt(s.toFixed(g).replace(".",""));return v%_/10**g}class vm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(s){if(this._def.coerce&&(s.data=Number(s.data)),this._getType(s)!==je.number){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:je.number,received:v.parsedType}),nt}let y;const g=new Bl;for(const v of this._def.checks)v.kind==="int"?Yt.isInteger(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.invalid_type,expected:"integer",received:"float",message:v.message}),g.dirty()):v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,minimum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,maximum:v.value,type:"number",inclusive:v.inclusive,exact:!1,message:v.message}),g.dirty()):v.kind==="multipleOf"?zE(s.data,v.value)!==0&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):v.kind==="finite"?Number.isFinite(s.data)||(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_finite,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}gte(s,h){return this.setLimit("min",s,!0,Ve.toString(h))}gt(s,h){return this.setLimit("min",s,!1,Ve.toString(h))}lte(s,h){return this.setLimit("max",s,!0,Ve.toString(h))}lt(s,h){return this.setLimit("max",s,!1,Ve.toString(h))}setLimit(s,h,y,g){return new vm({...this._def,checks:[...this._def.checks,{kind:s,value:h,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new vm({...this._def,checks:[...this._def.checks,s]})}int(s){return this._addCheck({kind:"int",message:Ve.toString(s)})}positive(s){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Ve.toString(s)})}multipleOf(s,h){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(h)})}finite(s){return this._addCheck({kind:"finite",message:Ve.toString(s)})}safe(s){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Ve.toString(s)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Ve.toString(s)})}get minValue(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s}get maxValue(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s}get isInt(){return!!this._def.checks.find(s=>s.kind==="int"||s.kind==="multipleOf"&&Yt.isInteger(s.value))}get isFinite(){let s=null,h=null;for(const y of this._def.checks){if(y.kind==="finite"||y.kind==="int"||y.kind==="multipleOf")return!0;y.kind==="min"?(h===null||y.value>h)&&(h=y.value):y.kind==="max"&&(s===null||y.value<s)&&(s=y.value)}return Number.isFinite(h)&&Number.isFinite(s)}}vm.create=d=>new vm({checks:[],typeName:lt.ZodNumber,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class bm extends jt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(s){if(this._def.coerce)try{s.data=BigInt(s.data)}catch{return this._getInvalidInput(s)}if(this._getType(s)!==je.bigint)return this._getInvalidInput(s);let y;const g=new Bl;for(const v of this._def.checks)v.kind==="min"?(v.inclusive?s.data<v.value:s.data<=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_small,type:"bigint",minimum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="max"?(v.inclusive?s.data>v.value:s.data>=v.value)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.too_big,type:"bigint",maximum:v.value,inclusive:v.inclusive,message:v.message}),g.dirty()):v.kind==="multipleOf"?s.data%v.value!==BigInt(0)&&(y=this._getOrReturnCtx(s,y),we(y,{code:ye.not_multiple_of,multipleOf:v.value,message:v.message}),g.dirty()):Yt.assertNever(v);return{status:g.value,value:s.data}}_getInvalidInput(s){const h=this._getOrReturnCtx(s);return we(h,{code:ye.invalid_type,expected:je.bigint,received:h.parsedType}),nt}gte(s,h){return this.setLimit("min",s,!0,Ve.toString(h))}gt(s,h){return this.setLimit("min",s,!1,Ve.toString(h))}lte(s,h){return this.setLimit("max",s,!0,Ve.toString(h))}lt(s,h){return this.setLimit("max",s,!1,Ve.toString(h))}setLimit(s,h,y,g){return new bm({...this._def,checks:[...this._def.checks,{kind:s,value:h,inclusive:y,message:Ve.toString(g)}]})}_addCheck(s){return new bm({...this._def,checks:[...this._def.checks,s]})}positive(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}negative(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Ve.toString(s)})}nonpositive(s){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}nonnegative(s){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Ve.toString(s)})}multipleOf(s,h){return this._addCheck({kind:"multipleOf",value:s,message:Ve.toString(h)})}get minValue(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s}get maxValue(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s}}bm.create=d=>new bm({checks:[],typeName:lt.ZodBigInt,coerce:(d==null?void 0:d.coerce)??!1,...Et(d)});class Y1 extends jt{_parse(s){if(this._def.coerce&&(s.data=!!s.data),this._getType(s)!==je.boolean){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.boolean,received:y.parsedType}),nt}return hi(s.data)}}Y1.create=d=>new Y1({typeName:lt.ZodBoolean,coerce:(d==null?void 0:d.coerce)||!1,...Et(d)});class Ag extends jt{_parse(s){if(this._def.coerce&&(s.data=new Date(s.data)),this._getType(s)!==je.date){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_type,expected:je.date,received:v.parsedType}),nt}if(Number.isNaN(s.data.getTime())){const v=this._getOrReturnCtx(s);return we(v,{code:ye.invalid_date}),nt}const y=new Bl;let g;for(const v of this._def.checks)v.kind==="min"?s.data.getTime()<v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_small,message:v.message,inclusive:!0,exact:!1,minimum:v.value,type:"date"}),y.dirty()):v.kind==="max"?s.data.getTime()>v.value&&(g=this._getOrReturnCtx(s,g),we(g,{code:ye.too_big,message:v.message,inclusive:!0,exact:!1,maximum:v.value,type:"date"}),y.dirty()):Yt.assertNever(v);return{status:y.value,value:new Date(s.data.getTime())}}_addCheck(s){return new Ag({...this._def,checks:[...this._def.checks,s]})}min(s,h){return this._addCheck({kind:"min",value:s.getTime(),message:Ve.toString(h)})}max(s,h){return this._addCheck({kind:"max",value:s.getTime(),message:Ve.toString(h)})}get minDate(){let s=null;for(const h of this._def.checks)h.kind==="min"&&(s===null||h.value>s)&&(s=h.value);return s!=null?new Date(s):null}get maxDate(){let s=null;for(const h of this._def.checks)h.kind==="max"&&(s===null||h.value<s)&&(s=h.value);return s!=null?new Date(s):null}}Ag.create=d=>new Ag({checks:[],coerce:(d==null?void 0:d.coerce)||!1,typeName:lt.ZodDate,...Et(d)});class G1 extends jt{_parse(s){if(this._getType(s)!==je.symbol){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.symbol,received:y.parsedType}),nt}return hi(s.data)}}G1.create=d=>new G1({typeName:lt.ZodSymbol,...Et(d)});class Z1 extends jt{_parse(s){if(this._getType(s)!==je.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.undefined,received:y.parsedType}),nt}return hi(s.data)}}Z1.create=d=>new Z1({typeName:lt.ZodUndefined,...Et(d)});class X1 extends jt{_parse(s){if(this._getType(s)!==je.null){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.null,received:y.parsedType}),nt}return hi(s.data)}}X1.create=d=>new X1({typeName:lt.ZodNull,...Et(d)});class Q1 extends jt{constructor(){super(...arguments),this._any=!0}_parse(s){return hi(s.data)}}Q1.create=d=>new Q1({typeName:lt.ZodAny,...Et(d)});class K1 extends jt{constructor(){super(...arguments),this._unknown=!0}_parse(s){return hi(s.data)}}K1.create=d=>new K1({typeName:lt.ZodUnknown,...Et(d)});class Cr extends jt{_parse(s){const h=this._getOrReturnCtx(s);return we(h,{code:ye.invalid_type,expected:je.never,received:h.parsedType}),nt}}Cr.create=d=>new Cr({typeName:lt.ZodNever,...Et(d)});class J1 extends jt{_parse(s){if(this._getType(s)!==je.undefined){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.void,received:y.parsedType}),nt}return hi(s.data)}}J1.create=d=>new J1({typeName:lt.ZodVoid,...Et(d)});class Uu extends jt{_parse(s){const{ctx:h,status:y}=this._processInputParams(s),g=this._def;if(h.parsedType!==je.array)return we(h,{code:ye.invalid_type,expected:je.array,received:h.parsedType}),nt;if(g.exactLength!==null){const _=h.data.length>g.exactLength.value,A=h.data.length<g.exactLength.value;(_||A)&&(we(h,{code:_?ye.too_big:ye.too_small,minimum:A?g.exactLength.value:void 0,maximum:_?g.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:g.exactLength.message}),y.dirty())}if(g.minLength!==null&&h.data.length<g.minLength.value&&(we(h,{code:ye.too_small,minimum:g.minLength.value,type:"array",inclusive:!0,exact:!1,message:g.minLength.message}),y.dirty()),g.maxLength!==null&&h.data.length>g.maxLength.value&&(we(h,{code:ye.too_big,maximum:g.maxLength.value,type:"array",inclusive:!0,exact:!1,message:g.maxLength.message}),y.dirty()),h.common.async)return Promise.all([...h.data].map((_,A)=>g.type._parseAsync(new Dr(h,_,h.path,A)))).then(_=>Bl.mergeArray(y,_));const v=[...h.data].map((_,A)=>g.type._parseSync(new Dr(h,_,h.path,A)));return Bl.mergeArray(y,v)}get element(){return this._def.type}min(s,h){return new Uu({...this._def,minLength:{value:s,message:Ve.toString(h)}})}max(s,h){return new Uu({...this._def,maxLength:{value:s,message:Ve.toString(h)}})}length(s,h){return new Uu({...this._def,exactLength:{value:s,message:Ve.toString(h)}})}nonempty(s){return this.min(1,s)}}Uu.create=(d,s)=>new Uu({type:d,minLength:null,maxLength:null,exactLength:null,typeName:lt.ZodArray,...Et(s)});function Xf(d){if(d instanceof qa){const s={};for(const h in d.shape){const y=d.shape[h];s[h]=Ur.create(Xf(y))}return new qa({...d._def,shape:()=>s})}else return d instanceof Uu?new Uu({...d._def,type:Xf(d.element)}):d instanceof Ur?Ur.create(Xf(d.unwrap())):d instanceof Jf?Jf.create(Xf(d.unwrap())):d instanceof ls?ls.create(d.items.map(s=>Xf(s))):d}class qa extends jt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const s=this._def.shape(),h=Yt.objectKeys(s);return this._cached={shape:s,keys:h},this._cached}_parse(s){if(this._getType(s)!==je.object){const w=this._getOrReturnCtx(s);return we(w,{code:ye.invalid_type,expected:je.object,received:w.parsedType}),nt}const{status:y,ctx:g}=this._processInputParams(s),{shape:v,keys:_}=this._getCached(),A=[];if(!(this._def.catchall instanceof Cr&&this._def.unknownKeys==="strip"))for(const w in g.data)_.includes(w)||A.push(w);const j=[];for(const w of _){const X=v[w],se=g.data[w];j.push({key:{status:"valid",value:w},value:X._parse(new Dr(g,se,g.path,w)),alwaysSet:w in g.data})}if(this._def.catchall instanceof Cr){const w=this._def.unknownKeys;if(w==="passthrough")for(const X of A)j.push({key:{status:"valid",value:X},value:{status:"valid",value:g.data[X]}});else if(w==="strict")A.length>0&&(we(g,{code:ye.unrecognized_keys,keys:A}),y.dirty());else if(w!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const w=this._def.catchall;for(const X of A){const se=g.data[X];j.push({key:{status:"valid",value:X},value:w._parse(new Dr(g,se,g.path,X)),alwaysSet:X in g.data})}}return g.common.async?Promise.resolve().then(async()=>{const w=[];for(const X of j){const se=await X.key,Y=await X.value;w.push({key:se,value:Y,alwaysSet:X.alwaysSet})}return w}).then(w=>Bl.mergeObjectSync(y,w)):Bl.mergeObjectSync(y,j)}get shape(){return this._def.shape()}strict(s){return Ve.errToObj,new qa({...this._def,unknownKeys:"strict",...s!==void 0?{errorMap:(h,y)=>{var v,_;const g=((_=(v=this._def).errorMap)==null?void 0:_.call(v,h,y).message)??y.defaultError;return h.code==="unrecognized_keys"?{message:Ve.errToObj(s).message??g}:{message:g}}}:{}})}strip(){return new qa({...this._def,unknownKeys:"strip"})}passthrough(){return new qa({...this._def,unknownKeys:"passthrough"})}extend(s){return new qa({...this._def,shape:()=>({...this._def.shape(),...s})})}merge(s){return new qa({unknownKeys:s._def.unknownKeys,catchall:s._def.catchall,shape:()=>({...this._def.shape(),...s._def.shape()}),typeName:lt.ZodObject})}setKey(s,h){return this.augment({[s]:h})}catchall(s){return new qa({...this._def,catchall:s})}pick(s){const h={};for(const y of Yt.objectKeys(s))s[y]&&this.shape[y]&&(h[y]=this.shape[y]);return new qa({...this._def,shape:()=>h})}omit(s){const h={};for(const y of Yt.objectKeys(this.shape))s[y]||(h[y]=this.shape[y]);return new qa({...this._def,shape:()=>h})}deepPartial(){return Xf(this)}partial(s){const h={};for(const y of Yt.objectKeys(this.shape)){const g=this.shape[y];s&&!s[y]?h[y]=g:h[y]=g.optional()}return new qa({...this._def,shape:()=>h})}required(s){const h={};for(const y of Yt.objectKeys(this.shape))if(s&&!s[y])h[y]=this.shape[y];else{let v=this.shape[y];for(;v instanceof Ur;)v=v._def.innerType;h[y]=v}return new qa({...this._def,shape:()=>h})}keyof(){return I1(Yt.objectKeys(this.shape))}}qa.create=(d,s)=>new qa({shape:()=>d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),qa.strictCreate=(d,s)=>new qa({shape:()=>d,unknownKeys:"strict",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)}),qa.lazycreate=(d,s)=>new qa({shape:d,unknownKeys:"strip",catchall:Cr.create(),typeName:lt.ZodObject,...Et(s)});class Rg extends jt{_parse(s){const{ctx:h}=this._processInputParams(s),y=this._def.options;function g(v){for(const A of v)if(A.result.status==="valid")return A.result;for(const A of v)if(A.result.status==="dirty")return h.common.issues.push(...A.ctx.common.issues),A.result;const _=v.map(A=>new wo(A.ctx.common.issues));return we(h,{code:ye.invalid_union,unionErrors:_}),nt}if(h.common.async)return Promise.all(y.map(async v=>{const _={...h,common:{...h.common,issues:[]},parent:null};return{result:await v._parseAsync({data:h.data,path:h.path,parent:_}),ctx:_}})).then(g);{let v;const _=[];for(const j of y){const w={...h,common:{...h.common,issues:[]},parent:null},X=j._parseSync({data:h.data,path:h.path,parent:w});if(X.status==="valid")return X;X.status==="dirty"&&!v&&(v={result:X,ctx:w}),w.common.issues.length&&_.push(w.common.issues)}if(v)return h.common.issues.push(...v.ctx.common.issues),v.result;const A=_.map(j=>new wo(j));return we(h,{code:ye.invalid_union,unionErrors:A}),nt}}get options(){return this._def.options}}Rg.create=(d,s)=>new Rg({options:d,typeName:lt.ZodUnion,...Et(s)});function Uv(d,s){const h=zr(d),y=zr(s);if(d===s)return{valid:!0,data:d};if(h===je.object&&y===je.object){const g=Yt.objectKeys(s),v=Yt.objectKeys(d).filter(A=>g.indexOf(A)!==-1),_={...d,...s};for(const A of v){const j=Uv(d[A],s[A]);if(!j.valid)return{valid:!1};_[A]=j.data}return{valid:!0,data:_}}else if(h===je.array&&y===je.array){if(d.length!==s.length)return{valid:!1};const g=[];for(let v=0;v<d.length;v++){const _=d[v],A=s[v],j=Uv(_,A);if(!j.valid)return{valid:!1};g.push(j.data)}return{valid:!0,data:g}}else return h===je.date&&y===je.date&&+d==+s?{valid:!0,data:d}:{valid:!1}}class Og extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s),g=(v,_)=>{if(j1(v)||j1(_))return nt;const A=Uv(v.value,_.value);return A.valid?((B1(v)||B1(_))&&h.dirty(),{status:h.value,value:A.data}):(we(y,{code:ye.invalid_intersection_types}),nt)};return y.common.async?Promise.all([this._def.left._parseAsync({data:y.data,path:y.path,parent:y}),this._def.right._parseAsync({data:y.data,path:y.path,parent:y})]).then(([v,_])=>g(v,_)):g(this._def.left._parseSync({data:y.data,path:y.path,parent:y}),this._def.right._parseSync({data:y.data,path:y.path,parent:y}))}}Og.create=(d,s,h)=>new Og({left:d,right:s,typeName:lt.ZodIntersection,...Et(h)});class ls extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.parsedType!==je.array)return we(y,{code:ye.invalid_type,expected:je.array,received:y.parsedType}),nt;if(y.data.length<this._def.items.length)return we(y,{code:ye.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),nt;!this._def.rest&&y.data.length>this._def.items.length&&(we(y,{code:ye.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),h.dirty());const v=[...y.data].map((_,A)=>{const j=this._def.items[A]||this._def.rest;return j?j._parse(new Dr(y,_,y.path,A)):null}).filter(_=>!!_);return y.common.async?Promise.all(v).then(_=>Bl.mergeArray(h,_)):Bl.mergeArray(h,v)}get items(){return this._def.items}rest(s){return new ls({...this._def,rest:s})}}ls.create=(d,s)=>{if(!Array.isArray(d))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ls({items:d,typeName:lt.ZodTuple,rest:null,...Et(s)})};class $1 extends jt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.parsedType!==je.map)return we(y,{code:ye.invalid_type,expected:je.map,received:y.parsedType}),nt;const g=this._def.keyType,v=this._def.valueType,_=[...y.data.entries()].map(([A,j],w)=>({key:g._parse(new Dr(y,A,y.path,[w,"key"])),value:v._parse(new Dr(y,j,y.path,[w,"value"]))}));if(y.common.async){const A=new Map;return Promise.resolve().then(async()=>{for(const j of _){const w=await j.key,X=await j.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&h.dirty(),A.set(w.value,X.value)}return{status:h.value,value:A}})}else{const A=new Map;for(const j of _){const w=j.key,X=j.value;if(w.status==="aborted"||X.status==="aborted")return nt;(w.status==="dirty"||X.status==="dirty")&&h.dirty(),A.set(w.value,X.value)}return{status:h.value,value:A}}}}$1.create=(d,s,h)=>new $1({valueType:s,keyType:d,typeName:lt.ZodMap,...Et(h)});class Sm extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.parsedType!==je.set)return we(y,{code:ye.invalid_type,expected:je.set,received:y.parsedType}),nt;const g=this._def;g.minSize!==null&&y.data.size<g.minSize.value&&(we(y,{code:ye.too_small,minimum:g.minSize.value,type:"set",inclusive:!0,exact:!1,message:g.minSize.message}),h.dirty()),g.maxSize!==null&&y.data.size>g.maxSize.value&&(we(y,{code:ye.too_big,maximum:g.maxSize.value,type:"set",inclusive:!0,exact:!1,message:g.maxSize.message}),h.dirty());const v=this._def.valueType;function _(j){const w=new Set;for(const X of j){if(X.status==="aborted")return nt;X.status==="dirty"&&h.dirty(),w.add(X.value)}return{status:h.value,value:w}}const A=[...y.data.values()].map((j,w)=>v._parse(new Dr(y,j,y.path,w)));return y.common.async?Promise.all(A).then(j=>_(j)):_(A)}min(s,h){return new Sm({...this._def,minSize:{value:s,message:Ve.toString(h)}})}max(s,h){return new Sm({...this._def,maxSize:{value:s,message:Ve.toString(h)}})}size(s,h){return this.min(s,h).max(s,h)}nonempty(s){return this.min(1,s)}}Sm.create=(d,s)=>new Sm({valueType:d,minSize:null,maxSize:null,typeName:lt.ZodSet,...Et(s)});class W1 extends jt{get schema(){return this._def.getter()}_parse(s){const{ctx:h}=this._processInputParams(s);return this._def.getter()._parse({data:h.data,path:h.path,parent:h})}}W1.create=(d,s)=>new W1({getter:d,typeName:lt.ZodLazy,...Et(s)});class F1 extends jt{_parse(s){if(s.data!==this._def.value){const h=this._getOrReturnCtx(s);return we(h,{received:h.data,code:ye.invalid_literal,expected:this._def.value}),nt}return{status:"valid",value:s.data}}get value(){return this._def.value}}F1.create=(d,s)=>new F1({value:d,typeName:lt.ZodLiteral,...Et(s)});function I1(d,s){return new Qf({values:d,typeName:lt.ZodEnum,...Et(s)})}class Qf extends jt{_parse(s){if(typeof s.data!="string"){const h=this._getOrReturnCtx(s),y=this._def.values;return we(h,{expected:Yt.joinValues(y),received:h.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(s.data)){const h=this._getOrReturnCtx(s),y=this._def.values;return we(h,{received:h.data,code:ye.invalid_enum_value,options:y}),nt}return hi(s.data)}get options(){return this._def.values}get enum(){const s={};for(const h of this._def.values)s[h]=h;return s}get Values(){const s={};for(const h of this._def.values)s[h]=h;return s}get Enum(){const s={};for(const h of this._def.values)s[h]=h;return s}extract(s,h=this._def){return Qf.create(s,{...this._def,...h})}exclude(s,h=this._def){return Qf.create(this.options.filter(y=>!s.includes(y)),{...this._def,...h})}}Qf.create=I1;class P1 extends jt{_parse(s){const h=Yt.getValidEnumValues(this._def.values),y=this._getOrReturnCtx(s);if(y.parsedType!==je.string&&y.parsedType!==je.number){const g=Yt.objectValues(h);return we(y,{expected:Yt.joinValues(g),received:y.parsedType,code:ye.invalid_type}),nt}if(this._cache||(this._cache=new Set(Yt.getValidEnumValues(this._def.values))),!this._cache.has(s.data)){const g=Yt.objectValues(h);return we(y,{received:y.data,code:ye.invalid_enum_value,options:g}),nt}return hi(s.data)}get enum(){return this._def.values}}P1.create=(d,s)=>new P1({values:d,typeName:lt.ZodNativeEnum,...Et(s)});class zg extends jt{unwrap(){return this._def.type}_parse(s){const{ctx:h}=this._processInputParams(s);if(h.parsedType!==je.promise&&h.common.async===!1)return we(h,{code:ye.invalid_type,expected:je.promise,received:h.parsedType}),nt;const y=h.parsedType===je.promise?h.data:Promise.resolve(h.data);return hi(y.then(g=>this._def.type.parseAsync(g,{path:h.path,errorMap:h.common.contextualErrorMap})))}}zg.create=(d,s)=>new zg({type:d,typeName:lt.ZodPromise,...Et(s)});class Kf extends jt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===lt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(s){const{status:h,ctx:y}=this._processInputParams(s),g=this._def.effect||null,v={addIssue:_=>{we(y,_),_.fatal?h.abort():h.dirty()},get path(){return y.path}};if(v.addIssue=v.addIssue.bind(v),g.type==="preprocess"){const _=g.transform(y.data,v);if(y.common.async)return Promise.resolve(_).then(async A=>{if(h.value==="aborted")return nt;const j=await this._def.schema._parseAsync({data:A,path:y.path,parent:y});return j.status==="aborted"?nt:j.status==="dirty"||h.value==="dirty"?gm(j.value):j});{if(h.value==="aborted")return nt;const A=this._def.schema._parseSync({data:_,path:y.path,parent:y});return A.status==="aborted"?nt:A.status==="dirty"||h.value==="dirty"?gm(A.value):A}}if(g.type==="refinement"){const _=A=>{const j=g.refinement(A,v);if(y.common.async)return Promise.resolve(j);if(j instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return A};if(y.common.async===!1){const A=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});return A.status==="aborted"?nt:(A.status==="dirty"&&h.dirty(),_(A.value),{status:h.value,value:A.value})}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(A=>A.status==="aborted"?nt:(A.status==="dirty"&&h.dirty(),_(A.value).then(()=>({status:h.value,value:A.value}))))}if(g.type==="transform")if(y.common.async===!1){const _=this._def.schema._parseSync({data:y.data,path:y.path,parent:y});if(!Zf(_))return nt;const A=g.transform(_.value,v);if(A instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:h.value,value:A}}else return this._def.schema._parseAsync({data:y.data,path:y.path,parent:y}).then(_=>Zf(_)?Promise.resolve(g.transform(_.value,v)).then(A=>({status:h.value,value:A})):nt);Yt.assertNever(g)}}Kf.create=(d,s,h)=>new Kf({schema:d,typeName:lt.ZodEffects,effect:s,...Et(h)}),Kf.createWithPreprocess=(d,s,h)=>new Kf({schema:s,effect:{type:"preprocess",transform:d},typeName:lt.ZodEffects,...Et(h)});class Ur extends jt{_parse(s){return this._getType(s)===je.undefined?hi(void 0):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Ur.create=(d,s)=>new Ur({innerType:d,typeName:lt.ZodOptional,...Et(s)});class Jf extends jt{_parse(s){return this._getType(s)===je.null?hi(null):this._def.innerType._parse(s)}unwrap(){return this._def.innerType}}Jf.create=(d,s)=>new Jf({innerType:d,typeName:lt.ZodNullable,...Et(s)});class Nv extends jt{_parse(s){const{ctx:h}=this._processInputParams(s);let y=h.data;return h.parsedType===je.undefined&&(y=this._def.defaultValue()),this._def.innerType._parse({data:y,path:h.path,parent:h})}removeDefault(){return this._def.innerType}}Nv.create=(d,s)=>new Nv({innerType:d,typeName:lt.ZodDefault,defaultValue:typeof s.default=="function"?s.default:()=>s.default,...Et(s)});class Hv extends jt{_parse(s){const{ctx:h}=this._processInputParams(s),y={...h,common:{...h.common,issues:[]}},g=this._def.innerType._parse({data:y.data,path:y.path,parent:{...y}});return wg(g)?g.then(v=>({status:"valid",value:v.status==="valid"?v.value:this._def.catchValue({get error(){return new wo(y.common.issues)},input:y.data})})):{status:"valid",value:g.status==="valid"?g.value:this._def.catchValue({get error(){return new wo(y.common.issues)},input:y.data})}}removeCatch(){return this._def.innerType}}Hv.create=(d,s)=>new Hv({innerType:d,typeName:lt.ZodCatch,catchValue:typeof s.catch=="function"?s.catch:()=>s.catch,...Et(s)});class eS extends jt{_parse(s){if(this._getType(s)!==je.nan){const y=this._getOrReturnCtx(s);return we(y,{code:ye.invalid_type,expected:je.nan,received:y.parsedType}),nt}return{status:"valid",value:s.data}}}eS.create=d=>new eS({typeName:lt.ZodNaN,...Et(d)});class DE extends jt{_parse(s){const{ctx:h}=this._processInputParams(s),y=h.data;return this._def.type._parse({data:y,path:h.path,parent:h})}unwrap(){return this._def.type}}class kv extends jt{_parse(s){const{status:h,ctx:y}=this._processInputParams(s);if(y.common.async)return(async()=>{const v=await this._def.in._parseAsync({data:y.data,path:y.path,parent:y});return v.status==="aborted"?nt:v.status==="dirty"?(h.dirty(),gm(v.value)):this._def.out._parseAsync({data:v.value,path:y.path,parent:y})})();{const g=this._def.in._parseSync({data:y.data,path:y.path,parent:y});return g.status==="aborted"?nt:g.status==="dirty"?(h.dirty(),{status:"dirty",value:g.value}):this._def.out._parseSync({data:g.value,path:y.path,parent:y})}}static create(s,h){return new kv({in:s,out:h,typeName:lt.ZodPipeline})}}class jv extends jt{_parse(s){const h=this._def.innerType._parse(s),y=g=>(Zf(g)&&(g.value=Object.freeze(g.value)),g);return wg(h)?h.then(g=>y(g)):y(h)}unwrap(){return this._def.innerType}}jv.create=(d,s)=>new jv({innerType:d,typeName:lt.ZodReadonly,...Et(s)});var lt;(function(d){d.ZodString="ZodString",d.ZodNumber="ZodNumber",d.ZodNaN="ZodNaN",d.ZodBigInt="ZodBigInt",d.ZodBoolean="ZodBoolean",d.ZodDate="ZodDate",d.ZodSymbol="ZodSymbol",d.ZodUndefined="ZodUndefined",d.ZodNull="ZodNull",d.ZodAny="ZodAny",d.ZodUnknown="ZodUnknown",d.ZodNever="ZodNever",d.ZodVoid="ZodVoid",d.ZodArray="ZodArray",d.ZodObject="ZodObject",d.ZodUnion="ZodUnion",d.ZodDiscriminatedUnion="ZodDiscriminatedUnion",d.ZodIntersection="ZodIntersection",d.ZodTuple="ZodTuple",d.ZodRecord="ZodRecord",d.ZodMap="ZodMap",d.ZodSet="ZodSet",d.ZodFunction="ZodFunction",d.ZodLazy="ZodLazy",d.ZodLiteral="ZodLiteral",d.ZodEnum="ZodEnum",d.ZodEffects="ZodEffects",d.ZodNativeEnum="ZodNativeEnum",d.ZodOptional="ZodOptional",d.ZodNullable="ZodNullable",d.ZodDefault="ZodDefault",d.ZodCatch="ZodCatch",d.ZodPromise="ZodPromise",d.ZodBranded="ZodBranded",d.ZodPipeline="ZodPipeline",d.ZodReadonly="ZodReadonly"})(lt||(lt={}));const tS=Mr.create;Cr.create,Uu.create;const ME=qa.create;Rg.create,Og.create,ls.create,Qf.create,zg.create,Ur.create,Jf.create;const CE=ME({securityNumber:tS({required_error:"CPF é obrigatório."}).refine(d=>d.replace(/\D/g,"").length>=11,"CPF deve conter no mínimo 11 caracteres.").refine(d=>{const s=d.replace(/\D/g,"");return!!Number(s)},"CPF deve conter apenas números."),coupon:tS({required_error:"Cupom / ID do Cartão obrigatório."}).optional()}),UE=d=>{const s=d.replace(/\D/g,"");if(s.length<=11)return s.replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d+?$/,"$1")};var Tm=d=>d.type==="checkbox",is=d=>d instanceof Date,Pn=d=>d==null;const aS=d=>typeof d=="object";var Ca=d=>!Pn(d)&&!Array.isArray(d)&&aS(d)&&!is(d),NE=d=>Ca(d)&&d.target?Tm(d.target)?d.target.checked:d.target.value:d,HE=d=>d.substring(0,d.search(/\.\d+(\.|$)/))||d,kE=(d,s)=>d.has(HE(s)),jE=d=>{const s=d.constructor&&d.constructor.prototype;return Ca(s)&&s.hasOwnProperty("isPrototypeOf")},Bv=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function bn(d){let s;const h=Array.isArray(d),y=typeof FileList<"u"?d instanceof FileList:!1;if(d instanceof Date)s=new Date(d);else if(d instanceof Set)s=new Set(d);else if(!(Bv&&(d instanceof Blob||y))&&(h||Ca(d)))if(s=h?[]:{},!h&&!jE(d))s=d;else for(const g in d)d.hasOwnProperty(g)&&(s[g]=bn(d[g]));else return d;return s}var Dg=d=>/^\w*$/.test(d),Ua=d=>d===void 0,Vv=d=>Array.isArray(d)?d.filter(Boolean):[],Lv=d=>Vv(d.replace(/["|']|\]/g,"").split(/\.|\[/)),Ce=(d,s,h)=>{if(!s||!Ca(d))return h;const y=(Dg(s)?[s]:Lv(s)).reduce((g,v)=>Pn(g)?g:g[v],d);return Ua(y)||y===d?Ua(d[s])?h:d[s]:y},Nu=d=>typeof d=="boolean",ta=(d,s,h)=>{let y=-1;const g=Dg(s)?[s]:Lv(s),v=g.length,_=v-1;for(;++y<v;){const A=g[y];let j=h;if(y!==_){const w=d[A];j=Ca(w)||Array.isArray(w)?w:isNaN(+g[y+1])?{}:[]}if(A==="__proto__"||A==="constructor"||A==="prototype")return;d[A]=j,d=d[A]}};const nS={BLUR:"blur",FOCUS_OUT:"focusout"},Ki={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ao={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},BE=jl.createContext(null);BE.displayName="HookFormContext";var VE=(d,s,h,y=!0)=>{const g={defaultValues:s._defaultValues};for(const v in d)Object.defineProperty(g,v,{get:()=>{const _=v;return s._proxyFormState[_]!==Ki.all&&(s._proxyFormState[_]=!y||Ki.all),d[_]}});return g};const LE=typeof window<"u"?Ma.useLayoutEffect:Ma.useEffect;var Hu=d=>typeof d=="string",qE=(d,s,h,y,g)=>Hu(d)?(y&&s.watch.add(d),Ce(h,d,g)):Array.isArray(d)?d.map(v=>(y&&s.watch.add(v),Ce(h,v))):(y&&(s.watchAll=!0),h),qv=(d,s,h,y,g)=>s?{...h[d],types:{...h[d]&&h[d].types?h[d].types:{},[y]:g||!0}}:{},xm=d=>Array.isArray(d)?d:[d],lS=()=>{let d=[];return{get observers(){return d},next:g=>{for(const v of d)v.next&&v.next(g)},subscribe:g=>(d.push(g),{unsubscribe:()=>{d=d.filter(v=>v!==g)}}),unsubscribe:()=>{d=[]}}},Yv=d=>Pn(d)||!aS(d);function Nr(d,s,h=new WeakSet){if(Yv(d)||Yv(s))return d===s;if(is(d)&&is(s))return d.getTime()===s.getTime();const y=Object.keys(d),g=Object.keys(s);if(y.length!==g.length)return!1;if(h.has(d)||h.has(s))return!0;h.add(d),h.add(s);for(const v of y){const _=d[v];if(!g.includes(v))return!1;if(v!=="ref"){const A=s[v];if(is(_)&&is(A)||Ca(_)&&Ca(A)||Array.isArray(_)&&Array.isArray(A)?!Nr(_,A,h):_!==A)return!1}}return!0}var vl=d=>Ca(d)&&!Object.keys(d).length,Gv=d=>d.type==="file",Ji=d=>typeof d=="function",Mg=d=>{if(!Bv)return!1;const s=d?d.ownerDocument:0;return d instanceof(s&&s.defaultView?s.defaultView.HTMLElement:HTMLElement)},iS=d=>d.type==="select-multiple",Zv=d=>d.type==="radio",YE=d=>Zv(d)||Tm(d),Xv=d=>Mg(d)&&d.isConnected;function GE(d,s){const h=s.slice(0,-1).length;let y=0;for(;y<h;)d=Ua(d)?y++:d[s[y++]];return d}function ZE(d){for(const s in d)if(d.hasOwnProperty(s)&&!Ua(d[s]))return!1;return!0}function Ya(d,s){const h=Array.isArray(s)?s:Dg(s)?[s]:Lv(s),y=h.length===1?d:GE(d,h),g=h.length-1,v=h[g];return y&&delete y[v],g!==0&&(Ca(y)&&vl(y)||Array.isArray(y)&&ZE(y))&&Ya(d,h.slice(0,-1)),d}var uS=d=>{for(const s in d)if(Ji(d[s]))return!0;return!1};function Cg(d,s={}){const h=Array.isArray(d);if(Ca(d)||h)for(const y in d)Array.isArray(d[y])||Ca(d[y])&&!uS(d[y])?(s[y]=Array.isArray(d[y])?[]:{},Cg(d[y],s[y])):Pn(d[y])||(s[y]=!0);return s}function oS(d,s,h){const y=Array.isArray(d);if(Ca(d)||y)for(const g in d)Array.isArray(d[g])||Ca(d[g])&&!uS(d[g])?Ua(s)||Yv(h[g])?h[g]=Array.isArray(d[g])?Cg(d[g],[]):{...Cg(d[g])}:oS(d[g],Pn(s)?{}:s[g],h[g]):h[g]=!Nr(d[g],s[g]);return h}var Em=(d,s)=>oS(d,s,Cg(s));const rS={value:!1,isValid:!1},cS={value:!0,isValid:!0};var sS=d=>{if(Array.isArray(d)){if(d.length>1){const s=d.filter(h=>h&&h.checked&&!h.disabled).map(h=>h.value);return{value:s,isValid:!!s.length}}return d[0].checked&&!d[0].disabled?d[0].attributes&&!Ua(d[0].attributes.value)?Ua(d[0].value)||d[0].value===""?cS:{value:d[0].value,isValid:!0}:cS:rS}return rS},fS=(d,{valueAsNumber:s,valueAsDate:h,setValueAs:y})=>Ua(d)?d:s?d===""?NaN:d&&+d:h&&Hu(d)?new Date(d):y?y(d):d;const dS={isValid:!1,value:null};var hS=d=>Array.isArray(d)?d.reduce((s,h)=>h&&h.checked&&!h.disabled?{isValid:!0,value:h.value}:s,dS):dS;function mS(d){const s=d.ref;return Gv(s)?s.files:Zv(s)?hS(d.refs).value:iS(s)?[...s.selectedOptions].map(({value:h})=>h):Tm(s)?sS(d.refs).value:fS(Ua(s.value)?d.ref.value:s.value,d)}var XE=(d,s,h,y)=>{const g={};for(const v of d){const _=Ce(s,v);_&&ta(g,v,_._f)}return{criteriaMode:h,names:[...d],fields:g,shouldUseNativeValidation:y}},Ug=d=>d instanceof RegExp,_m=d=>Ua(d)?d:Ug(d)?d.source:Ca(d)?Ug(d.value)?d.value.source:d.value:d,yS=d=>({isOnSubmit:!d||d===Ki.onSubmit,isOnBlur:d===Ki.onBlur,isOnChange:d===Ki.onChange,isOnAll:d===Ki.all,isOnTouch:d===Ki.onTouched});const pS="AsyncFunction";var QE=d=>!!d&&!!d.validate&&!!(Ji(d.validate)&&d.validate.constructor.name===pS||Ca(d.validate)&&Object.values(d.validate).find(s=>s.constructor.name===pS)),KE=d=>d.mount&&(d.required||d.min||d.max||d.maxLength||d.minLength||d.pattern||d.validate),gS=(d,s,h)=>!h&&(s.watchAll||s.watch.has(d)||[...s.watch].some(y=>d.startsWith(y)&&/^\.\w+/.test(d.slice(y.length))));const wm=(d,s,h,y)=>{for(const g of h||Object.keys(d)){const v=Ce(d,g);if(v){const{_f:_,...A}=v;if(_){if(_.refs&&_.refs[0]&&s(_.refs[0],g)&&!y)return!0;if(_.ref&&s(_.ref,_.name)&&!y)return!0;if(wm(A,s))break}else if(Ca(A)&&wm(A,s))break}}};function vS(d,s,h){const y=Ce(d,h);if(y||Dg(h))return{error:y,name:h};const g=h.split(".");for(;g.length;){const v=g.join("."),_=Ce(s,v),A=Ce(d,v);if(_&&!Array.isArray(_)&&h!==v)return{name:h};if(A&&A.type)return{name:v,error:A};if(A&&A.root&&A.root.type)return{name:`${v}.root`,error:A.root};g.pop()}return{name:h}}var JE=(d,s,h,y)=>{h(d);const{name:g,...v}=d;return vl(v)||Object.keys(v).length>=Object.keys(s).length||Object.keys(v).find(_=>s[_]===(!y||Ki.all))},$E=(d,s,h)=>!d||!s||d===s||xm(d).some(y=>y&&(h?y===s:y.startsWith(s)||s.startsWith(y))),WE=(d,s,h,y,g)=>g.isOnAll?!1:!h&&g.isOnTouch?!(s||d):(h?y.isOnBlur:g.isOnBlur)?!d:(h?y.isOnChange:g.isOnChange)?d:!0,FE=(d,s)=>!Vv(Ce(d,s)).length&&Ya(d,s),IE=(d,s,h)=>{const y=xm(Ce(d,h));return ta(y,"root",s[h]),ta(d,h,y),d},Ng=d=>Hu(d);function bS(d,s,h="validate"){if(Ng(d)||Array.isArray(d)&&d.every(Ng)||Nu(d)&&!d)return{type:h,message:Ng(d)?d:"",ref:s}}var $f=d=>Ca(d)&&!Ug(d)?d:{value:d,message:""},SS=async(d,s,h,y,g,v)=>{const{ref:_,refs:A,required:j,maxLength:w,minLength:X,min:se,max:Y,pattern:L,validate:de,name:Be,valueAsNumber:Xe,mount:Fe}=d._f,_e=Ce(h,Be);if(!Fe||s.has(Be))return{};const Rt=A?A[0]:_,vt=fe=>{g&&Rt.reportValidity&&(Rt.setCustomValidity(Nu(fe)?"":fe||""),Rt.reportValidity())},He={},Qt=Zv(_),_t=Tm(_),it=Qt||_t,wt=(Xe||Gv(_))&&Ua(_.value)&&Ua(_e)||Mg(_)&&_.value===""||_e===""||Array.isArray(_e)&&!_e.length,Ae=qv.bind(null,Be,y,He),ht=(fe,Re,Ke,Je=Ao.maxLength,W=Ao.minLength)=>{const Z=fe?Re:Ke;He[Be]={type:fe?Je:W,message:Z,ref:_,...Ae(fe?Je:W,Z)}};if(v?!Array.isArray(_e)||!_e.length:j&&(!it&&(wt||Pn(_e))||Nu(_e)&&!_e||_t&&!sS(A).isValid||Qt&&!hS(A).isValid)){const{value:fe,message:Re}=Ng(j)?{value:!!j,message:j}:$f(j);if(fe&&(He[Be]={type:Ao.required,message:Re,ref:Rt,...Ae(Ao.required,Re)},!y))return vt(Re),He}if(!wt&&(!Pn(se)||!Pn(Y))){let fe,Re;const Ke=$f(Y),Je=$f(se);if(!Pn(_e)&&!isNaN(_e)){const W=_.valueAsNumber||_e&&+_e;Pn(Ke.value)||(fe=W>Ke.value),Pn(Je.value)||(Re=W<Je.value)}else{const W=_.valueAsDate||new Date(_e),Z=O=>new Date(new Date().toDateString()+" "+O),re=_.type=="time",ve=_.type=="week";Hu(Ke.value)&&_e&&(fe=re?Z(_e)>Z(Ke.value):ve?_e>Ke.value:W>new Date(Ke.value)),Hu(Je.value)&&_e&&(Re=re?Z(_e)<Z(Je.value):ve?_e<Je.value:W<new Date(Je.value))}if((fe||Re)&&(ht(!!fe,Ke.message,Je.message,Ao.max,Ao.min),!y))return vt(He[Be].message),He}if((w||X)&&!wt&&(Hu(_e)||v&&Array.isArray(_e))){const fe=$f(w),Re=$f(X),Ke=!Pn(fe.value)&&_e.length>+fe.value,Je=!Pn(Re.value)&&_e.length<+Re.value;if((Ke||Je)&&(ht(Ke,fe.message,Re.message),!y))return vt(He[Be].message),He}if(L&&!wt&&Hu(_e)){const{value:fe,message:Re}=$f(L);if(Ug(fe)&&!_e.match(fe)&&(He[Be]={type:Ao.pattern,message:Re,ref:_,...Ae(Ao.pattern,Re)},!y))return vt(Re),He}if(de){if(Ji(de)){const fe=await de(_e,h),Re=bS(fe,Rt);if(Re&&(He[Be]={...Re,...Ae(Ao.validate,Re.message)},!y))return vt(Re.message),He}else if(Ca(de)){let fe={};for(const Re in de){if(!vl(fe)&&!y)break;const Ke=bS(await de[Re](_e,h),Rt,Re);Ke&&(fe={...Ke,...Ae(Re,Ke.message)},vt(Ke.message),y&&(He[Be]=fe))}if(!vl(fe)&&(He[Be]={ref:Rt,...fe},!y))return He}}return vt(!0),He};const PE={mode:Ki.onSubmit,reValidateMode:Ki.onChange,shouldFocusError:!0};function e_(d={}){let s={...PE,...d},h={submitCount:0,isDirty:!1,isReady:!1,isLoading:Ji(s.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:s.errors||{},disabled:s.disabled||!1};const y={};let g=Ca(s.defaultValues)||Ca(s.values)?bn(s.defaultValues||s.values)||{}:{},v=s.shouldUnregister?{}:bn(g),_={action:!1,mount:!1,watch:!1},A={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},j,w=0;const X={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let se={...X};const Y={array:lS(),state:lS()},L=s.criteriaMode===Ki.all,de=U=>k=>{clearTimeout(w),w=setTimeout(U,k)},Be=async U=>{if(!s.disabled&&(X.isValid||se.isValid||U)){const k=s.resolver?vl((await _t()).errors):await wt(y,!0);k!==h.isValid&&Y.state.next({isValid:k})}},Xe=(U,k)=>{!s.disabled&&(X.isValidating||X.validatingFields||se.isValidating||se.validatingFields)&&((U||Array.from(A.mount)).forEach(ne=>{ne&&(k?ta(h.validatingFields,ne,k):Ya(h.validatingFields,ne))}),Y.state.next({validatingFields:h.validatingFields,isValidating:!vl(h.validatingFields)}))},Fe=(U,k=[],ne,xe,pe=!0,me=!0)=>{if(xe&&ne&&!s.disabled){if(_.action=!0,me&&Array.isArray(Ce(y,U))){const ze=ne(Ce(y,U),xe.argA,xe.argB);pe&&ta(y,U,ze)}if(me&&Array.isArray(Ce(h.errors,U))){const ze=ne(Ce(h.errors,U),xe.argA,xe.argB);pe&&ta(h.errors,U,ze),FE(h.errors,U)}if((X.touchedFields||se.touchedFields)&&me&&Array.isArray(Ce(h.touchedFields,U))){const ze=ne(Ce(h.touchedFields,U),xe.argA,xe.argB);pe&&ta(h.touchedFields,U,ze)}(X.dirtyFields||se.dirtyFields)&&(h.dirtyFields=Em(g,v)),Y.state.next({name:U,isDirty:ht(U,k),dirtyFields:h.dirtyFields,errors:h.errors,isValid:h.isValid})}else ta(v,U,k)},_e=(U,k)=>{ta(h.errors,U,k),Y.state.next({errors:h.errors})},Rt=U=>{h.errors=U,Y.state.next({errors:h.errors,isValid:!1})},vt=(U,k,ne,xe)=>{const pe=Ce(y,U);if(pe){const me=Ce(v,U,Ua(ne)?Ce(g,U):ne);Ua(me)||xe&&xe.defaultChecked||k?ta(v,U,k?me:mS(pe._f)):Ke(U,me),_.mount&&Be()}},He=(U,k,ne,xe,pe)=>{let me=!1,ze=!1;const Qe={name:U};if(!s.disabled){if(!ne||xe){(X.isDirty||se.isDirty)&&(ze=h.isDirty,h.isDirty=Qe.isDirty=ht(),me=ze!==Qe.isDirty);const pt=Nr(Ce(g,U),k);ze=!!Ce(h.dirtyFields,U),pt?Ya(h.dirtyFields,U):ta(h.dirtyFields,U,!0),Qe.dirtyFields=h.dirtyFields,me=me||(X.dirtyFields||se.dirtyFields)&&ze!==!pt}if(ne){const pt=Ce(h.touchedFields,U);pt||(ta(h.touchedFields,U,ne),Qe.touchedFields=h.touchedFields,me=me||(X.touchedFields||se.touchedFields)&&pt!==ne)}me&&pe&&Y.state.next(Qe)}return me?Qe:{}},Qt=(U,k,ne,xe)=>{const pe=Ce(h.errors,U),me=(X.isValid||se.isValid)&&Nu(k)&&h.isValid!==k;if(s.delayError&&ne?(j=de(()=>_e(U,ne)),j(s.delayError)):(clearTimeout(w),j=null,ne?ta(h.errors,U,ne):Ya(h.errors,U)),(ne?!Nr(pe,ne):pe)||!vl(xe)||me){const ze={...xe,...me&&Nu(k)?{isValid:k}:{},errors:h.errors,name:U};h={...h,...ze},Y.state.next(ze)}},_t=async U=>{Xe(U,!0);const k=await s.resolver(v,s.context,XE(U||A.mount,y,s.criteriaMode,s.shouldUseNativeValidation));return Xe(U),k},it=async U=>{const{errors:k}=await _t(U);if(U)for(const ne of U){const xe=Ce(k,ne);xe?ta(h.errors,ne,xe):Ya(h.errors,ne)}else h.errors=k;return k},wt=async(U,k,ne={valid:!0})=>{for(const xe in U){const pe=U[xe];if(pe){const{_f:me,...ze}=pe;if(me){const Qe=A.array.has(me.name),pt=pe._f&&QE(pe._f);pt&&X.validatingFields&&Xe([xe],!0);const Gt=await SS(pe,A.disabled,v,L,s.shouldUseNativeValidation&&!k,Qe);if(pt&&X.validatingFields&&Xe([xe]),Gt[me.name]&&(ne.valid=!1,k))break;!k&&(Ce(Gt,me.name)?Qe?IE(h.errors,Gt,me.name):ta(h.errors,me.name,Gt[me.name]):Ya(h.errors,me.name))}!vl(ze)&&await wt(ze,k,ne)}}return ne.valid},Ae=()=>{for(const U of A.unMount){const k=Ce(y,U);k&&(k._f.refs?k._f.refs.every(ne=>!Xv(ne)):!Xv(k._f.ref))&&$e(U)}A.unMount=new Set},ht=(U,k)=>!s.disabled&&(U&&k&&ta(v,U,k),!Nr(O(),g)),fe=(U,k,ne)=>qE(U,A,{..._.mount?v:Ua(k)?g:Hu(U)?{[U]:k}:k},ne,k),Re=U=>Vv(Ce(_.mount?v:g,U,s.shouldUnregister?Ce(g,U,[]):[])),Ke=(U,k,ne={})=>{const xe=Ce(y,U);let pe=k;if(xe){const me=xe._f;me&&(!me.disabled&&ta(v,U,fS(k,me)),pe=Mg(me.ref)&&Pn(k)?"":k,iS(me.ref)?[...me.ref.options].forEach(ze=>ze.selected=pe.includes(ze.value)):me.refs?Tm(me.ref)?me.refs.forEach(ze=>{(!ze.defaultChecked||!ze.disabled)&&(Array.isArray(pe)?ze.checked=!!pe.find(Qe=>Qe===ze.value):ze.checked=pe===ze.value||!!pe)}):me.refs.forEach(ze=>ze.checked=ze.value===pe):Gv(me.ref)?me.ref.value="":(me.ref.value=pe,me.ref.type||Y.state.next({name:U,values:bn(v)})))}(ne.shouldDirty||ne.shouldTouch)&&He(U,pe,ne.shouldTouch,ne.shouldDirty,!0),ne.shouldValidate&&ve(U)},Je=(U,k,ne)=>{for(const xe in k){if(!k.hasOwnProperty(xe))return;const pe=k[xe],me=U+"."+xe,ze=Ce(y,me);(A.array.has(U)||Ca(pe)||ze&&!ze._f)&&!is(pe)?Je(me,pe,ne):Ke(me,pe,ne)}},W=(U,k,ne={})=>{const xe=Ce(y,U),pe=A.array.has(U),me=bn(k);ta(v,U,me),pe?(Y.array.next({name:U,values:bn(v)}),(X.isDirty||X.dirtyFields||se.isDirty||se.dirtyFields)&&ne.shouldDirty&&Y.state.next({name:U,dirtyFields:Em(g,v),isDirty:ht(U,me)})):xe&&!xe._f&&!Pn(me)?Je(U,me,ne):Ke(U,me,ne),gS(U,A)&&Y.state.next({...h}),Y.state.next({name:_.mount?U:void 0,values:bn(v)})},Z=async U=>{_.mount=!0;const k=U.target;let ne=k.name,xe=!0;const pe=Ce(y,ne),me=pt=>{xe=Number.isNaN(pt)||is(pt)&&isNaN(pt.getTime())||Nr(pt,Ce(v,ne,pt))},ze=yS(s.mode),Qe=yS(s.reValidateMode);if(pe){let pt,Gt;const yi=k.type?mS(pe._f):NE(U),Sn=U.type===nS.BLUR||U.type===nS.FOCUS_OUT,zo=!KE(pe._f)&&!s.resolver&&!Ce(h.errors,ne)&&!pe._f.deps||WE(Sn,Ce(h.touchedFields,ne),h.isSubmitted,Qe,ze),tl=gS(ne,A,Sn);ta(v,ne,yi),Sn?(pe._f.onBlur&&pe._f.onBlur(U),j&&j(0)):pe._f.onChange&&pe._f.onChange(U);const Tn=He(ne,yi,Sn),Na=!vl(Tn)||tl;if(!Sn&&Y.state.next({name:ne,type:U.type,values:bn(v)}),zo)return(X.isValid||se.isValid)&&(s.mode==="onBlur"?Sn&&Be():Sn||Be()),Na&&Y.state.next({name:ne,...tl?{}:Tn});if(!Sn&&tl&&Y.state.next({...h}),s.resolver){const{errors:Pa}=await _t([ne]);if(me(yi),xe){const Cn=vS(h.errors,y,ne),x=vS(Pa,y,Cn.name||ne);pt=x.error,ne=x.name,Gt=vl(Pa)}}else Xe([ne],!0),pt=(await SS(pe,A.disabled,v,L,s.shouldUseNativeValidation))[ne],Xe([ne]),me(yi),xe&&(pt?Gt=!1:(X.isValid||se.isValid)&&(Gt=await wt(y,!0)));xe&&(pe._f.deps&&ve(pe._f.deps),Qt(ne,Gt,pt,Tn))}},re=(U,k)=>{if(Ce(h.errors,k)&&U.focus)return U.focus(),1},ve=async(U,k={})=>{let ne,xe;const pe=xm(U);if(s.resolver){const me=await it(Ua(U)?U:pe);ne=vl(me),xe=U?!pe.some(ze=>Ce(me,ze)):ne}else U?(xe=(await Promise.all(pe.map(async me=>{const ze=Ce(y,me);return await wt(ze&&ze._f?{[me]:ze}:ze)}))).every(Boolean),!(!xe&&!h.isValid)&&Be()):xe=ne=await wt(y);return Y.state.next({...!Hu(U)||(X.isValid||se.isValid)&&ne!==h.isValid?{}:{name:U},...s.resolver||!U?{isValid:ne}:{},errors:h.errors}),k.shouldFocus&&!xe&&wm(y,re,U?pe:A.mount),xe},O=U=>{const k={..._.mount?v:g};return Ua(U)?k:Hu(U)?Ce(k,U):U.map(ne=>Ce(k,ne))},C=(U,k)=>({invalid:!!Ce((k||h).errors,U),isDirty:!!Ce((k||h).dirtyFields,U),error:Ce((k||h).errors,U),isValidating:!!Ce(h.validatingFields,U),isTouched:!!Ce((k||h).touchedFields,U)}),ie=U=>{U&&xm(U).forEach(k=>Ya(h.errors,k)),Y.state.next({errors:U?h.errors:{}})},ee=(U,k,ne)=>{const xe=(Ce(y,U,{_f:{}})._f||{}).ref,pe=Ce(h.errors,U)||{},{ref:me,message:ze,type:Qe,...pt}=pe;ta(h.errors,U,{...pt,...k,ref:xe}),Y.state.next({name:U,errors:h.errors,isValid:!1}),ne&&ne.shouldFocus&&xe&&xe.focus&&xe.focus()},Te=(U,k)=>Ji(U)?Y.state.subscribe({next:ne=>U(fe(void 0,k),ne)}):fe(U,k,!0),Le=U=>Y.state.subscribe({next:k=>{$E(U.name,k.name,U.exact)&&JE(k,U.formState||X,Bt,U.reRenderRoot)&&U.callback({values:{...v},...h,...k})}}).unsubscribe,De=U=>(_.mount=!0,se={...se,...U.formState},Le({...U,formState:se})),$e=(U,k={})=>{for(const ne of U?xm(U):A.mount)A.mount.delete(ne),A.array.delete(ne),k.keepValue||(Ya(y,ne),Ya(v,ne)),!k.keepError&&Ya(h.errors,ne),!k.keepDirty&&Ya(h.dirtyFields,ne),!k.keepTouched&&Ya(h.touchedFields,ne),!k.keepIsValidating&&Ya(h.validatingFields,ne),!s.shouldUnregister&&!k.keepDefaultValue&&Ya(g,ne);Y.state.next({values:bn(v)}),Y.state.next({...h,...k.keepDirty?{isDirty:ht()}:{}}),!k.keepIsValid&&Be()},Ct=({disabled:U,name:k})=>{(Nu(U)&&_.mount||U||A.disabled.has(k))&&(U?A.disabled.add(k):A.disabled.delete(k))},Dt=(U,k={})=>{let ne=Ce(y,U);const xe=Nu(k.disabled)||Nu(s.disabled);return ta(y,U,{...ne||{},_f:{...ne&&ne._f?ne._f:{ref:{name:U}},name:U,mount:!0,...k}}),A.mount.add(U),ne?Ct({disabled:Nu(k.disabled)?k.disabled:s.disabled,name:U}):vt(U,!0,k.value),{...xe?{disabled:k.disabled||s.disabled}:{},...s.progressive?{required:!!k.required,min:_m(k.min),max:_m(k.max),minLength:_m(k.minLength),maxLength:_m(k.maxLength),pattern:_m(k.pattern)}:{},name:U,onChange:Z,onBlur:Z,ref:pe=>{if(pe){Dt(U,k),ne=Ce(y,U);const me=Ua(pe.value)&&pe.querySelectorAll&&pe.querySelectorAll("input,select,textarea")[0]||pe,ze=YE(me),Qe=ne._f.refs||[];if(ze?Qe.find(pt=>pt===me):me===ne._f.ref)return;ta(y,U,{_f:{...ne._f,...ze?{refs:[...Qe.filter(Xv),me,...Array.isArray(Ce(g,U))?[{}]:[]],ref:{type:me.type,name:U}}:{ref:me}}}),vt(U,!1,void 0,me)}else ne=Ce(y,U,{}),ne._f&&(ne._f.mount=!1),(s.shouldUnregister||k.shouldUnregister)&&!(kE(A.array,U)&&_.action)&&A.unMount.add(U)}}},ha=()=>s.shouldFocusError&&wm(y,re,A.mount),Ia=U=>{Nu(U)&&(Y.state.next({disabled:U}),wm(y,(k,ne)=>{const xe=Ce(y,ne);xe&&(k.disabled=xe._f.disabled||U,Array.isArray(xe._f.refs)&&xe._f.refs.forEach(pe=>{pe.disabled=xe._f.disabled||U}))},0,!1))},bl=(U,k)=>async ne=>{let xe;ne&&(ne.preventDefault&&ne.preventDefault(),ne.persist&&ne.persist());let pe=bn(v);if(Y.state.next({isSubmitting:!0}),s.resolver){const{errors:me,values:ze}=await _t();h.errors=me,pe=bn(ze)}else await wt(y);if(A.disabled.size)for(const me of A.disabled)Ya(pe,me);if(Ya(h.errors,"root"),vl(h.errors)){Y.state.next({errors:{}});try{await U(pe,ne)}catch(me){xe=me}}else k&&await k({...h.errors},ne),ha(),setTimeout(ha);if(Y.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vl(h.errors)&&!xe,submitCount:h.submitCount+1,errors:h.errors}),xe)throw xe},$i=(U,k={})=>{Ce(y,U)&&(Ua(k.defaultValue)?W(U,bn(Ce(g,U))):(W(U,k.defaultValue),ta(g,U,bn(k.defaultValue))),k.keepTouched||Ya(h.touchedFields,U),k.keepDirty||(Ya(h.dirtyFields,U),h.isDirty=k.defaultValue?ht(U,bn(Ce(g,U))):ht()),k.keepError||(Ya(h.errors,U),X.isValid&&Be()),Y.state.next({...h}))},el=(U,k={})=>{const ne=U?bn(U):g,xe=bn(ne),pe=vl(U),me=pe?g:xe;if(k.keepDefaultValues||(g=ne),!k.keepValues){if(k.keepDirtyValues){const ze=new Set([...A.mount,...Object.keys(Em(g,v))]);for(const Qe of Array.from(ze))Ce(h.dirtyFields,Qe)?ta(me,Qe,Ce(v,Qe)):W(Qe,Ce(me,Qe))}else{if(Bv&&Ua(U))for(const ze of A.mount){const Qe=Ce(y,ze);if(Qe&&Qe._f){const pt=Array.isArray(Qe._f.refs)?Qe._f.refs[0]:Qe._f.ref;if(Mg(pt)){const Gt=pt.closest("form");if(Gt){Gt.reset();break}}}}for(const ze of A.mount){const Qe=Ce(me,ze,Ce(g,ze));Ua(Qe)||(ta(me,ze,Qe),W(ze,Ce(me,ze)))}}v=bn(me),Y.array.next({values:{...me}}),Y.state.next({values:{...me}})}A={mount:k.keepDirtyValues?A.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},_.mount=!X.isValid||!!k.keepIsValid||!!k.keepDirtyValues,_.watch=!!s.shouldUnregister,Y.state.next({submitCount:k.keepSubmitCount?h.submitCount:0,isDirty:pe?!1:k.keepDirty?h.isDirty:!!(k.keepDefaultValues&&!Nr(U,g)),isSubmitted:k.keepIsSubmitted?h.isSubmitted:!1,dirtyFields:pe?{}:k.keepDirtyValues?k.keepDefaultValues&&v?Em(g,v):h.dirtyFields:k.keepDefaultValues&&U?Em(g,U):k.keepDirty?h.dirtyFields:{},touchedFields:k.keepTouched?h.touchedFields:{},errors:k.keepErrors?h.errors:{},isSubmitSuccessful:k.keepIsSubmitSuccessful?h.isSubmitSuccessful:!1,isSubmitting:!1})},Ro=(U,k)=>el(Ji(U)?U(v):U,k),Oo=(U,k={})=>{const ne=Ce(y,U),xe=ne&&ne._f;if(xe){const pe=xe.refs?xe.refs[0]:xe.ref;pe.focus&&(pe.focus(),k.shouldSelect&&Ji(pe.select)&&pe.select())}},Bt=U=>{h={...h,...U}},Sl={control:{register:Dt,unregister:$e,getFieldState:C,handleSubmit:bl,setError:ee,_subscribe:Le,_runSchema:_t,_focusError:ha,_getWatch:fe,_getDirty:ht,_setValid:Be,_setFieldArray:Fe,_setDisabledField:Ct,_setErrors:Rt,_getFieldArray:Re,_reset:el,_resetDefaultValues:()=>Ji(s.defaultValues)&&s.defaultValues().then(U=>{Ro(U,s.resetOptions),Y.state.next({isLoading:!1})}),_removeUnmounted:Ae,_disableForm:Ia,_subjects:Y,_proxyFormState:X,get _fields(){return y},get _formValues(){return v},get _state(){return _},set _state(U){_=U},get _defaultValues(){return g},get _names(){return A},set _names(U){A=U},get _formState(){return h},get _options(){return s},set _options(U){s={...s,...U}}},subscribe:De,trigger:ve,register:Dt,handleSubmit:bl,watch:Te,setValue:W,getValues:O,reset:Ro,resetField:$i,clearErrors:ie,unregister:$e,setError:ee,setFocus:Oo,getFieldState:C};return{...Sl,formControl:Sl}}function t_(d={}){const s=jl.useRef(void 0),h=jl.useRef(void 0),[y,g]=jl.useState({isDirty:!1,isValidating:!1,isLoading:Ji(d.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:d.errors||{},disabled:d.disabled||!1,isReady:!1,defaultValues:Ji(d.defaultValues)?void 0:d.defaultValues});if(!s.current)if(d.formControl)s.current={...d.formControl,formState:y},d.defaultValues&&!Ji(d.defaultValues)&&d.formControl.reset(d.defaultValues,d.resetOptions);else{const{formControl:_,...A}=e_(d);s.current={...A,formState:y}}const v=s.current.control;return v._options=d,LE(()=>{const _=v._subscribe({formState:v._proxyFormState,callback:()=>g({...v._formState}),reRenderRoot:!0});return g(A=>({...A,isReady:!0})),v._formState.isReady=!0,_},[v]),jl.useEffect(()=>v._disableForm(d.disabled),[v,d.disabled]),jl.useEffect(()=>{d.mode&&(v._options.mode=d.mode),d.reValidateMode&&(v._options.reValidateMode=d.reValidateMode)},[v,d.mode,d.reValidateMode]),jl.useEffect(()=>{d.errors&&(v._setErrors(d.errors),v._focusError())},[v,d.errors]),jl.useEffect(()=>{d.shouldUnregister&&v._subjects.state.next({values:v._getWatch()})},[v,d.shouldUnregister]),jl.useEffect(()=>{if(v._proxyFormState.isDirty){const _=v._getDirty();_!==y.isDirty&&v._subjects.state.next({isDirty:_})}},[v,y.isDirty]),jl.useEffect(()=>{d.values&&!Nr(d.values,h.current)?(v._reset(d.values,v._options.resetOptions),h.current=d.values,g(_=>({..._}))):v._resetDefaultValues()},[v,d.values]),jl.useEffect(()=>{v._state.mount||(v._setValid(),v._state.mount=!0),v._state.watch&&(v._state.watch=!1,v._subjects.state.next({...v._formState})),v._removeUnmounted()}),s.current.formState=VE(y,v),s.current}const TS=(d,s,h)=>{if(d&&"reportValidity"in d){const y=Ce(h,s);d.setCustomValidity(y&&y.message||""),d.reportValidity()}},Qv=(d,s)=>{for(const h in s.fields){const y=s.fields[h];y&&y.ref&&"reportValidity"in y.ref?TS(y.ref,h,d):y&&y.refs&&y.refs.forEach(g=>TS(g,h,d))}},xS=(d,s)=>{s.shouldUseNativeValidation&&Qv(d,s);const h={};for(const y in d){const g=Ce(s.fields,y),v=Object.assign(d[y]||{},{ref:g&&g.ref});if(a_(s.names||Object.keys(d),y)){const _=Object.assign({},Ce(h,y));ta(_,"root",v),ta(h,y,_)}else ta(h,y,v)}return h},a_=(d,s)=>{const h=ES(s);return d.some(y=>ES(y).match(`^${h}\\.\\d+`))};function ES(d){return d.replace(/\]|\[/g,"")}function _S(d,s,h){function y(A,j){var w;Object.defineProperty(A,"_zod",{value:A._zod??{},enumerable:!1}),(w=A._zod).traits??(w.traits=new Set),A._zod.traits.add(d),s(A,j);for(const X in _.prototype)X in A||Object.defineProperty(A,X,{value:_.prototype[X].bind(A)});A._zod.constr=_,A._zod.def=j}const g=(h==null?void 0:h.Parent)??Object;class v extends g{}Object.defineProperty(v,"name",{value:d});function _(A){var j;const w=h!=null&&h.Parent?new v:this;y(w,A),(j=w._zod).deferred??(j.deferred=[]);for(const X of w._zod.deferred)X();return w}return Object.defineProperty(_,"init",{value:y}),Object.defineProperty(_,Symbol.hasInstance,{value:A=>{var j,w;return h!=null&&h.Parent&&A instanceof h.Parent?!0:(w=(j=A==null?void 0:A._zod)==null?void 0:j.traits)==null?void 0:w.has(d)}}),Object.defineProperty(_,"name",{value:d}),_}class n_ extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const l_={};function wS(d){return l_}function i_(d,s){return typeof s=="bigint"?s.toString():s}const AS=Error.captureStackTrace?Error.captureStackTrace:(...d)=>{};function Hg(d){return typeof d=="string"?d:d==null?void 0:d.message}function RS(d,s,h){var g,v,_,A,j,w;const y={...d,path:d.path??[]};if(!d.message){const X=Hg((_=(v=(g=d.inst)==null?void 0:g._zod.def)==null?void 0:v.error)==null?void 0:_.call(v,d))??Hg((A=s==null?void 0:s.error)==null?void 0:A.call(s,d))??Hg((j=h.customError)==null?void 0:j.call(h,d))??Hg((w=h.localeError)==null?void 0:w.call(h,d))??"Invalid input";y.message=X}return delete y.inst,delete y.continue,s!=null&&s.reportInput||delete y.input,y}const OS=(d,s)=>{d.name="$ZodError",Object.defineProperty(d,"_zod",{value:d._zod,enumerable:!1}),Object.defineProperty(d,"issues",{value:s,enumerable:!1}),Object.defineProperty(d,"message",{get(){return JSON.stringify(s,i_,2)},enumerable:!0})},u_=_S("$ZodError",OS),zS=_S("$ZodError",OS,{Parent:Error}),o_=(d=>(s,h,y,g)=>{const v=y?Object.assign(y,{async:!1}):{async:!1},_=s._zod.run({value:h,issues:[]},v);if(_ instanceof Promise)throw new n_;if(_.issues.length){const A=new((g==null?void 0:g.Err)??d)(_.issues.map(j=>RS(j,v,wS())));throw AS(A,g==null?void 0:g.callee),A}return _.value})(zS),r_=(d=>async(s,h,y,g)=>{const v=y?Object.assign(y,{async:!0}):{async:!0};let _=s._zod.run({value:h,issues:[]},v);if(_ instanceof Promise&&(_=await _),_.issues.length){const A=new((g==null?void 0:g.Err)??d)(_.issues.map(j=>RS(j,v,wS())));throw AS(A,g==null?void 0:g.callee),A}return _.value})(zS);function DS(d,s){try{var h=d()}catch(y){return s(y)}return h&&h.then?h.then(void 0,s):h}function c_(d,s){for(var h={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!h[_])if("unionErrors"in y){var A=y.unionErrors[0].errors[0];h[_]={message:A.message,type:A.code}}else h[_]={message:v,type:g};if("unionErrors"in y&&y.unionErrors.forEach(function(X){return X.errors.forEach(function(se){return d.push(se)})}),s){var j=h[_].types,w=j&&j[y.code];h[_]=qv(_,s,h,g,w?[].concat(w,y.message):y.message)}d.shift()}return h}function s_(d,s){for(var h={};d.length;){var y=d[0],g=y.code,v=y.message,_=y.path.join(".");if(!h[_])if(y.code==="invalid_union"){var A=y.errors[0][0];h[_]={message:A.message,type:A.code}}else h[_]={message:v,type:g};if(y.code==="invalid_union"&&y.errors.forEach(function(X){return X.forEach(function(se){return d.push(se)})}),s){var j=h[_].types,w=j&&j[y.code];h[_]=qv(_,s,h,g,w?[].concat(w,y.message):y.message)}d.shift()}return h}function f_(d,s,h){if(h===void 0&&(h={}),function(y){return"_def"in y&&typeof y._def=="object"&&"typeName"in y._def}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve(d[h.mode==="sync"?"parse":"parseAsync"](y,s)).then(function(_){return v.shouldUseNativeValidation&&Qv({},v),{errors:{},values:h.raw?Object.assign({},y):_}})},function(_){if(function(A){return Array.isArray(A==null?void 0:A.issues)}(_))return{values:{},errors:xS(c_(_.errors,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};if(function(y){return"_zod"in y&&typeof y._zod=="object"}(d))return function(y,g,v){try{return Promise.resolve(DS(function(){return Promise.resolve((h.mode==="sync"?o_:r_)(d,y,s)).then(function(_){return v.shouldUseNativeValidation&&Qv({},v),{errors:{},values:h.raw?Object.assign({},y):_}})},function(_){if(function(A){return A instanceof u_}(_))return{values:{},errors:xS(s_(_.issues,!v.shouldUseNativeValidation&&v.criteriaMode==="all"),v)};throw _}))}catch(_){return Promise.reject(_)}};throw new Error("Invalid input: not a Zod schema")}/**
|
|
325
325
|
* @license lucide-react v0.518.0 - ISC
|
|
326
326
|
*
|
|
327
327
|
* This source code is licensed under the ISC license.
|
|
@@ -356,4 +356,4 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
356
356
|
*
|
|
357
357
|
* This source code is licensed under the ISC license.
|
|
358
358
|
* See the LICENSE file in the root directory of this source tree.
|
|
359
|
-
*/const v_=Kv("badge",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]]),US=async({document:d,products:s})=>{const h="https://pbm.agradadigital.agradalabs.com/api/v1",y=pm.get("pbm-token");if(!y)throw new Error("Token is not defined in cookies or is expired");const v=await(await fetch(`${h}/products/benefitByDocument`,{method:"POST",headers:{Authorization:`Bearer ${y}`,"Content-Type":"application/json"},body:JSON.stringify({consumer:{document:d},products:s})})).json();if(!v.success)throw new Error(v.message||"Failed to fetch document validation");return v};function kg(d){return ge.jsx("button",{...d,className:Qi("w-3xs cursor-pointer h-10 rounded-full bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors",d.className),children:d.children})}function b_({setLoading:d}){const{setSecurityNumber:s,setState:h,securityNumber:y,targetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_}=Or(),[A,j]=Ma.useState(!1),{handleSubmit:w,register:X,setValue:se,clearErrors:Y,unregister:L,formState:{errors:de}}=t_({resolver:f_(CE),mode:"onSubmit",defaultValues:{securityNumber:y||"",coupon:""}}),Be=async Xe=>{A||se("coupon",void 0,{shouldValidate:!1}),d(!0);try{if(g===null){console.error("PBMLOG: Product is not defined!");return}if(!g.productId){console.error("PBMLOG: Product ID is not defined!");return}if(!g.listPrice){console.error("PBMLOG: List Price is not defined!");return}const Fe=await US({document:Xe.securityNumber.replace(/\D/g,""),products:[{productId:g.productId,ean:g.ean,requestedQuantity:1,listPrice:g.listPrice,netPrice:g.netPrice??g.listPrice}]});if(Fe.success){const _e={acceptance:"isInvalid","industry registration":"isRegistered",active:"isActivated"};if(s(Xe.securityNumber),h(_e[Fe.data.product[0].statusCustomer]),_e[Fe.data.product[0].statusCustomer]==="isInvalid"){v(Fe.data.product[0].urlAcceptTerm||void 0);return}if(_e[Fe.data.product[0].statusCustomer]==="isRegistered"){_(Fe.data.product[0].informativeLink);return}}}catch(Fe){console.error("PBMLOG: Error validating document -",Fe)}finally{d(!1)}};return ge.jsxs(ge.Fragment,{children:[ge.jsxs("form",{onSubmit:w(Be),className:Qi("w-full h-auto flex items-center justify-center mb-0 transition-all duration-150",{"mb-4":de.securityNumber||de.coupon&&A,"gap-2":A}),id:"form_security_number_pbm",children:[ge.jsxs("label",{htmlFor:"cpf",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_security_number_pbm",children:[ge.jsx("input",{type:"text",className:Qi("w-full h-8 bg-gray-100 rounded-s-full text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":de.securityNumber,"rounded-full":A}),placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...X("securityNumber",{onChange:Xe=>{const Fe=UE(Xe.target.value);se("securityNumber",Fe,{shouldValidate:!0})}}),defaultValue:y||"",id:"input_security_number_pbm"}),de.securityNumber&&ge.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:de.securityNumber.message})]}),A&&ge.jsxs("label",{htmlFor:"coupon",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_coupon_pbm",children:[ge.jsx("input",{type:"text",className:Qi("w-full h-8 bg-[#44c2c0]/20 rounded-s-full text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-[#44c2c0]/30 text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":de.coupon,"rounded-full":A}),placeholder:"Cupom / ID do Cartão",...X("coupon",{required:A?"Cupom / ID do Cartão obrigatório.":!1,shouldUnregister:!A,onChange:Xe=>{se("coupon",Xe.target.value,{shouldValidate:A})}}),id:"input_coupon_pbm"}),de.coupon&&ge.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:de.coupon.message})]}),ge.jsx("button",{type:"submit",className:Qi("bg-emerald-500 w-1/5 h-8 flex items-center justify-center rounded-e-full cursor-pointer",{"rounded-full":A}),id:"button_submit_security_number_pbm",children:ge.jsx(Jv,{size:24,color:"white",strokeWidth:2})})]}),ge.jsxs(kg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>{const Xe=!A;j(Xe),Xe||(L("coupon"),Y("coupon"))},id:"check_benefits_button",children:[ge.jsx("span",{children:A?"Não possui cupom?":"Possui cupom?"}),ge.jsx(Jv,{size:16,className:Qi({"rotate-0":!A,"rotate-180":A})})]})]})}function S_({textColor:d}){return ge.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[ge.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),ge.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",style:{color:d},id:"loading_label",children:"Um momento... estamos verificando seus dados."})]})}function $v(d){return ge.jsx("h2",{className:Qi("text-start font-semibold text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_title",id:"title_pbm",children:d.children})}function T_({data:d,onChange:s,checked:h}){const{setAvailableDiscountSelected:y,securityNumber:g}=Or(),v="unity_quantity_"+d.authorizedQuantity,_=d.discountPercentual/100,A=d.grossPrice*_,j=A*d.authorizedQuantity,w=d.grossPrice*d.authorizedQuantity-j,X=Ma.useCallback(()=>{if(h){const se=Y=>Math.round(Y*100)/100;y({discount:{total:se(j),unit:se(A)},quantity:d.authorizedQuantity,totalPrice:se(w),grossPrice:d.grossPrice})}},[h,d.authorizedQuantity,y,j,w,A]);return Ma.useEffect(()=>{X()},[X]),ge.jsxs("label",{htmlFor:v,className:"label_benefits w-full flex items-center justify-start bg-zinc-300/60 border border-zinc-400/50 px-4 py-2 hover:bg-zinc-300 transition-colors cursor-pointer rounded-full gap-1",id:"label_benefits_"+v,children:[ge.jsx("input",{type:"radio",name:"benefits_discount",id:v,className:"hidden",checked:h,onChange:s,disabled:!g}),h?ge.jsx(g_,{color:"#32b316",size:20}):ge.jsx(v_,{color:"#9f9fa9",size:20}),ge.jsxs("span",{className:"text-zinc-900 font-semibold text-sm",children:[d.authorizedQuantity,"un"]}),ge.jsxs("section",{className:"ml-auto relative",children:[ge.jsxs("span",{className:"absolute -top-4 text-emerald-900 py-0.5 font-semibold text-xs bg-[#32b316] px-2 w-auto text-nowrap rounded-2xl -right-4",children:[j.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})," ","OFF"]}),ge.jsx("strong",{className:"text-zinc-900 font-semibold text-sm text-center",children:w.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})})]})]})}const x_=async({products:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",h=pm.get("pbm-token");if(!h)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/genericBenefit`,{method:"POST",headers:{Authorization:`Bearer ${h}`,"Content-Type":"application/json"},body:JSON.stringify({products:d})})).json();if(!g.success)throw new Error(g.message||"Failed to fetch benefits without document");return g};function E_(){const{securityNumber:d,setState:s,targetProduct:h}=Or(),[y,g]=Ma.useState(null),[v,_]=Ma.useState(!0),[A,j]=Ma.useState();return Ma.useEffect(()=>{d?(async()=>{if(!d){console.error("PBMLOG: Document is not defined");return}if(!(h!=null&&h.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!h.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!h.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!h.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const se={productId:Number(h.productId),ean:h.ean,requestedQuantity:1,listPrice:h.listPrice,netPrice:h.price},Y=await US({document:d,products:[se]});Y.success&&Y.data?j(Y.data.product):j(void 0)}catch(se){j(void 0),console.error(se)}finally{_(!1)}})():(async()=>{if(!(h!=null&&h.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!h.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!h.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!h.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const se={productId:Number(h.productId),ean:h.ean,requestedQuantity:1,listPrice:h.listPrice,netPrice:h.price},Y=await x_({products:[se]});Y.success&&Y.data?j(Y.data):j(void 0)}catch(se){j(void 0),console.error(se)}finally{_(!1)}})()},[]),v?ge.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[ge.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),ge.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"loading_label",children:"Buscando beneficios disponíveis..."})]}):ge.jsxs("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[ge.jsx($v,{children:"Descontos disponíveis:"}),ge.jsxs("form",{className:"flex flex-col items-center justify-start w-full gap-3",id:"form_benefits_table_pbm",children:[!A&&ge.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"benefits_empty_pbm",children:"Não foi possível encontrar benefícios para esse produto."}),A&&A.map((w,X)=>{const se="unity_quantity_"+w.authorizedQuantity;return ge.jsx(T_,{data:w,checked:y===se,onChange:()=>g(se)},X)}),A&&ge.jsx("p",{className:"w-full text-sm font-semibold text-center text-zinc-600",id:"benefits_empty_pbm",children:A[0].informativeMessage})]}),!d&&ge.jsxs(kg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"unauthorized_benefits_button",children:["Atenção: não é possível utilizar os benefícos sem realizar a consulta do cpf, por favor"," ",ge.jsx("span",{className:"underline",children:"insira seu cpf para utilizar os benefícios"})]}),d&&ge.jsx(kg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"change_security_number",children:ge.jsx("span",{className:"underline",children:"Deseja editar o cpf digitado?"})})]})}function NS(d){return ge.jsx("p",{className:Qi("text-start font-normal text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_text",id:"text_pbm",children:d.children})}const __=d=>d===void 0?"":"?"+Object.keys(d).map(s=>s+"="+d[s]).join("&");function HS(d){return ge.jsx("a",{...d,target:"_blank",href:typeof d.href=="string"?d.href:d.href.pathname+__(d.href.param),className:Qi("w-3xs cursor-pointer h-10 rounded-full bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors flex items-center justify-center",d.className),"data-testid":"test_id_link",id:"link_pbm",children:d.children})}function w_({textColor:d}){const{urlAcceptTerms:s}=Or();return ge.jsxs("section",{"data-testid":"test_id_invalid",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_invalid_container_pbm",children:[ge.jsx($v,{className:"w-full",textColor:d,children:"CPF não cadastrado!"}),ge.jsx(NS,{className:"w-full",textColor:d,children:"Por favor, conclua seu cadastro para habilitar os benefícios deste laboratório."}),ge.jsx(HS,{href:s||"",children:"Aceitar os termos"})]})}function A_({textColor:d}){const{urlRegisterIndustry:s}=Or();return ge.jsxs("section",{"data-testid":"test_id_registered",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_registered_container_pbm",children:[ge.jsx($v,{className:"w-full",textColor:d,children:"CPF não habilitado no produto!"}),ge.jsx(NS,{className:"w-full",textColor:d,children:"Por favor, conclua seu cadastro para habilitar os benefícios deste laboratório."}),ge.jsx(HS,{href:s||"",children:"Ativar CPF"})]})}const R_=async({clientID:d})=>{const v=await(await fetch("https://pbm.agradadigital.agradalabs.com/api/v1/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({storeId:"84521053000148",storeName:"agradadigital",clientId:d})})).json();if(!v.success)throw new Error(v.message||"Failed to fetch authorization");return pm.set("pbm-token",v.data.token,{expires:v.data.expiresIn/(60*60),secure:!0,sameSite:"Strict"}),pm.set("pbm-token-refresh",v.data.refreshToken,{expires:v.data.refreshExpiresIn/(60*60),secure:!0,sameSite:"Strict"}),v};function O_({originalProductPrice:d,clientID:s,eanProduct:h}){const y=Number(String(d).replace(",",".")),[g,v]=Ma.useState(!1),{setState:_,state:A,setTargetProduct:j}=Or();Ma.useEffect(()=>{h&&j({ean:h})},[h,j]);const w=Ma.useCallback(async()=>{try{(await R_({clientID:s})).success||console.error("PBMLOG: Authorization failed!")}catch(X){console.error("Error fetching authorization:",X)}},[s]);return Ma.useEffect(()=>{w()},[w]),ge.jsx("div",{id:"pbm-library-root",children:ge.jsxs(H1,{variant:"main",children:[ge.jsx(Px,{originalProductPrice:y||0}),ge.jsxs(H1,{variant:"simple",children:[A==="isEmpty"&&!g&&ge.jsxs(ge.Fragment,{children:[ge.jsx(b_,{setLoading:v}),ge.jsxs(kg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>_("isActivated"),id:"check_benefits_button",children:[ge.jsx("span",{children:"Consultar benefícios"}),ge.jsx(Jv,{size:16})]})]}),A==="isEmpty"&&g&&ge.jsx(S_,{}),A==="isInvalid"&&!g&&ge.jsx(w_,{}),A==="isRegistered"&&!g&&ge.jsx(A_,{}),A==="isActivated"&&!g&&ge.jsx(E_,{})]}),ge.jsx(lE,{})]})})}const z_='/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-900:oklch(37.8% .077 168.94);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-4{top:calc(var(--spacing)*-4)}.-top-6{top:calc(var(--spacing)*-6)}.-right-4{right:calc(var(--spacing)*-4)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.left-2{left:calc(var(--spacing)*2)}.left-10{left:calc(var(--spacing)*10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80\\%\\]{height:80%}.h-auto{height:auto}.w-1\\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-4\\/5{width:80%}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.max-w-md{max-width:var(--container-md)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.shrink-0{flex-shrink:0}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-full{border-start-start-radius:3.40282e38px;border-end-start-radius:3.40282e38px}.rounded-ss-2xl{border-start-start-radius:var(--radius-2xl)}.rounded-e-full{border-start-end-radius:3.40282e38px;border-end-end-radius:3.40282e38px}.rounded-se-2xl{border-start-end-radius:var(--radius-2xl)}.rounded-ee-2xl{border-end-end-radius:var(--radius-2xl)}.rounded-es-2xl{border-end-start-radius:var(--radius-2xl)}.rounded-t-2xl{border-top-left-radius:var(--radius-2xl);border-top-right-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-\\[\\#44c2c0\\]{border-color:#44c2c0}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:#9f9fa980}@supports (color:color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400)50%,transparent)}}.border-t-gray-700{border-top-color:var(--color-gray-700)}.bg-\\[\\#32b316\\]{background-color:#32b316}.bg-\\[\\#44c2c0\\]{background-color:#44c2c0}.bg-\\[\\#44c2c0\\]\\/20{background-color:#44c2c033}.bg-\\[\\#44c2c0\\]\\/30{background-color:#44c2c04d}.bg-black\\/35{background-color:#00000059}@supports (color:color-mix(in lab,red,red)){.bg-black\\/35{background-color:color-mix(in oklab,var(--color-black)35%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-zinc-300\\/60{background-color:#d4d4d899}@supports (color:color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300)60%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\\[\\#339c9b\\]{color:#339c9b}.text-amber-500{color:var(--color-amber-500)}.text-emerald-900{color:var(--color-emerald-900)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}@media (hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-emerald-400:hover{background-color:var(--color-emerald-400)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-zinc-300:hover{background-color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:bg-\\[\\#44c2c0\\]\\/30:focus{background-color:#44c2c04d}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\[\\#339c9b\\]:focus{outline-color:#339c9b}@media (min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:root{--max-container:556px;--min-container:350px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}';window.pbm=Ix();class D_ extends HTMLElement{constructor(){super();y1(this,"root",null);y1(this,"props",{originalProductPrice:0,clientID:"",eanProduct:""});this.attachShadow({mode:"open"})}static get observedAttributes(){return["originalproductprice","clientid","eanproduct"]}updatePropsFromAttributes(){const h=this.getAttribute("originalproductprice"),y=this.getAttribute("clientid"),g=this.getAttribute("eanproduct");h!==null&&(this.props.originalProductPrice=h),y!==null&&(this.props.clientID=y),g!==null&&(this.props.eanProduct=g,g&&Eg.getState().setTargetProduct({ean:g,quantity:1}))}connectedCallback(){this.updatePropsFromAttributes(),this.mount()}attributeChangedCallback(h,y,g){h==="originalproductprice"&&(this.props.originalProductPrice=parseFloat(g)),h==="clientid"&&(this.props.clientID=g),h==="eanproduct"&&(this.props.eanProduct=g,g&&Eg.getState().setTargetProduct({ean:g,quantity:1})),this.mount()}mount(){if(!this.isConnected)return;let h=this.shadowRoot;if(!(!h&&(this.attachShadow({mode:"open"}),h=this.shadowRoot,!h))){if(!h.querySelector("#pbm-shadow-root")){const y=document.createElement("div");y.id="pbm-shadow-root";const g=document.createElement("style");g.textContent=z_,h.appendChild(g),h.appendChild(y),this.root=Kx.createRoot(y)}this.root&&this.root.render(ge.jsx(O_,{...this.props}))}}}customElements.define("pbm-component",D_)})();
|
|
359
|
+
*/const v_=Kv("badge",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]]),US=async({document:d,products:s})=>{const h="https://pbm.agradadigital.agradalabs.com/api/v1",y=pm.get("pbm-token");if(!y)throw new Error("Token is not defined in cookies or is expired");const v=await(await fetch(`${h}/products/benefitByDocument`,{method:"POST",headers:{Authorization:`Bearer ${y}`,"Content-Type":"application/json"},body:JSON.stringify({consumer:{document:d},products:s})})).json();if(!v.success)throw new Error(v.message||"Failed to fetch document validation");return v};function kg(d){return ge.jsx("button",{...d,className:Qi("w-3xs cursor-pointer h-10 rounded-full bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors",d.className),children:d.children})}function b_({setLoading:d}){const{setSecurityNumber:s,setState:h,securityNumber:y,targetProduct:g,setUrlAcceptTerms:v,setUrlRegisterIndustry:_}=Or(),[A,j]=Ma.useState(!1),{handleSubmit:w,register:X,setValue:se,clearErrors:Y,unregister:L,formState:{errors:de}}=t_({resolver:f_(CE),mode:"onSubmit",defaultValues:{securityNumber:y||"",coupon:""}}),Be=async Xe=>{A||se("coupon",void 0,{shouldValidate:!1}),d(!0);try{if(g===null){console.error("PBMLOG: Product is not defined!");return}if(!g.productId){console.error("PBMLOG: Product ID is not defined!");return}if(!g.listPrice){console.error("PBMLOG: List Price is not defined!");return}const Fe=await US({document:Xe.securityNumber.replace(/\D/g,""),products:[{productId:g.productId,ean:g.ean,requestedQuantity:1,listPrice:g.listPrice,netPrice:g.netPrice??g.listPrice}]});if(Fe.success){const _e={acceptance:"isInvalid","industry registration":"isRegistered",active:"isActivated"};if(s(Xe.securityNumber),h(_e[Fe.data.product[0].statusCustomer]),_e[Fe.data.product[0].statusCustomer]==="isInvalid"){v(Fe.data.product[0].urlAcceptTerm||void 0);return}if(_e[Fe.data.product[0].statusCustomer]==="isRegistered"){_(Fe.data.product[0].informativeLink);return}}}catch(Fe){console.error("PBMLOG: Error validating document -",Fe)}finally{d(!1)}};return ge.jsxs(ge.Fragment,{children:[ge.jsxs("form",{onSubmit:w(Be),className:Qi("w-full h-auto flex items-center justify-center mb-0 transition-all duration-150",{"mb-4":de.securityNumber||de.coupon&&A,"gap-2":A}),id:"form_security_number_pbm",children:[ge.jsxs("label",{htmlFor:"cpf",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_security_number_pbm",children:[ge.jsx("input",{type:"text",className:Qi("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-white text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":de.securityNumber,"rounded-lg":A}),placeholder:"Digite seu CPF aqui...",required:!0,maxLength:14,...X("securityNumber",{onChange:Xe=>{const Fe=UE(Xe.target.value);se("securityNumber",Fe,{shouldValidate:!0})}}),defaultValue:y||"",id:"input_security_number_pbm"}),de.securityNumber&&ge.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"security_number_form_error",children:de.securityNumber.message})]}),A&&ge.jsxs("label",{htmlFor:"coupon",className:"w-4/5 h-auto flex items-start flex-col justify-center relative py-2",id:"label_coupon_pbm",children:[ge.jsx("input",{type:"text",className:Qi("w-full h-10 bg-gray-100 rounded-s-lg text-sm font-semibold focus:outline focus:outline-[#339c9b] focus:bg-[#44c2c0]/30 text-zinc-600 placeholder:text-zinc-600 px-4 placeholder:text-sm placeholder:font-semibold",{"outline outline-red-600":de.coupon,"rounded-lg":A}),placeholder:"Cupom / ID do Cartão",...X("coupon",{required:A?"Cupom / ID do Cartão obrigatório.":!1,shouldUnregister:!A,onChange:Xe=>{se("coupon",Xe.target.value,{shouldValidate:A})}}),id:"input_coupon_pbm"}),de.coupon&&ge.jsx("span",{className:"text-red-400 text-xs font-semibold absolute -bottom-3 left-2 text-nowrap",id:"coupon_form_error",children:de.coupon.message})]}),ge.jsx("button",{type:"submit",className:Qi("bg-emerald-500 w-1/5 h-10 rounded-e-lg flex items-center justify-center cursor-pointer",{"rounded-full":A}),id:"button_submit_security_number_pbm",children:ge.jsx(Jv,{size:24,color:"white",strokeWidth:2})})]}),ge.jsxs(kg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>{const Xe=!A;j(Xe),Xe||(L("coupon"),Y("coupon"))},id:"check_benefits_button",children:[ge.jsx("span",{children:A?"Não possui cupom?":"Possui cupom?"}),ge.jsx(Jv,{size:16,className:Qi({"rotate-0":!A,"rotate-180":A})})]})]})}function S_({textColor:d}){return ge.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[ge.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),ge.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",style:{color:d},id:"loading_label",children:"Um momento... estamos verificando seus dados."})]})}function $v(d){return ge.jsx("h2",{className:Qi("text-start font-semibold text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_title",id:"title_pbm",children:d.children})}function T_({data:d,onChange:s,checked:h}){const{setAvailableDiscountSelected:y,securityNumber:g}=Or(),v="unity_quantity_"+d.authorizedQuantity,_=d.discountPercentual/100,A=d.grossPrice*_,j=A*d.authorizedQuantity,w=d.grossPrice*d.authorizedQuantity-j,X=Ma.useCallback(()=>{if(h){const se=Y=>Math.round(Y*100)/100;y({discount:{total:se(j),unit:se(A)},quantity:d.authorizedQuantity,totalPrice:se(w),grossPrice:d.grossPrice})}},[h,d.authorizedQuantity,y,j,w,A]);return Ma.useEffect(()=>{X()},[X]),ge.jsxs("label",{htmlFor:v,className:"label_benefits w-full flex items-center justify-start bg-zinc-300/60 border border-zinc-400/50 px-4 py-2 hover:bg-zinc-300 transition-colors cursor-pointer rounded-full gap-1",id:"label_benefits_"+v,children:[ge.jsx("input",{type:"radio",name:"benefits_discount",id:v,className:"hidden",checked:h,onChange:s,disabled:!g}),h?ge.jsx(g_,{color:"#32b316",size:20}):ge.jsx(v_,{color:"#9f9fa9",size:20}),ge.jsxs("span",{className:"text-zinc-900 font-semibold text-sm",children:[d.authorizedQuantity,"un"]}),ge.jsxs("section",{className:"ml-auto relative",children:[ge.jsxs("span",{className:"absolute -top-4 text-emerald-900 py-0.5 font-semibold text-xs bg-[#32b316] px-2 w-auto text-nowrap rounded-2xl -right-4",children:[j.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})," ","OFF"]}),ge.jsx("strong",{className:"text-zinc-900 font-semibold text-sm text-center",children:w.toLocaleString("pt-BR",{currency:"BRL",currencyDisplay:"symbol",currencySign:"standard",style:"currency"})})]})]})}const x_=async({products:d})=>{const s="https://pbm.agradadigital.agradalabs.com/api/v1",h=pm.get("pbm-token");if(!h)throw new Error("Token is not defined in cookies or is expired");const g=await(await fetch(`${s}/products/genericBenefit`,{method:"POST",headers:{Authorization:`Bearer ${h}`,"Content-Type":"application/json"},body:JSON.stringify({products:d})})).json();if(!g.success)throw new Error(g.message||"Failed to fetch benefits without document");return g};function E_(){const{securityNumber:d,setState:s,targetProduct:h}=Or(),[y,g]=Ma.useState(null),[v,_]=Ma.useState(!0),[A,j]=Ma.useState();return Ma.useEffect(()=>{d?(async()=>{if(!d){console.error("PBMLOG: Document is not defined");return}if(!(h!=null&&h.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!h.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!h.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!h.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const se={productId:Number(h.productId),ean:h.ean,requestedQuantity:1,listPrice:h.listPrice,netPrice:h.price},Y=await US({document:d,products:[se]});Y.success&&Y.data?j(Y.data.product):j(void 0)}catch(se){j(void 0),console.error(se)}finally{_(!1)}})():(async()=>{if(!(h!=null&&h.productId)){console.error("PBMLOG: Product ID is not defined on targetProduct");return}if(!h.ean){console.error("PBMLOG: EAN is not defined on targetProduct");return}if(!h.listPrice){console.error("PBMLOG: List Price is not defined on targetProduct");return}if(!h.price){console.error("PBMLOG: Price is not defined on targetProduct");return}try{const se={productId:Number(h.productId),ean:h.ean,requestedQuantity:1,listPrice:h.listPrice,netPrice:h.price},Y=await x_({products:[se]});Y.success&&Y.data?j(Y.data):j(void 0)}catch(se){j(void 0),console.error(se)}finally{_(!1)}})()},[]),v?ge.jsxs("main",{className:"flex items-center justify-center gap-4",id:"loading_pbm",children:[ge.jsx("div",{"data-testid":"test_id_spin",className:"w-8 h-8 border-4 border-t-gray-700 border-gray-300 rounded-full animate-spin",id:"loading_spin"}),ge.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"loading_label",children:"Buscando beneficios disponíveis..."})]}):ge.jsxs("section",{className:"flex items-start justify-center gap-4 w-full h-auto flex-col",id:"benefits_table_pbm",children:[ge.jsx($v,{children:"Descontos disponíveis:"}),ge.jsxs("form",{className:"flex flex-col items-center justify-start w-full gap-3",id:"form_benefits_table_pbm",children:[!A&&ge.jsx("p",{className:"text-sm font-semibold text-start text-zinc-900",id:"benefits_empty_pbm",children:"Não foi possível encontrar benefícios para esse produto."}),A&&A.map((w,X)=>{const se="unity_quantity_"+w.authorizedQuantity;return ge.jsx(T_,{data:w,checked:y===se,onChange:()=>g(se)},X)}),A&&ge.jsx("p",{className:"w-full text-sm font-semibold text-center text-zinc-600",id:"benefits_empty_pbm",children:A[0].informativeMessage})]}),!d&&ge.jsxs(kg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"unauthorized_benefits_button",children:["Atenção: não é possível utilizar os benefícos sem realizar a consulta do cpf, por favor"," ",ge.jsx("span",{className:"underline",children:"insira seu cpf para utilizar os benefícios"})]}),d&&ge.jsx(kg,{onClick:()=>s("isEmpty"),className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 cursor-pointer hover:text-zinc-900 hover:bg-transparent text-start",id:"change_security_number",children:ge.jsx("span",{className:"underline",children:"Deseja editar o cpf digitado?"})})]})}function NS(d){return ge.jsx("p",{className:Qi("text-start font-normal text-sm text-zinc-900",d.className),style:{color:d.textColor,fontSize:d.textSize},"data-testid":"test_id_text",id:"text_pbm",children:d.children})}const __=d=>d===void 0?"":"?"+Object.keys(d).map(s=>s+"="+d[s]).join("&");function HS(d){return ge.jsx("a",{...d,target:"_blank",href:typeof d.href=="string"?d.href:d.href.pathname+__(d.href.param),className:Qi("w-3xs cursor-pointer h-10 rounded-full bg-emerald-500 hover:bg-emerald-400 text-white text-sm font-semibold transition-colors flex items-center justify-center",d.className),"data-testid":"test_id_link",id:"link_pbm",children:d.children})}function w_({textColor:d}){const{urlAcceptTerms:s}=Or();return ge.jsxs("section",{"data-testid":"test_id_invalid",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_invalid_container_pbm",children:[ge.jsx($v,{className:"w-full",textColor:d,children:"CPF não cadastrado!"}),ge.jsx(NS,{className:"w-full",textColor:d,children:"Por favor, conclua seu cadastro para habilitar os benefícios deste laboratório."}),ge.jsx(HS,{href:s||"",children:"Aceitar os termos"})]})}function A_({textColor:d}){const{urlRegisterIndustry:s}=Or();return ge.jsxs("section",{"data-testid":"test_id_registered",className:"flex items-end justify-center gap-2 w-full h-auto flex-col border-y border-zinc-300 py-6",id:"security_number_registered_container_pbm",children:[ge.jsx($v,{className:"w-full",textColor:d,children:"CPF não habilitado no produto!"}),ge.jsx(NS,{className:"w-full",textColor:d,children:"Por favor, conclua seu cadastro para habilitar os benefícios deste laboratório."}),ge.jsx(HS,{href:s||"",children:"Ativar CPF"})]})}const R_=async({clientID:d})=>{const v=await(await fetch("https://pbm.agradadigital.agradalabs.com/api/v1/auth",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({storeId:"84521053000148",storeName:"agradadigital",clientId:d})})).json();if(!v.success)throw new Error(v.message||"Failed to fetch authorization");return pm.set("pbm-token",v.data.token,{expires:v.data.expiresIn/(60*60),secure:!0,sameSite:"Strict"}),pm.set("pbm-token-refresh",v.data.refreshToken,{expires:v.data.refreshExpiresIn/(60*60),secure:!0,sameSite:"Strict"}),v};function O_({originalProductPrice:d,clientID:s,eanProduct:h}){const y=Number(String(d).replace(",",".")),[g,v]=Ma.useState(!1),{setState:_,state:A,setTargetProduct:j}=Or();Ma.useEffect(()=>{h&&j({ean:h})},[h,j]);const w=Ma.useCallback(async()=>{try{(await R_({clientID:s})).success||console.error("PBMLOG: Authorization failed!")}catch(X){console.error("Error fetching authorization:",X)}},[s]);return Ma.useEffect(()=>{w()},[w]),ge.jsx("div",{id:"pbm-library-root",children:ge.jsxs(H1,{variant:"main",children:[ge.jsx(Px,{originalProductPrice:y||0}),ge.jsxs(H1,{variant:"simple",children:[A==="isEmpty"&&!g&&ge.jsxs(ge.Fragment,{children:[ge.jsx(b_,{setLoading:v}),ge.jsxs(kg,{className:"bg-transparent p-0 pl-2 w-auto h-auto text-zinc-600 underline cursor-pointer hover:text-zinc-900 hover:bg-transparent flex items-center justify-start gap-1",onClick:()=>_("isActivated"),id:"check_benefits_button",children:[ge.jsx("span",{children:"Consultar benefícios"}),ge.jsx(Jv,{size:16})]})]}),A==="isEmpty"&&g&&ge.jsx(S_,{}),A==="isInvalid"&&!g&&ge.jsx(w_,{}),A==="isRegistered"&&!g&&ge.jsx(A_,{}),A==="isActivated"&&!g&&ge.jsx(E_,{})]}),ge.jsx(lE,{})]})})}const z_='/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-amber-500:oklch(76.9% .188 70.08);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-900:oklch(37.8% .077 168.94);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-700:oklch(37.3% .034 259.733);--color-zinc-300:oklch(87.1% .006 286.286);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-600:oklch(44.2% .017 285.786);--color-zinc-800:oklch(27.4% .006 286.033);--color-zinc-900:oklch(21% .006 285.885);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-4{top:calc(var(--spacing)*-4)}.-top-6{top:calc(var(--spacing)*-6)}.-right-4{right:calc(var(--spacing)*-4)}.-bottom-3{bottom:calc(var(--spacing)*-3)}.left-2{left:calc(var(--spacing)*2)}.left-10{left:calc(var(--spacing)*10)}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-0{margin-bottom:calc(var(--spacing)*0)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.aspect-auto{aspect-ratio:auto}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80\\%\\]{height:80%}.h-auto{height:auto}.w-1\\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-4\\/5{width:80%}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.max-w-\\[var\\(--max-container\\)\\]{max-width:var(--max-container)}.max-w-md{max-width:var(--container-md)}.min-w-20{min-width:calc(var(--spacing)*20)}.min-w-\\[var\\(--min-container\\)\\]{min-width:var(--min-container)}.shrink-0{flex-shrink:0}.rotate-0{rotate:none}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-center-safe{align-items:safe center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-center-safe{justify-content:safe center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.rounded-ss-2xl{border-start-start-radius:var(--radius-2xl)}.rounded-e-lg{border-start-end-radius:var(--radius-lg);border-end-end-radius:var(--radius-lg)}.rounded-se-2xl{border-start-end-radius:var(--radius-2xl)}.rounded-ee-2xl{border-end-end-radius:var(--radius-2xl)}.rounded-es-2xl{border-end-start-radius:var(--radius-2xl)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-3{border-style:var(--tw-border-style);border-width:3px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-\\[\\#44c2c0\\]{border-color:#44c2c0}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-300{border-color:var(--color-gray-300)}.border-yellow-500{border-color:var(--color-yellow-500)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-400\\/50{border-color:#9f9fa980}@supports (color:color-mix(in lab,red,red)){.border-zinc-400\\/50{border-color:color-mix(in oklab,var(--color-zinc-400)50%,transparent)}}.border-t-gray-700{border-top-color:var(--color-gray-700)}.bg-\\[\\#32b316\\]{background-color:#32b316}.bg-\\[\\#44c2c0\\]{background-color:#44c2c0}.bg-\\[\\#44c2c0\\]\\/30{background-color:#44c2c04d}.bg-black\\/35{background-color:#00000059}@supports (color:color-mix(in lab,red,red)){.bg-black\\/35{background-color:color-mix(in oklab,var(--color-black)35%,transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-zinc-300\\/60{background-color:#d4d4d899}@supports (color:color-mix(in lab,red,red)){.bg-zinc-300\\/60{background-color:color-mix(in oklab,var(--color-zinc-300)60%,transparent)}}.bg-zinc-800{background-color:var(--color-zinc-800)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\.5{padding:calc(var(--spacing)*.5)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-6{padding-block:calc(var(--spacing)*6)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-center{text-align:center}.text-start{text-align:start}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-nowrap{text-wrap:nowrap}.text-\\[\\#339c9b\\]{color:#339c9b}.text-amber-500{color:var(--color-amber-500)}.text-emerald-900{color:var(--color-emerald-900)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-900{color:var(--color-zinc-900)}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-red-600{outline-color:var(--color-red-600)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.placeholder\\:text-sm::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:font-semibold::placeholder{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.placeholder\\:text-zinc-600::placeholder{color:var(--color-zinc-600)}@media (hover:hover){.hover\\:bg-blue-400:hover{background-color:var(--color-blue-400)}.hover\\:bg-emerald-400:hover{background-color:var(--color-emerald-400)}.hover\\:bg-emerald-600:hover{background-color:var(--color-emerald-600)}.hover\\:bg-green-400:hover{background-color:var(--color-green-400)}.hover\\:bg-transparent:hover{background-color:#0000}.hover\\:bg-zinc-300:hover{background-color:var(--color-zinc-300)}.hover\\:text-zinc-400:hover{color:var(--color-zinc-400)}.hover\\:text-zinc-900:hover{color:var(--color-zinc-900)}}.focus\\:bg-\\[\\#44c2c0\\]\\/30:focus{background-color:#44c2c04d}.focus\\:bg-white:focus{background-color:var(--color-white)}.focus\\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\\:outline-\\[\\#339c9b\\]:focus{outline-color:#339c9b}@media (min-width:48rem){.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}}:root{--max-container:556px;--min-container:350px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}';window.pbm=Ix();class D_ extends HTMLElement{constructor(){super();y1(this,"root",null);y1(this,"props",{originalProductPrice:0,clientID:"",eanProduct:""});this.attachShadow({mode:"open"})}static get observedAttributes(){return["originalproductprice","clientid","eanproduct"]}updatePropsFromAttributes(){const h=this.getAttribute("originalproductprice"),y=this.getAttribute("clientid"),g=this.getAttribute("eanproduct");h!==null&&(this.props.originalProductPrice=h),y!==null&&(this.props.clientID=y),g!==null&&(this.props.eanProduct=g,g&&Eg.getState().setTargetProduct({ean:g,quantity:1}))}connectedCallback(){this.updatePropsFromAttributes(),this.mount()}attributeChangedCallback(h,y,g){h==="originalproductprice"&&(this.props.originalProductPrice=parseFloat(g)),h==="clientid"&&(this.props.clientID=g),h==="eanproduct"&&(this.props.eanProduct=g,g&&Eg.getState().setTargetProduct({ean:g,quantity:1})),this.mount()}mount(){if(!this.isConnected)return;let h=this.shadowRoot;if(!(!h&&(this.attachShadow({mode:"open"}),h=this.shadowRoot,!h))){if(!h.querySelector("#pbm-shadow-root")){const y=document.createElement("div");y.id="pbm-shadow-root";const g=document.createElement("style");g.textContent=z_,h.appendChild(g),h.appendChild(y),this.root=Kx.createRoot(y)}this.root&&this.root.render(ge.jsx(O_,{...this.props}))}}}customElements.define("pbm-component",D_)})();
|