@flarehr/superhero-basic-profile 0.1.1253 → 0.1.1255
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.z-10{z-index:10}.mx-auto{margin-left:auto;margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-6{margin-left:1.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.w-full{width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.items-end{align-items:flex-end}.justify-center{justify-content:center}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}@media (min-width: 640px){.sm\:col-start-1{grid-column-start:1}.sm\:col-start-2{grid-column-start:2}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:mt-0{margin-top:0}.sm\:mt-5{margin-top:1.25rem}.sm\:mt-6{margin-top:1.5rem}.sm\:grid{display:grid}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:items-center{align-items:center}.sm\:gap-3{gap:.75rem}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.z-10{z-index:10}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-auto{margin-left:auto;margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-6{margin-left:1.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.min-h-full{min-height:100%}.w-full{width:100%}.min-w-full{min-width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.items-end{align-items:flex-end}.justify-center{justify-content:center}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-3{padding-right:.75rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}@media (min-width: 640px){.sm\:col-start-1{grid-column-start:1}.sm\:col-start-2{grid-column-start:2}.sm\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:mt-0{margin-top:0}.sm\:mt-5{margin-top:1.25rem}.sm\:mt-6{margin-top:1.5rem}.sm\:grid{display:grid}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:items-center{align-items:center}.sm\:gap-3{gap:.75rem}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-0{padding:0}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:pl-6{padding-left:1.5rem}}@media (min-width: 1024px){.lg\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}}
|
package/dist/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
8
|
<script type="module" crossorigin src="/superhero-basic-profile.js"></script>
|
|
9
|
-
<link rel="stylesheet" href="/assets/index.
|
|
9
|
+
<link rel="stylesheet" href="/assets/index.42edcbf8.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var ar,b,pl,zt,Ni,hl,So,gl,kr={},ml=[],_c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function vt(e,t){for(var n in t)e[n]=t[n];return e}function wl(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?ar.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return Jn(e,s,r,o,null)}function Jn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o==null?++pl:o};return o==null&&b.vnode!=null&&b.vnode(i),i}function yc(){return{current:null}}function Xe(e){return e.children}function it(e,t){this.props=e,this.context=t}function qn(e,t){if(t==null)return e.__?qn(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?qn(e):null}function _l(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return _l(e)}}function Do(e){(!e.__d&&(e.__d=!0)&&zt.push(e)&&!Ir.__r++||Ni!==b.debounceRendering)&&((Ni=b.debounceRendering)||hl)(Ir)}function Ir(){var e,t,n,r,o,i,s,l;for(zt.sort(So);e=zt.shift();)e.__d&&(t=zt.length,r=void 0,o=void 0,s=(i=(n=e).__v).__e,(l=n.__P)&&(r=[],(o=vt({},i)).__v=i.__v+1,Xo(l,i,o,n.__n,l.ownerSVGElement!==void 0,i.__h!=null?[s]:null,r,s==null?qn(i):s,i.__h),El(r,i),i.__e!=s&&_l(i)),zt.length>t&&zt.sort(So));Ir.__r=0}function yl(e,t,n,r,o,i,s,l,u,c){var a,d,f,p,g,_,w,A=r&&r.__k||ml,S=A.length;for(n.__k=[],a=0;a<t.length;a++)if((p=n.__k[a]=(p=t[a])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Jn(null,p,null,null,p):Array.isArray(p)?Jn(Xe,{children:p},null,null,null):p.__b>0?Jn(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(f=A[a])===null||f&&p.key==f.key&&p.type===f.type)A[a]=void 0;else for(d=0;d<S;d++){if((f=A[d])&&p.key==f.key&&p.type===f.type){A[d]=void 0;break}f=null}Xo(e,p,f=f||kr,o,i,s,l,u,c),g=p.__e,(d=p.ref)&&f.ref!=d&&(w||(w=[]),f.ref&&w.push(f.ref,null,p),w.push(d,p.__c||g,p)),g!=null?(_==null&&(_=g),typeof p.type=="function"&&p.__k===f.__k?p.__d=u=Al(p,u,e):u=bl(e,p,f,A,g,u),typeof n.type=="function"&&(n.__d=u)):u&&f.__e==u&&u.parentNode!=e&&(u=qn(f))}for(n.__e=_,a=S;a--;)A[a]!=null&&(typeof n.type=="function"&&A[a].__e!=null&&A[a].__e==n.__d&&(n.__d=vl(r).nextSibling),Cl(A[a],A[a]));if(w)for(a=0;a<w.length;a++)xl(w[a],w[++a],w[++a])}function Al(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t=typeof r.type=="function"?Al(r,t,n):bl(n,r,r,o,r.__e,t));return t}function xt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(n){xt(n,t)}):t.push(e)),t}function bl(e,t,n,r,o,i){var s,l,u;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(n==null||o!=i||o.parentNode==null)e:if(i==null||i.parentNode!==e)e.appendChild(o),s=null;else{for(l=i,u=0;(l=l.nextSibling)&&u<r.length;u+=1)if(l==o)break e;e.insertBefore(o,i),s=i}return s!==void 0?s:o.nextSibling}function vl(e){var t,n,r;if(e.type==null||typeof e.type=="string")return e.__e;if(e.__k){for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=vl(n)))return r}return null}function Ac(e,t,n,r,o){var i;for(i in n)i==="children"||i==="key"||i in t||Mr(e,i,null,n[i],r);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||n[i]===t[i]||Mr(e,i,t[i],n[i],r)}function Bi(e,t,n){t[0]==="-"?e.setProperty(t,n==null?"":n):e[t]=n==null?"":typeof n!="number"||_c.test(t)?n:n+"px"}function Mr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Bi(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Bi(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?Hi:Pi,i):e.removeEventListener(t,i?Hi:Pi,i);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=n==null?"":n;break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Pi(e){return this.l[e.type+!1](b.event?b.event(e):e)}function Hi(e){return this.l[e.type+!0](b.event?b.event(e):e)}function Xo(e,t,n,r,o,i,s,l,u){var c,a,d,f,p,g,_,w,A,S,te,oe,J,Ce,D,G=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(c=b.__b)&&c(t);try{e:if(typeof G=="function"){if(w=t.props,A=(c=G.contextType)&&r[c.__c],S=c?A?A.props.value:c.__:r,n.__c?_=(a=t.__c=n.__c).__=a.__E:("prototype"in G&&G.prototype.render?t.__c=a=new G(w,S):(t.__c=a=new it(w,S),a.constructor=G,a.render=vc),A&&A.sub(a),a.props=w,a.state||(a.state={}),a.context=S,a.__n=r,d=a.__d=!0,a.__h=[],a._sb=[]),a.__s==null&&(a.__s=a.state),G.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=vt({},a.__s)),vt(a.__s,G.getDerivedStateFromProps(w,a.__s))),f=a.props,p=a.state,a.__v=t,d)G.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(G.getDerivedStateFromProps==null&&w!==f&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(w,S),!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(w,a.__s,S)===!1||t.__v===n.__v){for(t.__v!==n.__v&&(a.props=w,a.state=a.__s,a.__d=!1),a.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(U){U&&(U.__=t)}),te=0;te<a._sb.length;te++)a.__h.push(a._sb[te]);a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(w,a.__s,S),a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(f,p,g)})}if(a.context=S,a.props=w,a.__P=e,oe=b.__r,J=0,"prototype"in G&&G.prototype.render){for(a.state=a.__s,a.__d=!1,oe&&oe(t),c=a.render(a.props,a.state,a.context),Ce=0;Ce<a._sb.length;Ce++)a.__h.push(a._sb[Ce]);a._sb=[]}else do a.__d=!1,oe&&oe(t),c=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++J<25);a.state=a.__s,a.getChildContext!=null&&(r=vt(vt({},r),a.getChildContext())),d||a.getSnapshotBeforeUpdate==null||(g=a.getSnapshotBeforeUpdate(f,p)),D=c!=null&&c.type===Xe&&c.key==null?c.props.children:c,yl(e,Array.isArray(D)?D:[D],t,n,r,o,i,s,l,u),a.base=t.__e,t.__h=null,a.__h.length&&s.push(a),_&&(a.__E=a.__=null),a.__e=!1}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=bc(n.__e,t,n,r,o,i,s,u);(c=b.diffed)&&c(t)}catch(U){t.__v=null,(u||i!=null)&&(t.__e=l,t.__h=!!u,i[i.indexOf(l)]=null),b.__e(U,t,n)}}function El(e,t){b.__c&&b.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){b.__e(r,n.__v)}})}function bc(e,t,n,r,o,i,s,l){var u,c,a,d=n.props,f=t.props,p=t.type,g=0;if(p==="svg"&&(o=!0),i!=null){for(;g<i.length;g++)if((u=i[g])&&"setAttribute"in u==!!p&&(p?u.localName===p:u.nodeType===3)){e=u,i[g]=null;break}}if(e==null){if(p===null)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,f.is&&f),i=null,l=!1}if(p===null)d===f||l&&e.data===f||(e.data=f);else{if(i=i&&ar.call(e.childNodes),c=(d=n.props||kr).dangerouslySetInnerHTML,a=f.dangerouslySetInnerHTML,!l){if(i!=null)for(d={},g=0;g<e.attributes.length;g++)d[e.attributes[g].name]=e.attributes[g].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(Ac(e,f,d,o,l),a)t.__k=[];else if(g=t.props.children,yl(e,Array.isArray(g)?g:[g],t,n,r,o&&p!=="foreignObject",i,s,i?i[0]:n.__k&&qn(n,0),l),i!=null)for(g=i.length;g--;)i[g]!=null&&wl(i[g]);l||("value"in f&&(g=f.value)!==void 0&&(g!==e.value||p==="progress"&&!g||p==="option"&&g!==d.value)&&Mr(e,"value",g,d.value,!1),"checked"in f&&(g=f.checked)!==void 0&&g!==e.checked&&Mr(e,"checked",g,d.checked,!1))}return e}function xl(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){b.__e(r,n)}}function Cl(e,t,n){var r,o;if(b.unmount&&b.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||xl(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){b.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Cl(r[o],t,n||typeof e.type!="function");n||e.__e==null||wl(e.__e),e.__=e.__e=e.__d=void 0}function vc(e,t,n){return this.constructor(e,n)}function Ot(e,t,n){var r,o,i;b.__&&b.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],Xo(t,e=(!r&&n||t).__k=m(Xe,null,[e]),o||kr,kr,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?ar.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),El(i,e)}function $o(e,t){Ot(e,t,$o)}function qo(e,t,n){var r,o,i,s=vt({},e.props);for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];return arguments.length>2&&(s.children=arguments.length>3?ar.call(arguments,2):n),Jn(e.type,s,r||e.key,o||e.ref,null)}function Ec(e,t){var n={__c:t="__cC"+gl++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.some(function(l){l.__e=!0,Do(l)})},this.sub=function(s){o.push(s);var l=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),l&&l.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}ar=ml.slice,b={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(l){e=l}throw e}},pl=0,it.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=vt({},this.state),typeof e=="function"&&(e=e(vt({},n),this.props)),e&&vt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Do(this))},it.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Do(this))},it.prototype.render=Xe,zt=[],hl=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,So=function(e,t){return e.__v.__b-t.__v.__b},Ir.__r=0,gl=0;var Yt,L,ho,ji,mn=0,Sl=[],Er=[],Vi=b.__b,Ui=b.__r,Li=b.diffed,zi=b.__c,Wi=b.unmount;function Sn(e,t){b.__h&&b.__h(L,e,mn||t),mn=0;var n=L.__H||(L.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Er}),n.__[e]}function Dl(e){return mn=1,Yo(kl,e)}function Yo(e,t,n){var r=Sn(Yt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):kl(void 0,t),function(l){var u=r.__N?r.__N[0]:r.__[0],c=r.t(u,l);u!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){var o=function(l,u,c){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter(function(f){return f.__c});if(a.every(function(f){return!f.__N}))return!i||i.call(this,l,u,c);var d=!1;return a.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(d=!0)}}),!(!d&&r.__c.props===l)&&(!i||i.call(this,l,u,c))};L.u=!0;var i=L.shouldComponentUpdate,s=L.componentWillUpdate;L.componentWillUpdate=function(l,u,c){if(this.__e){var a=i;i=void 0,o(l,u,c),i=a}s&&s.call(this,l,u,c)},L.shouldComponentUpdate=o}return r.__N||r.__}function hn(e,t){var n=Sn(Yt++,3);!b.__s&&ei(n.__H,t)&&(n.__=e,n.i=t,L.__H.__h.push(n))}function Zr(e,t){var n=Sn(Yt++,4);!b.__s&&ei(n.__H,t)&&(n.__=e,n.i=t,L.__h.push(n))}function Wn(e){return mn=5,_t(function(){return{current:e}},[])}function Fl(e,t,n){mn=6,Zr(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function _t(e,t){var n=Sn(Yt++,7);return ei(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ve(e,t){return mn=8,_t(function(){return e},t)}function xc(e){var t=L.context[e.__c],n=Sn(Yt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(L)),t.props.value):e.__}function Cc(e,t){b.useDebugValue&&b.useDebugValue(t?t(e):e)}function Sc(){var e=Sn(Yt++,11);if(!e.__){for(var t=L.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Dc(){for(var e;e=Sl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xr),e.__H.__h.forEach(Fo),e.__H.__h=[]}catch(t){e.__H.__h=[],b.__e(t,e.__v)}}b.__b=function(e){L=null,Vi&&Vi(e)},b.__r=function(e){Ui&&Ui(e),Yt=0;var t=(L=e.__c).__H;t&&(ho===L?(t.__h=[],L.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Er,n.__N=n.i=void 0})):(t.__h.forEach(xr),t.__h.forEach(Fo),t.__h=[])),ho=L},b.diffed=function(e){Li&&Li(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Sl.push(t)!==1&&ji===b.requestAnimationFrame||((ji=b.requestAnimationFrame)||Fc)(Dc)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Er&&(n.__=n.__V),n.i=void 0,n.__V=Er})),ho=L=null},b.__c=function(e,t){t.some(function(n){try{n.__h.forEach(xr),n.__h=n.__h.filter(function(r){return!r.__||Fo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],b.__e(r,n.__v)}}),zi&&zi(e,t)},b.unmount=function(e){Wi&&Wi(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{xr(r)}catch(o){t=o}}),n.__H=void 0,t&&b.__e(t,n.__v))};var Gi=typeof requestAnimationFrame=="function";function Fc(e){var t,n=function(){clearTimeout(r),Gi&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Gi&&(t=requestAnimationFrame(n))}function xr(e){var t=L,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),L=t}function Fo(e){var t=L;e.__c=e.__(),L=t}function ei(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function kl(e,t){return typeof t=="function"?t(e):t}function Il(e,t){for(var n in t)e[n]=t[n];return e}function ko(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function go(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function Io(e){this.props=e}function kc(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:ko(this.props,o)}function r(o){return this.shouldComponentUpdate=n,m(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Io.prototype=new it).isPureReactComponent=!0,Io.prototype.shouldComponentUpdate=function(e,t){return ko(this.props,e)||ko(this.state,t)};var Qi=b.__b;b.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Qi&&Qi(e)};var Ic=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ml(e){function t(n){var r=Il({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ic,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Zi=function(e,t){return e==null?null:xt(xt(e).map(t))},Mc={map:Zi,forEach:Zi,count:function(e){return e?xt(e).length:0},only:function(e){var t=xt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:xt},Tc=b.__e;b.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Tc(e,t,n,r)};var Ki=b.unmount;function Tl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Il({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Tl(r,t,n)})),e}function Rl(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Rl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Cr(){this.__u=0,this.t=null,this.__b=null}function Ol(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Rc(e){var t,n,r;function o(i){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return m(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Gn(){this.u=null,this.o=null}b.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Ki&&Ki(e)},(Cr.prototype=new it).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ol(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=s;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Rl(c,c.__c.__P,c.__c.__O)}var a;for(r.setState({__a:r.__b=null});a=r.t.pop();)a.forceUpdate()}},u=t.__h===!0;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},Cr.prototype.componentWillUnmount=function(){this.t=[]},Cr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Tl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m(Xe,null,e.fallback);return o&&(o.__h=null),[m(Xe,null,t.__a?null:e.children),o]};var Ji=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Oc(e){return this.getChildContext=function(){return e.context},e.children}function Nc(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ot(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Ot(m(Oc,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Bc(e,t){var n=m(Nc,{__v:e,i:t});return n.containerInfo=t,n}(Gn.prototype=new it).__a=function(e){var t=this,n=Ol(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ji(t,e,r)):o()};n?n(i):i()}},Gn.prototype.render=function(e){this.u=null,this.o=new Map;var t=xt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Gn.prototype.componentDidUpdate=Gn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Ji(e,n,t)})};var Nl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Pc=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Hc=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,jc=/[A-Z0-9]/g,Vc=typeof document<"u",Uc=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Lc(e,t,n){return t.__k==null&&(t.textContent=""),Ot(e,t),typeof n=="function"&&n(),e?e.__c:null}function zc(e,t,n){return $o(e,t),typeof n=="function"&&n(),e?e.__c:null}it.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(it.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xi=b.event;function Wc(){}function Gc(){return this.cancelBubble}function Qc(){return this.defaultPrevented}b.event=function(e){return Xi&&(e=Xi(e)),e.persist=Wc,e.isPropagationStopped=Gc,e.isDefaultPrevented=Qc,e.nativeEvent=e};var ti,Zc={enumerable:!1,configurable:!0,get:function(){return this.class}},$i=b.vnode;b.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var s=n[i];if(!(i==="value"&&"defaultValue"in n&&s==null||Vc&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&s===!0?s="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Uc(n.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Hc.test(i)?i=l:r.indexOf("-")===-1&&Pc.test(i)?i=i.replace(jc,"-$&").toLowerCase():s===null&&(s=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=s}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=xt(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=xt(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Zc)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Nl,$i&&$i(e)};var qi=b.__r;b.__r=function(e){qi&&qi(e),ti=e.__c};var Yi=b.diffed;b.diffed=function(e){Yi&&Yi(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),ti=null};var Kc={ReactCurrentDispatcher:{current:{readContext:function(e){return ti.__n[e.__c].props.value}}}};function Jc(e){return m.bind(null,e)}function Bl(e){return!!e&&e.$$typeof===Nl}function Xc(e){return Bl(e)?qo.apply(null,arguments):e}function $c(e){return!!e.__k&&(Ot(null,e),!0)}function qc(e){return e&&(e.base||e.nodeType===1&&e)||null}var Yc=function(e,t){return e(t)},eu=function(e,t){return e(t)},tu=Xe;function Pl(e){e()}function nu(e){return e}function ru(){return[!1,Pl]}var ou=Zr;function iu(e,t){var n=t(),r=Dl({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Zr(function(){o.__=n,o.v=t,go(o.__,t())||i({h:o})},[e,n,t]),hn(function(){return go(o.__,o.v())||i({h:o}),e(function(){go(o.__,o.v())||i({h:o})})},[e]),n}var Hl={useState:Dl,useId:Sc,useReducer:Yo,useEffect:hn,useLayoutEffect:Zr,useInsertionEffect:ou,useTransition:ru,useDeferredValue:nu,useSyncExternalStore:iu,startTransition:Pl,useRef:Wn,useImperativeHandle:Fl,useMemo:_t,useCallback:ve,useContext:xc,useDebugValue:Cc,version:"17.0.2",Children:Mc,render:Lc,hydrate:zc,unmountComponentAtNode:$c,createPortal:Bc,createElement:m,createContext:Ec,createFactory:Jc,cloneElement:Xc,createRef:yc,Fragment:Xe,isValidElement:Bl,findDOMNode:qc,Component:it,PureComponent:Io,memo:kc,forwardRef:Ml,flushSync:eu,unstable_batchedUpdates:Yc,StrictMode:tu,Suspense:Cr,SuspenseList:Gn,lazy:Rc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kc};class wn{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ct(this.value)}Equals(t){return t==null?!1:st(this.value,t instanceof wn?t.value:t)}CompareTo(t){return t==null?1:ct(this.value,t instanceof wn?t.value:t)}}function ee(e){if(e==null)throw new Error("Option has no value");return e instanceof wn?e.value:e}function at(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function su(e){return e!=null&&typeof e.GetEnumerator=="function"}function lu(e){return e!=null&&typeof e.CompareTo=="function"}function au(e){return e!=null&&typeof e.Equals=="function"}function cu(e){return e!=null&&typeof e.GetHashCode=="function"}function jl(e){return e!=null&&typeof e.Dispose=="function"}function K(e){jl(e)&&e.Dispose()}function Nt(){return null}function Tr(e,t){var n,r;return((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===((r=Object.getPrototypeOf(t))===null||r===void 0?void 0:r.constructor)}class uu{constructor(t){this.iter=t,this.current=Nt()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function be(e){return su(e)?e.GetEnumerator():new uu(e[Symbol.iterator]())}function Kr(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function nt(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function es(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function fu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function Rt(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class It{static id(t){return It.idMap.has(t)||It.idMap.set(t,++It.count),It.idMap.get(t)}}It.idMap=new WeakMap;It.count=0;function Vl(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function yt(e){return e*2654435761|0}function Dn(e){return e.length===0?0:e.reduce((t,n)=>(t<<5)+t^n)}function du(e){return e.getTime()}function pu(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ct(e[r]);return Dn(n)}function Ct(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return yt(e);case"string":return Vl(e);default:{if(cu(e))return e.GetHashCode();if(at(e))return pu(e);if(e instanceof Date)return du(e);if(((t=Object.getPrototypeOf(e))===null||t===void 0?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ct(r));return Dn(n)}else return yt(It.id(e))}}}function Mo(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Ul(e,t){return Mo(e,t,st)}function hu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!st(e[n[o]],t[r[o]]))return!1;return!0}function st(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:au(e)?e.Equals(t):at(e)?at(t)&&Ul(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Ll(e,t)===0:((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===Object&&hu(e,t)}function Ll(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+es(e),r=t.getTime()+es(t)),n===r?0:n<r?-1:1}function _n(e,t){return e===t?0:e<t?-1:1}function gu(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function zl(e,t){return gu(e,t,ct)}function mu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=ct(e[s],t[s]),i!==0)return i}return 0}function ct(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:lu(e)?e.CompareTo(t):at(e)?at(t)?zl(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Ll(e,t):-1:((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===Object?mu(e,t):-1}function To(e,t,n){return e(t,n)>0?t:n}function Ee(e){const t={};for(const n of e)t[n[0]]=n[1];return t}const Ro=Symbol("curried");function $(e,t){if(t==null)return t;const n=ee(t);if(n.length>1)return n;const r=(...o)=>{let i=n;for(let s=0;s<e;s++)i=i(o[s]);return i};return r[Ro]=n,r}function Wl(e,t,n){return r=>t===1?n(...e.concat([r])):Wl(e.concat([r]),t-1,n)}function Fn(e,t,n){if(t!=null)if(Ro in t){t=t[Ro];for(let r=0;r<n.length;r++)t=t(n[r]);return t}else return Wl(n,e,t)}function wu(e){let t=0,n="[";for(const r of e){if(t===0)n+=Oe(r);else if(t===100){n+="; ...";break}else n+="; "+Oe(r);t++}return n+"]"}function Oe(e,t=0){var n,r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return wu(e);{const o=(n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map(([i,s])=>i+" = "+Oe(s,t+1)).join(`
|
|
2
|
-
`)+" }":(r=o==null?void 0:o.name)!==null&&r!==void 0?r:""}}return String(e)}function
|
|
3
|
-
`)+" }"}function bu(e){const t=Object.values(e).map(n=>Ct(n));return Dn(t)}function vu(e,t){if(e===t)return!0;if(Tr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!st(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Eu(e,t){if(e===t)return 0;if(Tr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=ct(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class le{toJSON(){return yu(this)}toString(){return Au(this)}GetHashCode(){return bu(this)}Equals(t){return vu(this,t)}CompareTo(t){return Eu(this,t)}}class Ge{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class xu{constructor(t){this.message=t}}function Cu(e){return e instanceof xu||e instanceof Error}function Su(e){return e instanceof Promise}function Rr(e){return Cu(e)||Su(e)?e:new Error(String(e))}const Pt=Symbol("numeric");function Gl(e){return typeof e=="number"||(e==null?void 0:e[Pt])}function Du(e,t){return typeof e=="number"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Oo(e,t){return typeof e=="number"?e*t:e[Pt]().multiply(t)}function Sr(e,t){return typeof e=="number"?e.toFixed(t):e[Pt]().toFixed(t)}function Or(e,t){return typeof e=="number"?e.toPrecision(t):e[Pt]().toPrecision(t)}function Nr(e,t){return typeof e=="number"?e.toExponential(t):e[Pt]().toExponential(t)}function Br(e){return typeof e=="number"?(Number(e)>>>0).toString(16):e[Pt]().toHex()}var j={GetHashCode(){return Dn([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Pt](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},Fu=28,ku=1,Zt=1e6,ts=1e6,Iu=-29,Mu=29,Tu=!1,cr="[big.js] ",en=cr+"Invalid ",Jr=en+"decimal places",Ru=en+"rounding mode",Ql=cr+"Division by zero",lt=void 0,Ou=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Zl(){function e(t){var n=this;if(!(n instanceof e))return t===lt?Zl():new e(t);if(t instanceof e)n.s=t.s,n.e=t.e,n.c=t.c.slice(),Nu(n);else{if(typeof t!="string"){if(e.strict===!0)throw TypeError(en+"number");t=t===0&&1/t<0?"-0":String(t)}Bu(n,t)}n.constructor=e}return e.prototype=j,e.DP=Fu,e.RM=ku,e.NE=Iu,e.PE=Mu,e.strict=Tu,e}function Nu(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(n=>n);e.c=e.c.slice(t),e.e=e.e-t}}function Bu(e,t){var n,r,o;if(!Ou.test(t))throw Error(en+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&t.charAt(r)=="0";)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return e=Ht(e,Bt.DP+1,Bt.RM),e}function Ht(e,t,n,r){var o=e.c;if(n===lt&&(n=Bt.RM),n!==0&&n!==1&&n!==2&&n!==3)throw Error(Ru);if(t<1)r=n===3&&(r||!!o[0])||t===0&&(n===1&&o[0]>=5||n===2&&(o[0]>5||o[0]===5&&(r||o[1]!==lt))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex((s,l)=>l>=t&&s>0)<0;if(r=n===1&&o[t]>=5||n===2&&(o[t]>5||o[t]===5&&(r||o[t+1]!==lt||o[t-1]&1))||n===3&&(r||!i),o.length=t--,r)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function kn(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}j.abs=function(){var e=new this.constructor(this);return e.s=1,e};j.cmp=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.c,s=o.c,l=r.s,u=o.s,c=r.e,a=o.e;if(!i[0]||!s[0])return i[0]?l:s[0]?-u:0;if(l!=u)return l;if(t=l<0,c!=a)return c>a^t?1:-1;for(u=Math.max(i.length,s.length),l=0;l<u;l++)if(c=l<i.length?i[l]:0,a=l<s.length?s[l]:0,c!=a)return c>a^t?1:-1;return 0};j.div=function(r){var t=this.constructor,n=new t(this),r=new t(r),o=n.c,i=r.c,s=n.s==r.s?1:-1,l=t.DP;if(l!==~~l||l<0||l>Zt)throw Error(Jr);if(!i[0])throw Error(Ql);if(!o[0])return r.s=s,r.c=[r.e=0],r;var u,c,a,d,f,p=i.slice(),g=u=i.length,_=o.length,w=o.slice(0,u),A=w.length,S=r,te=S.c=[],oe=0,J=l+(S.e=n.e-r.e)+1;for(S.s=s,s=J<0?0:J,p.unshift(0);A++<u;)w.push(0);do{for(a=0;a<10;a++){if(u!=(A=w.length))d=u>A?1:-1;else for(f=-1,d=0;++f<u;)if(i[f]!=w[f]){d=i[f]>w[f]?1:-1;break}if(d<0){for(c=A==u?i:p;A;){if(w[--A]<c[A]){for(f=A;f&&!w[--f];)w[f]=9;--w[f],w[A]+=10}w[A]-=c[A]}for(;!w[0];)w.shift()}else break}te[oe++]=d?a:++a,w[0]&&d?w[A]=o[g]||0:w=[o[g]]}while((g++<_||w[0]!==lt)&&s--);return!te[0]&&oe!=1&&(te.shift(),S.e--,J--),oe>J&&Ht(S,J,t.RM,w[0]!==lt),S};j.eq=function(e){return this.cmp(e)===0};j.gt=function(e){return this.cmp(e)>0};j.gte=function(e){return this.cmp(e)>-1};j.lt=function(e){return this.cmp(e)<0};j.lte=function(e){return this.cmp(e)<1};j.minus=j.sub=function(l){var t,n,r,o,i=this.constructor,s=new i(this),l=new i(l),u=s.s,c=l.s;if(u!=c)return l.s=-c,s.plus(l);var a=s.c.slice(),d=s.e,f=l.c,p=l.e;if(!a[0]||!f[0])return f[0]?l.s=-c:a[0]?l=new i(s):l.s=1,l;if(u=d-p){for((o=u<0)?(u=-u,r=a):(p=d,r=f),r.reverse(),c=u;c--;)r.push(0);r.reverse()}else for(n=((o=a.length<f.length)?a:f).length,u=c=0;c<n;c++)if(a[c]!=f[c]){o=a[c]<f[c];break}if(o&&(r=a,a=f,f=r,l.s=-l.s),(c=(n=f.length)-(t=a.length))>0)for(;c--;)a[t++]=0;for(c=t;n>u;){if(a[--n]<f[n]){for(t=n;t&&!a[--t];)a[t]=9;--a[t],a[n]+=10}a[n]-=f[n]}for(;a[--c]===0;)a.pop();for(;a[0]===0;)a.shift(),--p;return a[0]||(l.s=1,a=[p=0]),l.c=a,l.e=p,l};j.mod=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.s,s=o.s;if(!o.c[0])throw Error(Ql);return r.s=o.s=1,t=o.cmp(r)==1,r.s=i,o.s=s,t?new n(r):(i=n.DP,s=n.RM,n.DP=n.RM=0,r=r.div(o),n.DP=i,n.RM=s,this.minus(r.times(o)))};j.plus=j.add=function(s){var t,n,r,o=this.constructor,i=new o(this),s=new o(s);if(i.s!=s.s)return s.s=-s.s,i.minus(s);var l=i.e,u=i.c,c=s.e,a=s.c;if(!u[0]||!a[0])return a[0]||(u[0]?s=new o(i):s.s=i.s),s;if(u=u.slice(),t=l-c){for(t>0?(c=l,r=a):(t=-t,r=u),r.reverse();t--;)r.push(0);r.reverse()}for(u.length-a.length<0&&(r=a,a=u,u=r),t=a.length,n=0;t;u[t]%=10)n=(u[--t]=u[t]+a[t]+n)/10|0;for(n&&(u.unshift(n),++c),t=u.length;u[--t]===0;)u.pop();return s.c=u,s.e=c,s};j.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-ts||e>ts)throw Error(en+"exponent");for(i&&(e=-e);e&1&&(r=r.times(n)),e>>=1,!!e;)n=n.times(n);return i?o.div(r):r};j.prec=function(e,t){if(e!==~~e||e<1||e>Zt)throw Error(en+"precision");return Ht(new this.constructor(this),e,t)};j.round=function(e,t){if(e===lt)e=0;else if(e!==~~e||e<-Zt||e>Zt)throw Error(Jr);return Ht(new this.constructor(this),e+this.e+1,t)};j.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),i=o.s,s=o.e,l=new r("0.5");if(!o.c[0])return new r(o);if(i<0)throw Error(cr+"No square root");i=Math.sqrt(o+""),i===0||i===1/0?(t=o.c.join(""),t.length+s&1||(t+="0"),i=Math.sqrt(t),s=((s+1)/2|0)-(s<0||s&1),e=new r((i==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+s)):e=new r(i+""),s=e.e+(r.DP+=4);do n=e,e=l.times(n.plus(o.div(n)));while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return Ht(e,(r.DP-=4)+e.e+1,r.RM)};j.times=j.mul=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.c,s=o.c,l=i.length,u=s.length,c=r.e,a=o.e;if(o.s=r.s==o.s?1:-1,!i[0]||!s[0])return o.c=[o.e=0],o;for(o.e=c+a,l<u&&(t=i,i=s,s=t,a=l,l=u,u=a),t=new Array(a=l+u);a--;)t[a]=0;for(c=u;c--;){for(u=0,a=l+c;a>c;)u=t[a]+s[c]*i[a-c-1]+u,t[a--]=u%10,u=u/10|0;t[a]=u}for(u?++o.e:t.shift(),c=t.length;!t[--c];)t.pop();return o.c=t,o};j.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==lt){if(e!==~~e||e<0||e>Zt)throw Error(Jr);for(n=Ht(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return kn(n,!0,!!r)};j.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==lt){if(e!==~~e||e<0||e>Zt)throw Error(Jr);for(n=Ht(new n.constructor(n),e+n.e+1,t),e=e+n.e+1;n.c.length<e;)n.c.push(0)}return kn(n,!1,!!r)};j.toJSON=j.toString=function(){var e=this,t=e.constructor;return kn(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])};j.toNumber=function(){var e=Number(kn(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(cr+"Imprecise conversion");return e};j.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(e!==lt){if(e!==~~e||e<1||e>Zt)throw Error(en+"precision");for(n=Ht(new r(n),e,t);n.c.length<e;)n.c.push(0)}return kn(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)};j.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(cr+"valueOf disallowed");return kn(e,e.e<=t.NE||e.e>=t.PE,!0)};var Bt=Zl();new Bt(0);new Bt(1);new Bt(-1);new Bt("79228162514264337593543950335");new Bt("-79228162514264337593543950335");var No;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(No||(No={}));function Pu(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function ns(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Hu(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function ju(e,t){if(t&No.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function Vu(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,i,s]=o;if(n=n||ju(i,t),!Hu(n).test(s))return Pu(o,n)}return null}function Uu(e,t,n,r,o){const i=Vu(e,t,o);if(i!=null){let s=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(s)){const[l,u]=ns(!0,r);!n&&i.radix!==10&&s>=l&&s<=u&&(s=s<<32-r>>32-r);const[c,a]=ns(n,r);if(s>=c&&s<=a)return s}}throw new Error("Input string was not in a correct format.")}function In(e,t,n,r,o){try{return o.contents=Uu(e,t,n,r),!0}catch{return!1}}function Lu(e){return e===-2147483648?e:-e}var He=null;try{He=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function $e(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}$e.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e};$e.prototype.Equals=function(e){return Be(this,e)};$e.prototype.CompareTo=function(e){return ur(this,e)};$e.prototype.toString=function(e){return er(this,e)};$e.prototype.toJSON=function(){return er(this)};$e.prototype[Pt]=function(){const e=this;return{multiply:t=>Te(e,t),toPrecision:t=>String(e)+0 .toPrecision(t).substr(1),toExponential:t=>String(e)+0 .toExponential(t).substr(1),toFixed:t=>String(e)+0 .toFixed(t).substr(1),toHex:()=>er(e.unsigned?e:of(tf(e),!0),16)}};$e.prototype.__isLong__;Object.defineProperty($e.prototype,"__isLong__",{value:!0});function qe(e){return(e&&e.__isLong__)===!0}var rs={},os={};function Mn(e,t){var n,r,o;return t?(e>>>=0,(o=0<=e&&e<256)&&(r=os[e],r)?r:(n=W(e,(e|0)<0?-1:0,!0),o&&(os[e]=n),n)):(e|=0,(o=-128<=e&&e<128)&&(r=rs[e],r)?r:(n=W(e,e<0?-1:0,!1),o&&(rs[e]=n),n))}function Ke(e,t){if(isNaN(e))return t?Mt:Je;if(t){if(e<0)return Mt;if(e>=Jl)return Qu}else{if(e<=-ss)return je;if(e+1>=ss)return Gu}return e<0?fe(Ke(-e,t)):W(e%yn|0,e/yn|0,t)}function W(e,t,n){return new $e(e,t,n)}var Pr=Math.pow;function Kl(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return Je;if(typeof t=="number"?(n=t,t=!1):t=!!t,n=n||10,n<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(r===0)return fe(Kl(e.substring(1),t,n));for(var o=Ke(Pr(n,8)),i=Je,s=0;s<e.length;s+=8){var l=Math.min(8,e.length-s),u=parseInt(e.substring(s,s+l),n);if(l<8){var c=Ke(Pr(n,l));i=Kt(Te(i,c),Ke(u))}else i=Te(i,o),i=Kt(i,Ke(u))}return i.unsigned=t,i}function jt(e,t){return typeof e=="number"?Ke(e,t):typeof e=="string"?Kl(e,t):W(e.low,e.high,typeof t=="boolean"?t:e.unsigned)}var is=1<<16,zu=1<<24,yn=is*is,Jl=yn*yn,ss=Jl/2,ls=Mn(zu),Je=Mn(0),Mt=Mn(0,!0),Qn=Mn(1),Wu=Mn(1,!0),as=Mn(-1),Gu=W(-1,2147483647,!1),Qu=W(-1,-1,!0),je=W(0,-2147483648,!1);function An(e){return e.unsigned?e.low>>>0:e.low}function Yn(e){return e.unsigned?(e.high>>>0)*yn+(e.low>>>0):e.high*yn+(e.low>>>0)}function er(e,t){if(t=t||10,t<2||36<t)throw RangeError("radix");if(Gt(e))return"0";if(Pe(e))if(Be(e,je)){var n=Ke(t),r=At(e,n),o=bn(Te(r,n),e);return er(r,t)+An(o).toString(t)}else return"-"+er(fe(e),t);for(var i=Ke(Pr(t,6),e.unsigned),s=e,l="";;){var u=At(s,i),c=An(bn(s,Te(u,i)))>>>0,a=c.toString(t);if(s=u,Gt(s))return a+l;for(;a.length<6;)a="0"+a;l=""+a+l}}function Gt(e){return e.high===0&&e.low===0}function Pe(e){return!e.unsigned&&e.high<0}function cs(e){return(e.low&1)===1}function Be(e,t){return qe(t)||(t=jt(t)),e.unsigned!==t.unsigned&&e.high>>>31===1&&t.high>>>31===1?!1:e.high===t.high&&e.low===t.low}function us(e,t){return ur(e,t)<0}function mo(e,t){return ur(e,t)>0}function Zu(e,t){return ur(e,t)>=0}function ur(e,t){if(qe(t)||(t=jt(t)),Be(e,t))return 0;var n=Pe(e),r=Pe(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:Pe(bn(e,t))?-1:1}function fe(e){return!e.unsigned&&Be(e,je)?je:Kt(Ju(e),Qn)}function Kt(e,t){qe(t)||(t=jt(t));var n=e.high>>>16,r=e.high&65535,o=e.low>>>16,i=e.low&65535,s=t.high>>>16,l=t.high&65535,u=t.low>>>16,c=t.low&65535,a=0,d=0,f=0,p=0;return p+=i+c,f+=p>>>16,p&=65535,f+=o+u,d+=f>>>16,f&=65535,d+=r+l,a+=d>>>16,d&=65535,a+=n+s,a&=65535,W(f<<16|p,a<<16|d,e.unsigned)}function bn(e,t){return qe(t)||(t=jt(t)),Kt(e,fe(t))}function Te(e,t){if(Gt(e))return e.unsigned?Mt:Je;if(qe(t)||(t=jt(t)),He){var n=He.mul(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}if(Gt(t))return e.unsigned?Mt:Je;if(Be(e,je))return cs(t)?je:Je;if(Be(t,je))return cs(e)?je:Je;if(Pe(e))return Pe(t)?Te(fe(e),fe(t)):fe(Te(fe(e),t));if(Pe(t))return fe(Te(e,fe(t)));if(us(e,ls)&&us(t,ls))return Ke(Yn(e)*Yn(t),e.unsigned);var r=e.high>>>16,o=e.high&65535,i=e.low>>>16,s=e.low&65535,l=t.high>>>16,u=t.high&65535,c=t.low>>>16,a=t.low&65535,d=0,f=0,p=0,g=0;return g+=s*a,p+=g>>>16,g&=65535,p+=i*a,f+=p>>>16,p&=65535,p+=s*c,f+=p>>>16,p&=65535,f+=o*a,d+=f>>>16,f&=65535,f+=i*c,d+=f>>>16,f&=65535,f+=s*u,d+=f>>>16,f&=65535,d+=r*a+o*c+i*u+s*l,d&=65535,W(p<<16|g,d<<16|f,e.unsigned)}function At(e,t){if(qe(t)||(t=jt(t)),Gt(t))throw Error("division by zero");if(He){if(!e.unsigned&&e.high===-2147483648&&t.low===-1&&t.high===-1)return e;var n=(e.unsigned?He.div_u:He.div_s)(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}if(Gt(e))return e.unsigned?Mt:Je;var r,o,i;if(e.unsigned){if(t.unsigned||(t=ef(t)),mo(t,e))return Mt;if(mo(t,Yu(e,1)))return Wu;i=Mt}else{if(Be(e,je)){if(Be(t,Qn)||Be(t,as))return je;if(Be(t,je))return Qn;var s=qu(e,1);return r=$u(At(s,t),1),Be(r,Je)?Pe(t)?Qn:as:(o=bn(e,Te(t,r)),i=Kt(r,At(o,t)),i)}else if(Be(t,je))return e.unsigned?Mt:Je;if(Pe(e))return Pe(t)?At(fe(e),fe(t)):fe(At(fe(e),t));if(Pe(t))return fe(At(e,fe(t)));i=Je}for(o=e;Zu(o,t);){r=Math.max(1,Math.floor(Yn(o)/Yn(t)));for(var l=Math.ceil(Math.log(r)/Math.LN2),u=l<=48?1:Pr(2,l-48),c=Ke(r),a=Te(c,t);Pe(a)||mo(a,o);)r-=u,c=Ke(r,e.unsigned),a=Te(c,t);Gt(c)&&(c=Qn),i=Kt(i,c),o=bn(o,a)}return i}function Ku(e,t){if(qe(t)||(t=jt(t)),He){var n=(e.unsigned?He.rem_u:He.rem_s)(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}return bn(e,Te(At(e,t),t))}function Ju(e){return W(~e.low,~e.high,e.unsigned)}function Xu(e,t){return qe(t)||(t=jt(t)),W(e.low&t.low,e.high&t.high,e.unsigned)}function $u(e,t){return qe(t)&&(t=An(t)),(t&=63)===0?e:t<32?W(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):W(0,e.low<<t-32,e.unsigned)}function qu(e,t){return qe(t)&&(t=An(t)),(t&=63)===0?e:t<32?W(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):W(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function Yu(e,t){if(qe(t)&&(t=An(t)),t&=63,t===0)return e;var n=e.high;if(t<32){var r=e.low;return W(r>>>t|n<<32-t,n>>>t,e.unsigned)}else return W(t===32?n:n>>>t-32,0,e.unsigned)}function ef(e){return e.unsigned?e:W(e.low,e.high,!0)}function tf(e,t){return t?nf(e):rf(e)}function nf(e){var t=e.high,n=e.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}function rf(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,n>>>24,n>>>16&255,n>>>8&255,n&255]}function of(e,t,n){return n?sf(e,t):lf(e,t)}function sf(e,t){return new $e(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}function lf(e,t){return new $e(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}const Ue=Kt,Le=Te,ut=At,af=Ku,cf=fe,Tn=Xu,Xr=ur,de=W,ft=An,uf=Yn;function Y(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0;break}return W(r,o>>31,t)}class ff{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class N{constructor(t,n,r,o,i,s,l){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=i,this.cases=s,this.enumCases=l}toString(){return ue(this)}GetHashCode(){return Xl(this)}Equals(t){return Bo(this,t)}}function kt(e){return e.generics!=null?e.generics:[]}function Xl(e){const t=Vl(e.fullname),n=kt(e).map(Xl);return Dn([t,...n])}function Bo(e,t){return e.fullname===""?t.fullname===""&&Mo(Hr(e),Hr(t),([n,r],[o,i])=>n===o&&Bo(r,i)):e.fullname===t.fullname&&Mo(kt(e),kt(t),Bo)}function tr(e,t,n,r){return new N(e,t,n,r)}function tn(e,t,n,r){return new N(e,t,n,void 0,r)}function df(e,t,n,r){const o=new N(e,t,n,void 0,void 0,()=>{const i=n.prototype.cases();return r().map((s,l)=>new ff(o,l,i[l],s))});return o}function ni(e){return new N("Microsoft.FSharp.Core.FSharpOption`1",[e])}function $r(e){return new N("Microsoft.FSharp.Collections.FSharpList`1",[e])}const pf=new N("System.Object");new N("Microsoft.FSharp.Core.Unit");new N("System.Char");const dt=new N("System.String");new N("System.Boolean");new N("System.SByte");new N("System.Byte");new N("System.Int16");new N("System.UInt16");const me=new N("System.Int32");new N("System.UInt32");new N("System.Int64");new N("System.UInt64");new N("System.Int128");new N("System.UInt128");new N("System.IntPtr");new N("System.UIntPtr");new N("System.Half");new N("System.Single");new N("System.Double");new N("System.Decimal");new N("System.Numerics.BigInteger");function ri(e){if(Array.isArray(e))return e[0];if(e instanceof N){const t=qr(e);if(t!=null)return ri(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function ue(e){const t=qr(e);return t!=null?ue(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>ue(n)).join(",")+"]"}function hf(e){return qr(e)!=null}function qr(e){var t;return e.fullname==="[]"&&((t=e.generics)===null||t===void 0?void 0:t.length)===1?e.generics[0]:void 0}function gf(e){return e.generics!=null&&e.generics.length>0}function $l(e){return e.enumCases!=null&&e.enumCases.length>0}function mf(e){return e.generics==null?e:new N(e.fullname,e.generics.map(()=>pf))}function wf(e){var t;return(t=e.generics)===null||t===void 0?void 0:t[0]}function cn(e){if($l(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function _f(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function un(e,t){const n=parseInt(t,10);return _f(e,isNaN(n)?t:n)[1]}function yf(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Hr(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Af(e){if(ql(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function bf(e){return e instanceof N?e.cases!=null:e instanceof re}function vf(e){return e instanceof N?e.fields!=null:e instanceof le}function ql(e){return e.fullname.startsWith("System.Tuple")}function Ef(e){return e.fields==null?[]:e.fields}function fs(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return e.declaringType.construct!=null?new e.declaringType.construct(e.tag,t):{}}function xf(e,t){const n=Hr(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,i],s)=>(r[o]=t[s],r),{})}function Cf(e,t){return e}function oi(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+nt(n,2)+":"+nt(r,2)}function jr(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Sf(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return nt(e.getFullYear(),4)+"-"+nt(e.getMonth()+1,2)+"-"+nt(e.getDate(),2)+"T"+nt(e.getHours(),2)+":"+nt(e.getMinutes(),2)+":"+nt(e.getSeconds(),2)+"."+nt(e.getMilliseconds(),3)+(n?oi(e.getTimezoneOffset()*-6e4):"")}}function Df(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+oi(t)}function Yl(e,t,n){return t.replace(/(\w)\1*/g,r=>{let o=Number.NaN;switch(r.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();o=r.length<4?i%100:i;break;case"M":o=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":o=n?e.getUTCDate():e.getDate();break;case"H":o=n?e.getUTCHours():e.getHours();break;case"h":const s=n?e.getUTCHours():e.getHours();o=s>12?s%12:s;break;case"m":o=n?e.getUTCMinutes():e.getMinutes();break;case"s":o=n?e.getUTCSeconds():e.getSeconds();break;case"f":o=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(o)?r:nt(o,r.length)})}function Ff(e,t){var n,r,o;const i=new Date(e.getTime()+((n=e.offset)!==null&&n!==void 0?n:0));if(typeof t!="string")return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+oi((r=e.offset)!==null&&r!==void 0?r:0);if(t.length===1)switch(t){case"D":case"d":return jr(i,"first");case"T":case"t":return jr(i,"second");case"O":case"o":return Df(i,(o=e.offset)!==null&&o!==void 0?o:0);default:throw new Error("Unrecognized Date print format")}else return Yl(i,t,!0)}function kf(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?jr(e,"first"):e.toLocaleDateString();case"T":case"t":return n?jr(e,"second"):e.toLocaleTimeString();case"O":case"o":return Sf(e,n);default:throw new Error("Unrecognized Date print format")}else return Yl(e,t,n)}function ea(e,t,n){return e.offset!=null?Ff(e,t):kf(e,t)}function ii(e,t){const n=new Date(e);return n.kind=(t==null?0:t)|0,n}function If(){return ii(-621355968e5,0)}function ta(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(o!=null){let i,s=0;if(o[2]!=null){const l=o[2].split(":");s=parseInt(l[0],10)*3600+parseInt(l[1]||"0",10)*60+parseFloat(l[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&(s+=720)}if(o[4]!=null){if(o[1]!=null)i=new Date(o[1]+" UTC");else{const l=new Date;i=new Date(l.getUTCFullYear()+"/"+(l.getUTCMonth()+1)+"/"+l.getUTCDate())}if(o[4]==="Z")r="Z";else{let l=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(l*=-1),r=l,s-=l*60}}else if(o[1]!=null)i=new Date(o[1]);else{const l=new Date;i=new Date(l.getFullYear()+"/"+(l.getMonth()+1)+"/"+l.getDate())}n=new Date(i.getTime()+s*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-i.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function Mf(e,t=!1){const[n,r]=ta(e),o=r!=null?t&&r==="Z"?1:2:0;return ii(n.getTime(),o)}function Tf(e,t){try{return t.contents=Mf(e),!0}catch{return!1}}function Rf(e){return e.kind===1?e:ii(e.getTime(),1)}function Of(e,t=0){if((t&-284)!==0)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function si(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function ds(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;(o=e.exec(t))!=null;)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Nf(e,t,n,r,o=0){function i(){let s=arguments[0];if(r){r--;const l=[],u=arguments.length,c=typeof arguments[u-1]!="string";let a=c?u-3:u-2;for(let d=0;d<a;d++)l.push(arguments[d]);l.index=arguments[a++],l.input=arguments[a++],c&&(l.groups=arguments[a]),s=n(l)}return s}if(typeof e=="string"){const s=e;e=Of(t,r!=null?r:0),t=s,r=void 0}if(typeof n=="function")return r=r==null?-1:r,t.substring(0,o)+t.substring(o).replace(e,i);if(n=n.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let s;const l=t.substring(o),u=ds(e,l),c=ds.length>r?(s=u[r-1],l.substring(0,s.index+s[0].length)):l;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}else return t.replace(e,n)}const Ln=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Bf=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function na(e,t){return Du(e,t)<0}function nn(e){return{input:e,cont:jf(e)}}function ra(e,t){return typeof t=="string"?e(t):t.cont(e)}function Rn(e){return ra(t=>t,e)}function Pf(e){return ra(t=>{throw new Error(t)},e)}function Hf(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Gl(e))switch(o.toLowerCase()!=="x"&&(na(e,0)?(e=Oo(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r!=null?r:6,e=Sr(e,r);break;case"g":case"G":e=r!=null?Or(e,r):Or(e);break;case"e":case"E":e=r!=null?Nr(e,r):Nr(e);break;case"x":e=Br(e);break;case"X":e=Br(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=ea(e):e=Oe(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=i+e;else{const s=t.indexOf("0")>=0,l=t.indexOf("-")>=0,u=l||!s?" ":"0";u==="0"?(e=nr(e,n-i.length,u,l),e=i+e):e=nr(i+e,n,u,l)}return e}function oa(e,t,n,r="",o=-1){return(...i)=>{let s=r;const l=t.slice(),u=n.slice();for(const c of i){const[,,a,d,f,p]=u[0];let g=d;if(o>=0)g=o,o=-1;else if(g==="*"){if(c<0)throw new Error("Non-negative number required");o=c;continue}s+=l[0],s+=Hf(c,a,g,f,p),l.splice(0,1),u.splice(0,1)}return u.length===0?(s+=l[0],e(s)):oa(e,l,u,s,o)}}function jf(e){return t=>{Ln.lastIndex=0;const n=[],r=[];let o=0,i=Ln.exec(e);for(;i;){const s=i.index+(i[1]||"").length;n.push(e.substring(o,s).replace(/%%/g,"%")),r.push(i),o=Ln.lastIndex,Ln.lastIndex-=1,i=Ln.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),oa(t,n,r))}}function Vf(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(Bf,(r,o,i,s,l,u)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let c=t[o];if(Gl(c))switch(l=l==null?null:parseInt(l,10),s){case"f":case"F":l=l!=null?l:2,c=Sr(c,l);break;case"g":case"G":c=l!=null?Or(c,l):Or(c);break;case"e":case"E":c=l!=null?Nr(c,l):Nr(c);break;case"p":case"P":l=l!=null?l:2,c=Sr(Oo(c,100),l)+" %";break;case"d":case"D":c=l!=null?wo(String(c),l,"0"):String(c);break;case"x":case"X":c=l!=null?wo(Br(c),l,"0"):Br(c),s==="X"&&(c=c.toUpperCase());break;default:if(u){let a="";c=u.replace(/([0#,]+)(\.[0#]+)?/,(d,f,p)=>{na(c,0)&&(c=Oo(c,-1),a="-"),p=p==null?"":p.substring(1),c=Sr(c,Math.max(p.length,0));let[g,_]=c.split(".");_||(_="");const w=f.replace(/,/g,"").replace(/^#+/,"").length;g=wo(g,w,"0");const A=p.replace(/#+$/,"").length;if(A>_.length?_=Lf(_,A,"0"):A<_.length&&(_=_.substring(0,A)+_.substring(A).replace(/0+$/,"")),f.indexOf(",")>0){const S=g.length%3,te=Math.floor(g.length/3);let oe=S>0?g.substr(0,S)+(te>0?",":""):"";for(let J=0;J<te;J++)oe+=g.substr(S+J*3,3)+(J<te-1?",":"");g=oe}return _.length>0?g+"."+_:g}),c=a+c}}else c instanceof Date?c=ea(c,u||s):c=Oe(c);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(c=nr(String(c),Math.abs(i)," ",i<0)),c})}function Uf(e){return typeof e!="string"||e.length===0}function St(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function nr(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function wo(e,t,n){return nr(e,t,n)}function Lf(e,t,n){return nr(e,t,n,!0)}function zf(e,t,n){return e.replace(new RegExp(si(t),"g"),n)}function Wf(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,i=(r&2)===2;t=t||[],t=t.filter(a=>a).map(si),t=t.length>0?t:["\\s"];const s=[],l=new RegExp(t.join("|"),"g");let u=!0,c=0;do{const a=l.exec(e);if(a===null){const d=i?e.substring(c).trim():e.substring(c);(!o||d.length>0)&&s.push(d),u=!1}else{const d=i?e.substring(c,a.index).trim():e.substring(c,a.index);(!o||d.length>0)&&(n!=null&&s.length+1===n?(s.push(i?e.substring(c).trim():e.substring(c)),u=!1):s.push(d)),c=l.lastIndex}}while(u);return s}function Gf(e,...t){if(t.length===0)return e.trim();const n="["+si(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const ia="Collection was empty.";function Re(e){return e==null||e instanceof wn?new wn(e):e}function sa(e,t){return e!=null?ee(e):t}function li(e,t){return typeof e=="function"?new e(t):new Array(t)}function Qf(){throw new Error("Arrays had different lengths")}function ai(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function vn(e,t,n){const r=t.length|0,o=li(n,r);for(let i=0;i<=r-1;i++)o[i]=e(t[i]);return o}function Zf(e,t){const n=li(t,1);return n[0]=e,n}function On(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=li(n,e);for(let o=0;o<=e-1;o++)r[o]=t(o);return r}function Kf(e){return e.slice()}function Jf(e,t){return t.find(e)}function Xf(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const i=e(t[o]);if(i!=null){const s=ee(i);r.push(s)}}return st(n,Nt())?r:vn(o=>o,r,n)}function ci(e,t,n){return n.reduce(e,t)}function $f(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}function qf(e,t,n,r){let o=r;t.length!==n.length&&Qf();const i=t.length|0;for(let s=1;s<=i;s++)o=e(s-1,t[i-s],n[i-s],o);return o}function Yf(e,t,n,r){return qf((o,i,s,l)=>e(i,s,l),t,n,r)}class pt extends le{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+St("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,i)=>{e:for(;;){const s=o,l=i,u=s.tail,c=l.tail;if(u!=null)if(c!=null){const a=u,d=c;if(st(s.head,l.head)){o=a,i=d;continue e}else return!1}else return!1;else return c==null}})(n,t)}GetHashCode(){return((r,o,i)=>{e:for(;;){const s=r,l=o,u=i,c=u.tail;if(c!=null){const a=c;if(s>18)return l|0;r=s+1,o=(l<<1)+Ct(u.head)+631*s,i=a;continue e}else return l|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const s=o,l=i,u=s.tail,c=l.tail;if(u!=null)if(c!=null){const a=u,d=c,f=ct(s.head,l.head)|0;if(f===0){o=a,i=d;continue e}else return f|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return td(this)}[Symbol.iterator](){return Kr(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return be(this)}}class ed{constructor(t){this.xs=t,this.it=this.xs,this.current=Nt()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=n;return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Nt()}Dispose(){}}function td(e){return new ed(e)}function ht(){return new pt(Nt(),void 0)}function fr(e,t){return new pt(e,t)}function ui(e){return e.tail==null}function la(e){return((n,r)=>{e:for(;;){const o=n,s=r.tail;if(s!=null){n=o+1,r=s;continue e}else return o|0}})(0,e)|0}function aa(e){if(e.tail!=null)return e.head;throw new Error(ia+"\\nParameter name: list")}function Nn(e){const t=e.tail;if(t!=null)return t;throw new Error(ia+"\\nParameter name: list")}function ze(){return ht()}function Me(e,t){return fr(e,t)}function We(e){return fr(e,ht())}function R(e){return ui(e)}function nd(e){return la(e)}function E(e){return aa(e)}function T(e){return Nn(e)}function Yr(e){const t=la(e)|0,n=ai(new Array(t),0,t,null);return((o,i)=>{e:for(;;){const s=o,l=i;if(!ui(l)){n[s]=aa(l),o=s+1,i=Nn(l);continue e}break}})(0,e),n}function Vt(e,t,n){let r=t,o=n;for(;!ui(o);)r=e(r,E(o)),o=Nn(o);return r}function ca(e){return Vt((t,n)=>fr(n,t),ht(),e)}function ua(e,t){Vt((n,r)=>{e(r)},void 0,t)}function Q(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=fr(e[r],n);return n}function I(e){return Q(e,ht())}function rd(e){let t,n;if(at(e))return I(e);if(e instanceof pt)return e;{const r=ht();let o=r;const i=be(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new pt(u,void 0),t.tail=n,n)}}finally{K(i)}const s=o,l=ht();return s.tail=l,Nn(r)}}function fa(e){const t=ht();let n=t;const r=s=>{n=Vt((l,u)=>{const c=new pt(u,void 0);return l.tail=c,c},n,s)};if(at(e))e.forEach(r);else if(e instanceof pt)ua(r,e);else{const s=be(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)r(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{K(s)}}const o=n,i=ht();return o.tail=i,Nn(t)}function eo(e,t){return Vt((n,r)=>fr(r,n),t,ca(e))}function Po(e,t){const n=ht(),r=Vt((i,s)=>{const l=new pt(e(s),void 0);return i.tail=l,l},n,t),o=ht();return r.tail=o,Nn(n)}class h extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Dt(e,t){return t.tag===0?new h(0,[e(t.fields[0])]):new h(1,[t.fields[0]])}class da extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function od(e){return new da(0,[e])}function id(e){return new da(1,[e])}function sd(e){throw new Error(e)}const ld="Enumeration already finished.",ad="Enumeration has not started. Call MoveNext.",pa="The input sequence has an insufficient number of elements.",cd="Reset is not supported on this enumerator.";function ud(){throw new Error(cd)}function fi(){throw new Error(ad)}function Ho(){throw new Error(ld)}class fd{constructor(t){this.f=t}toString(){const t=this,n=4;let r=0,o="seq [";const i=be(t);try{for(;r<n&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(o=o+"; "),o=o+Oe(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===n&&(o=o+"; ..."),o+"]"}finally{K(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Kr(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function dd(e){return new fd(e)}class pd{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){ud()}Dispose(){this.dispose()}}function to(e,t,n){return new pd(e,t,n)}function hd(e){let t,n,r=!1,o=!1,i;const s=()=>{if(o=!0,n!=null){const l=n;try{K(l)}finally{n=void 0}}if(t!=null){const l=t;try{K(l)}finally{t=void 0}}};return to(()=>(r?o&&Ho():fi(),i!=null?ee(i):Ho()),()=>{let l;if(r||(r=!0),o)return!1;{let u;for(;u==null;){const c=t,a=n;if(c!=null)if(a!=null){const d=a;if(d["System.Collections.IEnumerator.MoveNext"]())i=Re(d["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{K(d)}finally{n=void 0}}else{const d=c;d["System.Collections.IEnumerator.MoveNext"]()?n=(l=d["System.Collections.Generic.IEnumerator`1.get_Current"](),be(l)):(s(),u=!1)}else t=be(e)}return ee(u)}},()=>{o||s()})}function gd(e,t){return to(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{K(t)}finally{e()}})}function ha(e,t,n){let r=!1,o,i=Re(e());const s=()=>{if(i!=null){const u=ee(i);try{n(u)}finally{i=void 0}}},l=()=>{try{s()}finally{o=void 0}};return to(()=>(r||fi(),o!=null?ee(o):Ho()),()=>{if(r||(r=!0),i!=null){const u=ee(i);let c;try{c=t(u)}catch(a){throw l(),a}return c!=null?(o=c,!0):(l(),!1)}else return!1},s)}function md(e,t){let n,r=t;return to(()=>{if(n!=null){const o=n[0];return n[1],o}else return fi()},()=>(n=e(r),n!=null?(n[0],r=n[1],!0):!1),()=>{})}function wd(e,t){t==null&&sd(e)}function Bn(e){return dd(e)}function Jt(e){return wd("source",e),be(e)}function O(e){return Bn(()=>be(e()))}function ga(e){return Bn(()=>hd(e))}function _d(e,t){return Bn(()=>md(e,t))}function ma(){return O(()=>new Array(0))}function M(e){return O(()=>Zf(e,null))}function bt(e){return at(e)?I(e):e instanceof pt?e:rd(e)}function yd(e,t,n){return Bn(()=>ha(e,t,n))}function Ad(e,t,n){return Bn(()=>{let r=-1;return ha(e,o=>(r=r+1|0,t(r,o)),n)})}function ce(e,t){return ga([e,t])}function bd(e,t,n){const r=Jt(t);try{const o=Jt(n);try{let i=0,s=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]();for(;i===0&&s&&l;)i=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,i===0&&(s=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]());return(i!==0?i:s?1:l?-1:0)|0}finally{K(o)}}finally{K(r)}}function fn(e,t,n){const r=Jt(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{K(r)}}function wa(e,t,n){const r=Jt(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{K(r)}}function _a(e,t){wa((n,r)=>{e(r)},void 0,t)}function Ve(e,t){return yd(()=>Jt(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?Re(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{K(n)})}function vd(e,t){return Bn(()=>{const n=Jt(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(pa+"\\nParameter name: source");return gd(()=>{},n)}catch(r){throw K(n),r}})}function Ed(e,t){return Ad(()=>Jt(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return Re(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(pa+"\\nParameter name: source")}else return},n=>{K(n)})}function ya(e,t){return O(()=>ga(Ve(e,t)))}class xd{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class no extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,no.prototype)}}class di{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>di.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function Et(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new no);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(Rr(n))}});else try{e(t)}catch(n){t.onError(Rr(n))}}}function Cd(e,t){return Et(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(Rr(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Sd(e){return Et(t=>t.onSuccess(e))}class Dd{Bind(t,n){return Cd(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return Et(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const i=n(o.value);return o=r.next(),i}))}Return(t){return Sd(t)}ReturnFrom(t){return t}TryFinally(t,n){return Et(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return Et(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(i){r.onError(Rr(i))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return Et(t=>t.onSuccess(void 0))}}const F=new Dd;class Aa extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ImportId"]}}function Fd(){return new Aa(0,[1])}(()=>{const e=Fd();return t=>Vt((n,r)=>new Aa(0,[1+To(_n,n.fields[0],r.fields[0])]),e,t)})();class kd extends le{constructor(t,n,r,o,i,s,l,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CompletedSuccessfully=i|0,this.CompletedFailed=s|0,this.NextRow=l,this.StartTime=u}}function Id(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ActiveImportDto",[],kd,()=>[["ImportId",me],["User",dt],["Filename",dt],["NumberOfRecords",me],["CompletedSuccessfully",me],["CompletedFailed",me],["NextRow",ni(me)],["StartTime",tr("System.DateTime")]])}class Md extends le{constructor(t,n,r,o,i,s,l,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.Succeeded=i|0,this.Failed=s|0,this.StartTime=l,this.StopTime=u}}function Td(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ImportHistoryDto",[],Md,()=>[["ImportId",me],["User",dt],["Filename",dt],["NumberOfRecords",me],["Succeeded",me],["Failed",me],["StartTime",tr("System.DateTime")],["StopTime",tr("System.DateTime")]])}class ba extends le{constructor(t,n){super(),this.ActiveImport=t,this.ImportHistory=n}}function va(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.AccountImportsDto",[],ba,()=>[["ActiveImport",ni(Id())],["ImportHistory",$r(Td())]])}new ba(void 0,ze());class Rd extends le{constructor(t,n){super(),this.Column=t,this.Message=n}}function Od(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.FieldError",[],Rd,()=>[["Column",dt],["Message",dt]])}class Nd extends le{constructor(t,n){super(),this.RowId=t|0,this.FieldErrors=n}}function Bd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.RowValidationError",[],Nd,()=>[["RowId",me],["FieldErrors",$r(Od())]])}class Pd extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["InvalidFileContentType","InvalidFileName","ExceedsMaxRows","FileFormatError","NoData","NoFile","MultipleFiles","RowValidationErrors","UnknownAccount"]}}function Hd(){return df("Basic.Profile.Domain.Import.Api.Admin.Read.PostImportError",[],Pd,()=>[[],[],[],[["Item",dt]],[],[],[],[["Item",$r(Bd())]],[]])}class jd extends le{constructor(t,n,r,o,i,s,l,u,c,a){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.TotalRecordCount=o|0,this.SucceededRecordCount=i|0,this.FailedRecordCount=s|0,this.FailedRecords=l,this.RemainingRecordCount=u|0,this.StartTime=c,this.StopTime=a}}function Vd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ImportDto",[],jd,()=>[["ImportId",me],["User",dt],["Filename",dt],["TotalRecordCount",me],["SucceededRecordCount",me],["FailedRecordCount",me],["FailedRecords",$r(Ld())],["RemainingRecordCount",me],["StartTime",tr("System.DateTime")],["StopTime",ni(tr("System.DateTime"))]])}class Ud extends le{constructor(t,n){super(),this.RowId=t|0,this.Reason=n}}function Ld(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.FailedImportRecordDto",[],Ud,()=>[["RowId",me],["Reason",dt]])}class zd{constructor(){}}function Wd(){return new zd}function pi(e,t){return F.Delay(t)}const hi=Wd();function _o(e){}const Gd=new xd;function Qd(e){return Et(t=>{e({onSuccess:n=>t.onSuccess(od(n)),onError:n=>t.onSuccess(id(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Zd(e){return Et(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Kd(e){return Et(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new no)})})}function Jd(e,t){return $d(e,t)}function Xd(e,t){return Jd(e,t)}function $d(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const i=new di;e({onSuccess:t||_o,onError:n||_o,onCancel:r||_o,cancelToken:o||Gd,trampoline:i})}class ro extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class qd extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Header"]}}class Ea extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class dr extends le{constructor(t,n,r,o,i,s,l,u){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=i,this.overridenResponseType=s,this.timeout=l,this.content=u}}class dn extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class xa extends le{constructor(t,n,r,o,i,s){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=i,this.content=s}}class Ca{constructor(t,n){this.k=t,this.v=n}}function rr(e,t){return new Ca(e,t)}function ne(e){return e.k}function ye(e){return e.v}class q extends Ca{constructor(t,n,r,o,i){super(t,n),this.left=r,this.right=o,this.h=i|0}}function Xn(e,t,n,r,o){return new q(e,t,n,r,o)}function he(e){return e.left}function ge(e){return e.right}function Tt(e){return e.h}function Sa(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof q){e=Sa(n+1,he(o)),t=ge(o);continue e}else return n+1|0}else return n|0}}function Yd(e){return Sa(0,e)}function Qe(e,t,n,r){let o;const i=e;if(i!=null){const c=i;o=c instanceof q?Tt(c):1}else o=0;let s;const l=r;if(l!=null){const c=l;s=c instanceof q?Tt(c):1}else s=0;const u=(o<s?s:o)|0;return u===0?rr(t,n):Xn(t,n,e,r,u+1)}function ps(e,t,n,r){let o,i,s,l,u;const c=e;if(c!=null){const f=c;u=f instanceof q?Tt(f):1}else u=0;let a;const d=r;if(d!=null){const f=d;a=f instanceof q?Tt(f):1}else a=0;if(a>u+2){const f=ee(r);if(f instanceof q)if(o=he(f),(o!=null?(i=o,i instanceof q?Tt(i):1):0)>u+1){const p=ee(he(f));if(p instanceof q)return Qe(Qe(e,t,n,he(p)),ne(p),ye(p),Qe(ge(p),ne(f),ye(f),ge(f)));throw new Error("internal error: Map.rebalance")}else return Qe(Qe(e,t,n,he(f)),ne(f),ye(f),ge(f));else throw new Error("internal error: Map.rebalance")}else if(u>a+2){const f=ee(e);if(f instanceof q)if(s=ge(f),(s!=null?(l=s,l instanceof q?Tt(l):1):0)>a+1){const p=ee(ge(f));if(p instanceof q)return Qe(Qe(he(f),ne(f),ye(f),he(p)),ne(p),ye(p),Qe(ge(p),t,n,r));throw new Error("internal error: Map.rebalance")}else return Qe(he(f),ne(f),ye(f),Qe(ge(f),t,n,r));else throw new Error("internal error: Map.rebalance")}else return Qe(e,t,n,r)}function En(e,t,n,r){if(r!=null){const o=r,i=e.Compare(t,ne(o))|0;return o instanceof q?i<0?ps(En(e,t,n,he(o)),ne(o),ye(o),ge(o)):i===0?Xn(t,n,he(o),ge(o),Tt(o)):ps(he(o),ne(o),ye(o),En(e,t,n,ge(o))):i<0?Xn(t,n,void 0,r,2):i===0?rr(t,n):Xn(t,n,r,void 0,2)}else return rr(t,n)}function Da(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,ne(s))|0;if(l===0)return Re(ye(s));if(s instanceof q){e=r,t=o,n=l<0?he(s):ge(s);continue e}else return}else return}}function ep(e,t,n){const r=Da(e,t,n);if(r==null)throw new Error;return ee(r)}function tp(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,ne(s))|0;if(s instanceof q)if(l<0){e=r,t=o,n=he(s);continue e}else{if(l===0)return!0;e=r,t=o,n=ge(s);continue e}else return l===0}else return!1}}function Fa(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof q){Fa(n,he(o)),n(ne(o),ye(o)),e=n,t=ge(o);continue e}else n(ne(o),ye(o))}break}}function np(e,t){Fa(e,t)}function jo(e,t){if(t!=null){const n=t;if(n instanceof q){const r=jo(e,he(n)),o=e(ne(n),ye(n)),i=jo(e,ge(n));return Xn(ne(n),o,r,i,Tt(n))}else return rr(ne(n),e(ne(n),ye(n)))}else return void 0}function rp(e,t){return jo(e,t)}function op(e,t,n){let r=n;np((o,i)=>{t[r]=[o,i],r=r+1|0},e)}function ip(e,t){return Vt((n,r)=>En(e,r[0],r[1],n),void 0,t)}function sp(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=En(r,s[0],s[1],o),n=i;continue e}else return o}}function lp(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=En(e,o[0],o[1],n)}return n}function ka(e,t){if(at(t))return lp(e,t);if(t instanceof pt)return ip(e,t);{const n=be(t);try{return sp(e,void 0,n)}finally{K(n)}}}class ap extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function Ia(e){e:for(;;){const t=e;if(R(t))return ze();{const n=T(t),r=E(t);if(r!=null){const o=r;if(o instanceof q){e=Q([he(o),rr(ne(o),ye(o)),ge(o)],n);continue e}else return t}else{e=n;continue e}}}}function hs(e){return new ap(Ia(We(e)),!1)}function cp(){throw new Error("enumeration not started")}function up(){throw new Error("enumeration already finished")}function gs(e){if(e.started){const t=e.stack;if(R(t))return up();if(E(t)!=null){const n=E(t);if(n instanceof q)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ne(n),ye(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return cp()}function fp(e){if(e.started){const t=e.stack;if(R(t))return!1;if(E(t)!=null){if(E(t)instanceof q)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Ia(T(t)),!R(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!R(e.stack)}function ms(e){let t=hs(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return gs(t)},"System.Collections.IEnumerator.get_Current"(){return gs(t)},"System.Collections.IEnumerator.MoveNext"(){return fp(t)},"System.Collections.IEnumerator.Reset"(){t=hs(e)},Dispose(){}}}class Vr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return mp(this)|0}Equals(t){const n=this;if(t instanceof Vr){const r=be(n);try{const o=be(t);try{const i=()=>{const s=r["System.Collections.IEnumerator.MoveNext"]();if(s===o["System.Collections.IEnumerator.MoveNext"]())if(s){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"](),u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return st(l[0],u[0])&&st(l[1],u[1])?i():!1}else return!0;else return!1};return i()}finally{K(o)}}finally{K(r)}}else return!1}toString(){return"map ["+St("; ",Ve(n=>Vf("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return ms(this.tree)}[Symbol.iterator](){return Kr(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return ms(this.tree)}CompareTo(t){const n=this;if(t instanceof Vr)return bd((r,o)=>{const i=n.comparer.Compare(r[0],o[0])|0;return(i!==0?i:ct(r[1],o[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return _s(n,t[0])&&st(ws(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){op(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return yo(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return yo(this)|0}get size(){return yo(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Ve(n=>[n[0],n[1]],this)}get(t){return ws(this,t)}has(t){return _s(this,t)}keys(){return Ve(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Ve(n=>n[1],this)}forEach(t,n){const r=this;_a(o=>{Fn(2,t,[o[1]])(o[0])(r)},r)}}function pr(e,t){return new Vr(e,t)}function dp(e){return pr(e,void 0)}function pp(e,t,n){return pr(e.comparer,En(e.comparer,t,n,e.tree))}function ws(e,t){return ep(e.comparer,t,e.tree)}function hp(e,t){return pr(e.comparer,rp(t,e.tree))}function yo(e){return Yd(e.tree)}function _s(e,t){return tp(e.comparer,t,e.tree)}function gp(e,t){return Da(e.comparer,t,e.tree)}function mp(e){const t=(o,i)=>(o<<1)+i+631;let n=0;const r=be(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ct(o[0]))|0,n=t(n,Ct(o[1]))|0}}finally{K(r)}return n|0}function wp(e,t,n){return pp(n,e,t)}function _p(e,t){return gp(t,e)}function yp(e,t){return hp(t,e)}function Ap(e,t){return pr(t,ka(t,e))}function bp(e,t){return pr(t,ka(t,e))}function Ma(e){return dp(e)}function gi(e){return new qd(0,["Authorization",e])}const Lt=new dr("",new ro(0,[]),ze(),!1,void 0,void 0,void 0,new Ea(0,[]));new xa(0,"","","",Ma({Compare:_n}),new dn(0,[""]));function ys(e,t){return Uf(t)?[t]:Wf(t,[e],void 0,0)}function vp(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function mi(e){return new dr(e,Lt.method,Lt.headers,Lt.withCredentials,Lt.overridenMimeType,Lt.overridenResponseType,Lt.timeout,Lt.content)}function wi(e,t){return new dr(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function _i(e,t){return new dr(t.url,t.method,eo(t.headers,We(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ep(e,t){return new dr(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function yi(e){return Zd(t=>{const n=new XMLHttpRequest;n.open(vp(e.method),e.url),n.onreadystatechange=()=>{let u,c,a,d,f,p,g;n.readyState===4&&t[0]((u=(c=n.responseType,c===""||c==="text"?n.responseText:""),a=n.status|0,d=n.responseType,f=(p=n.responseType,p===""?new dn(0,[n.responseText]):p==="text"?new dn(0,[n.responseText]):p==="arraybuffer"?new dn(2,[n.response]):p==="blob"?new dn(1,[n.response]):new dn(3,[n.response])),g=bp(Xf(_=>{const w=I(ys(":",_));if(!R(w))return[E(w).toLocaleLowerCase(),St(":",T(w)).trim()]},ys(`\r
|
|
4
|
-
`,n.getAllResponseHeaders()),null),{Compare:_n}),new xa(a,u,d,n.responseURL,g,f)))};const r=be(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const u=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(u.fields[0],u.fields[1])}}finally{K(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const u=o;n.overrideMimeType(u)}const i=e.overridenResponseType;i==null||(i.tag===1?n.responseType="blob":i.tag===2?n.responseType="arraybuffer":n.responseType="text");const s=e.timeout;if(s!=null){const u=s|0;n.timeout=u|0}const l=e.content;switch(l.tag){case 1:{n.send(Re(l.fields[0]));break}case 3:{n.send(Re(l.fields[0]));break}case 2:{n.send(Re(l.fields[0]));break}default:n.send()}})}class v extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class or extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function As(e){return e.slice(void 0,0+1).toLowerCase()+e.slice(1,e.length)}function xp(e,t){switch(e.tag){case 2:return Nf(As(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return As(t)}}const Cp=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,bs=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Sp=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Dp(e){function t(r){return r.replace(bs,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Cp.test(n))return Gf(n,"{","}","(",")");if(bs.test(n))return t(n);if(Sp.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Fp(e,t){try{return t.contents=Dp(e),!0}catch{return!1}}class Ta extends le{constructor(t,n){super(),this.bound=t|0,this.digits=n}}function Ra(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Ra(n*n,~~(r/2))|0}}de(2013265921,0,!1);de(2013265921,0,!0);const kp=29;On(kp-1,e=>Ra(2,e),Int32Array);function Vo(e){return e.bound}function Zn(e,t){return e.digits[t]}function Uo(e,t){return Y(Zn(e,t),!1,2)}function Ur(e,t,n){e.digits[t]=n|0}function Ai(e,t){e:for(;;){const n=e,r=t;if(r===0)return de(1,0,!1);if(r%2===0){e=Le(n,n),t=~~(r/2);continue e}else return Le(n,Ai(Le(n,n),~~(r/2)))}}function xn(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*xn(n*n,~~(r/2))|0}}function Ip(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return t|0}const Cn=24,Qt=16777216,gt=de(16777216,0,!1),Pn=de(16777215,0,!1);de(16777215,0,!0);function Xt(e){return new Ta(e,new Int32Array(e))}function Mp(e){return new Ta(e.bound,Kf(e.digits))}function mt(e){const n=((r,o)=>{e:for(;;){const i=r,s=o;if(s===-1||i[s]!==0)return s+1|0;r=i,o=s-1;continue e}})(e.digits,e.bound-1)|0;return e.bound=n|0,e}const vs=2,Es=3;function hr(e){const t=(e<0?0:e)|0;if(t<Qt){const n=Xt(1);return n.digits[0]=t|0,mt(n)}else{const n=Xt(vs);for(let r=0;r<=vs-1;r++)n.digits[r]=~~(t/xn(Qt,r))%Qt|0;return mt(n)}}function Tp(e){const t=Xr(e,de(0,0,!1))<0?de(0,0,!1):e,n=Xt(Es);for(let r=0;r<=Es-1;r++)n.digits[r]=~~ft(af(ut(t,Ai(gt,r)),gt))|0;return mt(n)}function Rp(e){if(e.bound===1)return e.digits[0]|0;{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+Qt*t|0;return t|0}}const Op=hr(1),Np=hr(0);function xe(e){return e.bound-1}function _e(e){return e.bound===0}function xs(e,t){return e.bound===t.bound?((r,o,i)=>{e:for(;;){const s=r,l=o,u=i;if(u===-1)return!0;if(s[u]===l[u]){r=s,o=l,i=u-1;continue e}else return!1}})(e.digits,t.digits,e.bound-1):!1}function Bp(e,t,n,r){return e.bound+t<n.bound+r?-1:e.bound+t>n.bound+t?1:((i,s,l)=>{e:for(;;){const u=i,c=s,a=l;if(a===-1)return 0;{const d=(a<t?0:u[a-t])|0,f=(a<r?0:c[a-r])|0;if(d===f){i=u,s=c,l=a-1;continue e}else return d<f?-1:1}}})(e.digits,n.digits,e.bound+t-1)|0}function Pp(e,t){return e.bound<t.bound?-1:e.bound>t.bound?1:((r,o,i)=>{e:for(;;){const s=r,l=o,u=i;if(u===-1)return 0;if(s[u]===l[u]){r=s,o=l,i=u-1;continue e}else return s[u]<l[u]?-1:1}})(e.digits,t.digits,e.bound-1)|0}function Cs(e,t){return Pp(e,t)===-1}function Hp(e,t){const n=Xt(2),r=Le(Y(e,!1,2),Y(t,!1,2));return Ur(n,0,~~ft(Tn(r,Pn))),Ur(n,1,~~ft(ut(r,gt))),mt(n)}function Oa(e,t,n){e:for(;;){const r=e,o=t,i=n;if(Xr(o,de(0,0,!1))>0){const s=Ue(Uo(r,i),o);Ur(r,i,~~ft(Tn(s,Pn))),e=r,t=ut(s,gt),n=i+1;continue e}break}}function Ss(e,t){const n=Vo(e)|0,r=Xt(n+1),o=Y(t,!1,2);let i=de(0,0,!1);for(let s=0;s<=n-1;s++){const l=Ue(Ue(i,Uo(r,s)),Le(Uo(e,s),o));Ur(r,s,~~ft(Tn(l,Pn))),i=ut(l,gt)}return Oa(r,i,n),mt(r)}function jp(e,t){const n=Xt(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=Y(e.digits[o],!1,2);let s=de(0,0,!1),l=o;for(let u=0;u<=t.bound-1;u++){const c=Y(t.digits[u],!1,2),a=Ue(Ue(Y(r[l],!1,2),s),Le(i,c));r[l]=~~ft(Tn(a,Pn))|0,s=ut(a,gt),l=l+1|0}Oa(n,s,l)}return mt(n)}function Vp(e,t){const n=Vo(e)===1,r=Vo(t)===1;return n&&r?Hp(Zn(e,0),Zn(t,0)):n?Ss(t,Zn(e,0)):r?Ss(e,Zn(t,0)):jp(e,t)}class Up extends le{constructor(t,n,r,o,i,s,l){super(),this.bigL=t|0,this.twoToBigL=n|0,this.k=r|0,this.bigK=o|0,this.bigN=i|0,this.split=s|0,this.splits=l}}function Fe(e,t,n,r){return new Up(e,xn(2,e),t,n,r,~~(Cn/e),On(~~(Cn/e),o=>xn(2,e*o),Int32Array))}const Lp=[Fe(1,28,268435456,268435456),Fe(2,26,67108864,134217728),Fe(3,24,16777216,50331648),Fe(4,22,4194304,16777216),Fe(5,20,1048576,5242880),Fe(6,18,262144,1572864),Fe(7,16,65536,458752),Fe(8,14,16384,131072),Fe(9,12,4096,36864),Fe(10,10,1024,10240),Fe(11,8,256,2816),Fe(12,6,64,768),Fe(13,4,16,208)];On(Cn,e=>xn(2,e)-1,Int32Array);On(Cn,e=>xn(2,e),Int32Array);On(Cn,e=>Ai(de(2,0,!1),e),null);~~(Lp[0].bigN/Cn);function zp(e,t){return Vp(e,t)}function Wp(e,t,n,r){const o=xe(e)|0,i=e.digits,s=xe(n)|0,l=n.digits,u=Y(t,!1,2);let c=0,a=Le(u,Y(l[0],!1,2));for(;Xr(a,de(0,0,!1))>0||c<s;){if(c>o)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~ft(Tn(a,Pn)),f=ut(a,gt);d<=i[c+r]?i[c+r]=i[c+r]-d|0:(i[c+r]=i[c+r]+(Qt-d)|0,f=Ue(f,de(1,0,!1))),c<s?a=Ue(f,Le(u,Y(l[c+1],!1,2))):a=f,c=c+1|0}mt(e)}function Gp(e,t,n,r){const o=xe(e)|0,i=e.digits,s=xe(n)|0,l=n.digits,u=Y(t,!1,2);let c=0,a=Le(u,Y(l[0],!1,2));for(;Xr(a,de(0,0,!1))>0||c<s;){if(c>o)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~ft(Tn(a,Pn)),f=ut(a,gt);d<Qt-i[c+r]?i[c+r]=i[c+r]+d|0:(i[c+r]=d-(Qt-i[c+r])|0,f=Ue(f,de(1,0,!1))),c<s?a=Ue(f,Le(u,Y(l[c+1],!1,2))):a=f,c=c+1|0}mt(e)}function Qp(e,t,n){const r=xe(t)|0,o=xe(e)|0,i=r|0;if(o<i+n)return 0;{const s=e.digits,l=t.digits,u=(i===0?o===n?~~(s[n]/l[0]):~~ft(ut(Ue(Le(Y(s[o],!1,2),gt),Y(s[o-1],!1,2)),Y(l[0],!1,2))):o===i+n?~~(s[o]/(l[i]+1)):~~ft(ut(Ue(Le(Y(s[o],!1,2),gt),Y(s[o-1],!1,2)),Ue(Y(l[i],!1,2),de(1,0,!1)))))|0;return u===0?Bp(t,n,e,0)!==1?1:0:u|0}}function Zp(e,t){if(_e(t))throw new Error;if(xe(e)<xe(t))return[Np,e];{const n=Mp(e),r=Xt(xe(e)-xe(t)+1+1);let o=xe(e);const i=xe(t)|0;let s=o-i,l=!1;for(;!l;){const u=Qp(n,t,s)|0;u>0?(Wp(n,u,t,s),Gp(r,u,Op,s)):(l=u===0&&s===0,l||(o===i+s?s=s-1|0:(s=s-1|0,o=o-1|0)))}return[mt(r),mt(n)]}}hr(2);function Lo(e){return hr(e)}function Kp(e){return Tp(e)}function Ds(e){const t=xe(e)|0,n=(i,s,l)=>{e:for(;;){const u=i,c=s,a=l;if(xe(a)>t)return Me([c,a],u);i=Me([c,a],u),s=c+1,l=zp(a,a);continue e}},r=(i,s,l,u)=>{e:for(;;){const c=i,a=s,d=l,f=u;if(R(f)){const p=Rp(d)|0;return c&&p===0?a:Me(Rt(p),a)}else{const p=T(f),g=Zp(d,E(f)[1]),_=g[1],w=g[0];if(c&&_e(w)){i=c,s=a,l=_,u=p;continue e}else{i=c,s=r(!1,a,_,p),l=w,u=p;continue e}}}},o=r(!0,ze(),e,n(ze(),0,hr(10)));return R(o)?"0":St("",Yr(o))}function Jp(e){return e.bound<=1}function Fs(e){const t=e,n=0;return n<t.bound?t.digits[n]|0:0}class Ae{constructor(t,n){this.signInt=t|0,this.v=n}toString(){const t=this,n=$t(t)|0;if(n===-1)return _e(z(t))?"0":"-"+Ds(z(t));if(n===0)return"0";if(n===1)return Ds(z(t));throw new Error("signs should be +/- 1 or 0")}Equals(t){const n=this;return t instanceof Ae&&Na(n,t)}GetHashCode(){return qp(this)|0}toJSON(){return Oe(this)}CompareTo(t){const n=this;if(t instanceof Ae)return $p(n,t)|0;throw new Error("the objects are not comparable\\nParameter name: obj")}}function Ao(e,t){return new Ae(e,t)}Ae.smallLim=4096,Ae.smallPosTab=On(Ae.smallLim,Lo,null),Ae.one=vo(1),Ae.two=vo(2),Ae.zero=vo(0);function bo(e){return Jp(e)&&Fs(e)<Ae.smallLim?Ae.smallPosTab[Fs(e)]:e}function $t(e){return e.signInt}function z(e){return e.v}function Na(e,t){const n=$t(e)|0,r=$t(t)|0;let o;switch(n===-1?r===-1?o=1:r===0?o=8:r===1?o=3:o=9:n===0?r===-1?o=6:r===0?o=4:r===1?o=5:o=9:n===1?r===-1?o=2:r===0?o=7:r===1?o=0:o=9:o=9,o){case 0:return xs(z(e),z(t));case 1:return xs(z(e),z(t));case 2:return _e(z(e))?_e(z(t)):!1;case 3:return _e(z(e))?_e(z(t)):!1;case 4:return!0;case 5:return _e(z(t));case 6:return _e(z(t));case 7:return _e(z(e));case 8:return _e(z(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function Xp(e,t){const n=$t(e)|0,r=$t(t)|0;let o;switch(n===-1?r===-1?o=1:r===0?o=8:r===1?o=3:o=9:n===0?r===-1?o=6:r===0?o=4:r===1?o=5:o=9:n===1?r===-1?o=2:r===0?o=7:r===1?o=0:o=9:o=9,o){case 0:return Cs(z(e),z(t));case 1:return Cs(z(t),z(e));case 2:return!1;case 3:return _e(z(e))?!_e(z(t)):!0;case 4:return!1;case 5:return!_e(z(t));case 6:return!1;case 7:return!1;case 8:return!_e(z(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function $p(e,t){return Xp(e,t)?-1:Na(e,t)?0:1}function qp(e){return $t(e)===0?1:$t(e)+Ip(z(e))|0}function vo(e){return e>=0?Ao(1,bo(Lo(e))):e===-2147483648?Ao(-1,bo(Kp(cf(Y(e,!1,2))))):Ao(-1,bo(Lo(Lu(e))))}function Ba(){return Ae.one}function Yp(){return Ae.two}function Pa(){return Ae.zero}Pa();Ba();Yp();Pa();Ba();function Ha(e,t){e0(t);const n=new Date(e);return n.offset=t!=null?t:new Date().getTimezoneOffset()*-6e4,n}function e0(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function t0(){return Ha(-621355968e5,0)}function n0(e){const[t,n]=ta(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Ha(t.getTime(),r)}function r0(e,t){try{return t.contents=n0(e),!0}catch{return!1}}function ks(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return o0(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function o0(e){return uf(ut(e,1e4))}function i0(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return ks(r,0,0,0,0)}if(n>0){const r=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(r!=null&&r[4]!=null&&r[5]!=null){let o=0,i=0,s=0;const l=r[1]!=null&&r[1]==="-"?-1:1,u=+r[4],c=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(s=+r[7]),r[8]!=null)switch(r[8].length){case 1:i=+r[8]*100;break;case 2:i=+r[8]*10;break;case 3:i=+r[8];break;case 4:i=+r[8]/10;break;case 5:i=+r[8]/100;break;case 6:i=+r[8]/1e3;break;case 7:i=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return l*ks(o,u,c,s,i)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function s0(e,t){try{return t.contents=i0(e),!0}catch{return!1}}class ja{constructor(t){this.k=t}}function ke(e){return new ja(e)}function C(e){return e.k}class B extends ja{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function Ie(e,t,n,r){return new B(e,t,n,r)}function V(e){return e.left}function H(e){return e.right}function pn(e){return e.h}function Va(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=n;if(o instanceof B){e=V(o),t=Va(H(o),r+1);continue e}else return r+1|0}else return r|0}}function l0(e){return Va(e,0)}function Ze(e,t,n){let r;const o=e;if(o!=null){const u=o;r=u instanceof B?pn(u):1}else r=0;let i;const s=n;if(s!=null){const u=s;i=u instanceof B?pn(u):1}else i=0;const l=(r<i?i:r)|0;return l===0?ke(t):Ie(t,e,n,l+1)}function Is(e,t,n){let r,o,i,s,l;const u=e;if(u!=null){const d=u;l=d instanceof B?pn(d):1}else l=0;let c;const a=n;if(a!=null){const d=a;c=d instanceof B?pn(d):1}else c=0;if(c>l+2){const d=ee(n);if(d instanceof B)if(r=V(d),(r!=null?(o=r,o instanceof B?pn(o):1):0)>l+1){const f=ee(V(d));if(f instanceof B)return Ze(Ze(e,t,V(f)),C(f),Ze(H(f),C(d),H(d)));throw new Error("internal error: Set.rebalance")}else return Ze(Ze(e,t,V(d)),C(d),H(d));else throw new Error("internal error: Set.rebalance")}else if(l>c+2){const d=ee(e);if(d instanceof B)if(i=H(d),(i!=null?(s=i,s instanceof B?pn(s):1):0)>c+1){const f=ee(H(d));if(f instanceof B)return Ze(Ze(V(d),C(d),V(f)),C(f),Ze(H(f),t,n));throw new Error("internal error: Set.rebalance")}else return Ze(V(d),C(d),Ze(H(d),t,n));else throw new Error("internal error: Set.rebalance")}else return Ze(e,t,n)}function ir(e,t,n){if(n!=null){const r=n,o=e.Compare(t,C(r))|0;if(r instanceof B)return o<0?Is(ir(e,t,V(r)),C(r),H(r)):o===0?n:Is(V(r),C(r),ir(e,t,H(r)));{const i=e.Compare(t,C(r))|0;return i<0?Ie(t,void 0,n,2):i===0?n:Ie(t,n,void 0,2)}}else return ke(t)}function Ua(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,C(s))|0;if(s instanceof B)if(l<0){e=r,t=o,n=V(s);continue e}else{if(l===0)return!0;e=r,t=o,n=H(s);continue e}else return l===0}else return!1}}function La(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof B){La(n,V(o)),n(C(o)),e=n,t=H(o);continue e}else n(C(o))}break}}class a0 extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function za(e){e:for(;;){const t=e;if(R(t))return ze();{const n=E(t),r=T(t);if(n!=null){const o=n;if(o instanceof B){e=Q([V(o),ke(C(o)),H(o)],r);continue e}else return t}else{e=r;continue e}}}}function Ms(e){return new a0(za(We(e)),!1)}function c0(){throw new Error("Enumeration not started")}function u0(){throw new Error("Enumeration already started")}function Ts(e){if(e.started){const t=e.stack;if(R(t))return u0();if(E(t)!=null){const n=E(t);return C(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return c0()}function f0(e){if(e.started){const t=e.stack;if(R(t))return!1;if(E(t)!=null){if(E(t)instanceof B)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=za(T(t)),!R(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!R(e.stack)}function Rs(e){let t=Ms(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Ts(t)},"System.Collections.IEnumerator.get_Current"(){return Ts(t)},"System.Collections.IEnumerator.MoveNext"(){return f0(t)},"System.Collections.IEnumerator.Reset"(){t=Ms(e)},Dispose(){}}}function d0(e,t,n){e:for(;;){const r=e,o=t,i=n;if(R(o))return R(i)?0:-1;if(R(i))return 1;if(E(i)!=null)if(E(o)!=null){const s=E(o),l=E(i);if(s instanceof B)if(V(s)==null)if(l instanceof B)if(V(l)==null){const u=r.Compare(C(s),C(l))|0;if(u!==0)return u|0;e=r,t=Me(H(s),T(o)),n=Me(H(l),T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:E(i)!=null?(u=1,d=T(i),f=E(i)):u=2:E(o)!=null?(u=0,c=T(o),a=E(o)):R(i)?u=2:E(i)!=null?(u=1,d=T(i),f=E(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([V(a),Ie(C(a),void 0,H(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,ke(C(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([V(f),Ie(C(f),void 0,H(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,ke(C(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(C(s),C(l))|0;if(u!==0)return u|0;e=r,t=Me(H(s),T(o)),n=Me(void 0,T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:E(i)!=null?(u=1,d=T(i),f=E(i)):u=2:E(o)!=null?(u=0,c=T(o),a=E(o)):R(i)?u=2:E(i)!=null?(u=1,d=T(i),f=E(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([V(a),Ie(C(a),void 0,H(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,ke(C(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([V(f),Ie(C(f),void 0,H(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,ke(C(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(l instanceof B)if(V(l)==null){const u=r.Compare(C(s),C(l))|0;if(u!==0)return u|0;e=r,t=Me(void 0,T(o)),n=Me(H(l),T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:E(i)!=null?(u=1,d=T(i),f=E(i)):u=2:E(o)!=null?(u=0,c=T(o),a=E(o)):R(i)?u=2:E(i)!=null?(u=1,d=T(i),f=E(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([V(a),Ie(C(a),void 0,H(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,ke(C(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([V(f),Ie(C(f),void 0,H(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,ke(C(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(C(s),C(l))|0;if(u!==0)return u|0;e=r,t=T(o),n=T(i);continue e}}else{E(i);let s,l,u,c,a;switch(R(o)?R(i)?s=2:E(i)!=null?(s=1,c=T(i),a=E(i)):s=2:E(o)!=null?(s=0,l=T(o),u=E(o)):R(i)?s=2:E(i)!=null?(s=1,c=T(i),a=E(i)):s=2,s){case 0:if(u instanceof B){e=r,t=Q([V(u),Ie(C(u),void 0,H(u),0)],l),n=i;continue e}else{e=r,t=Q([void 0,ke(C(u))],l),n=i;continue e}case 1:if(a instanceof B){e=r,t=o,n=Q([V(a),Ie(C(a),void 0,H(a),0)],c);continue e}else{e=r,t=o,n=Q([void 0,ke(C(a))],c);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(E(o)!=null){E(o);let s,l,u,c,a;switch(R(o)?R(i)?s=2:E(i)!=null?(s=1,c=T(i),a=E(i)):s=2:E(o)!=null?(s=0,l=T(o),u=E(o)):R(i)?s=2:E(i)!=null?(s=1,c=T(i),a=E(i)):s=2,s){case 0:if(u instanceof B){e=r,t=Q([V(u),Ie(C(u),void 0,H(u),0)],l),n=i;continue e}else{e=r,t=Q([void 0,ke(C(u))],l),n=i;continue e}case 1:if(a instanceof B){e=r,t=o,n=Q([V(a),Ie(C(a),void 0,H(a),0)],c);continue e}else{e=r,t=o,n=Q([void 0,ke(C(a))],c);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=T(o),n=T(i);continue e}break}}function Os(e,t,n){return t==null?n==null?0:-1:n==null?1:d0(e,We(t),We(n))|0}function p0(e,t,n){let r=n;La(o=>{t[r]=o,r=r+1|0},e)}function h0(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){e=r,t=ir(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i;continue e}else return o}}function g0(e,t){return ci((n,r)=>ir(e,r,n),void 0,t)}function m0(e,t){return Vt((n,r)=>ir(e,r,n),void 0,t)}function w0(e,t){if(at(t))return g0(e,t);if(t instanceof pt)return m0(e,t);{const n=be(t);try{return h0(e,void 0,n)}finally{K(n)}}}class bi{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return A0(this)|0}Equals(t){const n=this;return t instanceof bi&&Os(Dr(n),tt(n),tt(t))===0}toString(){return"set ["+St("; ",Ve(n=>Oe(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Os(Dr(n),tt(n),tt(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Ua(Dr(n),t,tt(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){p0(tt(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Eo(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Eo(this)|0}GetEnumerator(){return Rs(tt(this))}[Symbol.iterator](){return Kr(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Rs(tt(this))}get size(){return Eo(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return y0(this,t)}keys(){return Ve(n=>n,this)}values(){return Ve(n=>n,this)}entries(){return Ve(n=>[n,n],this)}forEach(t,n){const r=this;_a(o=>{Fn(2,t,[o])(o)(r)},r)}}function _0(e,t){return new bi(e,t)}function Dr(e){return e.comparer}function tt(e){return e.tree}function Eo(e){return l0(tt(e))}function y0(e,t){return Ua(Dr(e),t,tt(e))}function A0(e){let t=0;const n=be(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ct(r)+631|0}}finally{K(n)}return Math.abs(t)|0}function b0(e,t){return _0(t,w0(t,e))}function zn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var ar,A,_l,zt,Vi,yl,ko,bl,Ir={},Al=[],Dc=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function bt(e,t){for(var n in t)e[n]=t[n];return e}function vl(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?ar.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return Kn(e,s,r,o,null)}function Kn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o==null?++_l:o};return o==null&&A.vnode!=null&&A.vnode(i),i}function Fc(){return{current:null}}function $e(e){return e.children}function ot(e,t){this.props=e,this.context=t}function qn(e,t){if(t==null)return e.__?qn(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?qn(e):null}function xl(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return xl(e)}}function Mo(e){(!e.__d&&(e.__d=!0)&&zt.push(e)&&!kr.__r++||Vi!==A.debounceRendering)&&((Vi=A.debounceRendering)||yl)(kr)}function kr(){var e,t,n,r,o,i,s,l;for(zt.sort(ko);e=zt.shift();)e.__d&&(t=zt.length,r=void 0,o=void 0,s=(i=(n=e).__v).__e,(l=n.__P)&&(r=[],(o=bt({},i)).__v=i.__v+1,Yo(l,i,o,n.__n,l.ownerSVGElement!==void 0,i.__h!=null?[s]:null,r,s==null?qn(i):s,i.__h),Fl(r,i),i.__e!=s&&xl(i)),zt.length>t&&zt.sort(ko));kr.__r=0}function El(e,t,n,r,o,i,s,l,u,c){var a,d,f,p,g,_,w,b=r&&r.__k||Al,I=b.length;for(n.__k=[],a=0;a<t.length;a++)if((p=n.__k[a]=(p=t[a])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?Kn(null,p,null,null,p):Array.isArray(p)?Kn($e,{children:p},null,null,null):p.__b>0?Kn(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(f=b[a])===null||f&&p.key==f.key&&p.type===f.type)b[a]=void 0;else for(d=0;d<I;d++){if((f=b[d])&&p.key==f.key&&p.type===f.type){b[d]=void 0;break}f=null}Yo(e,p,f=f||Ir,o,i,s,l,u,c),g=p.__e,(d=p.ref)&&f.ref!=d&&(w||(w=[]),f.ref&&w.push(f.ref,null,p),w.push(d,p.__c||g,p)),g!=null?(_==null&&(_=g),typeof p.type=="function"&&p.__k===f.__k?p.__d=u=Cl(p,u,e):u=Sl(e,p,f,b,g,u),typeof n.type=="function"&&(n.__d=u)):u&&f.__e==u&&u.parentNode!=e&&(u=qn(f))}for(n.__e=_,a=I;a--;)b[a]!=null&&(typeof n.type=="function"&&b[a].__e!=null&&b[a].__e==n.__d&&(n.__d=Dl(r).nextSibling),kl(b[a],b[a]));if(w)for(a=0;a<w.length;a++)Il(w[a],w[++a],w[++a])}function Cl(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t=typeof r.type=="function"?Cl(r,t,n):Sl(n,r,r,o,r.__e,t));return t}function xt(e,t){return t=t||[],e==null||typeof e=="boolean"||(Array.isArray(e)?e.some(function(n){xt(n,t)}):t.push(e)),t}function Sl(e,t,n,r,o,i){var s,l,u;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(n==null||o!=i||o.parentNode==null)e:if(i==null||i.parentNode!==e)e.appendChild(o),s=null;else{for(l=i,u=0;(l=l.nextSibling)&&u<r.length;u+=1)if(l==o)break e;e.insertBefore(o,i),s=i}return s!==void 0?s:o.nextSibling}function Dl(e){var t,n,r;if(e.type==null||typeof e.type=="string")return e.__e;if(e.__k){for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=Dl(n)))return r}return null}function Ic(e,t,n,r,o){var i;for(i in n)i==="children"||i==="key"||i in t||Mr(e,i,null,n[i],r);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||n[i]===t[i]||Mr(e,i,t[i],n[i],r)}function Ui(e,t,n){t[0]==="-"?e.setProperty(t,n==null?"":n):e[t]=n==null?"":typeof n!="number"||Dc.test(t)?n:n+"px"}function Mr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ui(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ui(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?zi:Li,i):e.removeEventListener(t,i?zi:Li,i);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in e)try{e[t]=n==null?"":n;break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Li(e){return this.l[e.type+!1](A.event?A.event(e):e)}function zi(e){return this.l[e.type+!0](A.event?A.event(e):e)}function Yo(e,t,n,r,o,i,s,l,u){var c,a,d,f,p,g,_,w,b,I,ne,oe,G,O,ae,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(u=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(c=A.__b)&&c(t);try{e:if(typeof P=="function"){if(w=t.props,b=(c=P.contextType)&&r[c.__c],I=c?b?b.props.value:c.__:r,n.__c?_=(a=t.__c=n.__c).__=a.__E:("prototype"in P&&P.prototype.render?t.__c=a=new P(w,I):(t.__c=a=new ot(w,I),a.constructor=P,a.render=Mc),b&&b.sub(a),a.props=w,a.state||(a.state={}),a.context=I,a.__n=r,d=a.__d=!0,a.__h=[],a._sb=[]),a.__s==null&&(a.__s=a.state),P.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=bt({},a.__s)),bt(a.__s,P.getDerivedStateFromProps(w,a.__s))),f=a.props,p=a.state,a.__v=t,d)P.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(P.getDerivedStateFromProps==null&&w!==f&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(w,I),!a.__e&&a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(w,a.__s,I)===!1||t.__v===n.__v){for(t.__v!==n.__v&&(a.props=w,a.state=a.__s,a.__d=!1),a.__e=!1,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(ce){ce&&(ce.__=t)}),ne=0;ne<a._sb.length;ne++)a.__h.push(a._sb[ne]);a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(w,a.__s,I),a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(f,p,g)})}if(a.context=I,a.props=w,a.__P=e,oe=A.__r,G=0,"prototype"in P&&P.prototype.render){for(a.state=a.__s,a.__d=!1,oe&&oe(t),c=a.render(a.props,a.state,a.context),O=0;O<a._sb.length;O++)a.__h.push(a._sb[O]);a._sb=[]}else do a.__d=!1,oe&&oe(t),c=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++G<25);a.state=a.__s,a.getChildContext!=null&&(r=bt(bt({},r),a.getChildContext())),d||a.getSnapshotBeforeUpdate==null||(g=a.getSnapshotBeforeUpdate(f,p)),ae=c!=null&&c.type===$e&&c.key==null?c.props.children:c,El(e,Array.isArray(ae)?ae:[ae],t,n,r,o,i,s,l,u),a.base=t.__e,t.__h=null,a.__h.length&&s.push(a),_&&(a.__E=a.__=null),a.__e=!1}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=kc(n.__e,t,n,r,o,i,s,u);(c=A.diffed)&&c(t)}catch(ce){t.__v=null,(u||i!=null)&&(t.__e=l,t.__h=!!u,i[i.indexOf(l)]=null),A.__e(ce,t,n)}}function Fl(e,t){A.__c&&A.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(r){r.call(n)})}catch(r){A.__e(r,n.__v)}})}function kc(e,t,n,r,o,i,s,l){var u,c,a,d=n.props,f=t.props,p=t.type,g=0;if(p==="svg"&&(o=!0),i!=null){for(;g<i.length;g++)if((u=i[g])&&"setAttribute"in u==!!p&&(p?u.localName===p:u.nodeType===3)){e=u,i[g]=null;break}}if(e==null){if(p===null)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,f.is&&f),i=null,l=!1}if(p===null)d===f||l&&e.data===f||(e.data=f);else{if(i=i&&ar.call(e.childNodes),c=(d=n.props||Ir).dangerouslySetInnerHTML,a=f.dangerouslySetInnerHTML,!l){if(i!=null)for(d={},g=0;g<e.attributes.length;g++)d[e.attributes[g].name]=e.attributes[g].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(Ic(e,f,d,o,l),a)t.__k=[];else if(g=t.props.children,El(e,Array.isArray(g)?g:[g],t,n,r,o&&p!=="foreignObject",i,s,i?i[0]:n.__k&&qn(n,0),l),i!=null)for(g=i.length;g--;)i[g]!=null&&vl(i[g]);l||("value"in f&&(g=f.value)!==void 0&&(g!==e.value||p==="progress"&&!g||p==="option"&&g!==d.value)&&Mr(e,"value",g,d.value,!1),"checked"in f&&(g=f.checked)!==void 0&&g!==e.checked&&Mr(e,"checked",g,d.checked,!1))}return e}function Il(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){A.__e(r,n)}}function kl(e,t,n){var r,o;if(A.unmount&&A.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Il(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){A.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&kl(r[o],t,n||typeof e.type!="function");n||e.__e==null||vl(e.__e),e.__=e.__e=e.__d=void 0}function Mc(e,t,n){return this.constructor(e,n)}function Nt(e,t,n){var r,o,i;A.__&&A.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],Yo(t,e=(!r&&n||t).__k=m($e,null,[e]),o||Ir,Ir,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?ar.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Fl(i,e)}function ei(e,t){Nt(e,t,ei)}function ti(e,t,n){var r,o,i,s=bt({},e.props);for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];return arguments.length>2&&(s.children=arguments.length>3?ar.call(arguments,2):n),Kn(e.type,s,r||e.key,o||e.ref,null)}function Tc(e,t){var n={__c:t="__cC"+bl++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.some(function(l){l.__e=!0,Mo(l)})},this.sub=function(s){o.push(s);var l=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),l&&l.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}ar=Al.slice,A={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(l){e=l}throw e}},_l=0,ot.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=bt({},this.state),typeof e=="function"&&(e=e(bt({},n),this.props)),e&&bt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Mo(this))},ot.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Mo(this))},ot.prototype.render=$e,zt=[],yl=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ko=function(e,t){return e.__v.__b-t.__v.__b},kr.__r=0,bl=0;var Yt,L,wo,Wi,wn=0,Ml=[],xr=[],Gi=A.__b,Qi=A.__r,Zi=A.diffed,Ki=A.__c,Ji=A.unmount;function Dn(e,t){A.__h&&A.__h(L,e,wn||t),wn=0;var n=L.__H||(L.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:xr}),n.__[e]}function Tl(e){return wn=1,ni(Nl,e)}function ni(e,t,n){var r=Dn(Yt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Nl(void 0,t),function(l){var u=r.__N?r.__N[0]:r.__[0],c=r.t(u,l);u!==c&&(r.__N=[c,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){var o=function(l,u,c){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter(function(f){return f.__c});if(a.every(function(f){return!f.__N}))return!i||i.call(this,l,u,c);var d=!1;return a.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(d=!0)}}),!(!d&&r.__c.props===l)&&(!i||i.call(this,l,u,c))};L.u=!0;var i=L.shouldComponentUpdate,s=L.componentWillUpdate;L.componentWillUpdate=function(l,u,c){if(this.__e){var a=i;i=void 0,o(l,u,c),i=a}s&&s.call(this,l,u,c)},L.shouldComponentUpdate=o}return r.__N||r.__}function mn(e,t){var n=Dn(Yt++,3);!A.__s&&ri(n.__H,t)&&(n.__=e,n.i=t,L.__H.__h.push(n))}function Jr(e,t){var n=Dn(Yt++,4);!A.__s&&ri(n.__H,t)&&(n.__=e,n.i=t,L.__h.push(n))}function Wn(e){return wn=5,wt(function(){return{current:e}},[])}function Rl(e,t,n){wn=6,Jr(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function wt(e,t){var n=Dn(Yt++,7);return ri(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Se(e,t){return wn=8,wt(function(){return e},t)}function Rc(e){var t=L.context[e.__c],n=Dn(Yt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(L)),t.props.value):e.__}function Nc(e,t){A.useDebugValue&&A.useDebugValue(t?t(e):e)}function Oc(){var e=Dn(Yt++,11);if(!e.__){for(var t=L.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Bc(){for(var e;e=Ml.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Er),e.__H.__h.forEach(To),e.__H.__h=[]}catch(t){e.__H.__h=[],A.__e(t,e.__v)}}A.__b=function(e){L=null,Gi&&Gi(e)},A.__r=function(e){Qi&&Qi(e),Yt=0;var t=(L=e.__c).__H;t&&(wo===L?(t.__h=[],L.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=xr,n.__N=n.i=void 0})):(t.__h.forEach(Er),t.__h.forEach(To),t.__h=[])),wo=L},A.diffed=function(e){Zi&&Zi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ml.push(t)!==1&&Wi===A.requestAnimationFrame||((Wi=A.requestAnimationFrame)||Pc)(Bc)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==xr&&(n.__=n.__V),n.i=void 0,n.__V=xr})),wo=L=null},A.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Er),n.__h=n.__h.filter(function(r){return!r.__||To(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],A.__e(r,n.__v)}}),Ki&&Ki(e,t)},A.unmount=function(e){Ji&&Ji(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Er(r)}catch(o){t=o}}),n.__H=void 0,t&&A.__e(t,n.__v))};var $i=typeof requestAnimationFrame=="function";function Pc(e){var t,n=function(){clearTimeout(r),$i&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);$i&&(t=requestAnimationFrame(n))}function Er(e){var t=L,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),L=t}function To(e){var t=L;e.__c=e.__(),L=t}function ri(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Nl(e,t){return typeof t=="function"?t(e):t}function Ol(e,t){for(var n in t)e[n]=t[n];return e}function Ro(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function _o(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function No(e){this.props=e}function Hc(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:Ro(this.props,o)}function r(o){return this.shouldComponentUpdate=n,m(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(No.prototype=new ot).isPureReactComponent=!0,No.prototype.shouldComponentUpdate=function(e,t){return Ro(this.props,e)||Ro(this.state,t)};var Xi=A.__b;A.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Xi&&Xi(e)};var jc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Bl(e){function t(n){var r=Ol({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=jc,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var qi=function(e,t){return e==null?null:xt(xt(e).map(t))},Vc={map:qi,forEach:qi,count:function(e){return e?xt(e).length:0},only:function(e){var t=xt(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:xt},Uc=A.__e;A.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Uc(e,t,n,r)};var Yi=A.unmount;function Pl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Ol({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Pl(r,t,n)})),e}function Hl(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Hl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Cr(){this.__u=0,this.t=null,this.__b=null}function jl(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Lc(e){var t,n,r;function o(i){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return m(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Gn(){this.u=null,this.o=null}A.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Yi&&Yi(e)},(Cr.prototype=new ot).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=jl(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=s;var l=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=Hl(c,c.__c.__P,c.__c.__O)}var a;for(r.setState({__a:r.__b=null});a=r.t.pop();)a.forceUpdate()}},u=t.__h===!0;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},Cr.prototype.componentWillUnmount=function(){this.t=[]},Cr.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Pl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m($e,null,e.fallback);return o&&(o.__h=null),[m($e,null,t.__a?null:e.children),o]};var es=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function zc(e){return this.getChildContext=function(){return e.context},e.children}function Wc(e){var t=this,n=e.i;t.componentWillUnmount=function(){Nt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Nt(m(zc,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Gc(e,t){var n=m(Wc,{__v:e,i:t});return n.containerInfo=t,n}(Gn.prototype=new ot).__a=function(e){var t=this,n=jl(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),es(t,e,r)):o()};n?n(i):i()}},Gn.prototype.render=function(e){this.u=null,this.o=new Map;var t=xt(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Gn.prototype.componentDidUpdate=Gn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){es(e,n,t)})};var Vl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Qc=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Zc=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Kc=/[A-Z0-9]/g,Jc=typeof document<"u",$c=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Xc(e,t,n){return t.__k==null&&(t.textContent=""),Nt(e,t),typeof n=="function"&&n(),e?e.__c:null}function qc(e,t,n){return ei(e,t),typeof n=="function"&&n(),e?e.__c:null}ot.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ot.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ts=A.event;function Yc(){}function eu(){return this.cancelBubble}function tu(){return this.defaultPrevented}A.event=function(e){return ts&&(e=ts(e)),e.persist=Yc,e.isPropagationStopped=eu,e.isDefaultPrevented=tu,e.nativeEvent=e};var oi,nu={enumerable:!1,configurable:!0,get:function(){return this.class}},ns=A.vnode;A.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var s=n[i];if(!(i==="value"&&"defaultValue"in n&&s==null||Jc&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&s===!0?s="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||$c(n.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":Zc.test(i)?i=l:r.indexOf("-")===-1&&Qc.test(i)?i=i.replace(Kc,"-$&").toLowerCase():s===null&&(s=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=s}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=xt(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=xt(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",nu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Vl,ns&&ns(e)};var rs=A.__r;A.__r=function(e){rs&&rs(e),oi=e.__c};var os=A.diffed;A.diffed=function(e){os&&os(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),oi=null};var ru={ReactCurrentDispatcher:{current:{readContext:function(e){return oi.__n[e.__c].props.value}}}};function ou(e){return m.bind(null,e)}function Ul(e){return!!e&&e.$$typeof===Vl}function iu(e){return Ul(e)?ti.apply(null,arguments):e}function su(e){return!!e.__k&&(Nt(null,e),!0)}function lu(e){return e&&(e.base||e.nodeType===1&&e)||null}var au=function(e,t){return e(t)},cu=function(e,t){return e(t)},uu=$e;function Ll(e){e()}function fu(e){return e}function du(){return[!1,Ll]}var pu=Jr;function hu(e,t){var n=t(),r=Tl({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Jr(function(){o.__=n,o.v=t,_o(o.__,t())||i({h:o})},[e,n,t]),mn(function(){return _o(o.__,o.v())||i({h:o}),e(function(){_o(o.__,o.v())||i({h:o})})},[e]),n}var zl={useState:Tl,useId:Oc,useReducer:ni,useEffect:mn,useLayoutEffect:Jr,useInsertionEffect:pu,useTransition:du,useDeferredValue:fu,useSyncExternalStore:hu,startTransition:Ll,useRef:Wn,useImperativeHandle:Rl,useMemo:wt,useCallback:Se,useContext:Rc,useDebugValue:Nc,version:"17.0.2",Children:Vc,render:Xc,hydrate:qc,unmountComponentAtNode:su,createPortal:Gc,createElement:m,createContext:Tc,createFactory:ou,cloneElement:iu,createRef:Fc,Fragment:$e,isValidElement:Ul,findDOMNode:lu,Component:ot,PureComponent:No,memo:Hc,forwardRef:Bl,flushSync:cu,unstable_batchedUpdates:au,StrictMode:uu,Suspense:Cr,SuspenseList:Gn,lazy:Lc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ru};class _n{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ct(this.value)}Equals(t){return t==null?!1:it(this.value,t instanceof _n?t.value:t)}CompareTo(t){return t==null?1:ct(this.value,t instanceof _n?t.value:t)}}function $(e){if(e==null)throw new Error("Option has no value");return e instanceof _n?e.value:e}function at(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function mu(e){return e!=null&&typeof e.GetEnumerator=="function"}function gu(e){return e!=null&&typeof e.CompareTo=="function"}function wu(e){return e!=null&&typeof e.Equals=="function"}function _u(e){return e!=null&&typeof e.GetHashCode=="function"}function Wl(e){return e!=null&&typeof e.Dispose=="function"}function J(e){Wl(e)&&e.Dispose()}function Et(){return null}function Tr(e,t){var n,r;return((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===((r=Object.getPrototypeOf(t))===null||r===void 0?void 0:r.constructor)}class yu{constructor(t){this.iter=t,this.current=Et()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function Ee(e){return mu(e)?e.GetEnumerator():new yu(e[Symbol.iterator]())}function $r(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function nt(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function is(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function bu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function Rt(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class kt{static id(t){return kt.idMap.has(t)||kt.idMap.set(t,++kt.count),kt.idMap.get(t)}}kt.idMap=new WeakMap;kt.count=0;function Gl(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function _t(e){return e*2654435761|0}function Fn(e){return e.length===0?0:e.reduce((t,n)=>(t<<5)+t^n)}function Au(e){return e.getTime()}function vu(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ct(e[r]);return Fn(n)}function Ct(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return _t(e);case"string":return Gl(e);default:{if(_u(e))return e.GetHashCode();if(at(e))return vu(e);if(e instanceof Date)return Au(e);if(((t=Object.getPrototypeOf(e))===null||t===void 0?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ct(r));return Fn(n)}else return _t(kt.id(e))}}}function Oo(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Ql(e,t){return Oo(e,t,it)}function xu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!it(e[n[o]],t[r[o]]))return!1;return!0}function it(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:wu(e)?e.Equals(t):at(e)?at(t)&&Ql(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Zl(e,t)===0:((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===Object&&xu(e,t)}function Zl(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+is(e),r=t.getTime()+is(t)),n===r?0:n<r?-1:1}function yn(e,t){return e===t?0:e<t?-1:1}function Eu(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function Kl(e,t){return Eu(e,t,ct)}function Cu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=ct(e[s],t[s]),i!==0)return i}return 0}function ct(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:gu(e)?e.CompareTo(t):at(e)?at(t)?Kl(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Zl(e,t):-1:((n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor)===Object?Cu(e,t):-1}function Bo(e,t,n){return e(t,n)>0?t:n}function K(e){const t={};for(const n of e)t[n[0]]=n[1];return t}const Po=Symbol("curried");function q(e,t){if(t==null)return t;const n=$(t);if(n.length>1)return n;const r=(...o)=>{let i=n;for(let s=0;s<e;s++)i=i(o[s]);return i};return r[Po]=n,r}function Jl(e,t,n){return r=>t===1?n(...e.concat([r])):Jl(e.concat([r]),t-1,n)}function In(e,t,n){if(t!=null)if(Po in t){t=t[Po];for(let r=0;r<n.length;r++)t=t(n[r]);return t}else return Jl(n,e,t)}function Su(e){let t=0,n="[";for(const r of e){if(t===0)n+=Ce(r);else if(t===100){n+="; ...";break}else n+="; "+Ce(r);t++}return n+"]"}function Ce(e,t=0){var n,r;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return Su(e);{const o=(n=Object.getPrototypeOf(e))===null||n===void 0?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map(([i,s])=>i+" = "+Ce(s,t+1)).join(`
|
|
2
|
+
`)+" }":(r=o==null?void 0:o.name)!==null&&r!==void 0?r:""}}return String(e)}function Du(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Ce(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>Ce(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class te{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Du(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Ct(n));return t.splice(0,0,_t(this.tag)),Fn(t)}Equals(t){return this===t?!0:Tr(this,t)&&this.tag===t.tag?Ql(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Tr(this,t)?this.tag===t.tag?Kl(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Fu(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Iu(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Ce(n)).join(`
|
|
3
|
+
`)+" }"}function ku(e){const t=Object.values(e).map(n=>Ct(n));return Fn(t)}function Mu(e,t){if(e===t)return!0;if(Tr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!it(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Tu(e,t){if(e===t)return 0;if(Tr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=ct(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class le{toJSON(){return Fu(this)}toString(){return Iu(this)}GetHashCode(){return ku(this)}Equals(t){return Mu(this,t)}CompareTo(t){return Tu(this,t)}}class ze{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class Ru{constructor(t){this.message=t}}function Nu(e){return e instanceof Ru||e instanceof Error}function Ou(e){return e instanceof Promise}function Rr(e){return Nu(e)||Ou(e)?e:new Error(String(e))}const Bt=Symbol("numeric");function $l(e){return typeof e=="number"||(e==null?void 0:e[Bt])}function Bu(e,t){return typeof e=="number"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Ho(e,t){return typeof e=="number"?e*t:e[Bt]().multiply(t)}function Sr(e,t){return typeof e=="number"?e.toFixed(t):e[Bt]().toFixed(t)}function Nr(e,t){return typeof e=="number"?e.toPrecision(t):e[Bt]().toPrecision(t)}function Or(e,t){return typeof e=="number"?e.toExponential(t):e[Bt]().toExponential(t)}function Br(e){return typeof e=="number"?(Number(e)>>>0).toString(16):e[Bt]().toHex()}var V={GetHashCode(){return Fn([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Bt](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},Pu=28,Hu=1,Zt=1e6,ss=1e6,ju=-29,Vu=29,Uu=!1,cr="[big.js] ",en=cr+"Invalid ",Xr=en+"decimal places",Lu=en+"rounding mode",Xl=cr+"Division by zero",st=void 0,zu=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function ql(){function e(t){var n=this;if(!(n instanceof e))return t===st?ql():new e(t);if(t instanceof e)n.s=t.s,n.e=t.e,n.c=t.c.slice(),Wu(n);else{if(typeof t!="string"){if(e.strict===!0)throw TypeError(en+"number");t=t===0&&1/t<0?"-0":String(t)}Gu(n,t)}n.constructor=e}return e.prototype=V,e.DP=Pu,e.RM=Hu,e.NE=ju,e.PE=Vu,e.strict=Uu,e}function Wu(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(n=>n);e.c=e.c.slice(t),e.e=e.e-t}}function Gu(e,t){var n,r,o;if(!zu.test(t))throw Error(en+"number");for(e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&t.charAt(r)=="0";)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return e=Pt(e,Ot.DP+1,Ot.RM),e}function Pt(e,t,n,r){var o=e.c;if(n===st&&(n=Ot.RM),n!==0&&n!==1&&n!==2&&n!==3)throw Error(Lu);if(t<1)r=n===3&&(r||!!o[0])||t===0&&(n===1&&o[0]>=5||n===2&&(o[0]>5||o[0]===5&&(r||o[1]!==st))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex((s,l)=>l>=t&&s>0)<0;if(r=n===1&&o[t]>=5||n===2&&(o[t]>5||o[t]===5&&(r||o[t+1]!==st||o[t-1]&1))||n===3&&(r||!i),o.length=t--,r)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function kn(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}V.abs=function(){var e=new this.constructor(this);return e.s=1,e};V.cmp=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.c,s=o.c,l=r.s,u=o.s,c=r.e,a=o.e;if(!i[0]||!s[0])return i[0]?l:s[0]?-u:0;if(l!=u)return l;if(t=l<0,c!=a)return c>a^t?1:-1;for(u=Math.max(i.length,s.length),l=0;l<u;l++)if(c=l<i.length?i[l]:0,a=l<s.length?s[l]:0,c!=a)return c>a^t?1:-1;return 0};V.div=function(r){var t=this.constructor,n=new t(this),r=new t(r),o=n.c,i=r.c,s=n.s==r.s?1:-1,l=t.DP;if(l!==~~l||l<0||l>Zt)throw Error(Xr);if(!i[0])throw Error(Xl);if(!o[0])return r.s=s,r.c=[r.e=0],r;var u,c,a,d,f,p=i.slice(),g=u=i.length,_=o.length,w=o.slice(0,u),b=w.length,I=r,ne=I.c=[],oe=0,G=l+(I.e=n.e-r.e)+1;for(I.s=s,s=G<0?0:G,p.unshift(0);b++<u;)w.push(0);do{for(a=0;a<10;a++){if(u!=(b=w.length))d=u>b?1:-1;else for(f=-1,d=0;++f<u;)if(i[f]!=w[f]){d=i[f]>w[f]?1:-1;break}if(d<0){for(c=b==u?i:p;b;){if(w[--b]<c[b]){for(f=b;f&&!w[--f];)w[f]=9;--w[f],w[b]+=10}w[b]-=c[b]}for(;!w[0];)w.shift()}else break}ne[oe++]=d?a:++a,w[0]&&d?w[b]=o[g]||0:w=[o[g]]}while((g++<_||w[0]!==st)&&s--);return!ne[0]&&oe!=1&&(ne.shift(),I.e--,G--),oe>G&&Pt(I,G,t.RM,w[0]!==st),I};V.eq=function(e){return this.cmp(e)===0};V.gt=function(e){return this.cmp(e)>0};V.gte=function(e){return this.cmp(e)>-1};V.lt=function(e){return this.cmp(e)<0};V.lte=function(e){return this.cmp(e)<1};V.minus=V.sub=function(l){var t,n,r,o,i=this.constructor,s=new i(this),l=new i(l),u=s.s,c=l.s;if(u!=c)return l.s=-c,s.plus(l);var a=s.c.slice(),d=s.e,f=l.c,p=l.e;if(!a[0]||!f[0])return f[0]?l.s=-c:a[0]?l=new i(s):l.s=1,l;if(u=d-p){for((o=u<0)?(u=-u,r=a):(p=d,r=f),r.reverse(),c=u;c--;)r.push(0);r.reverse()}else for(n=((o=a.length<f.length)?a:f).length,u=c=0;c<n;c++)if(a[c]!=f[c]){o=a[c]<f[c];break}if(o&&(r=a,a=f,f=r,l.s=-l.s),(c=(n=f.length)-(t=a.length))>0)for(;c--;)a[t++]=0;for(c=t;n>u;){if(a[--n]<f[n]){for(t=n;t&&!a[--t];)a[t]=9;--a[t],a[n]+=10}a[n]-=f[n]}for(;a[--c]===0;)a.pop();for(;a[0]===0;)a.shift(),--p;return a[0]||(l.s=1,a=[p=0]),l.c=a,l.e=p,l};V.mod=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.s,s=o.s;if(!o.c[0])throw Error(Xl);return r.s=o.s=1,t=o.cmp(r)==1,r.s=i,o.s=s,t?new n(r):(i=n.DP,s=n.RM,n.DP=n.RM=0,r=r.div(o),n.DP=i,n.RM=s,this.minus(r.times(o)))};V.plus=V.add=function(s){var t,n,r,o=this.constructor,i=new o(this),s=new o(s);if(i.s!=s.s)return s.s=-s.s,i.minus(s);var l=i.e,u=i.c,c=s.e,a=s.c;if(!u[0]||!a[0])return a[0]||(u[0]?s=new o(i):s.s=i.s),s;if(u=u.slice(),t=l-c){for(t>0?(c=l,r=a):(t=-t,r=u),r.reverse();t--;)r.push(0);r.reverse()}for(u.length-a.length<0&&(r=a,a=u,u=r),t=a.length,n=0;t;u[t]%=10)n=(u[--t]=u[t]+a[t]+n)/10|0;for(n&&(u.unshift(n),++c),t=u.length;u[--t]===0;)u.pop();return s.c=u,s.e=c,s};V.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-ss||e>ss)throw Error(en+"exponent");for(i&&(e=-e);e&1&&(r=r.times(n)),e>>=1,!!e;)n=n.times(n);return i?o.div(r):r};V.prec=function(e,t){if(e!==~~e||e<1||e>Zt)throw Error(en+"precision");return Pt(new this.constructor(this),e,t)};V.round=function(e,t){if(e===st)e=0;else if(e!==~~e||e<-Zt||e>Zt)throw Error(Xr);return Pt(new this.constructor(this),e+this.e+1,t)};V.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),i=o.s,s=o.e,l=new r("0.5");if(!o.c[0])return new r(o);if(i<0)throw Error(cr+"No square root");i=Math.sqrt(o+""),i===0||i===1/0?(t=o.c.join(""),t.length+s&1||(t+="0"),i=Math.sqrt(t),s=((s+1)/2|0)-(s<0||s&1),e=new r((i==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+s)):e=new r(i+""),s=e.e+(r.DP+=4);do n=e,e=l.times(n.plus(o.div(n)));while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return Pt(e,(r.DP-=4)+e.e+1,r.RM)};V.times=V.mul=function(o){var t,n=this.constructor,r=new n(this),o=new n(o),i=r.c,s=o.c,l=i.length,u=s.length,c=r.e,a=o.e;if(o.s=r.s==o.s?1:-1,!i[0]||!s[0])return o.c=[o.e=0],o;for(o.e=c+a,l<u&&(t=i,i=s,s=t,a=l,l=u,u=a),t=new Array(a=l+u);a--;)t[a]=0;for(c=u;c--;){for(u=0,a=l+c;a>c;)u=t[a]+s[c]*i[a-c-1]+u,t[a--]=u%10,u=u/10|0;t[a]=u}for(u?++o.e:t.shift(),c=t.length;!t[--c];)t.pop();return o.c=t,o};V.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==st){if(e!==~~e||e<0||e>Zt)throw Error(Xr);for(n=Pt(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return kn(n,!0,!!r)};V.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==st){if(e!==~~e||e<0||e>Zt)throw Error(Xr);for(n=Pt(new n.constructor(n),e+n.e+1,t),e=e+n.e+1;n.c.length<e;)n.c.push(0)}return kn(n,!1,!!r)};V.toJSON=V.toString=function(){var e=this,t=e.constructor;return kn(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])};V.toNumber=function(){var e=Number(kn(this,!0,!0));if(this.constructor.strict===!0&&!this.eq(e.toString()))throw Error(cr+"Imprecise conversion");return e};V.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(e!==st){if(e!==~~e||e<1||e>Zt)throw Error(en+"precision");for(n=Pt(new r(n),e,t);n.c.length<e;)n.c.push(0)}return kn(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)};V.valueOf=function(){var e=this,t=e.constructor;if(t.strict===!0)throw Error(cr+"valueOf disallowed");return kn(e,e.e<=t.NE||e.e>=t.PE,!0)};var Ot=ql();new Ot(0);new Ot(1);new Ot(-1);new Ot("79228162514264337593543950335");new Ot("-79228162514264337593543950335");var jo;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(jo||(jo={}));function Qu(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function ls(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Zu(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function Ku(e,t){if(t&jo.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function Ju(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,i,s]=o;if(n=n||Ku(i,t),!Zu(n).test(s))return Qu(o,n)}return null}function $u(e,t,n,r,o){const i=Ju(e,t,o);if(i!=null){let s=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(s)){const[l,u]=ls(!0,r);!n&&i.radix!==10&&s>=l&&s<=u&&(s=s<<32-r>>32-r);const[c,a]=ls(n,r);if(s>=c&&s<=a)return s}}throw new Error("Input string was not in a correct format.")}function Mn(e,t,n,r,o){try{return o.contents=$u(e,t,n,r),!0}catch{return!1}}function Xu(e){return e===-2147483648?e:-e}var He=null;try{He=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function Xe(e,t,n){this.low=e|0,this.high=t|0,this.unsigned=!!n}Xe.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e};Xe.prototype.Equals=function(e){return Be(this,e)};Xe.prototype.CompareTo=function(e){return ur(this,e)};Xe.prototype.toString=function(e){return er(this,e)};Xe.prototype.toJSON=function(){return er(this)};Xe.prototype[Bt]=function(){const e=this;return{multiply:t=>Oe(e,t),toPrecision:t=>String(e)+0 .toPrecision(t).substr(1),toExponential:t=>String(e)+0 .toExponential(t).substr(1),toFixed:t=>String(e)+0 .toFixed(t).substr(1),toHex:()=>er(e.unsigned?e:hf(ff(e),!0),16)}};Xe.prototype.__isLong__;Object.defineProperty(Xe.prototype,"__isLong__",{value:!0});function qe(e){return(e&&e.__isLong__)===!0}var as={},cs={};function Tn(e,t){var n,r,o;return t?(e>>>=0,(o=0<=e&&e<256)&&(r=cs[e],r)?r:(n=W(e,(e|0)<0?-1:0,!0),o&&(cs[e]=n),n)):(e|=0,(o=-128<=e&&e<128)&&(r=as[e],r)?r:(n=W(e,e<0?-1:0,!1),o&&(as[e]=n),n))}function Ke(e,t){if(isNaN(e))return t?Mt:Je;if(t){if(e<0)return Mt;if(e>=ea)return tf}else{if(e<=-fs)return je;if(e+1>=fs)return ef}return e<0?de(Ke(-e,t)):W(e%bn|0,e/bn|0,t)}function W(e,t,n){return new Xe(e,t,n)}var Pr=Math.pow;function Yl(e,t,n){if(e.length===0)throw Error("empty string");if(e==="NaN"||e==="Infinity"||e==="+Infinity"||e==="-Infinity")return Je;if(typeof t=="number"?(n=t,t=!1):t=!!t,n=n||10,n<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(r===0)return de(Yl(e.substring(1),t,n));for(var o=Ke(Pr(n,8)),i=Je,s=0;s<e.length;s+=8){var l=Math.min(8,e.length-s),u=parseInt(e.substring(s,s+l),n);if(l<8){var c=Ke(Pr(n,l));i=Kt(Oe(i,c),Ke(u))}else i=Oe(i,o),i=Kt(i,Ke(u))}return i.unsigned=t,i}function Ht(e,t){return typeof e=="number"?Ke(e,t):typeof e=="string"?Yl(e,t):W(e.low,e.high,typeof t=="boolean"?t:e.unsigned)}var us=1<<16,qu=1<<24,bn=us*us,ea=bn*bn,fs=ea/2,ds=Tn(qu),Je=Tn(0),Mt=Tn(0,!0),Qn=Tn(1),Yu=Tn(1,!0),ps=Tn(-1),ef=W(-1,2147483647,!1),tf=W(-1,-1,!0),je=W(0,-2147483648,!1);function An(e){return e.unsigned?e.low>>>0:e.low}function Yn(e){return e.unsigned?(e.high>>>0)*bn+(e.low>>>0):e.high*bn+(e.low>>>0)}function er(e,t){if(t=t||10,t<2||36<t)throw RangeError("radix");if(Gt(e))return"0";if(Pe(e))if(Be(e,je)){var n=Ke(t),r=yt(e,n),o=vn(Oe(r,n),e);return er(r,t)+An(o).toString(t)}else return"-"+er(de(e),t);for(var i=Ke(Pr(t,6),e.unsigned),s=e,l="";;){var u=yt(s,i),c=An(vn(s,Oe(u,i)))>>>0,a=c.toString(t);if(s=u,Gt(s))return a+l;for(;a.length<6;)a="0"+a;l=""+a+l}}function Gt(e){return e.high===0&&e.low===0}function Pe(e){return!e.unsigned&&e.high<0}function hs(e){return(e.low&1)===1}function Be(e,t){return qe(t)||(t=Ht(t)),e.unsigned!==t.unsigned&&e.high>>>31===1&&t.high>>>31===1?!1:e.high===t.high&&e.low===t.low}function ms(e,t){return ur(e,t)<0}function yo(e,t){return ur(e,t)>0}function nf(e,t){return ur(e,t)>=0}function ur(e,t){if(qe(t)||(t=Ht(t)),Be(e,t))return 0;var n=Pe(e),r=Pe(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:Pe(vn(e,t))?-1:1}function de(e){return!e.unsigned&&Be(e,je)?je:Kt(of(e),Qn)}function Kt(e,t){qe(t)||(t=Ht(t));var n=e.high>>>16,r=e.high&65535,o=e.low>>>16,i=e.low&65535,s=t.high>>>16,l=t.high&65535,u=t.low>>>16,c=t.low&65535,a=0,d=0,f=0,p=0;return p+=i+c,f+=p>>>16,p&=65535,f+=o+u,d+=f>>>16,f&=65535,d+=r+l,a+=d>>>16,d&=65535,a+=n+s,a&=65535,W(f<<16|p,a<<16|d,e.unsigned)}function vn(e,t){return qe(t)||(t=Ht(t)),Kt(e,de(t))}function Oe(e,t){if(Gt(e))return e.unsigned?Mt:Je;if(qe(t)||(t=Ht(t)),He){var n=He.mul(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}if(Gt(t))return e.unsigned?Mt:Je;if(Be(e,je))return hs(t)?je:Je;if(Be(t,je))return hs(e)?je:Je;if(Pe(e))return Pe(t)?Oe(de(e),de(t)):de(Oe(de(e),t));if(Pe(t))return de(Oe(e,de(t)));if(ms(e,ds)&&ms(t,ds))return Ke(Yn(e)*Yn(t),e.unsigned);var r=e.high>>>16,o=e.high&65535,i=e.low>>>16,s=e.low&65535,l=t.high>>>16,u=t.high&65535,c=t.low>>>16,a=t.low&65535,d=0,f=0,p=0,g=0;return g+=s*a,p+=g>>>16,g&=65535,p+=i*a,f+=p>>>16,p&=65535,p+=s*c,f+=p>>>16,p&=65535,f+=o*a,d+=f>>>16,f&=65535,f+=i*c,d+=f>>>16,f&=65535,f+=s*u,d+=f>>>16,f&=65535,d+=r*a+o*c+i*u+s*l,d&=65535,W(p<<16|g,d<<16|f,e.unsigned)}function yt(e,t){if(qe(t)||(t=Ht(t)),Gt(t))throw Error("division by zero");if(He){if(!e.unsigned&&e.high===-2147483648&&t.low===-1&&t.high===-1)return e;var n=(e.unsigned?He.div_u:He.div_s)(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}if(Gt(e))return e.unsigned?Mt:Je;var r,o,i;if(e.unsigned){if(t.unsigned||(t=uf(t)),yo(t,e))return Mt;if(yo(t,cf(e,1)))return Yu;i=Mt}else{if(Be(e,je)){if(Be(t,Qn)||Be(t,ps))return je;if(Be(t,je))return Qn;var s=af(e,1);return r=lf(yt(s,t),1),Be(r,Je)?Pe(t)?Qn:ps:(o=vn(e,Oe(t,r)),i=Kt(r,yt(o,t)),i)}else if(Be(t,je))return e.unsigned?Mt:Je;if(Pe(e))return Pe(t)?yt(de(e),de(t)):de(yt(de(e),t));if(Pe(t))return de(yt(e,de(t)));i=Je}for(o=e;nf(o,t);){r=Math.max(1,Math.floor(Yn(o)/Yn(t)));for(var l=Math.ceil(Math.log(r)/Math.LN2),u=l<=48?1:Pr(2,l-48),c=Ke(r),a=Oe(c,t);Pe(a)||yo(a,o);)r-=u,c=Ke(r,e.unsigned),a=Oe(c,t);Gt(c)&&(c=Qn),i=Kt(i,c),o=vn(o,a)}return i}function rf(e,t){if(qe(t)||(t=Ht(t)),He){var n=(e.unsigned?He.rem_u:He.rem_s)(e.low,e.high,t.low,t.high);return W(n,He.get_high(),e.unsigned)}return vn(e,Oe(yt(e,t),t))}function of(e){return W(~e.low,~e.high,e.unsigned)}function sf(e,t){return qe(t)||(t=Ht(t)),W(e.low&t.low,e.high&t.high,e.unsigned)}function lf(e,t){return qe(t)&&(t=An(t)),(t&=63)===0?e:t<32?W(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):W(0,e.low<<t-32,e.unsigned)}function af(e,t){return qe(t)&&(t=An(t)),(t&=63)===0?e:t<32?W(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):W(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function cf(e,t){if(qe(t)&&(t=An(t)),t&=63,t===0)return e;var n=e.high;if(t<32){var r=e.low;return W(r>>>t|n<<32-t,n>>>t,e.unsigned)}else return W(t===32?n:n>>>t-32,0,e.unsigned)}function uf(e){return e.unsigned?e:W(e.low,e.high,!0)}function ff(e,t){return t?df(e):pf(e)}function df(e){var t=e.high,n=e.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,t&255,t>>>8&255,t>>>16&255,t>>>24]}function pf(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,t&255,n>>>24,n>>>16&255,n>>>8&255,n&255]}function hf(e,t,n){return n?mf(e,t):gf(e,t)}function mf(e,t){return new Xe(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}function gf(e,t){return new Xe(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}const Ve=Kt,Ue=Oe,ut=yt,wf=rf,_f=de,Rn=sf,qr=ur,pe=W,ft=An,yf=Yn;function ee(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0;break}return W(r,o>>31,t)}class bf{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class N{constructor(t,n,r,o,i,s,l){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=i,this.cases=s,this.enumCases=l}toString(){return fe(this)}GetHashCode(){return ta(this)}Equals(t){return Vo(this,t)}}function It(e){return e.generics!=null?e.generics:[]}function ta(e){const t=Gl(e.fullname),n=It(e).map(ta);return Fn([t,...n])}function Vo(e,t){return e.fullname===""?t.fullname===""&&Oo(Hr(e),Hr(t),([n,r],[o,i])=>n===o&&Vo(r,i)):e.fullname===t.fullname&&Oo(It(e),It(t),Vo)}function tr(e,t,n,r){return new N(e,t,n,r)}function tn(e,t,n,r){return new N(e,t,n,void 0,r)}function Af(e,t,n,r){const o=new N(e,t,n,void 0,void 0,()=>{const i=n.prototype.cases();return r().map((s,l)=>new bf(o,l,i[l],s))});return o}function ii(e){return new N("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Yr(e){return new N("Microsoft.FSharp.Collections.FSharpList`1",[e])}const vf=new N("System.Object");new N("Microsoft.FSharp.Core.Unit");new N("System.Char");const dt=new N("System.String");new N("System.Boolean");new N("System.SByte");new N("System.Byte");new N("System.Int16");new N("System.UInt16");const _e=new N("System.Int32");new N("System.UInt32");new N("System.Int64");new N("System.UInt64");new N("System.Int128");new N("System.UInt128");new N("System.IntPtr");new N("System.UIntPtr");new N("System.Half");new N("System.Single");new N("System.Double");new N("System.Decimal");new N("System.Numerics.BigInteger");function si(e){if(Array.isArray(e))return e[0];if(e instanceof N){const t=eo(e);if(t!=null)return si(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function fe(e){const t=eo(e);return t!=null?fe(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>fe(n)).join(",")+"]"}function xf(e){return eo(e)!=null}function eo(e){var t;return e.fullname==="[]"&&((t=e.generics)===null||t===void 0?void 0:t.length)===1?e.generics[0]:void 0}function Ef(e){return e.generics!=null&&e.generics.length>0}function na(e){return e.enumCases!=null&&e.enumCases.length>0}function Cf(e){return e.generics==null?e:new N(e.fullname,e.generics.map(()=>vf))}function Sf(e){var t;return(t=e.generics)===null||t===void 0?void 0:t[0]}function cn(e){if(na(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Df(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function un(e,t){const n=parseInt(t,10);return Df(e,isNaN(n)?t:n)[1]}function Ff(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Hr(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function If(e){if(ra(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function kf(e){return e instanceof N?e.cases!=null:e instanceof te}function Mf(e){return e instanceof N?e.fields!=null:e instanceof le}function ra(e){return e.fullname.startsWith("System.Tuple")}function Tf(e){return e.fields==null?[]:e.fields}function gs(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return e.declaringType.construct!=null?new e.declaringType.construct(e.tag,t):{}}function Rf(e,t){const n=Hr(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,i],s)=>(r[o]=t[s],r),{})}function Nf(e,t){return e}function li(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+nt(n,2)+":"+nt(r,2)}function jr(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Of(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return nt(e.getFullYear(),4)+"-"+nt(e.getMonth()+1,2)+"-"+nt(e.getDate(),2)+"T"+nt(e.getHours(),2)+":"+nt(e.getMinutes(),2)+":"+nt(e.getSeconds(),2)+"."+nt(e.getMilliseconds(),3)+(n?li(e.getTimezoneOffset()*-6e4):"")}}function Bf(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+li(t)}function oa(e,t,n){return t.replace(/(\w)\1*/g,r=>{let o=Number.NaN;switch(r.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();o=r.length<4?i%100:i;break;case"M":o=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":o=n?e.getUTCDate():e.getDate();break;case"H":o=n?e.getUTCHours():e.getHours();break;case"h":const s=n?e.getUTCHours():e.getHours();o=s>12?s%12:s;break;case"m":o=n?e.getUTCMinutes():e.getMinutes();break;case"s":o=n?e.getUTCSeconds():e.getSeconds();break;case"f":o=n?e.getUTCMilliseconds():e.getMilliseconds();break}return Number.isNaN(o)?r:nt(o,r.length)})}function Pf(e,t){var n,r,o;const i=new Date(e.getTime()+((n=e.offset)!==null&&n!==void 0?n:0));if(typeof t!="string")return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+li((r=e.offset)!==null&&r!==void 0?r:0);if(t.length===1)switch(t){case"D":case"d":return jr(i,"first");case"T":case"t":return jr(i,"second");case"O":case"o":return Bf(i,(o=e.offset)!==null&&o!==void 0?o:0);default:throw new Error("Unrecognized Date print format")}else return oa(i,t,!0)}function Hf(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?jr(e,"first"):e.toLocaleDateString();case"T":case"t":return n?jr(e,"second"):e.toLocaleTimeString();case"O":case"o":return Of(e,n);default:throw new Error("Unrecognized Date print format")}else return oa(e,t,n)}function ia(e,t,n){return e.offset!=null?Pf(e,t):Hf(e,t)}function ai(e,t){const n=new Date(e);return n.kind=(t==null?0:t)|0,n}function jf(){return ai(-621355968e5,0)}function sa(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(o!=null){let i,s=0;if(o[2]!=null){const l=o[2].split(":");s=parseInt(l[0],10)*3600+parseInt(l[1]||"0",10)*60+parseFloat(l[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&(s+=720)}if(o[4]!=null){if(o[1]!=null)i=new Date(o[1]+" UTC");else{const l=new Date;i=new Date(l.getUTCFullYear()+"/"+(l.getUTCMonth()+1)+"/"+l.getUTCDate())}if(o[4]==="Z")r="Z";else{let l=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(l*=-1),r=l,s-=l*60}}else if(o[1]!=null)i=new Date(o[1]);else{const l=new Date;i=new Date(l.getFullYear()+"/"+(l.getMonth()+1)+"/"+l.getDate())}n=new Date(i.getTime()+s*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-i.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function Vf(e,t=!1){const[n,r]=sa(e),o=r!=null?t&&r==="Z"?1:2:0;return ai(n.getTime(),o)}function Uf(e,t){try{return t.contents=Vf(e),!0}catch{return!1}}function Lf(e){return e.kind===1?e:ai(e.getTime(),1)}function zf(e,t=0){if((t&-284)!==0)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function ci(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function ws(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;(o=e.exec(t))!=null;)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Wf(e,t,n,r,o=0){function i(){let s=arguments[0];if(r){r--;const l=[],u=arguments.length,c=typeof arguments[u-1]!="string";let a=c?u-3:u-2;for(let d=0;d<a;d++)l.push(arguments[d]);l.index=arguments[a++],l.input=arguments[a++],c&&(l.groups=arguments[a]),s=n(l)}return s}if(typeof e=="string"){const s=e;e=zf(t,r!=null?r:0),t=s,r=void 0}if(typeof n=="function")return r=r==null?-1:r,t.substring(0,o)+t.substring(o).replace(e,i);if(n=n.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let s;const l=t.substring(o),u=ws(e,l),c=ws.length>r?(s=u[r-1],l.substring(0,s.index+s[0].length)):l;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}else return t.replace(e,n)}const Ln=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Gf=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function la(e,t){return Bu(e,t)<0}function nn(e){return{input:e,cont:Kf(e)}}function aa(e,t){return typeof t=="string"?e(t):t.cont(e)}function Nn(e){return aa(t=>t,e)}function Qf(e){return aa(t=>{throw new Error(t)},e)}function Zf(e,t,n,r,o){let i="";if(t=t||"",o=o||"",$l(e))switch(o.toLowerCase()!=="x"&&(la(e,0)?(e=Ho(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r!=null?r:6,e=Sr(e,r);break;case"g":case"G":e=r!=null?Nr(e,r):Nr(e);break;case"e":case"E":e=r!=null?Or(e,r):Or(e);break;case"x":e=Br(e);break;case"X":e=Br(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=ia(e):e=Ce(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=i+e;else{const s=t.indexOf("0")>=0,l=t.indexOf("-")>=0,u=l||!s?" ":"0";u==="0"?(e=nr(e,n-i.length,u,l),e=i+e):e=nr(i+e,n,u,l)}return e}function ca(e,t,n,r="",o=-1){return(...i)=>{let s=r;const l=t.slice(),u=n.slice();for(const c of i){const[,,a,d,f,p]=u[0];let g=d;if(o>=0)g=o,o=-1;else if(g==="*"){if(c<0)throw new Error("Non-negative number required");o=c;continue}s+=l[0],s+=Zf(c,a,g,f,p),l.splice(0,1),u.splice(0,1)}return u.length===0?(s+=l[0],e(s)):ca(e,l,u,s,o)}}function Kf(e){return t=>{Ln.lastIndex=0;const n=[],r=[];let o=0,i=Ln.exec(e);for(;i;){const s=i.index+(i[1]||"").length;n.push(e.substring(o,s).replace(/%%/g,"%")),r.push(i),o=Ln.lastIndex,Ln.lastIndex-=1,i=Ln.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),ca(t,n,r))}}function Jf(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(Gf,(r,o,i,s,l,u)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let c=t[o];if($l(c))switch(l=l==null?null:parseInt(l,10),s){case"f":case"F":l=l!=null?l:2,c=Sr(c,l);break;case"g":case"G":c=l!=null?Nr(c,l):Nr(c);break;case"e":case"E":c=l!=null?Or(c,l):Or(c);break;case"p":case"P":l=l!=null?l:2,c=Sr(Ho(c,100),l)+" %";break;case"d":case"D":c=l!=null?bo(String(c),l,"0"):String(c);break;case"x":case"X":c=l!=null?bo(Br(c),l,"0"):Br(c),s==="X"&&(c=c.toUpperCase());break;default:if(u){let a="";c=u.replace(/([0#,]+)(\.[0#]+)?/,(d,f,p)=>{la(c,0)&&(c=Ho(c,-1),a="-"),p=p==null?"":p.substring(1),c=Sr(c,Math.max(p.length,0));let[g,_]=c.split(".");_||(_="");const w=f.replace(/,/g,"").replace(/^#+/,"").length;g=bo(g,w,"0");const b=p.replace(/#+$/,"").length;if(b>_.length?_=Xf(_,b,"0"):b<_.length&&(_=_.substring(0,b)+_.substring(b).replace(/0+$/,"")),f.indexOf(",")>0){const I=g.length%3,ne=Math.floor(g.length/3);let oe=I>0?g.substr(0,I)+(ne>0?",":""):"";for(let G=0;G<ne;G++)oe+=g.substr(I+G*3,3)+(G<ne-1?",":"");g=oe}return _.length>0?g+"."+_:g}),c=a+c}}else c instanceof Date?c=ia(c,u||s):c=Ce(c);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(c=nr(String(c),Math.abs(i)," ",i<0)),c})}function $f(e){return typeof e!="string"||e.length===0}function St(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function nr(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function bo(e,t,n){return nr(e,t,n)}function Xf(e,t,n){return nr(e,t,n,!0)}function qf(e,t,n){return e.replace(new RegExp(ci(t),"g"),n)}function Yf(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,i=(r&2)===2;t=t||[],t=t.filter(a=>a).map(ci),t=t.length>0?t:["\\s"];const s=[],l=new RegExp(t.join("|"),"g");let u=!0,c=0;do{const a=l.exec(e);if(a===null){const d=i?e.substring(c).trim():e.substring(c);(!o||d.length>0)&&s.push(d),u=!1}else{const d=i?e.substring(c,a.index).trim():e.substring(c,a.index);(!o||d.length>0)&&(n!=null&&s.length+1===n?(s.push(i?e.substring(c).trim():e.substring(c)),u=!1):s.push(d)),c=l.lastIndex}}while(u);return s}function ed(e,...t){if(t.length===0)return e.trim();const n="["+ci(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}const ua="Collection was empty.",td="An index satisfying the predicate was not found in the collection.";function xe(e){return e==null||e instanceof _n?new _n(e):e}function nd(e){return e==null?[]:[$(e)]}function fa(e,t){return e!=null?$(e):t}function ui(e,t){return typeof e=="function"?new e(t):new Array(t)}function rd(){throw new Error("Arrays had different lengths")}function fi(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function xn(e,t,n){const r=t.length|0,o=ui(n,r);for(let i=0;i<=r-1;i++)o[i]=e(t[i]);return o}function od(e,t){const n=ui(t,1);return n[0]=e,n}function On(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=ui(n,e);for(let o=0;o<=e-1;o++)r[o]=t(o);return r}function id(e){return e.slice()}function sd(e,t){return t.find(e)}function ld(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const i=e(t[o]);if(i!=null){const s=$(i);r.push(s)}}return it(n,Et())?r:xn(o=>o,r,n)}function di(e,t,n){return n.reduce(e,t)}function ad(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}function cd(e,t,n,r){let o=r;t.length!==n.length&&rd();const i=t.length|0;for(let s=1;s<=i;s++)o=e(s-1,t[i-s],n[i-s],o);return o}function ud(e,t,n,r){return cd((o,i,s,l)=>e(i,s,l),t,n,r)}class pt extends le{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+St("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,i)=>{e:for(;;){const s=o,l=i,u=s.tail,c=l.tail;if(u!=null)if(c!=null){const a=u,d=c;if(it(s.head,l.head)){o=a,i=d;continue e}else return!1}else return!1;else return c==null}})(n,t)}GetHashCode(){return((r,o,i)=>{e:for(;;){const s=r,l=o,u=i,c=u.tail;if(c!=null){const a=c;if(s>18)return l|0;r=s+1,o=(l<<1)+Ct(u.head)+631*s,i=a;continue e}else return l|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const s=o,l=i,u=s.tail,c=l.tail;if(u!=null)if(c!=null){const a=u,d=c,f=ct(s.head,l.head)|0;if(f===0){o=a,i=d;continue e}else return f|0}else return 1;else return c!=null?-1:0}})(this,t)|0}GetEnumerator(){return dd(this)}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ee(this)}}class fd{constructor(t){this.xs=t,this.it=this.xs,this.current=Et()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=n;return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Et()}Dispose(){}}function dd(e){return new fd(e)}function ht(){return new pt(Et(),void 0)}function fr(e,t){return new pt(e,t)}function to(e){return e.tail==null}function da(e){return((n,r)=>{e:for(;;){const o=n,s=r.tail;if(s!=null){n=o+1,r=s;continue e}else return o|0}})(0,e)|0}function pi(e){if(e.tail!=null)return e.head;throw new Error(ua+"\\nParameter name: list")}function rn(e){const t=e.tail;if(t!=null)return t;throw new Error(ua+"\\nParameter name: list")}function pd(){throw new Error(td)}function Le(){return ht()}function Re(e,t){return fr(e,t)}function ve(e){return fr(e,ht())}function R(e){return to(e)}function hd(e){return da(e)}function x(e){return pi(e)}function T(e){return rn(e)}function no(e){const t=da(e)|0,n=fi(new Array(t),0,t,null);return((o,i)=>{e:for(;;){const s=o,l=i;if(!to(l)){n[s]=pi(l),o=s+1,i=rn(l);continue e}break}})(0,e),n}function jt(e,t,n){let r=t,o=n;for(;!to(o);)r=e(r,x(o)),o=rn(o);return r}function pa(e){return jt((t,n)=>fr(n,t),ht(),e)}function ha(e,t){jt((n,r)=>{e(r)},void 0,t)}function Q(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=fr(e[r],n);return n}function S(e){return Q(e,ht())}function md(e){let t,n;if(at(e))return S(e);if(e instanceof pt)return e;{const r=ht();let o=r;const i=Ee(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new pt(u,void 0),t.tail=n,n)}}finally{J(i)}const s=o,l=ht();return s.tail=l,rn(r)}}function ma(e){const t=ht();let n=t;const r=s=>{n=jt((l,u)=>{const c=new pt(u,void 0);return l.tail=c,c},n,s)};if(at(e))e.forEach(r);else if(e instanceof pt)ha(r,e);else{const s=Ee(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();)r(s["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{J(s)}}const o=n,i=ht();return o.tail=i,rn(t)}function ro(e,t){return jt((n,r)=>fr(r,n),t,pa(e))}function Vr(e,t){const n=ht(),r=jt((i,s)=>{const l=new pt(e(s),void 0);return i.tail=l,l},n,t),o=ht();return r.tail=o,rn(n)}function gd(e,t){return(r=>{e:for(;;){const o=r;if(to(o))return;{const i=e(pi(o));if(i==null){r=rn(o);continue e}else return i}}})(t)}function wd(e,t){return gd(n=>e(n)?xe(n):void 0,t)}function _d(e,t){const n=wd(e,t);return n==null?pd():$(n)}class h extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Dt(e,t){return t.tag===0?new h(0,[e(t.fields[0])]):new h(1,[t.fields[0]])}class ga extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function yd(e){return new ga(0,[e])}function bd(e){return new ga(1,[e])}function Ad(e){throw new Error(e)}const vd="Enumeration already finished.",xd="Enumeration has not started. Call MoveNext.",wa="The input sequence has an insufficient number of elements.",Ed="Reset is not supported on this enumerator.";function Cd(){throw new Error(Ed)}function hi(){throw new Error(xd)}function Uo(){throw new Error(vd)}class Sd{constructor(t){this.f=t}toString(){const t=this,n=4;let r=0,o="seq [";const i=Ee(t);try{for(;r<n&&i["System.Collections.IEnumerator.MoveNext"]();)r>0&&(o=o+"; "),o=o+Ce(i["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=r+1|0;return r===n&&(o=o+"; ..."),o+"]"}finally{J(i)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Dd(e){return new Sd(e)}class Fd{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Cd()}Dispose(){this.dispose()}}function oo(e,t,n){return new Fd(e,t,n)}function Id(e){let t,n,r=!1,o=!1,i;const s=()=>{if(o=!0,n!=null){const l=n;try{J(l)}finally{n=void 0}}if(t!=null){const l=t;try{J(l)}finally{t=void 0}}};return oo(()=>(r?o&&Uo():hi(),i!=null?$(i):Uo()),()=>{let l;if(r||(r=!0),o)return!1;{let u;for(;u==null;){const c=t,a=n;if(c!=null)if(a!=null){const d=a;if(d["System.Collections.IEnumerator.MoveNext"]())i=xe(d["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{J(d)}finally{n=void 0}}else{const d=c;d["System.Collections.IEnumerator.MoveNext"]()?n=(l=d["System.Collections.Generic.IEnumerator`1.get_Current"](),Ee(l)):(s(),u=!1)}else t=Ee(e)}return $(u)}},()=>{o||s()})}function kd(e,t){return oo(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{J(t)}finally{e()}})}function _a(e,t,n){let r=!1,o,i=xe(e());const s=()=>{if(i!=null){const u=$(i);try{n(u)}finally{i=void 0}}},l=()=>{try{s()}finally{o=void 0}};return oo(()=>(r||hi(),o!=null?$(o):Uo()),()=>{if(r||(r=!0),i!=null){const u=$(i);let c;try{c=t(u)}catch(a){throw l(),a}return c!=null?(o=c,!0):(l(),!1)}else return!1},s)}function Md(e,t){let n,r=t;return oo(()=>{if(n!=null){const o=n[0];return n[1],o}else return hi()},()=>(n=e(r),n!=null?(n[0],r=n[1],!0):!1),()=>{})}function Td(e,t){t==null&&Ad(e)}function Bn(e){return Dd(e)}function Jt(e){return Td("source",e),Ee(e)}function M(e){return Bn(()=>Ee(e()))}function ya(e){return Bn(()=>Id(e))}function Rd(e,t){return Bn(()=>Md(e,t))}function ba(){return M(()=>new Array(0))}function k(e){return M(()=>od(e,null))}function lt(e){return at(e)?S(e):e instanceof pt?e:md(e)}function Nd(e,t,n){return Bn(()=>_a(e,t,n))}function Od(e,t,n){return Bn(()=>{let r=-1;return _a(e,o=>(r=r+1|0,t(r,o)),n)})}function se(e,t){return ya([e,t])}function Bd(e,t,n){const r=Jt(t);try{const o=Jt(n);try{let i=0,s=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]();for(;i===0&&s&&l;)i=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,i===0&&(s=r["System.Collections.IEnumerator.MoveNext"](),l=o["System.Collections.IEnumerator.MoveNext"]());return(i!==0?i:s?1:l?-1:0)|0}finally{J(o)}}finally{J(r)}}function fn(e,t,n){const r=Jt(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{J(r)}}function Aa(e,t,n){const r=Jt(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{J(r)}}function mi(e,t){Aa((n,r)=>{e(r)},void 0,t)}function Ne(e,t){return Nd(()=>Jt(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?xe(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{J(n)})}function Pd(e,t){return Bn(()=>{const n=Jt(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(wa+"\\nParameter name: source");return kd(()=>{},n)}catch(r){throw J(n),r}})}function Hd(e,t){return Od(()=>Jt(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return xe(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(wa+"\\nParameter name: source")}else return},n=>{J(n)})}function va(e,t){return M(()=>ya(Ne(e,t)))}class xa{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class io extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,io.prototype)}}class gi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>gi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function At(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new io);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(Rr(n))}});else try{e(t)}catch(n){t.onError(Rr(n))}}}function jd(e,t){return At(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(Rr(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Vd(e){return At(t=>t.onSuccess(e))}class Ud{Bind(t,n){return jd(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return At(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const i=n(o.value);return o=r.next(),i}))}Return(t){return Vd(t)}ReturnFrom(t){return t}TryFinally(t,n){return At(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return At(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(i){r.onError(Rr(i))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return At(t=>t.onSuccess(void 0))}}const F=new Ud;class Ea extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ImportId"]}}function Ld(){return new Ea(0,[1])}(()=>{const e=Ld();return t=>jt((n,r)=>new Ea(0,[1+Bo(yn,n.fields[0],r.fields[0])]),e,t)})();class zd extends le{constructor(t,n,r,o,i,s,l,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CompletedSuccessfully=i|0,this.CompletedFailed=s|0,this.NextRow=l,this.StartTime=u}}function Wd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ActiveImportDto",[],zd,()=>[["ImportId",_e],["User",dt],["Filename",dt],["NumberOfRecords",_e],["CompletedSuccessfully",_e],["CompletedFailed",_e],["NextRow",ii(_e)],["StartTime",tr("System.DateTime")]])}class Gd extends le{constructor(t,n,r,o,i,s,l,u){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.Succeeded=i|0,this.Failed=s|0,this.StartTime=l,this.StopTime=u}}function Qd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ImportHistoryDto",[],Gd,()=>[["ImportId",_e],["User",dt],["Filename",dt],["NumberOfRecords",_e],["Succeeded",_e],["Failed",_e],["StartTime",tr("System.DateTime")],["StopTime",tr("System.DateTime")]])}class Ca extends le{constructor(t,n){super(),this.ActiveImport=t,this.ImportHistory=n}}function Sa(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.AccountImportsDto",[],Ca,()=>[["ActiveImport",ii(Wd())],["ImportHistory",Yr(Qd())]])}new Ca(void 0,Le());class Zd extends le{constructor(t,n){super(),this.Column=t,this.Message=n}}function Kd(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.FieldError",[],Zd,()=>[["Column",dt],["Message",dt]])}class Jd extends le{constructor(t,n){super(),this.RowId=t|0,this.FieldErrors=n}}function $d(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.RowValidationError",[],Jd,()=>[["RowId",_e],["FieldErrors",Yr(Kd())]])}class Xd extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["InvalidFileContentType","InvalidFileName","ExceedsMaxRows","FileFormatError","NoData","NoFile","MultipleFiles","RowValidationErrors","UnknownAccount"]}}function qd(){return Af("Basic.Profile.Domain.Import.Api.Admin.Read.PostImportError",[],Xd,()=>[[],[],[],[["Item",dt]],[],[],[],[["Item",Yr($d())]],[]])}class Yd extends le{constructor(t,n,r,o,i,s,l,u,c,a){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.TotalRecordCount=o|0,this.SucceededRecordCount=i|0,this.FailedRecordCount=s|0,this.FailedRecords=l,this.RemainingRecordCount=u|0,this.StartTime=c,this.StopTime=a}}function ep(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.ImportDto",[],Yd,()=>[["ImportId",_e],["User",dt],["Filename",dt],["TotalRecordCount",_e],["SucceededRecordCount",_e],["FailedRecordCount",_e],["FailedRecords",Yr(np())],["RemainingRecordCount",_e],["StartTime",tr("System.DateTime")],["StopTime",ii(tr("System.DateTime"))]])}class tp extends le{constructor(t,n){super(),this.RowId=t|0,this.Reason=n}}function np(){return tn("Basic.Profile.Domain.Import.Api.Admin.Read.FailedImportRecordDto",[],tp,()=>[["RowId",_e],["Reason",dt]])}class rp{constructor(){}}function op(){return new rp}function wi(e,t){return F.Delay(t)}const _i=op();function Ao(e){}function ip(e){const t=new xa(typeof e=="boolean"?e:!1);return typeof e=="number"&&setTimeout(()=>{t.cancel()},e),t}function sp(e){e.cancel()}const lp=new xa;function ap(e){return At(t=>{e({onSuccess:n=>t.onSuccess(yd(n)),onError:n=>t.onSuccess(bd(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function cp(e){return At(t=>e([t.onSuccess,t.onError,t.onCancel]))}function up(e){return At(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new io)})})}function fp(e,t){return dp(e,t)}function Da(e,t){return fp(e,t)}function dp(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const i=new gi;e({onSuccess:t||Ao,onError:n||Ao,onCancel:r||Ao,cancelToken:o||lp,trampoline:i})}class so extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class pp extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Header"]}}class Fa extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class dr extends le{constructor(t,n,r,o,i,s,l,u){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=i,this.overridenResponseType=s,this.timeout=l,this.content=u}}class dn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ia extends le{constructor(t,n,r,o,i,s){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=i,this.content=s}}class ka{constructor(t,n){this.k=t,this.v=n}}function rr(e,t){return new ka(e,t)}function re(e){return e.k}function be(e){return e.v}class Y extends ka{constructor(t,n,r,o,i){super(t,n),this.left=r,this.right=o,this.h=i|0}}function Jn(e,t,n,r,o){return new Y(e,t,n,r,o)}function ge(e){return e.left}function we(e){return e.right}function Tt(e){return e.h}function Ma(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof Y){e=Ma(n+1,ge(o)),t=we(o);continue e}else return n+1|0}else return n|0}}function hp(e){return Ma(0,e)}function Ge(e,t,n,r){let o;const i=e;if(i!=null){const c=i;o=c instanceof Y?Tt(c):1}else o=0;let s;const l=r;if(l!=null){const c=l;s=c instanceof Y?Tt(c):1}else s=0;const u=(o<s?s:o)|0;return u===0?rr(t,n):Jn(t,n,e,r,u+1)}function _s(e,t,n,r){let o,i,s,l,u;const c=e;if(c!=null){const f=c;u=f instanceof Y?Tt(f):1}else u=0;let a;const d=r;if(d!=null){const f=d;a=f instanceof Y?Tt(f):1}else a=0;if(a>u+2){const f=$(r);if(f instanceof Y)if(o=ge(f),(o!=null?(i=o,i instanceof Y?Tt(i):1):0)>u+1){const p=$(ge(f));if(p instanceof Y)return Ge(Ge(e,t,n,ge(p)),re(p),be(p),Ge(we(p),re(f),be(f),we(f)));throw new Error("internal error: Map.rebalance")}else return Ge(Ge(e,t,n,ge(f)),re(f),be(f),we(f));else throw new Error("internal error: Map.rebalance")}else if(u>a+2){const f=$(e);if(f instanceof Y)if(s=we(f),(s!=null?(l=s,l instanceof Y?Tt(l):1):0)>a+1){const p=$(we(f));if(p instanceof Y)return Ge(Ge(ge(f),re(f),be(f),ge(p)),re(p),be(p),Ge(we(p),t,n,r));throw new Error("internal error: Map.rebalance")}else return Ge(ge(f),re(f),be(f),Ge(we(f),t,n,r));else throw new Error("internal error: Map.rebalance")}else return Ge(e,t,n,r)}function En(e,t,n,r){if(r!=null){const o=r,i=e.Compare(t,re(o))|0;return o instanceof Y?i<0?_s(En(e,t,n,ge(o)),re(o),be(o),we(o)):i===0?Jn(t,n,ge(o),we(o),Tt(o)):_s(ge(o),re(o),be(o),En(e,t,n,we(o))):i<0?Jn(t,n,void 0,r,2):i===0?rr(t,n):Jn(t,n,r,void 0,2)}else return rr(t,n)}function Ta(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,re(s))|0;if(l===0)return xe(be(s));if(s instanceof Y){e=r,t=o,n=l<0?ge(s):we(s);continue e}else return}else return}}function mp(e,t,n){const r=Ta(e,t,n);if(r==null)throw new Error;return $(r)}function gp(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,re(s))|0;if(s instanceof Y)if(l<0){e=r,t=o,n=ge(s);continue e}else{if(l===0)return!0;e=r,t=o,n=we(s);continue e}else return l===0}else return!1}}function Ra(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof Y){Ra(n,ge(o)),n(re(o),be(o)),e=n,t=we(o);continue e}else n(re(o),be(o))}break}}function wp(e,t){Ra(e,t)}function Lo(e,t){if(t!=null){const n=t;if(n instanceof Y){const r=Lo(e,ge(n)),o=e(re(n),be(n)),i=Lo(e,we(n));return Jn(re(n),o,r,i,Tt(n))}else return rr(re(n),e(re(n),be(n)))}else return void 0}function _p(e,t){return Lo(e,t)}function yp(e,t,n){let r=n;wp((o,i)=>{t[r]=[o,i],r=r+1|0},e)}function bp(e,t){return jt((n,r)=>En(e,r[0],r[1],n),void 0,t)}function Ap(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=En(r,s[0],s[1],o),n=i;continue e}else return o}}function vp(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=En(e,o[0],o[1],n)}return n}function Na(e,t){if(at(t))return vp(e,t);if(t instanceof pt)return bp(e,t);{const n=Ee(t);try{return Ap(e,void 0,n)}finally{J(n)}}}class xp extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function Oa(e){e:for(;;){const t=e;if(R(t))return Le();{const n=T(t),r=x(t);if(r!=null){const o=r;if(o instanceof Y){e=Q([ge(o),rr(re(o),be(o)),we(o)],n);continue e}else return t}else{e=n;continue e}}}}function ys(e){return new xp(Oa(ve(e)),!1)}function Ep(){throw new Error("enumeration not started")}function Cp(){throw new Error("enumeration already finished")}function bs(e){if(e.started){const t=e.stack;if(R(t))return Cp();if(x(t)!=null){const n=x(t);if(n instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for current");return[re(n),be(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return Ep()}function Sp(e){if(e.started){const t=e.stack;if(R(t))return!1;if(x(t)!=null){if(x(t)instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Oa(T(t)),!R(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!R(e.stack)}function As(e){let t=ys(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return bs(t)},"System.Collections.IEnumerator.get_Current"(){return bs(t)},"System.Collections.IEnumerator.MoveNext"(){return Sp(t)},"System.Collections.IEnumerator.Reset"(){t=ys(e)},Dispose(){}}}class Ur{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Mp(this)|0}Equals(t){const n=this;if(t instanceof Ur){const r=Ee(n);try{const o=Ee(t);try{const i=()=>{const s=r["System.Collections.IEnumerator.MoveNext"]();if(s===o["System.Collections.IEnumerator.MoveNext"]())if(s){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"](),u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();return it(l[0],u[0])&&it(l[1],u[1])?i():!1}else return!0;else return!1};return i()}finally{J(o)}}finally{J(r)}}else return!1}toString(){return"map ["+St("; ",Ne(n=>Jf("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return As(this.tree)}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return As(this.tree)}CompareTo(t){const n=this;if(t instanceof Ur)return Bd((r,o)=>{const i=n.comparer.Compare(r[0],o[0])|0;return(i!==0?i:ct(r[1],o[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return xs(n,t[0])&&it(vs(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){yp(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return vo(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return vo(this)|0}get size(){return vo(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Ne(n=>[n[0],n[1]],this)}get(t){return vs(this,t)}has(t){return xs(this,t)}keys(){return Ne(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Ne(n=>n[1],this)}forEach(t,n){const r=this;mi(o=>{In(2,t,[o[1]])(o[0])(r)},r)}}function pr(e,t){return new Ur(e,t)}function Dp(e){return pr(e,void 0)}function Fp(e,t,n){return pr(e.comparer,En(e.comparer,t,n,e.tree))}function vs(e,t){return mp(e.comparer,t,e.tree)}function Ip(e,t){return pr(e.comparer,_p(t,e.tree))}function vo(e){return hp(e.tree)}function xs(e,t){return gp(e.comparer,t,e.tree)}function kp(e,t){return Ta(e.comparer,t,e.tree)}function Mp(e){const t=(o,i)=>(o<<1)+i+631;let n=0;const r=Ee(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ct(o[0]))|0,n=t(n,Ct(o[1]))|0}}finally{J(r)}return n|0}function Tp(e,t,n){return Fp(n,e,t)}function Rp(e,t){return kp(t,e)}function Np(e,t){return Ip(t,e)}function Op(e,t){return pr(t,Na(t,e))}function Bp(e,t){return pr(t,Na(t,e))}function Ba(e){return Dp(e)}function yi(e){return new pp(0,["Authorization",e])}const Lt=new dr("",new so(0,[]),Le(),!1,void 0,void 0,void 0,new Fa(0,[]));new Ia(0,"","","",Ba({Compare:yn}),new dn(0,[""]));function Es(e,t){return $f(t)?[t]:Yf(t,[e],void 0,0)}function Pp(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function bi(e){return new dr(e,Lt.method,Lt.headers,Lt.withCredentials,Lt.overridenMimeType,Lt.overridenResponseType,Lt.timeout,Lt.content)}function Ai(e,t){return new dr(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function vi(e,t){return new dr(t.url,t.method,ro(t.headers,ve(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Hp(e,t){return new dr(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function xi(e){return cp(t=>{const n=new XMLHttpRequest;n.open(Pp(e.method),e.url),n.onreadystatechange=()=>{let u,c,a,d,f,p,g;n.readyState===4&&t[0]((u=(c=n.responseType,c===""||c==="text"?n.responseText:""),a=n.status|0,d=n.responseType,f=(p=n.responseType,p===""?new dn(0,[n.responseText]):p==="text"?new dn(0,[n.responseText]):p==="arraybuffer"?new dn(2,[n.response]):p==="blob"?new dn(1,[n.response]):new dn(3,[n.response])),g=Bp(ld(_=>{const w=S(Es(":",_));if(!R(w))return[x(w).toLocaleLowerCase(),St(":",T(w)).trim()]},Es(`\r
|
|
4
|
+
`,n.getAllResponseHeaders()),null),{Compare:yn}),new Ia(a,u,d,n.responseURL,g,f)))};const r=Ee(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const u=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(u.fields[0],u.fields[1])}}finally{J(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const u=o;n.overrideMimeType(u)}const i=e.overridenResponseType;i==null||(i.tag===1?n.responseType="blob":i.tag===2?n.responseType="arraybuffer":n.responseType="text");const s=e.timeout;if(s!=null){const u=s|0;n.timeout=u|0}const l=e.content;switch(l.tag){case 1:{n.send(xe(l.fields[0]));break}case 3:{n.send(xe(l.fields[0]));break}case 2:{n.send(xe(l.fields[0]));break}default:n.send()}})}class v extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class or extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Cs(e){return e.slice(void 0,0+1).toLowerCase()+e.slice(1,e.length)}function jp(e,t){switch(e.tag){case 2:return Wf(Cs(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Cs(t)}}const Vp=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Ss=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Up=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Lp(e){function t(r){return r.replace(Ss,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Vp.test(n))return ed(n,"{","}","(",")");if(Ss.test(n))return t(n);if(Up.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function zp(e,t){try{return t.contents=Lp(e),!0}catch{return!1}}class Pa extends le{constructor(t,n){super(),this.bound=t|0,this.digits=n}}function Ha(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Ha(n*n,~~(r/2))|0}}pe(2013265921,0,!1);pe(2013265921,0,!0);const Wp=29;On(Wp-1,e=>Ha(2,e),Int32Array);function zo(e){return e.bound}function Zn(e,t){return e.digits[t]}function Wo(e,t){return ee(Zn(e,t),!1,2)}function Lr(e,t,n){e.digits[t]=n|0}function Ei(e,t){e:for(;;){const n=e,r=t;if(r===0)return pe(1,0,!1);if(r%2===0){e=Ue(n,n),t=~~(r/2);continue e}else return Ue(n,Ei(Ue(n,n),~~(r/2)))}}function Cn(e,t){e:for(;;){const n=e,r=t;if(r===0)return 1;if(r%2===0){e=n*n,t=~~(r/2);continue e}else return n*Cn(n*n,~~(r/2))|0}}function Gp(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return t|0}const Sn=24,Qt=16777216,mt=pe(16777216,0,!1),Pn=pe(16777215,0,!1);pe(16777215,0,!0);function $t(e){return new Pa(e,new Int32Array(e))}function Qp(e){return new Pa(e.bound,id(e.digits))}function gt(e){const n=((r,o)=>{e:for(;;){const i=r,s=o;if(s===-1||i[s]!==0)return s+1|0;r=i,o=s-1;continue e}})(e.digits,e.bound-1)|0;return e.bound=n|0,e}const Ds=2,Fs=3;function hr(e){const t=(e<0?0:e)|0;if(t<Qt){const n=$t(1);return n.digits[0]=t|0,gt(n)}else{const n=$t(Ds);for(let r=0;r<=Ds-1;r++)n.digits[r]=~~(t/Cn(Qt,r))%Qt|0;return gt(n)}}function Zp(e){const t=qr(e,pe(0,0,!1))<0?pe(0,0,!1):e,n=$t(Fs);for(let r=0;r<=Fs-1;r++)n.digits[r]=~~ft(wf(ut(t,Ei(mt,r)),mt))|0;return gt(n)}function Kp(e){if(e.bound===1)return e.digits[0]|0;{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+Qt*t|0;return t|0}}const Jp=hr(1),$p=hr(0);function De(e){return e.bound-1}function ye(e){return e.bound===0}function Is(e,t){return e.bound===t.bound?((r,o,i)=>{e:for(;;){const s=r,l=o,u=i;if(u===-1)return!0;if(s[u]===l[u]){r=s,o=l,i=u-1;continue e}else return!1}})(e.digits,t.digits,e.bound-1):!1}function Xp(e,t,n,r){return e.bound+t<n.bound+r?-1:e.bound+t>n.bound+t?1:((i,s,l)=>{e:for(;;){const u=i,c=s,a=l;if(a===-1)return 0;{const d=(a<t?0:u[a-t])|0,f=(a<r?0:c[a-r])|0;if(d===f){i=u,s=c,l=a-1;continue e}else return d<f?-1:1}}})(e.digits,n.digits,e.bound+t-1)|0}function qp(e,t){return e.bound<t.bound?-1:e.bound>t.bound?1:((r,o,i)=>{e:for(;;){const s=r,l=o,u=i;if(u===-1)return 0;if(s[u]===l[u]){r=s,o=l,i=u-1;continue e}else return s[u]<l[u]?-1:1}})(e.digits,t.digits,e.bound-1)|0}function ks(e,t){return qp(e,t)===-1}function Yp(e,t){const n=$t(2),r=Ue(ee(e,!1,2),ee(t,!1,2));return Lr(n,0,~~ft(Rn(r,Pn))),Lr(n,1,~~ft(ut(r,mt))),gt(n)}function ja(e,t,n){e:for(;;){const r=e,o=t,i=n;if(qr(o,pe(0,0,!1))>0){const s=Ve(Wo(r,i),o);Lr(r,i,~~ft(Rn(s,Pn))),e=r,t=ut(s,mt),n=i+1;continue e}break}}function Ms(e,t){const n=zo(e)|0,r=$t(n+1),o=ee(t,!1,2);let i=pe(0,0,!1);for(let s=0;s<=n-1;s++){const l=Ve(Ve(i,Wo(r,s)),Ue(Wo(e,s),o));Lr(r,s,~~ft(Rn(l,Pn))),i=ut(l,mt)}return ja(r,i,n),gt(r)}function eh(e,t){const n=$t(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=ee(e.digits[o],!1,2);let s=pe(0,0,!1),l=o;for(let u=0;u<=t.bound-1;u++){const c=ee(t.digits[u],!1,2),a=Ve(Ve(ee(r[l],!1,2),s),Ue(i,c));r[l]=~~ft(Rn(a,Pn))|0,s=ut(a,mt),l=l+1|0}ja(n,s,l)}return gt(n)}function th(e,t){const n=zo(e)===1,r=zo(t)===1;return n&&r?Yp(Zn(e,0),Zn(t,0)):n?Ms(t,Zn(e,0)):r?Ms(e,Zn(t,0)):eh(e,t)}class nh extends le{constructor(t,n,r,o,i,s,l){super(),this.bigL=t|0,this.twoToBigL=n|0,this.k=r|0,this.bigK=o|0,this.bigN=i|0,this.split=s|0,this.splits=l}}function ke(e,t,n,r){return new nh(e,Cn(2,e),t,n,r,~~(Sn/e),On(~~(Sn/e),o=>Cn(2,e*o),Int32Array))}const rh=[ke(1,28,268435456,268435456),ke(2,26,67108864,134217728),ke(3,24,16777216,50331648),ke(4,22,4194304,16777216),ke(5,20,1048576,5242880),ke(6,18,262144,1572864),ke(7,16,65536,458752),ke(8,14,16384,131072),ke(9,12,4096,36864),ke(10,10,1024,10240),ke(11,8,256,2816),ke(12,6,64,768),ke(13,4,16,208)];On(Sn,e=>Cn(2,e)-1,Int32Array);On(Sn,e=>Cn(2,e),Int32Array);On(Sn,e=>Ei(pe(2,0,!1),e),null);~~(rh[0].bigN/Sn);function oh(e,t){return th(e,t)}function ih(e,t,n,r){const o=De(e)|0,i=e.digits,s=De(n)|0,l=n.digits,u=ee(t,!1,2);let c=0,a=Ue(u,ee(l[0],!1,2));for(;qr(a,pe(0,0,!1))>0||c<s;){if(c>o)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~ft(Rn(a,Pn)),f=ut(a,mt);d<=i[c+r]?i[c+r]=i[c+r]-d|0:(i[c+r]=i[c+r]+(Qt-d)|0,f=Ve(f,pe(1,0,!1))),c<s?a=Ve(f,Ue(u,ee(l[c+1],!1,2))):a=f,c=c+1|0}gt(e)}function sh(e,t,n,r){const o=De(e)|0,i=e.digits,s=De(n)|0,l=n.digits,u=ee(t,!1,2);let c=0,a=Ue(u,ee(l[0],!1,2));for(;qr(a,pe(0,0,!1))>0||c<s;){if(c>o)throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let d=~~ft(Rn(a,Pn)),f=ut(a,mt);d<Qt-i[c+r]?i[c+r]=i[c+r]+d|0:(i[c+r]=d-(Qt-i[c+r])|0,f=Ve(f,pe(1,0,!1))),c<s?a=Ve(f,Ue(u,ee(l[c+1],!1,2))):a=f,c=c+1|0}gt(e)}function lh(e,t,n){const r=De(t)|0,o=De(e)|0,i=r|0;if(o<i+n)return 0;{const s=e.digits,l=t.digits,u=(i===0?o===n?~~(s[n]/l[0]):~~ft(ut(Ve(Ue(ee(s[o],!1,2),mt),ee(s[o-1],!1,2)),ee(l[0],!1,2))):o===i+n?~~(s[o]/(l[i]+1)):~~ft(ut(Ve(Ue(ee(s[o],!1,2),mt),ee(s[o-1],!1,2)),Ve(ee(l[i],!1,2),pe(1,0,!1)))))|0;return u===0?Xp(t,n,e,0)!==1?1:0:u|0}}function ah(e,t){if(ye(t))throw new Error;if(De(e)<De(t))return[$p,e];{const n=Qp(e),r=$t(De(e)-De(t)+1+1);let o=De(e);const i=De(t)|0;let s=o-i,l=!1;for(;!l;){const u=lh(n,t,s)|0;u>0?(ih(n,u,t,s),sh(r,u,Jp,s)):(l=u===0&&s===0,l||(o===i+s?s=s-1|0:(s=s-1|0,o=o-1|0)))}return[gt(r),gt(n)]}}hr(2);function Go(e){return hr(e)}function ch(e){return Zp(e)}function Ts(e){const t=De(e)|0,n=(i,s,l)=>{e:for(;;){const u=i,c=s,a=l;if(De(a)>t)return Re([c,a],u);i=Re([c,a],u),s=c+1,l=oh(a,a);continue e}},r=(i,s,l,u)=>{e:for(;;){const c=i,a=s,d=l,f=u;if(R(f)){const p=Kp(d)|0;return c&&p===0?a:Re(Rt(p),a)}else{const p=T(f),g=ah(d,x(f)[1]),_=g[1],w=g[0];if(c&&ye(w)){i=c,s=a,l=_,u=p;continue e}else{i=c,s=r(!1,a,_,p),l=w,u=p;continue e}}}},o=r(!0,Le(),e,n(Le(),0,hr(10)));return R(o)?"0":St("",no(o))}function uh(e){return e.bound<=1}function Rs(e){const t=e,n=0;return n<t.bound?t.digits[n]|0:0}class Ae{constructor(t,n){this.signInt=t|0,this.v=n}toString(){const t=this,n=Xt(t)|0;if(n===-1)return ye(z(t))?"0":"-"+Ts(z(t));if(n===0)return"0";if(n===1)return Ts(z(t));throw new Error("signs should be +/- 1 or 0")}Equals(t){const n=this;return t instanceof Ae&&Va(n,t)}GetHashCode(){return ph(this)|0}toJSON(){return Ce(this)}CompareTo(t){const n=this;if(t instanceof Ae)return dh(n,t)|0;throw new Error("the objects are not comparable\\nParameter name: obj")}}function xo(e,t){return new Ae(e,t)}Ae.smallLim=4096,Ae.smallPosTab=On(Ae.smallLim,Go,null),Ae.one=Co(1),Ae.two=Co(2),Ae.zero=Co(0);function Eo(e){return uh(e)&&Rs(e)<Ae.smallLim?Ae.smallPosTab[Rs(e)]:e}function Xt(e){return e.signInt}function z(e){return e.v}function Va(e,t){const n=Xt(e)|0,r=Xt(t)|0;let o;switch(n===-1?r===-1?o=1:r===0?o=8:r===1?o=3:o=9:n===0?r===-1?o=6:r===0?o=4:r===1?o=5:o=9:n===1?r===-1?o=2:r===0?o=7:r===1?o=0:o=9:o=9,o){case 0:return Is(z(e),z(t));case 1:return Is(z(e),z(t));case 2:return ye(z(e))?ye(z(t)):!1;case 3:return ye(z(e))?ye(z(t)):!1;case 4:return!0;case 5:return ye(z(t));case 6:return ye(z(t));case 7:return ye(z(e));case 8:return ye(z(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function fh(e,t){const n=Xt(e)|0,r=Xt(t)|0;let o;switch(n===-1?r===-1?o=1:r===0?o=8:r===1?o=3:o=9:n===0?r===-1?o=6:r===0?o=4:r===1?o=5:o=9:n===1?r===-1?o=2:r===0?o=7:r===1?o=0:o=9:o=9,o){case 0:return ks(z(e),z(t));case 1:return ks(z(t),z(e));case 2:return!1;case 3:return ye(z(e))?!ye(z(t)):!0;case 4:return!1;case 5:return!ye(z(t));case 6:return!1;case 7:return!1;case 8:return!ye(z(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function dh(e,t){return fh(e,t)?-1:Va(e,t)?0:1}function ph(e){return Xt(e)===0?1:Xt(e)+Gp(z(e))|0}function Co(e){return e>=0?xo(1,Eo(Go(e))):e===-2147483648?xo(-1,Eo(ch(_f(ee(e,!1,2))))):xo(-1,Eo(Go(Xu(e))))}function Ua(){return Ae.one}function hh(){return Ae.two}function La(){return Ae.zero}La();Ua();hh();La();Ua();function za(e,t){mh(t);const n=new Date(e);return n.offset=t!=null?t:new Date().getTimezoneOffset()*-6e4,n}function mh(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function gh(){return za(-621355968e5,0)}function wh(e){const[t,n]=sa(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return za(t.getTime(),r)}function _h(e,t){try{return t.contents=wh(e),!0}catch{return!1}}function Ns(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return yh(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function yh(e){return yf(ut(e,1e4))}function bh(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Ns(r,0,0,0,0)}if(n>0){const r=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(r!=null&&r[4]!=null&&r[5]!=null){let o=0,i=0,s=0;const l=r[1]!=null&&r[1]==="-"?-1:1,u=+r[4],c=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(s=+r[7]),r[8]!=null)switch(r[8].length){case 1:i=+r[8]*100;break;case 2:i=+r[8]*10;break;case 3:i=+r[8];break;case 4:i=+r[8]/10;break;case 5:i=+r[8]/100;break;case 6:i=+r[8]/1e3;break;case 7:i=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return l*Ns(o,u,c,s,i)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Ah(e,t){try{return t.contents=bh(e),!0}catch{return!1}}class Wa{constructor(t){this.k=t}}function Me(e){return new Wa(e)}function D(e){return e.k}class B extends Wa{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function Te(e,t,n,r){return new B(e,t,n,r)}function U(e){return e.left}function j(e){return e.right}function pn(e){return e.h}function Ga(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=n;if(o instanceof B){e=U(o),t=Ga(j(o),r+1);continue e}else return r+1|0}else return r|0}}function vh(e){return Ga(e,0)}function Qe(e,t,n){let r;const o=e;if(o!=null){const u=o;r=u instanceof B?pn(u):1}else r=0;let i;const s=n;if(s!=null){const u=s;i=u instanceof B?pn(u):1}else i=0;const l=(r<i?i:r)|0;return l===0?Me(t):Te(t,e,n,l+1)}function Os(e,t,n){let r,o,i,s,l;const u=e;if(u!=null){const d=u;l=d instanceof B?pn(d):1}else l=0;let c;const a=n;if(a!=null){const d=a;c=d instanceof B?pn(d):1}else c=0;if(c>l+2){const d=$(n);if(d instanceof B)if(r=U(d),(r!=null?(o=r,o instanceof B?pn(o):1):0)>l+1){const f=$(U(d));if(f instanceof B)return Qe(Qe(e,t,U(f)),D(f),Qe(j(f),D(d),j(d)));throw new Error("internal error: Set.rebalance")}else return Qe(Qe(e,t,U(d)),D(d),j(d));else throw new Error("internal error: Set.rebalance")}else if(l>c+2){const d=$(e);if(d instanceof B)if(i=j(d),(i!=null?(s=i,s instanceof B?pn(s):1):0)>c+1){const f=$(j(d));if(f instanceof B)return Qe(Qe(U(d),D(d),U(f)),D(f),Qe(j(f),t,n));throw new Error("internal error: Set.rebalance")}else return Qe(U(d),D(d),Qe(j(d),t,n));else throw new Error("internal error: Set.rebalance")}else return Qe(e,t,n)}function ir(e,t,n){if(n!=null){const r=n,o=e.Compare(t,D(r))|0;if(r instanceof B)return o<0?Os(ir(e,t,U(r)),D(r),j(r)):o===0?n:Os(U(r),D(r),ir(e,t,j(r)));{const i=e.Compare(t,D(r))|0;return i<0?Te(t,void 0,n,2):i===0?n:Te(t,n,void 0,2)}}else return Me(t)}function Qa(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=i,l=r.Compare(o,D(s))|0;if(s instanceof B)if(l<0){e=r,t=o,n=U(s);continue e}else{if(l===0)return!0;e=r,t=o,n=j(s);continue e}else return l===0}else return!1}}function Za(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=r;if(o instanceof B){Za(n,U(o)),n(D(o)),e=n,t=j(o);continue e}else n(D(o))}break}}class xh extends le{constructor(t,n){super(),this.stack=t,this.started=n}}function Ka(e){e:for(;;){const t=e;if(R(t))return Le();{const n=x(t),r=T(t);if(n!=null){const o=n;if(o instanceof B){e=Q([U(o),Me(D(o)),j(o)],r);continue e}else return t}else{e=r;continue e}}}}function Bs(e){return new xh(Ka(ve(e)),!1)}function Eh(){throw new Error("Enumeration not started")}function Ch(){throw new Error("Enumeration already started")}function Ps(e){if(e.started){const t=e.stack;if(R(t))return Ch();if(x(t)!=null){const n=x(t);return D(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Eh()}function Sh(e){if(e.started){const t=e.stack;if(R(t))return!1;if(x(t)!=null){if(x(t)instanceof B)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ka(T(t)),!R(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!R(e.stack)}function Hs(e){let t=Bs(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Ps(t)},"System.Collections.IEnumerator.get_Current"(){return Ps(t)},"System.Collections.IEnumerator.MoveNext"(){return Sh(t)},"System.Collections.IEnumerator.Reset"(){t=Bs(e)},Dispose(){}}}function Dh(e,t,n){e:for(;;){const r=e,o=t,i=n;if(R(o))return R(i)?0:-1;if(R(i))return 1;if(x(i)!=null)if(x(o)!=null){const s=x(o),l=x(i);if(s instanceof B)if(U(s)==null)if(l instanceof B)if(U(l)==null){const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=Re(j(s),T(o)),n=Re(j(l),T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2:x(o)!=null?(u=0,c=T(o),a=x(o)):R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([U(a),Te(D(a),void 0,j(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,Me(D(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([U(f),Te(D(f),void 0,j(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,Me(D(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=Re(j(s),T(o)),n=Re(void 0,T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2:x(o)!=null?(u=0,c=T(o),a=x(o)):R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([U(a),Te(D(a),void 0,j(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,Me(D(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([U(f),Te(D(f),void 0,j(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,Me(D(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(l instanceof B)if(U(l)==null){const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=Re(void 0,T(o)),n=Re(j(l),T(i));continue e}else{let u,c,a,d,f;switch(R(o)?R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2:x(o)!=null?(u=0,c=T(o),a=x(o)):R(i)?u=2:x(i)!=null?(u=1,d=T(i),f=x(i)):u=2,u){case 0:if(a instanceof B){e=r,t=Q([U(a),Te(D(a),void 0,j(a),0)],c),n=i;continue e}else{e=r,t=Q([void 0,Me(D(a))],c),n=i;continue e}case 1:if(f instanceof B){e=r,t=o,n=Q([U(f),Te(D(f),void 0,j(f),0)],d);continue e}else{e=r,t=o,n=Q([void 0,Me(D(f))],d);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{const u=r.Compare(D(s),D(l))|0;if(u!==0)return u|0;e=r,t=T(o),n=T(i);continue e}}else{x(i);let s,l,u,c,a;switch(R(o)?R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2:x(o)!=null?(s=0,l=T(o),u=x(o)):R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2,s){case 0:if(u instanceof B){e=r,t=Q([U(u),Te(D(u),void 0,j(u),0)],l),n=i;continue e}else{e=r,t=Q([void 0,Me(D(u))],l),n=i;continue e}case 1:if(a instanceof B){e=r,t=o,n=Q([U(a),Te(D(a),void 0,j(a),0)],c);continue e}else{e=r,t=o,n=Q([void 0,Me(D(a))],c);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else if(x(o)!=null){x(o);let s,l,u,c,a;switch(R(o)?R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2:x(o)!=null?(s=0,l=T(o),u=x(o)):R(i)?s=2:x(i)!=null?(s=1,c=T(i),a=x(i)):s=2,s){case 0:if(u instanceof B){e=r,t=Q([U(u),Te(D(u),void 0,j(u),0)],l),n=i;continue e}else{e=r,t=Q([void 0,Me(D(u))],l),n=i;continue e}case 1:if(a instanceof B){e=r,t=o,n=Q([U(a),Te(D(a),void 0,j(a),0)],c);continue e}else{e=r,t=o,n=Q([void 0,Me(D(a))],c);continue e}case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=T(o),n=T(i);continue e}break}}function js(e,t,n){return t==null?n==null?0:-1:n==null?1:Dh(e,ve(t),ve(n))|0}function Fh(e,t,n){let r=n;Za(o=>{t[r]=o,r=r+1|0},e)}function Ih(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){e=r,t=ir(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i;continue e}else return o}}function kh(e,t){return di((n,r)=>ir(e,r,n),void 0,t)}function Mh(e,t){return jt((n,r)=>ir(e,r,n),void 0,t)}function Th(e,t){if(at(t))return kh(e,t);if(t instanceof pt)return Mh(e,t);{const n=Ee(t);try{return Ih(e,void 0,n)}finally{J(n)}}}class Ci{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Oh(this)|0}Equals(t){const n=this;return t instanceof Ci&&js(Dr(n),tt(n),tt(t))===0}toString(){return"set ["+St("; ",Ne(n=>Ce(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return js(Dr(n),tt(n),tt(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Qa(Dr(n),t,tt(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Fh(tt(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return So(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return So(this)|0}GetEnumerator(){return Hs(tt(this))}[Symbol.iterator](){return $r(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Hs(tt(this))}get size(){return So(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Nh(this,t)}keys(){return Ne(n=>n,this)}values(){return Ne(n=>n,this)}entries(){return Ne(n=>[n,n],this)}forEach(t,n){const r=this;mi(o=>{In(2,t,[o])(o)(r)},r)}}function Rh(e,t){return new Ci(e,t)}function Dr(e){return e.comparer}function tt(e){return e.tree}function So(e){return vh(tt(e))}function Nh(e,t){return Qa(Dr(e),t,tt(e))}function Oh(e){let t=0;const n=Ee(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ct(r)+631|0}}finally{J(n)}return Math.abs(t)|0}function Bh(e,t){return Rh(t,Th(t,e))}function zn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
|
|
5
5
|
`:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?`
|
|
6
|
-
`:" ")}}function
|
|
6
|
+
`:" ")}}function Ph(e,t){const n=t.tag===2?zn(t.fields[0],t.fields[1],!0):t.tag===1?zn(t.fields[0],t.fields[1],!1)+`
|
|
7
7
|
Reason: `+t.fields[2]:t.tag===3?zn(t.fields[0],t.fields[1],!0):t.tag===4?zn(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
|
|
8
8
|
`+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
|
|
9
9
|
|
|
10
10
|
`+St(`
|
|
11
11
|
|
|
12
|
-
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:zn(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Wa(e,t,n){let r;if(r=Fn(1,t,[e])(n),r.tag===1){const i=r.fields[0];return new h(1,[v0(i[0],i[1])])}else return new h(0,[r.fields[0]])}function Lr(e,t){try{return Wa("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new h(1,["Given an invalid JSON: "+n.message]);throw n}}function E0(e,t){return typeof t=="string"?new h(0,[t]):new h(1,[[e,new v(0,["a string",t])]])}function x0(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Fp(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a guid",t])]])}else return new h(1,[[e,new v(0,["a guid",t])]])}function C0(e,t){return t==null?new h(0,[void 0]):new h(1,[[e,new v(0,["null",t])]])}const Ns=e=>t=>{const n="a sbyte",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-128<=i&&i<=127?new h(0,[(i+128&255)-128]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[In(o,511,!1,8,new Ge(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Bs=e=>t=>{const n="a byte",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=255?new h(0,[i&255]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[In(o,511,!0,8,new Ge(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Ps=e=>t=>{const n="an int16",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-32768<=i&&i<=32767?new h(0,[(i+32768&65535)-32768]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[In(o,511,!1,16,new Ge(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Hs=e=>t=>{const n="an uint16",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=65535?new h(0,[i&65535]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[In(o,511,!0,16,new Ge(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},js=e=>t=>{const n="an int",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-2147483648<=i&&i<=2147483647?new h(0,[~~i]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[In(o,511,!1,32,new Ge(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Vs=e=>t=>{const n="an uint32",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=4294967295?new h(0,[i>>>0]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[In(o,511,!0,32,new Ge(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])};function S0(e,t){return typeof t=="boolean"?new h(0,[t]):new h(1,[[e,new v(0,["a boolean",t])]])}function D0(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new v(0,["a float",t])]])}function F0(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new v(0,["a float32",t])]])}function k0(e,t){if(typeof t=="string"){let n,r=If();return n=[Tf(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new h(0,[Rf(n[1])]):new h(1,[[e,new v(0,["a datetime",t])]])}else return new h(1,[[e,new v(0,["a datetime",t])]])}function I0(e,t){if(typeof t=="string"){let n,r=t0();return n=[r0(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a datetimeoffset",t])]])}else return new h(1,[[e,new v(0,["a datetime",t])]])}function M0(e,t){if(typeof t=="string"){let n,r=0;return n=[s0(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a timespan",t])]])}else return new h(1,[[e,new v(0,["a timespan",t])]])}function Us(e,t,n,r){let o;const i=n+".["+Rt(e)+"]";if(Array.isArray(r)){const s=r;return e<s.length?t(i,s[e]):new h(1,[[i,new v(5,["a longer array. Need index `"+Rt(e)+"` but there are only `"+(o=s.length,Rt(o))+"` entries",r])]])}else return new h(1,[[i,new v(0,["an array",r])]])}function T0(e,t,n){return n==null?new h(0,[void 0]):Dt(Re,e(t,n))}function Ls(e,t,n){if(Array.isArray(n)){let r=-1;return Dt(ca,ci((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+Rt(r)+"]",i);return s.tag===0?new h(0,[Me(s.fields[0],o.fields[0])]):new h(1,[s.fields[0]])}else return o},new h(0,[ze()]),n))}else return new h(1,[[t,new v(0,["a list",n])]])}function zs(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return ci((i,s)=>{if(r=r+1|0,i.tag===0){const l=i.fields[0],u=e(t+".["+Rt(r)+"]",s);return u.tag===0?(l[r]=u.fields[0],new h(0,[l])):new h(1,[u.fields[0]])}else return i},new h(0,[ai(new Array(o.length),0,o.length,null)]),o)}else return new h(1,[[t,new v(0,["an array",n])]])}function R0(e,t,n){return((o,i)=>{e:for(;;){const s=o,l=i;if(R(s))return new h(1,[[t,new v(7,[l])]]);{const u=Wa(t,$(2,E(s)),n);if(u.tag===1){o=T(s),i=eo(l,We(u.fields[0]));continue e}else return new h(0,[u.fields[0]])}}})(e,ze())}function O0(e,t,n){return new h(0,[e])}function Ws(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new h(1,[o.fields[0]])}function N0(e,t,n,r){const o=t(n,r);return o.tag===1?new h(1,[o.fields[0]]):new h(0,[e(o.fields[0])])}function B0(e,t){let n;const r=e;return n=o=>i=>Us(0,r,o,i),o=>i=>Ws($(3,s=>{let l;const u=t;return l=c=>a=>Us(1,u,c,a),c=>a=>Ws((d,f,p)=>O0([s,d]),$(2,l),c,a)}),$(2,n),o,i)}function P0(e){return Ap(e,{Compare:ct})}function H0(e){return b0(e,{Compare:ct})}function j0(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?$f((r,o)=>{const i=r[0];return o.tag===0?Dt(s=>Me(s,o.fields[0]),r[1](t+"."+i)(n[i])):o},e,new h(0,[ze()])):new h(1,[[t,new v(0,["an object",n])]])}function V0(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?wa((o,i)=>{if(o.tag===0){let s;if(s=Fn(1,e,[n])(i),s.tag===0){const u=t(n+"."+i,r[i]);return u.tag===0?new h(0,[Me([s.fields[0],u.fields[0]],o.fields[0])]):new h(1,[u.fields[0]])}else return new h(1,[s.fields[0]])}else return o},new h(0,[ze()]),Object.keys(r)):new h(1,[[n,new v(0,["an object",r])]])}function Ga(e,t,n,r){let o,i,s,l,u;return t.length!==r.length?new h(1,[[n,new v(6,[(o=t.length|0,i=r.length|0,s=Rn(nn("Expected %i %s but got %i")),l=s(o),u=l(e),u(i))])]]):Yf((c,a,d)=>d.tag===0?Dt(f=>Me(f,d.fields[0]),a(n)(c)):d,r,t,new h(0,[ze()]))}function Gs(e,t,n,r,o,i){const s=Jf(l=>ri(l)===r,yf(n));if(s!=null){const l=s;return i.length===0?new h(0,[fs(l,[])]):Dt(u=>fs(l,Yr(u)),Ga("union fields",vn(u=>rt(e,t,!1,u[1]),Ef(l),null),o,i))}else return new h(1,[[o,new v(6,["Cannot find case "+r+" in "+ue(n)])]])}function Qs(e,t,n,r){let o,i;const s=new Ge(Nt());let l;const u=ue(r);l=wp(u,s,e);let c;if(vf(r)){const a=vn(d=>[xp(t,ri(d)),rt(l,t,!1,d[1])],Hr(r),null);c=d=>f=>Dt(p=>xf(r,Yr(p)),j0(a,d,f))}else if(bf(r))c=a=>d=>{if(typeof d=="string")return Gs(l,t,r,d,a,[]);if(Array.isArray(d)){const f=d;return Gs(l,t,r,f[0],a,f.slice(1,f.length))}else return new h(1,[[a,new v(0,["a string or array",d])]])};else if(n)c=a=>d=>new h(1,[[a,new v(2,["an extra coder for "+ue(r),d])]]);else throw new Error((o=ue(r),i=Rn(nn("Cannot generate auto decoder for %s. Please pass an extra decoder.")),i(o)));return s.contents=c,c}function rt(e,t,n,r){let o,i,s;const l=ue(r),u=_p(l,e);if(u==null)if(hf(r)){const c=rt(e,t,!1,qr(r));return a=>d=>zs($(2,c),a,d)}else if($l(r)){const c=ue(wf(r));if(c==="System.SByte")return a=>d=>{const f=r,p=a,g=d,_=Ns(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(A,S)=>A===S,GetHashCode:yt})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[ue(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Byte")return a=>d=>{const f=r,p=a,g=d,_=Bs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(A,S)=>A===S,GetHashCode:yt})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[ue(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Int16")return a=>d=>{const f=r,p=a,g=d,_=Ps(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(A,S)=>A===S,GetHashCode:yt})?new h(0,[un(f,fu(w))]):new h(1,[[p,new v(1,[ue(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.UInt16")return a=>d=>{const f=r,p=a,g=d,_=Hs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(A,S)=>A===S,GetHashCode:yt})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[ue(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Int32")return a=>d=>{const f=r,p=a,g=d,_=js(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(A,S)=>A===S,GetHashCode:yt})?new h(0,[un(f,Rt(w))]):new h(1,[[p,new v(1,[ue(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.UInt32")return a=>d=>{const f=r,p=a,g=d,_=Vs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(A,S)=>A===S,GetHashCode:yt})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[ue(f),g,"Unkown value provided for the enum"])]])}};{const a=ue(r),f=Pf(nn(`Cannot generate auto decoder for %s.
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:zn(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Ja(e,t,n){let r;if(r=In(1,t,[e])(n),r.tag===1){const i=r.fields[0];return new h(1,[Ph(i[0],i[1])])}else return new h(0,[r.fields[0]])}function zr(e,t){try{return Ja("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new h(1,["Given an invalid JSON: "+n.message]);throw n}}function Hh(e,t){return typeof t=="string"?new h(0,[t]):new h(1,[[e,new v(0,["a string",t])]])}function jh(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[zp(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a guid",t])]])}else return new h(1,[[e,new v(0,["a guid",t])]])}function Vh(e,t){return t==null?new h(0,[void 0]):new h(1,[[e,new v(0,["null",t])]])}const Vs=e=>t=>{const n="a sbyte",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-128<=i&&i<=127?new h(0,[(i+128&255)-128]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!1,8,new ze(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Us=e=>t=>{const n="a byte",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=255?new h(0,[i&255]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!0,8,new ze(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Ls=e=>t=>{const n="an int16",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-32768<=i&&i<=32767?new h(0,[(i+32768&65535)-32768]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!1,16,new ze(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},zs=e=>t=>{const n="an uint16",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=65535?new h(0,[i&65535]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!0,16,new ze(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Ws=e=>t=>{const n="an int",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?-2147483648<=i&&i<=2147483647?new h(0,[~~i]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!1,32,new ze(()=>s,l=>{s=l|0})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])},Gs=e=>t=>{const n="an uint32",r=e,o=t;if(typeof o=="number"){const i=o;return isFinite(i)&&Math.floor(i)===i?0<=i&&i<=4294967295?new h(0,[i>>>0]):new h(1,[[r,new v(1,[n,i,"Value was either too large or too small for "+n])]]):new h(1,[[r,new v(1,[n,i,"Value is not an integral value"])]])}else if(typeof o=="string"){let i,s=0;return i=[Mn(o,511,!0,32,new ze(()=>s,l=>{s=l})),s],i[0]?new h(0,[i[1]]):new h(1,[[r,new v(0,[n,o])]])}else return new h(1,[[r,new v(0,[n,o])]])};function Uh(e,t){return typeof t=="boolean"?new h(0,[t]):new h(1,[[e,new v(0,["a boolean",t])]])}function Lh(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new v(0,["a float",t])]])}function zh(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new v(0,["a float32",t])]])}function Wh(e,t){if(typeof t=="string"){let n,r=jf();return n=[Uf(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[Lf(n[1])]):new h(1,[[e,new v(0,["a datetime",t])]])}else return new h(1,[[e,new v(0,["a datetime",t])]])}function Gh(e,t){if(typeof t=="string"){let n,r=gh();return n=[_h(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a datetimeoffset",t])]])}else return new h(1,[[e,new v(0,["a datetime",t])]])}function Qh(e,t){if(typeof t=="string"){let n,r=0;return n=[Ah(t,new ze(()=>r,o=>{r=o})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new v(0,["a timespan",t])]])}else return new h(1,[[e,new v(0,["a timespan",t])]])}function Qs(e,t,n,r){let o;const i=n+".["+Rt(e)+"]";if(Array.isArray(r)){const s=r;return e<s.length?t(i,s[e]):new h(1,[[i,new v(5,["a longer array. Need index `"+Rt(e)+"` but there are only `"+(o=s.length,Rt(o))+"` entries",r])]])}else return new h(1,[[i,new v(0,["an array",r])]])}function Zh(e,t,n){return n==null?new h(0,[void 0]):Dt(xe,e(t,n))}function Zs(e,t,n){if(Array.isArray(n)){let r=-1;return Dt(pa,di((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+Rt(r)+"]",i);return s.tag===0?new h(0,[Re(s.fields[0],o.fields[0])]):new h(1,[s.fields[0]])}else return o},new h(0,[Le()]),n))}else return new h(1,[[t,new v(0,["a list",n])]])}function Ks(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return di((i,s)=>{if(r=r+1|0,i.tag===0){const l=i.fields[0],u=e(t+".["+Rt(r)+"]",s);return u.tag===0?(l[r]=u.fields[0],new h(0,[l])):new h(1,[u.fields[0]])}else return i},new h(0,[fi(new Array(o.length),0,o.length,null)]),o)}else return new h(1,[[t,new v(0,["an array",n])]])}function Kh(e,t,n){return((o,i)=>{e:for(;;){const s=o,l=i;if(R(s))return new h(1,[[t,new v(7,[l])]]);{const u=Ja(t,q(2,x(s)),n);if(u.tag===1){o=T(s),i=ro(l,ve(u.fields[0]));continue e}else return new h(0,[u.fields[0]])}}})(e,Le())}function Jh(e,t,n){return new h(0,[e])}function Js(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new h(1,[o.fields[0]])}function $h(e,t,n,r){const o=t(n,r);return o.tag===1?new h(1,[o.fields[0]]):new h(0,[e(o.fields[0])])}function Xh(e,t){let n;const r=e;return n=o=>i=>Qs(0,r,o,i),o=>i=>Js(q(3,s=>{let l;const u=t;return l=c=>a=>Qs(1,u,c,a),c=>a=>Js((d,f,p)=>Jh([s,d]),q(2,l),c,a)}),q(2,n),o,i)}function qh(e){return Op(e,{Compare:ct})}function Yh(e){return Bh(e,{Compare:ct})}function e0(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?ad((r,o)=>{const i=r[0];return o.tag===0?Dt(s=>Re(s,o.fields[0]),r[1](t+"."+i)(n[i])):o},e,new h(0,[Le()])):new h(1,[[t,new v(0,["an object",n])]])}function t0(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Aa((o,i)=>{if(o.tag===0){let s;if(s=In(1,e,[n])(i),s.tag===0){const u=t(n+"."+i,r[i]);return u.tag===0?new h(0,[Re([s.fields[0],u.fields[0]],o.fields[0])]):new h(1,[u.fields[0]])}else return new h(1,[s.fields[0]])}else return o},new h(0,[Le()]),Object.keys(r)):new h(1,[[n,new v(0,["an object",r])]])}function $a(e,t,n,r){let o,i,s,l,u;return t.length!==r.length?new h(1,[[n,new v(6,[(o=t.length|0,i=r.length|0,s=Nn(nn("Expected %i %s but got %i")),l=s(o),u=l(e),u(i))])]]):ud((c,a,d)=>d.tag===0?Dt(f=>Re(f,d.fields[0]),a(n)(c)):d,r,t,new h(0,[Le()]))}function $s(e,t,n,r,o,i){const s=sd(l=>si(l)===r,Ff(n));if(s!=null){const l=s;return i.length===0?new h(0,[gs(l,[])]):Dt(u=>gs(l,no(u)),$a("union fields",xn(u=>rt(e,t,!1,u[1]),Tf(l),null),o,i))}else return new h(1,[[o,new v(6,["Cannot find case "+r+" in "+fe(n)])]])}function Xs(e,t,n,r){let o,i;const s=new ze(Et());let l;const u=fe(r);l=Tp(u,s,e);let c;if(Mf(r)){const a=xn(d=>[jp(t,si(d)),rt(l,t,!1,d[1])],Hr(r),null);c=d=>f=>Dt(p=>Rf(r,no(p)),e0(a,d,f))}else if(kf(r))c=a=>d=>{if(typeof d=="string")return $s(l,t,r,d,a,[]);if(Array.isArray(d)){const f=d;return $s(l,t,r,f[0],a,f.slice(1,f.length))}else return new h(1,[[a,new v(0,["a string or array",d])]])};else if(n)c=a=>d=>new h(1,[[a,new v(2,["an extra coder for "+fe(r),d])]]);else throw new Error((o=fe(r),i=Nn(nn("Cannot generate auto decoder for %s. Please pass an extra decoder.")),i(o)));return s.contents=c,c}function rt(e,t,n,r){let o,i,s;const l=fe(r),u=Rp(l,e);if(u==null)if(xf(r)){const c=rt(e,t,!1,eo(r));return a=>d=>Ks(q(2,c),a,d)}else if(na(r)){const c=fe(Sf(r));if(c==="System.SByte")return a=>d=>{const f=r,p=a,g=d,_=Vs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Byte")return a=>d=>{const f=r,p=a,g=d,_=Us(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Int16")return a=>d=>{const f=r,p=a,g=d,_=Ls(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,bu(w))]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.UInt16")return a=>d=>{const f=r,p=a,g=d,_=zs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.Int32")return a=>d=>{const f=r,p=a,g=d,_=Ws(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0]|0;return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,Rt(w))]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};if(c==="System.UInt32")return a=>d=>{const f=r,p=a,g=d,_=Gs(p)(g);if(_.tag===1)return new h(1,[_.fields[0]]);{const w=_.fields[0];return fn(w,cn(f),{Equals:(b,I)=>b===I,GetHashCode:_t})?new h(0,[un(f,w.toString())]):new h(1,[[p,new v(1,[fe(f),g,"Unkown value provided for the enum"])]])}};{const a=fe(r),f=Qf(nn(`Cannot generate auto decoder for %s.
|
|
13
13
|
Thoth.Json.Net only support the folluwing enum types:
|
|
14
14
|
- sbyte
|
|
15
15
|
- byte
|
|
@@ -18,13 +18,13 @@ Thoth.Json.Net only support the folluwing enum types:
|
|
|
18
18
|
- int
|
|
19
19
|
- uint32
|
|
20
20
|
If you can't use one of these types, please pass an extra decoder.
|
|
21
|
-
`))(a);return p=>f(p)}}else if(gf(r))if(ql(r)){const c=vn(a=>rt(e,t,!1,a),Af(r),null);return a=>d=>Array.isArray(d)?Dt(f=>Cf(Yr(f)),Ga("tuple elements",c,a,d)):new h(1,[[a,new v(0,["an array",d])]])}else{const c=ue(mf(r));if(c==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]")return o=rt(e,t,!0,kt(r)[0]),a=>d=>T0($(2,o),a,d);if(c==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]")return i=rt(e,t,!1,kt(r)[0]),a=>d=>Ls($(2,i),a,d);if(c==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=rt(e,t,!1,kt(r)[0]),d=rt(e,t,!1,kt(r)[1]);let f;const p=I([g=>_=>V0($(2,a),$(2,d),g,_),(s=B0($(2,a),$(2,d)),g=>_=>Ls($(2,s),g,_))]);return f=g=>_=>R0(p,g,_),g=>_=>N0(P0,$(2,f),g,_)}else if(c==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"){const a=rt(e,t,!1,kt(r)[0]);return d=>f=>{const p=zs($(2,a),d,f);return p.tag===0?new h(0,[H0(p.fields[0])]):new h(1,[p.fields[0]])}}else return Qs(e,t,n,r)}else return l==="System.Boolean"?c=>a=>S0(c,a):l==="Microsoft.FSharp.Core.Unit"?c=>a=>C0(c,a):l==="System.String"?c=>a=>E0(c,a):l==="System.SByte"?Ns:l==="System.Byte"?Bs:l==="System.Int16"?Ps:l==="System.UInt16"?Hs:l==="System.Int32"?js:l==="System.UInt32"?Vs:l==="System.Double"?c=>a=>D0(c,a):l==="System.Single"?c=>a=>F0(c,a):l==="System.DateTime"?c=>a=>k0(c,a):l==="System.DateTimeOffset"?c=>a=>I0(c,a):l==="System.TimeSpan"?c=>a=>M0(c,a):l==="System.Guid"?c=>a=>x0(c,a):l==="System.Object"?c=>a=>new h(0,[a]):Qs(e,t,n,r);else{const c=u;return a=>d=>c.contents(a)(d)}}function U0(e){return e!=null?yp((t,n)=>new Ge(n[1]),e.Coders):Ma({Compare:_n})}function zr(e,t,n){const r=sa(t,new or(0,[]));return rt(U0(n),r,!1,e)}class Zs extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Success","ImportError"]}}class L0{constructor(t,n,r){this.accessToken=r,this.baseUrl=`${t}/profiles/admin/accounts/${n}/imports`}}function z0(e,t,n){return new L0(e,t,n)}function W0(e,t){return pi(hi,()=>{let n,r,o,i;const s=yi((n=wi(new ro(0,[]),mi(`${e.baseUrl}/${t}`)),r=gi((o=Rn(nn("Bearer %s")),o(e.accessToken))),_i(r,n)));return i=F.Bind(s,l=>F.Return(new h(0,[l]))),F.Delay(()=>F.Bind(i,l=>{let u,c;const a=l;return a.tag===1?F.Return(new h(1,[a.fields[0]])):F.ReturnFrom((u=a.fields[0],u.statusCode===200?(c=Lr($(2,zr(Vd(),new or(1,[]),void 0)),u.responseText),F.Return(c)):F.Return(new h(1,["Failed to fetch import"]))))}))})}function G0(e){return pi(hi,()=>{let t,n,r,o;const i=yi((t=wi(new ro(0,[]),mi(e.baseUrl)),n=gi((r=Rn(nn("Bearer %s")),r(e.accessToken))),_i(n,t)));return o=F.Bind(i,s=>F.Return(new h(0,[s]))),F.Delay(()=>F.Bind(o,s=>{let l,u;const c=s;return c.tag===1?F.Return(new h(1,[c.fields[0]])):F.ReturnFrom((l=c.fields[0],l.statusCode===200?(u=Lr($(2,zr(va(),new or(1,[]),void 0)),l.responseText),F.Return(u)):F.Return(new h(1,["Failed to fetch account imports"]))))}))})}function Q0(e,t){return pi(hi,()=>{let n,r,o,i;const s=yi((n=Ep(new Ea(3,[t]),wi(new ro(1,[]),mi(e.baseUrl))),r=gi((o=Rn(nn("Bearer %s")),o(e.accessToken))),_i(r,n)));return i=F.Bind(s,l=>F.Return(new h(0,[l]))),F.Delay(()=>F.Bind(i,l=>{let u,c,a,d,f,p;const g=l;return g.tag===1?F.Return(new h(1,[g.fields[0]])):F.ReturnFrom((u=g.fields[0],c=u.statusCode|0,c===200?(a=(d=Lr($(2,zr(va(),new or(1,[]),void 0)),u.responseText),F.Return(d)),F.Bind(a,_=>{const w=Dt(A=>new Zs(0,[A]),_);return F.Return(w)})):c===400?(f=(p=Lr($(2,zr(Hd(),new or(1,[]),void 0)),u.responseText),F.Return(p)),F.Bind(f,_=>{const w=Dt(A=>new Zs(1,[A]),_);return F.Return(w)})):F.Return(new h(1,["Failed to create account import"]))))}))})}class Z0{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function K0(e,t){t.Subscribe(new Z0(e))}class J0{constructor(){this.delegates=[]}Add(t){this._addHandler(t)}get Publish(){return this}Trigger(t,n){let r,o;n===void 0?(r=null,o=t):(r=t,o=n),this.delegates.forEach(i=>i.length===1?i(o):i(r,o))}AddHandler(t){this._addHandler(t)}RemoveHandler(t){this._removeHandler(t)}Subscribe(t){const n=typeof t=="function"?t:t.OnNext;return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}_addHandler(t){this.delegates.push(t)}_removeHandler(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}}class X0{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new J0}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function $0(e,t){console.error(Re(e),t)}function q0(e,t){let n,r=new X0(e);r.AutoReset=!1,n=r,K0(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Ks(e,t){ua(n=>{n(e)},t)}function qt(){return ze()}function Js(e){return fa(e)}function Kn(e){return We(t=>{t(e)})}function zo(e,t,n,r){return We(o=>{e(F.Delay(()=>F.Bind(Qd(t(n)),i=>{const s=i;return s.tag===0&&o(r(s.fields[0])),F.Zero()})))})}function Fr(e){q0(0,t=>{Xd(e)})}function Y0(e,t,n,r){const o=ct(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const i=o>0;return s=>{const l=ct(s,t)|0;return i&&l<=0||!i&&l>=0?[s,r(s,e)]:void 0}}function eh(e,t,n,r,o){const i=Y0(t,n,r,o);return O(()=>_d(i,e))}function th(e,t,n){return eh(e,t,n,0,(r,o)=>r+o)}class gn extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class nh{constructor(t){this.state=new gn(0,[ai(new Array(To(_n,t,10)),0,To(_n,t,10),null),0])}}function rh(e){return new nh(e)}function oh(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],i=(r+1)%o.length|0;return i===n?e.state=new gn(0,[o,n]):e.state=new gn(1,[o,n,i]),Re(o[r])}else return}function ih(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,i=n.fields[0];i[r]=t;const s=(r+1)%i.length|0;s===o?e.state=new gn(1,[sh(e,o,i),i.length,0]):e.state=new gn(1,[i,s,o])}else{const r=n.fields[1]|0,o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new gn(1,[o,i,r])}}function sh(e,t,n){return Array.from(O(()=>ce(vd(t,n),O(()=>ce(Ed(t,n),O(()=>ya(r=>M(Nt()),th(0,1,n.length))))))))}class Qa extends le{constructor(t,n,r,o,i,s,l){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=i,this.onError=s,this.syncDispatch=l}}function lh(e,t,n){return new Qa(e,t,r=>qt(),n,$(2,r=>{const o=Fn(1,n,[r]);return i=>{o(i)}}),r=>{$0(r[0],r[1])},$(2,r=>r))}function ah(e,t){return new Qa(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function ch(e,t){const n=t.init(e),r=n[0],o=rh(10);let i=!1,s=r;const l=c=>{let a;if(i)ih(o,c);else{i=!0;let d=Re(c);for(;d!=null;){const f=ee(d);try{const p=t.update(f,s),g=p[0];t.setState(g,u),Ks(u,p[1]),s=g}catch(p){t.onError([(a=Rn(nn("Unable to process the message: %A")),a(f)),p])}d=oh(o)}i=!1}},u=Fn(1,t.syncDispatch,[l]);t.setState(r,u),Ks(u,eo((()=>{try{return t.subscribe(r)}catch(c){return t.onError(["Unable to subscribe:",c]),qt()}})(),n[1]))}const uh=(e,t)=>{hn(()=>{const n=e();return()=>{n.Dispose()}},t)},k=Hl,Za=uh;function Ka(e){return{Dispose(){e()}}}function Xs(e){return k.useState(e)}function fh(e,t){Za(e,t)}function dh(e,t){Za(n=>(e(),Ka(()=>{})),t)}function xo(e){return k.useState(e)}class ph{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function hh(){return new ph}function gh(e){return e.state}function mh(e){return e.hasDisposedOnce}function wh(e,t,n){e.state=Re(t),e.dispatcher=n;const r=e.listener;r!=null&&r(t)}function _h(e,t){const n=e.dispatcher;n!=null&&n(t)}function yh(e,t){e.listener==null&&(e.listener=t)}function Ah(e){const t=e.state;if(t!=null){const n=ee(t);jl(n)&&K(n)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}function $s(e,t,n,r){ch(t,ah((i,s)=>{wh(n,i,s)},e()));const o=gh(n);if(o!=null)return ee(o);throw new Error("Elmish program has not initialized")}function bh(e,t,n){const r=Xs(hh)[0],o=Xs(()=>$s(e,t,r)),i=o[1];return fh(()=>(mh(r)&&i($s(e,t,r)),Ka(()=>{Ah(r)})),sa(n,[])),yh(r,i),[o[0],s=>{_h(r,s)}]}function vh(e,t){return bh(e,void 0,t)}function Ja(e,t,n){return vh(()=>lh(()=>e,t,(r,o)=>{}),n)}class Xa extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}class ot extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class sr extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ProfileImport","PastImports"]}}function qs(e){return e.tag===1?"Past Imports":"Profile Import"}class Wo extends le{constructor(t,n){super(),this.CurrentTab=t,this.AccountImports=n}}class $n extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetCurrentTab","FetchImports"]}}const Eh=[new Wo(new sr(0,[]),new Xa(0,[])),Kn(new $n(1,[new ot(0,[void 0])]))];function xh(e,t,n){return t.tag===1?t.fields[0].tag===1?[new Wo(n.CurrentTab,new Xa(2,[t.fields[0].fields[0]])),qt()]:[n,zo(r=>{Fr(r)},e,void 0,r=>new $n(1,[new ot(1,[r])]))]:[new Wo(t.fields[0],n.AccountImports),qt()]}const Ch=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.z-10{z-index:10}.mx-auto{margin-left:auto;margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-6{margin-left:1.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.w-full{width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.items-end{align-items:flex-end}.justify-center{justify-content:center}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.hover\\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-indigo-600:focus-visible{outline-color:#4f46e5}@media (min-width: 640px){.sm\\:col-start-1{grid-column-start:1}.sm\\:col-start-2{grid-column-start:2}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-5{margin-top:1.25rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:grid{display:grid}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:items-center{align-items:center}.sm\\:gap-3{gap:.75rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}}
|
|
22
|
-
`,Sh=(()=>Oe(Ch))();function Dh(e){let t,n;const r=e.setCurrentTab,o=e.currentTab;return m("div",Ee(I([["className","border-b border-gray-200"],(t=[m("nav",Ee(I([["className","-mb-px flex space-x-8"],(n=bt(O(()=>Ve(i=>m("a",{key:qs(i),className:St(" ",bt(O(()=>ce(st(o,i)?M("border-indigo-500 text-indigo-600"):M("border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 cursor-pointer"),O(()=>M("whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium")))))),onClick:s=>{r(i)},children:qs(i)}),[new sr(0,[]),new sr(1,[])]))),["children",k.Children.toArray(Array.from(n))])])))],["children",k.Children.toArray(Array.from(t))])])))}const Fh="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAxADcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDz/wCKH7XPxUvfiT4glb4keOYy+o3B2Ra5cxxr+8bhVVwFA9AMCsL/AIav+KX/AEUrx/8A+FDd/wDxyuY+In/JQNd/7CFx/wCjGrHr6WMY22PmXKV9z6y/4J2/8FK/GX7P/wC01o994w8XeIvEHhHVz/ZurQapqU12lvFIwxOgkZtrRsFbIxldw71+8Vlew6lZw3FvIk0FwgkjkQ5V1IyCD6EHNfy11754I/4Ki/Hz4c+ENN0HR/iTrFrpOj2yWlnA1vbTeREg2ogZ42YhVAAyTgADtXJisH7R80NDswuM9muWep/Q5RX8/H/D3j9o7/oqGq/+ANn/APGaP+HvH7R3/RUNV/8AAGz/APjNcv8AZ1Tujq/tGn2Z/QPRX4//APBLf/gpb8aPjF+2Hofhvxd4zuPEWh6ja3jTWtzaQIN0dvJIpDRopBDKO9FctahKnLlZ1Ua8akeZH5//ABE/5KBrv/YQuP8A0Y1Y9bHxE/5KBrv/AGELj/0Y1Y9fQx2PnQr74/b28C+G9A/4JT/s76xpvh/Q9P1jWIoftt/bWMUN1eFbYg+ZIqhn55+YnmvgevvX9vPUvtP/AASP/ZhXP3hcr/3wpWsK3xQ9f0Oij8M/T9UfBVFFFdBzn1D/AMEcv+T+/Cn/AF6ah/6SS0Uf8Ecv+T+/Cn/XpqH/AKSS0V5GO/ifI9fA/wAP5nzt8RP+Sga7/wBhC4/9GNWPXdftL/C7W/g38d/FXh/xBYXGn6jZ6lOSk0ZTzEMjFJF9VZcEEcEGuFr1Y7Hky0dmFe8fHf8AaX8RfEv9jv4S+BdQ8H3Wj6D4La8/s3W38zy9aLvlwu5AnyE4O1mx3xXg9enfE79rvxp8XfgV4N+HetXVlL4b8C7hpaR2qxzKCMAO45bA4H15zSlG7TKjKyZ5jRRRVkH1D/wRy/5P78Kf9emof+kktFdX/wAENvg3rvxC/bVsdbsbOY6L4bsbp9Rvdh8m3MsDxRoT03MzcDrhWPaivHx8l7T5HsYGL9n8z2z/AIOK/wDkevCX/YNT/wBHT1+Y9FFd+D/hI4cZ/FYUUUV0nKFFFFAH7r/8ERP+TJ7D/r7b/wBASiiivncR/El6n0WH/hx9D//Z",kh="data:image/jpeg;base64,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",Ih="data:image/jpeg;base64,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";var P={exports:{}},Mh="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Th=Mh,Rh=Th;function $a(){}function qa(){}qa.resetWarningCache=$a;var Oh=function(){function e(r,o,i,s,l,u){if(u!==Rh){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:qa,resetWarningCache:$a};return n.PropTypes=n,n};P.exports=Oh();function Hn(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(a){try{c(r.next(a))}catch(d){s(d)}}function u(a){try{c(r.throw(a))}catch(d){s(d)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(e,t||[])).next())})}function jn(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(c){return function(a){return u([c,a])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){n.label=c[1];break}if(c[0]===6&&n.label<i[1]){n.label=i[1],i=c;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(c);break}i[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(a){c=[6,a],o=0}finally{r=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Ys(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function el(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Nh=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function gr(e,t){var n=Bh(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function Bh(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=Nh.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var Ph=[".DS_Store","Thumbs.db"];function Hh(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return Wr(e)&&jh(e.dataTransfer)?[2,zh(e.dataTransfer,e.type)]:Vh(e)?[2,Uh(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,Lh(e)]:[2,[]]})})}function jh(e){return Wr(e)}function Vh(e){return Wr(e)&&Wr(e.target)}function Wr(e){return typeof e=="object"&&e!==null}function Uh(e){return Go(e.target.files).map(function(t){return gr(t)})}function Lh(e){return Hn(this,void 0,void 0,function(){var t;return jn(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return gr(r)})]}})})}function zh(e,t){return Hn(this,void 0,void 0,function(){var n,r;return jn(this,function(o){switch(o.label){case 0:return e.items?(n=Go(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(Wh))]):[3,2];case 1:return r=o.sent(),[2,tl(Ya(r))];case 2:return[2,tl(Go(e.files).map(function(i){return gr(i)}))]}})})}function tl(e){return e.filter(function(t){return Ph.indexOf(t.name)===-1})}function Go(e){if(e===null)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function Wh(e){if(typeof e.webkitGetAsEntry!="function")return nl(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?ec(t):nl(e)}function Ya(e){return e.reduce(function(t,n){return el(el([],Ys(t),!1),Ys(Array.isArray(n)?Ya(n):[n]),!1)},[])}function nl(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=gr(t);return Promise.resolve(n)}function Gh(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return[2,e.isDirectory?ec(e):Qh(e)]})})}function ec(e){var t=e.createReader();return new Promise(function(n,r){var o=[];function i(){var s=this;t.readEntries(function(l){return Hn(s,void 0,void 0,function(){var u,c,a;return jn(this,function(d){switch(d.label){case 0:if(l.length)return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return u=d.sent(),n(u),[3,4];case 3:return c=d.sent(),r(c),[3,4];case 4:return[3,6];case 5:a=Promise.all(l.map(Gh)),o.push(a),i(),d.label=6;case 6:return[2]}})})},function(l){r(l)})}i()})}function Qh(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return[2,new Promise(function(n,r){e.file(function(o){var i=gr(o,e.fullPath);n(i)},function(o){r(o)})})]})})}var Zh=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(s){var l=s.trim().toLowerCase();return l.charAt(0)==="."?r.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):o===l})}return!0};function rl(e){return Xh(e)||Jh(e)||nc(e)||Kh()}function Kh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
23
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
24
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
25
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
26
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lc(e,t){if(!!e){if(typeof e=="string")return Zo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zo(e,t)}}function Zo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xg(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function Cg(e){if(Array.isArray(e))return e}function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cl(Object(n),!0).forEach(function(r){Ko(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qr(e,t){if(e==null)return{};var n=Sg(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Sg(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var vi=Ml(function(e,t){var n=e.children,r=Qr(e,gg),o=cc(r),i=o.open,s=Qr(o,mg);return Fl(t,function(){return{open:i}},[i]),Hl.createElement(Xe,null,n(Z(Z({},s),{},{open:i})))});vi.displayName="Dropzone";var ac={disabled:!1,getFilesFromEvent:Hh,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};vi.defaultProps=ac;vi.propTypes={children:P.exports.func,accept:P.exports.objectOf(P.exports.arrayOf(P.exports.string)),multiple:P.exports.bool,preventDropOnDocument:P.exports.bool,noClick:P.exports.bool,noKeyboard:P.exports.bool,noDrag:P.exports.bool,noDragEventsBubbling:P.exports.bool,minSize:P.exports.number,maxSize:P.exports.number,maxFiles:P.exports.number,disabled:P.exports.bool,getFilesFromEvent:P.exports.func,onFileDialogCancel:P.exports.func,onFileDialogOpen:P.exports.func,useFsAccessApi:P.exports.bool,autoFocus:P.exports.bool,onDragEnter:P.exports.func,onDragLeave:P.exports.func,onDragOver:P.exports.func,onDrop:P.exports.func,onDropAccepted:P.exports.func,onDropRejected:P.exports.func,onError:P.exports.func,validator:P.exports.func};var Jo={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function cc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Z(Z({},ac),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,u=t.maxFiles,c=t.onDragEnter,a=t.onDragLeave,d=t.onDragOver,f=t.onDrop,p=t.onDropAccepted,g=t.onDropRejected,_=t.onFileDialogCancel,w=t.onFileDialogOpen,A=t.useFsAccessApi,S=t.autoFocus,te=t.preventDropOnDocument,oe=t.noClick,J=t.noKeyboard,Ce=t.noDrag,D=t.noDragEventsBubbling,G=t.onError,U=t.validator,pe=_t(function(){return dg(n)},[n]),Ft=_t(function(){return fg(n)},[n]),wt=_t(function(){return typeof w=="function"?w:ul},[w]),rn=_t(function(){return typeof _=="function"?_:ul},[_]),ie=Wn(null),we=Wn(null),Vn=Yo(Dg,Jo),xi=Co(Vn,2),oo=xi[0],Se=xi[1],pc=oo.isFocused,Ci=oo.isFileDialogActive,mr=Wn(typeof window<"u"&&window.isSecureContext&&A&&ug()),Si=function(){!mr.current&&Ci&&setTimeout(function(){if(we.current){var x=we.current.files;x.length||(Se({type:"closeDialog"}),rn())}},300)};hn(function(){return window.addEventListener("focus",Si,!1),function(){window.removeEventListener("focus",Si,!1)}},[we,Ci,rn,mr]);var on=Wn([]),Di=function(x){ie.current&&ie.current.contains(x.target)||(x.preventDefault(),on.current=[])};hn(function(){return te&&(document.addEventListener("dragover",al,!1),document.addEventListener("drop",Di,!1)),function(){te&&(document.removeEventListener("dragover",al),document.removeEventListener("drop",Di))}},[ie,te]),hn(function(){return!r&&S&&ie.current&&ie.current.focus(),function(){}},[ie,S,r]);var Ut=ve(function(y){G?G(y):console.error(y)},[G]),Fi=ve(function(y){y.preventDefault(),y.persist(),Ar(y),on.current=[].concat(yg(on.current),[y.target]),vr(y)&&Promise.resolve(o(y)).then(function(x){if(!(Gr(y)&&!D)){var X=x.length,ae=X>0&&sg({files:x,accept:pe,minSize:s,maxSize:i,multiple:l,maxFiles:u,validator:U}),De=X>0&&!ae;Se({isDragAccept:ae,isDragReject:De,isDragActive:!0,type:"setDraggedFiles"}),c&&c(y)}}).catch(function(x){return Ut(x)})},[o,c,Ut,D,pe,s,i,l,u,U]),ki=ve(function(y){y.preventDefault(),y.persist(),Ar(y);var x=vr(y);if(x&&y.dataTransfer)try{y.dataTransfer.dropEffect="copy"}catch{}return x&&d&&d(y),!1},[d,D]),Ii=ve(function(y){y.preventDefault(),y.persist(),Ar(y);var x=on.current.filter(function(ae){return ie.current&&ie.current.contains(ae)}),X=x.indexOf(y.target);X!==-1&&x.splice(X,1),on.current=x,!(x.length>0)&&(Se({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),vr(y)&&a&&a(y))},[ie,a,D]),wr=ve(function(y,x){var X=[],ae=[];y.forEach(function(De){var Un=rc(De,pe),an=Co(Un,2),so=an[0],lo=an[1],ao=oc(De,s,i),br=Co(ao,2),co=br[0],uo=br[1],fo=U?U(De):null;if(so&&co&&!fo)X.push(De);else{var po=[lo,uo];fo&&(po=po.concat(fo)),ae.push({file:De,errors:po.filter(function(wc){return wc})})}}),(!l&&X.length>1||l&&u>=1&&X.length>u)&&(X.forEach(function(De){ae.push({file:De,errors:[ig]})}),X.splice(0)),Se({acceptedFiles:X,fileRejections:ae,type:"setFiles"}),f&&f(X,ae,x),ae.length>0&&g&&g(ae,x),X.length>0&&p&&p(X,x)},[Se,l,pe,s,i,u,f,p,g,U]),_r=ve(function(y){y.preventDefault(),y.persist(),Ar(y),on.current=[],vr(y)&&Promise.resolve(o(y)).then(function(x){Gr(y)&&!D||wr(x,y)}).catch(function(x){return Ut(x)}),Se({type:"reset"})},[o,wr,Ut,D]),sn=ve(function(){if(mr.current){Se({type:"openDialog"}),wt();var y={multiple:l,types:Ft};window.showOpenFilePicker(y).then(function(x){return o(x)}).then(function(x){wr(x,null),Se({type:"closeDialog"})}).catch(function(x){pg(x)?(rn(x),Se({type:"closeDialog"})):hg(x)?(mr.current=!1,we.current?(we.current.value=null,we.current.click()):Ut(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):Ut(x)});return}we.current&&(Se({type:"openDialog"}),wt(),we.current.value=null,we.current.click())},[Se,wt,rn,A,wr,Ut,Ft,l]),Mi=ve(function(y){!ie.current||!ie.current.isEqualNode(y.target)||(y.key===" "||y.key==="Enter"||y.keyCode===32||y.keyCode===13)&&(y.preventDefault(),sn())},[ie,sn]),Ti=ve(function(){Se({type:"focus"})},[]),Ri=ve(function(){Se({type:"blur"})},[]),Oi=ve(function(){oe||(cg()?setTimeout(sn,0):sn())},[oe,sn]),ln=function(x){return r?null:x},io=function(x){return J?null:ln(x)},yr=function(x){return Ce?null:ln(x)},Ar=function(x){D&&x.stopPropagation()},hc=_t(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=y.refKey,X=x===void 0?"ref":x,ae=y.role,De=y.onKeyDown,Un=y.onFocus,an=y.onBlur,so=y.onClick,lo=y.onDragEnter,ao=y.onDragOver,br=y.onDragLeave,co=y.onDrop,uo=Qr(y,wg);return Z(Z(Ko({onKeyDown:io(Ye(De,Mi)),onFocus:io(Ye(Un,Ti)),onBlur:io(Ye(an,Ri)),onClick:ln(Ye(so,Oi)),onDragEnter:yr(Ye(lo,Fi)),onDragOver:yr(Ye(ao,ki)),onDragLeave:yr(Ye(br,Ii)),onDrop:yr(Ye(co,_r)),role:typeof ae=="string"&&ae!==""?ae:"presentation"},X,ie),!r&&!J?{tabIndex:0}:{}),uo)}},[ie,Mi,Ti,Ri,Oi,Fi,ki,Ii,_r,J,Ce,r]),gc=ve(function(y){y.stopPropagation()},[]),mc=_t(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=y.refKey,X=x===void 0?"ref":x,ae=y.onChange,De=y.onClick,Un=Qr(y,_g),an=Ko({accept:pe,multiple:l,type:"file",style:{display:"none"},onChange:ln(Ye(ae,_r)),onClick:ln(Ye(De,gc)),tabIndex:-1},X,we);return Z(Z({},an),Un)}},[we,n,l,_r,r]);return Z(Z({},oo),{},{isFocused:pc&&!r,getRootProps:hc,getInputProps:mc,rootRef:ie,inputRef:we,open:ln(sn)})}function Dg(e,t){switch(t.type){case"focus":return Z(Z({},e),{},{isFocused:!0});case"blur":return Z(Z({},e),{},{isFocused:!1});case"openDialog":return Z(Z({},Jo),{},{isFileDialogActive:!0});case"closeDialog":return Z(Z({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Z(Z({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Z(Z({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Z({},Jo);default:return e}}function ul(){}const Fg="data:image/jpeg;base64,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",kg="data:image/jpeg;base64,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";var Ig=0;function et(e,t,n,r,o,i){var s,l,u={};for(l in t)l=="ref"?s=t[l]:u[l]=t[l];var c={type:e,props:u,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Ig,__source:o,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)u[l]===void 0&&(u[l]=s[l]);return b.vnode&&b.vnode(c),c}function Mg({onCancel:e,onSubmit:t,onFileDrop:n}){const r=ve(c=>{const a=c[0];n(a,a.path)},[]),{getRootProps:o,getInputProps:i,open:s,acceptedFiles:l}=cc({onDrop:r,accept:{"text/csv":[".csv"]},maxFiles:1,noClick:!0,noKeyboard:!0,multiple:!1,maxSize:35e5}),u=l.map(c=>et("p",{children:c.path},c.path));return et("div",{...o(),children:[et("input",{...i(),name:"file"}),et("img",{src:u.length?kg:Fg,className:"mx-auto mb-2"}),u.length?et(Xe,{children:[u,et("button",{type:"reset",onClick:e,className:"mt-6 mr-6 rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:"Cancel"}),et("button",{type:"button",onClick:t,className:"rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Import file"})]}):et(Xe,{children:[et("p",{className:"mb-6 text-gray-500",children:"Drag a file to upload"}),et("button",{type:"button",onClick:s,className:"rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Browse"})]})]})}class Ne extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FileSelection","Validating","ValidationError","ImportInProgress","ImportComplete","UnexpectedError"]}}class uc extends le{constructor(t){super(),this.View=t}}class se extends re{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetView","CreateImport","FetchImports","FetchImport"]}}function Tg(){return[new uc(new Ne(0,[])),qt()]}function Rg(e,t,n,r){let o,i,s;return n.tag===1?n.fields[0].tag===1?[r,Kn(n.fields[0].fields[0].tag===1?new se(0,[new Ne(5,[n.fields[0].fields[0].fields[0]])]):n.fields[0].fields[0].fields[0].tag===1?new se(0,[new Ne(2,[n.fields[0].fields[0].fields[0].fields[0]])]):n.fields[0].fields[0].fields[0].fields[0].ActiveImport==null?new se(0,[new Ne(5,["New import not active"])]):(o=n.fields[0].fields[0].fields[0].fields[0].ActiveImport,new se(0,[new Ne(3,[o])])))]:[r,Js(I([Kn(new se(0,[new Ne(1,[])])),zo(l=>{Fr(l)},l=>Q0(t,l),n.fields[0].fields[0],l=>new se(1,[new ot(1,[l])]))]))]:n.tag===2?n.fields[0].tag===1?[r,Js(Po(Kn,(i=r.View,i.tag===3?n.fields[0].fields[0].ActiveImport!=null?(s=n.fields[0].fields[0].ActiveImport,I([new se(0,[new Ne(3,[s])]),new se(2,[new ot(0,[void 0])])])):We(new se(3,[new ot(0,[i.fields[0].ImportId])])):n.fields[0].fields[0].ActiveImport!=null?(s=n.fields[0].fields[0].ActiveImport,I([new se(0,[new Ne(3,[s])]),new se(2,[new ot(0,[void 0])])])):We(new se(0,[new Ne(0,[])])))))]:(Fr(F.Delay(()=>F.Bind(Kd(1e4),()=>(e(),F.Zero())))),[r,qt()]):n.tag===3?n.fields[0].tag===1?[r,Kn(n.fields[0].fields[0].tag===1?new se(0,[new Ne(5,[n.fields[0].fields[0].fields[0]])]):new se(0,[new Ne(4,[n.fields[0].fields[0].fields[0]])]))]:[r,zo(l=>{Fr(l)},l=>W0(t,l),n.fields[0].fields[0],l=>new se(3,[new ot(1,[l])]))]:[new uc(n.fields[0]),qt()]}const fc=Fh,fl=kh,Og=Ih;function Ng(e){let t;const n=e.dispatch,r=xo(!1),o=r[1],i=xo(0),s=i[0]|0,l=xo(new FormData),u=l[0];return m("form",Ee(I([["key",s],(t=bt(O(()=>ce(M(m(Mg,{onCancel:()=>{i[1](s+1),l[1](new FormData)},onSubmit:()=>{o(!0)},onFileDrop:(c,a)=>{u.set("file",c,a)}})),O(()=>{let c,a,d,f,p,g,_;return r[0]?M((c=I([m("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75"}),m("div",Ee(I([["className","fixed inset-0 z-10 overflow-y-auto"],(a=[m("div",Ee(I([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(d=[m("div",Ee(I([["className","relative overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"],(f=[(p=I([m("div",Ee(I([["className","mt-3 text-center sm:mt-5 space-y-6"],(g=[m("img",{src:fc,className:"mx-auto"}),m("p",{children:["Please check and confirm this file is being uploaded to the correct account."]}),m("p",{children:["Uploading files to the wrong account can cause a security breach."]})],["children",k.Children.toArray(Array.from(g))])]))),m("div",Ee(I([["className","mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3"],(_=[m("button",{type:"button",className:"inline-flex w-full justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 sm:col-start-2",children:"I confirm",onClick:w=>{n(new se(1,[new ot(0,[u])]))}}),m("button",{type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:col-start-1 sm:mt-0",children:"Cancel",onClick:w=>{o(!1)}})],["children",k.Children.toArray(Array.from(_))])])))]),m("div",{children:k.Children.toArray(Array.from(p))}))],["children",k.Children.toArray(Array.from(f))])])))],["children",k.Children.toArray(Array.from(d))])])))],["children",k.Children.toArray(Array.from(a))])])))]),m("div",{children:k.Children.toArray(Array.from(c))}))):ma()})))),["children",k.Children.toArray(Array.from(t))])])))}function Bg(e){let t,n,r,o,i,s,l,u;const c=e.onDone,a=e.backendService,d=e.dispatchFetchImports,f=e.accountImports,p=e.accountId,g=Ja(Tg(),(A,S)=>Rg(d,a,A,S)),_=g[1];dh(()=>{_(new se(2,[new ot(1,[f])]))},[f]);const w=I([m("div",Ee(I([["className","space-y-6"],(t=[(n=I([`Upload a CSV file with required information (first name, last name, email) to create new partial profiles.
|
|
21
|
+
`))(a);return p=>f(p)}}else if(Ef(r))if(ra(r)){const c=xn(a=>rt(e,t,!1,a),If(r),null);return a=>d=>Array.isArray(d)?Dt(f=>Nf(no(f)),$a("tuple elements",c,a,d)):new h(1,[[a,new v(0,["an array",d])]])}else{const c=fe(Cf(r));if(c==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]")return o=rt(e,t,!0,It(r)[0]),a=>d=>Zh(q(2,o),a,d);if(c==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]")return i=rt(e,t,!1,It(r)[0]),a=>d=>Zs(q(2,i),a,d);if(c==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=rt(e,t,!1,It(r)[0]),d=rt(e,t,!1,It(r)[1]);let f;const p=S([g=>_=>t0(q(2,a),q(2,d),g,_),(s=Xh(q(2,a),q(2,d)),g=>_=>Zs(q(2,s),g,_))]);return f=g=>_=>Kh(p,g,_),g=>_=>$h(qh,q(2,f),g,_)}else if(c==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"){const a=rt(e,t,!1,It(r)[0]);return d=>f=>{const p=Ks(q(2,a),d,f);return p.tag===0?new h(0,[Yh(p.fields[0])]):new h(1,[p.fields[0]])}}else return Xs(e,t,n,r)}else return l==="System.Boolean"?c=>a=>Uh(c,a):l==="Microsoft.FSharp.Core.Unit"?c=>a=>Vh(c,a):l==="System.String"?c=>a=>Hh(c,a):l==="System.SByte"?Vs:l==="System.Byte"?Us:l==="System.Int16"?Ls:l==="System.UInt16"?zs:l==="System.Int32"?Ws:l==="System.UInt32"?Gs:l==="System.Double"?c=>a=>Lh(c,a):l==="System.Single"?c=>a=>zh(c,a):l==="System.DateTime"?c=>a=>Wh(c,a):l==="System.DateTimeOffset"?c=>a=>Gh(c,a):l==="System.TimeSpan"?c=>a=>Qh(c,a):l==="System.Guid"?c=>a=>jh(c,a):l==="System.Object"?c=>a=>new h(0,[a]):Xs(e,t,n,r);else{const c=u;return a=>d=>c.contents(a)(d)}}function n0(e){return e!=null?Np((t,n)=>new ze(n[1]),e.Coders):Ba({Compare:yn})}function Wr(e,t,n){const r=fa(t,new or(0,[]));return rt(n0(n),r,!1,e)}class qs extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Success","ImportError"]}}class r0{constructor(t,n,r){this.accessToken=r,this.baseUrl=`${t}/profiles/admin/accounts/${n}/imports`}}function o0(e,t,n){return new r0(e,t,n)}function Xa(e,t){return wi(_i,()=>{let n,r,o,i;const s=xi((n=Ai(new so(0,[]),bi(`${e.baseUrl}/${t}`)),r=yi((o=Nn(nn("Bearer %s")),o(e.accessToken))),vi(r,n)));return i=F.Bind(s,l=>F.Return(new h(0,[l]))),F.Delay(()=>F.Bind(i,l=>{let u,c;const a=l;return a.tag===1?F.Return(new h(1,[a.fields[0]])):F.ReturnFrom((u=a.fields[0],u.statusCode===200?(c=zr(q(2,Wr(ep(),new or(1,[]),void 0)),u.responseText),F.Return(c)):F.Return(new h(1,["Failed to fetch import"]))))}))})}function i0(e){return wi(_i,()=>{let t,n,r,o;const i=xi((t=Ai(new so(0,[]),bi(e.baseUrl)),n=yi((r=Nn(nn("Bearer %s")),r(e.accessToken))),vi(n,t)));return o=F.Bind(i,s=>F.Return(new h(0,[s]))),F.Delay(()=>F.Bind(o,s=>{let l,u;const c=s;return c.tag===1?F.Return(new h(1,[c.fields[0]])):F.ReturnFrom((l=c.fields[0],l.statusCode===200?(u=zr(q(2,Wr(Sa(),new or(1,[]),void 0)),l.responseText),F.Return(u)):F.Return(new h(1,["Failed to fetch account imports"]))))}))})}function s0(e,t){return wi(_i,()=>{let n,r,o,i;const s=xi((n=Hp(new Fa(3,[t]),Ai(new so(1,[]),bi(e.baseUrl))),r=yi((o=Nn(nn("Bearer %s")),o(e.accessToken))),vi(r,n)));return i=F.Bind(s,l=>F.Return(new h(0,[l]))),F.Delay(()=>F.Bind(i,l=>{let u,c,a,d,f,p;const g=l;return g.tag===1?F.Return(new h(1,[g.fields[0]])):F.ReturnFrom((u=g.fields[0],c=u.statusCode|0,c===200?(a=(d=zr(q(2,Wr(Sa(),new or(1,[]),void 0)),u.responseText),F.Return(d)),F.Bind(a,_=>{const w=Dt(b=>new qs(0,[b]),_);return F.Return(w)})):c===400?(f=(p=zr(q(2,Wr(qd(),new or(1,[]),void 0)),u.responseText),F.Return(p)),F.Bind(f,_=>{const w=Dt(b=>new qs(1,[b]),_);return F.Return(w)})):F.Return(new h(1,["Failed to create account import"]))))}))})}class l0{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function a0(e,t){t.Subscribe(new l0(e))}class c0{constructor(){this.delegates=[]}Add(t){this._addHandler(t)}get Publish(){return this}Trigger(t,n){let r,o;n===void 0?(r=null,o=t):(r=t,o=n),this.delegates.forEach(i=>i.length===1?i(o):i(r,o))}AddHandler(t){this._addHandler(t)}RemoveHandler(t){this._removeHandler(t)}Subscribe(t){const n=typeof t=="function"?t:t.OnNext;return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}_addHandler(t){this.delegates.push(t)}_removeHandler(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}}class u0{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new c0}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function f0(e,t){console.error(xe(e),t)}function d0(e,t){let n,r=new u0(e);r.AutoReset=!1,n=r,a0(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Ys(e,t){ha(n=>{n(e)},t)}function qt(){return Le()}function Do(e){return ma(e)}function Fr(e){return ve(t=>{t(e)})}function qa(e,t,n,r){return ve(o=>{e(F.Delay(()=>F.Bind(ap(t(n)),i=>{const s=i;return s.tag===0&&o(r(s.fields[0])),F.Zero()})))})}function Qo(e){d0(0,t=>{Da(e)})}function p0(e,t,n,r){const o=ct(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const i=o>0;return s=>{const l=ct(s,t)|0;return i&&l<=0||!i&&l>=0?[s,r(s,e)]:void 0}}function h0(e,t,n,r,o){const i=p0(t,n,r,o);return M(()=>Rd(i,e))}function m0(e,t,n){return h0(e,t,n,0,(r,o)=>r+o)}class gn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class g0{constructor(t){this.state=new gn(0,[fi(new Array(Bo(yn,t,10)),0,Bo(yn,t,10),null),0])}}function w0(e){return new g0(e)}function _0(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],i=(r+1)%o.length|0;return i===n?e.state=new gn(0,[o,n]):e.state=new gn(1,[o,n,i]),xe(o[r])}else return}function y0(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,i=n.fields[0];i[r]=t;const s=(r+1)%i.length|0;s===o?e.state=new gn(1,[b0(e,o,i),i.length,0]):e.state=new gn(1,[i,s,o])}else{const r=n.fields[1]|0,o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new gn(1,[o,i,r])}}function b0(e,t,n){return Array.from(M(()=>se(Pd(t,n),M(()=>se(Hd(t,n),M(()=>va(r=>k(Et()),m0(0,1,n.length))))))))}class Ya extends le{constructor(t,n,r,o,i,s,l){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=i,this.onError=s,this.syncDispatch=l}}function A0(e,t,n){return new Ya(e,t,r=>qt(),n,q(2,r=>{const o=In(1,n,[r]);return i=>{o(i)}}),r=>{f0(r[0],r[1])},q(2,r=>r))}function v0(e,t){return new Ya(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function x0(e,t){const n=t.init(e),r=n[0],o=w0(10);let i=!1,s=r;const l=c=>{let a;if(i)y0(o,c);else{i=!0;let d=xe(c);for(;d!=null;){const f=$(d);try{const p=t.update(f,s),g=p[0];t.setState(g,u),Ys(u,p[1]),s=g}catch(p){t.onError([(a=Nn(nn("Unable to process the message: %A")),a(f)),p])}d=_0(o)}i=!1}},u=In(1,t.syncDispatch,[l]);t.setState(r,u),Ys(u,ro((()=>{try{return t.subscribe(r)}catch(c){return t.onError(["Unable to subscribe:",c]),qt()}})(),n[1]))}const E0=(e,t)=>{mn(()=>{const n=e();return()=>{n.Dispose()}},t)},C=zl,ec=E0;function Si(e){return{Dispose(){e()}}}function el(e){return C.useState(e)}function tc(e,t){ec(e,t)}function C0(e){const t=C.useRef(void 0),n=C.useRef(!1),r=C.useRef(!1);n.current&&(r.current=!0),tc(()=>{let o;return n.current?o=void 0:(n.current=!0,t.current=xe(e()),o=r.current?t.current:void 0),{Dispose(){mi(i=>{J(i)},nd(o))}}},[])}function nc(e,t){ec(n=>(e(),Si(()=>{})),t)}function tl(e){return C.useRef(e)}function $n(e){return C.useState(e)}class S0{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function D0(){return new S0}function F0(e){return e.state}function I0(e){return e.hasDisposedOnce}function k0(e,t,n){e.state=xe(t),e.dispatcher=n;const r=e.listener;r!=null&&r(t)}function M0(e,t){const n=e.dispatcher;n!=null&&n(t)}function T0(e,t){e.listener==null&&(e.listener=t)}function R0(e){const t=e.state;if(t!=null){const n=$(t);Wl(n)&&J(n)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}function nl(e,t,n,r){x0(t,v0((i,s)=>{k0(n,i,s)},e()));const o=F0(n);if(o!=null)return $(o);throw new Error("Elmish program has not initialized")}function N0(e,t,n){const r=el(D0)[0],o=el(()=>nl(e,t,r)),i=o[1];return tc(()=>(I0(r)&&i(nl(e,t,r)),Si(()=>{R0(r)})),fa(n,[])),T0(r,i),[o[0],s=>{M0(r,s)}]}function O0(e,t){return N0(e,void 0,t)}function rc(e,t,n){return O0(()=>A0(()=>e,t,(r,o)=>{}),n)}class hn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function B0(e,t){const n=$n(new hn(0,[])),r=n[1];let o;const i=tl(ip()),s=tl(i.current);C0(()=>Si(()=>{sp(i.current)})),o=s;const l=F.Delay(()=>F.TryWith(F.Delay(()=>(r(new hn(1,[])),F.Bind(e,u=>(r(new hn(2,[u])),F.Zero())))),u=>(r(new hn(3,[u])),F.Zero())));return nc(()=>{Da(l,o.current)},t),n[0]}class vt extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class Gr extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ProfileImport","PastImports"]}}function rl(e){return e.tag===1?"Past Imports":"Profile Import"}class Zo extends le{constructor(t,n){super(),this.CurrentTab=t,this.AccountImports=n}}class Xn extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetCurrentTab","FetchImports"]}}const P0=[new Zo(new Gr(0,[]),new hn(0,[])),Fr(new Xn(1,[new vt(0,[void 0])]))];function H0(e,t,n){return t.tag===1?t.fields[0].tag===1?[new Zo(n.CurrentTab,new hn(2,[t.fields[0].fields[0]])),qt()]:[n,qa(r=>{Qo(r)},e,void 0,r=>new Xn(1,[new vt(1,[r])]))]:[new Zo(t.fields[0],n.AccountImports),qt()]}const j0=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed}.relative{position:relative}.inset-0{top:0px;right:0px;bottom:0px;left:0px}.z-10{z-index:10}.-mx-4{margin-left:-1rem;margin-right:-1rem}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-auto{margin-left:auto;margin-right:auto}.-mb-px{margin-bottom:-1px}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-6{margin-left:1.5rem}.mr-6{margin-right:1.5rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.min-h-full{min-height:100%}.w-full{width:100%}.min-w-full{min-width:100%}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.items-end{align-items:flex-end}.justify-center{justify-content:center}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity: .75}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-4{padding-bottom:1rem}.pl-4{padding-left:1rem}.pr-3{padding-right:.75rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.hover\\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-indigo-600:focus-visible{outline-color:#4f46e5}@media (min-width: 640px){.sm\\:col-start-1{grid-column-start:1}.sm\\:col-start-2{grid-column-start:2}.sm\\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-5{margin-top:1.25rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:grid{display:grid}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:grid-flow-row-dense{grid-auto-flow:row dense}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:items-center{align-items:center}.sm\\:gap-3{gap:.75rem}.sm\\:rounded-lg{border-radius:.5rem}.sm\\:p-0{padding:0}.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:pl-6{padding-left:1.5rem}}@media (min-width: 1024px){.lg\\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\\:px-8{padding-left:2rem;padding-right:2rem}}
|
|
22
|
+
`,V0=(()=>Ce(j0))();function U0(e){let t,n;const r=e.setCurrentTab,o=e.currentTab;return m("div",K(S([["className","border-b border-gray-200"],(t=[m("nav",K(S([["className","-mb-px flex space-x-8"],(n=lt(M(()=>Ne(i=>m("a",{key:rl(i),className:St(" ",lt(M(()=>se(it(o,i)?k("border-indigo-500 text-indigo-600"):k("border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 cursor-pointer"),M(()=>k("whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium")))))),onClick:s=>{r(i)},children:rl(i)}),[new Gr(0,[]),new Gr(1,[])]))),["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function sr(e){const t=S([m("p",{children:["Oops, something went wrong."]}),m("p",{children:[`Error: ${e}.`]}),m("p",{children:["Please refresh the page and try again."]})]);return m("div",{children:C.Children.toArray(Array.from(t))})}function oc(e){let t;const n=e.onDone,r=e.fetchImport,o=e.importId,i=B0(r(o),[]);let s,l,u,c;switch(i.tag===1?s=0:i.tag===3?(s=1,l=i.fields[0]):i.tag===2?i.fields[0].tag===0?(s=3,c=i.fields[0].fields[0]):(s=2,u=i.fields[0].fields[0]):s=0,s){case 0:return Et();case 1:return sr(l.message);case 2:return sr(u);case 3:return m("div",K(S([["className","text-center"],(t=lt(M(()=>se(k(m("p",{children:[`Import ID: ${c.ImportId}`]})),M(()=>se(k(m("p",{children:[`Creator: ${c.User}`]})),M(()=>se(k(m("p",{children:[`Filename: ${c.Filename}`]})),M(()=>se(k(m("p",{children:[`Date started: ${Ce(c.StartTime)}`]})),M(()=>{let a;return se((a=c.StopTime,a==null?k(Et()):k(m("p",{children:[`Date completed: ${Ce(a)}`]}))),M(()=>se(k(m("p",{children:[`Total rows: ${c.TotalRecordCount}`]})),M(()=>se(k(m("p",{children:[`Succeeded rows: ${c.SucceededRecordCount}`]})),M(()=>se(k(m("p",{children:[`Failed rows: ${c.FailedRecordCount}`]})),M(()=>{let d;return se(c.FailedRecordCount>0?k((d=lt(M(()=>se(k(m("p",{children:["The following profiles could not be created"]})),M(()=>Ne(f=>m("li",{children:[`${f.RowId}: ${f.Reason}`]}),c.FailedRecords))))),m("div",{children:C.Children.toArray(Array.from(d))}))):ba(),M(()=>k(m("button",{type:"button",children:"Done",className:"mt-8 rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:f=>{n()}}))))}))))))))})))))))))),["children",C.Children.toArray(Array.from(t))])])))}}class Fo extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HistoryTable","ImportSummary"]}}function L0(e){let t,n,r,o,i,s,l,u;const c=e.fetchImport,a=e.accountImports,d=$n(new Fo(0,[])),f=d[0],p=d[1];return f.tag===0?m("div",K(S([["className","-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"],(t=[m("div",K(S([["className","inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"],(n=[m("div",K(S([["className","overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg"],(r=[m("table",K(S([["className","min-w-full divide-y divide-gray-300"],(o=[m("thead",K(S([["className","bg-gray-100"],(i=[(s=S([m("th",{scope:"col",className:"py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6",children:"Import ID"}),m("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"Date"}),m("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"User"}),m("th",{scope:"col",className:"px-3 py-3.5 text-left text-sm font-semibold text-gray-900",children:"# of Profiles"})]),m("tr",{children:C.Children.toArray(Array.from(s))}))],["children",C.Children.toArray(Array.from(i))])]))),m("tbody",K(S([["className","divide-y divide-gray-200 bg-white"],(l=lt(M(()=>Ne(g=>{let _;return m("tr",K(S([["key",g.ImportId],["className","cursor-pointer hover:bg-gray-50"],["onClick",w=>{p(new Fo(1,[g.ImportId]))}],(_=[m("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-sm text-gray-500 sm:pl-6",children:g.ImportId}),m("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:Ce(g.StartTime)}),m("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:g.User}),m("td",{className:"whitespace-nowrap px-3 py-4 text-sm text-gray-500",children:g.Succeeded})],["children",C.Children.toArray(Array.from(_))])])))},a.ImportHistory))),["children",C.Children.toArray(Array.from(l))])])))],["children",C.Children.toArray(Array.from(o))])])))],["children",C.Children.toArray(Array.from(r))])])))],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])]))):m("div",K(S([["className","border border-gray-300 w-full py-12 rounded text-center bg-white"],(u=[m(oc,{importId:f.fields[0],fetchImport:c,onDone:()=>{p(new Fo(0,[]))}})],["children",C.Children.toArray(Array.from(u))])])))}const z0="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAAxADcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDz/wCKH7XPxUvfiT4glb4keOYy+o3B2Ra5cxxr+8bhVVwFA9AMCsL/AIav+KX/AEUrx/8A+FDd/wDxyuY+In/JQNd/7CFx/wCjGrHr6WMY22PmXKV9z6y/4J2/8FK/GX7P/wC01o994w8XeIvEHhHVz/ZurQapqU12lvFIwxOgkZtrRsFbIxldw71+8Vlew6lZw3FvIk0FwgkjkQ5V1IyCD6EHNfy11754I/4Ki/Hz4c+ENN0HR/iTrFrpOj2yWlnA1vbTeREg2ogZ42YhVAAyTgADtXJisH7R80NDswuM9muWep/Q5RX8/H/D3j9o7/oqGq/+ANn/APGaP+HvH7R3/RUNV/8AAGz/APjNcv8AZ1Tujq/tGn2Z/QPRX4//APBLf/gpb8aPjF+2Hofhvxd4zuPEWh6ja3jTWtzaQIN0dvJIpDRopBDKO9FctahKnLlZ1Ua8akeZH5//ABE/5KBrv/YQuP8A0Y1Y9bHxE/5KBrv/AGELj/0Y1Y9fQx2PnQr74/b28C+G9A/4JT/s76xpvh/Q9P1jWIoftt/bWMUN1eFbYg+ZIqhn55+YnmvgevvX9vPUvtP/AASP/ZhXP3hcr/3wpWsK3xQ9f0Oij8M/T9UfBVFFFdBzn1D/AMEcv+T+/Cn/AF6ah/6SS0Uf8Ecv+T+/Cn/XpqH/AKSS0V5GO/ifI9fA/wAP5nzt8RP+Sga7/wBhC4/9GNWPXdftL/C7W/g38d/FXh/xBYXGn6jZ6lOSk0ZTzEMjFJF9VZcEEcEGuFr1Y7Hky0dmFe8fHf8AaX8RfEv9jv4S+BdQ8H3Wj6D4La8/s3W38zy9aLvlwu5AnyE4O1mx3xXg9enfE79rvxp8XfgV4N+HetXVlL4b8C7hpaR2qxzKCMAO45bA4H15zSlG7TKjKyZ5jRRRVkH1D/wRy/5P78Kf9emof+kktFdX/wAENvg3rvxC/bVsdbsbOY6L4bsbp9Rvdh8m3MsDxRoT03MzcDrhWPaivHx8l7T5HsYGL9n8z2z/AIOK/wDkevCX/YNT/wBHT1+Y9FFd+D/hI4cZ/FYUUUV0nKFFFFAH7r/8ERP+TJ7D/r7b/wBASiiivncR/El6n0WH/hx9D//Z",W0="data:image/jpeg;base64,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",G0="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEA8ADwAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAAAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAA0ADQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9/GbaMngDkk9q+Gf22/8Agsro/wAGdZvvC/w6tbPxNr1qDFPqcr7tPtJOQVXaQZWXvghc8ZPIpv8AwWV/bdvPg54Qt/hv4ZufI1rxRavJqtyjYks7M/KEUjo0vzAnsqn+9x+Udf0R4U+FOHzDDxznOY81OXwQ2TS+1Lra+y67vRo5K9Zp8sT1j4l/t0fFz4t6g1xrXj7xExydsVpcmzhTPYJDtUflXL6X+0J480S5E1r408VQSK2/K6rP19fvVx9Ff0tRyfAUafsaVCEY9lGKX3WOTme59ifszf8ABZr4lfCPUY7XxjL/AMJ5oRwpW62xX1uPVJlHzfSQNn1FfqF+zr+0t4R/aj+H8HiLwjqcd5bsAtzbt8txYyd45U6qw9ehHIJBBr+fmvW/2MP2s9c/ZB+Mtn4g0yaR9LuCtvq9iTmK9tiRkEf31+8rDkEY6Fgfyfj7why/M8PPFZTTVLEJXSjpGfk0tE30atrvfdbUsQ07S2P3porP8JeKrDxz4W07WtLuI7zTdVto7u1njOVljdQykfUGiv47nCUJOElZrRo9A/C//goH8U5/i/8AtkfEDVZmzFb6tNptsAeBDbN5CEfUR7vqxrxuu2/aU8OTeEP2iPHml3AkE2n+IL+Al/vNtuHAP4jBz3zTPgRp3gvW/H8Wn+O7zVNM0TUInt11CywzadO2BHM6EHfGp+8owcZxzX+imWexweU0fYxbhCnGyirtpRVrLq7dN2eTLWWpxla3gXwLq3xL8XWGg6FYXGpatqcwgtraFdzSMf5AdSTwBya7T4hfsoeMvAnxktPBcemyavf6w6nR57EeZb6xC/KTQuOGQjknPy4OcYNek+OfGuj/ALE3hC/8E+DLyz1b4japF5HiTxRbNuXSkI+ewsn9e0ko5JBA9scVnkJwhDLrVKlRXjr7qj/PJ9Ir72/dWuxy9zO+L114V/Zb+HOofDvQ107xJ481ZfJ8U69tWa304Agmxsye4IxJKOSRge3z7SsxdizElicknvSV35bl/wBVptSk5zk7yk92/TZJbKK0SVvMTdz9hP8AgkF8av7Y/Yq0mxv5Gkk0C/udOiJbkRgrKo/DzcfQCivOf+CPnw0vNV/ZRu7xPOEd34guXXBOMCKBOPxU0V/FnHWX4GPEOMSlb95J2827v8Wz0acnyI8T/wCC2f7PFz8Ov2j4/HFvb/8AEn8bQqXkRcLHdwoqOp7ZZQre/wAx9a+La/oQ/aC+Avh/9pX4V6l4R8TW5m0/UFykiY820lGdk0ZIOHUng+5ByCRX4ufth/sG+Nv2OfFDQ6vayap4fmYiy1y1hb7LcDsr9fKkx1Rj9Cw5r918IPEDC4/L6eTYuajXpLlin9uK2t5paNb6XXW3NiKTT5lsZ3w//ba8efDX4PXng3Tb+H7HMkkNneyxCS+0mGXHnRW0p+aJJNoyB7kYJJryRnLsWYlmY5JPekor9jwuX4bDTnUoU1Fzd5NK133f9btvds57t7hVrQ9FuvEms2mn2MElzeX0yQQRIMtI7EBVH1JFP8PeHNQ8Xazb6dpVjealqF04jhtrWFpZZWPQKqgkn6V+p3/BMv8A4JZSfAnUbbx98QobafxUqB9M00fOukZHMjno02DgAZCepPT5vjLjTAcO4J4jEyTqNPkh1k/0Xd7Jedk7p03N2R9O/sdfAdf2av2bvCvg9mSS7020D3sijiS5kJklI9gzED2UUV6ZRX8E47GVcXiKmKru85ycm+7bu/xPTSsrIKqa5oNj4n0mew1Kztr+xulKTQXEQkjkU9QVPBoornjJxfNHRjPmf4t/8Ee/gj8Ur03UOi6l4VuGyZG0O88lJP8AtnIska/8BUV594J/4Ig/CG4vZpbrVfHl5HbS7fJk1G3VJB6Epbq35EUUV++cL8QZpPJeeeJqNq9m5yvv6nLUjHm2PqH4JfsofDv9nSDb4N8J6XosrLse5VTLcyD/AGpZCzn869Door8LxmMr4qq62Jm5ye7k22/m7s6kktEFFFFcoH//2Q==";var H={exports:{}},Q0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Z0=Q0,K0=Z0;function ic(){}function sc(){}sc.resetWarningCache=ic;var J0=function(){function e(r,o,i,s,l,u){if(u!==K0){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:sc,resetWarningCache:ic};return n.PropTypes=n,n};H.exports=J0();function Hn(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(a){try{c(r.next(a))}catch(d){s(d)}}function u(a){try{c(r.throw(a))}catch(d){s(d)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(e,t||[])).next())})}function jn(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(c){return function(a){return u([c,a])}}function u(c){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){n.label=c[1];break}if(c[0]===6&&n.label<i[1]){n.label=i[1],i=c;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(c);break}i[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(a){c=[6,a],o=0}finally{r=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function ol(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function il(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var $0=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function mr(e,t){var n=X0(e);if(typeof n.path!="string"){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:typeof t=="string"?t:typeof r=="string"&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function X0(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=$0.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var q0=[".DS_Store","Thumbs.db"];function Y0(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return Qr(e)&&em(e.dataTransfer)?[2,om(e.dataTransfer,e.type)]:tm(e)?[2,nm(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,rm(e)]:[2,[]]})})}function em(e){return Qr(e)}function tm(e){return Qr(e)&&Qr(e.target)}function Qr(e){return typeof e=="object"&&e!==null}function nm(e){return Ko(e.target.files).map(function(t){return mr(t)})}function rm(e){return Hn(this,void 0,void 0,function(){var t;return jn(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return mr(r)})]}})})}function om(e,t){return Hn(this,void 0,void 0,function(){var n,r;return jn(this,function(o){switch(o.label){case 0:return e.items?(n=Ko(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(im))]):[3,2];case 1:return r=o.sent(),[2,sl(lc(r))];case 2:return[2,sl(Ko(e.files).map(function(i){return mr(i)}))]}})})}function sl(e){return e.filter(function(t){return q0.indexOf(t.name)===-1})}function Ko(e){if(e===null)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function im(e){if(typeof e.webkitGetAsEntry!="function")return ll(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?ac(t):ll(e)}function lc(e){return e.reduce(function(t,n){return il(il([],ol(t),!1),ol(Array.isArray(n)?lc(n):[n]),!1)},[])}function ll(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=mr(t);return Promise.resolve(n)}function sm(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return[2,e.isDirectory?ac(e):lm(e)]})})}function ac(e){var t=e.createReader();return new Promise(function(n,r){var o=[];function i(){var s=this;t.readEntries(function(l){return Hn(s,void 0,void 0,function(){var u,c,a;return jn(this,function(d){switch(d.label){case 0:if(l.length)return[3,5];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return u=d.sent(),n(u),[3,4];case 3:return c=d.sent(),r(c),[3,4];case 4:return[3,6];case 5:a=Promise.all(l.map(sm)),o.push(a),i(),d.label=6;case 6:return[2]}})})},function(l){r(l)})}i()})}function lm(e){return Hn(this,void 0,void 0,function(){return jn(this,function(t){return[2,new Promise(function(n,r){e.file(function(o){var i=mr(o,e.fullPath);n(i)},function(o){r(o)})})]})})}var am=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some(function(s){var l=s.trim().toLowerCase();return l.charAt(0)==="."?r.toLowerCase().endsWith(l):l.endsWith("/*")?i===l.replace(/\/.*$/,""):o===l})}return!0};function al(e){return fm(e)||um(e)||uc(e)||cm()}function cm(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
23
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function um(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fm(e){if(Array.isArray(e))return Jo(e)}function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cl(Object(n),!0).forEach(function(r){cc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lr(e,t){return hm(e)||pm(e,t)||uc(e,t)||dm()}function dm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uc(e,t){if(!!e){if(typeof e=="string")return Jo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jo(e,t)}}function Jo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pm(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function hm(e){if(Array.isArray(e))return e}var mm="file-invalid-type",gm="file-too-large",wm="file-too-small",_m="too-many-files",ym=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var n=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:mm,message:"File type must be ".concat(n)}},fl=function(t){return{code:gm,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},dl=function(t){return{code:wm,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},bm={code:_m,message:"Too many files"};function fc(e,t){var n=e.type==="application/x-moz-file"||am(e,t);return[n,n?null:ym(t)]}function dc(e,t,n){if(Wt(e.size))if(Wt(t)&&Wt(n)){if(e.size>n)return[!1,fl(n)];if(e.size<t)return[!1,dl(t)]}else{if(Wt(t)&&e.size<t)return[!1,dl(t)];if(Wt(n)&&e.size>n)return[!1,fl(n)]}return[!0,null]}function Wt(e){return e!=null}function Am(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,s=e.maxFiles,l=e.validator;return!i&&t.length>1||i&&s>=1&&t.length>s?!1:t.every(function(u){var c=fc(u,n),a=lr(c,1),d=a[0],f=dc(u,r,o),p=lr(f,1),g=p[0],_=l?l(u):null;return d&&g&&!_})}function Zr(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function vr(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function pl(e){e.preventDefault()}function vm(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function xm(e){return e.indexOf("Edge/")!==-1}function Em(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return vm(e)||xm(e)}function Ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];return t.some(function(l){return!Zr(r)&&l&&l.apply(void 0,[r].concat(i)),Zr(r)})}}function Cm(){return"showOpenFilePicker"in window}function Sm(e){if(Wt(e)){var t=Object.entries(e).filter(function(n){var r=lr(n,2),o=r[0],i=r[1],s=!0;return pc(o)||(console.warn('Skipped "'.concat(o,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),s=!1),(!Array.isArray(i)||!i.every(hc))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),s=!1),s}).reduce(function(n,r){var o=lr(r,2),i=o[0],s=o[1];return ul(ul({},n),{},cc({},i,s))},{});return[{description:"Files",accept:t}]}return e}function Dm(e){if(Wt(e))return Object.entries(e).reduce(function(t,n){var r=lr(n,2),o=r[0],i=r[1];return[].concat(al(t),[o],al(i))},[]).filter(function(t){return pc(t)||hc(t)}).join(",")}function Fm(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Im(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function pc(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function hc(e){return/^.*\.[\w]+$/.test(e)}var km=["children"],Mm=["open"],Tm=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Rm=["refKey","onChange","onClick"];function Nm(e){return Pm(e)||Bm(e)||mc(e)||Om()}function Om(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
25
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bm(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pm(e){if(Array.isArray(e))return $o(e)}function Io(e,t){return Vm(e)||jm(e,t)||mc(e,t)||Hm()}function Hm(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mc(e,t){if(!!e){if(typeof e=="string")return $o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $o(e,t)}}function $o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jm(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,l;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw l}}return r}}function Vm(e){if(Array.isArray(e))return e}function hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hl(Object(n),!0).forEach(function(r){Xo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hl(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e,t){if(e==null)return{};var n=Um(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Um(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var Di=Bl(function(e,t){var n=e.children,r=Kr(e,km),o=wc(r),i=o.open,s=Kr(o,Mm);return Rl(t,function(){return{open:i}},[i]),zl.createElement($e,null,n(Z(Z({},s),{},{open:i})))});Di.displayName="Dropzone";var gc={disabled:!1,getFilesFromEvent:Y0,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Di.defaultProps=gc;Di.propTypes={children:H.exports.func,accept:H.exports.objectOf(H.exports.arrayOf(H.exports.string)),multiple:H.exports.bool,preventDropOnDocument:H.exports.bool,noClick:H.exports.bool,noKeyboard:H.exports.bool,noDrag:H.exports.bool,noDragEventsBubbling:H.exports.bool,minSize:H.exports.number,maxSize:H.exports.number,maxFiles:H.exports.number,disabled:H.exports.bool,getFilesFromEvent:H.exports.func,onFileDialogCancel:H.exports.func,onFileDialogOpen:H.exports.func,useFsAccessApi:H.exports.bool,autoFocus:H.exports.bool,onDragEnter:H.exports.func,onDragLeave:H.exports.func,onDragOver:H.exports.func,onDrop:H.exports.func,onDropAccepted:H.exports.func,onDropRejected:H.exports.func,onError:H.exports.func,validator:H.exports.func};var qo={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function wc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Z(Z({},gc),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,u=t.maxFiles,c=t.onDragEnter,a=t.onDragLeave,d=t.onDragOver,f=t.onDrop,p=t.onDropAccepted,g=t.onDropRejected,_=t.onFileDialogCancel,w=t.onFileDialogOpen,b=t.useFsAccessApi,I=t.autoFocus,ne=t.preventDropOnDocument,oe=t.noClick,G=t.noKeyboard,O=t.noDrag,ae=t.noDragEventsBubbling,P=t.onError,ce=t.validator,We=wt(function(){return Dm(n)},[n]),Ft=wt(function(){return Sm(n)},[n]),Vn=wt(function(){return typeof w=="function"?w:ml},[w]),Vt=wt(function(){return typeof _=="function"?_:ml},[_]),ie=Wn(null),he=Wn(null),Ac=ni(Lm,qo),Ii=Io(Ac,2),lo=Ii[0],Fe=Ii[1],vc=lo.isFocused,ki=lo.isFileDialogActive,gr=Wn(typeof window<"u"&&window.isSecureContext&&b&&Cm()),Mi=function(){!gr.current&&ki&&setTimeout(function(){if(he.current){var E=he.current.files;E.length||(Fe({type:"closeDialog"}),Vt())}},300)};mn(function(){return window.addEventListener("focus",Mi,!1),function(){window.removeEventListener("focus",Mi,!1)}},[he,ki,Vt,gr]);var on=Wn([]),Ti=function(E){ie.current&&ie.current.contains(E.target)||(E.preventDefault(),on.current=[])};mn(function(){return ne&&(document.addEventListener("dragover",pl,!1),document.addEventListener("drop",Ti,!1)),function(){ne&&(document.removeEventListener("dragover",pl),document.removeEventListener("drop",Ti))}},[ie,ne]),mn(function(){return!r&&I&&ie.current&&ie.current.focus(),function(){}},[ie,I,r]);var Ut=Se(function(y){P?P(y):console.error(y)},[P]),Ri=Se(function(y){y.preventDefault(),y.persist(),br(y),on.current=[].concat(Nm(on.current),[y.target]),vr(y)&&Promise.resolve(o(y)).then(function(E){if(!(Zr(y)&&!ae)){var X=E.length,ue=X>0&&Am({files:E,accept:We,minSize:s,maxSize:i,multiple:l,maxFiles:u,validator:ce}),Ie=X>0&&!ue;Fe({isDragAccept:ue,isDragReject:Ie,isDragActive:!0,type:"setDraggedFiles"}),c&&c(y)}}).catch(function(E){return Ut(E)})},[o,c,Ut,ae,We,s,i,l,u,ce]),Ni=Se(function(y){y.preventDefault(),y.persist(),br(y);var E=vr(y);if(E&&y.dataTransfer)try{y.dataTransfer.dropEffect="copy"}catch{}return E&&d&&d(y),!1},[d,ae]),Oi=Se(function(y){y.preventDefault(),y.persist(),br(y);var E=on.current.filter(function(ue){return ie.current&&ie.current.contains(ue)}),X=E.indexOf(y.target);X!==-1&&E.splice(X,1),on.current=E,!(E.length>0)&&(Fe({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),vr(y)&&a&&a(y))},[ie,a,ae]),wr=Se(function(y,E){var X=[],ue=[];y.forEach(function(Ie){var Un=fc(Ie,We),an=Io(Un,2),co=an[0],uo=an[1],fo=dc(Ie,s,i),Ar=Io(fo,2),po=Ar[0],ho=Ar[1],mo=ce?ce(Ie):null;if(co&&po&&!mo)X.push(Ie);else{var go=[uo,ho];mo&&(go=go.concat(mo)),ue.push({file:Ie,errors:go.filter(function(Sc){return Sc})})}}),(!l&&X.length>1||l&&u>=1&&X.length>u)&&(X.forEach(function(Ie){ue.push({file:Ie,errors:[bm]})}),X.splice(0)),Fe({acceptedFiles:X,fileRejections:ue,type:"setFiles"}),f&&f(X,ue,E),ue.length>0&&g&&g(ue,E),X.length>0&&p&&p(X,E)},[Fe,l,We,s,i,u,f,p,g,ce]),_r=Se(function(y){y.preventDefault(),y.persist(),br(y),on.current=[],vr(y)&&Promise.resolve(o(y)).then(function(E){Zr(y)&&!ae||wr(E,y)}).catch(function(E){return Ut(E)}),Fe({type:"reset"})},[o,wr,Ut,ae]),sn=Se(function(){if(gr.current){Fe({type:"openDialog"}),Vn();var y={multiple:l,types:Ft};window.showOpenFilePicker(y).then(function(E){return o(E)}).then(function(E){wr(E,null),Fe({type:"closeDialog"})}).catch(function(E){Fm(E)?(Vt(E),Fe({type:"closeDialog"})):Im(E)?(gr.current=!1,he.current?(he.current.value=null,he.current.click()):Ut(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):Ut(E)});return}he.current&&(Fe({type:"openDialog"}),Vn(),he.current.value=null,he.current.click())},[Fe,Vn,Vt,b,wr,Ut,Ft,l]),Bi=Se(function(y){!ie.current||!ie.current.isEqualNode(y.target)||(y.key===" "||y.key==="Enter"||y.keyCode===32||y.keyCode===13)&&(y.preventDefault(),sn())},[ie,sn]),Pi=Se(function(){Fe({type:"focus"})},[]),Hi=Se(function(){Fe({type:"blur"})},[]),ji=Se(function(){oe||(Em()?setTimeout(sn,0):sn())},[oe,sn]),ln=function(E){return r?null:E},ao=function(E){return G?null:ln(E)},yr=function(E){return O?null:ln(E)},br=function(E){ae&&E.stopPropagation()},xc=wt(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=y.refKey,X=E===void 0?"ref":E,ue=y.role,Ie=y.onKeyDown,Un=y.onFocus,an=y.onBlur,co=y.onClick,uo=y.onDragEnter,fo=y.onDragOver,Ar=y.onDragLeave,po=y.onDrop,ho=Kr(y,Tm);return Z(Z(Xo({onKeyDown:ao(Ye(Ie,Bi)),onFocus:ao(Ye(Un,Pi)),onBlur:ao(Ye(an,Hi)),onClick:ln(Ye(co,ji)),onDragEnter:yr(Ye(uo,Ri)),onDragOver:yr(Ye(fo,Ni)),onDragLeave:yr(Ye(Ar,Oi)),onDrop:yr(Ye(po,_r)),role:typeof ue=="string"&&ue!==""?ue:"presentation"},X,ie),!r&&!G?{tabIndex:0}:{}),ho)}},[ie,Bi,Pi,Hi,ji,Ri,Ni,Oi,_r,G,O,r]),Ec=Se(function(y){y.stopPropagation()},[]),Cc=wt(function(){return function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=y.refKey,X=E===void 0?"ref":E,ue=y.onChange,Ie=y.onClick,Un=Kr(y,Rm),an=Xo({accept:We,multiple:l,type:"file",style:{display:"none"},onChange:ln(Ye(ue,_r)),onClick:ln(Ye(Ie,Ec)),tabIndex:-1},X,he);return Z(Z({},an),Un)}},[he,n,l,_r,r]);return Z(Z({},lo),{},{isFocused:vc&&!r,getRootProps:xc,getInputProps:Cc,rootRef:ie,inputRef:he,open:ln(sn)})}function Lm(e,t){switch(t.type){case"focus":return Z(Z({},e),{},{isFocused:!0});case"blur":return Z(Z({},e),{},{isFocused:!1});case"openDialog":return Z(Z({},qo),{},{isFileDialogActive:!0});case"closeDialog":return Z(Z({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Z(Z({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Z(Z({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return Z({},qo);default:return e}}function ml(){}const zm="data:image/jpeg;base64,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",Wm="data:image/jpeg;base64,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";var Gm=0;function et(e,t,n,r,o,i){var s,l,u={};for(l in t)l=="ref"?s=t[l]:u[l]=t[l];var c={type:e,props:u,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Gm,__source:o,__self:i};if(typeof e=="function"&&(s=e.defaultProps))for(l in s)u[l]===void 0&&(u[l]=s[l]);return A.vnode&&A.vnode(c),c}function Qm({onCancel:e,onSubmit:t,onFileDrop:n}){const r=Se(c=>{const a=c[0];n(a,a.path)},[]),{getRootProps:o,getInputProps:i,open:s,acceptedFiles:l}=wc({onDrop:r,accept:{"text/csv":[".csv"]},maxFiles:1,noClick:!0,noKeyboard:!0,multiple:!1,maxSize:35e5}),u=l.map(c=>et("p",{children:c.path},c.path));return et("div",{...o(),children:[et("input",{...i(),name:"file"}),et("img",{src:u.length?Wm:zm,className:"mx-auto mb-2"}),u.length?et($e,{children:[u,et("button",{type:"reset",onClick:e,className:"mt-6 mr-6 rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:"Cancel"}),et("button",{type:"button",onClick:t,className:"rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Import file"})]}):et($e,{children:[et("p",{className:"mb-6 text-gray-500",children:"Drag a file to upload"}),et("button",{type:"button",onClick:s,className:"rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Browse"})]})]})}class Ze extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["FileSelection","Validating","ValidationError","ImportInProgress","ImportComplete","UnexpectedError"]}}class _c extends le{constructor(t){super(),this.View=t}}class me extends te{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetView","CreateImport","FetchImports"]}}function Zm(){return[new _c(new Ze(0,[])),qt()]}function Km(e,t,n,r){let o,i,s;return n.tag===1?n.fields[0].tag===1?[r,Do(Vr(Fr,n.fields[0].fields[0].tag===1?ve(new me(0,[new Ze(5,[n.fields[0].fields[0].fields[0]])])):n.fields[0].fields[0].fields[0].tag===1?ve(new me(0,[new Ze(2,[n.fields[0].fields[0].fields[0].fields[0]])])):n.fields[0].fields[0].fields[0].fields[0].ActiveImport==null?ve(new me(0,[new Ze(5,["New import not active"])])):(o=n.fields[0].fields[0].fields[0].fields[0].ActiveImport,S([new me(0,[new Ze(3,[o])]),new me(2,[new vt(0,[void 0])])]))))]:[r,Do(S([Fr(new me(0,[new Ze(1,[])])),qa(l=>{Qo(l)},l=>s0(t,l),n.fields[0].fields[0],l=>new me(1,[new vt(1,[l])]))]))]:n.tag===2?n.fields[0].tag===1?[r,Do(Vr(Fr,(i=r.View,i.tag===3?n.fields[0].fields[0].ActiveImport!=null?(s=n.fields[0].fields[0].ActiveImport,S([new me(0,[new Ze(3,[s])]),new me(2,[new vt(0,[void 0])])])):ve(new me(0,[new Ze(4,[_d(l=>l.ImportId===i.fields[0].ImportId,n.fields[0].fields[0].ImportHistory)])])):n.fields[0].fields[0].ActiveImport!=null?(s=n.fields[0].fields[0].ActiveImport,S([new me(0,[new Ze(3,[s])]),new me(2,[new vt(0,[void 0])])])):ve(new me(0,[new Ze(0,[])])))))]:(Qo(F.Delay(()=>F.Bind(up(1e4),()=>(e(),F.Zero())))),[r,qt()]):[new _c(n.fields[0]),qt()]}const yc=z0,gl=W0,Jm=G0;function $m(e){let t;const n=e.dispatch,r=$n(!1),o=r[1],i=$n(0),s=i[0]|0,l=$n(new FormData),u=l[0];return m("form",K(S([["key",s],(t=lt(M(()=>se(k(m(Qm,{onCancel:()=>{i[1](s+1),l[1](new FormData)},onSubmit:()=>{o(!0)},onFileDrop:(c,a)=>{u.set("file",c,a)}})),M(()=>{let c,a,d,f,p,g,_;return r[0]?k((c=S([m("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75"}),m("div",K(S([["className","fixed inset-0 z-10 overflow-y-auto"],(a=[m("div",K(S([["className","flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"],(d=[m("div",K(S([["className","relative overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6"],(f=[(p=S([m("div",K(S([["className","mt-3 text-center sm:mt-5 space-y-6"],(g=[m("img",{src:yc,className:"mx-auto"}),m("p",{children:["Please check and confirm this file is being uploaded to the correct account."]}),m("p",{children:["Uploading files to the wrong account can cause a security breach."]})],["children",C.Children.toArray(Array.from(g))])]))),m("div",K(S([["className","mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3"],(_=[m("button",{type:"button",className:"inline-flex w-full justify-center rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 sm:col-start-2",children:"I confirm",onClick:w=>{n(new me(1,[new vt(0,[u])]))}}),m("button",{type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:col-start-1 sm:mt-0",children:"Cancel",onClick:w=>{o(!1)}})],["children",C.Children.toArray(Array.from(_))])])))]),m("div",{children:C.Children.toArray(Array.from(p))}))],["children",C.Children.toArray(Array.from(f))])])))],["children",C.Children.toArray(Array.from(d))])])))],["children",C.Children.toArray(Array.from(a))])])))]),m("div",{children:C.Children.toArray(Array.from(c))}))):ba()})))),["children",C.Children.toArray(Array.from(t))])])))}function Xm(e){let t,n,r,o,i,s,l,u;const c=e.onDone,a=e.backendService,d=e.dispatchFetchImports,f=e.accountImports,p=e.accountId,g=rc(Zm(),(b,I)=>Km(d,a,b,I)),_=g[1];nc(()=>{_(new me(2,[new vt(1,[f])]))},[f]);const w=S([m("div",K(S([["className","space-y-6"],(t=[(n=S([`Upload a CSV file with required information (first name, last name, email) to create new partial profiles.
|
|
27
27
|
The file will be validated `,m("b",{children:["before"]}),` creating the profiles.
|
|
28
28
|
If validation fails, the file will be rejected, and no profiles created.
|
|
29
|
-
You'll get an error report to fix the information before re-uploading.`]),m("p",{children:
|
|
30
|
-
`,
|
|
29
|
+
You'll get an error report to fix the information before re-uploading.`]),m("p",{children:C.Children.toArray(Array.from(n))})),m("p",{children:"This feature doesn't update existing profiles in the account."}),(r=S([m("span",{children:["Not sure how to get started?"]}),m("ul",K(S([["className","ml-6 list-disc list-outside"],(o=[(i=S([m("a",{className:"cursor-pointer font-bold",children:"Download",target:"_blank",rel:"noreferrer",href:"https://docs.google.com/spreadsheets/d/1BGRolDj6dBKf4ZyzACln60DhBY2dHxZdXdwtm0uxK2M"})," a blank CSV template"]),m("li",{children:C.Children.toArray(Array.from(i))})),(s=S([m("a",{className:"cursor-pointer font-bold",children:"Read the guide",target:"_blank",rel:"noreferrer",href:"https://coda.io/d/Network-Partners_duJlEDaJduS/How-to-import-existing-employees_suumX#_lu5Lq"})," to using the CSV importer"]),m("li",{children:C.Children.toArray(Array.from(s))}))],["children",C.Children.toArray(Array.from(o))])])))]),m("div",{children:C.Children.toArray(Array.from(r))}))],["children",C.Children.toArray(Array.from(t))])]))),m("div",K(S([["className","px-8 mt-10"],(l=[m("div",K(S([["className","border border-gray-300 w-full py-12 rounded text-center bg-white"],(u=lt(M(()=>{let b,I,ne,oe;const G=g[0].View;switch(G.tag){case 1:return k((b=S([m("img",{src:gl,className:"mx-auto animate-spin"}),m("p",{className:"mt-2",children:"Validating data"})]),m("div",{children:C.Children.toArray(Array.from(b))})));case 2:{const O=G.fields[0];return k((I=lt(M(()=>{const ae=ce=>{let We,Ft;const Vn=St(`\r
|
|
30
|
+
`,ma(ro(ve(ve("Row,Column,Error")),Vr(Vt=>Vr(ie=>St(",",xn(he=>`"${he}"`,xn(he=>qf(he,'"','""'),[Rt(Vt.RowId),ie.Column,ie.Message],null),null)),Vt.FieldErrors),ce))));return m("p",K(S([["className","mt-6"],(We=["Download the full error report ",m("a",{className:"font-bold cursor-pointer",href:(Ft=new Blob([Vn],{type:"text/csv;charset=utf-8;"}),window.URL.createObjectURL(Ft)),download:`${p}_validation_errors.csv`,children:"here"}),"."],["children",C.Children.toArray(Array.from(We))])])))};let P;if(O.tag===1)P=m("p",{children:["Invalid file name"]});else if(O.tag===2)P=m("p",{children:["CSV exceeds max row limit"]});else if(O.tag===3)P=m("p",{children:[O.fields[0]]});else if(O.tag===4)P=m("p",{children:["CSV does not contain any data"]});else if(O.tag===5)P=m("p",{children:["File not uploaded, ensure a file is selected"]});else if(O.tag===6)P=m("p",{children:["Only a single file is allowed"]});else if(O.tag===8)P=m("p",{children:["Unknown account"]});else if(O.tag===7)if(hd(O.fields[0])<=10){const ce=lt(M(()=>se(k(m("p",{className:"mb-3",children:"The file contains the following validation error(s)"})),M(()=>se(va(We=>Ne(Ft=>m("li",{children:[`Row ${We.RowId}, Column ${Ft.Column}: ${Ft.Message}`]}),We.FieldErrors),O.fields[0]),M(()=>k(ae(O.fields[0]))))))));P=m("div",{children:C.Children.toArray(Array.from(ce))})}else{const ce=S([m("p",{children:["The file contains more than 10 validation errors"]}),ae(O.fields[0])]);P=m("div",{children:C.Children.toArray(Array.from(ce))})}else P=m("p",{children:["Invalid file type"]});return se(k(m("img",{src:yc,className:"mx-auto"})),M(()=>se(k(m("div",{className:"mt-2",children:C.Children.toArray([P])})),M(()=>k(m("button",{type:"button",children:"Upload another file",className:"mt-8 rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",onClick:ce=>{_(new me(0,[new Ze(0,[])]))}}))))))})),m("div",{children:C.Children.toArray(Array.from(I))})))}case 3:{const O=G.fields[0];return k((ne=S([m("img",{src:gl,className:"mx-auto animate-spin"}),m("p",{className:"mt-2 mb-6",children:"Creating profiles"}),m("p",{children:[`Creator: ${O.User}`]}),m("p",{children:[`Filename: ${O.Filename}`]}),m("p",{children:[`Rows processed: ${O.CompletedSuccessfully+O.CompletedFailed}`]}),m("p",{children:[`Total rows: ${O.NumberOfRecords}`]})]),m("div",{children:C.Children.toArray(Array.from(ne))})))}case 4:{const O=G.fields[0];return k((oe=S([m("img",{src:Jm,className:"mx-auto"}),m("p",{className:"mt-2 mb-6",children:`${O.Succeeded} Profiles successfully created`}),m(oc,{importId:O.ImportId,fetchImport:ae=>Xa(a,ae),onDone:c})]),m("div",{children:C.Children.toArray(Array.from(oe))})))}case 5:return k(sr(G.fields[0]));default:return k(m($m,{dispatch:_}))}})),["children",C.Children.toArray(Array.from(u))])])))],["children",C.Children.toArray(Array.from(l))])])))]);return m("div",{children:C.Children.toArray(Array.from(w))})}function Fi(){return(Fi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qm(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var i,s,l={},u=Object.keys(r);for(s=0;s<u.length;s++)o.indexOf(i=u[s])>=0||(l[i]=r[i]);return l}(e,["context","children"]);return ti(t,n)}function Ym(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=m(qm,Fi({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],i={},s=0,l=n.attributes,u=n.childNodes;for(s=l.length;s--;)l[s].name!=="slot"&&(i[l[s].name]=l[s].value,i[bc(l[s].name)]=l[s].value);for(s=u.length;s--;){var c=t(u[s],null),a=u[s].slot;a?i[a]=m(wl,{name:a},c):o[s]=c}var d=r?m(wl,null,o):o;return m(r||n.nodeName.toLowerCase(),i,d)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?ei:Nt)(this._vdom,this._root)}function bc(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function eg(e,t,n){if(this._vdom){var r={};r[e]=n=n==null?void 0:n,r[bc(e)]=n,this._vdom=ti(this._vdom,r),Nt(this._vdom,this._root)}}function tg(){Nt(this._vdom=null,this._root)}function wl(e,t){var n=this;return m("slot",Fi({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function ng(e,t,n,r){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=r&&r.shadow?i.attachShadow({mode:"open"}):i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=Ym,o.prototype.attributeChangedCallback=eg,o.prototype.disconnectedCallback=tg,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom.props[i]},set:function(s){this._vdom?this.attributeChangedCallback(i,null,s):(this._props||(this._props={}),this._props[i]=s,this.connectedCallback());var l=typeof s;s!=null&&l!=="string"&&l!=="boolean"&&l!=="number"||this.setAttribute(i,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function rg(e,t){ng(e,t,void 0,{shadow:!0})}function og(e){let t;const n=o0(e.backendUrl,e.accountId,e.accessToken),r=rc(P0,(l,u)=>H0(()=>i0(n),l,u)),o=r[0],i=r[1],s=S([m("style",{children:[V0]}),m(U0,{currentTab:o.CurrentTab,setCurrentTab:l=>{i(new Xn(0,[l]))}}),m("div",K(S([["className","mt-4"],(t=lt(M(()=>{const l=o.AccountImports;let u,c,a,d;switch(l.tag===1?u=0:l.tag===3?(u=1,c=l.fields[0]):l.tag===2?l.fields[0].tag===0?(u=3,d=l.fields[0].fields[0]):(u=2,a=l.fields[0].fields[0]):u=0,u){case 0:return k(m("div",{children:["Please wait..."]}));case 1:return k(sr(c.message));case 2:return k(sr(a));case 3:return o.CurrentTab.tag===1?k(m(L0,{accountImports:d,fetchImport:f=>Xa(n,f)})):k(m(Xm,{accountId:e.accountId,accountImports:d,dispatchFetchImports:()=>{i(new Xn(1,[new vt(0,[void 0])]))},backendService:n,onDone:()=>{i(new Xn(0,[new Gr(1,[])]))}}))}})),["children",C.Children.toArray(Array.from(t))])])))]);return m("div",{children:C.Children.toArray(Array.from(s))})}function ig(){rg(e=>m(og,e),"superhero-profile-directory-app")}ig();
|