+1
-1
README.md
+1
-1
README.md
-1
docs/assets/index-B10r7bzq.css
-1
docs/assets/index-B10r7bzq.css
···
1
-
body{font-family:system-ui,sans-serif;background:#f8fafc;color:#111827}button{cursor:pointer}
+1
docs/assets/index-CHyLmBcE.css
+1
docs/assets/index-CHyLmBcE.css
···
1
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;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}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.visible{visibility:visible}.fixed{position:fixed}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.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))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.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-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #ec4899 var(--tw-gradient-from-position);--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-purple-50{--tw-gradient-to: #faf5ff var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.to-red-500{--tw-gradient-to: #ef4444 var(--tw-gradient-to-position)}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-20{padding-bottom:5rem}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.opacity-60{opacity:.6}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}body{font-family:system-ui,sans-serif;background:#f8fafc;color:#111827}button{cursor:pointer}.hover\:border-blue-400:hover{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-orange-600:hover{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.hover\:bg-yellow-600:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.hover\:from-blue-600:hover{--tw-gradient-from: #2563eb var(--tw-gradient-from-position);--tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-transparent:focus{border-color:transparent}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:inline{display:inline}}
-55
docs/assets/index-D6BeJ1tu.js
-55
docs/assets/index-D6BeJ1tu.js
···
1
-
var Ld=Object.defineProperty;var wa=e=>{throw TypeError(e)};var jd=(e,t,n)=>t in e?Ld(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ue=(e,t,n)=>jd(e,typeof t!="symbol"?t+"":t,n),_a=(e,t,n)=>t.has(e)||wa("Cannot "+n);var cn=(e,t,n)=>(_a(e,t,"read from private field"),n?n.call(e):t.get(e)),fn=(e,t,n)=>t.has(e)?wa("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),dn=(e,t,n,r)=>(_a(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var vi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ou(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Du={exports:{}},xo={},Lu={exports:{}},ie={};/**
2
-
* @license React
3
-
* react.production.min.js
4
-
*
5
-
* Copyright (c) Facebook, Inc. and its affiliates.
6
-
*
7
-
* This source code is licensed under the MIT license found in the
8
-
* LICENSE file in the root directory of this source tree.
9
-
*/var ci=Symbol.for("react.element"),Fd=Symbol.for("react.portal"),Ud=Symbol.for("react.fragment"),Md=Symbol.for("react.strict_mode"),Bd=Symbol.for("react.profiler"),bd=Symbol.for("react.provider"),$d=Symbol.for("react.context"),Wd=Symbol.for("react.forward_ref"),Hd=Symbol.for("react.suspense"),Vd=Symbol.for("react.memo"),Zd=Symbol.for("react.lazy"),ka=Symbol.iterator;function Gd(e){return e===null||typeof e!="object"?null:(e=ka&&e[ka]||e["@@iterator"],typeof e=="function"?e:null)}var ju={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fu=Object.assign,Uu={};function lr(e,t,n){this.props=e,this.context=t,this.refs=Uu,this.updater=n||ju}lr.prototype.isReactComponent={};lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Mu(){}Mu.prototype=lr.prototype;function yl(e,t,n){this.props=e,this.context=t,this.refs=Uu,this.updater=n||ju}var wl=yl.prototype=new Mu;wl.constructor=yl;Fu(wl,lr.prototype);wl.isPureReactComponent=!0;var Sa=Array.isArray,Bu=Object.prototype.hasOwnProperty,_l={current:null},bu={key:!0,ref:!0,__self:!0,__source:!0};function $u(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Bu.call(t,r)&&!bu.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),d=0;d<l;d++)a[d]=arguments[d+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:ci,type:e,key:o,ref:s,props:i,_owner:_l.current}}function Kd(e,t){return{$$typeof:ci,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function kl(e){return typeof e=="object"&&e!==null&&e.$$typeof===ci}function Qd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var xa=/\/+/g;function Zo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Qd(""+e.key):t.toString(36)}function Fi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ci:case Fd:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Zo(s,0):r,Sa(i)?(n="",e!=null&&(n=e.replace(xa,"$&/")+"/"),Fi(i,t,n,"",function(d){return d})):i!=null&&(kl(i)&&(i=Kd(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(xa,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Sa(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+Zo(o,l);s+=Fi(o,t,n,a,i)}else if(a=Gd(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+Zo(o,l++),s+=Fi(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function yi(e,t,n){if(e==null)return e;var r=[],i=0;return Fi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Xd(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var be={current:null},Ui={transition:null},Yd={ReactCurrentDispatcher:be,ReactCurrentBatchConfig:Ui,ReactCurrentOwner:_l};function Wu(){throw Error("act(...) is not supported in production builds of React.")}ie.Children={map:yi,forEach:function(e,t,n){yi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return yi(e,function(){t++}),t},toArray:function(e){return yi(e,function(t){return t})||[]},only:function(e){if(!kl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=lr;ie.Fragment=Ud;ie.Profiler=Bd;ie.PureComponent=yl;ie.StrictMode=Md;ie.Suspense=Hd;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yd;ie.act=Wu;ie.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Fu({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=_l.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Bu.call(t,a)&&!bu.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var d=0;d<a;d++)l[d]=arguments[d+2];r.children=l}return{$$typeof:ci,type:e.type,key:i,ref:o,props:r,_owner:s}};ie.createContext=function(e){return e={$$typeof:$d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:bd,_context:e},e.Consumer=e};ie.createElement=$u;ie.createFactory=function(e){var t=$u.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:Wd,render:e}};ie.isValidElement=kl;ie.lazy=function(e){return{$$typeof:Zd,_payload:{_status:-1,_result:e},_init:Xd}};ie.memo=function(e,t){return{$$typeof:Vd,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=Ui.transition;Ui.transition={};try{e()}finally{Ui.transition=t}};ie.unstable_act=Wu;ie.useCallback=function(e,t){return be.current.useCallback(e,t)};ie.useContext=function(e){return be.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return be.current.useDeferredValue(e)};ie.useEffect=function(e,t){return be.current.useEffect(e,t)};ie.useId=function(){return be.current.useId()};ie.useImperativeHandle=function(e,t,n){return be.current.useImperativeHandle(e,t,n)};ie.useInsertionEffect=function(e,t){return be.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return be.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return be.current.useMemo(e,t)};ie.useReducer=function(e,t,n){return be.current.useReducer(e,t,n)};ie.useRef=function(e){return be.current.useRef(e)};ie.useState=function(e){return be.current.useState(e)};ie.useSyncExternalStore=function(e,t,n){return be.current.useSyncExternalStore(e,t,n)};ie.useTransition=function(){return be.current.useTransition()};ie.version="18.3.1";Lu.exports=ie;var It=Lu.exports;const Jd=Ou(It);/**
10
-
* @license React
11
-
* react-jsx-runtime.production.min.js
12
-
*
13
-
* Copyright (c) Facebook, Inc. and its affiliates.
14
-
*
15
-
* This source code is licensed under the MIT license found in the
16
-
* LICENSE file in the root directory of this source tree.
17
-
*/var qd=It,eh=Symbol.for("react.element"),th=Symbol.for("react.fragment"),nh=Object.prototype.hasOwnProperty,rh=qd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ih={key:!0,ref:!0,__self:!0,__source:!0};function Hu(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)nh.call(t,r)&&!ih.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:eh,type:e,key:o,ref:s,props:i,_owner:rh.current}}xo.Fragment=th;xo.jsx=Hu;xo.jsxs=Hu;Du.exports=xo;var ee=Du.exports,ks={},Vu={exports:{}},et={},Zu={exports:{}},Gu={};/**
18
-
* @license React
19
-
* scheduler.production.min.js
20
-
*
21
-
* Copyright (c) Facebook, Inc. and its affiliates.
22
-
*
23
-
* This source code is licensed under the MIT license found in the
24
-
* LICENSE file in the root directory of this source tree.
25
-
*/(function(e){function t($,M){var G=$.length;$.push(M);e:for(;0<G;){var O=G-1>>>1,A=$[O];if(0<i(A,M))$[O]=M,$[G]=A,G=O;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var M=$[0],G=$.pop();if(G!==M){$[0]=G;e:for(var O=0,A=$.length,te=A>>>1;O<te;){var Y=2*(O+1)-1,Q=$[Y],fe=Y+1,Se=$[fe];if(0>i(Q,G))fe<A&&0>i(Se,Q)?($[O]=Se,$[fe]=G,O=fe):($[O]=Q,$[Y]=G,O=Y);else if(fe<A&&0>i(Se,G))$[O]=Se,$[fe]=G,O=fe;else break e}}return M}function i($,M){var G=$.sortIndex-M.sortIndex;return G!==0?G:$.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],d=[],_=1,v=null,y=3,p=!1,w=!1,h=!1,k=typeof setTimeout=="function"?setTimeout:null,u=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g($){for(var M=n(d);M!==null;){if(M.callback===null)r(d);else if(M.startTime<=$)r(d),M.sortIndex=M.expirationTime,t(a,M);else break;M=n(d)}}function E($){if(h=!1,g($),!w)if(n(a)!==null)w=!0,ne(x);else{var M=n(d);M!==null&&H(E,M.startTime-$)}}function x($,M){w=!1,h&&(h=!1,u(I),I=-1),p=!0;var G=y;try{for(g(M),v=n(a);v!==null&&(!(v.expirationTime>M)||$&&!X());){var O=v.callback;if(typeof O=="function"){v.callback=null,y=v.priorityLevel;var A=O(v.expirationTime<=M);M=e.unstable_now(),typeof A=="function"?v.callback=A:v===n(a)&&r(a),g(M)}else r(a);v=n(a)}if(v!==null)var te=!0;else{var Y=n(d);Y!==null&&H(E,Y.startTime-M),te=!1}return te}finally{v=null,y=G,p=!1}}var N=!1,T=null,I=-1,R=5,L=-1;function X(){return!(e.unstable_now()-L<R)}function z(){if(T!==null){var $=e.unstable_now();L=$;var M=!0;try{M=T(!0,$)}finally{M?j():(N=!1,T=null)}}else N=!1}var j;if(typeof c=="function")j=function(){c(z)};else if(typeof MessageChannel<"u"){var m=new MessageChannel,U=m.port2;m.port1.onmessage=z,j=function(){U.postMessage(null)}}else j=function(){k(z,0)};function ne($){T=$,N||(N=!0,j())}function H($,M){I=k(function(){$(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,ne(x))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function($){switch(y){case 1:case 2:case 3:var M=3;break;default:M=y}var G=y;y=M;try{return $()}finally{y=G}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,M){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var G=y;y=$;try{return M()}finally{y=G}},e.unstable_scheduleCallback=function($,M,G){var O=e.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?O+G:O):G=O,$){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=G+A,$={id:_++,callback:M,priorityLevel:$,startTime:G,expirationTime:A,sortIndex:-1},G>O?($.sortIndex=G,t(d,$),n(a)===null&&$===n(d)&&(h?(u(I),I=-1):h=!0,H(E,G-O))):($.sortIndex=A,t(a,$),w||p||(w=!0,ne(x))),$},e.unstable_shouldYield=X,e.unstable_wrapCallback=function($){var M=y;return function(){var G=y;y=M;try{return $.apply(this,arguments)}finally{y=G}}}})(Gu);Zu.exports=Gu;var oh=Zu.exports;/**
26
-
* @license React
27
-
* react-dom.production.min.js
28
-
*
29
-
* Copyright (c) Facebook, Inc. and its affiliates.
30
-
*
31
-
* This source code is licensed under the MIT license found in the
32
-
* LICENSE file in the root directory of this source tree.
33
-
*/var sh=It,Je=oh;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ku=new Set,Br={};function Tn(e,t){er(e,t),er(e+"Capture",t)}function er(e,t){for(Br[e]=t,e=0;e<t.length;e++)Ku.add(t[e])}var Lt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ss=Object.prototype.hasOwnProperty,lh=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ea={},Ca={};function ah(e){return Ss.call(Ca,e)?!0:Ss.call(Ea,e)?!1:lh.test(e)?Ca[e]=!0:(Ea[e]=!0,!1)}function uh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ch(e,t,n,r){if(t===null||typeof t>"u"||uh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $e(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new $e(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){De[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sl=/[\-:]([a-z])/g;function xl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Sl,xl);De[t]=new $e(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Sl,xl);De[t]=new $e(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Sl,xl);De[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function El(e,t,n,r){var i=De.hasOwnProperty(t)?De[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ch(t,n,i,r)&&(n=null),r||i===null?ah(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var bt=sh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,wi=Symbol.for("react.element"),An=Symbol.for("react.portal"),On=Symbol.for("react.fragment"),Cl=Symbol.for("react.strict_mode"),xs=Symbol.for("react.profiler"),Qu=Symbol.for("react.provider"),Xu=Symbol.for("react.context"),zl=Symbol.for("react.forward_ref"),Es=Symbol.for("react.suspense"),Cs=Symbol.for("react.suspense_list"),Tl=Symbol.for("react.memo"),Ht=Symbol.for("react.lazy"),Yu=Symbol.for("react.offscreen"),za=Symbol.iterator;function pr(e){return e===null||typeof e!="object"?null:(e=za&&e[za]||e["@@iterator"],typeof e=="function"?e:null)}var _e=Object.assign,Go;function Cr(e){if(Go===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Go=t&&t[1]||""}return`
34
-
`+Go+e}var Ko=!1;function Qo(e,t){if(!e||Ko)return"";Ko=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var i=d.stack.split(`
35
-
`),o=r.stack.split(`
36
-
`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var a=`
37
-
`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Ko=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cr(e):""}function fh(e){switch(e.tag){case 5:return Cr(e.type);case 16:return Cr("Lazy");case 13:return Cr("Suspense");case 19:return Cr("SuspenseList");case 0:case 2:case 15:return e=Qo(e.type,!1),e;case 11:return e=Qo(e.type.render,!1),e;case 1:return e=Qo(e.type,!0),e;default:return""}}function zs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case On:return"Fragment";case An:return"Portal";case xs:return"Profiler";case Cl:return"StrictMode";case Es:return"Suspense";case Cs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xu:return(e.displayName||"Context")+".Consumer";case Qu:return(e._context.displayName||"Context")+".Provider";case zl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Tl:return t=e.displayName||null,t!==null?t:zs(e.type)||"Memo";case Ht:t=e._payload,e=e._init;try{return zs(e(t))}catch{}}return null}function dh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return zs(t);case 8:return t===Cl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ju(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hh(e){var t=Ju(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _i(e){e._valueTracker||(e._valueTracker=hh(e))}function qu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ju(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ts(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ta(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ec(e,t){t=t.checked,t!=null&&El(e,"checked",t,!1)}function Ns(e,t){ec(e,t);var n=on(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Is(e,t.type,n):t.hasOwnProperty("defaultValue")&&Is(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Na(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Is(e,t,n){(t!=="number"||Xi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var zr=Array.isArray;function Zn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+on(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ps(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return _e({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ia(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(zr(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:on(n)}}function tc(e,t){var n=on(t.value),r=on(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Pa(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function nc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Rs(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?nc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ki,rc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ki=ki||document.createElement("div"),ki.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function br(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ir={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ph=["Webkit","ms","Moz","O"];Object.keys(Ir).forEach(function(e){ph.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ir[t]=Ir[e]})});function ic(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ir.hasOwnProperty(e)&&Ir[e]?(""+t).trim():t+"px"}function oc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ic(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var mh=_e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function As(e,t){if(t){if(mh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function Os(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ds=null;function Nl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ls=null,Gn=null,Kn=null;function Ra(e){if(e=hi(e)){if(typeof Ls!="function")throw Error(V(280));var t=e.stateNode;t&&(t=No(t),Ls(e.stateNode,e.type,t))}}function sc(e){Gn?Kn?Kn.push(e):Kn=[e]:Gn=e}function lc(){if(Gn){var e=Gn,t=Kn;if(Kn=Gn=null,Ra(e),t)for(e=0;e<t.length;e++)Ra(t[e])}}function ac(e,t){return e(t)}function uc(){}var Xo=!1;function cc(e,t,n){if(Xo)return e(t,n);Xo=!0;try{return ac(e,t,n)}finally{Xo=!1,(Gn!==null||Kn!==null)&&(uc(),lc())}}function $r(e,t){var n=e.stateNode;if(n===null)return null;var r=No(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(V(231,t,typeof n));return n}var js=!1;if(Lt)try{var mr={};Object.defineProperty(mr,"passive",{get:function(){js=!0}}),window.addEventListener("test",mr,mr),window.removeEventListener("test",mr,mr)}catch{js=!1}function gh(e,t,n,r,i,o,s,l,a){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(_){this.onError(_)}}var Pr=!1,Yi=null,Ji=!1,Fs=null,vh={onError:function(e){Pr=!0,Yi=e}};function yh(e,t,n,r,i,o,s,l,a){Pr=!1,Yi=null,gh.apply(vh,arguments)}function wh(e,t,n,r,i,o,s,l,a){if(yh.apply(this,arguments),Pr){if(Pr){var d=Yi;Pr=!1,Yi=null}else throw Error(V(198));Ji||(Ji=!0,Fs=d)}}function Nn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function fc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Aa(e){if(Nn(e)!==e)throw Error(V(188))}function _h(e){var t=e.alternate;if(!t){if(t=Nn(e),t===null)throw Error(V(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Aa(i),e;if(o===r)return Aa(i),t;o=o.sibling}throw Error(V(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function dc(e){return e=_h(e),e!==null?hc(e):null}function hc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hc(e);if(t!==null)return t;e=e.sibling}return null}var pc=Je.unstable_scheduleCallback,Oa=Je.unstable_cancelCallback,kh=Je.unstable_shouldYield,Sh=Je.unstable_requestPaint,Ce=Je.unstable_now,xh=Je.unstable_getCurrentPriorityLevel,Il=Je.unstable_ImmediatePriority,mc=Je.unstable_UserBlockingPriority,qi=Je.unstable_NormalPriority,Eh=Je.unstable_LowPriority,gc=Je.unstable_IdlePriority,Eo=null,Ct=null;function Ch(e){if(Ct&&typeof Ct.onCommitFiberRoot=="function")try{Ct.onCommitFiberRoot(Eo,e,void 0,(e.current.flags&128)===128)}catch{}}var mt=Math.clz32?Math.clz32:Nh,zh=Math.log,Th=Math.LN2;function Nh(e){return e>>>=0,e===0?32:31-(zh(e)/Th|0)|0}var Si=64,xi=4194304;function Tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function eo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Tr(l):(o&=s,o!==0&&(r=Tr(o)))}else s=n&~i,s!==0?r=Tr(s):o!==0&&(r=Tr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-mt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ih(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ph(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-mt(o),l=1<<s,a=i[s];a===-1?(!(l&n)||l&r)&&(i[s]=Ih(l,t)):a<=t&&(e.expiredLanes|=l),o&=~l}}function Us(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vc(){var e=Si;return Si<<=1,!(Si&4194240)&&(Si=64),e}function Yo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mt(t),e[t]=n}function Rh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-mt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Pl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-mt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var de=0;function yc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var wc,Rl,_c,kc,Sc,Ms=!1,Ei=[],Xt=null,Yt=null,Jt=null,Wr=new Map,Hr=new Map,Zt=[],Ah="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Da(e,t){switch(e){case"focusin":case"focusout":Xt=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":Jt=null;break;case"pointerover":case"pointerout":Wr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hr.delete(t.pointerId)}}function gr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=hi(t),t!==null&&Rl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Oh(e,t,n,r,i){switch(t){case"focusin":return Xt=gr(Xt,e,t,n,r,i),!0;case"dragenter":return Yt=gr(Yt,e,t,n,r,i),!0;case"mouseover":return Jt=gr(Jt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Wr.set(o,gr(Wr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Hr.set(o,gr(Hr.get(o)||null,e,t,n,r,i)),!0}return!1}function xc(e){var t=mn(e.target);if(t!==null){var n=Nn(t);if(n!==null){if(t=n.tag,t===13){if(t=fc(n),t!==null){e.blockedOn=t,Sc(e.priority,function(){_c(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ds=r,n.target.dispatchEvent(r),Ds=null}else return t=hi(n),t!==null&&Rl(t),e.blockedOn=n,!1;t.shift()}return!0}function La(e,t,n){Mi(e)&&n.delete(t)}function Dh(){Ms=!1,Xt!==null&&Mi(Xt)&&(Xt=null),Yt!==null&&Mi(Yt)&&(Yt=null),Jt!==null&&Mi(Jt)&&(Jt=null),Wr.forEach(La),Hr.forEach(La)}function vr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ms||(Ms=!0,Je.unstable_scheduleCallback(Je.unstable_NormalPriority,Dh)))}function Vr(e){function t(i){return vr(i,e)}if(0<Ei.length){vr(Ei[0],e);for(var n=1;n<Ei.length;n++){var r=Ei[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Xt!==null&&vr(Xt,e),Yt!==null&&vr(Yt,e),Jt!==null&&vr(Jt,e),Wr.forEach(t),Hr.forEach(t),n=0;n<Zt.length;n++)r=Zt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Zt.length&&(n=Zt[0],n.blockedOn===null);)xc(n),n.blockedOn===null&&Zt.shift()}var Qn=bt.ReactCurrentBatchConfig,to=!0;function Lh(e,t,n,r){var i=de,o=Qn.transition;Qn.transition=null;try{de=1,Al(e,t,n,r)}finally{de=i,Qn.transition=o}}function jh(e,t,n,r){var i=de,o=Qn.transition;Qn.transition=null;try{de=4,Al(e,t,n,r)}finally{de=i,Qn.transition=o}}function Al(e,t,n,r){if(to){var i=Bs(e,t,n,r);if(i===null)ls(e,t,r,no,n),Da(e,r);else if(Oh(i,e,t,n,r))r.stopPropagation();else if(Da(e,r),t&4&&-1<Ah.indexOf(e)){for(;i!==null;){var o=hi(i);if(o!==null&&wc(o),o=Bs(e,t,n,r),o===null&&ls(e,t,r,no,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else ls(e,t,r,null,n)}}var no=null;function Bs(e,t,n,r){if(no=null,e=Nl(r),e=mn(e),e!==null)if(t=Nn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=fc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return no=e,null}function Ec(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(xh()){case Il:return 1;case mc:return 4;case qi:case Eh:return 16;case gc:return 536870912;default:return 16}default:return 16}}var Kt=null,Ol=null,Bi=null;function Cc(){if(Bi)return Bi;var e,t=Ol,n=t.length,r,i="value"in Kt?Kt.value:Kt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Bi=i.slice(e,1<r?1-r:void 0)}function bi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ci(){return!0}function ja(){return!1}function tt(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ci:ja,this.isPropagationStopped=ja,this}return _e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ci)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ci)},persist:function(){},isPersistent:Ci}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dl=tt(ar),di=_e({},ar,{view:0,detail:0}),Fh=tt(di),Jo,qo,yr,Co=_e({},di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ll,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yr&&(yr&&e.type==="mousemove"?(Jo=e.screenX-yr.screenX,qo=e.screenY-yr.screenY):qo=Jo=0,yr=e),Jo)},movementY:function(e){return"movementY"in e?e.movementY:qo}}),Fa=tt(Co),Uh=_e({},Co,{dataTransfer:0}),Mh=tt(Uh),Bh=_e({},di,{relatedTarget:0}),es=tt(Bh),bh=_e({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),$h=tt(bh),Wh=_e({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Hh=tt(Wh),Vh=_e({},ar,{data:0}),Ua=tt(Vh),Zh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Kh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kh[e])?!!t[e]:!1}function Ll(){return Qh}var Xh=_e({},di,{key:function(e){if(e.key){var t=Zh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Gh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ll,charCode:function(e){return e.type==="keypress"?bi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Yh=tt(Xh),Jh=_e({},Co,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ma=tt(Jh),qh=_e({},di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ll}),ep=tt(qh),tp=_e({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),np=tt(tp),rp=_e({},Co,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ip=tt(rp),op=[9,13,27,32],jl=Lt&&"CompositionEvent"in window,Rr=null;Lt&&"documentMode"in document&&(Rr=document.documentMode);var sp=Lt&&"TextEvent"in window&&!Rr,zc=Lt&&(!jl||Rr&&8<Rr&&11>=Rr),Ba=" ",ba=!1;function Tc(e,t){switch(e){case"keyup":return op.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function lp(e,t){switch(e){case"compositionend":return Nc(t);case"keypress":return t.which!==32?null:(ba=!0,Ba);case"textInput":return e=t.data,e===Ba&&ba?null:e;default:return null}}function ap(e,t){if(Dn)return e==="compositionend"||!jl&&Tc(e,t)?(e=Cc(),Bi=Ol=Kt=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zc&&t.locale!=="ko"?null:t.data;default:return null}}var up={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $a(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!up[e.type]:t==="textarea"}function Ic(e,t,n,r){sc(r),t=ro(t,"onChange"),0<t.length&&(n=new Dl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ar=null,Zr=null;function cp(e){Bc(e,0)}function zo(e){var t=Fn(e);if(qu(t))return e}function fp(e,t){if(e==="change")return t}var Pc=!1;if(Lt){var ts;if(Lt){var ns="oninput"in document;if(!ns){var Wa=document.createElement("div");Wa.setAttribute("oninput","return;"),ns=typeof Wa.oninput=="function"}ts=ns}else ts=!1;Pc=ts&&(!document.documentMode||9<document.documentMode)}function Ha(){Ar&&(Ar.detachEvent("onpropertychange",Rc),Zr=Ar=null)}function Rc(e){if(e.propertyName==="value"&&zo(Zr)){var t=[];Ic(t,Zr,e,Nl(e)),cc(cp,t)}}function dp(e,t,n){e==="focusin"?(Ha(),Ar=t,Zr=n,Ar.attachEvent("onpropertychange",Rc)):e==="focusout"&&Ha()}function hp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zo(Zr)}function pp(e,t){if(e==="click")return zo(t)}function mp(e,t){if(e==="input"||e==="change")return zo(t)}function gp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var vt=typeof Object.is=="function"?Object.is:gp;function Gr(e,t){if(vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ss.call(t,i)||!vt(e[i],t[i]))return!1}return!0}function Va(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Za(e,t){var n=Va(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Va(n)}}function Ac(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ac(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Oc(){for(var e=window,t=Xi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xi(e.document)}return t}function Fl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function vp(e){var t=Oc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ac(n.ownerDocument.documentElement,n)){if(r!==null&&Fl(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Za(n,o);var s=Za(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var yp=Lt&&"documentMode"in document&&11>=document.documentMode,Ln=null,bs=null,Or=null,$s=!1;function Ga(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$s||Ln==null||Ln!==Xi(r)||(r=Ln,"selectionStart"in r&&Fl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Or&&Gr(Or,r)||(Or=r,r=ro(bs,"onSelect"),0<r.length&&(t=new Dl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ln)))}function zi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var jn={animationend:zi("Animation","AnimationEnd"),animationiteration:zi("Animation","AnimationIteration"),animationstart:zi("Animation","AnimationStart"),transitionend:zi("Transition","TransitionEnd")},rs={},Dc={};Lt&&(Dc=document.createElement("div").style,"AnimationEvent"in window||(delete jn.animationend.animation,delete jn.animationiteration.animation,delete jn.animationstart.animation),"TransitionEvent"in window||delete jn.transitionend.transition);function To(e){if(rs[e])return rs[e];if(!jn[e])return e;var t=jn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Dc)return rs[e]=t[n];return e}var Lc=To("animationend"),jc=To("animationiteration"),Fc=To("animationstart"),Uc=To("transitionend"),Mc=new Map,Ka="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ln(e,t){Mc.set(e,t),Tn(t,[e])}for(var is=0;is<Ka.length;is++){var os=Ka[is],wp=os.toLowerCase(),_p=os[0].toUpperCase()+os.slice(1);ln(wp,"on"+_p)}ln(Lc,"onAnimationEnd");ln(jc,"onAnimationIteration");ln(Fc,"onAnimationStart");ln("dblclick","onDoubleClick");ln("focusin","onFocus");ln("focusout","onBlur");ln(Uc,"onTransitionEnd");er("onMouseEnter",["mouseout","mouseover"]);er("onMouseLeave",["mouseout","mouseover"]);er("onPointerEnter",["pointerout","pointerover"]);er("onPointerLeave",["pointerout","pointerover"]);Tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Tn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),kp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Nr));function Qa(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,wh(r,t,void 0,e),e.currentTarget=null}function Bc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,d=l.currentTarget;if(l=l.listener,a!==o&&i.isPropagationStopped())break e;Qa(i,l,d),o=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,d=l.currentTarget,l=l.listener,a!==o&&i.isPropagationStopped())break e;Qa(i,l,d),o=a}}}if(Ji)throw e=Fs,Ji=!1,Fs=null,e}function me(e,t){var n=t[Gs];n===void 0&&(n=t[Gs]=new Set);var r=e+"__bubble";n.has(r)||(bc(t,e,2,!1),n.add(r))}function ss(e,t,n){var r=0;t&&(r|=4),bc(n,e,r,t)}var Ti="_reactListening"+Math.random().toString(36).slice(2);function Kr(e){if(!e[Ti]){e[Ti]=!0,Ku.forEach(function(n){n!=="selectionchange"&&(kp.has(n)||ss(n,!1,e),ss(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ti]||(t[Ti]=!0,ss("selectionchange",!1,t))}}function bc(e,t,n,r){switch(Ec(t)){case 1:var i=Lh;break;case 4:i=jh;break;default:i=Al}n=i.bind(null,t,n,e),i=void 0,!js||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function ls(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;s=s.return}for(;l!==null;){if(s=mn(l),s===null)return;if(a=s.tag,a===5||a===6){r=o=s;continue e}l=l.parentNode}}r=r.return}cc(function(){var d=o,_=Nl(n),v=[];e:{var y=Mc.get(e);if(y!==void 0){var p=Dl,w=e;switch(e){case"keypress":if(bi(n)===0)break e;case"keydown":case"keyup":p=Yh;break;case"focusin":w="focus",p=es;break;case"focusout":w="blur",p=es;break;case"beforeblur":case"afterblur":p=es;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Fa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Mh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=ep;break;case Lc:case jc:case Fc:p=$h;break;case Uc:p=np;break;case"scroll":p=Fh;break;case"wheel":p=ip;break;case"copy":case"cut":case"paste":p=Hh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Ma}var h=(t&4)!==0,k=!h&&e==="scroll",u=h?y!==null?y+"Capture":null:y;h=[];for(var c=d,g;c!==null;){g=c;var E=g.stateNode;if(g.tag===5&&E!==null&&(g=E,u!==null&&(E=$r(c,u),E!=null&&h.push(Qr(c,E,g)))),k)break;c=c.return}0<h.length&&(y=new p(y,w,null,n,_),v.push({event:y,listeners:h}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",y&&n!==Ds&&(w=n.relatedTarget||n.fromElement)&&(mn(w)||w[jt]))break e;if((p||y)&&(y=_.window===_?_:(y=_.ownerDocument)?y.defaultView||y.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=d,w=w?mn(w):null,w!==null&&(k=Nn(w),w!==k||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=d),p!==w)){if(h=Fa,E="onMouseLeave",u="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(h=Ma,E="onPointerLeave",u="onPointerEnter",c="pointer"),k=p==null?y:Fn(p),g=w==null?y:Fn(w),y=new h(E,c+"leave",p,n,_),y.target=k,y.relatedTarget=g,E=null,mn(_)===d&&(h=new h(u,c+"enter",w,n,_),h.target=g,h.relatedTarget=k,E=h),k=E,p&&w)t:{for(h=p,u=w,c=0,g=h;g;g=Rn(g))c++;for(g=0,E=u;E;E=Rn(E))g++;for(;0<c-g;)h=Rn(h),c--;for(;0<g-c;)u=Rn(u),g--;for(;c--;){if(h===u||u!==null&&h===u.alternate)break t;h=Rn(h),u=Rn(u)}h=null}else h=null;p!==null&&Xa(v,y,p,h,!1),w!==null&&k!==null&&Xa(v,k,w,h,!0)}}e:{if(y=d?Fn(d):window,p=y.nodeName&&y.nodeName.toLowerCase(),p==="select"||p==="input"&&y.type==="file")var x=fp;else if($a(y))if(Pc)x=mp;else{x=hp;var N=dp}else(p=y.nodeName)&&p.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(x=pp);if(x&&(x=x(e,d))){Ic(v,x,n,_);break e}N&&N(e,y,d),e==="focusout"&&(N=y._wrapperState)&&N.controlled&&y.type==="number"&&Is(y,"number",y.value)}switch(N=d?Fn(d):window,e){case"focusin":($a(N)||N.contentEditable==="true")&&(Ln=N,bs=d,Or=null);break;case"focusout":Or=bs=Ln=null;break;case"mousedown":$s=!0;break;case"contextmenu":case"mouseup":case"dragend":$s=!1,Ga(v,n,_);break;case"selectionchange":if(yp)break;case"keydown":case"keyup":Ga(v,n,_)}var T;if(jl)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else Dn?Tc(e,n)&&(I="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(I="onCompositionStart");I&&(zc&&n.locale!=="ko"&&(Dn||I!=="onCompositionStart"?I==="onCompositionEnd"&&Dn&&(T=Cc()):(Kt=_,Ol="value"in Kt?Kt.value:Kt.textContent,Dn=!0)),N=ro(d,I),0<N.length&&(I=new Ua(I,e,null,n,_),v.push({event:I,listeners:N}),T?I.data=T:(T=Nc(n),T!==null&&(I.data=T)))),(T=sp?lp(e,n):ap(e,n))&&(d=ro(d,"onBeforeInput"),0<d.length&&(_=new Ua("onBeforeInput","beforeinput",null,n,_),v.push({event:_,listeners:d}),_.data=T))}Bc(v,t)})}function Qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ro(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=$r(e,n),o!=null&&r.unshift(Qr(e,o,i)),o=$r(e,t),o!=null&&r.push(Qr(e,o,i))),e=e.return}return r}function Rn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Xa(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,d=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&d!==null&&(l=d,i?(a=$r(n,o),a!=null&&s.unshift(Qr(n,a,l))):i||(a=$r(n,o),a!=null&&s.push(Qr(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Sp=/\r\n?/g,xp=/\u0000|\uFFFD/g;function Ya(e){return(typeof e=="string"?e:""+e).replace(Sp,`
38
-
`).replace(xp,"")}function Ni(e,t,n){if(t=Ya(t),Ya(e)!==t&&n)throw Error(V(425))}function io(){}var Ws=null,Hs=null;function Vs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Zs=typeof setTimeout=="function"?setTimeout:void 0,Ep=typeof clearTimeout=="function"?clearTimeout:void 0,Ja=typeof Promise=="function"?Promise:void 0,Cp=typeof queueMicrotask=="function"?queueMicrotask:typeof Ja<"u"?function(e){return Ja.resolve(null).then(e).catch(zp)}:Zs;function zp(e){setTimeout(function(){throw e})}function as(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Vr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Vr(t)}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function qa(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ur=Math.random().toString(36).slice(2),xt="__reactFiber$"+ur,Xr="__reactProps$"+ur,jt="__reactContainer$"+ur,Gs="__reactEvents$"+ur,Tp="__reactListeners$"+ur,Np="__reactHandles$"+ur;function mn(e){var t=e[xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jt]||n[xt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=qa(e);e!==null;){if(n=e[xt])return n;e=qa(e)}return t}e=n,n=e.parentNode}return null}function hi(e){return e=e[xt]||e[jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function No(e){return e[Xr]||null}var Ks=[],Un=-1;function an(e){return{current:e}}function ge(e){0>Un||(e.current=Ks[Un],Ks[Un]=null,Un--)}function pe(e,t){Un++,Ks[Un]=e.current,e.current=t}var sn={},Ue=an(sn),Ve=an(!1),Sn=sn;function tr(e,t){var n=e.type.contextTypes;if(!n)return sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ze(e){return e=e.childContextTypes,e!=null}function oo(){ge(Ve),ge(Ue)}function eu(e,t,n){if(Ue.current!==sn)throw Error(V(168));pe(Ue,t),pe(Ve,n)}function $c(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(V(108,dh(e)||"Unknown",i));return _e({},n,r)}function so(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,Sn=Ue.current,pe(Ue,e),pe(Ve,Ve.current),!0}function tu(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=$c(e,t,Sn),r.__reactInternalMemoizedMergedChildContext=e,ge(Ve),ge(Ue),pe(Ue,e)):ge(Ve),pe(Ve,n)}var Pt=null,Io=!1,us=!1;function Wc(e){Pt===null?Pt=[e]:Pt.push(e)}function Ip(e){Io=!0,Wc(e)}function un(){if(!us&&Pt!==null){us=!0;var e=0,t=de;try{var n=Pt;for(de=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Pt=null,Io=!1}catch(i){throw Pt!==null&&(Pt=Pt.slice(e+1)),pc(Il,un),i}finally{de=t,us=!1}}return null}var Mn=[],Bn=0,lo=null,ao=0,it=[],ot=0,xn=null,At=1,Ot="";function hn(e,t){Mn[Bn++]=ao,Mn[Bn++]=lo,lo=e,ao=t}function Hc(e,t,n){it[ot++]=At,it[ot++]=Ot,it[ot++]=xn,xn=e;var r=At;e=Ot;var i=32-mt(r)-1;r&=~(1<<i),n+=1;var o=32-mt(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,At=1<<32-mt(t)+i|n<<i|r,Ot=o+e}else At=1<<o|n<<i|r,Ot=e}function Ul(e){e.return!==null&&(hn(e,1),Hc(e,1,0))}function Ml(e){for(;e===lo;)lo=Mn[--Bn],Mn[Bn]=null,ao=Mn[--Bn],Mn[Bn]=null;for(;e===xn;)xn=it[--ot],it[ot]=null,Ot=it[--ot],it[ot]=null,At=it[--ot],it[ot]=null}var Xe=null,Qe=null,ve=!1,pt=null;function Vc(e,t){var n=st(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function nu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Xe=e,Qe=qt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Xe=e,Qe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=xn!==null?{id:At,overflow:Ot}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=st(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Xe=e,Qe=null,!0):!1;default:return!1}}function Qs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xs(e){if(ve){var t=Qe;if(t){var n=t;if(!nu(e,t)){if(Qs(e))throw Error(V(418));t=qt(n.nextSibling);var r=Xe;t&&nu(e,t)?Vc(r,n):(e.flags=e.flags&-4097|2,ve=!1,Xe=e)}}else{if(Qs(e))throw Error(V(418));e.flags=e.flags&-4097|2,ve=!1,Xe=e}}}function ru(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Xe=e}function Ii(e){if(e!==Xe)return!1;if(!ve)return ru(e),ve=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Vs(e.type,e.memoizedProps)),t&&(t=Qe)){if(Qs(e))throw Zc(),Error(V(418));for(;t;)Vc(e,t),t=qt(t.nextSibling)}if(ru(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Qe=qt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Qe=null}}else Qe=Xe?qt(e.stateNode.nextSibling):null;return!0}function Zc(){for(var e=Qe;e;)e=qt(e.nextSibling)}function nr(){Qe=Xe=null,ve=!1}function Bl(e){pt===null?pt=[e]:pt.push(e)}var Pp=bt.ReactCurrentBatchConfig;function wr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var r=n.stateNode}if(!r)throw Error(V(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function Pi(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function iu(e){var t=e._init;return t(e._payload)}function Gc(e){function t(u,c){if(e){var g=u.deletions;g===null?(u.deletions=[c],u.flags|=16):g.push(c)}}function n(u,c){if(!e)return null;for(;c!==null;)t(u,c),c=c.sibling;return null}function r(u,c){for(u=new Map;c!==null;)c.key!==null?u.set(c.key,c):u.set(c.index,c),c=c.sibling;return u}function i(u,c){return u=rn(u,c),u.index=0,u.sibling=null,u}function o(u,c,g){return u.index=g,e?(g=u.alternate,g!==null?(g=g.index,g<c?(u.flags|=2,c):g):(u.flags|=2,c)):(u.flags|=1048576,c)}function s(u){return e&&u.alternate===null&&(u.flags|=2),u}function l(u,c,g,E){return c===null||c.tag!==6?(c=gs(g,u.mode,E),c.return=u,c):(c=i(c,g),c.return=u,c)}function a(u,c,g,E){var x=g.type;return x===On?_(u,c,g.props.children,E,g.key):c!==null&&(c.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ht&&iu(x)===c.type)?(E=i(c,g.props),E.ref=wr(u,c,g),E.return=u,E):(E=Ki(g.type,g.key,g.props,null,u.mode,E),E.ref=wr(u,c,g),E.return=u,E)}function d(u,c,g,E){return c===null||c.tag!==4||c.stateNode.containerInfo!==g.containerInfo||c.stateNode.implementation!==g.implementation?(c=vs(g,u.mode,E),c.return=u,c):(c=i(c,g.children||[]),c.return=u,c)}function _(u,c,g,E,x){return c===null||c.tag!==7?(c=_n(g,u.mode,E,x),c.return=u,c):(c=i(c,g),c.return=u,c)}function v(u,c,g){if(typeof c=="string"&&c!==""||typeof c=="number")return c=gs(""+c,u.mode,g),c.return=u,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case wi:return g=Ki(c.type,c.key,c.props,null,u.mode,g),g.ref=wr(u,null,c),g.return=u,g;case An:return c=vs(c,u.mode,g),c.return=u,c;case Ht:var E=c._init;return v(u,E(c._payload),g)}if(zr(c)||pr(c))return c=_n(c,u.mode,g,null),c.return=u,c;Pi(u,c)}return null}function y(u,c,g,E){var x=c!==null?c.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return x!==null?null:l(u,c,""+g,E);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case wi:return g.key===x?a(u,c,g,E):null;case An:return g.key===x?d(u,c,g,E):null;case Ht:return x=g._init,y(u,c,x(g._payload),E)}if(zr(g)||pr(g))return x!==null?null:_(u,c,g,E,null);Pi(u,g)}return null}function p(u,c,g,E,x){if(typeof E=="string"&&E!==""||typeof E=="number")return u=u.get(g)||null,l(c,u,""+E,x);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case wi:return u=u.get(E.key===null?g:E.key)||null,a(c,u,E,x);case An:return u=u.get(E.key===null?g:E.key)||null,d(c,u,E,x);case Ht:var N=E._init;return p(u,c,g,N(E._payload),x)}if(zr(E)||pr(E))return u=u.get(g)||null,_(c,u,E,x,null);Pi(c,E)}return null}function w(u,c,g,E){for(var x=null,N=null,T=c,I=c=0,R=null;T!==null&&I<g.length;I++){T.index>I?(R=T,T=null):R=T.sibling;var L=y(u,T,g[I],E);if(L===null){T===null&&(T=R);break}e&&T&&L.alternate===null&&t(u,T),c=o(L,c,I),N===null?x=L:N.sibling=L,N=L,T=R}if(I===g.length)return n(u,T),ve&&hn(u,I),x;if(T===null){for(;I<g.length;I++)T=v(u,g[I],E),T!==null&&(c=o(T,c,I),N===null?x=T:N.sibling=T,N=T);return ve&&hn(u,I),x}for(T=r(u,T);I<g.length;I++)R=p(T,u,I,g[I],E),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?I:R.key),c=o(R,c,I),N===null?x=R:N.sibling=R,N=R);return e&&T.forEach(function(X){return t(u,X)}),ve&&hn(u,I),x}function h(u,c,g,E){var x=pr(g);if(typeof x!="function")throw Error(V(150));if(g=x.call(g),g==null)throw Error(V(151));for(var N=x=null,T=c,I=c=0,R=null,L=g.next();T!==null&&!L.done;I++,L=g.next()){T.index>I?(R=T,T=null):R=T.sibling;var X=y(u,T,L.value,E);if(X===null){T===null&&(T=R);break}e&&T&&X.alternate===null&&t(u,T),c=o(X,c,I),N===null?x=X:N.sibling=X,N=X,T=R}if(L.done)return n(u,T),ve&&hn(u,I),x;if(T===null){for(;!L.done;I++,L=g.next())L=v(u,L.value,E),L!==null&&(c=o(L,c,I),N===null?x=L:N.sibling=L,N=L);return ve&&hn(u,I),x}for(T=r(u,T);!L.done;I++,L=g.next())L=p(T,u,I,L.value,E),L!==null&&(e&&L.alternate!==null&&T.delete(L.key===null?I:L.key),c=o(L,c,I),N===null?x=L:N.sibling=L,N=L);return e&&T.forEach(function(z){return t(u,z)}),ve&&hn(u,I),x}function k(u,c,g,E){if(typeof g=="object"&&g!==null&&g.type===On&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case wi:e:{for(var x=g.key,N=c;N!==null;){if(N.key===x){if(x=g.type,x===On){if(N.tag===7){n(u,N.sibling),c=i(N,g.props.children),c.return=u,u=c;break e}}else if(N.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ht&&iu(x)===N.type){n(u,N.sibling),c=i(N,g.props),c.ref=wr(u,N,g),c.return=u,u=c;break e}n(u,N);break}else t(u,N);N=N.sibling}g.type===On?(c=_n(g.props.children,u.mode,E,g.key),c.return=u,u=c):(E=Ki(g.type,g.key,g.props,null,u.mode,E),E.ref=wr(u,c,g),E.return=u,u=E)}return s(u);case An:e:{for(N=g.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===g.containerInfo&&c.stateNode.implementation===g.implementation){n(u,c.sibling),c=i(c,g.children||[]),c.return=u,u=c;break e}else{n(u,c);break}else t(u,c);c=c.sibling}c=vs(g,u.mode,E),c.return=u,u=c}return s(u);case Ht:return N=g._init,k(u,c,N(g._payload),E)}if(zr(g))return w(u,c,g,E);if(pr(g))return h(u,c,g,E);Pi(u,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,c!==null&&c.tag===6?(n(u,c.sibling),c=i(c,g),c.return=u,u=c):(n(u,c),c=gs(g,u.mode,E),c.return=u,u=c),s(u)):n(u,c)}return k}var rr=Gc(!0),Kc=Gc(!1),uo=an(null),co=null,bn=null,bl=null;function $l(){bl=bn=co=null}function Wl(e){var t=uo.current;ge(uo),e._currentValue=t}function Ys(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Xn(e,t){co=e,bl=bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(He=!0),e.firstContext=null)}function at(e){var t=e._currentValue;if(bl!==e)if(e={context:e,memoizedValue:t,next:null},bn===null){if(co===null)throw Error(V(308));bn=e,co.dependencies={lanes:0,firstContext:e}}else bn=bn.next=e;return t}var gn=null;function Hl(e){gn===null?gn=[e]:gn.push(e)}function Qc(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Hl(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ft(e,r)}function Ft(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Vt=!1;function Vl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function en(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,le&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ft(e,n)}return i=r.interleaved,i===null?(t.next=t,Hl(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ft(e,n)}function $i(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pl(e,n)}}function ou(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fo(e,t,n,r){var i=e.updateQueue;Vt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,d=a.next;a.next=null,s===null?o=d:s.next=d,s=a;var _=e.alternate;_!==null&&(_=_.updateQueue,l=_.lastBaseUpdate,l!==s&&(l===null?_.firstBaseUpdate=d:l.next=d,_.lastBaseUpdate=a))}if(o!==null){var v=i.baseState;s=0,_=d=a=null,l=o;do{var y=l.lane,p=l.eventTime;if((r&y)===y){_!==null&&(_=_.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var w=e,h=l;switch(y=t,p=n,h.tag){case 1:if(w=h.payload,typeof w=="function"){v=w.call(p,v,y);break e}v=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=h.payload,y=typeof w=="function"?w.call(p,v,y):w,y==null)break e;v=_e({},v,y);break e;case 2:Vt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[l]:y.push(l))}else p={eventTime:p,lane:y,tag:l.tag,payload:l.payload,callback:l.callback,next:null},_===null?(d=_=p,a=v):_=_.next=p,s|=y;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;y=l,l=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(_===null&&(a=v),i.baseState=a,i.firstBaseUpdate=d,i.lastBaseUpdate=_,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Cn|=s,e.lanes=s,e.memoizedState=v}}function su(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(V(191,i));i.call(r)}}}var pi={},zt=an(pi),Yr=an(pi),Jr=an(pi);function vn(e){if(e===pi)throw Error(V(174));return e}function Zl(e,t){switch(pe(Jr,t),pe(Yr,e),pe(zt,pi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Rs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Rs(t,e)}ge(zt),pe(zt,t)}function ir(){ge(zt),ge(Yr),ge(Jr)}function Yc(e){vn(Jr.current);var t=vn(zt.current),n=Rs(t,e.type);t!==n&&(pe(Yr,e),pe(zt,n))}function Gl(e){Yr.current===e&&(ge(zt),ge(Yr))}var ye=an(0);function ho(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function Kl(){for(var e=0;e<cs.length;e++)cs[e]._workInProgressVersionPrimary=null;cs.length=0}var Wi=bt.ReactCurrentDispatcher,fs=bt.ReactCurrentBatchConfig,En=0,we=null,Te=null,Pe=null,po=!1,Dr=!1,qr=0,Rp=0;function Le(){throw Error(V(321))}function Ql(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vt(e[n],t[n]))return!1;return!0}function Xl(e,t,n,r,i,o){if(En=o,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wi.current=e===null||e.memoizedState===null?Lp:jp,e=n(r,i),Dr){o=0;do{if(Dr=!1,qr=0,25<=o)throw Error(V(301));o+=1,Pe=Te=null,t.updateQueue=null,Wi.current=Fp,e=n(r,i)}while(Dr)}if(Wi.current=mo,t=Te!==null&&Te.next!==null,En=0,Pe=Te=we=null,po=!1,t)throw Error(V(300));return e}function Yl(){var e=qr!==0;return qr=0,e}function kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?we.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function ut(){if(Te===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Pe===null?we.memoizedState:Pe.next;if(t!==null)Pe=t,Te=e;else{if(e===null)throw Error(V(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Pe===null?we.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function ei(e,t){return typeof t=="function"?t(e):t}function ds(e){var t=ut(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=Te,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,a=null,d=o;do{var _=d.lane;if((En&_)===_)a!==null&&(a=a.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var v={lane:_,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};a===null?(l=a=v,s=r):a=a.next=v,we.lanes|=_,Cn|=_}d=d.next}while(d!==null&&d!==o);a===null?s=r:a.next=l,vt(r,t.memoizedState)||(He=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,we.lanes|=o,Cn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function hs(e){var t=ut(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);vt(o,t.memoizedState)||(He=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Jc(){}function qc(e,t){var n=we,r=ut(),i=t(),o=!vt(r.memoizedState,i);if(o&&(r.memoizedState=i,He=!0),r=r.queue,Jl(nf.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,ti(9,tf.bind(null,n,r,i,t),void 0,null),Re===null)throw Error(V(349));En&30||ef(n,t,i)}return i}function ef(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function tf(e,t,n,r){t.value=n,t.getSnapshot=r,rf(t)&&of(e)}function nf(e,t,n){return n(function(){rf(t)&&of(e)})}function rf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!vt(e,n)}catch{return!0}}function of(e){var t=Ft(e,1);t!==null&>(t,e,1,-1)}function lu(e){var t=kt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ei,lastRenderedState:e},t.queue=e,e=e.dispatch=Dp.bind(null,we,e),[t.memoizedState,e]}function ti(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function sf(){return ut().memoizedState}function Hi(e,t,n,r){var i=kt();we.flags|=e,i.memoizedState=ti(1|t,n,void 0,r===void 0?null:r)}function Po(e,t,n,r){var i=ut();r=r===void 0?null:r;var o=void 0;if(Te!==null){var s=Te.memoizedState;if(o=s.destroy,r!==null&&Ql(r,s.deps)){i.memoizedState=ti(t,n,o,r);return}}we.flags|=e,i.memoizedState=ti(1|t,n,o,r)}function au(e,t){return Hi(8390656,8,e,t)}function Jl(e,t){return Po(2048,8,e,t)}function lf(e,t){return Po(4,2,e,t)}function af(e,t){return Po(4,4,e,t)}function uf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function cf(e,t,n){return n=n!=null?n.concat([e]):null,Po(4,4,uf.bind(null,t,e),n)}function ql(){}function ff(e,t){var n=ut();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ql(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function df(e,t){var n=ut();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ql(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function hf(e,t,n){return En&21?(vt(n,t)||(n=vc(),we.lanes|=n,Cn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,He=!0),e.memoizedState=n)}function Ap(e,t){var n=de;de=n!==0&&4>n?n:4,e(!0);var r=fs.transition;fs.transition={};try{e(!1),t()}finally{de=n,fs.transition=r}}function pf(){return ut().memoizedState}function Op(e,t,n){var r=nn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},mf(e))gf(t,n);else if(n=Qc(e,t,n,r),n!==null){var i=Be();gt(n,e,r,i),vf(n,t,r)}}function Dp(e,t,n){var r=nn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(mf(e))gf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,vt(l,s)){var a=t.interleaved;a===null?(i.next=i,Hl(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Qc(e,t,i,r),n!==null&&(i=Be(),gt(n,e,r,i),vf(n,t,r))}}function mf(e){var t=e.alternate;return e===we||t!==null&&t===we}function gf(e,t){Dr=po=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pl(e,n)}}var mo={readContext:at,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},Lp={readContext:at,useCallback:function(e,t){return kt().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:au,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hi(4194308,4,uf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hi(4,2,e,t)},useMemo:function(e,t){var n=kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=kt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Op.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=kt();return e={current:e},t.memoizedState=e},useState:lu,useDebugValue:ql,useDeferredValue:function(e){return kt().memoizedState=e},useTransition:function(){var e=lu(!1),t=e[0];return e=Ap.bind(null,e[1]),kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=kt();if(ve){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),Re===null)throw Error(V(349));En&30||ef(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,au(nf.bind(null,r,o,e),[e]),r.flags|=2048,ti(9,tf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=kt(),t=Re.identifierPrefix;if(ve){var n=Ot,r=At;n=(r&~(1<<32-mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Rp++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},jp={readContext:at,useCallback:ff,useContext:at,useEffect:Jl,useImperativeHandle:cf,useInsertionEffect:lf,useLayoutEffect:af,useMemo:df,useReducer:ds,useRef:sf,useState:function(){return ds(ei)},useDebugValue:ql,useDeferredValue:function(e){var t=ut();return hf(t,Te.memoizedState,e)},useTransition:function(){var e=ds(ei)[0],t=ut().memoizedState;return[e,t]},useMutableSource:Jc,useSyncExternalStore:qc,useId:pf,unstable_isNewReconciler:!1},Fp={readContext:at,useCallback:ff,useContext:at,useEffect:Jl,useImperativeHandle:cf,useInsertionEffect:lf,useLayoutEffect:af,useMemo:df,useReducer:hs,useRef:sf,useState:function(){return hs(ei)},useDebugValue:ql,useDeferredValue:function(e){var t=ut();return Te===null?t.memoizedState=e:hf(t,Te.memoizedState,e)},useTransition:function(){var e=hs(ei)[0],t=ut().memoizedState;return[e,t]},useMutableSource:Jc,useSyncExternalStore:qc,useId:pf,unstable_isNewReconciler:!1};function dt(e,t){if(e&&e.defaultProps){t=_e({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Js(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:_e({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ro={isMounted:function(e){return(e=e._reactInternals)?Nn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Be(),i=nn(e),o=Dt(r,i);o.payload=t,n!=null&&(o.callback=n),t=en(e,o,i),t!==null&&(gt(t,e,i,r),$i(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),i=nn(e),o=Dt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=en(e,o,i),t!==null&&(gt(t,e,i,r),$i(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=nn(e),i=Dt(n,r);i.tag=2,t!=null&&(i.callback=t),t=en(e,i,r),t!==null&&(gt(t,e,r,n),$i(t,e,r))}};function uu(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Gr(n,r)||!Gr(i,o):!0}function yf(e,t,n){var r=!1,i=sn,o=t.contextType;return typeof o=="object"&&o!==null?o=at(o):(i=Ze(t)?Sn:Ue.current,r=t.contextTypes,o=(r=r!=null)?tr(e,i):sn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ro,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function cu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ro.enqueueReplaceState(t,t.state,null)}function qs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Vl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=at(o):(o=Ze(t)?Sn:Ue.current,i.context=tr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Js(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ro.enqueueReplaceState(i,i.state,null),fo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function or(e,t){try{var n="",r=t;do n+=fh(r),r=r.return;while(r);var i=n}catch(o){i=`
39
-
Error generating stack: `+o.message+`
40
-
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ps(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function el(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Up=typeof WeakMap=="function"?WeakMap:Map;function wf(e,t,n){n=Dt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){vo||(vo=!0,cl=r),el(e,t)},n}function _f(e,t,n){n=Dt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){el(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){el(e,t),typeof r!="function"&&(tn===null?tn=new Set([this]):tn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function fu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Up;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Jp.bind(null,e,t,n),t.then(e,e))}function du(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function hu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Dt(-1,1),t.tag=2,en(n,t,1))),n.lanes|=1),e)}var Mp=bt.ReactCurrentOwner,He=!1;function Me(e,t,n,r){t.child=e===null?Kc(t,null,n,r):rr(t,e.child,n,r)}function pu(e,t,n,r,i){n=n.render;var o=t.ref;return Xn(t,i),r=Xl(e,t,n,r,o,i),n=Yl(),e!==null&&!He?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ut(e,t,i)):(ve&&n&&Ul(t),t.flags|=1,Me(e,t,r,i),t.child)}function mu(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!la(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,kf(e,t,o,r,i)):(e=Ki(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Gr,n(s,r)&&e.ref===t.ref)return Ut(e,t,i)}return t.flags|=1,e=rn(o,r),e.ref=t.ref,e.return=t,t.child=e}function kf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Gr(o,r)&&e.ref===t.ref)if(He=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(He=!0);else return t.lanes=e.lanes,Ut(e,t,i)}return tl(e,t,n,r,i)}function Sf(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},pe(Wn,Ke),Ke|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,pe(Wn,Ke),Ke|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,pe(Wn,Ke),Ke|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,pe(Wn,Ke),Ke|=r;return Me(e,t,i,n),t.child}function xf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function tl(e,t,n,r,i){var o=Ze(n)?Sn:Ue.current;return o=tr(t,o),Xn(t,i),n=Xl(e,t,n,r,o,i),r=Yl(),e!==null&&!He?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ut(e,t,i)):(ve&&r&&Ul(t),t.flags|=1,Me(e,t,n,i),t.child)}function gu(e,t,n,r,i){if(Ze(n)){var o=!0;so(t)}else o=!1;if(Xn(t,i),t.stateNode===null)Vi(e,t),yf(t,n,r),qs(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,d=n.contextType;typeof d=="object"&&d!==null?d=at(d):(d=Ze(n)?Sn:Ue.current,d=tr(t,d));var _=n.getDerivedStateFromProps,v=typeof _=="function"||typeof s.getSnapshotBeforeUpdate=="function";v||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==d)&&cu(t,s,r,d),Vt=!1;var y=t.memoizedState;s.state=y,fo(t,r,s,i),a=t.memoizedState,l!==r||y!==a||Ve.current||Vt?(typeof _=="function"&&(Js(t,n,_,r),a=t.memoizedState),(l=Vt||uu(t,n,l,r,y,a,d))?(v||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=d,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Xc(e,t),l=t.memoizedProps,d=t.type===t.elementType?l:dt(t.type,l),s.props=d,v=t.pendingProps,y=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=at(a):(a=Ze(n)?Sn:Ue.current,a=tr(t,a));var p=n.getDerivedStateFromProps;(_=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==v||y!==a)&&cu(t,s,r,a),Vt=!1,y=t.memoizedState,s.state=y,fo(t,r,s,i);var w=t.memoizedState;l!==v||y!==w||Ve.current||Vt?(typeof p=="function"&&(Js(t,n,p,r),w=t.memoizedState),(d=Vt||uu(t,n,d,r,y,w,a)||!1)?(_||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=a,r=d):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return nl(e,t,n,r,o,i)}function nl(e,t,n,r,i,o){xf(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&tu(t,n,!1),Ut(e,t,o);r=t.stateNode,Mp.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=rr(t,e.child,null,o),t.child=rr(t,null,l,o)):Me(e,t,l,o),t.memoizedState=r.state,i&&tu(t,n,!0),t.child}function Ef(e){var t=e.stateNode;t.pendingContext?eu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&eu(e,t.context,!1),Zl(e,t.containerInfo)}function vu(e,t,n,r,i){return nr(),Bl(i),t.flags|=256,Me(e,t,n,r),t.child}var rl={dehydrated:null,treeContext:null,retryLane:0};function il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cf(e,t,n){var r=t.pendingProps,i=ye.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),pe(ye,i&1),e===null)return Xs(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Do(s,r,0,null),e=_n(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=il(n),t.memoizedState=rl,e):ea(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Bp(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=rn(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=rn(l,o):(o=_n(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?il(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=rl,r}return o=e.child,e=o.sibling,r=rn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ea(e,t){return t=Do({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ri(e,t,n,r){return r!==null&&Bl(r),rr(t,e.child,null,n),e=ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Bp(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ps(Error(V(422))),Ri(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Do({mode:"visible",children:r.children},i,0,null),o=_n(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&rr(t,e.child,null,s),t.child.memoizedState=il(s),t.memoizedState=rl,o);if(!(t.mode&1))return Ri(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(V(419)),r=ps(o,r,void 0),Ri(e,t,s,r)}if(l=(s&e.childLanes)!==0,He||l){if(r=Re,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ft(e,i),gt(r,e,i,-1))}return sa(),r=ps(Error(V(421))),Ri(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=qp.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Qe=qt(i.nextSibling),Xe=t,ve=!0,pt=null,e!==null&&(it[ot++]=At,it[ot++]=Ot,it[ot++]=xn,At=e.id,Ot=e.overflow,xn=t),t=ea(t,r.children),t.flags|=4096,t)}function yu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ys(e.return,t,n)}function ms(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function zf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Me(e,t,r.children,n),r=ye.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&yu(e,n,t);else if(e.tag===19)yu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pe(ye,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ho(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ms(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ho(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ms(t,!0,n,null,o);break;case"together":ms(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ut(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Cn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=rn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function bp(e,t,n){switch(t.tag){case 3:Ef(t),nr();break;case 5:Yc(t);break;case 1:Ze(t.type)&&so(t);break;case 4:Zl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;pe(uo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(pe(ye,ye.current&1),t.flags|=128,null):n&t.child.childLanes?Cf(e,t,n):(pe(ye,ye.current&1),e=Ut(e,t,n),e!==null?e.sibling:null);pe(ye,ye.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return zf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),pe(ye,ye.current),r)break;return null;case 22:case 23:return t.lanes=0,Sf(e,t,n)}return Ut(e,t,n)}var Tf,ol,Nf,If;Tf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ol=function(){};Nf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,vn(zt.current);var o=null;switch(n){case"input":i=Ts(e,i),r=Ts(e,r),o=[];break;case"select":i=_e({},i,{value:void 0}),r=_e({},r,{value:void 0}),o=[];break;case"textarea":i=Ps(e,i),r=Ps(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=io)}As(n,r);var s;n=null;for(d in i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&i[d]!=null)if(d==="style"){var l=i[d];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Br.hasOwnProperty(d)?o||(o=[]):(o=o||[]).push(d,null));for(d in r){var a=r[d];if(l=i!=null?i[d]:void 0,r.hasOwnProperty(d)&&a!==l&&(a!=null||l!=null))if(d==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(o||(o=[]),o.push(d,n)),n=a;else d==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(d,a)):d==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(d,""+a):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Br.hasOwnProperty(d)?(a!=null&&d==="onScroll"&&me("scroll",e),o||l===a||(o=[])):(o=o||[]).push(d,a))}n&&(o=o||[]).push("style",n);var d=o;(t.updateQueue=d)&&(t.flags|=4)}};If=function(e,t,n,r){n!==r&&(t.flags|=4)};function _r(e,t){if(!ve)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function je(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $p(e,t,n){var r=t.pendingProps;switch(Ml(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(t),null;case 1:return Ze(t.type)&&oo(),je(t),null;case 3:return r=t.stateNode,ir(),ge(Ve),ge(Ue),Kl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ii(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,pt!==null&&(hl(pt),pt=null))),ol(e,t),je(t),null;case 5:Gl(t);var i=vn(Jr.current);if(n=t.type,e!==null&&t.stateNode!=null)Nf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(V(166));return je(t),null}if(e=vn(zt.current),Ii(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[xt]=t,r[Xr]=o,e=(t.mode&1)!==0,n){case"dialog":me("cancel",r),me("close",r);break;case"iframe":case"object":case"embed":me("load",r);break;case"video":case"audio":for(i=0;i<Nr.length;i++)me(Nr[i],r);break;case"source":me("error",r);break;case"img":case"image":case"link":me("error",r),me("load",r);break;case"details":me("toggle",r);break;case"input":Ta(r,o),me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},me("invalid",r);break;case"textarea":Ia(r,o),me("invalid",r)}As(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Ni(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Ni(r.textContent,l,e),i=["children",""+l]):Br.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&me("scroll",r)}switch(n){case"input":_i(r),Na(r,o,!0);break;case"textarea":_i(r),Pa(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=io)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=nc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[xt]=t,e[Xr]=r,Tf(e,t,!1,!1),t.stateNode=e;e:{switch(s=Os(n,r),n){case"dialog":me("cancel",e),me("close",e),i=r;break;case"iframe":case"object":case"embed":me("load",e),i=r;break;case"video":case"audio":for(i=0;i<Nr.length;i++)me(Nr[i],e);i=r;break;case"source":me("error",e),i=r;break;case"img":case"image":case"link":me("error",e),me("load",e),i=r;break;case"details":me("toggle",e),i=r;break;case"input":Ta(e,r),i=Ts(e,r),me("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=_e({},r,{value:void 0}),me("invalid",e);break;case"textarea":Ia(e,r),i=Ps(e,r),me("invalid",e);break;default:i=r}As(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var a=l[o];o==="style"?oc(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&rc(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&br(e,a):typeof a=="number"&&br(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Br.hasOwnProperty(o)?a!=null&&o==="onScroll"&&me("scroll",e):a!=null&&El(e,o,a,s))}switch(n){case"input":_i(e),Na(e,r,!1);break;case"textarea":_i(e),Pa(e);break;case"option":r.value!=null&&e.setAttribute("value",""+on(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Zn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Zn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=io)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return je(t),null;case 6:if(e&&t.stateNode!=null)If(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(V(166));if(n=vn(Jr.current),vn(zt.current),Ii(t)){if(r=t.stateNode,n=t.memoizedProps,r[xt]=t,(o=r.nodeValue!==n)&&(e=Xe,e!==null))switch(e.tag){case 3:Ni(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ni(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[xt]=t,t.stateNode=r}return je(t),null;case 13:if(ge(ye),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ve&&Qe!==null&&t.mode&1&&!(t.flags&128))Zc(),nr(),t.flags|=98560,o=!1;else if(o=Ii(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(V(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(V(317));o[xt]=t}else nr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;je(t),o=!1}else pt!==null&&(hl(pt),pt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ye.current&1?Ne===0&&(Ne=3):sa())),t.updateQueue!==null&&(t.flags|=4),je(t),null);case 4:return ir(),ol(e,t),e===null&&Kr(t.stateNode.containerInfo),je(t),null;case 10:return Wl(t.type._context),je(t),null;case 17:return Ze(t.type)&&oo(),je(t),null;case 19:if(ge(ye),o=t.memoizedState,o===null)return je(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)_r(o,!1);else{if(Ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=ho(e),s!==null){for(t.flags|=128,_r(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return pe(ye,ye.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ce()>sr&&(t.flags|=128,r=!0,_r(o,!1),t.lanes=4194304)}else{if(!r)if(e=ho(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),_r(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ve)return je(t),null}else 2*Ce()-o.renderingStartTime>sr&&n!==1073741824&&(t.flags|=128,r=!0,_r(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ce(),t.sibling=null,n=ye.current,pe(ye,r?n&1|2:n&1),t):(je(t),null);case 22:case 23:return oa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ke&1073741824&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function Wp(e,t){switch(Ml(t),t.tag){case 1:return Ze(t.type)&&oo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(),ge(Ve),ge(Ue),Kl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gl(t),null;case 13:if(ge(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ge(ye),null;case 4:return ir(),null;case 10:return Wl(t.type._context),null;case 22:case 23:return oa(),null;case 24:return null;default:return null}}var Ai=!1,Fe=!1,Hp=typeof WeakSet=="function"?WeakSet:Set,q=null;function $n(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function sl(e,t,n){try{n()}catch(r){ke(e,t,r)}}var wu=!1;function Vp(e,t){if(Ws=to,e=Oc(),Fl(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,d=0,_=0,v=e,y=null;t:for(;;){for(var p;v!==n||i!==0&&v.nodeType!==3||(l=s+i),v!==o||r!==0&&v.nodeType!==3||(a=s+r),v.nodeType===3&&(s+=v.nodeValue.length),(p=v.firstChild)!==null;)y=v,v=p;for(;;){if(v===e)break t;if(y===n&&++d===i&&(l=s),y===o&&++_===r&&(a=s),(p=v.nextSibling)!==null)break;v=y,y=v.parentNode}v=p}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hs={focusedElem:e,selectionRange:n},to=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var h=w.memoizedProps,k=w.memoizedState,u=t.stateNode,c=u.getSnapshotBeforeUpdate(t.elementType===t.type?h:dt(t.type,h),k);u.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(E){ke(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return w=wu,wu=!1,w}function Lr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&sl(t,n,o)}i=i.next}while(i!==r)}}function Ao(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ll(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Pf(e){var t=e.alternate;t!==null&&(e.alternate=null,Pf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xt],delete t[Xr],delete t[Gs],delete t[Tp],delete t[Np])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Rf(e){return e.tag===5||e.tag===3||e.tag===4}function _u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function al(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=io));else if(r!==4&&(e=e.child,e!==null))for(al(e,t,n),e=e.sibling;e!==null;)al(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ul(e,t,n),e=e.sibling;e!==null;)ul(e,t,n),e=e.sibling}var Ae=null,ht=!1;function Wt(e,t,n){for(n=n.child;n!==null;)Af(e,t,n),n=n.sibling}function Af(e,t,n){if(Ct&&typeof Ct.onCommitFiberUnmount=="function")try{Ct.onCommitFiberUnmount(Eo,n)}catch{}switch(n.tag){case 5:Fe||$n(n,t);case 6:var r=Ae,i=ht;Ae=null,Wt(e,t,n),Ae=r,ht=i,Ae!==null&&(ht?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(ht?(e=Ae,n=n.stateNode,e.nodeType===8?as(e.parentNode,n):e.nodeType===1&&as(e,n),Vr(e)):as(Ae,n.stateNode));break;case 4:r=Ae,i=ht,Ae=n.stateNode.containerInfo,ht=!0,Wt(e,t,n),Ae=r,ht=i;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&sl(n,t,s),i=i.next}while(i!==r)}Wt(e,t,n);break;case 1:if(!Fe&&($n(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ke(n,t,l)}Wt(e,t,n);break;case 21:Wt(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Wt(e,t,n),Fe=r):Wt(e,t,n);break;default:Wt(e,t,n)}}function ku(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Hp),t.forEach(function(r){var i=em.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ae=l.stateNode,ht=!1;break e;case 3:Ae=l.stateNode.containerInfo,ht=!0;break e;case 4:Ae=l.stateNode.containerInfo,ht=!0;break e}l=l.return}if(Ae===null)throw Error(V(160));Af(o,s,i),Ae=null,ht=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(d){ke(i,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Of(t,e),t=t.sibling}function Of(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ft(t,e),_t(e),r&4){try{Lr(3,e,e.return),Ao(3,e)}catch(h){ke(e,e.return,h)}try{Lr(5,e,e.return)}catch(h){ke(e,e.return,h)}}break;case 1:ft(t,e),_t(e),r&512&&n!==null&&$n(n,n.return);break;case 5:if(ft(t,e),_t(e),r&512&&n!==null&&$n(n,n.return),e.flags&32){var i=e.stateNode;try{br(i,"")}catch(h){ke(e,e.return,h)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&ec(i,o),Os(l,s);var d=Os(l,o);for(s=0;s<a.length;s+=2){var _=a[s],v=a[s+1];_==="style"?oc(i,v):_==="dangerouslySetInnerHTML"?rc(i,v):_==="children"?br(i,v):El(i,_,v,d)}switch(l){case"input":Ns(i,o);break;case"textarea":tc(i,o);break;case"select":var y=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?Zn(i,!!o.multiple,p,!1):y!==!!o.multiple&&(o.defaultValue!=null?Zn(i,!!o.multiple,o.defaultValue,!0):Zn(i,!!o.multiple,o.multiple?[]:"",!1))}i[Xr]=o}catch(h){ke(e,e.return,h)}}break;case 6:if(ft(t,e),_t(e),r&4){if(e.stateNode===null)throw Error(V(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(h){ke(e,e.return,h)}}break;case 3:if(ft(t,e),_t(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vr(t.containerInfo)}catch(h){ke(e,e.return,h)}break;case 4:ft(t,e),_t(e);break;case 13:ft(t,e),_t(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ra=Ce())),r&4&&ku(e);break;case 22:if(_=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(d=Fe)||_,ft(t,e),Fe=d):ft(t,e),_t(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!_&&e.mode&1)for(q=e,_=e.child;_!==null;){for(v=q=_;q!==null;){switch(y=q,p=y.child,y.tag){case 0:case 11:case 14:case 15:Lr(4,y,y.return);break;case 1:$n(y,y.return);var w=y.stateNode;if(typeof w.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(h){ke(r,n,h)}}break;case 5:$n(y,y.return);break;case 22:if(y.memoizedState!==null){xu(v);continue}}p!==null?(p.return=y,q=p):xu(v)}_=_.sibling}e:for(_=null,v=e;;){if(v.tag===5){if(_===null){_=v;try{i=v.stateNode,d?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=v.stateNode,a=v.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=ic("display",s))}catch(h){ke(e,e.return,h)}}}else if(v.tag===6){if(_===null)try{v.stateNode.nodeValue=d?"":v.memoizedProps}catch(h){ke(e,e.return,h)}}else if((v.tag!==22&&v.tag!==23||v.memoizedState===null||v===e)&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===e)break e;for(;v.sibling===null;){if(v.return===null||v.return===e)break e;_===v&&(_=null),v=v.return}_===v&&(_=null),v.sibling.return=v.return,v=v.sibling}}break;case 19:ft(t,e),_t(e),r&4&&ku(e);break;case 21:break;default:ft(t,e),_t(e)}}function _t(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Rf(n)){var r=n;break e}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(br(i,""),r.flags&=-33);var o=_u(e);ul(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=_u(e);al(e,l,s);break;default:throw Error(V(161))}}catch(a){ke(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Zp(e,t,n){q=e,Df(e)}function Df(e,t,n){for(var r=(e.mode&1)!==0;q!==null;){var i=q,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Ai;if(!s){var l=i.alternate,a=l!==null&&l.memoizedState!==null||Fe;l=Ai;var d=Fe;if(Ai=s,(Fe=a)&&!d)for(q=i;q!==null;)s=q,a=s.child,s.tag===22&&s.memoizedState!==null?Eu(i):a!==null?(a.return=s,q=a):Eu(i);for(;o!==null;)q=o,Df(o),o=o.sibling;q=i,Ai=l,Fe=d}Su(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,q=o):Su(e)}}function Su(e){for(;q!==null;){var t=q;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||Ao(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:dt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&su(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}su(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var d=t.alternate;if(d!==null){var _=d.memoizedState;if(_!==null){var v=_.dehydrated;v!==null&&Vr(v)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}Fe||t.flags&512&&ll(t)}catch(y){ke(t,t.return,y)}}if(t===e){q=null;break}if(n=t.sibling,n!==null){n.return=t.return,q=n;break}q=t.return}}function xu(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var n=t.sibling;if(n!==null){n.return=t.return,q=n;break}q=t.return}}function Eu(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ao(4,t)}catch(a){ke(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ke(t,i,a)}}var o=t.return;try{ll(t)}catch(a){ke(t,o,a)}break;case 5:var s=t.return;try{ll(t)}catch(a){ke(t,s,a)}}}catch(a){ke(t,t.return,a)}if(t===e){q=null;break}var l=t.sibling;if(l!==null){l.return=t.return,q=l;break}q=t.return}}var Gp=Math.ceil,go=bt.ReactCurrentDispatcher,ta=bt.ReactCurrentOwner,lt=bt.ReactCurrentBatchConfig,le=0,Re=null,ze=null,Oe=0,Ke=0,Wn=an(0),Ne=0,ni=null,Cn=0,Oo=0,na=0,jr=null,We=null,ra=0,sr=1/0,Nt=null,vo=!1,cl=null,tn=null,Oi=!1,Qt=null,yo=0,Fr=0,fl=null,Zi=-1,Gi=0;function Be(){return le&6?Ce():Zi!==-1?Zi:Zi=Ce()}function nn(e){return e.mode&1?le&2&&Oe!==0?Oe&-Oe:Pp.transition!==null?(Gi===0&&(Gi=vc()),Gi):(e=de,e!==0||(e=window.event,e=e===void 0?16:Ec(e.type)),e):1}function gt(e,t,n,r){if(50<Fr)throw Fr=0,fl=null,Error(V(185));fi(e,n,r),(!(le&2)||e!==Re)&&(e===Re&&(!(le&2)&&(Oo|=n),Ne===4&&Gt(e,Oe)),Ge(e,r),n===1&&le===0&&!(t.mode&1)&&(sr=Ce()+500,Io&&un()))}function Ge(e,t){var n=e.callbackNode;Ph(e,t);var r=eo(e,e===Re?Oe:0);if(r===0)n!==null&&Oa(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Oa(n),t===1)e.tag===0?Ip(Cu.bind(null,e)):Wc(Cu.bind(null,e)),Cp(function(){!(le&6)&&un()}),n=null;else{switch(yc(r)){case 1:n=Il;break;case 4:n=mc;break;case 16:n=qi;break;case 536870912:n=gc;break;default:n=qi}n=$f(n,Lf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Lf(e,t){if(Zi=-1,Gi=0,le&6)throw Error(V(327));var n=e.callbackNode;if(Yn()&&e.callbackNode!==n)return null;var r=eo(e,e===Re?Oe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=wo(e,r);else{t=r;var i=le;le|=2;var o=Ff();(Re!==e||Oe!==t)&&(Nt=null,sr=Ce()+500,wn(e,t));do try{Xp();break}catch(l){jf(e,l)}while(!0);$l(),go.current=o,le=i,ze!==null?t=0:(Re=null,Oe=0,t=Ne)}if(t!==0){if(t===2&&(i=Us(e),i!==0&&(r=i,t=dl(e,i))),t===1)throw n=ni,wn(e,0),Gt(e,r),Ge(e,Ce()),n;if(t===6)Gt(e,r);else{if(i=e.current.alternate,!(r&30)&&!Kp(i)&&(t=wo(e,r),t===2&&(o=Us(e),o!==0&&(r=o,t=dl(e,o))),t===1))throw n=ni,wn(e,0),Gt(e,r),Ge(e,Ce()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(V(345));case 2:pn(e,We,Nt);break;case 3:if(Gt(e,r),(r&130023424)===r&&(t=ra+500-Ce(),10<t)){if(eo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Zs(pn.bind(null,e,We,Nt),t);break}pn(e,We,Nt);break;case 4:if(Gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-mt(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=Ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Gp(r/1960))-r,10<r){e.timeoutHandle=Zs(pn.bind(null,e,We,Nt),r);break}pn(e,We,Nt);break;case 5:pn(e,We,Nt);break;default:throw Error(V(329))}}}return Ge(e,Ce()),e.callbackNode===n?Lf.bind(null,e):null}function dl(e,t){var n=jr;return e.current.memoizedState.isDehydrated&&(wn(e,t).flags|=256),e=wo(e,t),e!==2&&(t=We,We=n,t!==null&&hl(t)),e}function hl(e){We===null?We=e:We.push.apply(We,e)}function Kp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!vt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Gt(e,t){for(t&=~na,t&=~Oo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-mt(t),r=1<<n;e[n]=-1,t&=~r}}function Cu(e){if(le&6)throw Error(V(327));Yn();var t=eo(e,0);if(!(t&1))return Ge(e,Ce()),null;var n=wo(e,t);if(e.tag!==0&&n===2){var r=Us(e);r!==0&&(t=r,n=dl(e,r))}if(n===1)throw n=ni,wn(e,0),Gt(e,t),Ge(e,Ce()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pn(e,We,Nt),Ge(e,Ce()),null}function ia(e,t){var n=le;le|=1;try{return e(t)}finally{le=n,le===0&&(sr=Ce()+500,Io&&un())}}function zn(e){Qt!==null&&Qt.tag===0&&!(le&6)&&Yn();var t=le;le|=1;var n=lt.transition,r=de;try{if(lt.transition=null,de=1,e)return e()}finally{de=r,lt.transition=n,le=t,!(le&6)&&un()}}function oa(){Ke=Wn.current,ge(Wn)}function wn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ep(n)),ze!==null)for(n=ze.return;n!==null;){var r=n;switch(Ml(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&oo();break;case 3:ir(),ge(Ve),ge(Ue),Kl();break;case 5:Gl(r);break;case 4:ir();break;case 13:ge(ye);break;case 19:ge(ye);break;case 10:Wl(r.type._context);break;case 22:case 23:oa()}n=n.return}if(Re=e,ze=e=rn(e.current,null),Oe=Ke=t,Ne=0,ni=null,na=Oo=Cn=0,We=jr=null,gn!==null){for(t=0;t<gn.length;t++)if(n=gn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}gn=null}return e}function jf(e,t){do{var n=ze;try{if($l(),Wi.current=mo,po){for(var r=we.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}po=!1}if(En=0,Pe=Te=we=null,Dr=!1,qr=0,ta.current=null,n===null||n.return===null){Ne=1,ni=t,ze=null;break}e:{var o=e,s=n.return,l=n,a=t;if(t=Oe,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var d=a,_=l,v=_.tag;if(!(_.mode&1)&&(v===0||v===11||v===15)){var y=_.alternate;y?(_.updateQueue=y.updateQueue,_.memoizedState=y.memoizedState,_.lanes=y.lanes):(_.updateQueue=null,_.memoizedState=null)}var p=du(s);if(p!==null){p.flags&=-257,hu(p,s,l,o,t),p.mode&1&&fu(o,d,t),t=p,a=d;var w=t.updateQueue;if(w===null){var h=new Set;h.add(a),t.updateQueue=h}else w.add(a);break e}else{if(!(t&1)){fu(o,d,t),sa();break e}a=Error(V(426))}}else if(ve&&l.mode&1){var k=du(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),hu(k,s,l,o,t),Bl(or(a,l));break e}}o=a=or(a,l),Ne!==4&&(Ne=2),jr===null?jr=[o]:jr.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var u=wf(o,a,t);ou(o,u);break e;case 1:l=a;var c=o.type,g=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(tn===null||!tn.has(g)))){o.flags|=65536,t&=-t,o.lanes|=t;var E=_f(o,l,t);ou(o,E);break e}}o=o.return}while(o!==null)}Mf(n)}catch(x){t=x,ze===n&&n!==null&&(ze=n=n.return);continue}break}while(!0)}function Ff(){var e=go.current;return go.current=mo,e===null?mo:e}function sa(){(Ne===0||Ne===3||Ne===2)&&(Ne=4),Re===null||!(Cn&268435455)&&!(Oo&268435455)||Gt(Re,Oe)}function wo(e,t){var n=le;le|=2;var r=Ff();(Re!==e||Oe!==t)&&(Nt=null,wn(e,t));do try{Qp();break}catch(i){jf(e,i)}while(!0);if($l(),le=n,go.current=r,ze!==null)throw Error(V(261));return Re=null,Oe=0,Ne}function Qp(){for(;ze!==null;)Uf(ze)}function Xp(){for(;ze!==null&&!kh();)Uf(ze)}function Uf(e){var t=bf(e.alternate,e,Ke);e.memoizedProps=e.pendingProps,t===null?Mf(e):ze=t,ta.current=null}function Mf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Wp(n,t),n!==null){n.flags&=32767,ze=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ne=6,ze=null;return}}else if(n=$p(n,t,Ke),n!==null){ze=n;return}if(t=t.sibling,t!==null){ze=t;return}ze=t=e}while(t!==null);Ne===0&&(Ne=5)}function pn(e,t,n){var r=de,i=lt.transition;try{lt.transition=null,de=1,Yp(e,t,n,r)}finally{lt.transition=i,de=r}return null}function Yp(e,t,n,r){do Yn();while(Qt!==null);if(le&6)throw Error(V(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(V(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Rh(e,o),e===Re&&(ze=Re=null,Oe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Oi||(Oi=!0,$f(qi,function(){return Yn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=lt.transition,lt.transition=null;var s=de;de=1;var l=le;le|=4,ta.current=null,Vp(e,n),Of(n,e),vp(Hs),to=!!Ws,Hs=Ws=null,e.current=n,Zp(n),Sh(),le=l,de=s,lt.transition=o}else e.current=n;if(Oi&&(Oi=!1,Qt=e,yo=i),o=e.pendingLanes,o===0&&(tn=null),Ch(n.stateNode),Ge(e,Ce()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(vo)throw vo=!1,e=cl,cl=null,e;return yo&1&&e.tag!==0&&Yn(),o=e.pendingLanes,o&1?e===fl?Fr++:(Fr=0,fl=e):Fr=0,un(),null}function Yn(){if(Qt!==null){var e=yc(yo),t=lt.transition,n=de;try{if(lt.transition=null,de=16>e?16:e,Qt===null)var r=!1;else{if(e=Qt,Qt=null,yo=0,le&6)throw Error(V(331));var i=le;for(le|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var l=o.deletions;if(l!==null){for(var a=0;a<l.length;a++){var d=l[a];for(q=d;q!==null;){var _=q;switch(_.tag){case 0:case 11:case 15:Lr(8,_,o)}var v=_.child;if(v!==null)v.return=_,q=v;else for(;q!==null;){_=q;var y=_.sibling,p=_.return;if(Pf(_),_===d){q=null;break}if(y!==null){y.return=p,q=y;break}q=p}}}var w=o.alternate;if(w!==null){var h=w.child;if(h!==null){w.child=null;do{var k=h.sibling;h.sibling=null,h=k}while(h!==null)}}q=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,q=s;else e:for(;q!==null;){if(o=q,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Lr(9,o,o.return)}var u=o.sibling;if(u!==null){u.return=o.return,q=u;break e}q=o.return}}var c=e.current;for(q=c;q!==null;){s=q;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,q=g;else e:for(s=c;q!==null;){if(l=q,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ao(9,l)}}catch(x){ke(l,l.return,x)}if(l===s){q=null;break e}var E=l.sibling;if(E!==null){E.return=l.return,q=E;break e}q=l.return}}if(le=i,un(),Ct&&typeof Ct.onPostCommitFiberRoot=="function")try{Ct.onPostCommitFiberRoot(Eo,e)}catch{}r=!0}return r}finally{de=n,lt.transition=t}}return!1}function zu(e,t,n){t=or(n,t),t=wf(e,t,1),e=en(e,t,1),t=Be(),e!==null&&(fi(e,1,t),Ge(e,t))}function ke(e,t,n){if(e.tag===3)zu(e,e,n);else for(;t!==null;){if(t.tag===3){zu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(tn===null||!tn.has(r))){e=or(n,e),e=_f(t,e,1),t=en(t,e,1),e=Be(),t!==null&&(fi(t,1,e),Ge(t,e));break}}t=t.return}}function Jp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,Re===e&&(Oe&n)===n&&(Ne===4||Ne===3&&(Oe&130023424)===Oe&&500>Ce()-ra?wn(e,0):na|=n),Ge(e,t)}function Bf(e,t){t===0&&(e.mode&1?(t=xi,xi<<=1,!(xi&130023424)&&(xi=4194304)):t=1);var n=Be();e=Ft(e,t),e!==null&&(fi(e,t,n),Ge(e,n))}function qp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Bf(e,n)}function em(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(V(314))}r!==null&&r.delete(t),Bf(e,n)}var bf;bf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ve.current)He=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return He=!1,bp(e,t,n);He=!!(e.flags&131072)}else He=!1,ve&&t.flags&1048576&&Hc(t,ao,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vi(e,t),e=t.pendingProps;var i=tr(t,Ue.current);Xn(t,n),i=Xl(null,t,r,e,i,n);var o=Yl();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ze(r)?(o=!0,so(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Vl(t),i.updater=Ro,t.stateNode=i,i._reactInternals=t,qs(t,r,e,n),t=nl(null,t,r,!0,o,n)):(t.tag=0,ve&&o&&Ul(t),Me(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=nm(r),e=dt(r,e),i){case 0:t=tl(null,t,r,e,n);break e;case 1:t=gu(null,t,r,e,n);break e;case 11:t=pu(null,t,r,e,n);break e;case 14:t=mu(null,t,r,dt(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),tl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),gu(e,t,r,i,n);case 3:e:{if(Ef(t),e===null)throw Error(V(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Xc(e,t),fo(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=or(Error(V(423)),t),t=vu(e,t,r,n,i);break e}else if(r!==i){i=or(Error(V(424)),t),t=vu(e,t,r,n,i);break e}else for(Qe=qt(t.stateNode.containerInfo.firstChild),Xe=t,ve=!0,pt=null,n=Kc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nr(),r===i){t=Ut(e,t,n);break e}Me(e,t,r,n)}t=t.child}return t;case 5:return Yc(t),e===null&&Xs(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Vs(r,i)?s=null:o!==null&&Vs(r,o)&&(t.flags|=32),xf(e,t),Me(e,t,s,n),t.child;case 6:return e===null&&Xs(t),null;case 13:return Cf(e,t,n);case 4:return Zl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,n):Me(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),pu(e,t,r,i,n);case 7:return Me(e,t,t.pendingProps,n),t.child;case 8:return Me(e,t,t.pendingProps.children,n),t.child;case 12:return Me(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,pe(uo,r._currentValue),r._currentValue=s,o!==null)if(vt(o.value,s)){if(o.children===i.children&&!Ve.current){t=Ut(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Dt(-1,n&-n),a.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var _=d.pending;_===null?a.next=a:(a.next=_.next,_.next=a),d.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ys(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(V(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Ys(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Me(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Xn(t,n),i=at(i),r=r(i),t.flags|=1,Me(e,t,r,n),t.child;case 14:return r=t.type,i=dt(r,t.pendingProps),i=dt(r.type,i),mu(e,t,r,i,n);case 15:return kf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:dt(r,i),Vi(e,t),t.tag=1,Ze(r)?(e=!0,so(t)):e=!1,Xn(t,n),yf(t,r,i),qs(t,r,i,n),nl(null,t,r,!0,e,n);case 19:return zf(e,t,n);case 22:return Sf(e,t,n)}throw Error(V(156,t.tag))};function $f(e,t){return pc(e,t)}function tm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,n,r){return new tm(e,t,n,r)}function la(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nm(e){if(typeof e=="function")return la(e)?1:0;if(e!=null){if(e=e.$$typeof,e===zl)return 11;if(e===Tl)return 14}return 2}function rn(e,t){var n=e.alternate;return n===null?(n=st(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ki(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")la(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case On:return _n(n.children,i,o,t);case Cl:s=8,i|=8;break;case xs:return e=st(12,n,t,i|2),e.elementType=xs,e.lanes=o,e;case Es:return e=st(13,n,t,i),e.elementType=Es,e.lanes=o,e;case Cs:return e=st(19,n,t,i),e.elementType=Cs,e.lanes=o,e;case Yu:return Do(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qu:s=10;break e;case Xu:s=9;break e;case zl:s=11;break e;case Tl:s=14;break e;case Ht:s=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=st(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function _n(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Do(e,t,n,r){return e=st(22,e,r,t),e.elementType=Yu,e.lanes=n,e.stateNode={isHidden:!1},e}function gs(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function vs(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rm(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Yo(0),this.expirationTimes=Yo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function aa(e,t,n,r,i,o,s,l,a){return e=new rm(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=st(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vl(o),e}function im(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:An,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Wf(e){if(!e)return sn;e=e._reactInternals;e:{if(Nn(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(Ze(n))return $c(e,n,t)}return t}function Hf(e,t,n,r,i,o,s,l,a){return e=aa(n,r,!0,e,i,o,s,l,a),e.context=Wf(null),n=e.current,r=Be(),i=nn(n),o=Dt(r,i),o.callback=t??null,en(n,o,i),e.current.lanes=i,fi(e,i,r),Ge(e,r),e}function Lo(e,t,n,r){var i=t.current,o=Be(),s=nn(i);return n=Wf(n),t.context===null?t.context=n:t.pendingContext=n,t=Dt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=en(i,t,s),e!==null&&(gt(e,i,s,o),$i(e,i,s)),s}function _o(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Tu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ua(e,t){Tu(e,t),(e=e.alternate)&&Tu(e,t)}function om(){return null}var Vf=typeof reportError=="function"?reportError:function(e){console.error(e)};function ca(e){this._internalRoot=e}jo.prototype.render=ca.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));Lo(e,t,null,null)};jo.prototype.unmount=ca.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zn(function(){Lo(null,e,null,null)}),t[jt]=null}};function jo(e){this._internalRoot=e}jo.prototype.unstable_scheduleHydration=function(e){if(e){var t=kc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zt.length&&t!==0&&t<Zt[n].priority;n++);Zt.splice(n,0,e),n===0&&xc(e)}};function fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Nu(){}function sm(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var d=_o(s);o.call(d)}}var s=Hf(t,r,e,0,null,!1,!1,"",Nu);return e._reactRootContainer=s,e[jt]=s.current,Kr(e.nodeType===8?e.parentNode:e),zn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var d=_o(a);l.call(d)}}var a=aa(e,0,!1,null,null,!1,!1,"",Nu);return e._reactRootContainer=a,e[jt]=a.current,Kr(e.nodeType===8?e.parentNode:e),zn(function(){Lo(t,a,n,r)}),a}function Uo(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var a=_o(s);l.call(a)}}Lo(t,s,e,i)}else s=sm(n,t,e,i,r);return _o(s)}wc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Tr(t.pendingLanes);n!==0&&(Pl(t,n|1),Ge(t,Ce()),!(le&6)&&(sr=Ce()+500,un()))}break;case 13:zn(function(){var r=Ft(e,1);if(r!==null){var i=Be();gt(r,e,1,i)}}),ua(e,1)}};Rl=function(e){if(e.tag===13){var t=Ft(e,134217728);if(t!==null){var n=Be();gt(t,e,134217728,n)}ua(e,134217728)}};_c=function(e){if(e.tag===13){var t=nn(e),n=Ft(e,t);if(n!==null){var r=Be();gt(n,e,t,r)}ua(e,t)}};kc=function(){return de};Sc=function(e,t){var n=de;try{return de=e,t()}finally{de=n}};Ls=function(e,t,n){switch(t){case"input":if(Ns(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=No(r);if(!i)throw Error(V(90));qu(r),Ns(r,i)}}}break;case"textarea":tc(e,n);break;case"select":t=n.value,t!=null&&Zn(e,!!n.multiple,t,!1)}};ac=ia;uc=zn;var lm={usingClientEntryPoint:!1,Events:[hi,Fn,No,sc,lc,ia]},kr={findFiberByHostInstance:mn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},am={bundleType:kr.bundleType,version:kr.version,rendererPackageName:kr.rendererPackageName,rendererConfig:kr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:bt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=dc(e),e===null?null:e.stateNode},findFiberByHostInstance:kr.findFiberByHostInstance||om,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Di=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Di.isDisabled&&Di.supportsFiber)try{Eo=Di.inject(am),Ct=Di}catch{}}et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lm;et.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fa(t))throw Error(V(200));return im(e,t,null,n)};et.createRoot=function(e,t){if(!fa(e))throw Error(V(299));var n=!1,r="",i=Vf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=aa(e,1,!1,null,null,n,!1,r,i),e[jt]=t.current,Kr(e.nodeType===8?e.parentNode:e),new ca(t)};et.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=dc(t),e=e===null?null:e.stateNode,e};et.flushSync=function(e){return zn(e)};et.hydrate=function(e,t,n){if(!Fo(t))throw Error(V(200));return Uo(null,e,t,!0,n)};et.hydrateRoot=function(e,t,n){if(!fa(e))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Vf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Hf(t,null,e,1,n??null,i,!1,o,s),e[jt]=t.current,Kr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new jo(t)};et.render=function(e,t,n){if(!Fo(t))throw Error(V(200));return Uo(null,e,t,!1,n)};et.unmountComponentAtNode=function(e){if(!Fo(e))throw Error(V(40));return e._reactRootContainer?(zn(function(){Uo(null,null,e,!1,function(){e._reactRootContainer=null,e[jt]=null})}),!0):!1};et.unstable_batchedUpdates=ia;et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fo(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return Uo(e,t,n,!1,r)};et.version="18.3.1-next-f1338f8080-20240426";function Zf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zf)}catch(e){console.error(e)}}Zf(),Vu.exports=et;var um=Vu.exports,Iu=um;ks.createRoot=Iu.createRoot,ks.hydrateRoot=Iu.hydrateRoot;function Li(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Gf={exports:{}};/*!
41
-
42
-
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
43
-
<http://stuartk.com/jszip>
44
-
45
-
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
46
-
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
47
-
48
-
JSZip uses the library pako released under the MIT license :
49
-
https://github.com/nodeca/pako/blob/main/LICENSE
50
-
*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,i,o){function s(d,_){if(!i[d]){if(!r[d]){var v=typeof Li=="function"&&Li;if(!_&&v)return v(d,!0);if(l)return l(d,!0);var y=new Error("Cannot find module '"+d+"'");throw y.code="MODULE_NOT_FOUND",y}var p=i[d]={exports:{}};r[d][0].call(p.exports,function(w){var h=r[d][1][w];return s(h||w)},p,p.exports,n,r,i,o)}return i[d].exports}for(var l=typeof Li=="function"&&Li,a=0;a<o.length;a++)s(o[a]);return s}({1:[function(n,r,i){var o=n("./utils"),s=n("./support"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(a){for(var d,_,v,y,p,w,h,k=[],u=0,c=a.length,g=c,E=o.getTypeOf(a)!=="string";u<a.length;)g=c-u,v=E?(d=a[u++],_=u<c?a[u++]:0,u<c?a[u++]:0):(d=a.charCodeAt(u++),_=u<c?a.charCodeAt(u++):0,u<c?a.charCodeAt(u++):0),y=d>>2,p=(3&d)<<4|_>>4,w=1<g?(15&_)<<2|v>>6:64,h=2<g?63&v:64,k.push(l.charAt(y)+l.charAt(p)+l.charAt(w)+l.charAt(h));return k.join("")},i.decode=function(a){var d,_,v,y,p,w,h=0,k=0,u="data:";if(a.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var c,g=3*(a=a.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(a.charAt(a.length-1)===l.charAt(64)&&g--,a.charAt(a.length-2)===l.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=s.uint8array?new Uint8Array(0|g):new Array(0|g);h<a.length;)d=l.indexOf(a.charAt(h++))<<2|(y=l.indexOf(a.charAt(h++)))>>4,_=(15&y)<<4|(p=l.indexOf(a.charAt(h++)))>>2,v=(3&p)<<6|(w=l.indexOf(a.charAt(h++))),c[k++]=d,p!==64&&(c[k++]=_),w!==64&&(c[k++]=v);return c}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),s=n("./stream/DataWorker"),l=n("./stream/Crc32Probe"),a=n("./stream/DataLengthProbe");function d(_,v,y,p,w){this.compressedSize=_,this.uncompressedSize=v,this.crc32=y,this.compression=p,this.compressedContent=w}d.prototype={getContentWorker:function(){var _=new s(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),v=this;return _.on("end",function(){if(this.streamInfo.data_length!==v.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),_},getCompressedWorker:function(){return new s(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(_,v,y){return _.pipe(new l).pipe(new a("uncompressedSize")).pipe(v.compressWorker(y)).pipe(new a("compressedSize")).withStreamInfo("compression",v)},r.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),s=function(){for(var l,a=[],d=0;d<256;d++){l=d;for(var _=0;_<8;_++)l=1&l?3988292384^l>>>1:l>>>1;a[d]=l}return a}();r.exports=function(l,a){return l!==void 0&&l.length?o.getTypeOf(l)!=="string"?function(d,_,v,y){var p=s,w=y+v;d^=-1;for(var h=y;h<w;h++)d=d>>>8^p[255&(d^_[h])];return-1^d}(0|a,l,l.length,0):function(d,_,v,y){var p=s,w=y+v;d^=-1;for(var h=y;h<w;h++)d=d>>>8^p[255&(d^_.charCodeAt(h))];return-1^d}(0|a,l,l.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=n("pako"),l=n("./utils"),a=n("./stream/GenericWorker"),d=o?"uint8array":"array";function _(v,y){a.call(this,"FlateWorker/"+v),this._pako=null,this._pakoAction=v,this._pakoOptions=y,this.meta={}}i.magic="\b\0",l.inherits(_,a),_.prototype.processChunk=function(v){this.meta=v.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(d,v.data),!1)},_.prototype.flush=function(){a.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},_.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},_.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var v=this;this._pako.onData=function(y){v.push({data:y,meta:v.meta})}},i.compressWorker=function(v){return new _("Deflate",v)},i.uncompressWorker=function(){return new _("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(p,w){var h,k="";for(h=0;h<w;h++)k+=String.fromCharCode(255&p),p>>>=8;return k}function s(p,w,h,k,u,c){var g,E,x=p.file,N=p.compression,T=c!==d.utf8encode,I=l.transformTo("string",c(x.name)),R=l.transformTo("string",d.utf8encode(x.name)),L=x.comment,X=l.transformTo("string",c(L)),z=l.transformTo("string",d.utf8encode(L)),j=R.length!==x.name.length,m=z.length!==L.length,U="",ne="",H="",$=x.dir,M=x.date,G={crc32:0,compressedSize:0,uncompressedSize:0};w&&!h||(G.crc32=p.crc32,G.compressedSize=p.compressedSize,G.uncompressedSize=p.uncompressedSize);var O=0;w&&(O|=8),T||!j&&!m||(O|=2048);var A=0,te=0;$&&(A|=16),u==="UNIX"?(te=798,A|=function(Q,fe){var Se=Q;return Q||(Se=fe?16893:33204),(65535&Se)<<16}(x.unixPermissions,$)):(te=20,A|=function(Q){return 63&(Q||0)}(x.dosPermissions)),g=M.getUTCHours(),g<<=6,g|=M.getUTCMinutes(),g<<=5,g|=M.getUTCSeconds()/2,E=M.getUTCFullYear()-1980,E<<=4,E|=M.getUTCMonth()+1,E<<=5,E|=M.getUTCDate(),j&&(ne=o(1,1)+o(_(I),4)+R,U+="up"+o(ne.length,2)+ne),m&&(H=o(1,1)+o(_(X),4)+z,U+="uc"+o(H.length,2)+H);var Y="";return Y+=`
51
-
\0`,Y+=o(O,2),Y+=N.magic,Y+=o(g,2),Y+=o(E,2),Y+=o(G.crc32,4),Y+=o(G.compressedSize,4),Y+=o(G.uncompressedSize,4),Y+=o(I.length,2),Y+=o(U.length,2),{fileRecord:v.LOCAL_FILE_HEADER+Y+I+U,dirRecord:v.CENTRAL_FILE_HEADER+o(te,2)+Y+o(X.length,2)+"\0\0\0\0"+o(A,4)+o(k,4)+I+U+X}}var l=n("../utils"),a=n("../stream/GenericWorker"),d=n("../utf8"),_=n("../crc32"),v=n("../signature");function y(p,w,h,k){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=w,this.zipPlatform=h,this.encodeFileName=k,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(y,a),y.prototype.push=function(p){var w=p.meta.percent||0,h=this.entriesCount,k=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,a.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:h?(w+100*(h-k-1))/h:100}}))},y.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var w=this.streamFiles&&!p.file.dir;if(w){var h=s(p,w,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},y.prototype.closedSource=function(p){this.accumulate=!1;var w=this.streamFiles&&!p.file.dir,h=s(p,w,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),w)this.push({data:function(k){return v.DATA_DESCRIPTOR+o(k.crc32,4)+o(k.compressedSize,4)+o(k.uncompressedSize,4)}(p),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},y.prototype.flush=function(){for(var p=this.bytesWritten,w=0;w<this.dirRecords.length;w++)this.push({data:this.dirRecords[w],meta:{percent:100}});var h=this.bytesWritten-p,k=function(u,c,g,E,x){var N=l.transformTo("string",x(E));return v.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(u,2)+o(u,2)+o(c,4)+o(g,4)+o(N.length,2)+N}(this.dirRecords.length,h,p,this.zipComment,this.encodeFileName);this.push({data:k,meta:{percent:100}})},y.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},y.prototype.registerPrevious=function(p){this._sources.push(p);var w=this;return p.on("data",function(h){w.processChunk(h)}),p.on("end",function(){w.closedSource(w.previous.streamInfo),w._sources.length?w.prepareNextSource():w.end()}),p.on("error",function(h){w.error(h)}),this},y.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},y.prototype.error=function(p){var w=this._sources;if(!a.prototype.error.call(this,p))return!1;for(var h=0;h<w.length;h++)try{w[h].error(p)}catch{}return!0},y.prototype.lock=function(){a.prototype.lock.call(this);for(var p=this._sources,w=0;w<p.length;w++)p[w].lock()},r.exports=y},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),s=n("./ZipFileWorker");i.generateWorker=function(l,a,d){var _=new s(a.streamFiles,d,a.platform,a.encodeFileName),v=0;try{l.forEach(function(y,p){v++;var w=function(c,g){var E=c||g,x=o[E];if(!x)throw new Error(E+" is not a valid compression method !");return x}(p.options.compression,a.compression),h=p.options.compressionOptions||a.compressionOptions||{},k=p.dir,u=p.date;p._compressWorker(w,h).withStreamInfo("file",{name:y,dir:k,date:u,comment:p.comment||"",unixPermissions:p.unixPermissions,dosPermissions:p.dosPermissions}).pipe(_)}),_.entriesCount=v}catch(y){_.error(y)}return _}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new o;for(var l in this)typeof this[l]!="function"&&(s[l]=this[l]);return s}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(s,l){return new o().loadAsync(s,l)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),s=n("./external"),l=n("./utf8"),a=n("./zipEntries"),d=n("./stream/Crc32Probe"),_=n("./nodejsUtils");function v(y){return new s.Promise(function(p,w){var h=y.decompressed.getContentWorker().pipe(new d);h.on("error",function(k){w(k)}).on("end",function(){h.streamInfo.crc32!==y.decompressed.crc32?w(new Error("Corrupted zip : CRC32 mismatch")):p()}).resume()})}r.exports=function(y,p){var w=this;return p=o.extend(p||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:l.utf8decode}),_.isNode&&_.isStream(y)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",y,!0,p.optimizedBinaryString,p.base64).then(function(h){var k=new a(p);return k.load(h),k}).then(function(h){var k=[s.Promise.resolve(h)],u=h.files;if(p.checkCRC32)for(var c=0;c<u.length;c++)k.push(v(u[c]));return s.Promise.all(k)}).then(function(h){for(var k=h.shift(),u=k.files,c=0;c<u.length;c++){var g=u[c],E=g.fileNameStr,x=o.resolve(g.fileNameStr);w.file(x,g.decompressed,{binary:!0,optimizedBinaryString:!0,date:g.date,dir:g.dir,comment:g.fileCommentStr.length?g.fileCommentStr:null,unixPermissions:g.unixPermissions,dosPermissions:g.dosPermissions,createFolders:p.createFolders}),g.dir||(w.file(x).unsafeOriginalName=E)}return k.zipComment.length&&(w.comment=k.zipComment),w})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),s=n("../stream/GenericWorker");function l(a,d){s.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(d)}o.inherits(l,s),l.prototype._bindStream=function(a){var d=this;(this._stream=a).pause(),a.on("data",function(_){d.push({data:_,meta:{percent:0}})}).on("error",function(_){d.isPaused?this.generatedError=_:d.error(_)}).on("end",function(){d.isPaused?d._upstreamEnded=!0:d.end()})},l.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=l},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function s(l,a,d){o.call(this,a),this._helper=l;var _=this;l.on("data",function(v,y){_.push(v)||_._helper.pause(),d&&d(y)}).on("error",function(v){_.emit("error",v)}).on("end",function(){_.push(null)})}n("../utils").inherits(s,o),s.prototype._read=function(){this._helper.resume()},r.exports=s},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,s);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,s)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var s=new Buffer(o);return s.fill(0),s},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(x,N,T){var I,R=l.getTypeOf(N),L=l.extend(T||{},_);L.date=L.date||new Date,L.compression!==null&&(L.compression=L.compression.toUpperCase()),typeof L.unixPermissions=="string"&&(L.unixPermissions=parseInt(L.unixPermissions,8)),L.unixPermissions&&16384&L.unixPermissions&&(L.dir=!0),L.dosPermissions&&16&L.dosPermissions&&(L.dir=!0),L.dir&&(x=u(x)),L.createFolders&&(I=k(x))&&c.call(this,I,!0);var X=R==="string"&&L.binary===!1&&L.base64===!1;T&&T.binary!==void 0||(L.binary=!X),(N instanceof v&&N.uncompressedSize===0||L.dir||!N||N.length===0)&&(L.base64=!1,L.binary=!0,N="",L.compression="STORE",R="string");var z=null;z=N instanceof v||N instanceof a?N:w.isNode&&w.isStream(N)?new h(x,N):l.prepareContent(x,N,L.binary,L.optimizedBinaryString,L.base64);var j=new y(x,z,L);this.files[x]=j}var s=n("./utf8"),l=n("./utils"),a=n("./stream/GenericWorker"),d=n("./stream/StreamHelper"),_=n("./defaults"),v=n("./compressedObject"),y=n("./zipObject"),p=n("./generate"),w=n("./nodejsUtils"),h=n("./nodejs/NodejsStreamInputAdapter"),k=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var N=x.lastIndexOf("/");return 0<N?x.substring(0,N):""},u=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},c=function(x,N){return N=N!==void 0?N:_.createFolders,x=u(x),this.files[x]||o.call(this,x,null,{dir:!0,createFolders:N}),this.files[x]};function g(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var E={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var N,T,I;for(N in this.files)I=this.files[N],(T=N.slice(this.root.length,N.length))&&N.slice(0,this.root.length)===this.root&&x(T,I)},filter:function(x){var N=[];return this.forEach(function(T,I){x(T,I)&&N.push(I)}),N},file:function(x,N,T){if(arguments.length!==1)return x=this.root+x,o.call(this,x,N,T),this;if(g(x)){var I=x;return this.filter(function(L,X){return!X.dir&&I.test(L)})}var R=this.files[this.root+x];return R&&!R.dir?R:null},folder:function(x){if(!x)return this;if(g(x))return this.filter(function(R,L){return L.dir&&x.test(R)});var N=this.root+x,T=c.call(this,N),I=this.clone();return I.root=T.name,I},remove:function(x){x=this.root+x;var N=this.files[x];if(N||(x.slice(-1)!=="/"&&(x+="/"),N=this.files[x]),N&&!N.dir)delete this.files[x];else for(var T=this.filter(function(R,L){return L.name.slice(0,x.length)===x}),I=0;I<T.length;I++)delete this.files[T[I].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var N,T={};try{if((T=l.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");l.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var I=T.comment||this.comment||"";N=p.generateWorker(this,T,I)}catch(R){(N=new a("error")).error(R)}return new d(N,T.type||"string",T.mimeType)},generateAsync:function(x,N){return this.generateInternalStream(x).accumulate(N)},generateNodeStream:function(x,N){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(N)}};r.exports=E},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function s(l){o.call(this,l);for(var a=0;a<this.data.length;a++)l[a]=255&l[a]}n("../utils").inherits(s,o),s.prototype.byteAt=function(l){return this.data[this.zero+l]},s.prototype.lastIndexOfSignature=function(l){for(var a=l.charCodeAt(0),d=l.charCodeAt(1),_=l.charCodeAt(2),v=l.charCodeAt(3),y=this.length-4;0<=y;--y)if(this.data[y]===a&&this.data[y+1]===d&&this.data[y+2]===_&&this.data[y+3]===v)return y-this.zero;return-1},s.prototype.readAndCheckSignature=function(l){var a=l.charCodeAt(0),d=l.charCodeAt(1),_=l.charCodeAt(2),v=l.charCodeAt(3),y=this.readData(4);return a===y[0]&&d===y[1]&&_===y[2]&&v===y[3]},s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return[];var a=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function s(l){this.data=l,this.length=l.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(l){this.checkIndex(this.index+l)},checkIndex:function(l){if(this.length<this.zero+l||l<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+l+"). Corrupted zip ?")},setIndex:function(l){this.checkIndex(l),this.index=l},skip:function(l){this.setIndex(this.index+l)},byteAt:function(){},readInt:function(l){var a,d=0;for(this.checkOffset(l),a=this.index+l-1;a>=this.index;a--)d=(d<<8)+this.byteAt(a);return this.index+=l,d},readString:function(l){return o.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},r.exports=s},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function s(l){o.call(this,l)}n("../utils").inherits(s,o),s.prototype.readData=function(l){this.checkOffset(l);var a=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function s(l){o.call(this,l)}n("../utils").inherits(s,o),s.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},s.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},s.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},s.prototype.readData=function(l){this.checkOffset(l);var a=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function s(l){o.call(this,l)}n("../utils").inherits(s,o),s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var a=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),s=n("../support"),l=n("./ArrayReader"),a=n("./StringReader"),d=n("./NodeBufferReader"),_=n("./Uint8ArrayReader");r.exports=function(v){var y=o.getTypeOf(v);return o.checkSupport(y),y!=="string"||s.uint8array?y==="nodebuffer"?new d(v):s.uint8array?new _(o.transformTo("uint8array",v)):new l(o.transformTo("array",v)):new a(v)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),s=n("../utils");function l(a){o.call(this,"ConvertWorker to "+a),this.destType=a}s.inherits(l,o),l.prototype.processChunk=function(a){this.push({data:s.transformTo(this.destType,a.data),meta:a.meta})},r.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),s=n("../crc32");function l(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(l,o),l.prototype.processChunk=function(a){this.streamInfo.crc32=s(a.data,this.streamInfo.crc32||0),this.push(a)},r.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),s=n("./GenericWorker");function l(a){s.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}o.inherits(l,s),l.prototype.processChunk=function(a){if(a){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+a.data.length}s.prototype.processChunk.call(this,a)},r.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),s=n("./GenericWorker");function l(a){s.call(this,"DataWorker");var d=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(_){d.dataIsReady=!0,d.data=_,d.max=_&&_.length||0,d.type=o.getTypeOf(_),d.isPaused||d._tickAndRepeat()},function(_){d.error(_)})}o.inherits(l,s),l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=null,d=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":a=this.data.substring(this.index,d);break;case"uint8array":a=this.data.subarray(this.index,d);break;case"array":case"nodebuffer":a=this.data.slice(this.index,d)}return this.index=d,this.push({data:a,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,l){return this._listeners[s].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,l){if(this._listeners[s])for(var a=0;a<this._listeners[s].length;a++)this._listeners[s][a].call(this,l)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var l=this;return s.on("data",function(a){l.processChunk(a)}),s.on("end",function(){l.end()}),s.on("error",function(a){l.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,l){return this.extraStreamInfo[s]=l,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),s=n("./ConvertWorker"),l=n("./GenericWorker"),a=n("../base64"),d=n("../support"),_=n("../external"),v=null;if(d.nodestream)try{v=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function y(w,h){return new _.Promise(function(k,u){var c=[],g=w._internalType,E=w._outputType,x=w._mimeType;w.on("data",function(N,T){c.push(N),h&&h(T)}).on("error",function(N){c=[],u(N)}).on("end",function(){try{var N=function(T,I,R){switch(T){case"blob":return o.newBlob(o.transformTo("arraybuffer",I),R);case"base64":return a.encode(I);default:return o.transformTo(T,I)}}(E,function(T,I){var R,L=0,X=null,z=0;for(R=0;R<I.length;R++)z+=I[R].length;switch(T){case"string":return I.join("");case"array":return Array.prototype.concat.apply([],I);case"uint8array":for(X=new Uint8Array(z),R=0;R<I.length;R++)X.set(I[R],L),L+=I[R].length;return X;case"nodebuffer":return Buffer.concat(I);default:throw new Error("concat : unsupported type '"+T+"'")}}(g,c),x);k(N)}catch(T){u(T)}c=[]}).resume()})}function p(w,h,k){var u=h;switch(h){case"blob":case"arraybuffer":u="uint8array";break;case"base64":u="string"}try{this._internalType=u,this._outputType=h,this._mimeType=k,o.checkSupport(u),this._worker=w.pipe(new s(u)),w.lock()}catch(c){this._worker=new l("error"),this._worker.error(c)}}p.prototype={accumulate:function(w){return y(this,w)},on:function(w,h){var k=this;return w==="data"?this._worker.on(w,function(u){h.call(k,u.data,u.meta)}):this._worker.on(w,function(){o.delay(h,arguments,k)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(w){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new v(this,{objectMode:this._outputType!=="nodebuffer"},w)}},r.exports=p},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(o),i.blob=s.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),s=n("./support"),l=n("./nodejsUtils"),a=n("./stream/GenericWorker"),d=new Array(256),_=0;_<256;_++)d[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;d[254]=d[254]=1;function v(){a.call(this,"utf-8 decode"),this.leftOver=null}function y(){a.call(this,"utf-8 encode")}i.utf8encode=function(p){return s.nodebuffer?l.newBufferFrom(p,"utf-8"):function(w){var h,k,u,c,g,E=w.length,x=0;for(c=0;c<E;c++)(64512&(k=w.charCodeAt(c)))==55296&&c+1<E&&(64512&(u=w.charCodeAt(c+1)))==56320&&(k=65536+(k-55296<<10)+(u-56320),c++),x+=k<128?1:k<2048?2:k<65536?3:4;for(h=s.uint8array?new Uint8Array(x):new Array(x),c=g=0;g<x;c++)(64512&(k=w.charCodeAt(c)))==55296&&c+1<E&&(64512&(u=w.charCodeAt(c+1)))==56320&&(k=65536+(k-55296<<10)+(u-56320),c++),k<128?h[g++]=k:(k<2048?h[g++]=192|k>>>6:(k<65536?h[g++]=224|k>>>12:(h[g++]=240|k>>>18,h[g++]=128|k>>>12&63),h[g++]=128|k>>>6&63),h[g++]=128|63&k);return h}(p)},i.utf8decode=function(p){return s.nodebuffer?o.transformTo("nodebuffer",p).toString("utf-8"):function(w){var h,k,u,c,g=w.length,E=new Array(2*g);for(h=k=0;h<g;)if((u=w[h++])<128)E[k++]=u;else if(4<(c=d[u]))E[k++]=65533,h+=c-1;else{for(u&=c===2?31:c===3?15:7;1<c&&h<g;)u=u<<6|63&w[h++],c--;1<c?E[k++]=65533:u<65536?E[k++]=u:(u-=65536,E[k++]=55296|u>>10&1023,E[k++]=56320|1023&u)}return E.length!==k&&(E.subarray?E=E.subarray(0,k):E.length=k),o.applyFromCharCode(E)}(p=o.transformTo(s.uint8array?"uint8array":"array",p))},o.inherits(v,a),v.prototype.processChunk=function(p){var w=o.transformTo(s.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var h=w;(w=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),w.set(h,this.leftOver.length)}else w=this.leftOver.concat(w);this.leftOver=null}var k=function(c,g){var E;for((g=g||c.length)>c.length&&(g=c.length),E=g-1;0<=E&&(192&c[E])==128;)E--;return E<0||E===0?g:E+d[c[E]]>g?E:g}(w),u=w;k!==w.length&&(s.uint8array?(u=w.subarray(0,k),this.leftOver=w.subarray(k,w.length)):(u=w.slice(0,k),this.leftOver=w.slice(k,w.length))),this.push({data:i.utf8decode(u),meta:p.meta})},v.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=v,o.inherits(y,a),y.prototype.processChunk=function(p){this.push({data:i.utf8encode(p.data),meta:p.meta})},i.Utf8EncodeWorker=y},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),s=n("./base64"),l=n("./nodejsUtils"),a=n("./external");function d(h){return h}function _(h,k){for(var u=0;u<h.length;++u)k[u]=255&h.charCodeAt(u);return k}n("setimmediate"),i.newBlob=function(h,k){i.checkSupport("blob");try{return new Blob([h],{type:k})}catch{try{var u=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return u.append(h),u.getBlob(k)}catch{throw new Error("Bug : can't construct the Blob.")}}};var v={stringifyByChunk:function(h,k,u){var c=[],g=0,E=h.length;if(E<=u)return String.fromCharCode.apply(null,h);for(;g<E;)k==="array"||k==="nodebuffer"?c.push(String.fromCharCode.apply(null,h.slice(g,Math.min(g+u,E)))):c.push(String.fromCharCode.apply(null,h.subarray(g,Math.min(g+u,E)))),g+=u;return c.join("")},stringifyByChar:function(h){for(var k="",u=0;u<h.length;u++)k+=String.fromCharCode(h[u]);return k},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,l.allocBuffer(1)).length===1}catch{return!1}}()}};function y(h){var k=65536,u=i.getTypeOf(h),c=!0;if(u==="uint8array"?c=v.applyCanBeUsed.uint8array:u==="nodebuffer"&&(c=v.applyCanBeUsed.nodebuffer),c)for(;1<k;)try{return v.stringifyByChunk(h,u,k)}catch{k=Math.floor(k/2)}return v.stringifyByChar(h)}function p(h,k){for(var u=0;u<h.length;u++)k[u]=h[u];return k}i.applyFromCharCode=y;var w={};w.string={string:d,array:function(h){return _(h,new Array(h.length))},arraybuffer:function(h){return w.string.uint8array(h).buffer},uint8array:function(h){return _(h,new Uint8Array(h.length))},nodebuffer:function(h){return _(h,l.allocBuffer(h.length))}},w.array={string:y,array:d,arraybuffer:function(h){return new Uint8Array(h).buffer},uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return l.newBufferFrom(h)}},w.arraybuffer={string:function(h){return y(new Uint8Array(h))},array:function(h){return p(new Uint8Array(h),new Array(h.byteLength))},arraybuffer:d,uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return l.newBufferFrom(new Uint8Array(h))}},w.uint8array={string:y,array:function(h){return p(h,new Array(h.length))},arraybuffer:function(h){return h.buffer},uint8array:d,nodebuffer:function(h){return l.newBufferFrom(h)}},w.nodebuffer={string:y,array:function(h){return p(h,new Array(h.length))},arraybuffer:function(h){return w.nodebuffer.uint8array(h).buffer},uint8array:function(h){return p(h,new Uint8Array(h.length))},nodebuffer:d},i.transformTo=function(h,k){if(k=k||"",!h)return k;i.checkSupport(h);var u=i.getTypeOf(k);return w[u][h](k)},i.resolve=function(h){for(var k=h.split("/"),u=[],c=0;c<k.length;c++){var g=k[c];g==="."||g===""&&c!==0&&c!==k.length-1||(g===".."?u.pop():u.push(g))}return u.join("/")},i.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":o.nodebuffer&&l.isBuffer(h)?"nodebuffer":o.uint8array&&h instanceof Uint8Array?"uint8array":o.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(h){if(!o[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(h){var k,u,c="";for(u=0;u<(h||"").length;u++)c+="\\x"+((k=h.charCodeAt(u))<16?"0":"")+k.toString(16).toUpperCase();return c},i.delay=function(h,k,u){setImmediate(function(){h.apply(u||null,k||[])})},i.inherits=function(h,k){function u(){}u.prototype=k.prototype,h.prototype=new u},i.extend=function(){var h,k,u={};for(h=0;h<arguments.length;h++)for(k in arguments[h])Object.prototype.hasOwnProperty.call(arguments[h],k)&&u[k]===void 0&&(u[k]=arguments[h][k]);return u},i.prepareContent=function(h,k,u,c,g){return a.Promise.resolve(k).then(function(E){return o.blob&&(E instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(E))!==-1)&&typeof FileReader<"u"?new a.Promise(function(x,N){var T=new FileReader;T.onload=function(I){x(I.target.result)},T.onerror=function(I){N(I.target.error)},T.readAsArrayBuffer(E)}):E}).then(function(E){var x=i.getTypeOf(E);return x?(x==="arraybuffer"?E=i.transformTo("uint8array",E):x==="string"&&(g?E=s.decode(E):u&&c!==!0&&(E=function(N){return _(N,o.uint8array?new Uint8Array(N.length):new Array(N.length))}(E))),E):a.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),s=n("./utils"),l=n("./signature"),a=n("./zipEntry"),d=n("./support");function _(v){this.files=[],this.loadOptions=v}_.prototype={checkSignature:function(v){if(!this.reader.readAndCheckSignature(v)){this.reader.index-=4;var y=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(y)+", expected "+s.pretty(v)+")")}},isSignature:function(v,y){var p=this.reader.index;this.reader.setIndex(v);var w=this.reader.readString(4)===y;return this.reader.setIndex(p),w},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var v=this.reader.readData(this.zipCommentLength),y=d.uint8array?"uint8array":"array",p=s.transformTo(y,v);this.zipComment=this.loadOptions.decodeFileName(p)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var v,y,p,w=this.zip64EndOfCentralSize-44;0<w;)v=this.reader.readInt(2),y=this.reader.readInt(4),p=this.reader.readData(y),this.zip64ExtensibleData[v]={id:v,length:y,value:p}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var v,y;for(v=0;v<this.files.length;v++)y=this.files[v],this.reader.setIndex(y.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),y.readLocalPart(this.reader),y.handleUTF8(),y.processAttributes()},readCentralDir:function(){var v;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(l.CENTRAL_FILE_HEADER);)(v=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(v);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var v=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(v<0)throw this.isSignature(0,l.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(v);var y=v;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(v=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(v),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var p=this.centralDirOffset+this.centralDirSize;this.zip64&&(p+=20,p+=12+this.zip64EndOfCentralSize);var w=y-p;if(0<w)this.isSignature(y,l.CENTRAL_FILE_HEADER)||(this.reader.zero=w);else if(w<0)throw new Error("Corrupted zip: missing "+Math.abs(w)+" bytes.")},prepareReader:function(v){this.reader=o(v)},load:function(v){this.prepareReader(v),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=_},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),s=n("./utils"),l=n("./compressedObject"),a=n("./crc32"),d=n("./utf8"),_=n("./compressions"),v=n("./support");function y(p,w){this.options=p,this.loadOptions=w}y.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(p){var w,h;if(p.skip(22),this.fileNameLength=p.readInt(2),h=p.readInt(2),this.fileName=p.readData(this.fileNameLength),p.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((w=function(k){for(var u in _)if(Object.prototype.hasOwnProperty.call(_,u)&&_[u].magic===k)return _[u];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new l(this.compressedSize,this.uncompressedSize,this.crc32,w,p.readData(this.compressedSize))},readCentralPart:function(p){this.versionMadeBy=p.readInt(2),p.skip(2),this.bitFlag=p.readInt(2),this.compressionMethod=p.readString(2),this.date=p.readDate(),this.crc32=p.readInt(4),this.compressedSize=p.readInt(4),this.uncompressedSize=p.readInt(4);var w=p.readInt(2);if(this.extraFieldsLength=p.readInt(2),this.fileCommentLength=p.readInt(2),this.diskNumberStart=p.readInt(2),this.internalFileAttributes=p.readInt(2),this.externalFileAttributes=p.readInt(4),this.localHeaderOffset=p.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");p.skip(w),this.readExtraFields(p),this.parseZIP64ExtraField(p),this.fileComment=p.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var p=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=o(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var w,h,k,u=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4<u;)w=p.readInt(2),h=p.readInt(2),k=p.readData(h),this.extraFields[w]={id:w,length:h,value:k};p.setIndex(u)},handleUTF8:function(){var p=v.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=d.utf8decode(this.fileName),this.fileCommentStr=d.utf8decode(this.fileComment);else{var w=this.findExtraFieldUnicodePath();if(w!==null)this.fileNameStr=w;else{var h=s.transformTo(p,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var k=this.findExtraFieldUnicodeComment();if(k!==null)this.fileCommentStr=k;else{var u=s.transformTo(p,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(u)}}},findExtraFieldUnicodePath:function(){var p=this.extraFields[28789];if(p){var w=o(p.value);return w.readInt(1)!==1||a(this.fileName)!==w.readInt(4)?null:d.utf8decode(w.readData(p.length-5))}return null},findExtraFieldUnicodeComment:function(){var p=this.extraFields[25461];if(p){var w=o(p.value);return w.readInt(1)!==1||a(this.fileComment)!==w.readInt(4)?null:d.utf8decode(w.readData(p.length-5))}return null}},r.exports=y},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(w,h,k){this.name=w,this.dir=k.dir,this.date=k.date,this.comment=k.comment,this.unixPermissions=k.unixPermissions,this.dosPermissions=k.dosPermissions,this._data=h,this._dataBinary=k.binary,this.options={compression:k.compression,compressionOptions:k.compressionOptions}}var s=n("./stream/StreamHelper"),l=n("./stream/DataWorker"),a=n("./utf8"),d=n("./compressedObject"),_=n("./stream/GenericWorker");o.prototype={internalStream:function(w){var h=null,k="string";try{if(!w)throw new Error("No output type specified.");var u=(k=w.toLowerCase())==="string"||k==="text";k!=="binarystring"&&k!=="text"||(k="string"),h=this._decompressWorker();var c=!this._dataBinary;c&&!u&&(h=h.pipe(new a.Utf8EncodeWorker)),!c&&u&&(h=h.pipe(new a.Utf8DecodeWorker))}catch(g){(h=new _("error")).error(g)}return new s(h,k,"")},async:function(w,h){return this.internalStream(w).accumulate(h)},nodeStream:function(w,h){return this.internalStream(w||"nodebuffer").toNodejsStream(h)},_compressWorker:function(w,h){if(this._data instanceof d&&this._data.compression.magic===w.magic)return this._data.getCompressedWorker();var k=this._decompressWorker();return this._dataBinary||(k=k.pipe(new a.Utf8EncodeWorker)),d.createWorkerFrom(k,w,h)},_decompressWorker:function(){return this._data instanceof d?this._data.getContentWorker():this._data instanceof _?this._data:new l(this._data)}};for(var v=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],y=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},p=0;p<v.length;p++)o.prototype[v[p]]=y;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var s,l,a=o.MutationObserver||o.WebKitMutationObserver;if(a){var d=0,_=new a(w),v=o.document.createTextNode("");_.observe(v,{characterData:!0}),s=function(){v.data=d=++d%2}}else if(o.setImmediate||o.MessageChannel===void 0)s="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var h=o.document.createElement("script");h.onreadystatechange=function(){w(),h.onreadystatechange=null,h.parentNode.removeChild(h),h=null},o.document.documentElement.appendChild(h)}:function(){setTimeout(w,0)};else{var y=new o.MessageChannel;y.port1.onmessage=w,s=function(){y.port2.postMessage(0)}}var p=[];function w(){var h,k;l=!0;for(var u=p.length;u;){for(k=p,p=[],h=-1;++h<u;)k[h]();u=p.length}l=!1}r.exports=function(h){p.push(h)!==1||l||s()}}).call(this,typeof vi<"u"?vi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function s(){}var l={},a=["REJECTED"],d=["FULFILLED"],_=["PENDING"];function v(u){if(typeof u!="function")throw new TypeError("resolver must be a function");this.state=_,this.queue=[],this.outcome=void 0,u!==s&&h(this,u)}function y(u,c,g){this.promise=u,typeof c=="function"&&(this.onFulfilled=c,this.callFulfilled=this.otherCallFulfilled),typeof g=="function"&&(this.onRejected=g,this.callRejected=this.otherCallRejected)}function p(u,c,g){o(function(){var E;try{E=c(g)}catch(x){return l.reject(u,x)}E===u?l.reject(u,new TypeError("Cannot resolve promise with itself")):l.resolve(u,E)})}function w(u){var c=u&&u.then;if(u&&(typeof u=="object"||typeof u=="function")&&typeof c=="function")return function(){c.apply(u,arguments)}}function h(u,c){var g=!1;function E(T){g||(g=!0,l.reject(u,T))}function x(T){g||(g=!0,l.resolve(u,T))}var N=k(function(){c(x,E)});N.status==="error"&&E(N.value)}function k(u,c){var g={};try{g.value=u(c),g.status="success"}catch(E){g.status="error",g.value=E}return g}(r.exports=v).prototype.finally=function(u){if(typeof u!="function")return this;var c=this.constructor;return this.then(function(g){return c.resolve(u()).then(function(){return g})},function(g){return c.resolve(u()).then(function(){throw g})})},v.prototype.catch=function(u){return this.then(null,u)},v.prototype.then=function(u,c){if(typeof u!="function"&&this.state===d||typeof c!="function"&&this.state===a)return this;var g=new this.constructor(s);return this.state!==_?p(g,this.state===d?u:c,this.outcome):this.queue.push(new y(g,u,c)),g},y.prototype.callFulfilled=function(u){l.resolve(this.promise,u)},y.prototype.otherCallFulfilled=function(u){p(this.promise,this.onFulfilled,u)},y.prototype.callRejected=function(u){l.reject(this.promise,u)},y.prototype.otherCallRejected=function(u){p(this.promise,this.onRejected,u)},l.resolve=function(u,c){var g=k(w,c);if(g.status==="error")return l.reject(u,g.value);var E=g.value;if(E)h(u,E);else{u.state=d,u.outcome=c;for(var x=-1,N=u.queue.length;++x<N;)u.queue[x].callFulfilled(c)}return u},l.reject=function(u,c){u.state=a,u.outcome=c;for(var g=-1,E=u.queue.length;++g<E;)u.queue[g].callRejected(c);return u},v.resolve=function(u){return u instanceof this?u:l.resolve(new this(s),u)},v.reject=function(u){var c=new this(s);return l.reject(c,u)},v.all=function(u){var c=this;if(Object.prototype.toString.call(u)!=="[object Array]")return this.reject(new TypeError("must be an array"));var g=u.length,E=!1;if(!g)return this.resolve([]);for(var x=new Array(g),N=0,T=-1,I=new this(s);++T<g;)R(u[T],T);return I;function R(L,X){c.resolve(L).then(function(z){x[X]=z,++N!==g||E||(E=!0,l.resolve(I,x))},function(z){E||(E=!0,l.reject(I,z))})}},v.race=function(u){var c=this;if(Object.prototype.toString.call(u)!=="[object Array]")return this.reject(new TypeError("must be an array"));var g=u.length,E=!1;if(!g)return this.resolve([]);for(var x=-1,N=new this(s);++x<g;)T=u[x],c.resolve(T).then(function(I){E||(E=!0,l.resolve(N,I))},function(I){E||(E=!0,l.reject(N,I))});var T;return N}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),s=n("./utils/common"),l=n("./utils/strings"),a=n("./zlib/messages"),d=n("./zlib/zstream"),_=Object.prototype.toString,v=0,y=-1,p=0,w=8;function h(u){if(!(this instanceof h))return new h(u);this.options=s.assign({level:y,method:w,chunkSize:16384,windowBits:15,memLevel:8,strategy:p,to:""},u||{});var c=this.options;c.raw&&0<c.windowBits?c.windowBits=-c.windowBits:c.gzip&&0<c.windowBits&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var g=o.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(g!==v)throw new Error(a[g]);if(c.header&&o.deflateSetHeader(this.strm,c.header),c.dictionary){var E;if(E=typeof c.dictionary=="string"?l.string2buf(c.dictionary):_.call(c.dictionary)==="[object ArrayBuffer]"?new Uint8Array(c.dictionary):c.dictionary,(g=o.deflateSetDictionary(this.strm,E))!==v)throw new Error(a[g]);this._dict_set=!0}}function k(u,c){var g=new h(c);if(g.push(u,!0),g.err)throw g.msg||a[g.err];return g.result}h.prototype.push=function(u,c){var g,E,x=this.strm,N=this.options.chunkSize;if(this.ended)return!1;E=c===~~c?c:c===!0?4:0,typeof u=="string"?x.input=l.string2buf(u):_.call(u)==="[object ArrayBuffer]"?x.input=new Uint8Array(u):x.input=u,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new s.Buf8(N),x.next_out=0,x.avail_out=N),(g=o.deflate(x,E))!==1&&g!==v)return this.onEnd(g),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||E!==4&&E!==2)||(this.options.to==="string"?this.onData(l.buf2binstring(s.shrinkBuf(x.output,x.next_out))):this.onData(s.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&g!==1);return E===4?(g=o.deflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===v):E!==2||(this.onEnd(v),!(x.avail_out=0))},h.prototype.onData=function(u){this.chunks.push(u)},h.prototype.onEnd=function(u){u===v&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},i.Deflate=h,i.deflate=k,i.deflateRaw=function(u,c){return(c=c||{}).raw=!0,k(u,c)},i.gzip=function(u,c){return(c=c||{}).gzip=!0,k(u,c)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),s=n("./utils/common"),l=n("./utils/strings"),a=n("./zlib/constants"),d=n("./zlib/messages"),_=n("./zlib/zstream"),v=n("./zlib/gzheader"),y=Object.prototype.toString;function p(h){if(!(this instanceof p))return new p(h);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},h||{});var k=this.options;k.raw&&0<=k.windowBits&&k.windowBits<16&&(k.windowBits=-k.windowBits,k.windowBits===0&&(k.windowBits=-15)),!(0<=k.windowBits&&k.windowBits<16)||h&&h.windowBits||(k.windowBits+=32),15<k.windowBits&&k.windowBits<48&&!(15&k.windowBits)&&(k.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var u=o.inflateInit2(this.strm,k.windowBits);if(u!==a.Z_OK)throw new Error(d[u]);this.header=new v,o.inflateGetHeader(this.strm,this.header)}function w(h,k){var u=new p(k);if(u.push(h,!0),u.err)throw u.msg||d[u.err];return u.result}p.prototype.push=function(h,k){var u,c,g,E,x,N,T=this.strm,I=this.options.chunkSize,R=this.options.dictionary,L=!1;if(this.ended)return!1;c=k===~~k?k:k===!0?a.Z_FINISH:a.Z_NO_FLUSH,typeof h=="string"?T.input=l.binstring2buf(h):y.call(h)==="[object ArrayBuffer]"?T.input=new Uint8Array(h):T.input=h,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new s.Buf8(I),T.next_out=0,T.avail_out=I),(u=o.inflate(T,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&R&&(N=typeof R=="string"?l.string2buf(R):y.call(R)==="[object ArrayBuffer]"?new Uint8Array(R):R,u=o.inflateSetDictionary(this.strm,N)),u===a.Z_BUF_ERROR&&L===!0&&(u=a.Z_OK,L=!1),u!==a.Z_STREAM_END&&u!==a.Z_OK)return this.onEnd(u),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&u!==a.Z_STREAM_END&&(T.avail_in!==0||c!==a.Z_FINISH&&c!==a.Z_SYNC_FLUSH)||(this.options.to==="string"?(g=l.utf8border(T.output,T.next_out),E=T.next_out-g,x=l.buf2string(T.output,g),T.next_out=E,T.avail_out=I-E,E&&s.arraySet(T.output,T.output,g,E,0),this.onData(x)):this.onData(s.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(L=!0)}while((0<T.avail_in||T.avail_out===0)&&u!==a.Z_STREAM_END);return u===a.Z_STREAM_END&&(c=a.Z_FINISH),c===a.Z_FINISH?(u=o.inflateEnd(this.strm),this.onEnd(u),this.ended=!0,u===a.Z_OK):c!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(T.avail_out=0))},p.prototype.onData=function(h){this.chunks.push(h)},p.prototype.onEnd=function(h){h===a.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg},i.Inflate=p,i.inflate=w,i.inflateRaw=function(h,k){return(k=k||{}).raw=!0,w(h,k)},i.ungzip=w},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(a){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var _=d.shift();if(_){if(typeof _!="object")throw new TypeError(_+"must be non-object");for(var v in _)_.hasOwnProperty(v)&&(a[v]=_[v])}}return a},i.shrinkBuf=function(a,d){return a.length===d?a:a.subarray?a.subarray(0,d):(a.length=d,a)};var s={arraySet:function(a,d,_,v,y){if(d.subarray&&a.subarray)a.set(d.subarray(_,_+v),y);else for(var p=0;p<v;p++)a[y+p]=d[_+p]},flattenChunks:function(a){var d,_,v,y,p,w;for(d=v=0,_=a.length;d<_;d++)v+=a[d].length;for(w=new Uint8Array(v),d=y=0,_=a.length;d<_;d++)p=a[d],w.set(p,y),y+=p.length;return w}},l={arraySet:function(a,d,_,v,y){for(var p=0;p<v;p++)a[y+p]=d[_+p]},flattenChunks:function(a){return[].concat.apply([],a)}};i.setTyped=function(a){a?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,s)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,l))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),s=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l=!1}for(var a=new o.Buf8(256),d=0;d<256;d++)a[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;function _(v,y){if(y<65537&&(v.subarray&&l||!v.subarray&&s))return String.fromCharCode.apply(null,o.shrinkBuf(v,y));for(var p="",w=0;w<y;w++)p+=String.fromCharCode(v[w]);return p}a[254]=a[254]=1,i.string2buf=function(v){var y,p,w,h,k,u=v.length,c=0;for(h=0;h<u;h++)(64512&(p=v.charCodeAt(h)))==55296&&h+1<u&&(64512&(w=v.charCodeAt(h+1)))==56320&&(p=65536+(p-55296<<10)+(w-56320),h++),c+=p<128?1:p<2048?2:p<65536?3:4;for(y=new o.Buf8(c),h=k=0;k<c;h++)(64512&(p=v.charCodeAt(h)))==55296&&h+1<u&&(64512&(w=v.charCodeAt(h+1)))==56320&&(p=65536+(p-55296<<10)+(w-56320),h++),p<128?y[k++]=p:(p<2048?y[k++]=192|p>>>6:(p<65536?y[k++]=224|p>>>12:(y[k++]=240|p>>>18,y[k++]=128|p>>>12&63),y[k++]=128|p>>>6&63),y[k++]=128|63&p);return y},i.buf2binstring=function(v){return _(v,v.length)},i.binstring2buf=function(v){for(var y=new o.Buf8(v.length),p=0,w=y.length;p<w;p++)y[p]=v.charCodeAt(p);return y},i.buf2string=function(v,y){var p,w,h,k,u=y||v.length,c=new Array(2*u);for(p=w=0;p<u;)if((h=v[p++])<128)c[w++]=h;else if(4<(k=a[h]))c[w++]=65533,p+=k-1;else{for(h&=k===2?31:k===3?15:7;1<k&&p<u;)h=h<<6|63&v[p++],k--;1<k?c[w++]=65533:h<65536?c[w++]=h:(h-=65536,c[w++]=55296|h>>10&1023,c[w++]=56320|1023&h)}return _(c,w)},i.utf8border=function(v,y){var p;for((y=y||v.length)>v.length&&(y=v.length),p=y-1;0<=p&&(192&v[p])==128;)p--;return p<0||p===0?y:p+a[v[p]]>y?p:y}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,s,l,a){for(var d=65535&o|0,_=o>>>16&65535|0,v=0;l!==0;){for(l-=v=2e3<l?2e3:l;_=_+(d=d+s[a++]|0)|0,--v;);d%=65521,_%=65521}return d|_<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var o=function(){for(var s,l=[],a=0;a<256;a++){s=a;for(var d=0;d<8;d++)s=1&s?3988292384^s>>>1:s>>>1;l[a]=s}return l}();r.exports=function(s,l,a,d){var _=o,v=d+a;s^=-1;for(var y=d;y<v;y++)s=s>>>8^_[255&(s^l[y])];return-1^s}},{}],46:[function(n,r,i){var o,s=n("../utils/common"),l=n("./trees"),a=n("./adler32"),d=n("./crc32"),_=n("./messages"),v=0,y=4,p=0,w=-2,h=-1,k=4,u=2,c=8,g=9,E=286,x=30,N=19,T=2*E+1,I=15,R=3,L=258,X=L+R+1,z=42,j=113,m=1,U=2,ne=3,H=4;function $(f,B){return f.msg=_[B],B}function M(f){return(f<<1)-(4<f?9:0)}function G(f){for(var B=f.length;0<=--B;)f[B]=0}function O(f){var B=f.state,F=B.pending;F>f.avail_out&&(F=f.avail_out),F!==0&&(s.arraySet(f.output,B.pending_buf,B.pending_out,F,f.next_out),f.next_out+=F,B.pending_out+=F,f.total_out+=F,f.avail_out-=F,B.pending-=F,B.pending===0&&(B.pending_out=0))}function A(f,B){l._tr_flush_block(f,0<=f.block_start?f.block_start:-1,f.strstart-f.block_start,B),f.block_start=f.strstart,O(f.strm)}function te(f,B){f.pending_buf[f.pending++]=B}function Y(f,B){f.pending_buf[f.pending++]=B>>>8&255,f.pending_buf[f.pending++]=255&B}function Q(f,B){var F,C,S=f.max_chain_length,P=f.strstart,b=f.prev_length,W=f.nice_match,D=f.strstart>f.w_size-X?f.strstart-(f.w_size-X):0,Z=f.window,J=f.w_mask,K=f.prev,re=f.strstart+L,he=Z[P+b-1],se=Z[P+b];f.prev_length>=f.good_match&&(S>>=2),W>f.lookahead&&(W=f.lookahead);do if(Z[(F=B)+b]===se&&Z[F+b-1]===he&&Z[F]===Z[P]&&Z[++F]===Z[P+1]){P+=2,F++;do;while(Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&Z[++P]===Z[++F]&&P<re);if(C=L-(re-P),P=re-L,b<C){if(f.match_start=B,W<=(b=C))break;he=Z[P+b-1],se=Z[P+b]}}while((B=K[B&J])>D&&--S!=0);return b<=f.lookahead?b:f.lookahead}function fe(f){var B,F,C,S,P,b,W,D,Z,J,K=f.w_size;do{if(S=f.window_size-f.lookahead-f.strstart,f.strstart>=K+(K-X)){for(s.arraySet(f.window,f.window,K,K,0),f.match_start-=K,f.strstart-=K,f.block_start-=K,B=F=f.hash_size;C=f.head[--B],f.head[B]=K<=C?C-K:0,--F;);for(B=F=K;C=f.prev[--B],f.prev[B]=K<=C?C-K:0,--F;);S+=K}if(f.strm.avail_in===0)break;if(b=f.strm,W=f.window,D=f.strstart+f.lookahead,Z=S,J=void 0,J=b.avail_in,Z<J&&(J=Z),F=J===0?0:(b.avail_in-=J,s.arraySet(W,b.input,b.next_in,J,D),b.state.wrap===1?b.adler=a(b.adler,W,J,D):b.state.wrap===2&&(b.adler=d(b.adler,W,J,D)),b.next_in+=J,b.total_in+=J,J),f.lookahead+=F,f.lookahead+f.insert>=R)for(P=f.strstart-f.insert,f.ins_h=f.window[P],f.ins_h=(f.ins_h<<f.hash_shift^f.window[P+1])&f.hash_mask;f.insert&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[P+R-1])&f.hash_mask,f.prev[P&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=P,P++,f.insert--,!(f.lookahead+f.insert<R)););}while(f.lookahead<X&&f.strm.avail_in!==0)}function Se(f,B){for(var F,C;;){if(f.lookahead<X){if(fe(f),f.lookahead<X&&B===v)return m;if(f.lookahead===0)break}if(F=0,f.lookahead>=R&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+R-1])&f.hash_mask,F=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),F!==0&&f.strstart-F<=f.w_size-X&&(f.match_length=Q(f,F)),f.match_length>=R)if(C=l._tr_tally(f,f.strstart-f.match_start,f.match_length-R),f.lookahead-=f.match_length,f.match_length<=f.max_lazy_match&&f.lookahead>=R){for(f.match_length--;f.strstart++,f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+R-1])&f.hash_mask,F=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart,--f.match_length!=0;);f.strstart++}else f.strstart+=f.match_length,f.match_length=0,f.ins_h=f.window[f.strstart],f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+1])&f.hash_mask;else C=l._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++;if(C&&(A(f,!1),f.strm.avail_out===0))return m}return f.insert=f.strstart<R-1?f.strstart:R-1,B===y?(A(f,!0),f.strm.avail_out===0?ne:H):f.last_lit&&(A(f,!1),f.strm.avail_out===0)?m:U}function oe(f,B){for(var F,C,S;;){if(f.lookahead<X){if(fe(f),f.lookahead<X&&B===v)return m;if(f.lookahead===0)break}if(F=0,f.lookahead>=R&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+R-1])&f.hash_mask,F=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),f.prev_length=f.match_length,f.prev_match=f.match_start,f.match_length=R-1,F!==0&&f.prev_length<f.max_lazy_match&&f.strstart-F<=f.w_size-X&&(f.match_length=Q(f,F),f.match_length<=5&&(f.strategy===1||f.match_length===R&&4096<f.strstart-f.match_start)&&(f.match_length=R-1)),f.prev_length>=R&&f.match_length<=f.prev_length){for(S=f.strstart+f.lookahead-R,C=l._tr_tally(f,f.strstart-1-f.prev_match,f.prev_length-R),f.lookahead-=f.prev_length-1,f.prev_length-=2;++f.strstart<=S&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+R-1])&f.hash_mask,F=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),--f.prev_length!=0;);if(f.match_available=0,f.match_length=R-1,f.strstart++,C&&(A(f,!1),f.strm.avail_out===0))return m}else if(f.match_available){if((C=l._tr_tally(f,0,f.window[f.strstart-1]))&&A(f,!1),f.strstart++,f.lookahead--,f.strm.avail_out===0)return m}else f.match_available=1,f.strstart++,f.lookahead--}return f.match_available&&(C=l._tr_tally(f,0,f.window[f.strstart-1]),f.match_available=0),f.insert=f.strstart<R-1?f.strstart:R-1,B===y?(A(f,!0),f.strm.avail_out===0?ne:H):f.last_lit&&(A(f,!1),f.strm.avail_out===0)?m:U}function ce(f,B,F,C,S){this.good_length=f,this.max_lazy=B,this.nice_length=F,this.max_chain=C,this.func=S}function Ie(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=c,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*T),this.dyn_dtree=new s.Buf16(2*(2*x+1)),this.bl_tree=new s.Buf16(2*(2*N+1)),G(this.dyn_ltree),G(this.dyn_dtree),G(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(I+1),this.heap=new s.Buf16(2*E+1),G(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*E+1),G(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function xe(f){var B;return f&&f.state?(f.total_in=f.total_out=0,f.data_type=u,(B=f.state).pending=0,B.pending_out=0,B.wrap<0&&(B.wrap=-B.wrap),B.status=B.wrap?z:j,f.adler=B.wrap===2?0:1,B.last_flush=v,l._tr_init(B),p):$(f,w)}function yt(f){var B=xe(f);return B===p&&function(F){F.window_size=2*F.w_size,G(F.head),F.max_lazy_match=o[F.level].max_lazy,F.good_match=o[F.level].good_length,F.nice_match=o[F.level].nice_length,F.max_chain_length=o[F.level].max_chain,F.strstart=0,F.block_start=0,F.lookahead=0,F.insert=0,F.match_length=F.prev_length=R-1,F.match_available=0,F.ins_h=0}(f.state),B}function ct(f,B,F,C,S,P){if(!f)return w;var b=1;if(B===h&&(B=6),C<0?(b=0,C=-C):15<C&&(b=2,C-=16),S<1||g<S||F!==c||C<8||15<C||B<0||9<B||P<0||k<P)return $(f,w);C===8&&(C=9);var W=new Ie;return(f.state=W).strm=f,W.wrap=b,W.gzhead=null,W.w_bits=C,W.w_size=1<<W.w_bits,W.w_mask=W.w_size-1,W.hash_bits=S+7,W.hash_size=1<<W.hash_bits,W.hash_mask=W.hash_size-1,W.hash_shift=~~((W.hash_bits+R-1)/R),W.window=new s.Buf8(2*W.w_size),W.head=new s.Buf16(W.hash_size),W.prev=new s.Buf16(W.w_size),W.lit_bufsize=1<<S+6,W.pending_buf_size=4*W.lit_bufsize,W.pending_buf=new s.Buf8(W.pending_buf_size),W.d_buf=1*W.lit_bufsize,W.l_buf=3*W.lit_bufsize,W.level=B,W.strategy=P,W.method=F,yt(f)}o=[new ce(0,0,0,0,function(f,B){var F=65535;for(F>f.pending_buf_size-5&&(F=f.pending_buf_size-5);;){if(f.lookahead<=1){if(fe(f),f.lookahead===0&&B===v)return m;if(f.lookahead===0)break}f.strstart+=f.lookahead,f.lookahead=0;var C=f.block_start+F;if((f.strstart===0||f.strstart>=C)&&(f.lookahead=f.strstart-C,f.strstart=C,A(f,!1),f.strm.avail_out===0)||f.strstart-f.block_start>=f.w_size-X&&(A(f,!1),f.strm.avail_out===0))return m}return f.insert=0,B===y?(A(f,!0),f.strm.avail_out===0?ne:H):(f.strstart>f.block_start&&(A(f,!1),f.strm.avail_out),m)}),new ce(4,4,8,4,Se),new ce(4,5,16,8,Se),new ce(4,6,32,32,Se),new ce(4,4,16,16,oe),new ce(8,16,32,32,oe),new ce(8,16,128,128,oe),new ce(8,32,128,256,oe),new ce(32,128,258,1024,oe),new ce(32,258,258,4096,oe)],i.deflateInit=function(f,B){return ct(f,B,c,15,8,0)},i.deflateInit2=ct,i.deflateReset=yt,i.deflateResetKeep=xe,i.deflateSetHeader=function(f,B){return f&&f.state?f.state.wrap!==2?w:(f.state.gzhead=B,p):w},i.deflate=function(f,B){var F,C,S,P;if(!f||!f.state||5<B||B<0)return f?$(f,w):w;if(C=f.state,!f.output||!f.input&&f.avail_in!==0||C.status===666&&B!==y)return $(f,f.avail_out===0?-5:w);if(C.strm=f,F=C.last_flush,C.last_flush=B,C.status===z)if(C.wrap===2)f.adler=0,te(C,31),te(C,139),te(C,8),C.gzhead?(te(C,(C.gzhead.text?1:0)+(C.gzhead.hcrc?2:0)+(C.gzhead.extra?4:0)+(C.gzhead.name?8:0)+(C.gzhead.comment?16:0)),te(C,255&C.gzhead.time),te(C,C.gzhead.time>>8&255),te(C,C.gzhead.time>>16&255),te(C,C.gzhead.time>>24&255),te(C,C.level===9?2:2<=C.strategy||C.level<2?4:0),te(C,255&C.gzhead.os),C.gzhead.extra&&C.gzhead.extra.length&&(te(C,255&C.gzhead.extra.length),te(C,C.gzhead.extra.length>>8&255)),C.gzhead.hcrc&&(f.adler=d(f.adler,C.pending_buf,C.pending,0)),C.gzindex=0,C.status=69):(te(C,0),te(C,0),te(C,0),te(C,0),te(C,0),te(C,C.level===9?2:2<=C.strategy||C.level<2?4:0),te(C,3),C.status=j);else{var b=c+(C.w_bits-8<<4)<<8;b|=(2<=C.strategy||C.level<2?0:C.level<6?1:C.level===6?2:3)<<6,C.strstart!==0&&(b|=32),b+=31-b%31,C.status=j,Y(C,b),C.strstart!==0&&(Y(C,f.adler>>>16),Y(C,65535&f.adler)),f.adler=1}if(C.status===69)if(C.gzhead.extra){for(S=C.pending;C.gzindex<(65535&C.gzhead.extra.length)&&(C.pending!==C.pending_buf_size||(C.gzhead.hcrc&&C.pending>S&&(f.adler=d(f.adler,C.pending_buf,C.pending-S,S)),O(f),S=C.pending,C.pending!==C.pending_buf_size));)te(C,255&C.gzhead.extra[C.gzindex]),C.gzindex++;C.gzhead.hcrc&&C.pending>S&&(f.adler=d(f.adler,C.pending_buf,C.pending-S,S)),C.gzindex===C.gzhead.extra.length&&(C.gzindex=0,C.status=73)}else C.status=73;if(C.status===73)if(C.gzhead.name){S=C.pending;do{if(C.pending===C.pending_buf_size&&(C.gzhead.hcrc&&C.pending>S&&(f.adler=d(f.adler,C.pending_buf,C.pending-S,S)),O(f),S=C.pending,C.pending===C.pending_buf_size)){P=1;break}P=C.gzindex<C.gzhead.name.length?255&C.gzhead.name.charCodeAt(C.gzindex++):0,te(C,P)}while(P!==0);C.gzhead.hcrc&&C.pending>S&&(f.adler=d(f.adler,C.pending_buf,C.pending-S,S)),P===0&&(C.gzindex=0,C.status=91)}else C.status=91;if(C.status===91)if(C.gzhead.comment){S=C.pending;do{if(C.pending===C.pending_buf_size&&(C.gzhead.hcrc&&C.pending>S&&(f.adler=d(f.adler,C.pending_buf,C.pending-S,S)),O(f),S=C.pending,C.pending===C.pending_buf_size)){P=1;break}P=C.gzindex<C.gzhead.comment.length?255&C.gzhead.comment.charCodeAt(C.gzindex++):0,te(C,P)}while(P!==0);C.gzhead.hcrc&&C.pending>S&&(f.adler=d(f.adler,C.pending_buf,C.pending-S,S)),P===0&&(C.status=103)}else C.status=103;if(C.status===103&&(C.gzhead.hcrc?(C.pending+2>C.pending_buf_size&&O(f),C.pending+2<=C.pending_buf_size&&(te(C,255&f.adler),te(C,f.adler>>8&255),f.adler=0,C.status=j)):C.status=j),C.pending!==0){if(O(f),f.avail_out===0)return C.last_flush=-1,p}else if(f.avail_in===0&&M(B)<=M(F)&&B!==y)return $(f,-5);if(C.status===666&&f.avail_in!==0)return $(f,-5);if(f.avail_in!==0||C.lookahead!==0||B!==v&&C.status!==666){var W=C.strategy===2?function(D,Z){for(var J;;){if(D.lookahead===0&&(fe(D),D.lookahead===0)){if(Z===v)return m;break}if(D.match_length=0,J=l._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++,J&&(A(D,!1),D.strm.avail_out===0))return m}return D.insert=0,Z===y?(A(D,!0),D.strm.avail_out===0?ne:H):D.last_lit&&(A(D,!1),D.strm.avail_out===0)?m:U}(C,B):C.strategy===3?function(D,Z){for(var J,K,re,he,se=D.window;;){if(D.lookahead<=L){if(fe(D),D.lookahead<=L&&Z===v)return m;if(D.lookahead===0)break}if(D.match_length=0,D.lookahead>=R&&0<D.strstart&&(K=se[re=D.strstart-1])===se[++re]&&K===se[++re]&&K===se[++re]){he=D.strstart+L;do;while(K===se[++re]&&K===se[++re]&&K===se[++re]&&K===se[++re]&&K===se[++re]&&K===se[++re]&&K===se[++re]&&K===se[++re]&&re<he);D.match_length=L-(he-re),D.match_length>D.lookahead&&(D.match_length=D.lookahead)}if(D.match_length>=R?(J=l._tr_tally(D,1,D.match_length-R),D.lookahead-=D.match_length,D.strstart+=D.match_length,D.match_length=0):(J=l._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++),J&&(A(D,!1),D.strm.avail_out===0))return m}return D.insert=0,Z===y?(A(D,!0),D.strm.avail_out===0?ne:H):D.last_lit&&(A(D,!1),D.strm.avail_out===0)?m:U}(C,B):o[C.level].func(C,B);if(W!==ne&&W!==H||(C.status=666),W===m||W===ne)return f.avail_out===0&&(C.last_flush=-1),p;if(W===U&&(B===1?l._tr_align(C):B!==5&&(l._tr_stored_block(C,0,0,!1),B===3&&(G(C.head),C.lookahead===0&&(C.strstart=0,C.block_start=0,C.insert=0))),O(f),f.avail_out===0))return C.last_flush=-1,p}return B!==y?p:C.wrap<=0?1:(C.wrap===2?(te(C,255&f.adler),te(C,f.adler>>8&255),te(C,f.adler>>16&255),te(C,f.adler>>24&255),te(C,255&f.total_in),te(C,f.total_in>>8&255),te(C,f.total_in>>16&255),te(C,f.total_in>>24&255)):(Y(C,f.adler>>>16),Y(C,65535&f.adler)),O(f),0<C.wrap&&(C.wrap=-C.wrap),C.pending!==0?p:1)},i.deflateEnd=function(f){var B;return f&&f.state?(B=f.state.status)!==z&&B!==69&&B!==73&&B!==91&&B!==103&&B!==j&&B!==666?$(f,w):(f.state=null,B===j?$(f,-3):p):w},i.deflateSetDictionary=function(f,B){var F,C,S,P,b,W,D,Z,J=B.length;if(!f||!f.state||(P=(F=f.state).wrap)===2||P===1&&F.status!==z||F.lookahead)return w;for(P===1&&(f.adler=a(f.adler,B,J,0)),F.wrap=0,J>=F.w_size&&(P===0&&(G(F.head),F.strstart=0,F.block_start=0,F.insert=0),Z=new s.Buf8(F.w_size),s.arraySet(Z,B,J-F.w_size,F.w_size,0),B=Z,J=F.w_size),b=f.avail_in,W=f.next_in,D=f.input,f.avail_in=J,f.next_in=0,f.input=B,fe(F);F.lookahead>=R;){for(C=F.strstart,S=F.lookahead-(R-1);F.ins_h=(F.ins_h<<F.hash_shift^F.window[C+R-1])&F.hash_mask,F.prev[C&F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=C,C++,--S;);F.strstart=C,F.lookahead=R-1,fe(F)}return F.strstart+=F.lookahead,F.block_start=F.strstart,F.insert=F.lookahead,F.lookahead=0,F.match_length=F.prev_length=R-1,F.match_available=0,f.next_in=W,f.input=D,f.avail_in=b,F.wrap=P,p},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(o,s){var l,a,d,_,v,y,p,w,h,k,u,c,g,E,x,N,T,I,R,L,X,z,j,m,U;l=o.state,a=o.next_in,m=o.input,d=a+(o.avail_in-5),_=o.next_out,U=o.output,v=_-(s-o.avail_out),y=_+(o.avail_out-257),p=l.dmax,w=l.wsize,h=l.whave,k=l.wnext,u=l.window,c=l.hold,g=l.bits,E=l.lencode,x=l.distcode,N=(1<<l.lenbits)-1,T=(1<<l.distbits)-1;e:do{g<15&&(c+=m[a++]<<g,g+=8,c+=m[a++]<<g,g+=8),I=E[c&N];t:for(;;){if(c>>>=R=I>>>24,g-=R,(R=I>>>16&255)===0)U[_++]=65535&I;else{if(!(16&R)){if(!(64&R)){I=E[(65535&I)+(c&(1<<R)-1)];continue t}if(32&R){l.mode=12;break e}o.msg="invalid literal/length code",l.mode=30;break e}L=65535&I,(R&=15)&&(g<R&&(c+=m[a++]<<g,g+=8),L+=c&(1<<R)-1,c>>>=R,g-=R),g<15&&(c+=m[a++]<<g,g+=8,c+=m[a++]<<g,g+=8),I=x[c&T];n:for(;;){if(c>>>=R=I>>>24,g-=R,!(16&(R=I>>>16&255))){if(!(64&R)){I=x[(65535&I)+(c&(1<<R)-1)];continue n}o.msg="invalid distance code",l.mode=30;break e}if(X=65535&I,g<(R&=15)&&(c+=m[a++]<<g,(g+=8)<R&&(c+=m[a++]<<g,g+=8)),p<(X+=c&(1<<R)-1)){o.msg="invalid distance too far back",l.mode=30;break e}if(c>>>=R,g-=R,(R=_-v)<X){if(h<(R=X-R)&&l.sane){o.msg="invalid distance too far back",l.mode=30;break e}if(j=u,(z=0)===k){if(z+=w-R,R<L){for(L-=R;U[_++]=u[z++],--R;);z=_-X,j=U}}else if(k<R){if(z+=w+k-R,(R-=k)<L){for(L-=R;U[_++]=u[z++],--R;);if(z=0,k<L){for(L-=R=k;U[_++]=u[z++],--R;);z=_-X,j=U}}}else if(z+=k-R,R<L){for(L-=R;U[_++]=u[z++],--R;);z=_-X,j=U}for(;2<L;)U[_++]=j[z++],U[_++]=j[z++],U[_++]=j[z++],L-=3;L&&(U[_++]=j[z++],1<L&&(U[_++]=j[z++]))}else{for(z=_-X;U[_++]=U[z++],U[_++]=U[z++],U[_++]=U[z++],2<(L-=3););L&&(U[_++]=U[z++],1<L&&(U[_++]=U[z++]))}break}}break}}while(a<d&&_<y);a-=L=g>>3,c&=(1<<(g-=L<<3))-1,o.next_in=a,o.next_out=_,o.avail_in=a<d?d-a+5:5-(a-d),o.avail_out=_<y?y-_+257:257-(_-y),l.hold=c,l.bits=g}},{}],49:[function(n,r,i){var o=n("../utils/common"),s=n("./adler32"),l=n("./crc32"),a=n("./inffast"),d=n("./inftrees"),_=1,v=2,y=0,p=-2,w=1,h=852,k=592;function u(z){return(z>>>24&255)+(z>>>8&65280)+((65280&z)<<8)+((255&z)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(z){var j;return z&&z.state?(j=z.state,z.total_in=z.total_out=j.total=0,z.msg="",j.wrap&&(z.adler=1&j.wrap),j.mode=w,j.last=0,j.havedict=0,j.dmax=32768,j.head=null,j.hold=0,j.bits=0,j.lencode=j.lendyn=new o.Buf32(h),j.distcode=j.distdyn=new o.Buf32(k),j.sane=1,j.back=-1,y):p}function E(z){var j;return z&&z.state?((j=z.state).wsize=0,j.whave=0,j.wnext=0,g(z)):p}function x(z,j){var m,U;return z&&z.state?(U=z.state,j<0?(m=0,j=-j):(m=1+(j>>4),j<48&&(j&=15)),j&&(j<8||15<j)?p:(U.window!==null&&U.wbits!==j&&(U.window=null),U.wrap=m,U.wbits=j,E(z))):p}function N(z,j){var m,U;return z?(U=new c,(z.state=U).window=null,(m=x(z,j))!==y&&(z.state=null),m):p}var T,I,R=!0;function L(z){if(R){var j;for(T=new o.Buf32(512),I=new o.Buf32(32),j=0;j<144;)z.lens[j++]=8;for(;j<256;)z.lens[j++]=9;for(;j<280;)z.lens[j++]=7;for(;j<288;)z.lens[j++]=8;for(d(_,z.lens,0,288,T,0,z.work,{bits:9}),j=0;j<32;)z.lens[j++]=5;d(v,z.lens,0,32,I,0,z.work,{bits:5}),R=!1}z.lencode=T,z.lenbits=9,z.distcode=I,z.distbits=5}function X(z,j,m,U){var ne,H=z.state;return H.window===null&&(H.wsize=1<<H.wbits,H.wnext=0,H.whave=0,H.window=new o.Buf8(H.wsize)),U>=H.wsize?(o.arraySet(H.window,j,m-H.wsize,H.wsize,0),H.wnext=0,H.whave=H.wsize):(U<(ne=H.wsize-H.wnext)&&(ne=U),o.arraySet(H.window,j,m-U,ne,H.wnext),(U-=ne)?(o.arraySet(H.window,j,m-U,U,0),H.wnext=U,H.whave=H.wsize):(H.wnext+=ne,H.wnext===H.wsize&&(H.wnext=0),H.whave<H.wsize&&(H.whave+=ne))),0}i.inflateReset=E,i.inflateReset2=x,i.inflateResetKeep=g,i.inflateInit=function(z){return N(z,15)},i.inflateInit2=N,i.inflate=function(z,j){var m,U,ne,H,$,M,G,O,A,te,Y,Q,fe,Se,oe,ce,Ie,xe,yt,ct,f,B,F,C,S=0,P=new o.Buf8(4),b=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!z||!z.state||!z.output||!z.input&&z.avail_in!==0)return p;(m=z.state).mode===12&&(m.mode=13),$=z.next_out,ne=z.output,G=z.avail_out,H=z.next_in,U=z.input,M=z.avail_in,O=m.hold,A=m.bits,te=M,Y=G,B=y;e:for(;;)switch(m.mode){case w:if(m.wrap===0){m.mode=13;break}for(;A<16;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(2&m.wrap&&O===35615){P[m.check=0]=255&O,P[1]=O>>>8&255,m.check=l(m.check,P,2,0),A=O=0,m.mode=2;break}if(m.flags=0,m.head&&(m.head.done=!1),!(1&m.wrap)||(((255&O)<<8)+(O>>8))%31){z.msg="incorrect header check",m.mode=30;break}if((15&O)!=8){z.msg="unknown compression method",m.mode=30;break}if(A-=4,f=8+(15&(O>>>=4)),m.wbits===0)m.wbits=f;else if(f>m.wbits){z.msg="invalid window size",m.mode=30;break}m.dmax=1<<f,z.adler=m.check=1,m.mode=512&O?10:12,A=O=0;break;case 2:for(;A<16;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(m.flags=O,(255&m.flags)!=8){z.msg="unknown compression method",m.mode=30;break}if(57344&m.flags){z.msg="unknown header flags set",m.mode=30;break}m.head&&(m.head.text=O>>8&1),512&m.flags&&(P[0]=255&O,P[1]=O>>>8&255,m.check=l(m.check,P,2,0)),A=O=0,m.mode=3;case 3:for(;A<32;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}m.head&&(m.head.time=O),512&m.flags&&(P[0]=255&O,P[1]=O>>>8&255,P[2]=O>>>16&255,P[3]=O>>>24&255,m.check=l(m.check,P,4,0)),A=O=0,m.mode=4;case 4:for(;A<16;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}m.head&&(m.head.xflags=255&O,m.head.os=O>>8),512&m.flags&&(P[0]=255&O,P[1]=O>>>8&255,m.check=l(m.check,P,2,0)),A=O=0,m.mode=5;case 5:if(1024&m.flags){for(;A<16;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}m.length=O,m.head&&(m.head.extra_len=O),512&m.flags&&(P[0]=255&O,P[1]=O>>>8&255,m.check=l(m.check,P,2,0)),A=O=0}else m.head&&(m.head.extra=null);m.mode=6;case 6:if(1024&m.flags&&(M<(Q=m.length)&&(Q=M),Q&&(m.head&&(f=m.head.extra_len-m.length,m.head.extra||(m.head.extra=new Array(m.head.extra_len)),o.arraySet(m.head.extra,U,H,Q,f)),512&m.flags&&(m.check=l(m.check,U,Q,H)),M-=Q,H+=Q,m.length-=Q),m.length))break e;m.length=0,m.mode=7;case 7:if(2048&m.flags){if(M===0)break e;for(Q=0;f=U[H+Q++],m.head&&f&&m.length<65536&&(m.head.name+=String.fromCharCode(f)),f&&Q<M;);if(512&m.flags&&(m.check=l(m.check,U,Q,H)),M-=Q,H+=Q,f)break e}else m.head&&(m.head.name=null);m.length=0,m.mode=8;case 8:if(4096&m.flags){if(M===0)break e;for(Q=0;f=U[H+Q++],m.head&&f&&m.length<65536&&(m.head.comment+=String.fromCharCode(f)),f&&Q<M;);if(512&m.flags&&(m.check=l(m.check,U,Q,H)),M-=Q,H+=Q,f)break e}else m.head&&(m.head.comment=null);m.mode=9;case 9:if(512&m.flags){for(;A<16;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(O!==(65535&m.check)){z.msg="header crc mismatch",m.mode=30;break}A=O=0}m.head&&(m.head.hcrc=m.flags>>9&1,m.head.done=!0),z.adler=m.check=0,m.mode=12;break;case 10:for(;A<32;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}z.adler=m.check=u(O),A=O=0,m.mode=11;case 11:if(m.havedict===0)return z.next_out=$,z.avail_out=G,z.next_in=H,z.avail_in=M,m.hold=O,m.bits=A,2;z.adler=m.check=1,m.mode=12;case 12:if(j===5||j===6)break e;case 13:if(m.last){O>>>=7&A,A-=7&A,m.mode=27;break}for(;A<3;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}switch(m.last=1&O,A-=1,3&(O>>>=1)){case 0:m.mode=14;break;case 1:if(L(m),m.mode=20,j!==6)break;O>>>=2,A-=2;break e;case 2:m.mode=17;break;case 3:z.msg="invalid block type",m.mode=30}O>>>=2,A-=2;break;case 14:for(O>>>=7&A,A-=7&A;A<32;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if((65535&O)!=(O>>>16^65535)){z.msg="invalid stored block lengths",m.mode=30;break}if(m.length=65535&O,A=O=0,m.mode=15,j===6)break e;case 15:m.mode=16;case 16:if(Q=m.length){if(M<Q&&(Q=M),G<Q&&(Q=G),Q===0)break e;o.arraySet(ne,U,H,Q,$),M-=Q,H+=Q,G-=Q,$+=Q,m.length-=Q;break}m.mode=12;break;case 17:for(;A<14;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(m.nlen=257+(31&O),O>>>=5,A-=5,m.ndist=1+(31&O),O>>>=5,A-=5,m.ncode=4+(15&O),O>>>=4,A-=4,286<m.nlen||30<m.ndist){z.msg="too many length or distance symbols",m.mode=30;break}m.have=0,m.mode=18;case 18:for(;m.have<m.ncode;){for(;A<3;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}m.lens[b[m.have++]]=7&O,O>>>=3,A-=3}for(;m.have<19;)m.lens[b[m.have++]]=0;if(m.lencode=m.lendyn,m.lenbits=7,F={bits:m.lenbits},B=d(0,m.lens,0,19,m.lencode,0,m.work,F),m.lenbits=F.bits,B){z.msg="invalid code lengths set",m.mode=30;break}m.have=0,m.mode=19;case 19:for(;m.have<m.nlen+m.ndist;){for(;ce=(S=m.lencode[O&(1<<m.lenbits)-1])>>>16&255,Ie=65535&S,!((oe=S>>>24)<=A);){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(Ie<16)O>>>=oe,A-=oe,m.lens[m.have++]=Ie;else{if(Ie===16){for(C=oe+2;A<C;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(O>>>=oe,A-=oe,m.have===0){z.msg="invalid bit length repeat",m.mode=30;break}f=m.lens[m.have-1],Q=3+(3&O),O>>>=2,A-=2}else if(Ie===17){for(C=oe+3;A<C;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}A-=oe,f=0,Q=3+(7&(O>>>=oe)),O>>>=3,A-=3}else{for(C=oe+7;A<C;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}A-=oe,f=0,Q=11+(127&(O>>>=oe)),O>>>=7,A-=7}if(m.have+Q>m.nlen+m.ndist){z.msg="invalid bit length repeat",m.mode=30;break}for(;Q--;)m.lens[m.have++]=f}}if(m.mode===30)break;if(m.lens[256]===0){z.msg="invalid code -- missing end-of-block",m.mode=30;break}if(m.lenbits=9,F={bits:m.lenbits},B=d(_,m.lens,0,m.nlen,m.lencode,0,m.work,F),m.lenbits=F.bits,B){z.msg="invalid literal/lengths set",m.mode=30;break}if(m.distbits=6,m.distcode=m.distdyn,F={bits:m.distbits},B=d(v,m.lens,m.nlen,m.ndist,m.distcode,0,m.work,F),m.distbits=F.bits,B){z.msg="invalid distances set",m.mode=30;break}if(m.mode=20,j===6)break e;case 20:m.mode=21;case 21:if(6<=M&&258<=G){z.next_out=$,z.avail_out=G,z.next_in=H,z.avail_in=M,m.hold=O,m.bits=A,a(z,Y),$=z.next_out,ne=z.output,G=z.avail_out,H=z.next_in,U=z.input,M=z.avail_in,O=m.hold,A=m.bits,m.mode===12&&(m.back=-1);break}for(m.back=0;ce=(S=m.lencode[O&(1<<m.lenbits)-1])>>>16&255,Ie=65535&S,!((oe=S>>>24)<=A);){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(ce&&!(240&ce)){for(xe=oe,yt=ce,ct=Ie;ce=(S=m.lencode[ct+((O&(1<<xe+yt)-1)>>xe)])>>>16&255,Ie=65535&S,!(xe+(oe=S>>>24)<=A);){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}O>>>=xe,A-=xe,m.back+=xe}if(O>>>=oe,A-=oe,m.back+=oe,m.length=Ie,ce===0){m.mode=26;break}if(32&ce){m.back=-1,m.mode=12;break}if(64&ce){z.msg="invalid literal/length code",m.mode=30;break}m.extra=15&ce,m.mode=22;case 22:if(m.extra){for(C=m.extra;A<C;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}m.length+=O&(1<<m.extra)-1,O>>>=m.extra,A-=m.extra,m.back+=m.extra}m.was=m.length,m.mode=23;case 23:for(;ce=(S=m.distcode[O&(1<<m.distbits)-1])>>>16&255,Ie=65535&S,!((oe=S>>>24)<=A);){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(!(240&ce)){for(xe=oe,yt=ce,ct=Ie;ce=(S=m.distcode[ct+((O&(1<<xe+yt)-1)>>xe)])>>>16&255,Ie=65535&S,!(xe+(oe=S>>>24)<=A);){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}O>>>=xe,A-=xe,m.back+=xe}if(O>>>=oe,A-=oe,m.back+=oe,64&ce){z.msg="invalid distance code",m.mode=30;break}m.offset=Ie,m.extra=15&ce,m.mode=24;case 24:if(m.extra){for(C=m.extra;A<C;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}m.offset+=O&(1<<m.extra)-1,O>>>=m.extra,A-=m.extra,m.back+=m.extra}if(m.offset>m.dmax){z.msg="invalid distance too far back",m.mode=30;break}m.mode=25;case 25:if(G===0)break e;if(Q=Y-G,m.offset>Q){if((Q=m.offset-Q)>m.whave&&m.sane){z.msg="invalid distance too far back",m.mode=30;break}fe=Q>m.wnext?(Q-=m.wnext,m.wsize-Q):m.wnext-Q,Q>m.length&&(Q=m.length),Se=m.window}else Se=ne,fe=$-m.offset,Q=m.length;for(G<Q&&(Q=G),G-=Q,m.length-=Q;ne[$++]=Se[fe++],--Q;);m.length===0&&(m.mode=21);break;case 26:if(G===0)break e;ne[$++]=m.length,G--,m.mode=21;break;case 27:if(m.wrap){for(;A<32;){if(M===0)break e;M--,O|=U[H++]<<A,A+=8}if(Y-=G,z.total_out+=Y,m.total+=Y,Y&&(z.adler=m.check=m.flags?l(m.check,ne,Y,$-Y):s(m.check,ne,Y,$-Y)),Y=G,(m.flags?O:u(O))!==m.check){z.msg="incorrect data check",m.mode=30;break}A=O=0}m.mode=28;case 28:if(m.wrap&&m.flags){for(;A<32;){if(M===0)break e;M--,O+=U[H++]<<A,A+=8}if(O!==(4294967295&m.total)){z.msg="incorrect length check",m.mode=30;break}A=O=0}m.mode=29;case 29:B=1;break e;case 30:B=-3;break e;case 31:return-4;case 32:default:return p}return z.next_out=$,z.avail_out=G,z.next_in=H,z.avail_in=M,m.hold=O,m.bits=A,(m.wsize||Y!==z.avail_out&&m.mode<30&&(m.mode<27||j!==4))&&X(z,z.output,z.next_out,Y-z.avail_out)?(m.mode=31,-4):(te-=z.avail_in,Y-=z.avail_out,z.total_in+=te,z.total_out+=Y,m.total+=Y,m.wrap&&Y&&(z.adler=m.check=m.flags?l(m.check,ne,Y,z.next_out-Y):s(m.check,ne,Y,z.next_out-Y)),z.data_type=m.bits+(m.last?64:0)+(m.mode===12?128:0)+(m.mode===20||m.mode===15?256:0),(te==0&&Y===0||j===4)&&B===y&&(B=-5),B)},i.inflateEnd=function(z){if(!z||!z.state)return p;var j=z.state;return j.window&&(j.window=null),z.state=null,y},i.inflateGetHeader=function(z,j){var m;return z&&z.state&&2&(m=z.state).wrap?((m.head=j).done=!1,y):p},i.inflateSetDictionary=function(z,j){var m,U=j.length;return z&&z.state?(m=z.state).wrap!==0&&m.mode!==11?p:m.mode===11&&s(1,j,U,0)!==m.check?-3:X(z,j,U,U)?(m.mode=31,-4):(m.havedict=1,y):p},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(_,v,y,p,w,h,k,u){var c,g,E,x,N,T,I,R,L,X=u.bits,z=0,j=0,m=0,U=0,ne=0,H=0,$=0,M=0,G=0,O=0,A=null,te=0,Y=new o.Buf16(16),Q=new o.Buf16(16),fe=null,Se=0;for(z=0;z<=15;z++)Y[z]=0;for(j=0;j<p;j++)Y[v[y+j]]++;for(ne=X,U=15;1<=U&&Y[U]===0;U--);if(U<ne&&(ne=U),U===0)return w[h++]=20971520,w[h++]=20971520,u.bits=1,0;for(m=1;m<U&&Y[m]===0;m++);for(ne<m&&(ne=m),z=M=1;z<=15;z++)if(M<<=1,(M-=Y[z])<0)return-1;if(0<M&&(_===0||U!==1))return-1;for(Q[1]=0,z=1;z<15;z++)Q[z+1]=Q[z]+Y[z];for(j=0;j<p;j++)v[y+j]!==0&&(k[Q[v[y+j]]++]=j);if(T=_===0?(A=fe=k,19):_===1?(A=s,te-=257,fe=l,Se-=257,256):(A=a,fe=d,-1),z=m,N=h,$=j=O=0,E=-1,x=(G=1<<(H=ne))-1,_===1&&852<G||_===2&&592<G)return 1;for(;;){for(I=z-$,L=k[j]<T?(R=0,k[j]):k[j]>T?(R=fe[Se+k[j]],A[te+k[j]]):(R=96,0),c=1<<z-$,m=g=1<<H;w[N+(O>>$)+(g-=c)]=I<<24|R<<16|L|0,g!==0;);for(c=1<<z-1;O&c;)c>>=1;if(c!==0?(O&=c-1,O+=c):O=0,j++,--Y[z]==0){if(z===U)break;z=v[y+k[j]]}if(ne<z&&(O&x)!==E){for($===0&&($=ne),N+=m,M=1<<(H=z-$);H+$<U&&!((M-=Y[H+$])<=0);)H++,M<<=1;if(G+=1<<H,_===1&&852<G||_===2&&592<G)return 1;w[E=O&x]=ne<<24|H<<16|N-h|0}}return O!==0&&(w[N+O]=z-$<<24|64<<16|0),u.bits=ne,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var o=n("../utils/common"),s=0,l=1;function a(S){for(var P=S.length;0<=--P;)S[P]=0}var d=0,_=29,v=256,y=v+1+_,p=30,w=19,h=2*y+1,k=15,u=16,c=7,g=256,E=16,x=17,N=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],I=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],R=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],L=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],X=new Array(2*(y+2));a(X);var z=new Array(2*p);a(z);var j=new Array(512);a(j);var m=new Array(256);a(m);var U=new Array(_);a(U);var ne,H,$,M=new Array(p);function G(S,P,b,W,D){this.static_tree=S,this.extra_bits=P,this.extra_base=b,this.elems=W,this.max_length=D,this.has_stree=S&&S.length}function O(S,P){this.dyn_tree=S,this.max_code=0,this.stat_desc=P}function A(S){return S<256?j[S]:j[256+(S>>>7)]}function te(S,P){S.pending_buf[S.pending++]=255&P,S.pending_buf[S.pending++]=P>>>8&255}function Y(S,P,b){S.bi_valid>u-b?(S.bi_buf|=P<<S.bi_valid&65535,te(S,S.bi_buf),S.bi_buf=P>>u-S.bi_valid,S.bi_valid+=b-u):(S.bi_buf|=P<<S.bi_valid&65535,S.bi_valid+=b)}function Q(S,P,b){Y(S,b[2*P],b[2*P+1])}function fe(S,P){for(var b=0;b|=1&S,S>>>=1,b<<=1,0<--P;);return b>>>1}function Se(S,P,b){var W,D,Z=new Array(k+1),J=0;for(W=1;W<=k;W++)Z[W]=J=J+b[W-1]<<1;for(D=0;D<=P;D++){var K=S[2*D+1];K!==0&&(S[2*D]=fe(Z[K]++,K))}}function oe(S){var P;for(P=0;P<y;P++)S.dyn_ltree[2*P]=0;for(P=0;P<p;P++)S.dyn_dtree[2*P]=0;for(P=0;P<w;P++)S.bl_tree[2*P]=0;S.dyn_ltree[2*g]=1,S.opt_len=S.static_len=0,S.last_lit=S.matches=0}function ce(S){8<S.bi_valid?te(S,S.bi_buf):0<S.bi_valid&&(S.pending_buf[S.pending++]=S.bi_buf),S.bi_buf=0,S.bi_valid=0}function Ie(S,P,b,W){var D=2*P,Z=2*b;return S[D]<S[Z]||S[D]===S[Z]&&W[P]<=W[b]}function xe(S,P,b){for(var W=S.heap[b],D=b<<1;D<=S.heap_len&&(D<S.heap_len&&Ie(P,S.heap[D+1],S.heap[D],S.depth)&&D++,!Ie(P,W,S.heap[D],S.depth));)S.heap[b]=S.heap[D],b=D,D<<=1;S.heap[b]=W}function yt(S,P,b){var W,D,Z,J,K=0;if(S.last_lit!==0)for(;W=S.pending_buf[S.d_buf+2*K]<<8|S.pending_buf[S.d_buf+2*K+1],D=S.pending_buf[S.l_buf+K],K++,W===0?Q(S,D,P):(Q(S,(Z=m[D])+v+1,P),(J=T[Z])!==0&&Y(S,D-=U[Z],J),Q(S,Z=A(--W),b),(J=I[Z])!==0&&Y(S,W-=M[Z],J)),K<S.last_lit;);Q(S,g,P)}function ct(S,P){var b,W,D,Z=P.dyn_tree,J=P.stat_desc.static_tree,K=P.stat_desc.has_stree,re=P.stat_desc.elems,he=-1;for(S.heap_len=0,S.heap_max=h,b=0;b<re;b++)Z[2*b]!==0?(S.heap[++S.heap_len]=he=b,S.depth[b]=0):Z[2*b+1]=0;for(;S.heap_len<2;)Z[2*(D=S.heap[++S.heap_len]=he<2?++he:0)]=1,S.depth[D]=0,S.opt_len--,K&&(S.static_len-=J[2*D+1]);for(P.max_code=he,b=S.heap_len>>1;1<=b;b--)xe(S,Z,b);for(D=re;b=S.heap[1],S.heap[1]=S.heap[S.heap_len--],xe(S,Z,1),W=S.heap[1],S.heap[--S.heap_max]=b,S.heap[--S.heap_max]=W,Z[2*D]=Z[2*b]+Z[2*W],S.depth[D]=(S.depth[b]>=S.depth[W]?S.depth[b]:S.depth[W])+1,Z[2*b+1]=Z[2*W+1]=D,S.heap[1]=D++,xe(S,Z,1),2<=S.heap_len;);S.heap[--S.heap_max]=S.heap[1],function(se,nt){var fr,wt,dr,Ee,mi,Vo,Tt=nt.dyn_tree,va=nt.max_code,Ad=nt.stat_desc.static_tree,Od=nt.stat_desc.has_stree,Dd=nt.stat_desc.extra_bits,ya=nt.stat_desc.extra_base,hr=nt.stat_desc.max_length,gi=0;for(Ee=0;Ee<=k;Ee++)se.bl_count[Ee]=0;for(Tt[2*se.heap[se.heap_max]+1]=0,fr=se.heap_max+1;fr<h;fr++)hr<(Ee=Tt[2*Tt[2*(wt=se.heap[fr])+1]+1]+1)&&(Ee=hr,gi++),Tt[2*wt+1]=Ee,va<wt||(se.bl_count[Ee]++,mi=0,ya<=wt&&(mi=Dd[wt-ya]),Vo=Tt[2*wt],se.opt_len+=Vo*(Ee+mi),Od&&(se.static_len+=Vo*(Ad[2*wt+1]+mi)));if(gi!==0){do{for(Ee=hr-1;se.bl_count[Ee]===0;)Ee--;se.bl_count[Ee]--,se.bl_count[Ee+1]+=2,se.bl_count[hr]--,gi-=2}while(0<gi);for(Ee=hr;Ee!==0;Ee--)for(wt=se.bl_count[Ee];wt!==0;)va<(dr=se.heap[--fr])||(Tt[2*dr+1]!==Ee&&(se.opt_len+=(Ee-Tt[2*dr+1])*Tt[2*dr],Tt[2*dr+1]=Ee),wt--)}}(S,P),Se(Z,he,S.bl_count)}function f(S,P,b){var W,D,Z=-1,J=P[1],K=0,re=7,he=4;for(J===0&&(re=138,he=3),P[2*(b+1)+1]=65535,W=0;W<=b;W++)D=J,J=P[2*(W+1)+1],++K<re&&D===J||(K<he?S.bl_tree[2*D]+=K:D!==0?(D!==Z&&S.bl_tree[2*D]++,S.bl_tree[2*E]++):K<=10?S.bl_tree[2*x]++:S.bl_tree[2*N]++,Z=D,he=(K=0)===J?(re=138,3):D===J?(re=6,3):(re=7,4))}function B(S,P,b){var W,D,Z=-1,J=P[1],K=0,re=7,he=4;for(J===0&&(re=138,he=3),W=0;W<=b;W++)if(D=J,J=P[2*(W+1)+1],!(++K<re&&D===J)){if(K<he)for(;Q(S,D,S.bl_tree),--K!=0;);else D!==0?(D!==Z&&(Q(S,D,S.bl_tree),K--),Q(S,E,S.bl_tree),Y(S,K-3,2)):K<=10?(Q(S,x,S.bl_tree),Y(S,K-3,3)):(Q(S,N,S.bl_tree),Y(S,K-11,7));Z=D,he=(K=0)===J?(re=138,3):D===J?(re=6,3):(re=7,4)}}a(M);var F=!1;function C(S,P,b,W){Y(S,(d<<1)+(W?1:0),3),function(D,Z,J,K){ce(D),te(D,J),te(D,~J),o.arraySet(D.pending_buf,D.window,Z,J,D.pending),D.pending+=J}(S,P,b)}i._tr_init=function(S){F||(function(){var P,b,W,D,Z,J=new Array(k+1);for(D=W=0;D<_-1;D++)for(U[D]=W,P=0;P<1<<T[D];P++)m[W++]=D;for(m[W-1]=D,D=Z=0;D<16;D++)for(M[D]=Z,P=0;P<1<<I[D];P++)j[Z++]=D;for(Z>>=7;D<p;D++)for(M[D]=Z<<7,P=0;P<1<<I[D]-7;P++)j[256+Z++]=D;for(b=0;b<=k;b++)J[b]=0;for(P=0;P<=143;)X[2*P+1]=8,P++,J[8]++;for(;P<=255;)X[2*P+1]=9,P++,J[9]++;for(;P<=279;)X[2*P+1]=7,P++,J[7]++;for(;P<=287;)X[2*P+1]=8,P++,J[8]++;for(Se(X,y+1,J),P=0;P<p;P++)z[2*P+1]=5,z[2*P]=fe(P,5);ne=new G(X,T,v+1,y,k),H=new G(z,I,0,p,k),$=new G(new Array(0),R,0,w,c)}(),F=!0),S.l_desc=new O(S.dyn_ltree,ne),S.d_desc=new O(S.dyn_dtree,H),S.bl_desc=new O(S.bl_tree,$),S.bi_buf=0,S.bi_valid=0,oe(S)},i._tr_stored_block=C,i._tr_flush_block=function(S,P,b,W){var D,Z,J=0;0<S.level?(S.strm.data_type===2&&(S.strm.data_type=function(K){var re,he=4093624447;for(re=0;re<=31;re++,he>>>=1)if(1&he&&K.dyn_ltree[2*re]!==0)return s;if(K.dyn_ltree[18]!==0||K.dyn_ltree[20]!==0||K.dyn_ltree[26]!==0)return l;for(re=32;re<v;re++)if(K.dyn_ltree[2*re]!==0)return l;return s}(S)),ct(S,S.l_desc),ct(S,S.d_desc),J=function(K){var re;for(f(K,K.dyn_ltree,K.l_desc.max_code),f(K,K.dyn_dtree,K.d_desc.max_code),ct(K,K.bl_desc),re=w-1;3<=re&&K.bl_tree[2*L[re]+1]===0;re--);return K.opt_len+=3*(re+1)+5+5+4,re}(S),D=S.opt_len+3+7>>>3,(Z=S.static_len+3+7>>>3)<=D&&(D=Z)):D=Z=b+5,b+4<=D&&P!==-1?C(S,P,b,W):S.strategy===4||Z===D?(Y(S,2+(W?1:0),3),yt(S,X,z)):(Y(S,4+(W?1:0),3),function(K,re,he,se){var nt;for(Y(K,re-257,5),Y(K,he-1,5),Y(K,se-4,4),nt=0;nt<se;nt++)Y(K,K.bl_tree[2*L[nt]+1],3);B(K,K.dyn_ltree,re-1),B(K,K.dyn_dtree,he-1)}(S,S.l_desc.max_code+1,S.d_desc.max_code+1,J+1),yt(S,S.dyn_ltree,S.dyn_dtree)),oe(S),W&&ce(S)},i._tr_tally=function(S,P,b){return S.pending_buf[S.d_buf+2*S.last_lit]=P>>>8&255,S.pending_buf[S.d_buf+2*S.last_lit+1]=255&P,S.pending_buf[S.l_buf+S.last_lit]=255&b,S.last_lit++,P===0?S.dyn_ltree[2*b]++:(S.matches++,P--,S.dyn_ltree[2*(m[b]+v+1)]++,S.dyn_dtree[2*A(P)]++),S.last_lit===S.lit_bufsize-1},i._tr_align=function(S){Y(S,2,3),Q(S,g,X),function(P){P.bi_valid===16?(te(P,P.bi_buf),P.bi_buf=0,P.bi_valid=0):8<=P.bi_valid&&(P.pending_buf[P.pending++]=255&P.bi_buf,P.bi_buf>>=8,P.bi_valid-=8)}(S)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(s,l){if(!s.setImmediate){var a,d,_,v,y=1,p={},w=!1,h=s.document,k=Object.getPrototypeOf&&Object.getPrototypeOf(s);k=k&&k.setTimeout?k:s,a={}.toString.call(s.process)==="[object process]"?function(E){process.nextTick(function(){c(E)})}:function(){if(s.postMessage&&!s.importScripts){var E=!0,x=s.onmessage;return s.onmessage=function(){E=!1},s.postMessage("","*"),s.onmessage=x,E}}()?(v="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",g,!1):s.attachEvent("onmessage",g),function(E){s.postMessage(v+E,"*")}):s.MessageChannel?((_=new MessageChannel).port1.onmessage=function(E){c(E.data)},function(E){_.port2.postMessage(E)}):h&&"onreadystatechange"in h.createElement("script")?(d=h.documentElement,function(E){var x=h.createElement("script");x.onreadystatechange=function(){c(E),x.onreadystatechange=null,d.removeChild(x),x=null},d.appendChild(x)}):function(E){setTimeout(c,0,E)},k.setImmediate=function(E){typeof E!="function"&&(E=new Function(""+E));for(var x=new Array(arguments.length-1),N=0;N<x.length;N++)x[N]=arguments[N+1];var T={callback:E,args:x};return p[y]=T,a(y),y++},k.clearImmediate=u}function u(E){delete p[E]}function c(E){if(w)setTimeout(c,0,E);else{var x=p[E];if(x){w=!0;try{(function(N){var T=N.callback,I=N.args;switch(I.length){case 0:T();break;case 1:T(I[0]);break;case 2:T(I[0],I[1]);break;case 3:T(I[0],I[1],I[2]);break;default:T.apply(l,I)}})(x)}finally{u(E),w=!1}}}}function g(E){E.source===s&&typeof E.data=="string"&&E.data.indexOf(v)===0&&c(+E.data.slice(v.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof vi<"u"?vi:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Gf);var cm=Gf.exports;const fm=Ou(cm);function $t(e){return{ok:!1,code:"invalid_type",expected:e}}const Kf=$t([]),Qf=$t(["string"]),Xf=$t(["number"]),dm=$t(["bigint"]),Yf=$t(["boolean"]),Jf=$t(["undefined"]),qf=$t(["null"]),hm=$t(["object"]),pm=$t(["array"]),da={ok:!1,code:"missing_value"};function Hn(e,t){return e?{ok:!1,code:"join",left:e,right:t}:t}function Jn(e,t){return{ok:!1,code:"prepend",key:e,tree:t}}function mm(e,t){var n;const r=e.code;switch(r){case"invalid_type":return{code:r,path:t,expected:e.expected};case"invalid_literal":return{code:r,path:t,expected:e.expected};case"missing_value":return{code:r,path:t};case"invalid_length":return{code:r,path:t,minLength:e.minLength,maxLength:e.maxLength};case"unrecognized_keys":return{code:r,path:t,keys:e.keys};case"invalid_union":return{code:r,path:t,tree:e.tree,issues:Mo(e.tree)};case"custom_error":return typeof e.error=="object"&&e.error.path!==void 0&&t.push(...e.error.path),{code:r,path:t,message:typeof e.error=="string"?e.error:(n=e.error)===null||n===void 0?void 0:n.message,error:e.error}}}function Mo(e,t=[],n=[]){for(;;)if(e.code==="join")Mo(e.left,t.slice(),n),e=e.right;else if(e.code==="prepend")t.push(e.key),e=e.tree;else return n.push(mm(e,t)),n}function ys(e,t){return e.length===0?"nothing":e.length===1?e[0]:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}function Pu(e){return typeof e=="bigint"?`${e}n`:JSON.stringify(e)}function ed(e){let t=0;for(;;)if(e.code==="join")t+=ed(e.left),e=e.right;else if(e.code==="prepend")e=e.tree;else return t+1}function td(e){let t="",n=0;for(;;)if(e.code==="join")n+=ed(e.right),e=e.left;else if(e.code==="prepend")t+=`.${e.key}`,e=e.tree;else break;let r="validation failed";if(e.code==="invalid_type")r=`expected ${ys(e.expected,"or")}`;else if(e.code==="invalid_literal")r=`expected ${ys(e.expected.map(Pu),"or")}`;else if(e.code==="missing_value")r="missing value";else if(e.code==="unrecognized_keys"){const o=e.keys;r=`unrecognized ${o.length===1?"key":"keys"} ${ys(o.map(Pu),"and")}`}else if(e.code==="invalid_length"){const o=e.minLength,s=e.maxLength;r="expected an array with ",o>0?s===o?r+=`${o}`:s!==void 0?r+=`between ${o} and ${s}`:r+=`at least ${o}`:r+=`at most ${s??"∞"}`,r+=" item(s)"}else if(e.code==="custom_error"){const o=e.error;typeof o=="string"?r=o:o!==void 0&&(o.message!==void 0&&(r=o.message),o.path!==void 0&&(t+="."+o.path.join(".")))}let i=`${e.code} at .${t.slice(1)} (${r})`;return n===1?i+=" (+ 1 other issue)":n>1&&(i+=` (+ ${n} other issues)`),i}function Mt(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:r,writable:!1}),n}class nd extends Error{constructor(t){super(td(t)),Object.setPrototypeOf(this,new.target.prototype),this.name=new.target.name,this._issueTree=t}get issues(){return Mt(this,"issues",Mo(this._issueTree),!0)}}class rd{constructor(t){this.ok=!1,this._issueTree=t}get issues(){return Mt(this,"issues",Mo(this._issueTree),!0)}get message(){return Mt(this,"message",td(this._issueTree),!0)}throw(){throw new nd(this._issueTree)}}function kn(e){return{ok:!0,value:e}}function Ur(e){return new rd({ok:!1,code:"custom_error",error:e})}function id(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const yn=1,ri=2,Bo=4,od=0,gm=1,sd=2,ld=3,vm=4,ad=5,ud=6,cd=7,fd=8,dd=9,hd=10,pd=11,md=12,gd=13,vd=14,Bt=(e,t)=>({tag:e,match:t});function Ye(e,t,n){switch(e.tag){case od:return;case gm:return Kf;case sd:return typeof t=="string"?void 0:Qf;case ld:return typeof t=="number"?void 0:Xf;case vm:return typeof t=="bigint"?void 0:dm;case ad:return typeof t=="boolean"?void 0:Yf;case ud:return t===null?void 0:qf;case cd:return t===void 0?void 0:Jf;case fd:return e.match(t,n);case dd:return e.match(t,n);case hd:return e.match(t,n);case pd:return e.match(t,n);case md:return e.match(t,n);case gd:return e.match(t,n);case vd:return e.match(t,n);default:return e.match(t,n)}}const ae=Symbol.for("@valita/internal");class yd{default(t){const n=kn(t);return new Et(this.optional(),r=>r===void 0?n:void 0)}assert(t,n){const r={ok:!1,code:"custom_error",error:n};return new Et(this,(i,o)=>t(i,ws(o))?void 0:r)}map(t){return new Et(this,(n,r)=>({ok:!0,value:t(n,ws(r))}))}chain(t){return typeof t=="function"?new Et(this,(n,r)=>{const i=t(n,ws(r));return i.ok?i:i._issueTree}):new Et(this,(n,r)=>Ye(t[ae],n,r))}}class In extends yd{optional(t){const n=new wm(this);return t?new Et(n,r=>r===void 0?{ok:!0,value:t()}:void 0):n}nullable(t){const n=new ym([Im(),this]);return t?new Et(n,r=>r===null?{ok:!0,value:t()}:void 0):n}_toTerminals(t){t(this)}try(t,n){const r=Ye(this[ae],t,n===void 0?yn:n.mode==="strip"?ri:n.mode==="passthrough"?0:yn);return r===void 0||r.ok?{ok:!0,value:r===void 0?t:r.value}:new rd(r)}parse(t,n){const r=Ye(this[ae],t,n===void 0?yn:n.mode==="strip"?ri:n.mode==="passthrough"?0:yn);if(r===void 0||r.ok)return r===void 0?t:r.value;throw new nd(r)}}class ym extends In{constructor(t){super(),this.name="union",this.options=t}get[ae](){const t=this.options.map(n=>n[ae]);return Mt(this,ae,Bt(gd,(n,r)=>{let i=Kf;for(const o of t){const s=Ye(o,n,r);if(s===void 0||s.ok)return s;i=s}return i}),!1)}_toTerminals(t){for(const n of this.options)n._toTerminals(t)}}class wm extends yd{constructor(t){super(),this.name="optional",this.type=t}optional(t){return t?new Et(this,n=>n===void 0?{ok:!0,value:t()}:void 0):this}get[ae](){const t=this.type[ae];return Mt(this,ae,Bt(dd,(n,r)=>n===void 0||r&Bo?void 0:Ye(t,n,r)),!1)}_toTerminals(t){t(this),t(Pm()),this.type._toTerminals(t)}}function wd(e,t){if(typeof e!="number"){const n=t>>5;for(let r=e.length;r<=n;r++)e.push(0);return e[n]|=1<<t%32,e}else return t<32?e|1<<t:wd([e,0],t)}function Sr(e,t){return typeof e=="number"?t<32?e>>>t&1:0:e[t>>5]>>>t%32&1}class Rt extends In{constructor(t,n,r){super(),this.name="object",this.shape=t,this._restType=n,this._checks=r}get[ae](){const t=_m(this.shape,this._restType,this._checks);return Mt(this,ae,Bt(hd,(n,r)=>id(n)?t(n,r):hm),!1)}check(t,n){var r;const i={ok:!1,code:"custom_error",error:n};return new Rt(this.shape,this._restType,[...(r=this._checks)!==null&&r!==void 0?r:[],{func:t,issue:i}])}rest(t){return new Rt(this.shape,t)}extend(t){return new Rt(Object.assign(Object.assign({},this.shape),t),this._restType)}pick(...t){const n={};for(const r of t)rt(n,r,this.shape[r]);return new Rt(n,void 0)}omit(...t){const n=Object.assign({},this.shape);for(const r of t)delete n[r];return new Rt(n,this._restType)}partial(){var t;const n={};for(const i of Object.keys(this.shape))rt(n,i,this.shape[i].optional());const r=(t=this._restType)===null||t===void 0?void 0:t.optional();return new Rt(n,r)}}function rt(e,t,n){t==="__proto__"?Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0}):e[t]=n}function _m(e,t,n){const r=Object.keys(e).map((l,a)=>{const d=e[l];let _=!1;return d._toTerminals(v=>{_||(_=v.name==="optional")}),{key:l,index:a,matcher:d[ae],optional:_,missing:Jn(l,da)}}),i=Object.create(null);for(const l of r)i[l.key]=l;const o=t==null?void 0:t[ae],s=r.length===0&&(t==null?void 0:t.name)==="unknown"&&n===void 0;return(l,a)=>{if(s)return;let d,_,v,y=0,p=0;if(a&(yn|ri)||o!==void 0)for(const w in l){const h=l[w],k=i[w];if(k===void 0&&o===void 0){if(a&yn)v===void 0?(v=[w],_=Hn(_,{ok:!1,code:"unrecognized_keys",keys:v})):v.push(w);else if(a&ri&&_===void 0&&d===void 0){d={};for(let c=0;c<r.length;c++)if(Sr(y,c)){const g=r[c].key;rt(d,g,l[g])}}continue}const u=Ye(k===void 0?o:k.matcher,h,a);if(u===void 0)d!==void 0&&_===void 0&&rt(d,w,h);else if(!u.ok)_=Hn(_,Jn(w,u));else if(_===void 0){if(d===void 0)if(d={},o===void 0){for(let c=0;c<r.length;c++)if(Sr(y,c)){const g=r[c].key;rt(d,g,l[g])}}else for(const c in l)rt(d,c,l[c]);rt(d,w,u.value)}k!==void 0&&(p++,y=wd(y,k.index))}if(p<r.length)for(let w=0;w<r.length;w++){if(Sr(y,w))continue;const h=r[w],k=l[h.key];let u=0;if(k===void 0&&!(h.key in l)){if(!h.optional){_=Hn(_,h.missing);continue}u=Bo}const c=Ye(h.matcher,k,a|u);if(c===void 0)d!==void 0&&_===void 0&&!u&&rt(d,h.key,k);else if(!c.ok)_=Hn(_,Jn(h.key,c));else if(_===void 0){if(d===void 0)if(d={},o===void 0){for(let g=0;g<r.length;g++)if(g<w||Sr(y,g)){const E=r[g].key;rt(d,E,l[E])}}else{for(const g in l)rt(d,g,l[g]);for(let g=0;g<w;g++)if(!Sr(y,g)){const E=r[g].key;rt(d,E,l[E])}}rt(d,h.key,c.value)}}if(_!==void 0)return _;if(n!==void 0){for(const{func:w,issue:h}of n)if(!w(d??l))return h}return d&&{ok:!0,value:d}}}class qn extends In{constructor(t,n,r){super(),this.name="array",this._prefix=t,this._rest=n,this._suffix=r}get[ae](){var t,n;const r=this._prefix.map(d=>d[ae]),i=this._suffix.map(d=>d[ae]),o=(n=(t=this._rest)===null||t===void 0?void 0:t[ae])!==null&&n!==void 0?n:Bt(1,()=>da),s=r.length+i.length,l=this._rest?1/0:s,a={ok:!1,code:"invalid_length",minLength:s,maxLength:l===1/0?void 0:l};return Mt(this,ae,Bt(pd,(d,_)=>{if(!Array.isArray(d))return pm;const v=d.length;if(v<s||v>l)return a;const y=r.length,p=d.length-i.length;let w,h=d;for(let k=0;k<d.length;k++){const u=k<y?r[k]:k>=p?i[k-p]:o,c=Ye(u,d[k],_);c!==void 0&&(c.ok?(h===d&&(h=d.slice()),h[k]=c.value):w=Hn(w,Jn(k,c)))}return w||(d===h?void 0:{ok:!0,value:h})}),!1)}concat(t){if(this._rest){if(t._rest)throw new TypeError("can not concatenate two variadic types");return new qn(this._prefix,this._rest,[...this._suffix,...t._prefix,...t._suffix])}else return t._rest?new qn([...this._prefix,...this._suffix,...t._prefix],t._rest,t._suffix):new qn([...this._prefix,...this._suffix,...t._prefix,...t._suffix],t._rest,t._suffix)}}function ko(e){const t=typeof e;return t!=="object"?t:e===null?"null":Array.isArray(e)?"array":t}function xr(e){return[...new Set(e)]}function _d(e){var t,n,r;const i=new Map,o=new Map,s=new Map,l=[],a=[],d=[];for(const{root:v,terminal:y}of e)if(i.set(v,(t=i.get(v))!==null&&t!==void 0?t:i.size),y.name!=="never")if(y.name==="optional")a.push(v);else if(y.name==="unknown")l.push(v);else if(y.name==="literal"){const p=(n=o.get(y.value))!==null&&n!==void 0?n:[];p.push(v),o.set(y.value,p),d.push(ko(y.value))}else{const p=(r=s.get(y.name))!==null&&r!==void 0?r:[];p.push(v),s.set(y.name,p),d.push(y.name)}const _=(v,y)=>{var p,w;return((p=i.get(v))!==null&&p!==void 0?p:0)-((w=i.get(y))!==null&&w!==void 0?w:0)};for(const[v,y]of o){const p=s.get(ko(v));p?(p.push(...y),o.delete(v)):o.set(v,xr(y.concat(l)).sort(_))}for(const[v,y]of s)s.set(v,xr(y.concat(l)).sort(_));return{types:s,literals:o,unknowns:xr(l).sort(_),optionals:xr(a).sort(_),expectedTypes:xr(d)}}function km(e,t){var n;const r=[];for(const{root:w,terminal:h}of e)h.shape[t]._toTerminals(k=>r.push({root:w,terminal:k}));const{types:i,literals:o,optionals:s,unknowns:l,expectedTypes:a}=_d(r);if(l.length>0||s.length>1)return;for(const w of o.values())if(w.length>1)return;for(const w of i.values())if(w.length>1)return;const d=Jn(t,da),_=Jn(t,i.size===0?{ok:!1,code:"invalid_literal",expected:[...o.keys()]}:{ok:!1,code:"invalid_type",expected:a}),v=o.size>0?new Map:void 0;if(v)for(const[w,h]of o)v.set(w,h[0][ae]);const y=i.size>0?{}:void 0;if(y)for(const[w,h]of i)y[w]=h[0][ae];const p=(n=s[0])===null||n===void 0?void 0:n[ae];return(w,h)=>{var k;const u=w[t];if(u===void 0&&!(t in w))return p===void 0?d:Ye(p,w,h);const c=(k=y==null?void 0:y[ko(u)])!==null&&k!==void 0?k:v==null?void 0:v.get(u);return c?Ye(c,w,h):_}}function Sm(e){var t;const n=[],r=new Map;for(const{root:i,terminal:o}of e){if(o.name==="unknown")return;if(o.name==="object"){for(const s in o.shape)r.set(s,((t=r.get(s))!==null&&t!==void 0?t:0)+1);n.push({root:i,terminal:o})}}if(!(n.length<2)){for(const[i,o]of r)if(o===n.length){const s=km(n,i);if(s)return s}}}function xm(e){const{expectedTypes:t,literals:n,types:r,unknowns:i,optionals:o}=_d(e),s=r.size===0&&i.length===0?{ok:!1,code:"invalid_literal",expected:[...n.keys()]}:{ok:!1,code:"invalid_type",expected:t},l=n.size>0?new Map:void 0;if(l)for(const[v,y]of n)l.set(v,y.map(p=>p[ae]));const a=r.size>0?{}:void 0;if(a)for(const[v,y]of r)a[v]=y.map(p=>p[ae]);const d=o.map(v=>v[ae]),_=i.map(v=>v[ae]);return(v,y)=>{var p,w;const h=y&Bo?d:(w=(p=a==null?void 0:a[ko(v)])!==null&&p!==void 0?p:l==null?void 0:l.get(v))!==null&&w!==void 0?w:_;let k=0,u=s;for(let c=0;c<h.length;c++){const g=Ye(h[c],v,y);if(g===void 0||g.ok)return g;u=k>0?Hn(u,g):g,k++}return k>1?{ok:!1,code:"invalid_union",tree:u}:u}}class Em extends In{constructor(t){super(),this.name="union",this.options=t}_toTerminals(t){for(const n of this.options)n._toTerminals(t)}get[ae](){const t=[];for(const i of this.options)i._toTerminals(o=>{t.push({root:i,terminal:o})});const n=xm(t),r=Sm(t);return Mt(this,ae,Bt(md,(i,o)=>r!==void 0&&id(i)?r(i,o):n(i,o)),!1)}}const Cm=Object.freeze({mode:"strict"}),zm=Object.freeze({mode:"strip"}),Tm=Object.freeze({mode:"passthrough"});function ws(e){return e&yn?Cm:e&ri?zm:Tm}class Et extends In{constructor(t,n){super(),this.name="transform",this._transformed=t,this._transform=n}get[ae](){const t=[];let n=this;for(;n instanceof Et;)t.push(n._transform),n=n._transformed;t.reverse();const r=n[ae],i=kn(void 0);return Mt(this,ae,Bt(vd,(o,s)=>{let l=Ye(r,o,s);if(l!==void 0&&!l.ok)return l;let a;l!==void 0?a=l.value:s&Bo?(a=void 0,l=i):a=o;for(let d=0;d<t.length;d++){const _=t[d](a,s);if(_!==void 0){if(!_.ok)return _;a=_.value,l=_}}return l}),!1)}_toTerminals(t){this._transformed._toTerminals(t)}}function cr(e,t,n){const r=Bt(t,n);class i extends In{constructor(){super(),this.name=e,this[ae]=r}}const o=new i;return()=>o}const kd=cr("unknown",od,()=>{}),qe=cr("string",sd,e=>typeof e=="string"?void 0:Qf),Nm=cr("number",ld,e=>typeof e=="number"?void 0:Xf),Er=cr("boolean",ad,e=>typeof e=="boolean"?void 0:Yf),Im=cr("null",ud,e=>e===null?void 0:qf),Pm=cr("undefined",cd,e=>e===void 0?void 0:Jf);class Rm extends In{constructor(t){super(),this.name="literal";const n={ok:!1,code:"invalid_literal",expected:[t]};this[ae]=Bt(fd,r=>r===t?void 0:n),this.value=t}}const Sd=e=>new Rm(e),Pn=e=>new Rt(e,void 0),pl=e=>new Rt({},e??kd()),St=e=>new qn([],e??kd(),[]),Am=e=>new qn(e,void 0,[]),Mr=(...e)=>new Em(e),Om=/^did:([a-z]+):([a-zA-Z0-9._:%\-]*[a-zA-Z0-9._\-])$/,Dm=e=>typeof e=="string"&&e.length>=7&&e.length<=2048&&Om.test(e),Lm=/^#[^#]+$/,jm=/^z[a-km-zA-HJ-NP-Z1-9]+$/,Vn=qe().assert(e=>URL.canParse(e),"must be a url"),ha=qe().assert(e=>Lm.test(e)||URL.canParse(e),"must be a did relative uri"),Fm=qe().assert(e=>jm.test(e),"must be a base58 multibase"),Qi=qe().assert(Dm,"must be a did"),Ru=Pn({id:ha,type:qe(),controller:Qi,publicKeyMultibase:Fm.optional(),publicKeyJwk:pl().optional()}).chain(e=>{switch(e.type){case"Multikey":{if(e.publicKeyMultibase===void 0)return Ur({message:"missing multikey",path:["publicKeyMultibase"]});break}case"EcdsaSecp256k1VerificationKey2019":case"EcdsaSecp256r1VerificationKey2019":{if(e.publicKeyMultibase===void 0)return Ur({message:"missing multibase key",path:["publicKeyMultibase"]});break}}return kn(e)}),Um=Pn({id:ha,type:Mr(qe(),St(qe())),serviceEndpoint:Mr(Vn,pl(Vn),St(Mr(Vn,pl(Vn))))}),Mm=Pn({"@context":St(Vn),id:Qi,alsoKnownAs:St(Vn).chain(e=>{for(let t=0,n=e.length;t<n;t++){const r=e[t];for(let i=0;i<t;i++)if(r===e[i])return Ur({message:`duplicate "${r}" aka entry`,path:[t]})}return kn(e)}).optional(),verificationMethod:St(Ru).chain(e=>{for(let t=0,n=e.length;t<n;t++){const i=e[t].id;for(let o=0;o<t;o++)if(i===e[o].id)return Ur({message:`duplicate "${i}" verification method`,path:[t,"id"]})}return kn(e)}).optional(),service:St(Um).optional(),controller:Mr(Qi,St(Qi)).optional(),authentication:St(Mr(ha,Ru)).optional()}).chain(e=>{const{id:t,service:n}=e;if(n!=null&&n.length){const r=n.length,i=new Array(r);for(let o=0;o<r;o++){let l=n[o].id;l[0]==="#"&&(l=t+l),i[o]=l}for(let o=0;o<r;o++){const s=i[o];for(let l=0;l<o;l++)if(s===i[l])return Ur({message:`duplicate "${s}" service`,path:["service",o,"id"]})}}return kn(e)}),Bm=/^did:plc:([a-z2-7]{24})$/,bm=e=>e.length===32&&Bm.test(e),$m=/^did:web:([a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*(?:\.[a-zA-Z]{2,})|localhost(?:%3[aA]\d+)?)$/,Wm=e=>e.length>=12&&$m.test(e),xd=e=>bm(e)||Wm(e),Hm=e=>{const t=e.indexOf(":",4);return e.slice(4,t)};class bo extends Error{constructor(){super(...arguments);ue(this,"name","DidResolutionError")}}class pa extends bo{constructor(n){super(`unsupported did method; did=${n}`);ue(this,"did");ue(this,"name","UnsupportedDidMethodError");this.did=n}}class Vm extends bo{constructor(n){super(`improper did; did=${n}`);ue(this,"did");ue(this,"name","ImproperDidError");this.did=n}}class Ed extends bo{constructor(n){super(`did document not found; did=${n}`);ue(this,"did");ue(this,"name","DocumentNotFoundError");this.did=n}}class Cd extends bo{constructor(n,r){super(`failed to resolve did document; did=${n}`,r);ue(this,"did");ue(this,"name","FailedDocumentResolutionError");this.did=n}}class $o extends Error{constructor(){super(...arguments);ue(this,"name","HandleResolutionError")}}class ml extends $o{constructor(n){super(`handle returned no did; handle=${n}`);ue(this,"handle");ue(this,"name","DidNotFoundError");this.handle=n}}class gl extends $o{constructor(n,r){super(`failed to resolve handle; handle=${n}`,r);ue(this,"handle");ue(this,"name","FailedHandleResolutionError");this.handle=n}}class zd extends $o{constructor(n,r){super(`handle returned invalid did; handle=${n}; did=${r}`);ue(this,"handle");ue(this,"did");ue(this,"name","InvalidResolvedHandleError");this.handle=n,this.did=r}}class Td extends $o{constructor(n){super(`handle returned multiple did values; handle=${n}`);ue(this,"name","AmbiguousHandleError")}}var ii;class Zm{constructor({methods:t}){fn(this,ii);dn(this,ii,new Map(Object.entries(t)))}async resolve(t,n){const r=Hm(t),i=cn(this,ii).get(r);if(i===void 0)throw new pa(t);return await i.resolve(t,n)}}ii=new WeakMap;class Wo extends Error{constructor(){super(...arguments);ue(this,"name","FetchResponseError")}}class Ho extends Wo{constructor(n,r){super(r);ue(this,"status");ue(this,"name","FailedResponseError");this.status=n}}class Au extends Wo{constructor(n,r){super(r);ue(this,"contentType");ue(this,"name","ImproperContentTypeError");this.contentType=n}}class vl extends Wo{constructor(n,r,i){super(i);ue(this,"expectedSize");ue(this,"actualSize");ue(this,"name","ImproperContentLengthError");this.expectedSize=n,this.actualSize=r}}class Gm extends Wo{constructor(n,r){super(n,r);ue(this,"name","ImproperResponseError")}}function ma(...e){return e.reduce(Km)}const Km=(e,t)=>n=>e(n).then(t);class Qm extends TransformStream{constructor(t){let n=0;super({transform(r,i){if(n+=r.length,n>t){i.error(new vl(t,n,"response content-length too large"));return}i.enqueue(r)}})}}const ga=async e=>{if(e.ok)return e;throw e.body&&await e.body.cancel(),new Ho(e.status,`got http ${e.status}`)},Xm=e=>async t=>{const n=await Pd(t,e);return{response:t,text:n}},Nd=(e,t)=>async n=>{await Ym(n,e);const r=await Pd(n,t);try{const i=JSON.parse(r);return{response:n,json:i}}catch(i){throw new Gm("unexpected json data",{cause:i})}},Id=(e,t)=>async n=>{const r=e.parse(n.json,t);return{response:n.response,json:r}},Ym=async(e,t)=>{var r;const n=(r=e.headers.get("content-type"))==null?void 0:r.split(";",1)[0].trim();if(n===void 0)throw e.body&&await e.body.cancel(),new Au(null,"missing response content-type");if(!t.test(n))throw e.body&&await e.body.cancel(),new Au(n,"unexpected response content-type")},Pd=async(e,t)=>{var o,s;const n=e.headers.get("content-length");if(n!==null){const l=Number(n);if(!Number.isSafeInteger(l)||l<=0)throw(o=e.body)==null||o.cancel(),new vl(t,null,"invalid response content-length");if(l>t)throw(s=e.body)==null||s.cancel(),new vl(t,l,"response content-length too large")}const r=e.body.pipeThrough(new Qm(t)).pipeThrough(new TextDecoderStream);let i="";for await(const l of Jm(r))i+=l;return i},Jm=Symbol.asyncIterator in ReadableStream.prototype?e=>e[Symbol.asyncIterator]():e=>{const t=e.getReader();return{[Symbol.asyncIterator](){return this},next(){return t.read()},async return(){return await t.cancel(),{done:!0,value:void 0}},async throw(n){return await t.cancel(n),{done:!0,value:void 0}}}},Rd=ma(ga,Nd(/^application\/(did\+ld\+)?json$/,20*1024),Id(Mm,{mode:"passthrough"}));var oi;class qm{constructor({apiUrl:t="https://plc.directory",fetch:n=fetch}={}){ue(this,"apiUrl");fn(this,oi);this.apiUrl=t,dn(this,oi,n)}async resolve(t,n){if(!t.startsWith("did:plc:"))throw new pa(t);let r;try{const i=new URL(`/${encodeURIComponent(t)}`,this.apiUrl),o=await cn(this,oi)(i,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,redirect:"manual",headers:{accept:"application/did+ld+json,application/json"}});if(o.status>=300&&o.status<400)throw new TypeError("unexpected redirect");r=(await Rd(o)).json}catch(i){throw i instanceof Ho&&i.status===404?new Ed(t):new Cd(t,{cause:i})}return r}}oi=new WeakMap;var si;class e0{constructor({fetch:t=fetch}={}){fn(this,si);dn(this,si,t)}async resolve(t,n){if(!t.startsWith("did:web:"))throw new pa(t);const[r,...i]=t.slice(8).split(":").map(decodeURIComponent),o=new URL(`https://${r}/.well-known/did.json`);if(i.length>0)throw new Vm(t);let s;try{const l=await cn(this,si)(o,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,redirect:"manual",headers:{accept:"application/did+ld+json,application/json"}});if(l.status>=300&&l.status<400)throw new TypeError("unexpected redirect");s=(await Rd(l)).json}catch(l){throw l instanceof Ho&&l.status===404?new Ed(t):new Cd(t,{cause:l})}return s}}si=new WeakMap;var li;class t0{constructor({methods:t,strategy:n="race"}){fn(this,li);ue(this,"strategy");dn(this,li,t),this.strategy=n}async resolve(t,n){const{http:r,dns:i}=cn(this,li),o=n==null?void 0:n.signal,s=new AbortController;o&&o.addEventListener("abort",()=>s.abort(),{signal:s.signal});const l=i.resolve(t,{...n,signal:s.signal}),a=r.resolve(t,{...n,signal:s.signal});switch(this.strategy){case"race":return new Promise(d=>{l.then(_=>{s.abort(),d(_)},()=>d(a)),a.then(_=>{s.abort(),d(_)},()=>d(l))});case"dns-first":{a.catch(ji);const d=await l.catch(ji);return d?(s.abort(),d):a}case"http-first":{l.catch(ji);const d=await a.catch(ji);return d?(s.abort(),d):l}case"both":{const[d,_]=await Promise.allSettled([l,a]),v=d.status==="fulfilled"?d.value:void 0,y=_.status==="fulfilled"?_.value:void 0;if(v&&y&&v!==y)throw new Td(t);return v||y||l}}}}li=new WeakMap;const ji=()=>{},So=Nm().assert(e=>Number.isInteger(e)&&e>=0&&e<=2**32-1),n0=Pn({name:qe(),type:Sd(16)}),r0=Pn({name:qe(),type:Sd(16),TTL:So,data:qe().chain(e=>kn(e.replace(/^"|"$/g,"").replace(/\\"/g,'"')))}),i0=Pn({name:qe(),type:So,TTL:So,data:qe()}),o0=Pn({Status:So,TC:Er(),RD:Er(),RA:Er(),AD:Er(),CD:Er(),Question:Am([n0]),Answer:St(r0).optional(()=>[]),Authority:St(i0).optional(),Comment:qe().optional()}),s0="_atproto",_s="did=",l0=ma(ga,Nd(/^application\/(dns-)?json$/,16*1024),Id(o0,{mode:"passthrough"}));var ai;class a0{constructor({dohUrl:t,fetch:n=fetch}){ue(this,"dohUrl");fn(this,ai);this.dohUrl=t,dn(this,ai,n)}async resolve(t,n){let r;try{const s=new URL(this.dohUrl);s.searchParams.set("name",`${s0}.${t}`),s.searchParams.set("type","TXT");const l=await cn(this,ai)(s,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,headers:{accept:"application/dns-json"}});r=(await l0(l)).json}catch(s){throw new gl(t,{cause:s})}const i=r.Status,o=r.Answer;if(i!==0)throw i===3?new ml(t):new gl(t,{cause:new TypeError(`dns returned ${i}`)});for(let s=0,l=o.length;s<l;s++){const d=o[s].data;if(!d.startsWith(_s))continue;for(let v=s+1;v<l;v++)if(o[v].data.startsWith(_s))throw new Td(t);const _=d.slice(_s.length);if(!xd(_))throw new zd(t,_);return _}throw new ml(t)}}ai=new WeakMap;const u0=ma(ga,Xm(2064));var ui;class c0{constructor({fetch:t=fetch}={}){fn(this,ui);dn(this,ui,t)}async resolve(t,n){let r;try{const o=new URL("/.well-known/atproto-did",`https://${t}`),s=await cn(this,ui)(o,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,redirect:"manual"});if(s.status>=300&&s.status<400)throw new TypeError("unexpected redirect");r=(await u0(s)).text}catch(o){throw o instanceof Ho&&o.status===404?new ml(t):new gl(t,{cause:o})}const i=r.split(`
52
-
`)[0].trim();if(!xd(i))throw new zd(t,i);return i}}ui=new WeakMap;function f0(){const[e,t]=It.useState(""),[n,r]=It.useState(""),[i,o]=It.useState(null),[s,l]=It.useState([]),[a,d]=It.useState(!1),_=new Zm({methods:{plc:new qm({apiUrl:"https://plc.directory"}),web:new e0}}),v=new t0({strategy:"dns-first",methods:{dns:new a0({dohUrl:"https://dns.google/resolve?"}),http:new c0}}),[y]=It.useState(()=>new URLSearchParams(window.location.search).has("debug")||localStorage.getItem("debug")==="true");async function p(){var x,N;try{if(!e||!n){alert("Enter handle and app password");return}const T=await v.resolve(e);if(!T){alert("Failed to resolve handle to DID");return}const I=await _.resolve(T);if(!((N=(x=I==null?void 0:I.service)==null?void 0:x[0])!=null&&N.serviceEndpoint)){alert("Could not determine PDS endpoint from DID Document");return}const R=I.service[0].serviceEndpoint,L=await fetch(`${R}/xrpc/com.atproto.server.createSession`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({identifier:e,password:n})});if(!L.ok){const z=await L.text();console.error("Login failed:",z),alert("Login failed, check handle and app password");return}const X=await L.json();o({...X,serviceEndpoint:R}),console.log("Logged in successfully!",X,R)}catch(T){console.error("Login error:",T),alert("Error during login. See console for details.")}}async function w(x){var X;const N=(X=x.target.files)==null?void 0:X[0];if(!N)return;let T;if(N.name.endsWith(".zip"))try{const z=await fm.loadAsync(N),j=z.file("TikTok/Profile and Settings/Following.txt")||z.file("Profile and Settings/Following.txt")||z.files[Object.keys(z.files).find(m=>m.endsWith("Following.txt")&&m.includes("Profile"))||""];if(!j){alert("Could not find Following.txt in the ZIP file. Expected path: TikTok/Profile and Settings/Following.txt");return}T=await j.async("string"),console.log("Successfully extracted Following.txt from ZIP file")}catch(z){console.error("Error processing ZIP file:",z),alert("Error processing ZIP file. Please make sure it's a valid TikTok data export.");return}else if(N.name.endsWith(".txt"))T=await N.text(),console.log("Processing direct Following.txt file");else{alert("Please upload either a Following.txt file or a TikTok data export ZIP file");return}const I=[],R=T.split(`
53
-
54
-
`).map(z=>z.trim()).filter(Boolean);for(const z of R){const j=z.match(/Username:\s*(.+)/);z.match(/Date:\s*(.+)/),j&&I.push({username:j[1].trim(),date:""})}if(console.log(`Loaded ${I.length} TikTok users from ${N.name}:`,I.map(z=>z.username)),I.length===0){alert("No users found in the file. Please make sure it's a valid TikTok Following.txt file.");return}const L=I.map(z=>({tiktokUser:z,bskyMatches:[],isSearching:!1,selectedMatches:new Set}));l(L),setTimeout(()=>k(L),100)}async function h(x){if(!i)return[];try{const N=await fetch(`${i.serviceEndpoint}/xrpc/app.bsky.actor.searchActors?q=${encodeURIComponent(x)}&limit=20`,{headers:{Authorization:`Bearer ${i.accessJwt}`}});if(!N.ok)throw new Error(`Search failed: ${N.status}`);const T=await N.json(),I=L=>L.toLowerCase().replace(/[._-]/g,""),R=I(x);return T.actors.map(L=>{const X=L.handle.split(".")[0],z=I(X),j=I(L.handle),m=I(L.displayName||"");let U=0;return z===R?U=100:j===R?U=90:m===R?U=80:z.includes(R)?U=60:j.includes(R)?U=50:m.includes(R)?U=40:R.includes(z)&&(U=30),{...L,matchScore:U}}).filter(L=>L.matchScore>0).sort((L,X)=>X.matchScore-L.matchScore).slice(0,5)}catch(N){return console.error(`Search error for ${x}:`,N),[]}}async function k(x){const N=x||s;if(!i||N.length===0)return;d(!0);const T=3;for(let I=0;I<N.length;I+=T){const R=N.slice(I,I+T);l(z=>z.map((j,m)=>I<=m&&m<I+T?{...j,isSearching:!0}:j));const L=R.map(async(z,j)=>{const m=I+j;try{const U=await h(z.tiktokUser.username);return{globalIndex:m,matches:U,error:void 0}}catch(U){return{globalIndex:m,matches:[],error:U instanceof Error?U.message:"Search failed"}}}),X=await Promise.all(L);l(z=>z.map((j,m)=>{const U=X.find(ne=>ne.globalIndex===m);if(U){const ne=new Set;return U.matches.length>0&&ne.add(U.matches[0].did),{...j,bskyMatches:U.matches,isSearching:!1,error:U.error,selectedMatches:ne}}return j})),I+T<N.length&&await new Promise(z=>setTimeout(z,1e3))}d(!1)}function u(x,N){l(T=>T.map((I,R)=>{if(R===x){const L=new Set(I.selectedMatches);return L.has(N)?L.delete(N):L.add(N),{...I,selectedMatches:L}}return I}))}function c(){l(x=>x.map(N=>{const T=new Set;return N.bskyMatches.length>0&&T.add(N.bskyMatches[0].did),{...N,selectedMatches:T}}))}function g(){l(x=>x.map(N=>({...N,selectedMatches:new Set})))}async function E(){if(!i)return;const x=s.flatMap((N,T)=>N.bskyMatches.filter(I=>{var R;return(R=N.selectedMatches)==null?void 0:R.has(I.did)}).map(I=>({...I,resultIndex:T})));if(x.length===0){alert("No users selected to follow");return}for(const N of x){try{(await fetch(`${i.serviceEndpoint}/xrpc/com.atproto.repo.createRecord`,{method:"POST",headers:{Authorization:`Bearer ${i.accessJwt}`,"Content-Type":"application/json"},body:JSON.stringify({repo:i.did,collection:"app.bsky.graph.follow",record:{$type:"app.bsky.graph.follow",subject:N.did,createdAt:new Date().toISOString()}})})).ok&&l(I=>I.map((R,L)=>L===N.resultIndex?{...R,bskyMatches:R.bskyMatches.map(X=>X.did===N.did?{...X,followed:!0}:X)}:R))}catch(T){console.error(`Follow error for ${N.handle}:`,T)}await new Promise(T=>setTimeout(T,500))}}return ee.jsx("div",{className:"p-6 max-w-6xl mx-auto",children:i?ee.jsxs("div",{className:"space-y-6",children:[ee.jsxs("div",{className:"flex justify-between items-center",children:[ee.jsx("h1",{className:"text-2xl font-bold",children:"TikTok → Bluesky Sync"}),ee.jsxs("div",{className:"flex items-center space-x-4",children:[ee.jsxs("p",{className:"text-gray-600",children:["Logged in as ",i.handle]}),y&&ee.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded",children:"DEBUG MODE"})]})]}),ee.jsxs("div",{className:"space-y-4",children:[ee.jsxs("div",{children:[ee.jsx("label",{className:"block text-sm font-medium mb-2",children:"Upload your TikTok Following.txt file:"}),ee.jsx("input",{type:"file",accept:".txt",onChange:w,className:"border border-gray-300 p-2 rounded"})]}),s.length>0&&ee.jsxs("div",{className:"flex flex-col space-y-4",children:[a&&ee.jsxs("div",{className:"flex items-center space-x-3 p-4 bg-blue-50 border border-blue-200 rounded-lg",children:[ee.jsx("div",{className:"animate-spin h-5 w-5 border-2 border-blue-500 border-t-transparent rounded-full"}),ee.jsxs("span",{className:"text-blue-700 font-medium",children:["Searching Bluesky for all ",s.length," users..."]})]}),y&&ee.jsx(d0,{session:i})]})]}),s.length>0&&ee.jsxs("div",{className:"space-y-4",children:[ee.jsxs("div",{className:"flex justify-between items-center",children:[ee.jsxs("h2",{className:"text-xl font-semibold",children:["Results (",s.filter(x=>x.bskyMatches.length>0).length,"/",s.length," found)"]}),ee.jsxs("div",{className:"flex items-center space-x-4",children:[ee.jsxs("span",{className:"text-sm text-gray-600",children:[s.reduce((x,N)=>{var T;return x+(((T=N.selectedMatches)==null?void 0:T.size)||0)},0)," selected"]}),ee.jsxs("div",{className:"flex space-x-2",children:[ee.jsx("button",{onClick:c,className:"px-3 py-1 bg-blue-500 hover:bg-blue-600 text-white rounded text-sm",children:"Select All"}),ee.jsx("button",{onClick:g,className:"px-3 py-1 bg-gray-500 hover:bg-gray-600 text-white rounded text-sm",children:"Deselect All"}),ee.jsx("button",{onClick:E,className:"px-4 py-1 bg-green-500 hover:bg-green-600 text-white rounded text-sm font-medium",children:"Follow Selected"})]})]})]}),s.map((x,N)=>{var T;return ee.jsx("div",{className:"border border-gray-200 rounded-lg p-4 bg-white shadow-sm",children:ee.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[ee.jsx("div",{children:ee.jsxs("h3",{className:"font-semibold text-lg",children:["TikTok: @",x.tiktokUser.username]})}),ee.jsx("div",{children:x.isSearching?ee.jsxs("div",{className:"flex items-center space-x-2",children:[ee.jsx("div",{className:"animate-spin h-4 w-4 border-2 border-blue-500 border-t-transparent rounded-full"}),ee.jsx("span",{className:"text-gray-600",children:"Searching..."})]}):x.error?ee.jsxs("div",{className:"text-red-600",children:["Error: ",x.error]}):x.bskyMatches.length===0?ee.jsx("div",{className:"text-gray-500 italic",children:"No matches found"}):ee.jsxs("div",{className:"space-y-2",children:[ee.jsxs("div",{className:"flex items-center justify-between",children:[ee.jsx("h4",{className:"font-medium",children:"Bluesky matches:"}),x.bskyMatches.length>1&&ee.jsxs("span",{className:"text-xs text-gray-500",children:[((T=x.selectedMatches)==null?void 0:T.size)||0," of ",x.bskyMatches.length," selected"]})]}),x.bskyMatches.map((I,R)=>{var L;return ee.jsxs("div",{className:"flex items-center space-x-3 p-2 border rounded bg-gray-50",children:[ee.jsx("input",{type:"checkbox",checked:((L=x.selectedMatches)==null?void 0:L.has(I.did))||!1,onChange:()=>u(N,I.did),className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500",disabled:I.followed}),ee.jsxs("div",{className:"flex-1",children:[ee.jsx("div",{className:"font-medium",children:ee.jsxs("a",{href:`https://bsky.app/profile/${I.handle}`,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 hover:underline",children:["@",I.handle]})}),I.displayName&&ee.jsx("div",{className:"text-sm text-gray-600",children:I.displayName}),ee.jsxs("div",{className:"text-xs text-gray-400",children:["Match score: ",I.matchScore,"%"]})]}),I.followed&&ee.jsx("span",{className:"px-2 py-1 bg-green-100 text-green-800 rounded text-xs",children:"✓ Followed"})]},R)})]})})]})},N)})]})]}):ee.jsxs("div",{className:"space-y-4 max-w-md",children:[ee.jsx("h1",{className:"text-2xl font-bold",children:"TikTok → Bluesky Follower Sync"}),ee.jsx("p",{className:"text-gray-600",children:"Login to your Bluesky account to start syncing your TikTok follows."}),ee.jsx("input",{className:"border border-gray-300 p-3 w-full rounded",placeholder:"yourhandle.bsky.social",value:e,onChange:x=>t(x.target.value)}),ee.jsx("input",{className:"border border-gray-300 p-3 w-full rounded",type:"password",placeholder:"App password (not your regular password!)",value:n,onChange:x=>r(x.target.value)}),ee.jsx("button",{className:"bg-blue-500 hover:bg-blue-600 text-white px-6 py-3 rounded w-full font-medium",onClick:p,children:"Login to Bluesky"})]})})}function d0({session:e}){async function t(n){var r;console.log(`
55
-
=== Testing search for: "${n}" ===`);try{const i=await fetch(`${e.serviceEndpoint}/xrpc/app.bsky.actor.searchActors?q=${encodeURIComponent(n)}&limit=20`,{headers:{Authorization:`Bearer ${e.accessJwt}`}});if(console.log("Response status:",i.status),console.log("Response headers:",Object.fromEntries(i.headers.entries())),!i.ok){const s=await i.text();console.log("Error response:",s);return}const o=await i.json();console.log("Raw API response:",o),console.log(`Found ${((r=o.actors)==null?void 0:r.length)||0} actors`),o.actors&&o.actors.length>0?o.actors.forEach((s,l)=>{console.log(`${l+1}. Handle: ${s.handle}`),console.log(` Display: ${s.displayName||"No display name"}`),console.log(` DID: ${s.did}`),console.log(` Followers: ${s.followersCount||0}`)}):console.log("No actors found in response")}catch(i){console.error("Search test error:",i)}}return ee.jsxs("div",{className:"border border-yellow-300 rounded-lg p-4 bg-yellow-50",children:[ee.jsx("h3",{className:"text-lg font-semibold mb-2 text-yellow-800",children:"Debug Tools"}),ee.jsx("p",{className:"text-sm text-yellow-700 mb-3",children:"These tools are only visible in debug mode. Check console for detailed logs."}),ee.jsxs("div",{className:"flex space-x-2",children:[ee.jsx("button",{className:"px-3 py-1 bg-yellow-500 hover:bg-yellow-600 text-white rounded text-sm",onClick:()=>t("joebasser"),children:'Test Search "joebasser"'}),ee.jsx("button",{className:"px-3 py-1 bg-yellow-500 hover:bg-yellow-600 text-white rounded text-sm",onClick:()=>t("skylight.social"),children:'Test Search "skylight.social"'}),ee.jsx("button",{className:"px-3 py-1 bg-orange-500 hover:bg-orange-600 text-white rounded text-sm",onClick:()=>{localStorage.removeItem("debug"),window.location.reload()},children:"Exit Debug Mode"})]})]})}ks.createRoot(document.getElementById("root")).render(ee.jsx(Jd.StrictMode,{children:ee.jsx(f0,{})}));
+114
docs/assets/index-Dq8sasCy.js
+114
docs/assets/index-Dq8sasCy.js
···
1
+
var bd=Object.defineProperty;var _a=e=>{throw TypeError(e)};var Ud=(e,t,n)=>t in e?bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ue=(e,t,n)=>Ud(e,typeof t!="symbol"?t+"":t,n),ka=(e,t,n)=>t.has(e)||_a("Cannot "+n);var fn=(e,t,n)=>(ka(e,t,"read from private field"),n?n.call(e):t.get(e)),dn=(e,t,n)=>t.has(e)?_a("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),hn=(e,t,n,r)=>(ka(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var yi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Du(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lu={exports:{}},Eo={},Fu={exports:{}},ie={};/**
2
+
* @license React
3
+
* react.production.min.js
4
+
*
5
+
* Copyright (c) Facebook, Inc. and its affiliates.
6
+
*
7
+
* This source code is licensed under the MIT license found in the
8
+
* LICENSE file in the root directory of this source tree.
9
+
*/var fi=Symbol.for("react.element"),Md=Symbol.for("react.portal"),Bd=Symbol.for("react.fragment"),$d=Symbol.for("react.strict_mode"),Wd=Symbol.for("react.profiler"),Hd=Symbol.for("react.provider"),Vd=Symbol.for("react.context"),Zd=Symbol.for("react.forward_ref"),Gd=Symbol.for("react.suspense"),Kd=Symbol.for("react.memo"),Qd=Symbol.for("react.lazy"),xa=Symbol.iterator;function Xd(e){return e===null||typeof e!="object"?null:(e=xa&&e[xa]||e["@@iterator"],typeof e=="function"?e:null)}var bu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Uu=Object.assign,Mu={};function ar(e,t,n){this.props=e,this.context=t,this.refs=Mu,this.updater=n||bu}ar.prototype.isReactComponent={};ar.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ar.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Bu(){}Bu.prototype=ar.prototype;function wl(e,t,n){this.props=e,this.context=t,this.refs=Mu,this.updater=n||bu}var _l=wl.prototype=new Bu;_l.constructor=wl;Uu(_l,ar.prototype);_l.isPureReactComponent=!0;var Sa=Array.isArray,$u=Object.prototype.hasOwnProperty,kl={current:null},Wu={key:!0,ref:!0,__self:!0,__source:!0};function Hu(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)$u.call(t,r)&&!Wu.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),f=0;f<l;f++)a[f]=arguments[f+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:fi,type:e,key:o,ref:s,props:i,_owner:kl.current}}function Yd(e,t){return{$$typeof:fi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function xl(e){return typeof e=="object"&&e!==null&&e.$$typeof===fi}function Jd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ea=/\/+/g;function Go(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Jd(""+e.key):t.toString(36)}function bi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case fi:case Md:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Go(s,0):r,Sa(i)?(n="",e!=null&&(n=e.replace(Ea,"$&/")+"/"),bi(i,t,n,"",function(f){return f})):i!=null&&(xl(i)&&(i=Yd(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Ea,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Sa(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+Go(o,l);s+=bi(o,t,n,a,i)}else if(a=Xd(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+Go(o,l++),s+=bi(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function wi(e,t,n){if(e==null)return e;var r=[],i=0;return bi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function qd(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var $e={current:null},Ui={transition:null},eh={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:Ui,ReactCurrentOwner:kl};function Vu(){throw Error("act(...) is not supported in production builds of React.")}ie.Children={map:wi,forEach:function(e,t,n){wi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return wi(e,function(){t++}),t},toArray:function(e){return wi(e,function(t){return t})||[]},only:function(e){if(!xl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=ar;ie.Fragment=Bd;ie.Profiler=Wd;ie.PureComponent=wl;ie.StrictMode=$d;ie.Suspense=Gd;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eh;ie.act=Vu;ie.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Uu({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=kl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)$u.call(t,a)&&!Wu.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var f=0;f<a;f++)l[f]=arguments[f+2];r.children=l}return{$$typeof:fi,type:e.type,key:i,ref:o,props:r,_owner:s}};ie.createContext=function(e){return e={$$typeof:Vd,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Hd,_context:e},e.Consumer=e};ie.createElement=Hu;ie.createFactory=function(e){var t=Hu.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:Zd,render:e}};ie.isValidElement=xl;ie.lazy=function(e){return{$$typeof:Qd,_payload:{_status:-1,_result:e},_init:qd}};ie.memo=function(e,t){return{$$typeof:Kd,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=Ui.transition;Ui.transition={};try{e()}finally{Ui.transition=t}};ie.unstable_act=Vu;ie.useCallback=function(e,t){return $e.current.useCallback(e,t)};ie.useContext=function(e){return $e.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return $e.current.useDeferredValue(e)};ie.useEffect=function(e,t){return $e.current.useEffect(e,t)};ie.useId=function(){return $e.current.useId()};ie.useImperativeHandle=function(e,t,n){return $e.current.useImperativeHandle(e,t,n)};ie.useInsertionEffect=function(e,t){return $e.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return $e.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return $e.current.useMemo(e,t)};ie.useReducer=function(e,t,n){return $e.current.useReducer(e,t,n)};ie.useRef=function(e){return $e.current.useRef(e)};ie.useState=function(e){return $e.current.useState(e)};ie.useSyncExternalStore=function(e,t,n){return $e.current.useSyncExternalStore(e,t,n)};ie.useTransition=function(){return $e.current.useTransition()};ie.version="18.3.1";Fu.exports=ie;var Me=Fu.exports;const th=Du(Me);/**
10
+
* @license React
11
+
* react-jsx-runtime.production.min.js
12
+
*
13
+
* Copyright (c) Facebook, Inc. and its affiliates.
14
+
*
15
+
* This source code is licensed under the MIT license found in the
16
+
* LICENSE file in the root directory of this source tree.
17
+
*/var nh=Me,rh=Symbol.for("react.element"),ih=Symbol.for("react.fragment"),oh=Object.prototype.hasOwnProperty,sh=nh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lh={key:!0,ref:!0,__self:!0,__source:!0};function Zu(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)oh.call(t,r)&&!lh.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:rh,type:e,key:o,ref:s,props:i,_owner:sh.current}}Eo.Fragment=ih;Eo.jsx=Zu;Eo.jsxs=Zu;Lu.exports=Eo;var W=Lu.exports,xs={},Gu={exports:{}},tt={},Ku={exports:{}},Qu={};/**
18
+
* @license React
19
+
* scheduler.production.min.js
20
+
*
21
+
* Copyright (c) Facebook, Inc. and its affiliates.
22
+
*
23
+
* This source code is licensed under the MIT license found in the
24
+
* LICENSE file in the root directory of this source tree.
25
+
*/(function(e){function t(M,L){var K=M.length;M.push(L);e:for(;0<K;){var O=K-1>>>1,A=M[O];if(0<i(A,L))M[O]=L,M[K]=A,K=O;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var L=M[0],K=M.pop();if(K!==L){M[0]=K;e:for(var O=0,A=M.length,ne=A>>>1;O<ne;){var q=2*(O+1)-1,Y=M[q],fe=q+1,xe=M[fe];if(0>i(Y,K))fe<A&&0>i(xe,Y)?(M[O]=xe,M[fe]=K,O=fe):(M[O]=Y,M[q]=K,O=q);else if(fe<A&&0>i(xe,K))M[O]=xe,M[fe]=K,O=fe;else break e}}return L}function i(M,L){var K=M.sortIndex-L.sortIndex;return K!==0?K:M.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],f=[],_=1,v=null,y=3,m=!1,w=!1,h=!1,k=typeof setTimeout=="function"?setTimeout:null,u=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(M){for(var L=n(f);L!==null;){if(L.callback===null)r(f);else if(L.startTime<=M)r(f),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(f)}}function S(M){if(h=!1,g(M),!w)if(n(a)!==null)w=!0,J(z);else{var L=n(f);L!==null&&B(S,L.startTime-M)}}function z(M,L){w=!1,h&&(h=!1,u(F),F=-1),m=!0;var K=y;try{for(g(L),v=n(a);v!==null&&(!(v.expirationTime>L)||M&&!V());){var O=v.callback;if(typeof O=="function"){v.callback=null,y=v.priorityLevel;var A=O(v.expirationTime<=L);L=e.unstable_now(),typeof A=="function"?v.callback=A:v===n(a)&&r(a),g(L)}else r(a);v=n(a)}if(v!==null)var ne=!0;else{var q=n(f);q!==null&&B(S,q.startTime-L),ne=!1}return ne}finally{v=null,y=K,m=!1}}var P=!1,T=null,F=-1,N=5,R=-1;function V(){return!(e.unstable_now()-R<N)}function E(){if(T!==null){var M=e.unstable_now();R=M;var L=!0;try{L=T(!0,M)}finally{L?j():(P=!1,T=null)}}else P=!1}var j;if(typeof c=="function")j=function(){c(E)};else if(typeof MessageChannel<"u"){var p=new MessageChannel,U=p.port2;p.port1.onmessage=E,j=function(){U.postMessage(null)}}else j=function(){k(E,0)};function J(M){T=M,P||(P=!0,j())}function B(M,L){F=k(function(){M(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){w||m||(w=!0,J(z))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(M){switch(y){case 1:case 2:case 3:var L=3;break;default:L=y}var K=y;y=L;try{return M()}finally{y=K}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,L){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var K=y;y=M;try{return L()}finally{y=K}},e.unstable_scheduleCallback=function(M,L,K){var O=e.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?O+K:O):K=O,M){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=K+A,M={id:_++,callback:L,priorityLevel:M,startTime:K,expirationTime:A,sortIndex:-1},K>O?(M.sortIndex=K,t(f,M),n(a)===null&&M===n(f)&&(h?(u(F),F=-1):h=!0,B(S,K-O))):(M.sortIndex=A,t(a,M),w||m||(w=!0,J(z))),M},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(M){var L=y;return function(){var K=y;y=L;try{return M.apply(this,arguments)}finally{y=K}}}})(Qu);Ku.exports=Qu;var ah=Ku.exports;/**
26
+
* @license React
27
+
* react-dom.production.min.js
28
+
*
29
+
* Copyright (c) Facebook, Inc. and its affiliates.
30
+
*
31
+
* This source code is licensed under the MIT license found in the
32
+
* LICENSE file in the root directory of this source tree.
33
+
*/var uh=Me,qe=ah;function G(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Xu=new Set,Br={};function Tn(e,t){tr(e,t),tr(e+"Capture",t)}function tr(e,t){for(Br[e]=t,e=0;e<t.length;e++)Xu.add(t[e])}var Dt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ss=Object.prototype.hasOwnProperty,ch=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ca={},za={};function fh(e){return Ss.call(za,e)?!0:Ss.call(Ca,e)?!1:ch.test(e)?za[e]=!0:(Ca[e]=!0,!1)}function dh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hh(e,t,n,r){if(t===null||typeof t>"u"||dh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function We(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){je[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];je[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){je[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){je[e]=new We(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){je[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){je[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){je[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){je[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){je[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sl=/[\-:]([a-z])/g;function El(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Sl,El);je[t]=new We(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Sl,El);je[t]=new We(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Sl,El);je[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){je[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});je.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){je[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function Cl(e,t,n,r){var i=je.hasOwnProperty(t)?je[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(hh(t,n,i,r)&&(n=null),r||i===null?fh(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Bt=uh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_i=Symbol.for("react.element"),On=Symbol.for("react.portal"),jn=Symbol.for("react.fragment"),zl=Symbol.for("react.strict_mode"),Es=Symbol.for("react.profiler"),Yu=Symbol.for("react.provider"),Ju=Symbol.for("react.context"),Nl=Symbol.for("react.forward_ref"),Cs=Symbol.for("react.suspense"),zs=Symbol.for("react.suspense_list"),Tl=Symbol.for("react.memo"),Ht=Symbol.for("react.lazy"),qu=Symbol.for("react.offscreen"),Na=Symbol.iterator;function mr(e){return e===null||typeof e!="object"?null:(e=Na&&e[Na]||e["@@iterator"],typeof e=="function"?e:null)}var _e=Object.assign,Ko;function zr(e){if(Ko===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ko=t&&t[1]||""}return`
34
+
`+Ko+e}var Qo=!1;function Xo(e,t){if(!e||Qo)return"";Qo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(f){var r=f}Reflect.construct(e,[],t)}else{try{t.call()}catch(f){r=f}e.call(t.prototype)}else{try{throw Error()}catch(f){r=f}e()}}catch(f){if(f&&r&&typeof f.stack=="string"){for(var i=f.stack.split(`
35
+
`),o=r.stack.split(`
36
+
`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var a=`
37
+
`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Qo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zr(e):""}function ph(e){switch(e.tag){case 5:return zr(e.type);case 16:return zr("Lazy");case 13:return zr("Suspense");case 19:return zr("SuspenseList");case 0:case 2:case 15:return e=Xo(e.type,!1),e;case 11:return e=Xo(e.type.render,!1),e;case 1:return e=Xo(e.type,!0),e;default:return""}}function Ns(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jn:return"Fragment";case On:return"Portal";case Es:return"Profiler";case zl:return"StrictMode";case Cs:return"Suspense";case zs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ju:return(e.displayName||"Context")+".Consumer";case Yu:return(e._context.displayName||"Context")+".Provider";case Nl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Tl:return t=e.displayName||null,t!==null?t:Ns(e.type)||"Memo";case Ht:t=e._payload,e=e._init;try{return Ns(e(t))}catch{}}return null}function mh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ns(t);case 8:return t===zl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ec(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gh(e){var t=ec(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ki(e){e._valueTracker||(e._valueTracker=gh(e))}function tc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ec(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ts(e,t){var n=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ta(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function nc(e,t){t=t.checked,t!=null&&Cl(e,"checked",t,!1)}function Is(e,t){nc(e,t);var n=on(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ps(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ps(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ia(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ps(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nr=Array.isArray;function Gn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+on(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Rs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(G(91));return _e({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pa(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(G(92));if(Nr(n)){if(1<n.length)throw Error(G(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:on(n)}}function rc(e,t){var n=on(t.value),r=on(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ra(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ic(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function As(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ic(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var xi,oc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(xi=xi||document.createElement("div"),xi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $r(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},vh=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){vh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function sc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function lc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=sc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var yh=_e({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Os(e,t){if(t){if(yh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(G(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(G(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(G(61))}if(t.style!=null&&typeof t.style!="object")throw Error(G(62))}}function js(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ds=null;function Il(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ls=null,Kn=null,Qn=null;function Aa(e){if(e=pi(e)){if(typeof Ls!="function")throw Error(G(280));var t=e.stateNode;t&&(t=Io(t),Ls(e.stateNode,e.type,t))}}function ac(e){Kn?Qn?Qn.push(e):Qn=[e]:Kn=e}function uc(){if(Kn){var e=Kn,t=Qn;if(Qn=Kn=null,Aa(e),t)for(e=0;e<t.length;e++)Aa(t[e])}}function cc(e,t){return e(t)}function fc(){}var Yo=!1;function dc(e,t,n){if(Yo)return e(t,n);Yo=!0;try{return cc(e,t,n)}finally{Yo=!1,(Kn!==null||Qn!==null)&&(fc(),uc())}}function Wr(e,t){var n=e.stateNode;if(n===null)return null;var r=Io(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(G(231,t,typeof n));return n}var Fs=!1;if(Dt)try{var gr={};Object.defineProperty(gr,"passive",{get:function(){Fs=!0}}),window.addEventListener("test",gr,gr),window.removeEventListener("test",gr,gr)}catch{Fs=!1}function wh(e,t,n,r,i,o,s,l,a){var f=Array.prototype.slice.call(arguments,3);try{t.apply(n,f)}catch(_){this.onError(_)}}var Rr=!1,Ji=null,qi=!1,bs=null,_h={onError:function(e){Rr=!0,Ji=e}};function kh(e,t,n,r,i,o,s,l,a){Rr=!1,Ji=null,wh.apply(_h,arguments)}function xh(e,t,n,r,i,o,s,l,a){if(kh.apply(this,arguments),Rr){if(Rr){var f=Ji;Rr=!1,Ji=null}else throw Error(G(198));qi||(qi=!0,bs=f)}}function In(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function hc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Oa(e){if(In(e)!==e)throw Error(G(188))}function Sh(e){var t=e.alternate;if(!t){if(t=In(e),t===null)throw Error(G(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Oa(i),e;if(o===r)return Oa(i),t;o=o.sibling}throw Error(G(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(G(189))}}if(n.alternate!==r)throw Error(G(190))}if(n.tag!==3)throw Error(G(188));return n.stateNode.current===n?e:t}function pc(e){return e=Sh(e),e!==null?mc(e):null}function mc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=mc(e);if(t!==null)return t;e=e.sibling}return null}var gc=qe.unstable_scheduleCallback,ja=qe.unstable_cancelCallback,Eh=qe.unstable_shouldYield,Ch=qe.unstable_requestPaint,Ce=qe.unstable_now,zh=qe.unstable_getCurrentPriorityLevel,Pl=qe.unstable_ImmediatePriority,vc=qe.unstable_UserBlockingPriority,eo=qe.unstable_NormalPriority,Nh=qe.unstable_LowPriority,yc=qe.unstable_IdlePriority,Co=null,zt=null;function Th(e){if(zt&&typeof zt.onCommitFiberRoot=="function")try{zt.onCommitFiberRoot(Co,e,void 0,(e.current.flags&128)===128)}catch{}}var gt=Math.clz32?Math.clz32:Rh,Ih=Math.log,Ph=Math.LN2;function Rh(e){return e>>>=0,e===0?32:31-(Ih(e)/Ph|0)|0}var Si=64,Ei=4194304;function Tr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function to(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Tr(l):(o&=s,o!==0&&(r=Tr(o)))}else s=n&~i,s!==0?r=Tr(s):o!==0&&(r=Tr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-gt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ah(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Oh(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-gt(o),l=1<<s,a=i[s];a===-1?(!(l&n)||l&r)&&(i[s]=Ah(l,t)):a<=t&&(e.expiredLanes|=l),o&=~l}}function Us(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function wc(){var e=Si;return Si<<=1,!(Si&4194240)&&(Si=64),e}function Jo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function di(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gt(t),e[t]=n}function jh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-gt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Rl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-gt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var de=0;function _c(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var kc,Al,xc,Sc,Ec,Ms=!1,Ci=[],Xt=null,Yt=null,Jt=null,Hr=new Map,Vr=new Map,Zt=[],Dh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Da(e,t){switch(e){case"focusin":case"focusout":Xt=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":Jt=null;break;case"pointerover":case"pointerout":Hr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vr.delete(t.pointerId)}}function vr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=pi(t),t!==null&&Al(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Lh(e,t,n,r,i){switch(t){case"focusin":return Xt=vr(Xt,e,t,n,r,i),!0;case"dragenter":return Yt=vr(Yt,e,t,n,r,i),!0;case"mouseover":return Jt=vr(Jt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Hr.set(o,vr(Hr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Vr.set(o,vr(Vr.get(o)||null,e,t,n,r,i)),!0}return!1}function Cc(e){var t=gn(e.target);if(t!==null){var n=In(t);if(n!==null){if(t=n.tag,t===13){if(t=hc(n),t!==null){e.blockedOn=t,Ec(e.priority,function(){xc(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ds=r,n.target.dispatchEvent(r),Ds=null}else return t=pi(n),t!==null&&Al(t),e.blockedOn=n,!1;t.shift()}return!0}function La(e,t,n){Mi(e)&&n.delete(t)}function Fh(){Ms=!1,Xt!==null&&Mi(Xt)&&(Xt=null),Yt!==null&&Mi(Yt)&&(Yt=null),Jt!==null&&Mi(Jt)&&(Jt=null),Hr.forEach(La),Vr.forEach(La)}function yr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ms||(Ms=!0,qe.unstable_scheduleCallback(qe.unstable_NormalPriority,Fh)))}function Zr(e){function t(i){return yr(i,e)}if(0<Ci.length){yr(Ci[0],e);for(var n=1;n<Ci.length;n++){var r=Ci[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Xt!==null&&yr(Xt,e),Yt!==null&&yr(Yt,e),Jt!==null&&yr(Jt,e),Hr.forEach(t),Vr.forEach(t),n=0;n<Zt.length;n++)r=Zt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Zt.length&&(n=Zt[0],n.blockedOn===null);)Cc(n),n.blockedOn===null&&Zt.shift()}var Xn=Bt.ReactCurrentBatchConfig,no=!0;function bh(e,t,n,r){var i=de,o=Xn.transition;Xn.transition=null;try{de=1,Ol(e,t,n,r)}finally{de=i,Xn.transition=o}}function Uh(e,t,n,r){var i=de,o=Xn.transition;Xn.transition=null;try{de=4,Ol(e,t,n,r)}finally{de=i,Xn.transition=o}}function Ol(e,t,n,r){if(no){var i=Bs(e,t,n,r);if(i===null)as(e,t,r,ro,n),Da(e,r);else if(Lh(i,e,t,n,r))r.stopPropagation();else if(Da(e,r),t&4&&-1<Dh.indexOf(e)){for(;i!==null;){var o=pi(i);if(o!==null&&kc(o),o=Bs(e,t,n,r),o===null&&as(e,t,r,ro,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else as(e,t,r,null,n)}}var ro=null;function Bs(e,t,n,r){if(ro=null,e=Il(r),e=gn(e),e!==null)if(t=In(e),t===null)e=null;else if(n=t.tag,n===13){if(e=hc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ro=e,null}function zc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(zh()){case Pl:return 1;case vc:return 4;case eo:case Nh:return 16;case yc:return 536870912;default:return 16}default:return 16}}var Kt=null,jl=null,Bi=null;function Nc(){if(Bi)return Bi;var e,t=jl,n=t.length,r,i="value"in Kt?Kt.value:Kt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Bi=i.slice(e,1<r?1-r:void 0)}function $i(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function zi(){return!0}function Fa(){return!1}function nt(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?zi:Fa,this.isPropagationStopped=Fa,this}return _e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=zi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=zi)},persist:function(){},isPersistent:zi}),t}var ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dl=nt(ur),hi=_e({},ur,{view:0,detail:0}),Mh=nt(hi),qo,es,wr,zo=_e({},hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ll,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==wr&&(wr&&e.type==="mousemove"?(qo=e.screenX-wr.screenX,es=e.screenY-wr.screenY):es=qo=0,wr=e),qo)},movementY:function(e){return"movementY"in e?e.movementY:es}}),ba=nt(zo),Bh=_e({},zo,{dataTransfer:0}),$h=nt(Bh),Wh=_e({},hi,{relatedTarget:0}),ts=nt(Wh),Hh=_e({},ur,{animationName:0,elapsedTime:0,pseudoElement:0}),Vh=nt(Hh),Zh=_e({},ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gh=nt(Zh),Kh=_e({},ur,{data:0}),Ua=nt(Kh),Qh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Yh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yh[e])?!!t[e]:!1}function Ll(){return Jh}var qh=_e({},hi,{key:function(e){if(e.key){var t=Qh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=$i(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Xh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ll,charCode:function(e){return e.type==="keypress"?$i(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$i(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ep=nt(qh),tp=_e({},zo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ma=nt(tp),np=_e({},hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ll}),rp=nt(np),ip=_e({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0}),op=nt(ip),sp=_e({},zo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),lp=nt(sp),ap=[9,13,27,32],Fl=Dt&&"CompositionEvent"in window,Ar=null;Dt&&"documentMode"in document&&(Ar=document.documentMode);var up=Dt&&"TextEvent"in window&&!Ar,Tc=Dt&&(!Fl||Ar&&8<Ar&&11>=Ar),Ba=" ",$a=!1;function Ic(e,t){switch(e){case"keyup":return ap.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function cp(e,t){switch(e){case"compositionend":return Pc(t);case"keypress":return t.which!==32?null:($a=!0,Ba);case"textInput":return e=t.data,e===Ba&&$a?null:e;default:return null}}function fp(e,t){if(Dn)return e==="compositionend"||!Fl&&Ic(e,t)?(e=Nc(),Bi=jl=Kt=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tc&&t.locale!=="ko"?null:t.data;default:return null}}var dp={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!dp[e.type]:t==="textarea"}function Rc(e,t,n,r){ac(r),t=io(t,"onChange"),0<t.length&&(n=new Dl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Or=null,Gr=null;function hp(e){$c(e,0)}function No(e){var t=bn(e);if(tc(t))return e}function pp(e,t){if(e==="change")return t}var Ac=!1;if(Dt){var ns;if(Dt){var rs="oninput"in document;if(!rs){var Ha=document.createElement("div");Ha.setAttribute("oninput","return;"),rs=typeof Ha.oninput=="function"}ns=rs}else ns=!1;Ac=ns&&(!document.documentMode||9<document.documentMode)}function Va(){Or&&(Or.detachEvent("onpropertychange",Oc),Gr=Or=null)}function Oc(e){if(e.propertyName==="value"&&No(Gr)){var t=[];Rc(t,Gr,e,Il(e)),dc(hp,t)}}function mp(e,t,n){e==="focusin"?(Va(),Or=t,Gr=n,Or.attachEvent("onpropertychange",Oc)):e==="focusout"&&Va()}function gp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return No(Gr)}function vp(e,t){if(e==="click")return No(t)}function yp(e,t){if(e==="input"||e==="change")return No(t)}function wp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yt=typeof Object.is=="function"?Object.is:wp;function Kr(e,t){if(yt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ss.call(t,i)||!yt(e[i],t[i]))return!1}return!0}function Za(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ga(e,t){var n=Za(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Za(n)}}function jc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dc(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function bl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _p(e){var t=Dc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&jc(n.ownerDocument.documentElement,n)){if(r!==null&&bl(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ga(n,o);var s=Ga(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var kp=Dt&&"documentMode"in document&&11>=document.documentMode,Ln=null,$s=null,jr=null,Ws=!1;function Ka(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ws||Ln==null||Ln!==Yi(r)||(r=Ln,"selectionStart"in r&&bl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jr&&Kr(jr,r)||(jr=r,r=io($s,"onSelect"),0<r.length&&(t=new Dl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ln)))}function Ni(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Fn={animationend:Ni("Animation","AnimationEnd"),animationiteration:Ni("Animation","AnimationIteration"),animationstart:Ni("Animation","AnimationStart"),transitionend:Ni("Transition","TransitionEnd")},is={},Lc={};Dt&&(Lc=document.createElement("div").style,"AnimationEvent"in window||(delete Fn.animationend.animation,delete Fn.animationiteration.animation,delete Fn.animationstart.animation),"TransitionEvent"in window||delete Fn.transitionend.transition);function To(e){if(is[e])return is[e];if(!Fn[e])return e;var t=Fn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Lc)return is[e]=t[n];return e}var Fc=To("animationend"),bc=To("animationiteration"),Uc=To("animationstart"),Mc=To("transitionend"),Bc=new Map,Qa="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ln(e,t){Bc.set(e,t),Tn(t,[e])}for(var os=0;os<Qa.length;os++){var ss=Qa[os],xp=ss.toLowerCase(),Sp=ss[0].toUpperCase()+ss.slice(1);ln(xp,"on"+Sp)}ln(Fc,"onAnimationEnd");ln(bc,"onAnimationIteration");ln(Uc,"onAnimationStart");ln("dblclick","onDoubleClick");ln("focusin","onFocus");ln("focusout","onBlur");ln(Mc,"onTransitionEnd");tr("onMouseEnter",["mouseout","mouseover"]);tr("onMouseLeave",["mouseout","mouseover"]);tr("onPointerEnter",["pointerout","pointerover"]);tr("onPointerLeave",["pointerout","pointerover"]);Tn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Tn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Tn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Tn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Tn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Tn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ep=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Xa(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,xh(r,t,void 0,e),e.currentTarget=null}function $c(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,f=l.currentTarget;if(l=l.listener,a!==o&&i.isPropagationStopped())break e;Xa(i,l,f),o=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,f=l.currentTarget,l=l.listener,a!==o&&i.isPropagationStopped())break e;Xa(i,l,f),o=a}}}if(qi)throw e=bs,qi=!1,bs=null,e}function me(e,t){var n=t[Ks];n===void 0&&(n=t[Ks]=new Set);var r=e+"__bubble";n.has(r)||(Wc(t,e,2,!1),n.add(r))}function ls(e,t,n){var r=0;t&&(r|=4),Wc(n,e,r,t)}var Ti="_reactListening"+Math.random().toString(36).slice(2);function Qr(e){if(!e[Ti]){e[Ti]=!0,Xu.forEach(function(n){n!=="selectionchange"&&(Ep.has(n)||ls(n,!1,e),ls(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ti]||(t[Ti]=!0,ls("selectionchange",!1,t))}}function Wc(e,t,n,r){switch(zc(t)){case 1:var i=bh;break;case 4:i=Uh;break;default:i=Ol}n=i.bind(null,t,n,e),i=void 0,!Fs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function as(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;s=s.return}for(;l!==null;){if(s=gn(l),s===null)return;if(a=s.tag,a===5||a===6){r=o=s;continue e}l=l.parentNode}}r=r.return}dc(function(){var f=o,_=Il(n),v=[];e:{var y=Bc.get(e);if(y!==void 0){var m=Dl,w=e;switch(e){case"keypress":if($i(n)===0)break e;case"keydown":case"keyup":m=ep;break;case"focusin":w="focus",m=ts;break;case"focusout":w="blur",m=ts;break;case"beforeblur":case"afterblur":m=ts;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=ba;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=$h;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=rp;break;case Fc:case bc:case Uc:m=Vh;break;case Mc:m=op;break;case"scroll":m=Mh;break;case"wheel":m=lp;break;case"copy":case"cut":case"paste":m=Gh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Ma}var h=(t&4)!==0,k=!h&&e==="scroll",u=h?y!==null?y+"Capture":null:y;h=[];for(var c=f,g;c!==null;){g=c;var S=g.stateNode;if(g.tag===5&&S!==null&&(g=S,u!==null&&(S=Wr(c,u),S!=null&&h.push(Xr(c,S,g)))),k)break;c=c.return}0<h.length&&(y=new m(y,w,null,n,_),v.push({event:y,listeners:h}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",y&&n!==Ds&&(w=n.relatedTarget||n.fromElement)&&(gn(w)||w[Lt]))break e;if((m||y)&&(y=_.window===_?_:(y=_.ownerDocument)?y.defaultView||y.parentWindow:window,m?(w=n.relatedTarget||n.toElement,m=f,w=w?gn(w):null,w!==null&&(k=In(w),w!==k||w.tag!==5&&w.tag!==6)&&(w=null)):(m=null,w=f),m!==w)){if(h=ba,S="onMouseLeave",u="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(h=Ma,S="onPointerLeave",u="onPointerEnter",c="pointer"),k=m==null?y:bn(m),g=w==null?y:bn(w),y=new h(S,c+"leave",m,n,_),y.target=k,y.relatedTarget=g,S=null,gn(_)===f&&(h=new h(u,c+"enter",w,n,_),h.target=g,h.relatedTarget=k,S=h),k=S,m&&w)t:{for(h=m,u=w,c=0,g=h;g;g=An(g))c++;for(g=0,S=u;S;S=An(S))g++;for(;0<c-g;)h=An(h),c--;for(;0<g-c;)u=An(u),g--;for(;c--;){if(h===u||u!==null&&h===u.alternate)break t;h=An(h),u=An(u)}h=null}else h=null;m!==null&&Ya(v,y,m,h,!1),w!==null&&k!==null&&Ya(v,k,w,h,!0)}}e:{if(y=f?bn(f):window,m=y.nodeName&&y.nodeName.toLowerCase(),m==="select"||m==="input"&&y.type==="file")var z=pp;else if(Wa(y))if(Ac)z=yp;else{z=gp;var P=mp}else(m=y.nodeName)&&m.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(z=vp);if(z&&(z=z(e,f))){Rc(v,z,n,_);break e}P&&P(e,y,f),e==="focusout"&&(P=y._wrapperState)&&P.controlled&&y.type==="number"&&Ps(y,"number",y.value)}switch(P=f?bn(f):window,e){case"focusin":(Wa(P)||P.contentEditable==="true")&&(Ln=P,$s=f,jr=null);break;case"focusout":jr=$s=Ln=null;break;case"mousedown":Ws=!0;break;case"contextmenu":case"mouseup":case"dragend":Ws=!1,Ka(v,n,_);break;case"selectionchange":if(kp)break;case"keydown":case"keyup":Ka(v,n,_)}var T;if(Fl)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else Dn?Ic(e,n)&&(F="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(F="onCompositionStart");F&&(Tc&&n.locale!=="ko"&&(Dn||F!=="onCompositionStart"?F==="onCompositionEnd"&&Dn&&(T=Nc()):(Kt=_,jl="value"in Kt?Kt.value:Kt.textContent,Dn=!0)),P=io(f,F),0<P.length&&(F=new Ua(F,e,null,n,_),v.push({event:F,listeners:P}),T?F.data=T:(T=Pc(n),T!==null&&(F.data=T)))),(T=up?cp(e,n):fp(e,n))&&(f=io(f,"onBeforeInput"),0<f.length&&(_=new Ua("onBeforeInput","beforeinput",null,n,_),v.push({event:_,listeners:f}),_.data=T))}$c(v,t)})}function Xr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function io(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Wr(e,n),o!=null&&r.unshift(Xr(e,o,i)),o=Wr(e,t),o!=null&&r.push(Xr(e,o,i))),e=e.return}return r}function An(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ya(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,f=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&f!==null&&(l=f,i?(a=Wr(n,o),a!=null&&s.unshift(Xr(n,a,l))):i||(a=Wr(n,o),a!=null&&s.push(Xr(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Cp=/\r\n?/g,zp=/\u0000|\uFFFD/g;function Ja(e){return(typeof e=="string"?e:""+e).replace(Cp,`
38
+
`).replace(zp,"")}function Ii(e,t,n){if(t=Ja(t),Ja(e)!==t&&n)throw Error(G(425))}function oo(){}var Hs=null,Vs=null;function Zs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gs=typeof setTimeout=="function"?setTimeout:void 0,Np=typeof clearTimeout=="function"?clearTimeout:void 0,qa=typeof Promise=="function"?Promise:void 0,Tp=typeof queueMicrotask=="function"?queueMicrotask:typeof qa<"u"?function(e){return qa.resolve(null).then(e).catch(Ip)}:Gs;function Ip(e){setTimeout(function(){throw e})}function us(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Zr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Zr(t)}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function eu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var cr=Math.random().toString(36).slice(2),Et="__reactFiber$"+cr,Yr="__reactProps$"+cr,Lt="__reactContainer$"+cr,Ks="__reactEvents$"+cr,Pp="__reactListeners$"+cr,Rp="__reactHandles$"+cr;function gn(e){var t=e[Et];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Lt]||n[Et]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=eu(e);e!==null;){if(n=e[Et])return n;e=eu(e)}return t}e=n,n=e.parentNode}return null}function pi(e){return e=e[Et]||e[Lt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(G(33))}function Io(e){return e[Yr]||null}var Qs=[],Un=-1;function an(e){return{current:e}}function ge(e){0>Un||(e.current=Qs[Un],Qs[Un]=null,Un--)}function pe(e,t){Un++,Qs[Un]=e.current,e.current=t}var sn={},be=an(sn),Ze=an(!1),Sn=sn;function nr(e,t){var n=e.type.contextTypes;if(!n)return sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ge(e){return e=e.childContextTypes,e!=null}function so(){ge(Ze),ge(be)}function tu(e,t,n){if(be.current!==sn)throw Error(G(168));pe(be,t),pe(Ze,n)}function Hc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(G(108,mh(e)||"Unknown",i));return _e({},n,r)}function lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,Sn=be.current,pe(be,e),pe(Ze,Ze.current),!0}function nu(e,t,n){var r=e.stateNode;if(!r)throw Error(G(169));n?(e=Hc(e,t,Sn),r.__reactInternalMemoizedMergedChildContext=e,ge(Ze),ge(be),pe(be,e)):ge(Ze),pe(Ze,n)}var Pt=null,Po=!1,cs=!1;function Vc(e){Pt===null?Pt=[e]:Pt.push(e)}function Ap(e){Po=!0,Vc(e)}function un(){if(!cs&&Pt!==null){cs=!0;var e=0,t=de;try{var n=Pt;for(de=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Pt=null,Po=!1}catch(i){throw Pt!==null&&(Pt=Pt.slice(e+1)),gc(Pl,un),i}finally{de=t,cs=!1}}return null}var Mn=[],Bn=0,ao=null,uo=0,ot=[],st=0,En=null,At=1,Ot="";function pn(e,t){Mn[Bn++]=uo,Mn[Bn++]=ao,ao=e,uo=t}function Zc(e,t,n){ot[st++]=At,ot[st++]=Ot,ot[st++]=En,En=e;var r=At;e=Ot;var i=32-gt(r)-1;r&=~(1<<i),n+=1;var o=32-gt(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,At=1<<32-gt(t)+i|n<<i|r,Ot=o+e}else At=1<<o|n<<i|r,Ot=e}function Ul(e){e.return!==null&&(pn(e,1),Zc(e,1,0))}function Ml(e){for(;e===ao;)ao=Mn[--Bn],Mn[Bn]=null,uo=Mn[--Bn],Mn[Bn]=null;for(;e===En;)En=ot[--st],ot[st]=null,Ot=ot[--st],ot[st]=null,At=ot[--st],ot[st]=null}var Ye=null,Xe=null,ve=!1,mt=null;function Gc(e,t){var n=lt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ru(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ye=e,Xe=qt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ye=e,Xe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=En!==null?{id:At,overflow:Ot}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ye=e,Xe=null,!0):!1;default:return!1}}function Xs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ys(e){if(ve){var t=Xe;if(t){var n=t;if(!ru(e,t)){if(Xs(e))throw Error(G(418));t=qt(n.nextSibling);var r=Ye;t&&ru(e,t)?Gc(r,n):(e.flags=e.flags&-4097|2,ve=!1,Ye=e)}}else{if(Xs(e))throw Error(G(418));e.flags=e.flags&-4097|2,ve=!1,Ye=e}}}function iu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ye=e}function Pi(e){if(e!==Ye)return!1;if(!ve)return iu(e),ve=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Zs(e.type,e.memoizedProps)),t&&(t=Xe)){if(Xs(e))throw Kc(),Error(G(418));for(;t;)Gc(e,t),t=qt(t.nextSibling)}if(iu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(G(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Xe=qt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Xe=null}}else Xe=Ye?qt(e.stateNode.nextSibling):null;return!0}function Kc(){for(var e=Xe;e;)e=qt(e.nextSibling)}function rr(){Xe=Ye=null,ve=!1}function Bl(e){mt===null?mt=[e]:mt.push(e)}var Op=Bt.ReactCurrentBatchConfig;function _r(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(G(309));var r=n.stateNode}if(!r)throw Error(G(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(G(284));if(!n._owner)throw Error(G(290,e))}return e}function Ri(e,t){throw e=Object.prototype.toString.call(t),Error(G(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ou(e){var t=e._init;return t(e._payload)}function Qc(e){function t(u,c){if(e){var g=u.deletions;g===null?(u.deletions=[c],u.flags|=16):g.push(c)}}function n(u,c){if(!e)return null;for(;c!==null;)t(u,c),c=c.sibling;return null}function r(u,c){for(u=new Map;c!==null;)c.key!==null?u.set(c.key,c):u.set(c.index,c),c=c.sibling;return u}function i(u,c){return u=rn(u,c),u.index=0,u.sibling=null,u}function o(u,c,g){return u.index=g,e?(g=u.alternate,g!==null?(g=g.index,g<c?(u.flags|=2,c):g):(u.flags|=2,c)):(u.flags|=1048576,c)}function s(u){return e&&u.alternate===null&&(u.flags|=2),u}function l(u,c,g,S){return c===null||c.tag!==6?(c=vs(g,u.mode,S),c.return=u,c):(c=i(c,g),c.return=u,c)}function a(u,c,g,S){var z=g.type;return z===jn?_(u,c,g.props.children,S,g.key):c!==null&&(c.elementType===z||typeof z=="object"&&z!==null&&z.$$typeof===Ht&&ou(z)===c.type)?(S=i(c,g.props),S.ref=_r(u,c,g),S.return=u,S):(S=Qi(g.type,g.key,g.props,null,u.mode,S),S.ref=_r(u,c,g),S.return=u,S)}function f(u,c,g,S){return c===null||c.tag!==4||c.stateNode.containerInfo!==g.containerInfo||c.stateNode.implementation!==g.implementation?(c=ys(g,u.mode,S),c.return=u,c):(c=i(c,g.children||[]),c.return=u,c)}function _(u,c,g,S,z){return c===null||c.tag!==7?(c=kn(g,u.mode,S,z),c.return=u,c):(c=i(c,g),c.return=u,c)}function v(u,c,g){if(typeof c=="string"&&c!==""||typeof c=="number")return c=vs(""+c,u.mode,g),c.return=u,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case _i:return g=Qi(c.type,c.key,c.props,null,u.mode,g),g.ref=_r(u,null,c),g.return=u,g;case On:return c=ys(c,u.mode,g),c.return=u,c;case Ht:var S=c._init;return v(u,S(c._payload),g)}if(Nr(c)||mr(c))return c=kn(c,u.mode,g,null),c.return=u,c;Ri(u,c)}return null}function y(u,c,g,S){var z=c!==null?c.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return z!==null?null:l(u,c,""+g,S);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case _i:return g.key===z?a(u,c,g,S):null;case On:return g.key===z?f(u,c,g,S):null;case Ht:return z=g._init,y(u,c,z(g._payload),S)}if(Nr(g)||mr(g))return z!==null?null:_(u,c,g,S,null);Ri(u,g)}return null}function m(u,c,g,S,z){if(typeof S=="string"&&S!==""||typeof S=="number")return u=u.get(g)||null,l(c,u,""+S,z);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case _i:return u=u.get(S.key===null?g:S.key)||null,a(c,u,S,z);case On:return u=u.get(S.key===null?g:S.key)||null,f(c,u,S,z);case Ht:var P=S._init;return m(u,c,g,P(S._payload),z)}if(Nr(S)||mr(S))return u=u.get(g)||null,_(c,u,S,z,null);Ri(c,S)}return null}function w(u,c,g,S){for(var z=null,P=null,T=c,F=c=0,N=null;T!==null&&F<g.length;F++){T.index>F?(N=T,T=null):N=T.sibling;var R=y(u,T,g[F],S);if(R===null){T===null&&(T=N);break}e&&T&&R.alternate===null&&t(u,T),c=o(R,c,F),P===null?z=R:P.sibling=R,P=R,T=N}if(F===g.length)return n(u,T),ve&&pn(u,F),z;if(T===null){for(;F<g.length;F++)T=v(u,g[F],S),T!==null&&(c=o(T,c,F),P===null?z=T:P.sibling=T,P=T);return ve&&pn(u,F),z}for(T=r(u,T);F<g.length;F++)N=m(T,u,F,g[F],S),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?F:N.key),c=o(N,c,F),P===null?z=N:P.sibling=N,P=N);return e&&T.forEach(function(V){return t(u,V)}),ve&&pn(u,F),z}function h(u,c,g,S){var z=mr(g);if(typeof z!="function")throw Error(G(150));if(g=z.call(g),g==null)throw Error(G(151));for(var P=z=null,T=c,F=c=0,N=null,R=g.next();T!==null&&!R.done;F++,R=g.next()){T.index>F?(N=T,T=null):N=T.sibling;var V=y(u,T,R.value,S);if(V===null){T===null&&(T=N);break}e&&T&&V.alternate===null&&t(u,T),c=o(V,c,F),P===null?z=V:P.sibling=V,P=V,T=N}if(R.done)return n(u,T),ve&&pn(u,F),z;if(T===null){for(;!R.done;F++,R=g.next())R=v(u,R.value,S),R!==null&&(c=o(R,c,F),P===null?z=R:P.sibling=R,P=R);return ve&&pn(u,F),z}for(T=r(u,T);!R.done;F++,R=g.next())R=m(T,u,F,R.value,S),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?F:R.key),c=o(R,c,F),P===null?z=R:P.sibling=R,P=R);return e&&T.forEach(function(E){return t(u,E)}),ve&&pn(u,F),z}function k(u,c,g,S){if(typeof g=="object"&&g!==null&&g.type===jn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case _i:e:{for(var z=g.key,P=c;P!==null;){if(P.key===z){if(z=g.type,z===jn){if(P.tag===7){n(u,P.sibling),c=i(P,g.props.children),c.return=u,u=c;break e}}else if(P.elementType===z||typeof z=="object"&&z!==null&&z.$$typeof===Ht&&ou(z)===P.type){n(u,P.sibling),c=i(P,g.props),c.ref=_r(u,P,g),c.return=u,u=c;break e}n(u,P);break}else t(u,P);P=P.sibling}g.type===jn?(c=kn(g.props.children,u.mode,S,g.key),c.return=u,u=c):(S=Qi(g.type,g.key,g.props,null,u.mode,S),S.ref=_r(u,c,g),S.return=u,u=S)}return s(u);case On:e:{for(P=g.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===g.containerInfo&&c.stateNode.implementation===g.implementation){n(u,c.sibling),c=i(c,g.children||[]),c.return=u,u=c;break e}else{n(u,c);break}else t(u,c);c=c.sibling}c=ys(g,u.mode,S),c.return=u,u=c}return s(u);case Ht:return P=g._init,k(u,c,P(g._payload),S)}if(Nr(g))return w(u,c,g,S);if(mr(g))return h(u,c,g,S);Ri(u,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,c!==null&&c.tag===6?(n(u,c.sibling),c=i(c,g),c.return=u,u=c):(n(u,c),c=vs(g,u.mode,S),c.return=u,u=c),s(u)):n(u,c)}return k}var ir=Qc(!0),Xc=Qc(!1),co=an(null),fo=null,$n=null,$l=null;function Wl(){$l=$n=fo=null}function Hl(e){var t=co.current;ge(co),e._currentValue=t}function Js(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Yn(e,t){fo=e,$l=$n=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if($l!==e)if(e={context:e,memoizedValue:t,next:null},$n===null){if(fo===null)throw Error(G(308));$n=e,fo.dependencies={lanes:0,firstContext:e}}else $n=$n.next=e;return t}var vn=null;function Vl(e){vn===null?vn=[e]:vn.push(e)}function Yc(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Vl(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ft(e,r)}function Ft(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Vt=!1;function Zl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function en(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,le&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ft(e,n)}return i=r.interleaved,i===null?(t.next=t,Vl(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ft(e,n)}function Wi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rl(e,n)}}function su(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ho(e,t,n,r){var i=e.updateQueue;Vt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,f=a.next;a.next=null,s===null?o=f:s.next=f,s=a;var _=e.alternate;_!==null&&(_=_.updateQueue,l=_.lastBaseUpdate,l!==s&&(l===null?_.firstBaseUpdate=f:l.next=f,_.lastBaseUpdate=a))}if(o!==null){var v=i.baseState;s=0,_=f=a=null,l=o;do{var y=l.lane,m=l.eventTime;if((r&y)===y){_!==null&&(_=_.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var w=e,h=l;switch(y=t,m=n,h.tag){case 1:if(w=h.payload,typeof w=="function"){v=w.call(m,v,y);break e}v=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=h.payload,y=typeof w=="function"?w.call(m,v,y):w,y==null)break e;v=_e({},v,y);break e;case 2:Vt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,y=i.effects,y===null?i.effects=[l]:y.push(l))}else m={eventTime:m,lane:y,tag:l.tag,payload:l.payload,callback:l.callback,next:null},_===null?(f=_=m,a=v):_=_.next=m,s|=y;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;y=l,l=y.next,y.next=null,i.lastBaseUpdate=y,i.shared.pending=null}}while(!0);if(_===null&&(a=v),i.baseState=a,i.firstBaseUpdate=f,i.lastBaseUpdate=_,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);zn|=s,e.lanes=s,e.memoizedState=v}}function lu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(G(191,i));i.call(r)}}}var mi={},Nt=an(mi),Jr=an(mi),qr=an(mi);function yn(e){if(e===mi)throw Error(G(174));return e}function Gl(e,t){switch(pe(qr,t),pe(Jr,e),pe(Nt,mi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:As(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=As(t,e)}ge(Nt),pe(Nt,t)}function or(){ge(Nt),ge(Jr),ge(qr)}function qc(e){yn(qr.current);var t=yn(Nt.current),n=As(t,e.type);t!==n&&(pe(Jr,e),pe(Nt,n))}function Kl(e){Jr.current===e&&(ge(Nt),ge(Jr))}var ye=an(0);function po(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fs=[];function Ql(){for(var e=0;e<fs.length;e++)fs[e]._workInProgressVersionPrimary=null;fs.length=0}var Hi=Bt.ReactCurrentDispatcher,ds=Bt.ReactCurrentBatchConfig,Cn=0,we=null,Ne=null,Pe=null,mo=!1,Dr=!1,ei=0,jp=0;function De(){throw Error(G(321))}function Xl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!yt(e[n],t[n]))return!1;return!0}function Yl(e,t,n,r,i,o){if(Cn=o,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Hi.current=e===null||e.memoizedState===null?bp:Up,e=n(r,i),Dr){o=0;do{if(Dr=!1,ei=0,25<=o)throw Error(G(301));o+=1,Pe=Ne=null,t.updateQueue=null,Hi.current=Mp,e=n(r,i)}while(Dr)}if(Hi.current=go,t=Ne!==null&&Ne.next!==null,Cn=0,Pe=Ne=we=null,mo=!1,t)throw Error(G(300));return e}function Jl(){var e=ei!==0;return ei=0,e}function xt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?we.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function ct(){if(Ne===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Ne.next;var t=Pe===null?we.memoizedState:Pe.next;if(t!==null)Pe=t,Ne=e;else{if(e===null)throw Error(G(310));Ne=e,e={memoizedState:Ne.memoizedState,baseState:Ne.baseState,baseQueue:Ne.baseQueue,queue:Ne.queue,next:null},Pe===null?we.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function ti(e,t){return typeof t=="function"?t(e):t}function hs(e){var t=ct(),n=t.queue;if(n===null)throw Error(G(311));n.lastRenderedReducer=e;var r=Ne,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,a=null,f=o;do{var _=f.lane;if((Cn&_)===_)a!==null&&(a=a.next={lane:0,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),r=f.hasEagerState?f.eagerState:e(r,f.action);else{var v={lane:_,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null};a===null?(l=a=v,s=r):a=a.next=v,we.lanes|=_,zn|=_}f=f.next}while(f!==null&&f!==o);a===null?s=r:a.next=l,yt(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,we.lanes|=o,zn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ps(e){var t=ct(),n=t.queue;if(n===null)throw Error(G(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);yt(o,t.memoizedState)||(Ve=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ef(){}function tf(e,t){var n=we,r=ct(),i=t(),o=!yt(r.memoizedState,i);if(o&&(r.memoizedState=i,Ve=!0),r=r.queue,ql(of.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,ni(9,rf.bind(null,n,r,i,t),void 0,null),Re===null)throw Error(G(349));Cn&30||nf(n,t,i)}return i}function nf(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function rf(e,t,n,r){t.value=n,t.getSnapshot=r,sf(t)&&lf(e)}function of(e,t,n){return n(function(){sf(t)&&lf(e)})}function sf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!yt(e,n)}catch{return!0}}function lf(e){var t=Ft(e,1);t!==null&&vt(t,e,1,-1)}function au(e){var t=xt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:e},t.queue=e,e=e.dispatch=Fp.bind(null,we,e),[t.memoizedState,e]}function ni(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function af(){return ct().memoizedState}function Vi(e,t,n,r){var i=xt();we.flags|=e,i.memoizedState=ni(1|t,n,void 0,r===void 0?null:r)}function Ro(e,t,n,r){var i=ct();r=r===void 0?null:r;var o=void 0;if(Ne!==null){var s=Ne.memoizedState;if(o=s.destroy,r!==null&&Xl(r,s.deps)){i.memoizedState=ni(t,n,o,r);return}}we.flags|=e,i.memoizedState=ni(1|t,n,o,r)}function uu(e,t){return Vi(8390656,8,e,t)}function ql(e,t){return Ro(2048,8,e,t)}function uf(e,t){return Ro(4,2,e,t)}function cf(e,t){return Ro(4,4,e,t)}function ff(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function df(e,t,n){return n=n!=null?n.concat([e]):null,Ro(4,4,ff.bind(null,t,e),n)}function ea(){}function hf(e,t){var n=ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pf(e,t){var n=ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function mf(e,t,n){return Cn&21?(yt(n,t)||(n=wc(),we.lanes|=n,zn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function Dp(e,t){var n=de;de=n!==0&&4>n?n:4,e(!0);var r=ds.transition;ds.transition={};try{e(!1),t()}finally{de=n,ds.transition=r}}function gf(){return ct().memoizedState}function Lp(e,t,n){var r=nn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vf(e))yf(t,n);else if(n=Yc(e,t,n,r),n!==null){var i=Be();vt(n,e,r,i),wf(n,t,r)}}function Fp(e,t,n){var r=nn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vf(e))yf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,yt(l,s)){var a=t.interleaved;a===null?(i.next=i,Vl(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Yc(e,t,i,r),n!==null&&(i=Be(),vt(n,e,r,i),wf(n,t,r))}}function vf(e){var t=e.alternate;return e===we||t!==null&&t===we}function yf(e,t){Dr=mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function wf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rl(e,n)}}var go={readContext:ut,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},bp={readContext:ut,useCallback:function(e,t){return xt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:uu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vi(4194308,4,ff.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vi(4,2,e,t)},useMemo:function(e,t){var n=xt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lp.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=xt();return e={current:e},t.memoizedState=e},useState:au,useDebugValue:ea,useDeferredValue:function(e){return xt().memoizedState=e},useTransition:function(){var e=au(!1),t=e[0];return e=Dp.bind(null,e[1]),xt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=xt();if(ve){if(n===void 0)throw Error(G(407));n=n()}else{if(n=t(),Re===null)throw Error(G(349));Cn&30||nf(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,uu(of.bind(null,r,o,e),[e]),r.flags|=2048,ni(9,rf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=xt(),t=Re.identifierPrefix;if(ve){var n=Ot,r=At;n=(r&~(1<<32-gt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ei++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=jp++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Up={readContext:ut,useCallback:hf,useContext:ut,useEffect:ql,useImperativeHandle:df,useInsertionEffect:uf,useLayoutEffect:cf,useMemo:pf,useReducer:hs,useRef:af,useState:function(){return hs(ti)},useDebugValue:ea,useDeferredValue:function(e){var t=ct();return mf(t,Ne.memoizedState,e)},useTransition:function(){var e=hs(ti)[0],t=ct().memoizedState;return[e,t]},useMutableSource:ef,useSyncExternalStore:tf,useId:gf,unstable_isNewReconciler:!1},Mp={readContext:ut,useCallback:hf,useContext:ut,useEffect:ql,useImperativeHandle:df,useInsertionEffect:uf,useLayoutEffect:cf,useMemo:pf,useReducer:ps,useRef:af,useState:function(){return ps(ti)},useDebugValue:ea,useDeferredValue:function(e){var t=ct();return Ne===null?t.memoizedState=e:mf(t,Ne.memoizedState,e)},useTransition:function(){var e=ps(ti)[0],t=ct().memoizedState;return[e,t]},useMutableSource:ef,useSyncExternalStore:tf,useId:gf,unstable_isNewReconciler:!1};function ht(e,t){if(e&&e.defaultProps){t=_e({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function qs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:_e({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ao={isMounted:function(e){return(e=e._reactInternals)?In(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Be(),i=nn(e),o=jt(r,i);o.payload=t,n!=null&&(o.callback=n),t=en(e,o,i),t!==null&&(vt(t,e,i,r),Wi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Be(),i=nn(e),o=jt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=en(e,o,i),t!==null&&(vt(t,e,i,r),Wi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Be(),r=nn(e),i=jt(n,r);i.tag=2,t!=null&&(i.callback=t),t=en(e,i,r),t!==null&&(vt(t,e,r,n),Wi(t,e,r))}};function cu(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Kr(n,r)||!Kr(i,o):!0}function _f(e,t,n){var r=!1,i=sn,o=t.contextType;return typeof o=="object"&&o!==null?o=ut(o):(i=Ge(t)?Sn:be.current,r=t.contextTypes,o=(r=r!=null)?nr(e,i):sn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ao,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function fu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ao.enqueueReplaceState(t,t.state,null)}function el(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Zl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=ut(o):(o=Ge(t)?Sn:be.current,i.context=nr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(qs(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ao.enqueueReplaceState(i,i.state,null),ho(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function sr(e,t){try{var n="",r=t;do n+=ph(r),r=r.return;while(r);var i=n}catch(o){i=`
39
+
Error generating stack: `+o.message+`
40
+
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ms(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function tl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Bp=typeof WeakMap=="function"?WeakMap:Map;function kf(e,t,n){n=jt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){yo||(yo=!0,fl=r),tl(e,t)},n}function xf(e,t,n){n=jt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){tl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){tl(e,t),typeof r!="function"&&(tn===null?tn=new Set([this]):tn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function du(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bp;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=tm.bind(null,e,t,n),t.then(e,e))}function hu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function pu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=jt(-1,1),t.tag=2,en(n,t,1))),n.lanes|=1),e)}var $p=Bt.ReactCurrentOwner,Ve=!1;function Ue(e,t,n,r){t.child=e===null?Xc(t,null,n,r):ir(t,e.child,n,r)}function mu(e,t,n,r,i){n=n.render;var o=t.ref;return Yn(t,i),r=Yl(e,t,n,r,o,i),n=Jl(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,bt(e,t,i)):(ve&&n&&Ul(t),t.flags|=1,Ue(e,t,r,i),t.child)}function gu(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!aa(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Sf(e,t,o,r,i)):(e=Qi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Kr,n(s,r)&&e.ref===t.ref)return bt(e,t,i)}return t.flags|=1,e=rn(o,r),e.ref=t.ref,e.return=t,t.child=e}function Sf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Kr(o,r)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Ve=!0);else return t.lanes=e.lanes,bt(e,t,i)}return nl(e,t,n,r,i)}function Ef(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},pe(Hn,Qe),Qe|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,pe(Hn,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,pe(Hn,Qe),Qe|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,pe(Hn,Qe),Qe|=r;return Ue(e,t,i,n),t.child}function Cf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function nl(e,t,n,r,i){var o=Ge(n)?Sn:be.current;return o=nr(t,o),Yn(t,i),n=Yl(e,t,n,r,o,i),r=Jl(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,bt(e,t,i)):(ve&&r&&Ul(t),t.flags|=1,Ue(e,t,n,i),t.child)}function vu(e,t,n,r,i){if(Ge(n)){var o=!0;lo(t)}else o=!1;if(Yn(t,i),t.stateNode===null)Zi(e,t),_f(t,n,r),el(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,f=n.contextType;typeof f=="object"&&f!==null?f=ut(f):(f=Ge(n)?Sn:be.current,f=nr(t,f));var _=n.getDerivedStateFromProps,v=typeof _=="function"||typeof s.getSnapshotBeforeUpdate=="function";v||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==f)&&fu(t,s,r,f),Vt=!1;var y=t.memoizedState;s.state=y,ho(t,r,s,i),a=t.memoizedState,l!==r||y!==a||Ze.current||Vt?(typeof _=="function"&&(qs(t,n,_,r),a=t.memoizedState),(l=Vt||cu(t,n,l,r,y,a,f))?(v||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=f,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Jc(e,t),l=t.memoizedProps,f=t.type===t.elementType?l:ht(t.type,l),s.props=f,v=t.pendingProps,y=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=ut(a):(a=Ge(n)?Sn:be.current,a=nr(t,a));var m=n.getDerivedStateFromProps;(_=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==v||y!==a)&&fu(t,s,r,a),Vt=!1,y=t.memoizedState,s.state=y,ho(t,r,s,i);var w=t.memoizedState;l!==v||y!==w||Ze.current||Vt?(typeof m=="function"&&(qs(t,n,m,r),w=t.memoizedState),(f=Vt||cu(t,n,f,r,y,w,a)||!1)?(_||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=a,r=f):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return rl(e,t,n,r,o,i)}function rl(e,t,n,r,i,o){Cf(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&nu(t,n,!1),bt(e,t,o);r=t.stateNode,$p.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=ir(t,e.child,null,o),t.child=ir(t,null,l,o)):Ue(e,t,l,o),t.memoizedState=r.state,i&&nu(t,n,!0),t.child}function zf(e){var t=e.stateNode;t.pendingContext?tu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tu(e,t.context,!1),Gl(e,t.containerInfo)}function yu(e,t,n,r,i){return rr(),Bl(i),t.flags|=256,Ue(e,t,n,r),t.child}var il={dehydrated:null,treeContext:null,retryLane:0};function ol(e){return{baseLanes:e,cachePool:null,transitions:null}}function Nf(e,t,n){var r=t.pendingProps,i=ye.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),pe(ye,i&1),e===null)return Ys(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Do(s,r,0,null),e=kn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ol(n),t.memoizedState=il,e):ta(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Wp(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=rn(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=rn(l,o):(o=kn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?ol(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=il,r}return o=e.child,e=o.sibling,r=rn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ta(e,t){return t=Do({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ai(e,t,n,r){return r!==null&&Bl(r),ir(t,e.child,null,n),e=ta(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Wp(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ms(Error(G(422))),Ai(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Do({mode:"visible",children:r.children},i,0,null),o=kn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&ir(t,e.child,null,s),t.child.memoizedState=ol(s),t.memoizedState=il,o);if(!(t.mode&1))return Ai(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(G(419)),r=ms(o,r,void 0),Ai(e,t,s,r)}if(l=(s&e.childLanes)!==0,Ve||l){if(r=Re,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ft(e,i),vt(r,e,i,-1))}return la(),r=ms(Error(G(421))),Ai(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=nm.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Xe=qt(i.nextSibling),Ye=t,ve=!0,mt=null,e!==null&&(ot[st++]=At,ot[st++]=Ot,ot[st++]=En,At=e.id,Ot=e.overflow,En=t),t=ta(t,r.children),t.flags|=4096,t)}function wu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Js(e.return,t,n)}function gs(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Tf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ue(e,t,r.children,n),r=ye.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&wu(e,n,t);else if(e.tag===19)wu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pe(ye,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&po(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),gs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&po(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}gs(t,!0,n,null,o);break;case"together":gs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function bt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),zn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(G(153));if(t.child!==null){for(e=t.child,n=rn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Hp(e,t,n){switch(t.tag){case 3:zf(t),rr();break;case 5:qc(t);break;case 1:Ge(t.type)&&lo(t);break;case 4:Gl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;pe(co,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(pe(ye,ye.current&1),t.flags|=128,null):n&t.child.childLanes?Nf(e,t,n):(pe(ye,ye.current&1),e=bt(e,t,n),e!==null?e.sibling:null);pe(ye,ye.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Tf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),pe(ye,ye.current),r)break;return null;case 22:case 23:return t.lanes=0,Ef(e,t,n)}return bt(e,t,n)}var If,sl,Pf,Rf;If=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};sl=function(){};Pf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,yn(Nt.current);var o=null;switch(n){case"input":i=Ts(e,i),r=Ts(e,r),o=[];break;case"select":i=_e({},i,{value:void 0}),r=_e({},r,{value:void 0}),o=[];break;case"textarea":i=Rs(e,i),r=Rs(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=oo)}Os(n,r);var s;n=null;for(f in i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&i[f]!=null)if(f==="style"){var l=i[f];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Br.hasOwnProperty(f)?o||(o=[]):(o=o||[]).push(f,null));for(f in r){var a=r[f];if(l=i!=null?i[f]:void 0,r.hasOwnProperty(f)&&a!==l&&(a!=null||l!=null))if(f==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(o||(o=[]),o.push(f,n)),n=a;else f==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(f,a)):f==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(f,""+a):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Br.hasOwnProperty(f)?(a!=null&&f==="onScroll"&&me("scroll",e),o||l===a||(o=[])):(o=o||[]).push(f,a))}n&&(o=o||[]).push("style",n);var f=o;(t.updateQueue=f)&&(t.flags|=4)}};Rf=function(e,t,n,r){n!==r&&(t.flags|=4)};function kr(e,t){if(!ve)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vp(e,t,n){var r=t.pendingProps;switch(Ml(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return Ge(t.type)&&so(),Le(t),null;case 3:return r=t.stateNode,or(),ge(Ze),ge(be),Ql(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Pi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,mt!==null&&(pl(mt),mt=null))),sl(e,t),Le(t),null;case 5:Kl(t);var i=yn(qr.current);if(n=t.type,e!==null&&t.stateNode!=null)Pf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(G(166));return Le(t),null}if(e=yn(Nt.current),Pi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Et]=t,r[Yr]=o,e=(t.mode&1)!==0,n){case"dialog":me("cancel",r),me("close",r);break;case"iframe":case"object":case"embed":me("load",r);break;case"video":case"audio":for(i=0;i<Ir.length;i++)me(Ir[i],r);break;case"source":me("error",r);break;case"img":case"image":case"link":me("error",r),me("load",r);break;case"details":me("toggle",r);break;case"input":Ta(r,o),me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},me("invalid",r);break;case"textarea":Pa(r,o),me("invalid",r)}Os(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Ii(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Ii(r.textContent,l,e),i=["children",""+l]):Br.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&me("scroll",r)}switch(n){case"input":ki(r),Ia(r,o,!0);break;case"textarea":ki(r),Ra(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=oo)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ic(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Et]=t,e[Yr]=r,If(e,t,!1,!1),t.stateNode=e;e:{switch(s=js(n,r),n){case"dialog":me("cancel",e),me("close",e),i=r;break;case"iframe":case"object":case"embed":me("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ir.length;i++)me(Ir[i],e);i=r;break;case"source":me("error",e),i=r;break;case"img":case"image":case"link":me("error",e),me("load",e),i=r;break;case"details":me("toggle",e),i=r;break;case"input":Ta(e,r),i=Ts(e,r),me("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=_e({},r,{value:void 0}),me("invalid",e);break;case"textarea":Pa(e,r),i=Rs(e,r),me("invalid",e);break;default:i=r}Os(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var a=l[o];o==="style"?lc(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&oc(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&$r(e,a):typeof a=="number"&&$r(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Br.hasOwnProperty(o)?a!=null&&o==="onScroll"&&me("scroll",e):a!=null&&Cl(e,o,a,s))}switch(n){case"input":ki(e),Ia(e,r,!1);break;case"textarea":ki(e),Ra(e);break;case"option":r.value!=null&&e.setAttribute("value",""+on(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Gn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Gn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=oo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Le(t),null;case 6:if(e&&t.stateNode!=null)Rf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(G(166));if(n=yn(qr.current),yn(Nt.current),Pi(t)){if(r=t.stateNode,n=t.memoizedProps,r[Et]=t,(o=r.nodeValue!==n)&&(e=Ye,e!==null))switch(e.tag){case 3:Ii(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ii(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Et]=t,t.stateNode=r}return Le(t),null;case 13:if(ge(ye),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ve&&Xe!==null&&t.mode&1&&!(t.flags&128))Kc(),rr(),t.flags|=98560,o=!1;else if(o=Pi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(G(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(G(317));o[Et]=t}else rr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Le(t),o=!1}else mt!==null&&(pl(mt),mt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ye.current&1?Te===0&&(Te=3):la())),t.updateQueue!==null&&(t.flags|=4),Le(t),null);case 4:return or(),sl(e,t),e===null&&Qr(t.stateNode.containerInfo),Le(t),null;case 10:return Hl(t.type._context),Le(t),null;case 17:return Ge(t.type)&&so(),Le(t),null;case 19:if(ge(ye),o=t.memoizedState,o===null)return Le(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)kr(o,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=po(e),s!==null){for(t.flags|=128,kr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return pe(ye,ye.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ce()>lr&&(t.flags|=128,r=!0,kr(o,!1),t.lanes=4194304)}else{if(!r)if(e=po(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),kr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!ve)return Le(t),null}else 2*Ce()-o.renderingStartTime>lr&&n!==1073741824&&(t.flags|=128,r=!0,kr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ce(),t.sibling=null,n=ye.current,pe(ye,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return sa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(G(156,t.tag))}function Zp(e,t){switch(Ml(t),t.tag){case 1:return Ge(t.type)&&so(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return or(),ge(Ze),ge(be),Ql(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kl(t),null;case 13:if(ge(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(G(340));rr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ge(ye),null;case 4:return or(),null;case 10:return Hl(t.type._context),null;case 22:case 23:return sa(),null;case 24:return null;default:return null}}var Oi=!1,Fe=!1,Gp=typeof WeakSet=="function"?WeakSet:Set,te=null;function Wn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function ll(e,t,n){try{n()}catch(r){ke(e,t,r)}}var _u=!1;function Kp(e,t){if(Hs=no,e=Dc(),bl(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,f=0,_=0,v=e,y=null;t:for(;;){for(var m;v!==n||i!==0&&v.nodeType!==3||(l=s+i),v!==o||r!==0&&v.nodeType!==3||(a=s+r),v.nodeType===3&&(s+=v.nodeValue.length),(m=v.firstChild)!==null;)y=v,v=m;for(;;){if(v===e)break t;if(y===n&&++f===i&&(l=s),y===o&&++_===r&&(a=s),(m=v.nextSibling)!==null)break;v=y,y=v.parentNode}v=m}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vs={focusedElem:e,selectionRange:n},no=!1,te=t;te!==null;)if(t=te,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,te=e;else for(;te!==null;){t=te;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var h=w.memoizedProps,k=w.memoizedState,u=t.stateNode,c=u.getSnapshotBeforeUpdate(t.elementType===t.type?h:ht(t.type,h),k);u.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(G(163))}}catch(S){ke(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,te=e;break}te=t.return}return w=_u,_u=!1,w}function Lr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ll(t,n,o)}i=i.next}while(i!==r)}}function Oo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function al(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Af(e){var t=e.alternate;t!==null&&(e.alternate=null,Af(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Et],delete t[Yr],delete t[Ks],delete t[Pp],delete t[Rp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Of(e){return e.tag===5||e.tag===3||e.tag===4}function ku(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Of(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=oo));else if(r!==4&&(e=e.child,e!==null))for(ul(e,t,n),e=e.sibling;e!==null;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(cl(e,t,n),e=e.sibling;e!==null;)cl(e,t,n),e=e.sibling}var Ae=null,pt=!1;function Wt(e,t,n){for(n=n.child;n!==null;)jf(e,t,n),n=n.sibling}function jf(e,t,n){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(Co,n)}catch{}switch(n.tag){case 5:Fe||Wn(n,t);case 6:var r=Ae,i=pt;Ae=null,Wt(e,t,n),Ae=r,pt=i,Ae!==null&&(pt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(pt?(e=Ae,n=n.stateNode,e.nodeType===8?us(e.parentNode,n):e.nodeType===1&&us(e,n),Zr(e)):us(Ae,n.stateNode));break;case 4:r=Ae,i=pt,Ae=n.stateNode.containerInfo,pt=!0,Wt(e,t,n),Ae=r,pt=i;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&ll(n,t,s),i=i.next}while(i!==r)}Wt(e,t,n);break;case 1:if(!Fe&&(Wn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ke(n,t,l)}Wt(e,t,n);break;case 21:Wt(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Wt(e,t,n),Fe=r):Wt(e,t,n);break;default:Wt(e,t,n)}}function xu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gp),t.forEach(function(r){var i=rm.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function dt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ae=l.stateNode,pt=!1;break e;case 3:Ae=l.stateNode.containerInfo,pt=!0;break e;case 4:Ae=l.stateNode.containerInfo,pt=!0;break e}l=l.return}if(Ae===null)throw Error(G(160));jf(o,s,i),Ae=null,pt=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(f){ke(i,t,f)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Df(t,e),t=t.sibling}function Df(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dt(t,e),kt(e),r&4){try{Lr(3,e,e.return),Oo(3,e)}catch(h){ke(e,e.return,h)}try{Lr(5,e,e.return)}catch(h){ke(e,e.return,h)}}break;case 1:dt(t,e),kt(e),r&512&&n!==null&&Wn(n,n.return);break;case 5:if(dt(t,e),kt(e),r&512&&n!==null&&Wn(n,n.return),e.flags&32){var i=e.stateNode;try{$r(i,"")}catch(h){ke(e,e.return,h)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&nc(i,o),js(l,s);var f=js(l,o);for(s=0;s<a.length;s+=2){var _=a[s],v=a[s+1];_==="style"?lc(i,v):_==="dangerouslySetInnerHTML"?oc(i,v):_==="children"?$r(i,v):Cl(i,_,v,f)}switch(l){case"input":Is(i,o);break;case"textarea":rc(i,o);break;case"select":var y=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m!=null?Gn(i,!!o.multiple,m,!1):y!==!!o.multiple&&(o.defaultValue!=null?Gn(i,!!o.multiple,o.defaultValue,!0):Gn(i,!!o.multiple,o.multiple?[]:"",!1))}i[Yr]=o}catch(h){ke(e,e.return,h)}}break;case 6:if(dt(t,e),kt(e),r&4){if(e.stateNode===null)throw Error(G(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(h){ke(e,e.return,h)}}break;case 3:if(dt(t,e),kt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Zr(t.containerInfo)}catch(h){ke(e,e.return,h)}break;case 4:dt(t,e),kt(e);break;case 13:dt(t,e),kt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ia=Ce())),r&4&&xu(e);break;case 22:if(_=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(f=Fe)||_,dt(t,e),Fe=f):dt(t,e),kt(e),r&8192){if(f=e.memoizedState!==null,(e.stateNode.isHidden=f)&&!_&&e.mode&1)for(te=e,_=e.child;_!==null;){for(v=te=_;te!==null;){switch(y=te,m=y.child,y.tag){case 0:case 11:case 14:case 15:Lr(4,y,y.return);break;case 1:Wn(y,y.return);var w=y.stateNode;if(typeof w.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(h){ke(r,n,h)}}break;case 5:Wn(y,y.return);break;case 22:if(y.memoizedState!==null){Eu(v);continue}}m!==null?(m.return=y,te=m):Eu(v)}_=_.sibling}e:for(_=null,v=e;;){if(v.tag===5){if(_===null){_=v;try{i=v.stateNode,f?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=v.stateNode,a=v.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=sc("display",s))}catch(h){ke(e,e.return,h)}}}else if(v.tag===6){if(_===null)try{v.stateNode.nodeValue=f?"":v.memoizedProps}catch(h){ke(e,e.return,h)}}else if((v.tag!==22&&v.tag!==23||v.memoizedState===null||v===e)&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===e)break e;for(;v.sibling===null;){if(v.return===null||v.return===e)break e;_===v&&(_=null),v=v.return}_===v&&(_=null),v.sibling.return=v.return,v=v.sibling}}break;case 19:dt(t,e),kt(e),r&4&&xu(e);break;case 21:break;default:dt(t,e),kt(e)}}function kt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Of(n)){var r=n;break e}n=n.return}throw Error(G(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&($r(i,""),r.flags&=-33);var o=ku(e);cl(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=ku(e);ul(e,l,s);break;default:throw Error(G(161))}}catch(a){ke(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Qp(e,t,n){te=e,Lf(e)}function Lf(e,t,n){for(var r=(e.mode&1)!==0;te!==null;){var i=te,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Oi;if(!s){var l=i.alternate,a=l!==null&&l.memoizedState!==null||Fe;l=Oi;var f=Fe;if(Oi=s,(Fe=a)&&!f)for(te=i;te!==null;)s=te,a=s.child,s.tag===22&&s.memoizedState!==null?Cu(i):a!==null?(a.return=s,te=a):Cu(i);for(;o!==null;)te=o,Lf(o),o=o.sibling;te=i,Oi=l,Fe=f}Su(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,te=o):Su(e)}}function Su(e){for(;te!==null;){var t=te;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||Oo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Fe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ht(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&lu(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}lu(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var f=t.alternate;if(f!==null){var _=f.memoizedState;if(_!==null){var v=_.dehydrated;v!==null&&Zr(v)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(G(163))}Fe||t.flags&512&&al(t)}catch(y){ke(t,t.return,y)}}if(t===e){te=null;break}if(n=t.sibling,n!==null){n.return=t.return,te=n;break}te=t.return}}function Eu(e){for(;te!==null;){var t=te;if(t===e){te=null;break}var n=t.sibling;if(n!==null){n.return=t.return,te=n;break}te=t.return}}function Cu(e){for(;te!==null;){var t=te;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Oo(4,t)}catch(a){ke(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ke(t,i,a)}}var o=t.return;try{al(t)}catch(a){ke(t,o,a)}break;case 5:var s=t.return;try{al(t)}catch(a){ke(t,s,a)}}}catch(a){ke(t,t.return,a)}if(t===e){te=null;break}var l=t.sibling;if(l!==null){l.return=t.return,te=l;break}te=t.return}}var Xp=Math.ceil,vo=Bt.ReactCurrentDispatcher,na=Bt.ReactCurrentOwner,at=Bt.ReactCurrentBatchConfig,le=0,Re=null,ze=null,Oe=0,Qe=0,Hn=an(0),Te=0,ri=null,zn=0,jo=0,ra=0,Fr=null,He=null,ia=0,lr=1/0,It=null,yo=!1,fl=null,tn=null,ji=!1,Qt=null,wo=0,br=0,dl=null,Gi=-1,Ki=0;function Be(){return le&6?Ce():Gi!==-1?Gi:Gi=Ce()}function nn(e){return e.mode&1?le&2&&Oe!==0?Oe&-Oe:Op.transition!==null?(Ki===0&&(Ki=wc()),Ki):(e=de,e!==0||(e=window.event,e=e===void 0?16:zc(e.type)),e):1}function vt(e,t,n,r){if(50<br)throw br=0,dl=null,Error(G(185));di(e,n,r),(!(le&2)||e!==Re)&&(e===Re&&(!(le&2)&&(jo|=n),Te===4&&Gt(e,Oe)),Ke(e,r),n===1&&le===0&&!(t.mode&1)&&(lr=Ce()+500,Po&&un()))}function Ke(e,t){var n=e.callbackNode;Oh(e,t);var r=to(e,e===Re?Oe:0);if(r===0)n!==null&&ja(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ja(n),t===1)e.tag===0?Ap(zu.bind(null,e)):Vc(zu.bind(null,e)),Tp(function(){!(le&6)&&un()}),n=null;else{switch(_c(r)){case 1:n=Pl;break;case 4:n=vc;break;case 16:n=eo;break;case 536870912:n=yc;break;default:n=eo}n=Hf(n,Ff.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ff(e,t){if(Gi=-1,Ki=0,le&6)throw Error(G(327));var n=e.callbackNode;if(Jn()&&e.callbackNode!==n)return null;var r=to(e,e===Re?Oe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=_o(e,r);else{t=r;var i=le;le|=2;var o=Uf();(Re!==e||Oe!==t)&&(It=null,lr=Ce()+500,_n(e,t));do try{qp();break}catch(l){bf(e,l)}while(!0);Wl(),vo.current=o,le=i,ze!==null?t=0:(Re=null,Oe=0,t=Te)}if(t!==0){if(t===2&&(i=Us(e),i!==0&&(r=i,t=hl(e,i))),t===1)throw n=ri,_n(e,0),Gt(e,r),Ke(e,Ce()),n;if(t===6)Gt(e,r);else{if(i=e.current.alternate,!(r&30)&&!Yp(i)&&(t=_o(e,r),t===2&&(o=Us(e),o!==0&&(r=o,t=hl(e,o))),t===1))throw n=ri,_n(e,0),Gt(e,r),Ke(e,Ce()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(G(345));case 2:mn(e,He,It);break;case 3:if(Gt(e,r),(r&130023424)===r&&(t=ia+500-Ce(),10<t)){if(to(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Be(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Gs(mn.bind(null,e,He,It),t);break}mn(e,He,It);break;case 4:if(Gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-gt(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=Ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xp(r/1960))-r,10<r){e.timeoutHandle=Gs(mn.bind(null,e,He,It),r);break}mn(e,He,It);break;case 5:mn(e,He,It);break;default:throw Error(G(329))}}}return Ke(e,Ce()),e.callbackNode===n?Ff.bind(null,e):null}function hl(e,t){var n=Fr;return e.current.memoizedState.isDehydrated&&(_n(e,t).flags|=256),e=_o(e,t),e!==2&&(t=He,He=n,t!==null&&pl(t)),e}function pl(e){He===null?He=e:He.push.apply(He,e)}function Yp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!yt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Gt(e,t){for(t&=~ra,t&=~jo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-gt(t),r=1<<n;e[n]=-1,t&=~r}}function zu(e){if(le&6)throw Error(G(327));Jn();var t=to(e,0);if(!(t&1))return Ke(e,Ce()),null;var n=_o(e,t);if(e.tag!==0&&n===2){var r=Us(e);r!==0&&(t=r,n=hl(e,r))}if(n===1)throw n=ri,_n(e,0),Gt(e,t),Ke(e,Ce()),n;if(n===6)throw Error(G(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,mn(e,He,It),Ke(e,Ce()),null}function oa(e,t){var n=le;le|=1;try{return e(t)}finally{le=n,le===0&&(lr=Ce()+500,Po&&un())}}function Nn(e){Qt!==null&&Qt.tag===0&&!(le&6)&&Jn();var t=le;le|=1;var n=at.transition,r=de;try{if(at.transition=null,de=1,e)return e()}finally{de=r,at.transition=n,le=t,!(le&6)&&un()}}function sa(){Qe=Hn.current,ge(Hn)}function _n(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Np(n)),ze!==null)for(n=ze.return;n!==null;){var r=n;switch(Ml(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&so();break;case 3:or(),ge(Ze),ge(be),Ql();break;case 5:Kl(r);break;case 4:or();break;case 13:ge(ye);break;case 19:ge(ye);break;case 10:Hl(r.type._context);break;case 22:case 23:sa()}n=n.return}if(Re=e,ze=e=rn(e.current,null),Oe=Qe=t,Te=0,ri=null,ra=jo=zn=0,He=Fr=null,vn!==null){for(t=0;t<vn.length;t++)if(n=vn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}vn=null}return e}function bf(e,t){do{var n=ze;try{if(Wl(),Hi.current=go,mo){for(var r=we.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}mo=!1}if(Cn=0,Pe=Ne=we=null,Dr=!1,ei=0,na.current=null,n===null||n.return===null){Te=1,ri=t,ze=null;break}e:{var o=e,s=n.return,l=n,a=t;if(t=Oe,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var f=a,_=l,v=_.tag;if(!(_.mode&1)&&(v===0||v===11||v===15)){var y=_.alternate;y?(_.updateQueue=y.updateQueue,_.memoizedState=y.memoizedState,_.lanes=y.lanes):(_.updateQueue=null,_.memoizedState=null)}var m=hu(s);if(m!==null){m.flags&=-257,pu(m,s,l,o,t),m.mode&1&&du(o,f,t),t=m,a=f;var w=t.updateQueue;if(w===null){var h=new Set;h.add(a),t.updateQueue=h}else w.add(a);break e}else{if(!(t&1)){du(o,f,t),la();break e}a=Error(G(426))}}else if(ve&&l.mode&1){var k=hu(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),pu(k,s,l,o,t),Bl(sr(a,l));break e}}o=a=sr(a,l),Te!==4&&(Te=2),Fr===null?Fr=[o]:Fr.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var u=kf(o,a,t);su(o,u);break e;case 1:l=a;var c=o.type,g=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(tn===null||!tn.has(g)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=xf(o,l,t);su(o,S);break e}}o=o.return}while(o!==null)}Bf(n)}catch(z){t=z,ze===n&&n!==null&&(ze=n=n.return);continue}break}while(!0)}function Uf(){var e=vo.current;return vo.current=go,e===null?go:e}function la(){(Te===0||Te===3||Te===2)&&(Te=4),Re===null||!(zn&268435455)&&!(jo&268435455)||Gt(Re,Oe)}function _o(e,t){var n=le;le|=2;var r=Uf();(Re!==e||Oe!==t)&&(It=null,_n(e,t));do try{Jp();break}catch(i){bf(e,i)}while(!0);if(Wl(),le=n,vo.current=r,ze!==null)throw Error(G(261));return Re=null,Oe=0,Te}function Jp(){for(;ze!==null;)Mf(ze)}function qp(){for(;ze!==null&&!Eh();)Mf(ze)}function Mf(e){var t=Wf(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?Bf(e):ze=t,na.current=null}function Bf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Zp(n,t),n!==null){n.flags&=32767,ze=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,ze=null;return}}else if(n=Vp(n,t,Qe),n!==null){ze=n;return}if(t=t.sibling,t!==null){ze=t;return}ze=t=e}while(t!==null);Te===0&&(Te=5)}function mn(e,t,n){var r=de,i=at.transition;try{at.transition=null,de=1,em(e,t,n,r)}finally{at.transition=i,de=r}return null}function em(e,t,n,r){do Jn();while(Qt!==null);if(le&6)throw Error(G(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(G(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(jh(e,o),e===Re&&(ze=Re=null,Oe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ji||(ji=!0,Hf(eo,function(){return Jn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=at.transition,at.transition=null;var s=de;de=1;var l=le;le|=4,na.current=null,Kp(e,n),Df(n,e),_p(Vs),no=!!Hs,Vs=Hs=null,e.current=n,Qp(n),Ch(),le=l,de=s,at.transition=o}else e.current=n;if(ji&&(ji=!1,Qt=e,wo=i),o=e.pendingLanes,o===0&&(tn=null),Th(n.stateNode),Ke(e,Ce()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(yo)throw yo=!1,e=fl,fl=null,e;return wo&1&&e.tag!==0&&Jn(),o=e.pendingLanes,o&1?e===dl?br++:(br=0,dl=e):br=0,un(),null}function Jn(){if(Qt!==null){var e=_c(wo),t=at.transition,n=de;try{if(at.transition=null,de=16>e?16:e,Qt===null)var r=!1;else{if(e=Qt,Qt=null,wo=0,le&6)throw Error(G(331));var i=le;for(le|=4,te=e.current;te!==null;){var o=te,s=o.child;if(te.flags&16){var l=o.deletions;if(l!==null){for(var a=0;a<l.length;a++){var f=l[a];for(te=f;te!==null;){var _=te;switch(_.tag){case 0:case 11:case 15:Lr(8,_,o)}var v=_.child;if(v!==null)v.return=_,te=v;else for(;te!==null;){_=te;var y=_.sibling,m=_.return;if(Af(_),_===f){te=null;break}if(y!==null){y.return=m,te=y;break}te=m}}}var w=o.alternate;if(w!==null){var h=w.child;if(h!==null){w.child=null;do{var k=h.sibling;h.sibling=null,h=k}while(h!==null)}}te=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,te=s;else e:for(;te!==null;){if(o=te,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Lr(9,o,o.return)}var u=o.sibling;if(u!==null){u.return=o.return,te=u;break e}te=o.return}}var c=e.current;for(te=c;te!==null;){s=te;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,te=g;else e:for(s=c;te!==null;){if(l=te,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Oo(9,l)}}catch(z){ke(l,l.return,z)}if(l===s){te=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,te=S;break e}te=l.return}}if(le=i,un(),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(Co,e)}catch{}r=!0}return r}finally{de=n,at.transition=t}}return!1}function Nu(e,t,n){t=sr(n,t),t=kf(e,t,1),e=en(e,t,1),t=Be(),e!==null&&(di(e,1,t),Ke(e,t))}function ke(e,t,n){if(e.tag===3)Nu(e,e,n);else for(;t!==null;){if(t.tag===3){Nu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(tn===null||!tn.has(r))){e=sr(n,e),e=xf(t,e,1),t=en(t,e,1),e=Be(),t!==null&&(di(t,1,e),Ke(t,e));break}}t=t.return}}function tm(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Be(),e.pingedLanes|=e.suspendedLanes&n,Re===e&&(Oe&n)===n&&(Te===4||Te===3&&(Oe&130023424)===Oe&&500>Ce()-ia?_n(e,0):ra|=n),Ke(e,t)}function $f(e,t){t===0&&(e.mode&1?(t=Ei,Ei<<=1,!(Ei&130023424)&&(Ei=4194304)):t=1);var n=Be();e=Ft(e,t),e!==null&&(di(e,t,n),Ke(e,n))}function nm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$f(e,n)}function rm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(G(314))}r!==null&&r.delete(t),$f(e,n)}var Wf;Wf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,Hp(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,ve&&t.flags&1048576&&Zc(t,uo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zi(e,t),e=t.pendingProps;var i=nr(t,be.current);Yn(t,n),i=Yl(null,t,r,e,i,n);var o=Jl();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ge(r)?(o=!0,lo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Zl(t),i.updater=Ao,t.stateNode=i,i._reactInternals=t,el(t,r,e,n),t=rl(null,t,r,!0,o,n)):(t.tag=0,ve&&o&&Ul(t),Ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=om(r),e=ht(r,e),i){case 0:t=nl(null,t,r,e,n);break e;case 1:t=vu(null,t,r,e,n);break e;case 11:t=mu(null,t,r,e,n);break e;case 14:t=gu(null,t,r,ht(r.type,e),n);break e}throw Error(G(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),nl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),vu(e,t,r,i,n);case 3:e:{if(zf(t),e===null)throw Error(G(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Jc(e,t),ho(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=sr(Error(G(423)),t),t=yu(e,t,r,n,i);break e}else if(r!==i){i=sr(Error(G(424)),t),t=yu(e,t,r,n,i);break e}else for(Xe=qt(t.stateNode.containerInfo.firstChild),Ye=t,ve=!0,mt=null,n=Xc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(rr(),r===i){t=bt(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return qc(t),e===null&&Ys(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Zs(r,i)?s=null:o!==null&&Zs(r,o)&&(t.flags|=32),Cf(e,t),Ue(e,t,s,n),t.child;case 6:return e===null&&Ys(t),null;case 13:return Nf(e,t,n);case 4:return Gl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ir(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),mu(e,t,r,i,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,pe(co,r._currentValue),r._currentValue=s,o!==null)if(yt(o.value,s)){if(o.children===i.children&&!Ze.current){t=bt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=jt(-1,n&-n),a.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var _=f.pending;_===null?a.next=a:(a.next=_.next,_.next=a),f.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Js(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(G(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Js(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Yn(t,n),i=ut(i),r=r(i),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,i=ht(r,t.pendingProps),i=ht(r.type,i),gu(e,t,r,i,n);case 15:return Sf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ht(r,i),Zi(e,t),t.tag=1,Ge(r)?(e=!0,lo(t)):e=!1,Yn(t,n),_f(t,r,i),el(t,r,i,n),rl(null,t,r,!0,e,n);case 19:return Tf(e,t,n);case 22:return Ef(e,t,n)}throw Error(G(156,t.tag))};function Hf(e,t){return gc(e,t)}function im(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,r){return new im(e,t,n,r)}function aa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function om(e){if(typeof e=="function")return aa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Nl)return 11;if(e===Tl)return 14}return 2}function rn(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qi(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")aa(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case jn:return kn(n.children,i,o,t);case zl:s=8,i|=8;break;case Es:return e=lt(12,n,t,i|2),e.elementType=Es,e.lanes=o,e;case Cs:return e=lt(13,n,t,i),e.elementType=Cs,e.lanes=o,e;case zs:return e=lt(19,n,t,i),e.elementType=zs,e.lanes=o,e;case qu:return Do(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Yu:s=10;break e;case Ju:s=9;break e;case Nl:s=11;break e;case Tl:s=14;break e;case Ht:s=16,r=null;break e}throw Error(G(130,e==null?e:typeof e,""))}return t=lt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function kn(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function Do(e,t,n,r){return e=lt(22,e,r,t),e.elementType=qu,e.lanes=n,e.stateNode={isHidden:!1},e}function vs(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function ys(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function sm(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jo(0),this.expirationTimes=Jo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ua(e,t,n,r,i,o,s,l,a){return e=new sm(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=lt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zl(o),e}function lm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:On,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Vf(e){if(!e)return sn;e=e._reactInternals;e:{if(In(e)!==e||e.tag!==1)throw Error(G(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ge(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(G(171))}if(e.tag===1){var n=e.type;if(Ge(n))return Hc(e,n,t)}return t}function Zf(e,t,n,r,i,o,s,l,a){return e=ua(n,r,!0,e,i,o,s,l,a),e.context=Vf(null),n=e.current,r=Be(),i=nn(n),o=jt(r,i),o.callback=t??null,en(n,o,i),e.current.lanes=i,di(e,i,r),Ke(e,r),e}function Lo(e,t,n,r){var i=t.current,o=Be(),s=nn(i);return n=Vf(n),t.context===null?t.context=n:t.pendingContext=n,t=jt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=en(i,t,s),e!==null&&(vt(e,i,s,o),Wi(e,i,s)),s}function ko(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Tu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ca(e,t){Tu(e,t),(e=e.alternate)&&Tu(e,t)}function am(){return null}var Gf=typeof reportError=="function"?reportError:function(e){console.error(e)};function fa(e){this._internalRoot=e}Fo.prototype.render=fa.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(G(409));Lo(e,t,null,null)};Fo.prototype.unmount=fa.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Nn(function(){Lo(null,e,null,null)}),t[Lt]=null}};function Fo(e){this._internalRoot=e}Fo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Zt.length&&t!==0&&t<Zt[n].priority;n++);Zt.splice(n,0,e),n===0&&Cc(e)}};function da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function bo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Iu(){}function um(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var f=ko(s);o.call(f)}}var s=Zf(t,r,e,0,null,!1,!1,"",Iu);return e._reactRootContainer=s,e[Lt]=s.current,Qr(e.nodeType===8?e.parentNode:e),Nn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var f=ko(a);l.call(f)}}var a=ua(e,0,!1,null,null,!1,!1,"",Iu);return e._reactRootContainer=a,e[Lt]=a.current,Qr(e.nodeType===8?e.parentNode:e),Nn(function(){Lo(t,a,n,r)}),a}function Uo(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var a=ko(s);l.call(a)}}Lo(t,s,e,i)}else s=um(n,t,e,i,r);return ko(s)}kc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Tr(t.pendingLanes);n!==0&&(Rl(t,n|1),Ke(t,Ce()),!(le&6)&&(lr=Ce()+500,un()))}break;case 13:Nn(function(){var r=Ft(e,1);if(r!==null){var i=Be();vt(r,e,1,i)}}),ca(e,1)}};Al=function(e){if(e.tag===13){var t=Ft(e,134217728);if(t!==null){var n=Be();vt(t,e,134217728,n)}ca(e,134217728)}};xc=function(e){if(e.tag===13){var t=nn(e),n=Ft(e,t);if(n!==null){var r=Be();vt(n,e,t,r)}ca(e,t)}};Sc=function(){return de};Ec=function(e,t){var n=de;try{return de=e,t()}finally{de=n}};Ls=function(e,t,n){switch(t){case"input":if(Is(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Io(r);if(!i)throw Error(G(90));tc(r),Is(r,i)}}}break;case"textarea":rc(e,n);break;case"select":t=n.value,t!=null&&Gn(e,!!n.multiple,t,!1)}};cc=oa;fc=Nn;var cm={usingClientEntryPoint:!1,Events:[pi,bn,Io,ac,uc,oa]},xr={findFiberByHostInstance:gn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},fm={bundleType:xr.bundleType,version:xr.version,rendererPackageName:xr.rendererPackageName,rendererConfig:xr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Bt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=pc(e),e===null?null:e.stateNode},findFiberByHostInstance:xr.findFiberByHostInstance||am,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Di=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Di.isDisabled&&Di.supportsFiber)try{Co=Di.inject(fm),zt=Di}catch{}}tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cm;tt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!da(t))throw Error(G(200));return lm(e,t,null,n)};tt.createRoot=function(e,t){if(!da(e))throw Error(G(299));var n=!1,r="",i=Gf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ua(e,1,!1,null,null,n,!1,r,i),e[Lt]=t.current,Qr(e.nodeType===8?e.parentNode:e),new fa(t)};tt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(G(188)):(e=Object.keys(e).join(","),Error(G(268,e)));return e=pc(t),e=e===null?null:e.stateNode,e};tt.flushSync=function(e){return Nn(e)};tt.hydrate=function(e,t,n){if(!bo(t))throw Error(G(200));return Uo(null,e,t,!0,n)};tt.hydrateRoot=function(e,t,n){if(!da(e))throw Error(G(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Gf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Zf(t,null,e,1,n??null,i,!1,o,s),e[Lt]=t.current,Qr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Fo(t)};tt.render=function(e,t,n){if(!bo(t))throw Error(G(200));return Uo(null,e,t,!1,n)};tt.unmountComponentAtNode=function(e){if(!bo(e))throw Error(G(40));return e._reactRootContainer?(Nn(function(){Uo(null,null,e,!1,function(){e._reactRootContainer=null,e[Lt]=null})}),!0):!1};tt.unstable_batchedUpdates=oa;tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!bo(n))throw Error(G(200));if(e==null||e._reactInternals===void 0)throw Error(G(38));return Uo(e,t,n,!1,r)};tt.version="18.3.1-next-f1338f8080-20240426";function Kf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Kf)}catch(e){console.error(e)}}Kf(),Gu.exports=tt;var dm=Gu.exports,Pu=dm;xs.createRoot=Pu.createRoot,xs.hydrateRoot=Pu.hydrateRoot;/**
41
+
* @license lucide-react v0.544.0 - ISC
42
+
*
43
+
* This source code is licensed under the ISC license.
44
+
* See the LICENSE file in the root directory of this source tree.
45
+
*/const hm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),pm=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Ru=e=>{const t=pm(e);return t.charAt(0).toUpperCase()+t.slice(1)},Qf=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),mm=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
46
+
* @license lucide-react v0.544.0 - ISC
47
+
*
48
+
* This source code is licensed under the ISC license.
49
+
* See the LICENSE file in the root directory of this source tree.
50
+
*/var gm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51
+
* @license lucide-react v0.544.0 - ISC
52
+
*
53
+
* This source code is licensed under the ISC license.
54
+
* See the LICENSE file in the root directory of this source tree.
55
+
*/const vm=Me.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...l},a)=>Me.createElement("svg",{ref:a,...gm,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Qf("lucide",i),...!o&&!mm(l)&&{"aria-hidden":"true"},...l},[...s.map(([f,_])=>Me.createElement(f,_)),...Array.isArray(o)?o:[o]]));/**
56
+
* @license lucide-react v0.544.0 - ISC
57
+
*
58
+
* This source code is licensed under the ISC license.
59
+
* See the LICENSE file in the root directory of this source tree.
60
+
*/const cn=(e,t)=>{const n=Me.forwardRef(({className:r,...i},o)=>Me.createElement(vm,{ref:o,iconNode:t,className:Qf(`lucide-${hm(Ru(e))}`,`lucide-${e}`,r),...i}));return n.displayName=Ru(e),n};/**
61
+
* @license lucide-react v0.544.0 - ISC
62
+
*
63
+
* This source code is licensed under the ISC license.
64
+
* See the LICENSE file in the root directory of this source tree.
65
+
*/const ym=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],wm=cn("arrow-right",ym);/**
66
+
* @license lucide-react v0.544.0 - ISC
67
+
*
68
+
* This source code is licensed under the ISC license.
69
+
* See the LICENSE file in the root directory of this source tree.
70
+
*/const _m=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],km=cn("check",_m);/**
71
+
* @license lucide-react v0.544.0 - ISC
72
+
*
73
+
* This source code is licensed under the ISC license.
74
+
* See the LICENSE file in the root directory of this source tree.
75
+
*/const xm=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Sm=cn("file-text",xm);/**
76
+
* @license lucide-react v0.544.0 - ISC
77
+
*
78
+
* This source code is licensed under the ISC license.
79
+
* See the LICENSE file in the root directory of this source tree.
80
+
*/const Em=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Cm=cn("search",Em);/**
81
+
* @license lucide-react v0.544.0 - ISC
82
+
*
83
+
* This source code is licensed under the ISC license.
84
+
* See the LICENSE file in the root directory of this source tree.
85
+
*/const zm=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Nm=cn("upload",zm);/**
86
+
* @license lucide-react v0.544.0 - ISC
87
+
*
88
+
* This source code is licensed under the ISC license.
89
+
* See the LICENSE file in the root directory of this source tree.
90
+
*/const Tm=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Im=cn("user",Tm);/**
91
+
* @license lucide-react v0.544.0 - ISC
92
+
*
93
+
* This source code is licensed under the ISC license.
94
+
* See the LICENSE file in the root directory of this source tree.
95
+
*/const Pm=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Rm=cn("users",Pm);/**
96
+
* @license lucide-react v0.544.0 - ISC
97
+
*
98
+
* This source code is licensed under the ISC license.
99
+
* See the LICENSE file in the root directory of this source tree.
100
+
*/const Am=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Om=cn("x",Am);function Li(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Xf={exports:{}};/*!
101
+
102
+
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
103
+
<http://stuartk.com/jszip>
104
+
105
+
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
106
+
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
107
+
108
+
JSZip uses the library pako released under the MIT license :
109
+
https://github.com/nodeca/pako/blob/main/LICENSE
110
+
*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,i,o){function s(f,_){if(!i[f]){if(!r[f]){var v=typeof Li=="function"&&Li;if(!_&&v)return v(f,!0);if(l)return l(f,!0);var y=new Error("Cannot find module '"+f+"'");throw y.code="MODULE_NOT_FOUND",y}var m=i[f]={exports:{}};r[f][0].call(m.exports,function(w){var h=r[f][1][w];return s(h||w)},m,m.exports,n,r,i,o)}return i[f].exports}for(var l=typeof Li=="function"&&Li,a=0;a<o.length;a++)s(o[a]);return s}({1:[function(n,r,i){var o=n("./utils"),s=n("./support"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(a){for(var f,_,v,y,m,w,h,k=[],u=0,c=a.length,g=c,S=o.getTypeOf(a)!=="string";u<a.length;)g=c-u,v=S?(f=a[u++],_=u<c?a[u++]:0,u<c?a[u++]:0):(f=a.charCodeAt(u++),_=u<c?a.charCodeAt(u++):0,u<c?a.charCodeAt(u++):0),y=f>>2,m=(3&f)<<4|_>>4,w=1<g?(15&_)<<2|v>>6:64,h=2<g?63&v:64,k.push(l.charAt(y)+l.charAt(m)+l.charAt(w)+l.charAt(h));return k.join("")},i.decode=function(a){var f,_,v,y,m,w,h=0,k=0,u="data:";if(a.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var c,g=3*(a=a.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(a.charAt(a.length-1)===l.charAt(64)&&g--,a.charAt(a.length-2)===l.charAt(64)&&g--,g%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=s.uint8array?new Uint8Array(0|g):new Array(0|g);h<a.length;)f=l.indexOf(a.charAt(h++))<<2|(y=l.indexOf(a.charAt(h++)))>>4,_=(15&y)<<4|(m=l.indexOf(a.charAt(h++)))>>2,v=(3&m)<<6|(w=l.indexOf(a.charAt(h++))),c[k++]=f,m!==64&&(c[k++]=_),w!==64&&(c[k++]=v);return c}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),s=n("./stream/DataWorker"),l=n("./stream/Crc32Probe"),a=n("./stream/DataLengthProbe");function f(_,v,y,m,w){this.compressedSize=_,this.uncompressedSize=v,this.crc32=y,this.compression=m,this.compressedContent=w}f.prototype={getContentWorker:function(){var _=new s(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),v=this;return _.on("end",function(){if(this.streamInfo.data_length!==v.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),_},getCompressedWorker:function(){return new s(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},f.createWorkerFrom=function(_,v,y){return _.pipe(new l).pipe(new a("uncompressedSize")).pipe(v.compressWorker(y)).pipe(new a("compressedSize")).withStreamInfo("compression",v)},r.exports=f},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),s=function(){for(var l,a=[],f=0;f<256;f++){l=f;for(var _=0;_<8;_++)l=1&l?3988292384^l>>>1:l>>>1;a[f]=l}return a}();r.exports=function(l,a){return l!==void 0&&l.length?o.getTypeOf(l)!=="string"?function(f,_,v,y){var m=s,w=y+v;f^=-1;for(var h=y;h<w;h++)f=f>>>8^m[255&(f^_[h])];return-1^f}(0|a,l,l.length,0):function(f,_,v,y){var m=s,w=y+v;f^=-1;for(var h=y;h<w;h++)f=f>>>8^m[255&(f^_.charCodeAt(h))];return-1^f}(0|a,l,l.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=n("pako"),l=n("./utils"),a=n("./stream/GenericWorker"),f=o?"uint8array":"array";function _(v,y){a.call(this,"FlateWorker/"+v),this._pako=null,this._pakoAction=v,this._pakoOptions=y,this.meta={}}i.magic="\b\0",l.inherits(_,a),_.prototype.processChunk=function(v){this.meta=v.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(f,v.data),!1)},_.prototype.flush=function(){a.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},_.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},_.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var v=this;this._pako.onData=function(y){v.push({data:y,meta:v.meta})}},i.compressWorker=function(v){return new _("Deflate",v)},i.uncompressWorker=function(){return new _("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(m,w){var h,k="";for(h=0;h<w;h++)k+=String.fromCharCode(255&m),m>>>=8;return k}function s(m,w,h,k,u,c){var g,S,z=m.file,P=m.compression,T=c!==f.utf8encode,F=l.transformTo("string",c(z.name)),N=l.transformTo("string",f.utf8encode(z.name)),R=z.comment,V=l.transformTo("string",c(R)),E=l.transformTo("string",f.utf8encode(R)),j=N.length!==z.name.length,p=E.length!==R.length,U="",J="",B="",M=z.dir,L=z.date,K={crc32:0,compressedSize:0,uncompressedSize:0};w&&!h||(K.crc32=m.crc32,K.compressedSize=m.compressedSize,K.uncompressedSize=m.uncompressedSize);var O=0;w&&(O|=8),T||!j&&!p||(O|=2048);var A=0,ne=0;M&&(A|=16),u==="UNIX"?(ne=798,A|=function(Y,fe){var xe=Y;return Y||(xe=fe?16893:33204),(65535&xe)<<16}(z.unixPermissions,M)):(ne=20,A|=function(Y){return 63&(Y||0)}(z.dosPermissions)),g=L.getUTCHours(),g<<=6,g|=L.getUTCMinutes(),g<<=5,g|=L.getUTCSeconds()/2,S=L.getUTCFullYear()-1980,S<<=4,S|=L.getUTCMonth()+1,S<<=5,S|=L.getUTCDate(),j&&(J=o(1,1)+o(_(F),4)+N,U+="up"+o(J.length,2)+J),p&&(B=o(1,1)+o(_(V),4)+E,U+="uc"+o(B.length,2)+B);var q="";return q+=`
111
+
\0`,q+=o(O,2),q+=P.magic,q+=o(g,2),q+=o(S,2),q+=o(K.crc32,4),q+=o(K.compressedSize,4),q+=o(K.uncompressedSize,4),q+=o(F.length,2),q+=o(U.length,2),{fileRecord:v.LOCAL_FILE_HEADER+q+F+U,dirRecord:v.CENTRAL_FILE_HEADER+o(ne,2)+q+o(V.length,2)+"\0\0\0\0"+o(A,4)+o(k,4)+F+U+V}}var l=n("../utils"),a=n("../stream/GenericWorker"),f=n("../utf8"),_=n("../crc32"),v=n("../signature");function y(m,w,h,k){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=w,this.zipPlatform=h,this.encodeFileName=k,this.streamFiles=m,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(y,a),y.prototype.push=function(m){var w=m.meta.percent||0,h=this.entriesCount,k=this._sources.length;this.accumulate?this.contentBuffer.push(m):(this.bytesWritten+=m.data.length,a.prototype.push.call(this,{data:m.data,meta:{currentFile:this.currentFile,percent:h?(w+100*(h-k-1))/h:100}}))},y.prototype.openedSource=function(m){this.currentSourceOffset=this.bytesWritten,this.currentFile=m.file.name;var w=this.streamFiles&&!m.file.dir;if(w){var h=s(m,w,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},y.prototype.closedSource=function(m){this.accumulate=!1;var w=this.streamFiles&&!m.file.dir,h=s(m,w,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),w)this.push({data:function(k){return v.DATA_DESCRIPTOR+o(k.crc32,4)+o(k.compressedSize,4)+o(k.uncompressedSize,4)}(m),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},y.prototype.flush=function(){for(var m=this.bytesWritten,w=0;w<this.dirRecords.length;w++)this.push({data:this.dirRecords[w],meta:{percent:100}});var h=this.bytesWritten-m,k=function(u,c,g,S,z){var P=l.transformTo("string",z(S));return v.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(u,2)+o(u,2)+o(c,4)+o(g,4)+o(P.length,2)+P}(this.dirRecords.length,h,m,this.zipComment,this.encodeFileName);this.push({data:k,meta:{percent:100}})},y.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},y.prototype.registerPrevious=function(m){this._sources.push(m);var w=this;return m.on("data",function(h){w.processChunk(h)}),m.on("end",function(){w.closedSource(w.previous.streamInfo),w._sources.length?w.prepareNextSource():w.end()}),m.on("error",function(h){w.error(h)}),this},y.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},y.prototype.error=function(m){var w=this._sources;if(!a.prototype.error.call(this,m))return!1;for(var h=0;h<w.length;h++)try{w[h].error(m)}catch{}return!0},y.prototype.lock=function(){a.prototype.lock.call(this);for(var m=this._sources,w=0;w<m.length;w++)m[w].lock()},r.exports=y},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),s=n("./ZipFileWorker");i.generateWorker=function(l,a,f){var _=new s(a.streamFiles,f,a.platform,a.encodeFileName),v=0;try{l.forEach(function(y,m){v++;var w=function(c,g){var S=c||g,z=o[S];if(!z)throw new Error(S+" is not a valid compression method !");return z}(m.options.compression,a.compression),h=m.options.compressionOptions||a.compressionOptions||{},k=m.dir,u=m.date;m._compressWorker(w,h).withStreamInfo("file",{name:y,dir:k,date:u,comment:m.comment||"",unixPermissions:m.unixPermissions,dosPermissions:m.dosPermissions}).pipe(_)}),_.entriesCount=v}catch(y){_.error(y)}return _}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new o;for(var l in this)typeof this[l]!="function"&&(s[l]=this[l]);return s}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(s,l){return new o().loadAsync(s,l)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),s=n("./external"),l=n("./utf8"),a=n("./zipEntries"),f=n("./stream/Crc32Probe"),_=n("./nodejsUtils");function v(y){return new s.Promise(function(m,w){var h=y.decompressed.getContentWorker().pipe(new f);h.on("error",function(k){w(k)}).on("end",function(){h.streamInfo.crc32!==y.decompressed.crc32?w(new Error("Corrupted zip : CRC32 mismatch")):m()}).resume()})}r.exports=function(y,m){var w=this;return m=o.extend(m||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:l.utf8decode}),_.isNode&&_.isStream(y)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",y,!0,m.optimizedBinaryString,m.base64).then(function(h){var k=new a(m);return k.load(h),k}).then(function(h){var k=[s.Promise.resolve(h)],u=h.files;if(m.checkCRC32)for(var c=0;c<u.length;c++)k.push(v(u[c]));return s.Promise.all(k)}).then(function(h){for(var k=h.shift(),u=k.files,c=0;c<u.length;c++){var g=u[c],S=g.fileNameStr,z=o.resolve(g.fileNameStr);w.file(z,g.decompressed,{binary:!0,optimizedBinaryString:!0,date:g.date,dir:g.dir,comment:g.fileCommentStr.length?g.fileCommentStr:null,unixPermissions:g.unixPermissions,dosPermissions:g.dosPermissions,createFolders:m.createFolders}),g.dir||(w.file(z).unsafeOriginalName=S)}return k.zipComment.length&&(w.comment=k.zipComment),w})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),s=n("../stream/GenericWorker");function l(a,f){s.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(f)}o.inherits(l,s),l.prototype._bindStream=function(a){var f=this;(this._stream=a).pause(),a.on("data",function(_){f.push({data:_,meta:{percent:0}})}).on("error",function(_){f.isPaused?this.generatedError=_:f.error(_)}).on("end",function(){f.isPaused?f._upstreamEnded=!0:f.end()})},l.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=l},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function s(l,a,f){o.call(this,a),this._helper=l;var _=this;l.on("data",function(v,y){_.push(v)||_._helper.pause(),f&&f(y)}).on("error",function(v){_.emit("error",v)}).on("end",function(){_.push(null)})}n("../utils").inherits(s,o),s.prototype._read=function(){this._helper.resume()},r.exports=s},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,s);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,s)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var s=new Buffer(o);return s.fill(0),s},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(z,P,T){var F,N=l.getTypeOf(P),R=l.extend(T||{},_);R.date=R.date||new Date,R.compression!==null&&(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions=="string"&&(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&&16384&R.unixPermissions&&(R.dir=!0),R.dosPermissions&&16&R.dosPermissions&&(R.dir=!0),R.dir&&(z=u(z)),R.createFolders&&(F=k(z))&&c.call(this,F,!0);var V=N==="string"&&R.binary===!1&&R.base64===!1;T&&T.binary!==void 0||(R.binary=!V),(P instanceof v&&P.uncompressedSize===0||R.dir||!P||P.length===0)&&(R.base64=!1,R.binary=!0,P="",R.compression="STORE",N="string");var E=null;E=P instanceof v||P instanceof a?P:w.isNode&&w.isStream(P)?new h(z,P):l.prepareContent(z,P,R.binary,R.optimizedBinaryString,R.base64);var j=new y(z,E,R);this.files[z]=j}var s=n("./utf8"),l=n("./utils"),a=n("./stream/GenericWorker"),f=n("./stream/StreamHelper"),_=n("./defaults"),v=n("./compressedObject"),y=n("./zipObject"),m=n("./generate"),w=n("./nodejsUtils"),h=n("./nodejs/NodejsStreamInputAdapter"),k=function(z){z.slice(-1)==="/"&&(z=z.substring(0,z.length-1));var P=z.lastIndexOf("/");return 0<P?z.substring(0,P):""},u=function(z){return z.slice(-1)!=="/"&&(z+="/"),z},c=function(z,P){return P=P!==void 0?P:_.createFolders,z=u(z),this.files[z]||o.call(this,z,null,{dir:!0,createFolders:P}),this.files[z]};function g(z){return Object.prototype.toString.call(z)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(z){var P,T,F;for(P in this.files)F=this.files[P],(T=P.slice(this.root.length,P.length))&&P.slice(0,this.root.length)===this.root&&z(T,F)},filter:function(z){var P=[];return this.forEach(function(T,F){z(T,F)&&P.push(F)}),P},file:function(z,P,T){if(arguments.length!==1)return z=this.root+z,o.call(this,z,P,T),this;if(g(z)){var F=z;return this.filter(function(R,V){return!V.dir&&F.test(R)})}var N=this.files[this.root+z];return N&&!N.dir?N:null},folder:function(z){if(!z)return this;if(g(z))return this.filter(function(N,R){return R.dir&&z.test(N)});var P=this.root+z,T=c.call(this,P),F=this.clone();return F.root=T.name,F},remove:function(z){z=this.root+z;var P=this.files[z];if(P||(z.slice(-1)!=="/"&&(z+="/"),P=this.files[z]),P&&!P.dir)delete this.files[z];else for(var T=this.filter(function(N,R){return R.name.slice(0,z.length)===z}),F=0;F<T.length;F++)delete this.files[T[F].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(z){var P,T={};try{if((T=l.extend(z||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");l.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var F=T.comment||this.comment||"";P=m.generateWorker(this,T,F)}catch(N){(P=new a("error")).error(N)}return new f(P,T.type||"string",T.mimeType)},generateAsync:function(z,P){return this.generateInternalStream(z).accumulate(P)},generateNodeStream:function(z,P){return(z=z||{}).type||(z.type="nodebuffer"),this.generateInternalStream(z).toNodejsStream(P)}};r.exports=S},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function s(l){o.call(this,l);for(var a=0;a<this.data.length;a++)l[a]=255&l[a]}n("../utils").inherits(s,o),s.prototype.byteAt=function(l){return this.data[this.zero+l]},s.prototype.lastIndexOfSignature=function(l){for(var a=l.charCodeAt(0),f=l.charCodeAt(1),_=l.charCodeAt(2),v=l.charCodeAt(3),y=this.length-4;0<=y;--y)if(this.data[y]===a&&this.data[y+1]===f&&this.data[y+2]===_&&this.data[y+3]===v)return y-this.zero;return-1},s.prototype.readAndCheckSignature=function(l){var a=l.charCodeAt(0),f=l.charCodeAt(1),_=l.charCodeAt(2),v=l.charCodeAt(3),y=this.readData(4);return a===y[0]&&f===y[1]&&_===y[2]&&v===y[3]},s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return[];var a=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function s(l){this.data=l,this.length=l.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(l){this.checkIndex(this.index+l)},checkIndex:function(l){if(this.length<this.zero+l||l<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+l+"). Corrupted zip ?")},setIndex:function(l){this.checkIndex(l),this.index=l},skip:function(l){this.setIndex(this.index+l)},byteAt:function(){},readInt:function(l){var a,f=0;for(this.checkOffset(l),a=this.index+l-1;a>=this.index;a--)f=(f<<8)+this.byteAt(a);return this.index+=l,f},readString:function(l){return o.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},r.exports=s},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function s(l){o.call(this,l)}n("../utils").inherits(s,o),s.prototype.readData=function(l){this.checkOffset(l);var a=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function s(l){o.call(this,l)}n("../utils").inherits(s,o),s.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},s.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},s.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},s.prototype.readData=function(l){this.checkOffset(l);var a=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function s(l){o.call(this,l)}n("../utils").inherits(s,o),s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var a=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,a},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),s=n("../support"),l=n("./ArrayReader"),a=n("./StringReader"),f=n("./NodeBufferReader"),_=n("./Uint8ArrayReader");r.exports=function(v){var y=o.getTypeOf(v);return o.checkSupport(y),y!=="string"||s.uint8array?y==="nodebuffer"?new f(v):s.uint8array?new _(o.transformTo("uint8array",v)):new l(o.transformTo("array",v)):new a(v)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),s=n("../utils");function l(a){o.call(this,"ConvertWorker to "+a),this.destType=a}s.inherits(l,o),l.prototype.processChunk=function(a){this.push({data:s.transformTo(this.destType,a.data),meta:a.meta})},r.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),s=n("../crc32");function l(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(l,o),l.prototype.processChunk=function(a){this.streamInfo.crc32=s(a.data,this.streamInfo.crc32||0),this.push(a)},r.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),s=n("./GenericWorker");function l(a){s.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}o.inherits(l,s),l.prototype.processChunk=function(a){if(a){var f=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=f+a.data.length}s.prototype.processChunk.call(this,a)},r.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),s=n("./GenericWorker");function l(a){s.call(this,"DataWorker");var f=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(_){f.dataIsReady=!0,f.data=_,f.max=_&&_.length||0,f.type=o.getTypeOf(_),f.isPaused||f._tickAndRepeat()},function(_){f.error(_)})}o.inherits(l,s),l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=null,f=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":a=this.data.substring(this.index,f);break;case"uint8array":a=this.data.subarray(this.index,f);break;case"array":case"nodebuffer":a=this.data.slice(this.index,f)}return this.index=f,this.push({data:a,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,l){return this._listeners[s].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,l){if(this._listeners[s])for(var a=0;a<this._listeners[s].length;a++)this._listeners[s][a].call(this,l)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var l=this;return s.on("data",function(a){l.processChunk(a)}),s.on("end",function(){l.end()}),s.on("error",function(a){l.error(a)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,l){return this.extraStreamInfo[s]=l,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),s=n("./ConvertWorker"),l=n("./GenericWorker"),a=n("../base64"),f=n("../support"),_=n("../external"),v=null;if(f.nodestream)try{v=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function y(w,h){return new _.Promise(function(k,u){var c=[],g=w._internalType,S=w._outputType,z=w._mimeType;w.on("data",function(P,T){c.push(P),h&&h(T)}).on("error",function(P){c=[],u(P)}).on("end",function(){try{var P=function(T,F,N){switch(T){case"blob":return o.newBlob(o.transformTo("arraybuffer",F),N);case"base64":return a.encode(F);default:return o.transformTo(T,F)}}(S,function(T,F){var N,R=0,V=null,E=0;for(N=0;N<F.length;N++)E+=F[N].length;switch(T){case"string":return F.join("");case"array":return Array.prototype.concat.apply([],F);case"uint8array":for(V=new Uint8Array(E),N=0;N<F.length;N++)V.set(F[N],R),R+=F[N].length;return V;case"nodebuffer":return Buffer.concat(F);default:throw new Error("concat : unsupported type '"+T+"'")}}(g,c),z);k(P)}catch(T){u(T)}c=[]}).resume()})}function m(w,h,k){var u=h;switch(h){case"blob":case"arraybuffer":u="uint8array";break;case"base64":u="string"}try{this._internalType=u,this._outputType=h,this._mimeType=k,o.checkSupport(u),this._worker=w.pipe(new s(u)),w.lock()}catch(c){this._worker=new l("error"),this._worker.error(c)}}m.prototype={accumulate:function(w){return y(this,w)},on:function(w,h){var k=this;return w==="data"?this._worker.on(w,function(u){h.call(k,u.data,u.meta)}):this._worker.on(w,function(){o.delay(h,arguments,k)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(w){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new v(this,{objectMode:this._outputType!=="nodebuffer"},w)}},r.exports=m},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(o),i.blob=s.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),s=n("./support"),l=n("./nodejsUtils"),a=n("./stream/GenericWorker"),f=new Array(256),_=0;_<256;_++)f[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;f[254]=f[254]=1;function v(){a.call(this,"utf-8 decode"),this.leftOver=null}function y(){a.call(this,"utf-8 encode")}i.utf8encode=function(m){return s.nodebuffer?l.newBufferFrom(m,"utf-8"):function(w){var h,k,u,c,g,S=w.length,z=0;for(c=0;c<S;c++)(64512&(k=w.charCodeAt(c)))==55296&&c+1<S&&(64512&(u=w.charCodeAt(c+1)))==56320&&(k=65536+(k-55296<<10)+(u-56320),c++),z+=k<128?1:k<2048?2:k<65536?3:4;for(h=s.uint8array?new Uint8Array(z):new Array(z),c=g=0;g<z;c++)(64512&(k=w.charCodeAt(c)))==55296&&c+1<S&&(64512&(u=w.charCodeAt(c+1)))==56320&&(k=65536+(k-55296<<10)+(u-56320),c++),k<128?h[g++]=k:(k<2048?h[g++]=192|k>>>6:(k<65536?h[g++]=224|k>>>12:(h[g++]=240|k>>>18,h[g++]=128|k>>>12&63),h[g++]=128|k>>>6&63),h[g++]=128|63&k);return h}(m)},i.utf8decode=function(m){return s.nodebuffer?o.transformTo("nodebuffer",m).toString("utf-8"):function(w){var h,k,u,c,g=w.length,S=new Array(2*g);for(h=k=0;h<g;)if((u=w[h++])<128)S[k++]=u;else if(4<(c=f[u]))S[k++]=65533,h+=c-1;else{for(u&=c===2?31:c===3?15:7;1<c&&h<g;)u=u<<6|63&w[h++],c--;1<c?S[k++]=65533:u<65536?S[k++]=u:(u-=65536,S[k++]=55296|u>>10&1023,S[k++]=56320|1023&u)}return S.length!==k&&(S.subarray?S=S.subarray(0,k):S.length=k),o.applyFromCharCode(S)}(m=o.transformTo(s.uint8array?"uint8array":"array",m))},o.inherits(v,a),v.prototype.processChunk=function(m){var w=o.transformTo(s.uint8array?"uint8array":"array",m.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var h=w;(w=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),w.set(h,this.leftOver.length)}else w=this.leftOver.concat(w);this.leftOver=null}var k=function(c,g){var S;for((g=g||c.length)>c.length&&(g=c.length),S=g-1;0<=S&&(192&c[S])==128;)S--;return S<0||S===0?g:S+f[c[S]]>g?S:g}(w),u=w;k!==w.length&&(s.uint8array?(u=w.subarray(0,k),this.leftOver=w.subarray(k,w.length)):(u=w.slice(0,k),this.leftOver=w.slice(k,w.length))),this.push({data:i.utf8decode(u),meta:m.meta})},v.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=v,o.inherits(y,a),y.prototype.processChunk=function(m){this.push({data:i.utf8encode(m.data),meta:m.meta})},i.Utf8EncodeWorker=y},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),s=n("./base64"),l=n("./nodejsUtils"),a=n("./external");function f(h){return h}function _(h,k){for(var u=0;u<h.length;++u)k[u]=255&h.charCodeAt(u);return k}n("setimmediate"),i.newBlob=function(h,k){i.checkSupport("blob");try{return new Blob([h],{type:k})}catch{try{var u=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return u.append(h),u.getBlob(k)}catch{throw new Error("Bug : can't construct the Blob.")}}};var v={stringifyByChunk:function(h,k,u){var c=[],g=0,S=h.length;if(S<=u)return String.fromCharCode.apply(null,h);for(;g<S;)k==="array"||k==="nodebuffer"?c.push(String.fromCharCode.apply(null,h.slice(g,Math.min(g+u,S)))):c.push(String.fromCharCode.apply(null,h.subarray(g,Math.min(g+u,S)))),g+=u;return c.join("")},stringifyByChar:function(h){for(var k="",u=0;u<h.length;u++)k+=String.fromCharCode(h[u]);return k},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,l.allocBuffer(1)).length===1}catch{return!1}}()}};function y(h){var k=65536,u=i.getTypeOf(h),c=!0;if(u==="uint8array"?c=v.applyCanBeUsed.uint8array:u==="nodebuffer"&&(c=v.applyCanBeUsed.nodebuffer),c)for(;1<k;)try{return v.stringifyByChunk(h,u,k)}catch{k=Math.floor(k/2)}return v.stringifyByChar(h)}function m(h,k){for(var u=0;u<h.length;u++)k[u]=h[u];return k}i.applyFromCharCode=y;var w={};w.string={string:f,array:function(h){return _(h,new Array(h.length))},arraybuffer:function(h){return w.string.uint8array(h).buffer},uint8array:function(h){return _(h,new Uint8Array(h.length))},nodebuffer:function(h){return _(h,l.allocBuffer(h.length))}},w.array={string:y,array:f,arraybuffer:function(h){return new Uint8Array(h).buffer},uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return l.newBufferFrom(h)}},w.arraybuffer={string:function(h){return y(new Uint8Array(h))},array:function(h){return m(new Uint8Array(h),new Array(h.byteLength))},arraybuffer:f,uint8array:function(h){return new Uint8Array(h)},nodebuffer:function(h){return l.newBufferFrom(new Uint8Array(h))}},w.uint8array={string:y,array:function(h){return m(h,new Array(h.length))},arraybuffer:function(h){return h.buffer},uint8array:f,nodebuffer:function(h){return l.newBufferFrom(h)}},w.nodebuffer={string:y,array:function(h){return m(h,new Array(h.length))},arraybuffer:function(h){return w.nodebuffer.uint8array(h).buffer},uint8array:function(h){return m(h,new Uint8Array(h.length))},nodebuffer:f},i.transformTo=function(h,k){if(k=k||"",!h)return k;i.checkSupport(h);var u=i.getTypeOf(k);return w[u][h](k)},i.resolve=function(h){for(var k=h.split("/"),u=[],c=0;c<k.length;c++){var g=k[c];g==="."||g===""&&c!==0&&c!==k.length-1||(g===".."?u.pop():u.push(g))}return u.join("/")},i.getTypeOf=function(h){return typeof h=="string"?"string":Object.prototype.toString.call(h)==="[object Array]"?"array":o.nodebuffer&&l.isBuffer(h)?"nodebuffer":o.uint8array&&h instanceof Uint8Array?"uint8array":o.arraybuffer&&h instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(h){if(!o[h.toLowerCase()])throw new Error(h+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(h){var k,u,c="";for(u=0;u<(h||"").length;u++)c+="\\x"+((k=h.charCodeAt(u))<16?"0":"")+k.toString(16).toUpperCase();return c},i.delay=function(h,k,u){setImmediate(function(){h.apply(u||null,k||[])})},i.inherits=function(h,k){function u(){}u.prototype=k.prototype,h.prototype=new u},i.extend=function(){var h,k,u={};for(h=0;h<arguments.length;h++)for(k in arguments[h])Object.prototype.hasOwnProperty.call(arguments[h],k)&&u[k]===void 0&&(u[k]=arguments[h][k]);return u},i.prepareContent=function(h,k,u,c,g){return a.Promise.resolve(k).then(function(S){return o.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new a.Promise(function(z,P){var T=new FileReader;T.onload=function(F){z(F.target.result)},T.onerror=function(F){P(F.target.error)},T.readAsArrayBuffer(S)}):S}).then(function(S){var z=i.getTypeOf(S);return z?(z==="arraybuffer"?S=i.transformTo("uint8array",S):z==="string"&&(g?S=s.decode(S):u&&c!==!0&&(S=function(P){return _(P,o.uint8array?new Uint8Array(P.length):new Array(P.length))}(S))),S):a.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),s=n("./utils"),l=n("./signature"),a=n("./zipEntry"),f=n("./support");function _(v){this.files=[],this.loadOptions=v}_.prototype={checkSignature:function(v){if(!this.reader.readAndCheckSignature(v)){this.reader.index-=4;var y=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(y)+", expected "+s.pretty(v)+")")}},isSignature:function(v,y){var m=this.reader.index;this.reader.setIndex(v);var w=this.reader.readString(4)===y;return this.reader.setIndex(m),w},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var v=this.reader.readData(this.zipCommentLength),y=f.uint8array?"uint8array":"array",m=s.transformTo(y,v);this.zipComment=this.loadOptions.decodeFileName(m)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var v,y,m,w=this.zip64EndOfCentralSize-44;0<w;)v=this.reader.readInt(2),y=this.reader.readInt(4),m=this.reader.readData(y),this.zip64ExtensibleData[v]={id:v,length:y,value:m}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var v,y;for(v=0;v<this.files.length;v++)y=this.files[v],this.reader.setIndex(y.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),y.readLocalPart(this.reader),y.handleUTF8(),y.processAttributes()},readCentralDir:function(){var v;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(l.CENTRAL_FILE_HEADER);)(v=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(v);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var v=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(v<0)throw this.isSignature(0,l.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(v);var y=v;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(v=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(v),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var m=this.centralDirOffset+this.centralDirSize;this.zip64&&(m+=20,m+=12+this.zip64EndOfCentralSize);var w=y-m;if(0<w)this.isSignature(y,l.CENTRAL_FILE_HEADER)||(this.reader.zero=w);else if(w<0)throw new Error("Corrupted zip: missing "+Math.abs(w)+" bytes.")},prepareReader:function(v){this.reader=o(v)},load:function(v){this.prepareReader(v),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=_},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),s=n("./utils"),l=n("./compressedObject"),a=n("./crc32"),f=n("./utf8"),_=n("./compressions"),v=n("./support");function y(m,w){this.options=m,this.loadOptions=w}y.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(m){var w,h;if(m.skip(22),this.fileNameLength=m.readInt(2),h=m.readInt(2),this.fileName=m.readData(this.fileNameLength),m.skip(h),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((w=function(k){for(var u in _)if(Object.prototype.hasOwnProperty.call(_,u)&&_[u].magic===k)return _[u];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new l(this.compressedSize,this.uncompressedSize,this.crc32,w,m.readData(this.compressedSize))},readCentralPart:function(m){this.versionMadeBy=m.readInt(2),m.skip(2),this.bitFlag=m.readInt(2),this.compressionMethod=m.readString(2),this.date=m.readDate(),this.crc32=m.readInt(4),this.compressedSize=m.readInt(4),this.uncompressedSize=m.readInt(4);var w=m.readInt(2);if(this.extraFieldsLength=m.readInt(2),this.fileCommentLength=m.readInt(2),this.diskNumberStart=m.readInt(2),this.internalFileAttributes=m.readInt(2),this.externalFileAttributes=m.readInt(4),this.localHeaderOffset=m.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");m.skip(w),this.readExtraFields(m),this.parseZIP64ExtraField(m),this.fileComment=m.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var m=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),m==0&&(this.dosPermissions=63&this.externalFileAttributes),m==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var m=o(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=m.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=m.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=m.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=m.readInt(4))}},readExtraFields:function(m){var w,h,k,u=m.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});m.index+4<u;)w=m.readInt(2),h=m.readInt(2),k=m.readData(h),this.extraFields[w]={id:w,length:h,value:k};m.setIndex(u)},handleUTF8:function(){var m=v.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=f.utf8decode(this.fileName),this.fileCommentStr=f.utf8decode(this.fileComment);else{var w=this.findExtraFieldUnicodePath();if(w!==null)this.fileNameStr=w;else{var h=s.transformTo(m,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(h)}var k=this.findExtraFieldUnicodeComment();if(k!==null)this.fileCommentStr=k;else{var u=s.transformTo(m,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(u)}}},findExtraFieldUnicodePath:function(){var m=this.extraFields[28789];if(m){var w=o(m.value);return w.readInt(1)!==1||a(this.fileName)!==w.readInt(4)?null:f.utf8decode(w.readData(m.length-5))}return null},findExtraFieldUnicodeComment:function(){var m=this.extraFields[25461];if(m){var w=o(m.value);return w.readInt(1)!==1||a(this.fileComment)!==w.readInt(4)?null:f.utf8decode(w.readData(m.length-5))}return null}},r.exports=y},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(w,h,k){this.name=w,this.dir=k.dir,this.date=k.date,this.comment=k.comment,this.unixPermissions=k.unixPermissions,this.dosPermissions=k.dosPermissions,this._data=h,this._dataBinary=k.binary,this.options={compression:k.compression,compressionOptions:k.compressionOptions}}var s=n("./stream/StreamHelper"),l=n("./stream/DataWorker"),a=n("./utf8"),f=n("./compressedObject"),_=n("./stream/GenericWorker");o.prototype={internalStream:function(w){var h=null,k="string";try{if(!w)throw new Error("No output type specified.");var u=(k=w.toLowerCase())==="string"||k==="text";k!=="binarystring"&&k!=="text"||(k="string"),h=this._decompressWorker();var c=!this._dataBinary;c&&!u&&(h=h.pipe(new a.Utf8EncodeWorker)),!c&&u&&(h=h.pipe(new a.Utf8DecodeWorker))}catch(g){(h=new _("error")).error(g)}return new s(h,k,"")},async:function(w,h){return this.internalStream(w).accumulate(h)},nodeStream:function(w,h){return this.internalStream(w||"nodebuffer").toNodejsStream(h)},_compressWorker:function(w,h){if(this._data instanceof f&&this._data.compression.magic===w.magic)return this._data.getCompressedWorker();var k=this._decompressWorker();return this._dataBinary||(k=k.pipe(new a.Utf8EncodeWorker)),f.createWorkerFrom(k,w,h)},_decompressWorker:function(){return this._data instanceof f?this._data.getContentWorker():this._data instanceof _?this._data:new l(this._data)}};for(var v=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],y=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},m=0;m<v.length;m++)o.prototype[v[m]]=y;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var s,l,a=o.MutationObserver||o.WebKitMutationObserver;if(a){var f=0,_=new a(w),v=o.document.createTextNode("");_.observe(v,{characterData:!0}),s=function(){v.data=f=++f%2}}else if(o.setImmediate||o.MessageChannel===void 0)s="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var h=o.document.createElement("script");h.onreadystatechange=function(){w(),h.onreadystatechange=null,h.parentNode.removeChild(h),h=null},o.document.documentElement.appendChild(h)}:function(){setTimeout(w,0)};else{var y=new o.MessageChannel;y.port1.onmessage=w,s=function(){y.port2.postMessage(0)}}var m=[];function w(){var h,k;l=!0;for(var u=m.length;u;){for(k=m,m=[],h=-1;++h<u;)k[h]();u=m.length}l=!1}r.exports=function(h){m.push(h)!==1||l||s()}}).call(this,typeof yi<"u"?yi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function s(){}var l={},a=["REJECTED"],f=["FULFILLED"],_=["PENDING"];function v(u){if(typeof u!="function")throw new TypeError("resolver must be a function");this.state=_,this.queue=[],this.outcome=void 0,u!==s&&h(this,u)}function y(u,c,g){this.promise=u,typeof c=="function"&&(this.onFulfilled=c,this.callFulfilled=this.otherCallFulfilled),typeof g=="function"&&(this.onRejected=g,this.callRejected=this.otherCallRejected)}function m(u,c,g){o(function(){var S;try{S=c(g)}catch(z){return l.reject(u,z)}S===u?l.reject(u,new TypeError("Cannot resolve promise with itself")):l.resolve(u,S)})}function w(u){var c=u&&u.then;if(u&&(typeof u=="object"||typeof u=="function")&&typeof c=="function")return function(){c.apply(u,arguments)}}function h(u,c){var g=!1;function S(T){g||(g=!0,l.reject(u,T))}function z(T){g||(g=!0,l.resolve(u,T))}var P=k(function(){c(z,S)});P.status==="error"&&S(P.value)}function k(u,c){var g={};try{g.value=u(c),g.status="success"}catch(S){g.status="error",g.value=S}return g}(r.exports=v).prototype.finally=function(u){if(typeof u!="function")return this;var c=this.constructor;return this.then(function(g){return c.resolve(u()).then(function(){return g})},function(g){return c.resolve(u()).then(function(){throw g})})},v.prototype.catch=function(u){return this.then(null,u)},v.prototype.then=function(u,c){if(typeof u!="function"&&this.state===f||typeof c!="function"&&this.state===a)return this;var g=new this.constructor(s);return this.state!==_?m(g,this.state===f?u:c,this.outcome):this.queue.push(new y(g,u,c)),g},y.prototype.callFulfilled=function(u){l.resolve(this.promise,u)},y.prototype.otherCallFulfilled=function(u){m(this.promise,this.onFulfilled,u)},y.prototype.callRejected=function(u){l.reject(this.promise,u)},y.prototype.otherCallRejected=function(u){m(this.promise,this.onRejected,u)},l.resolve=function(u,c){var g=k(w,c);if(g.status==="error")return l.reject(u,g.value);var S=g.value;if(S)h(u,S);else{u.state=f,u.outcome=c;for(var z=-1,P=u.queue.length;++z<P;)u.queue[z].callFulfilled(c)}return u},l.reject=function(u,c){u.state=a,u.outcome=c;for(var g=-1,S=u.queue.length;++g<S;)u.queue[g].callRejected(c);return u},v.resolve=function(u){return u instanceof this?u:l.resolve(new this(s),u)},v.reject=function(u){var c=new this(s);return l.reject(c,u)},v.all=function(u){var c=this;if(Object.prototype.toString.call(u)!=="[object Array]")return this.reject(new TypeError("must be an array"));var g=u.length,S=!1;if(!g)return this.resolve([]);for(var z=new Array(g),P=0,T=-1,F=new this(s);++T<g;)N(u[T],T);return F;function N(R,V){c.resolve(R).then(function(E){z[V]=E,++P!==g||S||(S=!0,l.resolve(F,z))},function(E){S||(S=!0,l.reject(F,E))})}},v.race=function(u){var c=this;if(Object.prototype.toString.call(u)!=="[object Array]")return this.reject(new TypeError("must be an array"));var g=u.length,S=!1;if(!g)return this.resolve([]);for(var z=-1,P=new this(s);++z<g;)T=u[z],c.resolve(T).then(function(F){S||(S=!0,l.resolve(P,F))},function(F){S||(S=!0,l.reject(P,F))});var T;return P}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),s=n("./utils/common"),l=n("./utils/strings"),a=n("./zlib/messages"),f=n("./zlib/zstream"),_=Object.prototype.toString,v=0,y=-1,m=0,w=8;function h(u){if(!(this instanceof h))return new h(u);this.options=s.assign({level:y,method:w,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:""},u||{});var c=this.options;c.raw&&0<c.windowBits?c.windowBits=-c.windowBits:c.gzip&&0<c.windowBits&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var g=o.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(g!==v)throw new Error(a[g]);if(c.header&&o.deflateSetHeader(this.strm,c.header),c.dictionary){var S;if(S=typeof c.dictionary=="string"?l.string2buf(c.dictionary):_.call(c.dictionary)==="[object ArrayBuffer]"?new Uint8Array(c.dictionary):c.dictionary,(g=o.deflateSetDictionary(this.strm,S))!==v)throw new Error(a[g]);this._dict_set=!0}}function k(u,c){var g=new h(c);if(g.push(u,!0),g.err)throw g.msg||a[g.err];return g.result}h.prototype.push=function(u,c){var g,S,z=this.strm,P=this.options.chunkSize;if(this.ended)return!1;S=c===~~c?c:c===!0?4:0,typeof u=="string"?z.input=l.string2buf(u):_.call(u)==="[object ArrayBuffer]"?z.input=new Uint8Array(u):z.input=u,z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0&&(z.output=new s.Buf8(P),z.next_out=0,z.avail_out=P),(g=o.deflate(z,S))!==1&&g!==v)return this.onEnd(g),!(this.ended=!0);z.avail_out!==0&&(z.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(l.buf2binstring(s.shrinkBuf(z.output,z.next_out))):this.onData(s.shrinkBuf(z.output,z.next_out)))}while((0<z.avail_in||z.avail_out===0)&&g!==1);return S===4?(g=o.deflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===v):S!==2||(this.onEnd(v),!(z.avail_out=0))},h.prototype.onData=function(u){this.chunks.push(u)},h.prototype.onEnd=function(u){u===v&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=u,this.msg=this.strm.msg},i.Deflate=h,i.deflate=k,i.deflateRaw=function(u,c){return(c=c||{}).raw=!0,k(u,c)},i.gzip=function(u,c){return(c=c||{}).gzip=!0,k(u,c)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),s=n("./utils/common"),l=n("./utils/strings"),a=n("./zlib/constants"),f=n("./zlib/messages"),_=n("./zlib/zstream"),v=n("./zlib/gzheader"),y=Object.prototype.toString;function m(h){if(!(this instanceof m))return new m(h);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},h||{});var k=this.options;k.raw&&0<=k.windowBits&&k.windowBits<16&&(k.windowBits=-k.windowBits,k.windowBits===0&&(k.windowBits=-15)),!(0<=k.windowBits&&k.windowBits<16)||h&&h.windowBits||(k.windowBits+=32),15<k.windowBits&&k.windowBits<48&&!(15&k.windowBits)&&(k.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var u=o.inflateInit2(this.strm,k.windowBits);if(u!==a.Z_OK)throw new Error(f[u]);this.header=new v,o.inflateGetHeader(this.strm,this.header)}function w(h,k){var u=new m(k);if(u.push(h,!0),u.err)throw u.msg||f[u.err];return u.result}m.prototype.push=function(h,k){var u,c,g,S,z,P,T=this.strm,F=this.options.chunkSize,N=this.options.dictionary,R=!1;if(this.ended)return!1;c=k===~~k?k:k===!0?a.Z_FINISH:a.Z_NO_FLUSH,typeof h=="string"?T.input=l.binstring2buf(h):y.call(h)==="[object ArrayBuffer]"?T.input=new Uint8Array(h):T.input=h,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new s.Buf8(F),T.next_out=0,T.avail_out=F),(u=o.inflate(T,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&N&&(P=typeof N=="string"?l.string2buf(N):y.call(N)==="[object ArrayBuffer]"?new Uint8Array(N):N,u=o.inflateSetDictionary(this.strm,P)),u===a.Z_BUF_ERROR&&R===!0&&(u=a.Z_OK,R=!1),u!==a.Z_STREAM_END&&u!==a.Z_OK)return this.onEnd(u),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&u!==a.Z_STREAM_END&&(T.avail_in!==0||c!==a.Z_FINISH&&c!==a.Z_SYNC_FLUSH)||(this.options.to==="string"?(g=l.utf8border(T.output,T.next_out),S=T.next_out-g,z=l.buf2string(T.output,g),T.next_out=S,T.avail_out=F-S,S&&s.arraySet(T.output,T.output,g,S,0),this.onData(z)):this.onData(s.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(R=!0)}while((0<T.avail_in||T.avail_out===0)&&u!==a.Z_STREAM_END);return u===a.Z_STREAM_END&&(c=a.Z_FINISH),c===a.Z_FINISH?(u=o.inflateEnd(this.strm),this.onEnd(u),this.ended=!0,u===a.Z_OK):c!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(T.avail_out=0))},m.prototype.onData=function(h){this.chunks.push(h)},m.prototype.onEnd=function(h){h===a.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg},i.Inflate=m,i.inflate=w,i.inflateRaw=function(h,k){return(k=k||{}).raw=!0,w(h,k)},i.ungzip=w},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(a){for(var f=Array.prototype.slice.call(arguments,1);f.length;){var _=f.shift();if(_){if(typeof _!="object")throw new TypeError(_+"must be non-object");for(var v in _)_.hasOwnProperty(v)&&(a[v]=_[v])}}return a},i.shrinkBuf=function(a,f){return a.length===f?a:a.subarray?a.subarray(0,f):(a.length=f,a)};var s={arraySet:function(a,f,_,v,y){if(f.subarray&&a.subarray)a.set(f.subarray(_,_+v),y);else for(var m=0;m<v;m++)a[y+m]=f[_+m]},flattenChunks:function(a){var f,_,v,y,m,w;for(f=v=0,_=a.length;f<_;f++)v+=a[f].length;for(w=new Uint8Array(v),f=y=0,_=a.length;f<_;f++)m=a[f],w.set(m,y),y+=m.length;return w}},l={arraySet:function(a,f,_,v,y){for(var m=0;m<v;m++)a[y+m]=f[_+m]},flattenChunks:function(a){return[].concat.apply([],a)}};i.setTyped=function(a){a?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,s)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,l))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),s=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{l=!1}for(var a=new o.Buf8(256),f=0;f<256;f++)a[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;function _(v,y){if(y<65537&&(v.subarray&&l||!v.subarray&&s))return String.fromCharCode.apply(null,o.shrinkBuf(v,y));for(var m="",w=0;w<y;w++)m+=String.fromCharCode(v[w]);return m}a[254]=a[254]=1,i.string2buf=function(v){var y,m,w,h,k,u=v.length,c=0;for(h=0;h<u;h++)(64512&(m=v.charCodeAt(h)))==55296&&h+1<u&&(64512&(w=v.charCodeAt(h+1)))==56320&&(m=65536+(m-55296<<10)+(w-56320),h++),c+=m<128?1:m<2048?2:m<65536?3:4;for(y=new o.Buf8(c),h=k=0;k<c;h++)(64512&(m=v.charCodeAt(h)))==55296&&h+1<u&&(64512&(w=v.charCodeAt(h+1)))==56320&&(m=65536+(m-55296<<10)+(w-56320),h++),m<128?y[k++]=m:(m<2048?y[k++]=192|m>>>6:(m<65536?y[k++]=224|m>>>12:(y[k++]=240|m>>>18,y[k++]=128|m>>>12&63),y[k++]=128|m>>>6&63),y[k++]=128|63&m);return y},i.buf2binstring=function(v){return _(v,v.length)},i.binstring2buf=function(v){for(var y=new o.Buf8(v.length),m=0,w=y.length;m<w;m++)y[m]=v.charCodeAt(m);return y},i.buf2string=function(v,y){var m,w,h,k,u=y||v.length,c=new Array(2*u);for(m=w=0;m<u;)if((h=v[m++])<128)c[w++]=h;else if(4<(k=a[h]))c[w++]=65533,m+=k-1;else{for(h&=k===2?31:k===3?15:7;1<k&&m<u;)h=h<<6|63&v[m++],k--;1<k?c[w++]=65533:h<65536?c[w++]=h:(h-=65536,c[w++]=55296|h>>10&1023,c[w++]=56320|1023&h)}return _(c,w)},i.utf8border=function(v,y){var m;for((y=y||v.length)>v.length&&(y=v.length),m=y-1;0<=m&&(192&v[m])==128;)m--;return m<0||m===0?y:m+a[v[m]]>y?m:y}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,s,l,a){for(var f=65535&o|0,_=o>>>16&65535|0,v=0;l!==0;){for(l-=v=2e3<l?2e3:l;_=_+(f=f+s[a++]|0)|0,--v;);f%=65521,_%=65521}return f|_<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var o=function(){for(var s,l=[],a=0;a<256;a++){s=a;for(var f=0;f<8;f++)s=1&s?3988292384^s>>>1:s>>>1;l[a]=s}return l}();r.exports=function(s,l,a,f){var _=o,v=f+a;s^=-1;for(var y=f;y<v;y++)s=s>>>8^_[255&(s^l[y])];return-1^s}},{}],46:[function(n,r,i){var o,s=n("../utils/common"),l=n("./trees"),a=n("./adler32"),f=n("./crc32"),_=n("./messages"),v=0,y=4,m=0,w=-2,h=-1,k=4,u=2,c=8,g=9,S=286,z=30,P=19,T=2*S+1,F=15,N=3,R=258,V=R+N+1,E=42,j=113,p=1,U=2,J=3,B=4;function M(d,$){return d.msg=_[$],$}function L(d){return(d<<1)-(4<d?9:0)}function K(d){for(var $=d.length;0<=--$;)d[$]=0}function O(d){var $=d.state,b=$.pending;b>d.avail_out&&(b=d.avail_out),b!==0&&(s.arraySet(d.output,$.pending_buf,$.pending_out,b,d.next_out),d.next_out+=b,$.pending_out+=b,d.total_out+=b,d.avail_out-=b,$.pending-=b,$.pending===0&&($.pending_out=0))}function A(d,$){l._tr_flush_block(d,0<=d.block_start?d.block_start:-1,d.strstart-d.block_start,$),d.block_start=d.strstart,O(d.strm)}function ne(d,$){d.pending_buf[d.pending++]=$}function q(d,$){d.pending_buf[d.pending++]=$>>>8&255,d.pending_buf[d.pending++]=255&$}function Y(d,$){var b,C,x=d.max_chain_length,I=d.strstart,H=d.prev_length,Z=d.nice_match,D=d.strstart>d.w_size-V?d.strstart-(d.w_size-V):0,Q=d.window,ee=d.w_mask,X=d.prev,re=d.strstart+R,he=Q[I+H-1],se=Q[I+H];d.prev_length>=d.good_match&&(x>>=2),Z>d.lookahead&&(Z=d.lookahead);do if(Q[(b=$)+H]===se&&Q[b+H-1]===he&&Q[b]===Q[I]&&Q[++b]===Q[I+1]){I+=2,b++;do;while(Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&Q[++I]===Q[++b]&&I<re);if(C=R-(re-I),I=re-R,H<C){if(d.match_start=$,Z<=(H=C))break;he=Q[I+H-1],se=Q[I+H]}}while(($=X[$&ee])>D&&--x!=0);return H<=d.lookahead?H:d.lookahead}function fe(d){var $,b,C,x,I,H,Z,D,Q,ee,X=d.w_size;do{if(x=d.window_size-d.lookahead-d.strstart,d.strstart>=X+(X-V)){for(s.arraySet(d.window,d.window,X,X,0),d.match_start-=X,d.strstart-=X,d.block_start-=X,$=b=d.hash_size;C=d.head[--$],d.head[$]=X<=C?C-X:0,--b;);for($=b=X;C=d.prev[--$],d.prev[$]=X<=C?C-X:0,--b;);x+=X}if(d.strm.avail_in===0)break;if(H=d.strm,Z=d.window,D=d.strstart+d.lookahead,Q=x,ee=void 0,ee=H.avail_in,Q<ee&&(ee=Q),b=ee===0?0:(H.avail_in-=ee,s.arraySet(Z,H.input,H.next_in,ee,D),H.state.wrap===1?H.adler=a(H.adler,Z,ee,D):H.state.wrap===2&&(H.adler=f(H.adler,Z,ee,D)),H.next_in+=ee,H.total_in+=ee,ee),d.lookahead+=b,d.lookahead+d.insert>=N)for(I=d.strstart-d.insert,d.ins_h=d.window[I],d.ins_h=(d.ins_h<<d.hash_shift^d.window[I+1])&d.hash_mask;d.insert&&(d.ins_h=(d.ins_h<<d.hash_shift^d.window[I+N-1])&d.hash_mask,d.prev[I&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=I,I++,d.insert--,!(d.lookahead+d.insert<N)););}while(d.lookahead<V&&d.strm.avail_in!==0)}function xe(d,$){for(var b,C;;){if(d.lookahead<V){if(fe(d),d.lookahead<V&&$===v)return p;if(d.lookahead===0)break}if(b=0,d.lookahead>=N&&(d.ins_h=(d.ins_h<<d.hash_shift^d.window[d.strstart+N-1])&d.hash_mask,b=d.prev[d.strstart&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=d.strstart),b!==0&&d.strstart-b<=d.w_size-V&&(d.match_length=Y(d,b)),d.match_length>=N)if(C=l._tr_tally(d,d.strstart-d.match_start,d.match_length-N),d.lookahead-=d.match_length,d.match_length<=d.max_lazy_match&&d.lookahead>=N){for(d.match_length--;d.strstart++,d.ins_h=(d.ins_h<<d.hash_shift^d.window[d.strstart+N-1])&d.hash_mask,b=d.prev[d.strstart&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=d.strstart,--d.match_length!=0;);d.strstart++}else d.strstart+=d.match_length,d.match_length=0,d.ins_h=d.window[d.strstart],d.ins_h=(d.ins_h<<d.hash_shift^d.window[d.strstart+1])&d.hash_mask;else C=l._tr_tally(d,0,d.window[d.strstart]),d.lookahead--,d.strstart++;if(C&&(A(d,!1),d.strm.avail_out===0))return p}return d.insert=d.strstart<N-1?d.strstart:N-1,$===y?(A(d,!0),d.strm.avail_out===0?J:B):d.last_lit&&(A(d,!1),d.strm.avail_out===0)?p:U}function oe(d,$){for(var b,C,x;;){if(d.lookahead<V){if(fe(d),d.lookahead<V&&$===v)return p;if(d.lookahead===0)break}if(b=0,d.lookahead>=N&&(d.ins_h=(d.ins_h<<d.hash_shift^d.window[d.strstart+N-1])&d.hash_mask,b=d.prev[d.strstart&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=d.strstart),d.prev_length=d.match_length,d.prev_match=d.match_start,d.match_length=N-1,b!==0&&d.prev_length<d.max_lazy_match&&d.strstart-b<=d.w_size-V&&(d.match_length=Y(d,b),d.match_length<=5&&(d.strategy===1||d.match_length===N&&4096<d.strstart-d.match_start)&&(d.match_length=N-1)),d.prev_length>=N&&d.match_length<=d.prev_length){for(x=d.strstart+d.lookahead-N,C=l._tr_tally(d,d.strstart-1-d.prev_match,d.prev_length-N),d.lookahead-=d.prev_length-1,d.prev_length-=2;++d.strstart<=x&&(d.ins_h=(d.ins_h<<d.hash_shift^d.window[d.strstart+N-1])&d.hash_mask,b=d.prev[d.strstart&d.w_mask]=d.head[d.ins_h],d.head[d.ins_h]=d.strstart),--d.prev_length!=0;);if(d.match_available=0,d.match_length=N-1,d.strstart++,C&&(A(d,!1),d.strm.avail_out===0))return p}else if(d.match_available){if((C=l._tr_tally(d,0,d.window[d.strstart-1]))&&A(d,!1),d.strstart++,d.lookahead--,d.strm.avail_out===0)return p}else d.match_available=1,d.strstart++,d.lookahead--}return d.match_available&&(C=l._tr_tally(d,0,d.window[d.strstart-1]),d.match_available=0),d.insert=d.strstart<N-1?d.strstart:N-1,$===y?(A(d,!0),d.strm.avail_out===0?J:B):d.last_lit&&(A(d,!1),d.strm.avail_out===0)?p:U}function ce(d,$,b,C,x){this.good_length=d,this.max_lazy=$,this.nice_length=b,this.max_chain=C,this.func=x}function Ie(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=c,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*T),this.dyn_dtree=new s.Buf16(2*(2*z+1)),this.bl_tree=new s.Buf16(2*(2*P+1)),K(this.dyn_ltree),K(this.dyn_dtree),K(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(F+1),this.heap=new s.Buf16(2*S+1),K(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*S+1),K(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Se(d){var $;return d&&d.state?(d.total_in=d.total_out=0,d.data_type=u,($=d.state).pending=0,$.pending_out=0,$.wrap<0&&($.wrap=-$.wrap),$.status=$.wrap?E:j,d.adler=$.wrap===2?0:1,$.last_flush=v,l._tr_init($),m):M(d,w)}function wt(d){var $=Se(d);return $===m&&function(b){b.window_size=2*b.w_size,K(b.head),b.max_lazy_match=o[b.level].max_lazy,b.good_match=o[b.level].good_length,b.nice_match=o[b.level].nice_length,b.max_chain_length=o[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=N-1,b.match_available=0,b.ins_h=0}(d.state),$}function ft(d,$,b,C,x,I){if(!d)return w;var H=1;if($===h&&($=6),C<0?(H=0,C=-C):15<C&&(H=2,C-=16),x<1||g<x||b!==c||C<8||15<C||$<0||9<$||I<0||k<I)return M(d,w);C===8&&(C=9);var Z=new Ie;return(d.state=Z).strm=d,Z.wrap=H,Z.gzhead=null,Z.w_bits=C,Z.w_size=1<<Z.w_bits,Z.w_mask=Z.w_size-1,Z.hash_bits=x+7,Z.hash_size=1<<Z.hash_bits,Z.hash_mask=Z.hash_size-1,Z.hash_shift=~~((Z.hash_bits+N-1)/N),Z.window=new s.Buf8(2*Z.w_size),Z.head=new s.Buf16(Z.hash_size),Z.prev=new s.Buf16(Z.w_size),Z.lit_bufsize=1<<x+6,Z.pending_buf_size=4*Z.lit_bufsize,Z.pending_buf=new s.Buf8(Z.pending_buf_size),Z.d_buf=1*Z.lit_bufsize,Z.l_buf=3*Z.lit_bufsize,Z.level=$,Z.strategy=I,Z.method=b,wt(d)}o=[new ce(0,0,0,0,function(d,$){var b=65535;for(b>d.pending_buf_size-5&&(b=d.pending_buf_size-5);;){if(d.lookahead<=1){if(fe(d),d.lookahead===0&&$===v)return p;if(d.lookahead===0)break}d.strstart+=d.lookahead,d.lookahead=0;var C=d.block_start+b;if((d.strstart===0||d.strstart>=C)&&(d.lookahead=d.strstart-C,d.strstart=C,A(d,!1),d.strm.avail_out===0)||d.strstart-d.block_start>=d.w_size-V&&(A(d,!1),d.strm.avail_out===0))return p}return d.insert=0,$===y?(A(d,!0),d.strm.avail_out===0?J:B):(d.strstart>d.block_start&&(A(d,!1),d.strm.avail_out),p)}),new ce(4,4,8,4,xe),new ce(4,5,16,8,xe),new ce(4,6,32,32,xe),new ce(4,4,16,16,oe),new ce(8,16,32,32,oe),new ce(8,16,128,128,oe),new ce(8,32,128,256,oe),new ce(32,128,258,1024,oe),new ce(32,258,258,4096,oe)],i.deflateInit=function(d,$){return ft(d,$,c,15,8,0)},i.deflateInit2=ft,i.deflateReset=wt,i.deflateResetKeep=Se,i.deflateSetHeader=function(d,$){return d&&d.state?d.state.wrap!==2?w:(d.state.gzhead=$,m):w},i.deflate=function(d,$){var b,C,x,I;if(!d||!d.state||5<$||$<0)return d?M(d,w):w;if(C=d.state,!d.output||!d.input&&d.avail_in!==0||C.status===666&&$!==y)return M(d,d.avail_out===0?-5:w);if(C.strm=d,b=C.last_flush,C.last_flush=$,C.status===E)if(C.wrap===2)d.adler=0,ne(C,31),ne(C,139),ne(C,8),C.gzhead?(ne(C,(C.gzhead.text?1:0)+(C.gzhead.hcrc?2:0)+(C.gzhead.extra?4:0)+(C.gzhead.name?8:0)+(C.gzhead.comment?16:0)),ne(C,255&C.gzhead.time),ne(C,C.gzhead.time>>8&255),ne(C,C.gzhead.time>>16&255),ne(C,C.gzhead.time>>24&255),ne(C,C.level===9?2:2<=C.strategy||C.level<2?4:0),ne(C,255&C.gzhead.os),C.gzhead.extra&&C.gzhead.extra.length&&(ne(C,255&C.gzhead.extra.length),ne(C,C.gzhead.extra.length>>8&255)),C.gzhead.hcrc&&(d.adler=f(d.adler,C.pending_buf,C.pending,0)),C.gzindex=0,C.status=69):(ne(C,0),ne(C,0),ne(C,0),ne(C,0),ne(C,0),ne(C,C.level===9?2:2<=C.strategy||C.level<2?4:0),ne(C,3),C.status=j);else{var H=c+(C.w_bits-8<<4)<<8;H|=(2<=C.strategy||C.level<2?0:C.level<6?1:C.level===6?2:3)<<6,C.strstart!==0&&(H|=32),H+=31-H%31,C.status=j,q(C,H),C.strstart!==0&&(q(C,d.adler>>>16),q(C,65535&d.adler)),d.adler=1}if(C.status===69)if(C.gzhead.extra){for(x=C.pending;C.gzindex<(65535&C.gzhead.extra.length)&&(C.pending!==C.pending_buf_size||(C.gzhead.hcrc&&C.pending>x&&(d.adler=f(d.adler,C.pending_buf,C.pending-x,x)),O(d),x=C.pending,C.pending!==C.pending_buf_size));)ne(C,255&C.gzhead.extra[C.gzindex]),C.gzindex++;C.gzhead.hcrc&&C.pending>x&&(d.adler=f(d.adler,C.pending_buf,C.pending-x,x)),C.gzindex===C.gzhead.extra.length&&(C.gzindex=0,C.status=73)}else C.status=73;if(C.status===73)if(C.gzhead.name){x=C.pending;do{if(C.pending===C.pending_buf_size&&(C.gzhead.hcrc&&C.pending>x&&(d.adler=f(d.adler,C.pending_buf,C.pending-x,x)),O(d),x=C.pending,C.pending===C.pending_buf_size)){I=1;break}I=C.gzindex<C.gzhead.name.length?255&C.gzhead.name.charCodeAt(C.gzindex++):0,ne(C,I)}while(I!==0);C.gzhead.hcrc&&C.pending>x&&(d.adler=f(d.adler,C.pending_buf,C.pending-x,x)),I===0&&(C.gzindex=0,C.status=91)}else C.status=91;if(C.status===91)if(C.gzhead.comment){x=C.pending;do{if(C.pending===C.pending_buf_size&&(C.gzhead.hcrc&&C.pending>x&&(d.adler=f(d.adler,C.pending_buf,C.pending-x,x)),O(d),x=C.pending,C.pending===C.pending_buf_size)){I=1;break}I=C.gzindex<C.gzhead.comment.length?255&C.gzhead.comment.charCodeAt(C.gzindex++):0,ne(C,I)}while(I!==0);C.gzhead.hcrc&&C.pending>x&&(d.adler=f(d.adler,C.pending_buf,C.pending-x,x)),I===0&&(C.status=103)}else C.status=103;if(C.status===103&&(C.gzhead.hcrc?(C.pending+2>C.pending_buf_size&&O(d),C.pending+2<=C.pending_buf_size&&(ne(C,255&d.adler),ne(C,d.adler>>8&255),d.adler=0,C.status=j)):C.status=j),C.pending!==0){if(O(d),d.avail_out===0)return C.last_flush=-1,m}else if(d.avail_in===0&&L($)<=L(b)&&$!==y)return M(d,-5);if(C.status===666&&d.avail_in!==0)return M(d,-5);if(d.avail_in!==0||C.lookahead!==0||$!==v&&C.status!==666){var Z=C.strategy===2?function(D,Q){for(var ee;;){if(D.lookahead===0&&(fe(D),D.lookahead===0)){if(Q===v)return p;break}if(D.match_length=0,ee=l._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++,ee&&(A(D,!1),D.strm.avail_out===0))return p}return D.insert=0,Q===y?(A(D,!0),D.strm.avail_out===0?J:B):D.last_lit&&(A(D,!1),D.strm.avail_out===0)?p:U}(C,$):C.strategy===3?function(D,Q){for(var ee,X,re,he,se=D.window;;){if(D.lookahead<=R){if(fe(D),D.lookahead<=R&&Q===v)return p;if(D.lookahead===0)break}if(D.match_length=0,D.lookahead>=N&&0<D.strstart&&(X=se[re=D.strstart-1])===se[++re]&&X===se[++re]&&X===se[++re]){he=D.strstart+R;do;while(X===se[++re]&&X===se[++re]&&X===se[++re]&&X===se[++re]&&X===se[++re]&&X===se[++re]&&X===se[++re]&&X===se[++re]&&re<he);D.match_length=R-(he-re),D.match_length>D.lookahead&&(D.match_length=D.lookahead)}if(D.match_length>=N?(ee=l._tr_tally(D,1,D.match_length-N),D.lookahead-=D.match_length,D.strstart+=D.match_length,D.match_length=0):(ee=l._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++),ee&&(A(D,!1),D.strm.avail_out===0))return p}return D.insert=0,Q===y?(A(D,!0),D.strm.avail_out===0?J:B):D.last_lit&&(A(D,!1),D.strm.avail_out===0)?p:U}(C,$):o[C.level].func(C,$);if(Z!==J&&Z!==B||(C.status=666),Z===p||Z===J)return d.avail_out===0&&(C.last_flush=-1),m;if(Z===U&&($===1?l._tr_align(C):$!==5&&(l._tr_stored_block(C,0,0,!1),$===3&&(K(C.head),C.lookahead===0&&(C.strstart=0,C.block_start=0,C.insert=0))),O(d),d.avail_out===0))return C.last_flush=-1,m}return $!==y?m:C.wrap<=0?1:(C.wrap===2?(ne(C,255&d.adler),ne(C,d.adler>>8&255),ne(C,d.adler>>16&255),ne(C,d.adler>>24&255),ne(C,255&d.total_in),ne(C,d.total_in>>8&255),ne(C,d.total_in>>16&255),ne(C,d.total_in>>24&255)):(q(C,d.adler>>>16),q(C,65535&d.adler)),O(d),0<C.wrap&&(C.wrap=-C.wrap),C.pending!==0?m:1)},i.deflateEnd=function(d){var $;return d&&d.state?($=d.state.status)!==E&&$!==69&&$!==73&&$!==91&&$!==103&&$!==j&&$!==666?M(d,w):(d.state=null,$===j?M(d,-3):m):w},i.deflateSetDictionary=function(d,$){var b,C,x,I,H,Z,D,Q,ee=$.length;if(!d||!d.state||(I=(b=d.state).wrap)===2||I===1&&b.status!==E||b.lookahead)return w;for(I===1&&(d.adler=a(d.adler,$,ee,0)),b.wrap=0,ee>=b.w_size&&(I===0&&(K(b.head),b.strstart=0,b.block_start=0,b.insert=0),Q=new s.Buf8(b.w_size),s.arraySet(Q,$,ee-b.w_size,b.w_size,0),$=Q,ee=b.w_size),H=d.avail_in,Z=d.next_in,D=d.input,d.avail_in=ee,d.next_in=0,d.input=$,fe(b);b.lookahead>=N;){for(C=b.strstart,x=b.lookahead-(N-1);b.ins_h=(b.ins_h<<b.hash_shift^b.window[C+N-1])&b.hash_mask,b.prev[C&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=C,C++,--x;);b.strstart=C,b.lookahead=N-1,fe(b)}return b.strstart+=b.lookahead,b.block_start=b.strstart,b.insert=b.lookahead,b.lookahead=0,b.match_length=b.prev_length=N-1,b.match_available=0,d.next_in=Z,d.input=D,d.avail_in=H,b.wrap=I,m},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(o,s){var l,a,f,_,v,y,m,w,h,k,u,c,g,S,z,P,T,F,N,R,V,E,j,p,U;l=o.state,a=o.next_in,p=o.input,f=a+(o.avail_in-5),_=o.next_out,U=o.output,v=_-(s-o.avail_out),y=_+(o.avail_out-257),m=l.dmax,w=l.wsize,h=l.whave,k=l.wnext,u=l.window,c=l.hold,g=l.bits,S=l.lencode,z=l.distcode,P=(1<<l.lenbits)-1,T=(1<<l.distbits)-1;e:do{g<15&&(c+=p[a++]<<g,g+=8,c+=p[a++]<<g,g+=8),F=S[c&P];t:for(;;){if(c>>>=N=F>>>24,g-=N,(N=F>>>16&255)===0)U[_++]=65535&F;else{if(!(16&N)){if(!(64&N)){F=S[(65535&F)+(c&(1<<N)-1)];continue t}if(32&N){l.mode=12;break e}o.msg="invalid literal/length code",l.mode=30;break e}R=65535&F,(N&=15)&&(g<N&&(c+=p[a++]<<g,g+=8),R+=c&(1<<N)-1,c>>>=N,g-=N),g<15&&(c+=p[a++]<<g,g+=8,c+=p[a++]<<g,g+=8),F=z[c&T];n:for(;;){if(c>>>=N=F>>>24,g-=N,!(16&(N=F>>>16&255))){if(!(64&N)){F=z[(65535&F)+(c&(1<<N)-1)];continue n}o.msg="invalid distance code",l.mode=30;break e}if(V=65535&F,g<(N&=15)&&(c+=p[a++]<<g,(g+=8)<N&&(c+=p[a++]<<g,g+=8)),m<(V+=c&(1<<N)-1)){o.msg="invalid distance too far back",l.mode=30;break e}if(c>>>=N,g-=N,(N=_-v)<V){if(h<(N=V-N)&&l.sane){o.msg="invalid distance too far back",l.mode=30;break e}if(j=u,(E=0)===k){if(E+=w-N,N<R){for(R-=N;U[_++]=u[E++],--N;);E=_-V,j=U}}else if(k<N){if(E+=w+k-N,(N-=k)<R){for(R-=N;U[_++]=u[E++],--N;);if(E=0,k<R){for(R-=N=k;U[_++]=u[E++],--N;);E=_-V,j=U}}}else if(E+=k-N,N<R){for(R-=N;U[_++]=u[E++],--N;);E=_-V,j=U}for(;2<R;)U[_++]=j[E++],U[_++]=j[E++],U[_++]=j[E++],R-=3;R&&(U[_++]=j[E++],1<R&&(U[_++]=j[E++]))}else{for(E=_-V;U[_++]=U[E++],U[_++]=U[E++],U[_++]=U[E++],2<(R-=3););R&&(U[_++]=U[E++],1<R&&(U[_++]=U[E++]))}break}}break}}while(a<f&&_<y);a-=R=g>>3,c&=(1<<(g-=R<<3))-1,o.next_in=a,o.next_out=_,o.avail_in=a<f?f-a+5:5-(a-f),o.avail_out=_<y?y-_+257:257-(_-y),l.hold=c,l.bits=g}},{}],49:[function(n,r,i){var o=n("../utils/common"),s=n("./adler32"),l=n("./crc32"),a=n("./inffast"),f=n("./inftrees"),_=1,v=2,y=0,m=-2,w=1,h=852,k=592;function u(E){return(E>>>24&255)+(E>>>8&65280)+((65280&E)<<8)+((255&E)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(E){var j;return E&&E.state?(j=E.state,E.total_in=E.total_out=j.total=0,E.msg="",j.wrap&&(E.adler=1&j.wrap),j.mode=w,j.last=0,j.havedict=0,j.dmax=32768,j.head=null,j.hold=0,j.bits=0,j.lencode=j.lendyn=new o.Buf32(h),j.distcode=j.distdyn=new o.Buf32(k),j.sane=1,j.back=-1,y):m}function S(E){var j;return E&&E.state?((j=E.state).wsize=0,j.whave=0,j.wnext=0,g(E)):m}function z(E,j){var p,U;return E&&E.state?(U=E.state,j<0?(p=0,j=-j):(p=1+(j>>4),j<48&&(j&=15)),j&&(j<8||15<j)?m:(U.window!==null&&U.wbits!==j&&(U.window=null),U.wrap=p,U.wbits=j,S(E))):m}function P(E,j){var p,U;return E?(U=new c,(E.state=U).window=null,(p=z(E,j))!==y&&(E.state=null),p):m}var T,F,N=!0;function R(E){if(N){var j;for(T=new o.Buf32(512),F=new o.Buf32(32),j=0;j<144;)E.lens[j++]=8;for(;j<256;)E.lens[j++]=9;for(;j<280;)E.lens[j++]=7;for(;j<288;)E.lens[j++]=8;for(f(_,E.lens,0,288,T,0,E.work,{bits:9}),j=0;j<32;)E.lens[j++]=5;f(v,E.lens,0,32,F,0,E.work,{bits:5}),N=!1}E.lencode=T,E.lenbits=9,E.distcode=F,E.distbits=5}function V(E,j,p,U){var J,B=E.state;return B.window===null&&(B.wsize=1<<B.wbits,B.wnext=0,B.whave=0,B.window=new o.Buf8(B.wsize)),U>=B.wsize?(o.arraySet(B.window,j,p-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(U<(J=B.wsize-B.wnext)&&(J=U),o.arraySet(B.window,j,p-U,J,B.wnext),(U-=J)?(o.arraySet(B.window,j,p-U,U,0),B.wnext=U,B.whave=B.wsize):(B.wnext+=J,B.wnext===B.wsize&&(B.wnext=0),B.whave<B.wsize&&(B.whave+=J))),0}i.inflateReset=S,i.inflateReset2=z,i.inflateResetKeep=g,i.inflateInit=function(E){return P(E,15)},i.inflateInit2=P,i.inflate=function(E,j){var p,U,J,B,M,L,K,O,A,ne,q,Y,fe,xe,oe,ce,Ie,Se,wt,ft,d,$,b,C,x=0,I=new o.Buf8(4),H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!E||!E.state||!E.output||!E.input&&E.avail_in!==0)return m;(p=E.state).mode===12&&(p.mode=13),M=E.next_out,J=E.output,K=E.avail_out,B=E.next_in,U=E.input,L=E.avail_in,O=p.hold,A=p.bits,ne=L,q=K,$=y;e:for(;;)switch(p.mode){case w:if(p.wrap===0){p.mode=13;break}for(;A<16;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(2&p.wrap&&O===35615){I[p.check=0]=255&O,I[1]=O>>>8&255,p.check=l(p.check,I,2,0),A=O=0,p.mode=2;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&O)<<8)+(O>>8))%31){E.msg="incorrect header check",p.mode=30;break}if((15&O)!=8){E.msg="unknown compression method",p.mode=30;break}if(A-=4,d=8+(15&(O>>>=4)),p.wbits===0)p.wbits=d;else if(d>p.wbits){E.msg="invalid window size",p.mode=30;break}p.dmax=1<<d,E.adler=p.check=1,p.mode=512&O?10:12,A=O=0;break;case 2:for(;A<16;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(p.flags=O,(255&p.flags)!=8){E.msg="unknown compression method",p.mode=30;break}if(57344&p.flags){E.msg="unknown header flags set",p.mode=30;break}p.head&&(p.head.text=O>>8&1),512&p.flags&&(I[0]=255&O,I[1]=O>>>8&255,p.check=l(p.check,I,2,0)),A=O=0,p.mode=3;case 3:for(;A<32;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}p.head&&(p.head.time=O),512&p.flags&&(I[0]=255&O,I[1]=O>>>8&255,I[2]=O>>>16&255,I[3]=O>>>24&255,p.check=l(p.check,I,4,0)),A=O=0,p.mode=4;case 4:for(;A<16;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}p.head&&(p.head.xflags=255&O,p.head.os=O>>8),512&p.flags&&(I[0]=255&O,I[1]=O>>>8&255,p.check=l(p.check,I,2,0)),A=O=0,p.mode=5;case 5:if(1024&p.flags){for(;A<16;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}p.length=O,p.head&&(p.head.extra_len=O),512&p.flags&&(I[0]=255&O,I[1]=O>>>8&255,p.check=l(p.check,I,2,0)),A=O=0}else p.head&&(p.head.extra=null);p.mode=6;case 6:if(1024&p.flags&&(L<(Y=p.length)&&(Y=L),Y&&(p.head&&(d=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),o.arraySet(p.head.extra,U,B,Y,d)),512&p.flags&&(p.check=l(p.check,U,Y,B)),L-=Y,B+=Y,p.length-=Y),p.length))break e;p.length=0,p.mode=7;case 7:if(2048&p.flags){if(L===0)break e;for(Y=0;d=U[B+Y++],p.head&&d&&p.length<65536&&(p.head.name+=String.fromCharCode(d)),d&&Y<L;);if(512&p.flags&&(p.check=l(p.check,U,Y,B)),L-=Y,B+=Y,d)break e}else p.head&&(p.head.name=null);p.length=0,p.mode=8;case 8:if(4096&p.flags){if(L===0)break e;for(Y=0;d=U[B+Y++],p.head&&d&&p.length<65536&&(p.head.comment+=String.fromCharCode(d)),d&&Y<L;);if(512&p.flags&&(p.check=l(p.check,U,Y,B)),L-=Y,B+=Y,d)break e}else p.head&&(p.head.comment=null);p.mode=9;case 9:if(512&p.flags){for(;A<16;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(O!==(65535&p.check)){E.msg="header crc mismatch",p.mode=30;break}A=O=0}p.head&&(p.head.hcrc=p.flags>>9&1,p.head.done=!0),E.adler=p.check=0,p.mode=12;break;case 10:for(;A<32;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}E.adler=p.check=u(O),A=O=0,p.mode=11;case 11:if(p.havedict===0)return E.next_out=M,E.avail_out=K,E.next_in=B,E.avail_in=L,p.hold=O,p.bits=A,2;E.adler=p.check=1,p.mode=12;case 12:if(j===5||j===6)break e;case 13:if(p.last){O>>>=7&A,A-=7&A,p.mode=27;break}for(;A<3;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}switch(p.last=1&O,A-=1,3&(O>>>=1)){case 0:p.mode=14;break;case 1:if(R(p),p.mode=20,j!==6)break;O>>>=2,A-=2;break e;case 2:p.mode=17;break;case 3:E.msg="invalid block type",p.mode=30}O>>>=2,A-=2;break;case 14:for(O>>>=7&A,A-=7&A;A<32;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if((65535&O)!=(O>>>16^65535)){E.msg="invalid stored block lengths",p.mode=30;break}if(p.length=65535&O,A=O=0,p.mode=15,j===6)break e;case 15:p.mode=16;case 16:if(Y=p.length){if(L<Y&&(Y=L),K<Y&&(Y=K),Y===0)break e;o.arraySet(J,U,B,Y,M),L-=Y,B+=Y,K-=Y,M+=Y,p.length-=Y;break}p.mode=12;break;case 17:for(;A<14;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(p.nlen=257+(31&O),O>>>=5,A-=5,p.ndist=1+(31&O),O>>>=5,A-=5,p.ncode=4+(15&O),O>>>=4,A-=4,286<p.nlen||30<p.ndist){E.msg="too many length or distance symbols",p.mode=30;break}p.have=0,p.mode=18;case 18:for(;p.have<p.ncode;){for(;A<3;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}p.lens[H[p.have++]]=7&O,O>>>=3,A-=3}for(;p.have<19;)p.lens[H[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,b={bits:p.lenbits},$=f(0,p.lens,0,19,p.lencode,0,p.work,b),p.lenbits=b.bits,$){E.msg="invalid code lengths set",p.mode=30;break}p.have=0,p.mode=19;case 19:for(;p.have<p.nlen+p.ndist;){for(;ce=(x=p.lencode[O&(1<<p.lenbits)-1])>>>16&255,Ie=65535&x,!((oe=x>>>24)<=A);){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(Ie<16)O>>>=oe,A-=oe,p.lens[p.have++]=Ie;else{if(Ie===16){for(C=oe+2;A<C;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(O>>>=oe,A-=oe,p.have===0){E.msg="invalid bit length repeat",p.mode=30;break}d=p.lens[p.have-1],Y=3+(3&O),O>>>=2,A-=2}else if(Ie===17){for(C=oe+3;A<C;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}A-=oe,d=0,Y=3+(7&(O>>>=oe)),O>>>=3,A-=3}else{for(C=oe+7;A<C;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}A-=oe,d=0,Y=11+(127&(O>>>=oe)),O>>>=7,A-=7}if(p.have+Y>p.nlen+p.ndist){E.msg="invalid bit length repeat",p.mode=30;break}for(;Y--;)p.lens[p.have++]=d}}if(p.mode===30)break;if(p.lens[256]===0){E.msg="invalid code -- missing end-of-block",p.mode=30;break}if(p.lenbits=9,b={bits:p.lenbits},$=f(_,p.lens,0,p.nlen,p.lencode,0,p.work,b),p.lenbits=b.bits,$){E.msg="invalid literal/lengths set",p.mode=30;break}if(p.distbits=6,p.distcode=p.distdyn,b={bits:p.distbits},$=f(v,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,b),p.distbits=b.bits,$){E.msg="invalid distances set",p.mode=30;break}if(p.mode=20,j===6)break e;case 20:p.mode=21;case 21:if(6<=L&&258<=K){E.next_out=M,E.avail_out=K,E.next_in=B,E.avail_in=L,p.hold=O,p.bits=A,a(E,q),M=E.next_out,J=E.output,K=E.avail_out,B=E.next_in,U=E.input,L=E.avail_in,O=p.hold,A=p.bits,p.mode===12&&(p.back=-1);break}for(p.back=0;ce=(x=p.lencode[O&(1<<p.lenbits)-1])>>>16&255,Ie=65535&x,!((oe=x>>>24)<=A);){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(ce&&!(240&ce)){for(Se=oe,wt=ce,ft=Ie;ce=(x=p.lencode[ft+((O&(1<<Se+wt)-1)>>Se)])>>>16&255,Ie=65535&x,!(Se+(oe=x>>>24)<=A);){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}O>>>=Se,A-=Se,p.back+=Se}if(O>>>=oe,A-=oe,p.back+=oe,p.length=Ie,ce===0){p.mode=26;break}if(32&ce){p.back=-1,p.mode=12;break}if(64&ce){E.msg="invalid literal/length code",p.mode=30;break}p.extra=15&ce,p.mode=22;case 22:if(p.extra){for(C=p.extra;A<C;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}p.length+=O&(1<<p.extra)-1,O>>>=p.extra,A-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=23;case 23:for(;ce=(x=p.distcode[O&(1<<p.distbits)-1])>>>16&255,Ie=65535&x,!((oe=x>>>24)<=A);){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(!(240&ce)){for(Se=oe,wt=ce,ft=Ie;ce=(x=p.distcode[ft+((O&(1<<Se+wt)-1)>>Se)])>>>16&255,Ie=65535&x,!(Se+(oe=x>>>24)<=A);){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}O>>>=Se,A-=Se,p.back+=Se}if(O>>>=oe,A-=oe,p.back+=oe,64&ce){E.msg="invalid distance code",p.mode=30;break}p.offset=Ie,p.extra=15&ce,p.mode=24;case 24:if(p.extra){for(C=p.extra;A<C;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}p.offset+=O&(1<<p.extra)-1,O>>>=p.extra,A-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){E.msg="invalid distance too far back",p.mode=30;break}p.mode=25;case 25:if(K===0)break e;if(Y=q-K,p.offset>Y){if((Y=p.offset-Y)>p.whave&&p.sane){E.msg="invalid distance too far back",p.mode=30;break}fe=Y>p.wnext?(Y-=p.wnext,p.wsize-Y):p.wnext-Y,Y>p.length&&(Y=p.length),xe=p.window}else xe=J,fe=M-p.offset,Y=p.length;for(K<Y&&(Y=K),K-=Y,p.length-=Y;J[M++]=xe[fe++],--Y;);p.length===0&&(p.mode=21);break;case 26:if(K===0)break e;J[M++]=p.length,K--,p.mode=21;break;case 27:if(p.wrap){for(;A<32;){if(L===0)break e;L--,O|=U[B++]<<A,A+=8}if(q-=K,E.total_out+=q,p.total+=q,q&&(E.adler=p.check=p.flags?l(p.check,J,q,M-q):s(p.check,J,q,M-q)),q=K,(p.flags?O:u(O))!==p.check){E.msg="incorrect data check",p.mode=30;break}A=O=0}p.mode=28;case 28:if(p.wrap&&p.flags){for(;A<32;){if(L===0)break e;L--,O+=U[B++]<<A,A+=8}if(O!==(4294967295&p.total)){E.msg="incorrect length check",p.mode=30;break}A=O=0}p.mode=29;case 29:$=1;break e;case 30:$=-3;break e;case 31:return-4;case 32:default:return m}return E.next_out=M,E.avail_out=K,E.next_in=B,E.avail_in=L,p.hold=O,p.bits=A,(p.wsize||q!==E.avail_out&&p.mode<30&&(p.mode<27||j!==4))&&V(E,E.output,E.next_out,q-E.avail_out)?(p.mode=31,-4):(ne-=E.avail_in,q-=E.avail_out,E.total_in+=ne,E.total_out+=q,p.total+=q,p.wrap&&q&&(E.adler=p.check=p.flags?l(p.check,J,q,E.next_out-q):s(p.check,J,q,E.next_out-q)),E.data_type=p.bits+(p.last?64:0)+(p.mode===12?128:0)+(p.mode===20||p.mode===15?256:0),(ne==0&&q===0||j===4)&&$===y&&($=-5),$)},i.inflateEnd=function(E){if(!E||!E.state)return m;var j=E.state;return j.window&&(j.window=null),E.state=null,y},i.inflateGetHeader=function(E,j){var p;return E&&E.state&&2&(p=E.state).wrap?((p.head=j).done=!1,y):m},i.inflateSetDictionary=function(E,j){var p,U=j.length;return E&&E.state?(p=E.state).wrap!==0&&p.mode!==11?m:p.mode===11&&s(1,j,U,0)!==p.check?-3:V(E,j,U,U)?(p.mode=31,-4):(p.havedict=1,y):m},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],f=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(_,v,y,m,w,h,k,u){var c,g,S,z,P,T,F,N,R,V=u.bits,E=0,j=0,p=0,U=0,J=0,B=0,M=0,L=0,K=0,O=0,A=null,ne=0,q=new o.Buf16(16),Y=new o.Buf16(16),fe=null,xe=0;for(E=0;E<=15;E++)q[E]=0;for(j=0;j<m;j++)q[v[y+j]]++;for(J=V,U=15;1<=U&&q[U]===0;U--);if(U<J&&(J=U),U===0)return w[h++]=20971520,w[h++]=20971520,u.bits=1,0;for(p=1;p<U&&q[p]===0;p++);for(J<p&&(J=p),E=L=1;E<=15;E++)if(L<<=1,(L-=q[E])<0)return-1;if(0<L&&(_===0||U!==1))return-1;for(Y[1]=0,E=1;E<15;E++)Y[E+1]=Y[E]+q[E];for(j=0;j<m;j++)v[y+j]!==0&&(k[Y[v[y+j]]++]=j);if(T=_===0?(A=fe=k,19):_===1?(A=s,ne-=257,fe=l,xe-=257,256):(A=a,fe=f,-1),E=p,P=h,M=j=O=0,S=-1,z=(K=1<<(B=J))-1,_===1&&852<K||_===2&&592<K)return 1;for(;;){for(F=E-M,R=k[j]<T?(N=0,k[j]):k[j]>T?(N=fe[xe+k[j]],A[ne+k[j]]):(N=96,0),c=1<<E-M,p=g=1<<B;w[P+(O>>M)+(g-=c)]=F<<24|N<<16|R|0,g!==0;);for(c=1<<E-1;O&c;)c>>=1;if(c!==0?(O&=c-1,O+=c):O=0,j++,--q[E]==0){if(E===U)break;E=v[y+k[j]]}if(J<E&&(O&z)!==S){for(M===0&&(M=J),P+=p,L=1<<(B=E-M);B+M<U&&!((L-=q[B+M])<=0);)B++,L<<=1;if(K+=1<<B,_===1&&852<K||_===2&&592<K)return 1;w[S=O&z]=J<<24|B<<16|P-h|0}}return O!==0&&(w[P+O]=E-M<<24|64<<16|0),u.bits=J,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var o=n("../utils/common"),s=0,l=1;function a(x){for(var I=x.length;0<=--I;)x[I]=0}var f=0,_=29,v=256,y=v+1+_,m=30,w=19,h=2*y+1,k=15,u=16,c=7,g=256,S=16,z=17,P=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],F=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(y+2));a(V);var E=new Array(2*m);a(E);var j=new Array(512);a(j);var p=new Array(256);a(p);var U=new Array(_);a(U);var J,B,M,L=new Array(m);function K(x,I,H,Z,D){this.static_tree=x,this.extra_bits=I,this.extra_base=H,this.elems=Z,this.max_length=D,this.has_stree=x&&x.length}function O(x,I){this.dyn_tree=x,this.max_code=0,this.stat_desc=I}function A(x){return x<256?j[x]:j[256+(x>>>7)]}function ne(x,I){x.pending_buf[x.pending++]=255&I,x.pending_buf[x.pending++]=I>>>8&255}function q(x,I,H){x.bi_valid>u-H?(x.bi_buf|=I<<x.bi_valid&65535,ne(x,x.bi_buf),x.bi_buf=I>>u-x.bi_valid,x.bi_valid+=H-u):(x.bi_buf|=I<<x.bi_valid&65535,x.bi_valid+=H)}function Y(x,I,H){q(x,H[2*I],H[2*I+1])}function fe(x,I){for(var H=0;H|=1&x,x>>>=1,H<<=1,0<--I;);return H>>>1}function xe(x,I,H){var Z,D,Q=new Array(k+1),ee=0;for(Z=1;Z<=k;Z++)Q[Z]=ee=ee+H[Z-1]<<1;for(D=0;D<=I;D++){var X=x[2*D+1];X!==0&&(x[2*D]=fe(Q[X]++,X))}}function oe(x){var I;for(I=0;I<y;I++)x.dyn_ltree[2*I]=0;for(I=0;I<m;I++)x.dyn_dtree[2*I]=0;for(I=0;I<w;I++)x.bl_tree[2*I]=0;x.dyn_ltree[2*g]=1,x.opt_len=x.static_len=0,x.last_lit=x.matches=0}function ce(x){8<x.bi_valid?ne(x,x.bi_buf):0<x.bi_valid&&(x.pending_buf[x.pending++]=x.bi_buf),x.bi_buf=0,x.bi_valid=0}function Ie(x,I,H,Z){var D=2*I,Q=2*H;return x[D]<x[Q]||x[D]===x[Q]&&Z[I]<=Z[H]}function Se(x,I,H){for(var Z=x.heap[H],D=H<<1;D<=x.heap_len&&(D<x.heap_len&&Ie(I,x.heap[D+1],x.heap[D],x.depth)&&D++,!Ie(I,Z,x.heap[D],x.depth));)x.heap[H]=x.heap[D],H=D,D<<=1;x.heap[H]=Z}function wt(x,I,H){var Z,D,Q,ee,X=0;if(x.last_lit!==0)for(;Z=x.pending_buf[x.d_buf+2*X]<<8|x.pending_buf[x.d_buf+2*X+1],D=x.pending_buf[x.l_buf+X],X++,Z===0?Y(x,D,I):(Y(x,(Q=p[D])+v+1,I),(ee=T[Q])!==0&&q(x,D-=U[Q],ee),Y(x,Q=A(--Z),H),(ee=F[Q])!==0&&q(x,Z-=L[Q],ee)),X<x.last_lit;);Y(x,g,I)}function ft(x,I){var H,Z,D,Q=I.dyn_tree,ee=I.stat_desc.static_tree,X=I.stat_desc.has_stree,re=I.stat_desc.elems,he=-1;for(x.heap_len=0,x.heap_max=h,H=0;H<re;H++)Q[2*H]!==0?(x.heap[++x.heap_len]=he=H,x.depth[H]=0):Q[2*H+1]=0;for(;x.heap_len<2;)Q[2*(D=x.heap[++x.heap_len]=he<2?++he:0)]=1,x.depth[D]=0,x.opt_len--,X&&(x.static_len-=ee[2*D+1]);for(I.max_code=he,H=x.heap_len>>1;1<=H;H--)Se(x,Q,H);for(D=re;H=x.heap[1],x.heap[1]=x.heap[x.heap_len--],Se(x,Q,1),Z=x.heap[1],x.heap[--x.heap_max]=H,x.heap[--x.heap_max]=Z,Q[2*D]=Q[2*H]+Q[2*Z],x.depth[D]=(x.depth[H]>=x.depth[Z]?x.depth[H]:x.depth[Z])+1,Q[2*H+1]=Q[2*Z+1]=D,x.heap[1]=D++,Se(x,Q,1),2<=x.heap_len;);x.heap[--x.heap_max]=x.heap[1],function(se,rt){var dr,_t,hr,Ee,gi,Zo,Tt=rt.dyn_tree,ya=rt.max_code,Dd=rt.stat_desc.static_tree,Ld=rt.stat_desc.has_stree,Fd=rt.stat_desc.extra_bits,wa=rt.stat_desc.extra_base,pr=rt.stat_desc.max_length,vi=0;for(Ee=0;Ee<=k;Ee++)se.bl_count[Ee]=0;for(Tt[2*se.heap[se.heap_max]+1]=0,dr=se.heap_max+1;dr<h;dr++)pr<(Ee=Tt[2*Tt[2*(_t=se.heap[dr])+1]+1]+1)&&(Ee=pr,vi++),Tt[2*_t+1]=Ee,ya<_t||(se.bl_count[Ee]++,gi=0,wa<=_t&&(gi=Fd[_t-wa]),Zo=Tt[2*_t],se.opt_len+=Zo*(Ee+gi),Ld&&(se.static_len+=Zo*(Dd[2*_t+1]+gi)));if(vi!==0){do{for(Ee=pr-1;se.bl_count[Ee]===0;)Ee--;se.bl_count[Ee]--,se.bl_count[Ee+1]+=2,se.bl_count[pr]--,vi-=2}while(0<vi);for(Ee=pr;Ee!==0;Ee--)for(_t=se.bl_count[Ee];_t!==0;)ya<(hr=se.heap[--dr])||(Tt[2*hr+1]!==Ee&&(se.opt_len+=(Ee-Tt[2*hr+1])*Tt[2*hr],Tt[2*hr+1]=Ee),_t--)}}(x,I),xe(Q,he,x.bl_count)}function d(x,I,H){var Z,D,Q=-1,ee=I[1],X=0,re=7,he=4;for(ee===0&&(re=138,he=3),I[2*(H+1)+1]=65535,Z=0;Z<=H;Z++)D=ee,ee=I[2*(Z+1)+1],++X<re&&D===ee||(X<he?x.bl_tree[2*D]+=X:D!==0?(D!==Q&&x.bl_tree[2*D]++,x.bl_tree[2*S]++):X<=10?x.bl_tree[2*z]++:x.bl_tree[2*P]++,Q=D,he=(X=0)===ee?(re=138,3):D===ee?(re=6,3):(re=7,4))}function $(x,I,H){var Z,D,Q=-1,ee=I[1],X=0,re=7,he=4;for(ee===0&&(re=138,he=3),Z=0;Z<=H;Z++)if(D=ee,ee=I[2*(Z+1)+1],!(++X<re&&D===ee)){if(X<he)for(;Y(x,D,x.bl_tree),--X!=0;);else D!==0?(D!==Q&&(Y(x,D,x.bl_tree),X--),Y(x,S,x.bl_tree),q(x,X-3,2)):X<=10?(Y(x,z,x.bl_tree),q(x,X-3,3)):(Y(x,P,x.bl_tree),q(x,X-11,7));Q=D,he=(X=0)===ee?(re=138,3):D===ee?(re=6,3):(re=7,4)}}a(L);var b=!1;function C(x,I,H,Z){q(x,(f<<1)+(Z?1:0),3),function(D,Q,ee,X){ce(D),ne(D,ee),ne(D,~ee),o.arraySet(D.pending_buf,D.window,Q,ee,D.pending),D.pending+=ee}(x,I,H)}i._tr_init=function(x){b||(function(){var I,H,Z,D,Q,ee=new Array(k+1);for(D=Z=0;D<_-1;D++)for(U[D]=Z,I=0;I<1<<T[D];I++)p[Z++]=D;for(p[Z-1]=D,D=Q=0;D<16;D++)for(L[D]=Q,I=0;I<1<<F[D];I++)j[Q++]=D;for(Q>>=7;D<m;D++)for(L[D]=Q<<7,I=0;I<1<<F[D]-7;I++)j[256+Q++]=D;for(H=0;H<=k;H++)ee[H]=0;for(I=0;I<=143;)V[2*I+1]=8,I++,ee[8]++;for(;I<=255;)V[2*I+1]=9,I++,ee[9]++;for(;I<=279;)V[2*I+1]=7,I++,ee[7]++;for(;I<=287;)V[2*I+1]=8,I++,ee[8]++;for(xe(V,y+1,ee),I=0;I<m;I++)E[2*I+1]=5,E[2*I]=fe(I,5);J=new K(V,T,v+1,y,k),B=new K(E,F,0,m,k),M=new K(new Array(0),N,0,w,c)}(),b=!0),x.l_desc=new O(x.dyn_ltree,J),x.d_desc=new O(x.dyn_dtree,B),x.bl_desc=new O(x.bl_tree,M),x.bi_buf=0,x.bi_valid=0,oe(x)},i._tr_stored_block=C,i._tr_flush_block=function(x,I,H,Z){var D,Q,ee=0;0<x.level?(x.strm.data_type===2&&(x.strm.data_type=function(X){var re,he=4093624447;for(re=0;re<=31;re++,he>>>=1)if(1&he&&X.dyn_ltree[2*re]!==0)return s;if(X.dyn_ltree[18]!==0||X.dyn_ltree[20]!==0||X.dyn_ltree[26]!==0)return l;for(re=32;re<v;re++)if(X.dyn_ltree[2*re]!==0)return l;return s}(x)),ft(x,x.l_desc),ft(x,x.d_desc),ee=function(X){var re;for(d(X,X.dyn_ltree,X.l_desc.max_code),d(X,X.dyn_dtree,X.d_desc.max_code),ft(X,X.bl_desc),re=w-1;3<=re&&X.bl_tree[2*R[re]+1]===0;re--);return X.opt_len+=3*(re+1)+5+5+4,re}(x),D=x.opt_len+3+7>>>3,(Q=x.static_len+3+7>>>3)<=D&&(D=Q)):D=Q=H+5,H+4<=D&&I!==-1?C(x,I,H,Z):x.strategy===4||Q===D?(q(x,2+(Z?1:0),3),wt(x,V,E)):(q(x,4+(Z?1:0),3),function(X,re,he,se){var rt;for(q(X,re-257,5),q(X,he-1,5),q(X,se-4,4),rt=0;rt<se;rt++)q(X,X.bl_tree[2*R[rt]+1],3);$(X,X.dyn_ltree,re-1),$(X,X.dyn_dtree,he-1)}(x,x.l_desc.max_code+1,x.d_desc.max_code+1,ee+1),wt(x,x.dyn_ltree,x.dyn_dtree)),oe(x),Z&&ce(x)},i._tr_tally=function(x,I,H){return x.pending_buf[x.d_buf+2*x.last_lit]=I>>>8&255,x.pending_buf[x.d_buf+2*x.last_lit+1]=255&I,x.pending_buf[x.l_buf+x.last_lit]=255&H,x.last_lit++,I===0?x.dyn_ltree[2*H]++:(x.matches++,I--,x.dyn_ltree[2*(p[H]+v+1)]++,x.dyn_dtree[2*A(I)]++),x.last_lit===x.lit_bufsize-1},i._tr_align=function(x){q(x,2,3),Y(x,g,V),function(I){I.bi_valid===16?(ne(I,I.bi_buf),I.bi_buf=0,I.bi_valid=0):8<=I.bi_valid&&(I.pending_buf[I.pending++]=255&I.bi_buf,I.bi_buf>>=8,I.bi_valid-=8)}(x)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(s,l){if(!s.setImmediate){var a,f,_,v,y=1,m={},w=!1,h=s.document,k=Object.getPrototypeOf&&Object.getPrototypeOf(s);k=k&&k.setTimeout?k:s,a={}.toString.call(s.process)==="[object process]"?function(S){process.nextTick(function(){c(S)})}:function(){if(s.postMessage&&!s.importScripts){var S=!0,z=s.onmessage;return s.onmessage=function(){S=!1},s.postMessage("","*"),s.onmessage=z,S}}()?(v="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",g,!1):s.attachEvent("onmessage",g),function(S){s.postMessage(v+S,"*")}):s.MessageChannel?((_=new MessageChannel).port1.onmessage=function(S){c(S.data)},function(S){_.port2.postMessage(S)}):h&&"onreadystatechange"in h.createElement("script")?(f=h.documentElement,function(S){var z=h.createElement("script");z.onreadystatechange=function(){c(S),z.onreadystatechange=null,f.removeChild(z),z=null},f.appendChild(z)}):function(S){setTimeout(c,0,S)},k.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var z=new Array(arguments.length-1),P=0;P<z.length;P++)z[P]=arguments[P+1];var T={callback:S,args:z};return m[y]=T,a(y),y++},k.clearImmediate=u}function u(S){delete m[S]}function c(S){if(w)setTimeout(c,0,S);else{var z=m[S];if(z){w=!0;try{(function(P){var T=P.callback,F=P.args;switch(F.length){case 0:T();break;case 1:T(F[0]);break;case 2:T(F[0],F[1]);break;case 3:T(F[0],F[1],F[2]);break;default:T.apply(l,F)}})(z)}finally{u(S),w=!1}}}}function g(S){S.source===s&&typeof S.data=="string"&&S.data.indexOf(v)===0&&c(+S.data.slice(v.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof yi<"u"?yi:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Xf);var jm=Xf.exports;const Dm=Du(jm);function $t(e){return{ok:!1,code:"invalid_type",expected:e}}const Yf=$t([]),Jf=$t(["string"]),qf=$t(["number"]),Lm=$t(["bigint"]),ed=$t(["boolean"]),td=$t(["undefined"]),nd=$t(["null"]),Fm=$t(["object"]),bm=$t(["array"]),ha={ok:!1,code:"missing_value"};function Vn(e,t){return e?{ok:!1,code:"join",left:e,right:t}:t}function qn(e,t){return{ok:!1,code:"prepend",key:e,tree:t}}function Um(e,t){var n;const r=e.code;switch(r){case"invalid_type":return{code:r,path:t,expected:e.expected};case"invalid_literal":return{code:r,path:t,expected:e.expected};case"missing_value":return{code:r,path:t};case"invalid_length":return{code:r,path:t,minLength:e.minLength,maxLength:e.maxLength};case"unrecognized_keys":return{code:r,path:t,keys:e.keys};case"invalid_union":return{code:r,path:t,tree:e.tree,issues:Mo(e.tree)};case"custom_error":return typeof e.error=="object"&&e.error.path!==void 0&&t.push(...e.error.path),{code:r,path:t,message:typeof e.error=="string"?e.error:(n=e.error)===null||n===void 0?void 0:n.message,error:e.error}}}function Mo(e,t=[],n=[]){for(;;)if(e.code==="join")Mo(e.left,t.slice(),n),e=e.right;else if(e.code==="prepend")t.push(e.key),e=e.tree;else return n.push(Um(e,t)),n}function ws(e,t){return e.length===0?"nothing":e.length===1?e[0]:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}function Au(e){return typeof e=="bigint"?`${e}n`:JSON.stringify(e)}function rd(e){let t=0;for(;;)if(e.code==="join")t+=rd(e.left),e=e.right;else if(e.code==="prepend")e=e.tree;else return t+1}function id(e){let t="",n=0;for(;;)if(e.code==="join")n+=rd(e.right),e=e.left;else if(e.code==="prepend")t+=`.${e.key}`,e=e.tree;else break;let r="validation failed";if(e.code==="invalid_type")r=`expected ${ws(e.expected,"or")}`;else if(e.code==="invalid_literal")r=`expected ${ws(e.expected.map(Au),"or")}`;else if(e.code==="missing_value")r="missing value";else if(e.code==="unrecognized_keys"){const o=e.keys;r=`unrecognized ${o.length===1?"key":"keys"} ${ws(o.map(Au),"and")}`}else if(e.code==="invalid_length"){const o=e.minLength,s=e.maxLength;r="expected an array with ",o>0?s===o?r+=`${o}`:s!==void 0?r+=`between ${o} and ${s}`:r+=`at least ${o}`:r+=`at most ${s??"∞"}`,r+=" item(s)"}else if(e.code==="custom_error"){const o=e.error;typeof o=="string"?r=o:o!==void 0&&(o.message!==void 0&&(r=o.message),o.path!==void 0&&(t+="."+o.path.join(".")))}let i=`${e.code} at .${t.slice(1)} (${r})`;return n===1?i+=" (+ 1 other issue)":n>1&&(i+=` (+ ${n} other issues)`),i}function Ut(e,t,n,r){return Object.defineProperty(e,t,{value:n,enumerable:r,writable:!1}),n}class od extends Error{constructor(t){super(id(t)),Object.setPrototypeOf(this,new.target.prototype),this.name=new.target.name,this._issueTree=t}get issues(){return Ut(this,"issues",Mo(this._issueTree),!0)}}class sd{constructor(t){this.ok=!1,this._issueTree=t}get issues(){return Ut(this,"issues",Mo(this._issueTree),!0)}get message(){return Ut(this,"message",id(this._issueTree),!0)}throw(){throw new od(this._issueTree)}}function xn(e){return{ok:!0,value:e}}function Ur(e){return new sd({ok:!1,code:"custom_error",error:e})}function ld(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const wn=1,ii=2,Bo=4,ad=0,Mm=1,ud=2,cd=3,Bm=4,fd=5,dd=6,hd=7,pd=8,md=9,gd=10,vd=11,yd=12,wd=13,_d=14,Mt=(e,t)=>({tag:e,match:t});function Je(e,t,n){switch(e.tag){case ad:return;case Mm:return Yf;case ud:return typeof t=="string"?void 0:Jf;case cd:return typeof t=="number"?void 0:qf;case Bm:return typeof t=="bigint"?void 0:Lm;case fd:return typeof t=="boolean"?void 0:ed;case dd:return t===null?void 0:nd;case hd:return t===void 0?void 0:td;case pd:return e.match(t,n);case md:return e.match(t,n);case gd:return e.match(t,n);case vd:return e.match(t,n);case yd:return e.match(t,n);case wd:return e.match(t,n);case _d:return e.match(t,n);default:return e.match(t,n)}}const ae=Symbol.for("@valita/internal");class kd{default(t){const n=xn(t);return new Ct(this.optional(),r=>r===void 0?n:void 0)}assert(t,n){const r={ok:!1,code:"custom_error",error:n};return new Ct(this,(i,o)=>t(i,_s(o))?void 0:r)}map(t){return new Ct(this,(n,r)=>({ok:!0,value:t(n,_s(r))}))}chain(t){return typeof t=="function"?new Ct(this,(n,r)=>{const i=t(n,_s(r));return i.ok?i:i._issueTree}):new Ct(this,(n,r)=>Je(t[ae],n,r))}}class Pn extends kd{optional(t){const n=new Wm(this);return t?new Ct(n,r=>r===void 0?{ok:!0,value:t()}:void 0):n}nullable(t){const n=new $m([qm(),this]);return t?new Ct(n,r=>r===null?{ok:!0,value:t()}:void 0):n}_toTerminals(t){t(this)}try(t,n){const r=Je(this[ae],t,n===void 0?wn:n.mode==="strip"?ii:n.mode==="passthrough"?0:wn);return r===void 0||r.ok?{ok:!0,value:r===void 0?t:r.value}:new sd(r)}parse(t,n){const r=Je(this[ae],t,n===void 0?wn:n.mode==="strip"?ii:n.mode==="passthrough"?0:wn);if(r===void 0||r.ok)return r===void 0?t:r.value;throw new od(r)}}class $m extends Pn{constructor(t){super(),this.name="union",this.options=t}get[ae](){const t=this.options.map(n=>n[ae]);return Ut(this,ae,Mt(wd,(n,r)=>{let i=Yf;for(const o of t){const s=Je(o,n,r);if(s===void 0||s.ok)return s;i=s}return i}),!1)}_toTerminals(t){for(const n of this.options)n._toTerminals(t)}}class Wm extends kd{constructor(t){super(),this.name="optional",this.type=t}optional(t){return t?new Ct(this,n=>n===void 0?{ok:!0,value:t()}:void 0):this}get[ae](){const t=this.type[ae];return Ut(this,ae,Mt(md,(n,r)=>n===void 0||r&Bo?void 0:Je(t,n,r)),!1)}_toTerminals(t){t(this),t(e0()),this.type._toTerminals(t)}}function xd(e,t){if(typeof e!="number"){const n=t>>5;for(let r=e.length;r<=n;r++)e.push(0);return e[n]|=1<<t%32,e}else return t<32?e|1<<t:xd([e,0],t)}function Sr(e,t){return typeof e=="number"?t<32?e>>>t&1:0:e[t>>5]>>>t%32&1}class Rt extends Pn{constructor(t,n,r){super(),this.name="object",this.shape=t,this._restType=n,this._checks=r}get[ae](){const t=Hm(this.shape,this._restType,this._checks);return Ut(this,ae,Mt(gd,(n,r)=>ld(n)?t(n,r):Fm),!1)}check(t,n){var r;const i={ok:!1,code:"custom_error",error:n};return new Rt(this.shape,this._restType,[...(r=this._checks)!==null&&r!==void 0?r:[],{func:t,issue:i}])}rest(t){return new Rt(this.shape,t)}extend(t){return new Rt(Object.assign(Object.assign({},this.shape),t),this._restType)}pick(...t){const n={};for(const r of t)it(n,r,this.shape[r]);return new Rt(n,void 0)}omit(...t){const n=Object.assign({},this.shape);for(const r of t)delete n[r];return new Rt(n,this._restType)}partial(){var t;const n={};for(const i of Object.keys(this.shape))it(n,i,this.shape[i].optional());const r=(t=this._restType)===null||t===void 0?void 0:t.optional();return new Rt(n,r)}}function it(e,t,n){t==="__proto__"?Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0}):e[t]=n}function Hm(e,t,n){const r=Object.keys(e).map((l,a)=>{const f=e[l];let _=!1;return f._toTerminals(v=>{_||(_=v.name==="optional")}),{key:l,index:a,matcher:f[ae],optional:_,missing:qn(l,ha)}}),i=Object.create(null);for(const l of r)i[l.key]=l;const o=t==null?void 0:t[ae],s=r.length===0&&(t==null?void 0:t.name)==="unknown"&&n===void 0;return(l,a)=>{if(s)return;let f,_,v,y=0,m=0;if(a&(wn|ii)||o!==void 0)for(const w in l){const h=l[w],k=i[w];if(k===void 0&&o===void 0){if(a&wn)v===void 0?(v=[w],_=Vn(_,{ok:!1,code:"unrecognized_keys",keys:v})):v.push(w);else if(a&ii&&_===void 0&&f===void 0){f={};for(let c=0;c<r.length;c++)if(Sr(y,c)){const g=r[c].key;it(f,g,l[g])}}continue}const u=Je(k===void 0?o:k.matcher,h,a);if(u===void 0)f!==void 0&&_===void 0&&it(f,w,h);else if(!u.ok)_=Vn(_,qn(w,u));else if(_===void 0){if(f===void 0)if(f={},o===void 0){for(let c=0;c<r.length;c++)if(Sr(y,c)){const g=r[c].key;it(f,g,l[g])}}else for(const c in l)it(f,c,l[c]);it(f,w,u.value)}k!==void 0&&(m++,y=xd(y,k.index))}if(m<r.length)for(let w=0;w<r.length;w++){if(Sr(y,w))continue;const h=r[w],k=l[h.key];let u=0;if(k===void 0&&!(h.key in l)){if(!h.optional){_=Vn(_,h.missing);continue}u=Bo}const c=Je(h.matcher,k,a|u);if(c===void 0)f!==void 0&&_===void 0&&!u&&it(f,h.key,k);else if(!c.ok)_=Vn(_,qn(h.key,c));else if(_===void 0){if(f===void 0)if(f={},o===void 0){for(let g=0;g<r.length;g++)if(g<w||Sr(y,g)){const S=r[g].key;it(f,S,l[S])}}else{for(const g in l)it(f,g,l[g]);for(let g=0;g<w;g++)if(!Sr(y,g)){const S=r[g].key;it(f,S,l[S])}}it(f,h.key,c.value)}}if(_!==void 0)return _;if(n!==void 0){for(const{func:w,issue:h}of n)if(!w(f??l))return h}return f&&{ok:!0,value:f}}}class er extends Pn{constructor(t,n,r){super(),this.name="array",this._prefix=t,this._rest=n,this._suffix=r}get[ae](){var t,n;const r=this._prefix.map(f=>f[ae]),i=this._suffix.map(f=>f[ae]),o=(n=(t=this._rest)===null||t===void 0?void 0:t[ae])!==null&&n!==void 0?n:Mt(1,()=>ha),s=r.length+i.length,l=this._rest?1/0:s,a={ok:!1,code:"invalid_length",minLength:s,maxLength:l===1/0?void 0:l};return Ut(this,ae,Mt(vd,(f,_)=>{if(!Array.isArray(f))return bm;const v=f.length;if(v<s||v>l)return a;const y=r.length,m=f.length-i.length;let w,h=f;for(let k=0;k<f.length;k++){const u=k<y?r[k]:k>=m?i[k-m]:o,c=Je(u,f[k],_);c!==void 0&&(c.ok?(h===f&&(h=f.slice()),h[k]=c.value):w=Vn(w,qn(k,c)))}return w||(f===h?void 0:{ok:!0,value:h})}),!1)}concat(t){if(this._rest){if(t._rest)throw new TypeError("can not concatenate two variadic types");return new er(this._prefix,this._rest,[...this._suffix,...t._prefix,...t._suffix])}else return t._rest?new er([...this._prefix,...this._suffix,...t._prefix],t._rest,t._suffix):new er([...this._prefix,...this._suffix,...t._prefix,...t._suffix],t._rest,t._suffix)}}function xo(e){const t=typeof e;return t!=="object"?t:e===null?"null":Array.isArray(e)?"array":t}function Er(e){return[...new Set(e)]}function Sd(e){var t,n,r;const i=new Map,o=new Map,s=new Map,l=[],a=[],f=[];for(const{root:v,terminal:y}of e)if(i.set(v,(t=i.get(v))!==null&&t!==void 0?t:i.size),y.name!=="never")if(y.name==="optional")a.push(v);else if(y.name==="unknown")l.push(v);else if(y.name==="literal"){const m=(n=o.get(y.value))!==null&&n!==void 0?n:[];m.push(v),o.set(y.value,m),f.push(xo(y.value))}else{const m=(r=s.get(y.name))!==null&&r!==void 0?r:[];m.push(v),s.set(y.name,m),f.push(y.name)}const _=(v,y)=>{var m,w;return((m=i.get(v))!==null&&m!==void 0?m:0)-((w=i.get(y))!==null&&w!==void 0?w:0)};for(const[v,y]of o){const m=s.get(xo(v));m?(m.push(...y),o.delete(v)):o.set(v,Er(y.concat(l)).sort(_))}for(const[v,y]of s)s.set(v,Er(y.concat(l)).sort(_));return{types:s,literals:o,unknowns:Er(l).sort(_),optionals:Er(a).sort(_),expectedTypes:Er(f)}}function Vm(e,t){var n;const r=[];for(const{root:w,terminal:h}of e)h.shape[t]._toTerminals(k=>r.push({root:w,terminal:k}));const{types:i,literals:o,optionals:s,unknowns:l,expectedTypes:a}=Sd(r);if(l.length>0||s.length>1)return;for(const w of o.values())if(w.length>1)return;for(const w of i.values())if(w.length>1)return;const f=qn(t,ha),_=qn(t,i.size===0?{ok:!1,code:"invalid_literal",expected:[...o.keys()]}:{ok:!1,code:"invalid_type",expected:a}),v=o.size>0?new Map:void 0;if(v)for(const[w,h]of o)v.set(w,h[0][ae]);const y=i.size>0?{}:void 0;if(y)for(const[w,h]of i)y[w]=h[0][ae];const m=(n=s[0])===null||n===void 0?void 0:n[ae];return(w,h)=>{var k;const u=w[t];if(u===void 0&&!(t in w))return m===void 0?f:Je(m,w,h);const c=(k=y==null?void 0:y[xo(u)])!==null&&k!==void 0?k:v==null?void 0:v.get(u);return c?Je(c,w,h):_}}function Zm(e){var t;const n=[],r=new Map;for(const{root:i,terminal:o}of e){if(o.name==="unknown")return;if(o.name==="object"){for(const s in o.shape)r.set(s,((t=r.get(s))!==null&&t!==void 0?t:0)+1);n.push({root:i,terminal:o})}}if(!(n.length<2)){for(const[i,o]of r)if(o===n.length){const s=Vm(n,i);if(s)return s}}}function Gm(e){const{expectedTypes:t,literals:n,types:r,unknowns:i,optionals:o}=Sd(e),s=r.size===0&&i.length===0?{ok:!1,code:"invalid_literal",expected:[...n.keys()]}:{ok:!1,code:"invalid_type",expected:t},l=n.size>0?new Map:void 0;if(l)for(const[v,y]of n)l.set(v,y.map(m=>m[ae]));const a=r.size>0?{}:void 0;if(a)for(const[v,y]of r)a[v]=y.map(m=>m[ae]);const f=o.map(v=>v[ae]),_=i.map(v=>v[ae]);return(v,y)=>{var m,w;const h=y&Bo?f:(w=(m=a==null?void 0:a[xo(v)])!==null&&m!==void 0?m:l==null?void 0:l.get(v))!==null&&w!==void 0?w:_;let k=0,u=s;for(let c=0;c<h.length;c++){const g=Je(h[c],v,y);if(g===void 0||g.ok)return g;u=k>0?Vn(u,g):g,k++}return k>1?{ok:!1,code:"invalid_union",tree:u}:u}}class Km extends Pn{constructor(t){super(),this.name="union",this.options=t}_toTerminals(t){for(const n of this.options)n._toTerminals(t)}get[ae](){const t=[];for(const i of this.options)i._toTerminals(o=>{t.push({root:i,terminal:o})});const n=Gm(t),r=Zm(t);return Ut(this,ae,Mt(yd,(i,o)=>r!==void 0&&ld(i)?r(i,o):n(i,o)),!1)}}const Qm=Object.freeze({mode:"strict"}),Xm=Object.freeze({mode:"strip"}),Ym=Object.freeze({mode:"passthrough"});function _s(e){return e&wn?Qm:e&ii?Xm:Ym}class Ct extends Pn{constructor(t,n){super(),this.name="transform",this._transformed=t,this._transform=n}get[ae](){const t=[];let n=this;for(;n instanceof Ct;)t.push(n._transform),n=n._transformed;t.reverse();const r=n[ae],i=xn(void 0);return Ut(this,ae,Mt(_d,(o,s)=>{let l=Je(r,o,s);if(l!==void 0&&!l.ok)return l;let a;l!==void 0?a=l.value:s&Bo?(a=void 0,l=i):a=o;for(let f=0;f<t.length;f++){const _=t[f](a,s);if(_!==void 0){if(!_.ok)return _;a=_.value,l=_}}return l}),!1)}_toTerminals(t){this._transformed._toTerminals(t)}}function fr(e,t,n){const r=Mt(t,n);class i extends Pn{constructor(){super(),this.name=e,this[ae]=r}}const o=new i;return()=>o}const Ed=fr("unknown",ad,()=>{}),et=fr("string",ud,e=>typeof e=="string"?void 0:Jf),Jm=fr("number",cd,e=>typeof e=="number"?void 0:qf),Cr=fr("boolean",fd,e=>typeof e=="boolean"?void 0:ed),qm=fr("null",dd,e=>e===null?void 0:nd),e0=fr("undefined",hd,e=>e===void 0?void 0:td);class t0 extends Pn{constructor(t){super(),this.name="literal";const n={ok:!1,code:"invalid_literal",expected:[t]};this[ae]=Mt(pd,r=>r===t?void 0:n),this.value=t}}const Cd=e=>new t0(e),Rn=e=>new Rt(e,void 0),ml=e=>new Rt({},e??Ed()),St=e=>new er([],e??Ed(),[]),n0=e=>new er(e,void 0,[]),Mr=(...e)=>new Km(e),r0=/^did:([a-z]+):([a-zA-Z0-9._:%\-]*[a-zA-Z0-9._\-])$/,i0=e=>typeof e=="string"&&e.length>=7&&e.length<=2048&&r0.test(e),o0=/^#[^#]+$/,s0=/^z[a-km-zA-HJ-NP-Z1-9]+$/,Zn=et().assert(e=>URL.canParse(e),"must be a url"),pa=et().assert(e=>o0.test(e)||URL.canParse(e),"must be a did relative uri"),l0=et().assert(e=>s0.test(e),"must be a base58 multibase"),Xi=et().assert(i0,"must be a did"),Ou=Rn({id:pa,type:et(),controller:Xi,publicKeyMultibase:l0.optional(),publicKeyJwk:ml().optional()}).chain(e=>{switch(e.type){case"Multikey":{if(e.publicKeyMultibase===void 0)return Ur({message:"missing multikey",path:["publicKeyMultibase"]});break}case"EcdsaSecp256k1VerificationKey2019":case"EcdsaSecp256r1VerificationKey2019":{if(e.publicKeyMultibase===void 0)return Ur({message:"missing multibase key",path:["publicKeyMultibase"]});break}}return xn(e)}),a0=Rn({id:pa,type:Mr(et(),St(et())),serviceEndpoint:Mr(Zn,ml(Zn),St(Mr(Zn,ml(Zn))))}),u0=Rn({"@context":St(Zn),id:Xi,alsoKnownAs:St(Zn).chain(e=>{for(let t=0,n=e.length;t<n;t++){const r=e[t];for(let i=0;i<t;i++)if(r===e[i])return Ur({message:`duplicate "${r}" aka entry`,path:[t]})}return xn(e)}).optional(),verificationMethod:St(Ou).chain(e=>{for(let t=0,n=e.length;t<n;t++){const i=e[t].id;for(let o=0;o<t;o++)if(i===e[o].id)return Ur({message:`duplicate "${i}" verification method`,path:[t,"id"]})}return xn(e)}).optional(),service:St(a0).optional(),controller:Mr(Xi,St(Xi)).optional(),authentication:St(Mr(pa,Ou)).optional()}).chain(e=>{const{id:t,service:n}=e;if(n!=null&&n.length){const r=n.length,i=new Array(r);for(let o=0;o<r;o++){let l=n[o].id;l[0]==="#"&&(l=t+l),i[o]=l}for(let o=0;o<r;o++){const s=i[o];for(let l=0;l<o;l++)if(s===i[l])return Ur({message:`duplicate "${s}" service`,path:["service",o,"id"]})}}return xn(e)}),c0=/^did:plc:([a-z2-7]{24})$/,f0=e=>e.length===32&&c0.test(e),d0=/^did:web:([a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*(?:\.[a-zA-Z]{2,})|localhost(?:%3[aA]\d+)?)$/,h0=e=>e.length>=12&&d0.test(e),zd=e=>f0(e)||h0(e),p0=e=>{const t=e.indexOf(":",4);return e.slice(4,t)};class $o extends Error{constructor(){super(...arguments);ue(this,"name","DidResolutionError")}}class ma extends $o{constructor(n){super(`unsupported did method; did=${n}`);ue(this,"did");ue(this,"name","UnsupportedDidMethodError");this.did=n}}class m0 extends $o{constructor(n){super(`improper did; did=${n}`);ue(this,"did");ue(this,"name","ImproperDidError");this.did=n}}class Nd extends $o{constructor(n){super(`did document not found; did=${n}`);ue(this,"did");ue(this,"name","DocumentNotFoundError");this.did=n}}class Td extends $o{constructor(n,r){super(`failed to resolve did document; did=${n}`,r);ue(this,"did");ue(this,"name","FailedDocumentResolutionError");this.did=n}}class Wo extends Error{constructor(){super(...arguments);ue(this,"name","HandleResolutionError")}}class gl extends Wo{constructor(n){super(`handle returned no did; handle=${n}`);ue(this,"handle");ue(this,"name","DidNotFoundError");this.handle=n}}class vl extends Wo{constructor(n,r){super(`failed to resolve handle; handle=${n}`,r);ue(this,"handle");ue(this,"name","FailedHandleResolutionError");this.handle=n}}class Id extends Wo{constructor(n,r){super(`handle returned invalid did; handle=${n}; did=${r}`);ue(this,"handle");ue(this,"did");ue(this,"name","InvalidResolvedHandleError");this.handle=n,this.did=r}}class Pd extends Wo{constructor(n){super(`handle returned multiple did values; handle=${n}`);ue(this,"name","AmbiguousHandleError")}}var oi;class g0{constructor({methods:t}){dn(this,oi);hn(this,oi,new Map(Object.entries(t)))}async resolve(t,n){const r=p0(t),i=fn(this,oi).get(r);if(i===void 0)throw new ma(t);return await i.resolve(t,n)}}oi=new WeakMap;class Ho extends Error{constructor(){super(...arguments);ue(this,"name","FetchResponseError")}}class Vo extends Ho{constructor(n,r){super(r);ue(this,"status");ue(this,"name","FailedResponseError");this.status=n}}class ju extends Ho{constructor(n,r){super(r);ue(this,"contentType");ue(this,"name","ImproperContentTypeError");this.contentType=n}}class yl extends Ho{constructor(n,r,i){super(i);ue(this,"expectedSize");ue(this,"actualSize");ue(this,"name","ImproperContentLengthError");this.expectedSize=n,this.actualSize=r}}class v0 extends Ho{constructor(n,r){super(n,r);ue(this,"name","ImproperResponseError")}}function ga(...e){return e.reduce(y0)}const y0=(e,t)=>n=>e(n).then(t);class w0 extends TransformStream{constructor(t){let n=0;super({transform(r,i){if(n+=r.length,n>t){i.error(new yl(t,n,"response content-length too large"));return}i.enqueue(r)}})}}const va=async e=>{if(e.ok)return e;throw e.body&&await e.body.cancel(),new Vo(e.status,`got http ${e.status}`)},_0=e=>async t=>{const n=await Od(t,e);return{response:t,text:n}},Rd=(e,t)=>async n=>{await k0(n,e);const r=await Od(n,t);try{const i=JSON.parse(r);return{response:n,json:i}}catch(i){throw new v0("unexpected json data",{cause:i})}},Ad=(e,t)=>async n=>{const r=e.parse(n.json,t);return{response:n.response,json:r}},k0=async(e,t)=>{var r;const n=(r=e.headers.get("content-type"))==null?void 0:r.split(";",1)[0].trim();if(n===void 0)throw e.body&&await e.body.cancel(),new ju(null,"missing response content-type");if(!t.test(n))throw e.body&&await e.body.cancel(),new ju(n,"unexpected response content-type")},Od=async(e,t)=>{var o,s;const n=e.headers.get("content-length");if(n!==null){const l=Number(n);if(!Number.isSafeInteger(l)||l<=0)throw(o=e.body)==null||o.cancel(),new yl(t,null,"invalid response content-length");if(l>t)throw(s=e.body)==null||s.cancel(),new yl(t,l,"response content-length too large")}const r=e.body.pipeThrough(new w0(t)).pipeThrough(new TextDecoderStream);let i="";for await(const l of x0(r))i+=l;return i},x0=Symbol.asyncIterator in ReadableStream.prototype?e=>e[Symbol.asyncIterator]():e=>{const t=e.getReader();return{[Symbol.asyncIterator](){return this},next(){return t.read()},async return(){return await t.cancel(),{done:!0,value:void 0}},async throw(n){return await t.cancel(n),{done:!0,value:void 0}}}},jd=ga(va,Rd(/^application\/(did\+ld\+)?json$/,20*1024),Ad(u0,{mode:"passthrough"}));var si;class S0{constructor({apiUrl:t="https://plc.directory",fetch:n=fetch}={}){ue(this,"apiUrl");dn(this,si);this.apiUrl=t,hn(this,si,n)}async resolve(t,n){if(!t.startsWith("did:plc:"))throw new ma(t);let r;try{const i=new URL(`/${encodeURIComponent(t)}`,this.apiUrl),o=await fn(this,si)(i,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,redirect:"manual",headers:{accept:"application/did+ld+json,application/json"}});if(o.status>=300&&o.status<400)throw new TypeError("unexpected redirect");r=(await jd(o)).json}catch(i){throw i instanceof Vo&&i.status===404?new Nd(t):new Td(t,{cause:i})}return r}}si=new WeakMap;var li;class E0{constructor({fetch:t=fetch}={}){dn(this,li);hn(this,li,t)}async resolve(t,n){if(!t.startsWith("did:web:"))throw new ma(t);const[r,...i]=t.slice(8).split(":").map(decodeURIComponent),o=new URL(`https://${r}/.well-known/did.json`);if(i.length>0)throw new m0(t);let s;try{const l=await fn(this,li)(o,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,redirect:"manual",headers:{accept:"application/did+ld+json,application/json"}});if(l.status>=300&&l.status<400)throw new TypeError("unexpected redirect");s=(await jd(l)).json}catch(l){throw l instanceof Vo&&l.status===404?new Nd(t):new Td(t,{cause:l})}return s}}li=new WeakMap;var ai;class C0{constructor({methods:t,strategy:n="race"}){dn(this,ai);ue(this,"strategy");hn(this,ai,t),this.strategy=n}async resolve(t,n){const{http:r,dns:i}=fn(this,ai),o=n==null?void 0:n.signal,s=new AbortController;o&&o.addEventListener("abort",()=>s.abort(),{signal:s.signal});const l=i.resolve(t,{...n,signal:s.signal}),a=r.resolve(t,{...n,signal:s.signal});switch(this.strategy){case"race":return new Promise(f=>{l.then(_=>{s.abort(),f(_)},()=>f(a)),a.then(_=>{s.abort(),f(_)},()=>f(l))});case"dns-first":{a.catch(Fi);const f=await l.catch(Fi);return f?(s.abort(),f):a}case"http-first":{l.catch(Fi);const f=await a.catch(Fi);return f?(s.abort(),f):l}case"both":{const[f,_]=await Promise.allSettled([l,a]),v=f.status==="fulfilled"?f.value:void 0,y=_.status==="fulfilled"?_.value:void 0;if(v&&y&&v!==y)throw new Pd(t);return v||y||l}}}}ai=new WeakMap;const Fi=()=>{},So=Jm().assert(e=>Number.isInteger(e)&&e>=0&&e<=2**32-1),z0=Rn({name:et(),type:Cd(16)}),N0=Rn({name:et(),type:Cd(16),TTL:So,data:et().chain(e=>xn(e.replace(/^"|"$/g,"").replace(/\\"/g,'"')))}),T0=Rn({name:et(),type:So,TTL:So,data:et()}),I0=Rn({Status:So,TC:Cr(),RD:Cr(),RA:Cr(),AD:Cr(),CD:Cr(),Question:n0([z0]),Answer:St(N0).optional(()=>[]),Authority:St(T0).optional(),Comment:et().optional()}),P0="_atproto",ks="did=",R0=ga(va,Rd(/^application\/(dns-)?json$/,16*1024),Ad(I0,{mode:"passthrough"}));var ui;class A0{constructor({dohUrl:t,fetch:n=fetch}){ue(this,"dohUrl");dn(this,ui);this.dohUrl=t,hn(this,ui,n)}async resolve(t,n){let r;try{const s=new URL(this.dohUrl);s.searchParams.set("name",`${P0}.${t}`),s.searchParams.set("type","TXT");const l=await fn(this,ui)(s,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,headers:{accept:"application/dns-json"}});r=(await R0(l)).json}catch(s){throw new vl(t,{cause:s})}const i=r.Status,o=r.Answer;if(i!==0)throw i===3?new gl(t):new vl(t,{cause:new TypeError(`dns returned ${i}`)});for(let s=0,l=o.length;s<l;s++){const f=o[s].data;if(!f.startsWith(ks))continue;for(let v=s+1;v<l;v++)if(o[v].data.startsWith(ks))throw new Pd(t);const _=f.slice(ks.length);if(!zd(_))throw new Id(t,_);return _}throw new gl(t)}}ui=new WeakMap;const O0=ga(va,_0(2064));var ci;class j0{constructor({fetch:t=fetch}={}){dn(this,ci);hn(this,ci,t)}async resolve(t,n){let r;try{const o=new URL("/.well-known/atproto-did",`https://${t}`),s=await fn(this,ci)(o,{signal:n==null?void 0:n.signal,cache:n!=null&&n.noCache?"no-cache":void 0,redirect:"manual"});if(s.status>=300&&s.status<400)throw new TypeError("unexpected redirect");r=(await O0(s)).text}catch(o){throw o instanceof Vo&&o.status===404?new gl(t):new vl(t,{cause:o})}const i=r.split(`
112
+
`)[0].trim();if(!zd(i))throw new Id(t,i);return i}}ci=new WeakMap;function D0(){const[e,t]=Me.useState(""),[n,r]=Me.useState(""),[i,o]=Me.useState(null),[s,l]=Me.useState([]),[a,f]=Me.useState(!1),[_,v]=Me.useState("login"),y=new g0({methods:{plc:new S0({apiUrl:"https://plc.directory"}),web:new E0}}),m=new C0({strategy:"dns-first",methods:{dns:new A0({dohUrl:"https://dns.google/resolve?"}),http:new j0}}),[w]=Me.useState(()=>new URLSearchParams(window.location.search).has("debug")||localStorage.getItem("debug")==="true");async function h(){var N,R;try{if(!e||!n){alert("Enter handle and app password");return}const V=await m.resolve(e);if(!V){alert("Failed to resolve handle to DID");return}const E=await y.resolve(V);if(!((R=(N=E==null?void 0:E.service)==null?void 0:N[0])!=null&&R.serviceEndpoint)){alert("Could not determine PDS endpoint from DID Document");return}const j=E.service[0].serviceEndpoint,p=await fetch(`${j}/xrpc/com.atproto.server.createSession`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({identifier:e,password:n})});if(!p.ok){const J=await p.text();console.error("Login failed:",J),alert("Login failed, check handle and app password");return}const U=await p.json();o({...U,serviceEndpoint:j}),v("upload"),console.log("Logged in successfully!",U,j)}catch(V){console.error("Login error:",V),alert("Error during login. See console for details.")}}async function k(N){var U;const R=(U=N.target.files)==null?void 0:U[0];if(!R)return;let V;if(R.name.endsWith(".zip"))try{const J=await Dm.loadAsync(R),B=J.file("TikTok/Profile and Settings/Following.txt")||J.file("Profile and Settings/Following.txt")||J.files[Object.keys(J.files).find(M=>M.endsWith("Following.txt")&&M.includes("Profile"))||""];if(!B){alert("Could not find Following.txt in the ZIP file. Expected path: TikTok/Profile and Settings/Following.txt");return}V=await B.async("string"),console.log("Successfully extracted Following.txt from ZIP file")}catch(J){console.error("Error processing ZIP file:",J),alert("Error processing ZIP file. Please make sure it's a valid TikTok data export.");return}else if(R.name.endsWith(".txt"))V=await R.text(),console.log("Processing direct Following.txt file");else{alert("Please upload either a Following.txt file or a TikTok data export ZIP file");return}const E=[],j=V.split(`
113
+
114
+
`).map(J=>J.trim()).filter(Boolean);for(const J of j){const B=J.match(/Username:\s*(.+)/);J.match(/Date:\s*(.+)/),B&&E.push({username:B[1].trim(),date:""})}if(console.log(`Loaded ${E.length} TikTok users from ${R.name}:`,E.map(J=>J.username)),E.length===0){alert("No users found in the file. Please make sure it's a valid TikTok Following.txt file.");return}const p=E.map(J=>({tiktokUser:J,bskyMatches:[],isSearching:!1,selectedMatches:new Set}));l(p),v("results"),setTimeout(()=>c(p),100)}async function u(N){if(!i)return[];try{const R=await fetch(`${i.serviceEndpoint}/xrpc/app.bsky.actor.searchActors?q=${encodeURIComponent(N)}&limit=20`,{headers:{Authorization:`Bearer ${i.accessJwt}`}});if(!R.ok)throw new Error(`Search failed: ${R.status}`);const V=await R.json(),E=p=>p.toLowerCase().replace(/[._-]/g,""),j=E(N);return V.actors.map(p=>{const U=p.handle.split(".")[0],J=E(U),B=E(p.handle),M=E(p.displayName||"");let L=0;return J===j?L=100:B===j?L=90:M===j?L=80:J.includes(j)?L=60:B.includes(j)?L=50:M.includes(j)?L=40:j.includes(J)&&(L=30),{...p,matchScore:L}}).filter(p=>p.matchScore>0).sort((p,U)=>U.matchScore-p.matchScore).slice(0,5)}catch(R){return console.error(`Search error for ${N}:`,R),[]}}async function c(N){const R=N||s;if(!i||R.length===0)return;f(!0);const V=3;for(let E=0;E<R.length;E+=V){const j=R.slice(E,E+V);l(J=>J.map((B,M)=>E<=M&&M<E+V?{...B,isSearching:!0}:B));const p=j.map(async(J,B)=>{const M=E+B;try{const L=await u(J.tiktokUser.username);return{globalIndex:M,matches:L,error:void 0}}catch(L){return{globalIndex:M,matches:[],error:L instanceof Error?L.message:"Search failed"}}}),U=await Promise.all(p);l(J=>J.map((B,M)=>{const L=U.find(K=>K.globalIndex===M);if(L){const K=new Set;return L.matches.length>0&&K.add(L.matches[0].did),{...B,bskyMatches:L.matches,isSearching:!1,error:L.error,selectedMatches:K}}return B})),E+V<R.length&&await new Promise(J=>setTimeout(J,1e3))}f(!1)}function g(N,R){l(V=>V.map((E,j)=>{if(j===N){const p=new Set(E.selectedMatches);return p.has(R)?p.delete(R):p.add(R),{...E,selectedMatches:p}}return E}))}function S(){l(N=>N.map(R=>{const V=new Set;return R.bskyMatches.length>0&&V.add(R.bskyMatches[0].did),{...R,selectedMatches:V}}))}function z(){l(N=>N.map(R=>({...R,selectedMatches:new Set})))}async function P(){if(!i)return;const N=s.flatMap((R,V)=>R.bskyMatches.filter(E=>{var j;return(j=R.selectedMatches)==null?void 0:j.has(E.did)}).map(E=>({...E,resultIndex:V})));if(N.length===0){alert("No users selected to follow");return}for(const R of N){try{(await fetch(`${i.serviceEndpoint}/xrpc/com.atproto.repo.createRecord`,{method:"POST",headers:{Authorization:`Bearer ${i.accessJwt}`,"Content-Type":"application/json"},body:JSON.stringify({repo:i.did,collection:"app.bsky.graph.follow",record:{$type:"app.bsky.graph.follow",subject:R.did,createdAt:new Date().toISOString()}})})).ok&&l(E=>E.map((j,p)=>p===R.resultIndex?{...j,bskyMatches:j.bskyMatches.map(U=>U.did===R.did?{...U,followed:!0}:U)}:j))}catch(V){console.error(`Follow error for ${R.handle}:`,V)}await new Promise(V=>setTimeout(V,500))}}const T=s.reduce((N,R)=>{var V;return N+(((V=R.selectedMatches)==null?void 0:V.size)||0)},0),F=s.filter(N=>N.bskyMatches.length>0).length;return W.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-blue-50 to-purple-50",children:[W.jsx("div",{className:"bg-white shadow-sm border-b",children:W.jsx("div",{className:"px-4 py-4",children:W.jsxs("div",{className:"flex items-center justify-between",children:[W.jsxs("div",{className:"flex items-center space-x-2",children:[W.jsx("div",{className:"w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg flex items-center justify-center",children:W.jsx(wm,{className:"w-4 h-4 text-white"})}),W.jsx("h1",{className:"text-lg font-bold text-gray-900",children:"ATlast"})]}),i&&W.jsxs("div",{className:"flex items-center space-x-2 text-sm text-gray-600",children:[W.jsx(Im,{className:"w-4 h-4"}),W.jsxs("span",{className:"hidden sm:inline",children:["@",i.handle]})]})]})})}),_==="login"&&W.jsx("div",{className:"p-6 max-w-md mx-auto mt-8",children:W.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-6 space-y-6",children:[W.jsxs("div",{className:"text-center",children:[W.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-2xl mx-auto mb-4 flex items-center justify-center",children:W.jsx(Rm,{className:"w-8 h-8 text-white"})}),W.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Welcome!"}),W.jsx("p",{className:"text-gray-600",children:"Connect your ATmosphere account (e.g. Bluesky, Skylight) to sync your TikTok follows"})]}),W.jsxs("div",{className:"space-y-4",children:[W.jsxs("div",{children:[W.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Bluesky Handle"}),W.jsx("input",{className:"w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"yourhandle.bsky.social",value:e,onChange:N=>t(N.target.value)})]}),W.jsxs("div",{children:[W.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"App Password"}),W.jsx("input",{className:"w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent",type:"password",placeholder:"Not your regular password!",value:n,onChange:N=>r(N.target.value)}),W.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Generate this in your Bluesky settings"})]}),W.jsx("button",{className:"w-full bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white py-3 rounded-xl font-medium transition-all duration-200 shadow-lg hover:shadow-xl",onClick:h,children:"Connect to Bluesky"})]})]})}),_==="upload"&&W.jsx("div",{className:"p-6 max-w-md mx-auto mt-8",children:W.jsxs("div",{className:"bg-white rounded-2xl shadow-lg p-6 space-y-6",children:[W.jsxs("div",{className:"text-center",children:[W.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-2xl mx-auto mb-4 flex items-center justify-center",children:W.jsx(Sm,{className:"w-8 h-8 text-white"})}),W.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Upload Your Data"}),W.jsx("p",{className:"text-gray-600",children:"Upload your TikTok following data to find matches"})]}),W.jsxs("div",{className:"space-y-4",children:[W.jsxs("div",{className:"border-2 border-dashed border-gray-300 rounded-xl p-6 text-center hover:border-blue-400 transition-colors",children:[W.jsx(Nm,{className:"w-12 h-12 text-gray-400 mx-auto mb-3"}),W.jsxs("label",{className:"cursor-pointer",children:[W.jsx("span",{className:"text-lg font-medium text-gray-700 block mb-1",children:"Choose File"}),W.jsx("span",{className:"text-sm text-gray-500 block mb-3",children:"Following.txt or TikTok data ZIP"}),W.jsx("input",{type:"file",accept:".txt,.zip",onChange:k,className:"hidden"}),W.jsx("div",{className:"inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg font-medium transition-colors",children:"Browse Files"})]})]}),W.jsxs("div",{className:"bg-blue-50 rounded-xl p-4",children:[W.jsx("h4",{className:"font-medium text-blue-900 mb-2",children:"How to get your data:"}),W.jsxs("ol",{className:"text-sm text-blue-800 space-y-1 list-decimal list-inside",children:[W.jsx("li",{children:"Open TikTok app → Profile → Settings and privacy → Account → Download your data"}),W.jsx("li",{children:'Request data → Select "Request data"'}),W.jsx("li",{children:"Wait for notification your download is ready"}),W.jsx("li",{children:"Navigate back to Download your data"}),W.jsx("li",{children:"Download data → Select"}),W.jsx("li",{children:"Upload the Following.txt file here"})]})]})]})]})}),_==="results"&&W.jsxs("div",{className:"pb-20",children:[a&&W.jsx("div",{className:"bg-white border-b shadow-sm",children:W.jsx("div",{className:"px-4 py-4",children:W.jsxs("div",{className:"flex items-center space-x-3",children:[W.jsx("div",{className:"animate-spin h-5 w-5 border-2 border-blue-500 border-t-transparent rounded-full"}),W.jsxs("div",{className:"flex-1",children:[W.jsx("div",{className:"text-sm font-medium text-gray-900",children:"Searching Bluesky..."}),W.jsxs("div",{className:"text-xs text-gray-500",children:["Finding matches for ",s.length," TikTok users"]})]})]})})}),W.jsx("div",{className:"bg-white border-b",children:W.jsxs("div",{className:"px-4 py-4",children:[W.jsxs("div",{className:"flex items-center justify-between mb-3",children:[W.jsxs("div",{children:[W.jsx("h2",{className:"text-lg font-bold text-gray-900",children:"Results"}),W.jsxs("p",{className:"text-sm text-gray-600",children:[F," of ",s.length," users found"]})]}),W.jsxs("div",{className:"text-right",children:[W.jsx("div",{className:"text-lg font-bold text-blue-600",children:T}),W.jsx("div",{className:"text-xs text-gray-500",children:"selected"})]})]}),W.jsxs("div",{className:"flex space-x-2",children:[W.jsx("button",{onClick:S,className:"flex-1 bg-blue-500 hover:bg-blue-600 text-white py-2 rounded-lg text-sm font-medium transition-colors",children:"Select All"}),W.jsx("button",{onClick:z,className:"flex-1 bg-gray-500 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors",children:"Clear"})]})]})}),W.jsx("div",{className:"space-y-2 p-4",children:s.map((N,R)=>W.jsx("div",{className:"bg-white rounded-xl shadow-sm border",children:W.jsxs("div",{className:"p-4",children:[W.jsxs("div",{className:"flex items-center justify-between mb-3",children:[W.jsxs("div",{className:"flex items-center space-x-3",children:[W.jsx("div",{className:"w-10 h-10 bg-gradient-to-br from-pink-500 to-red-500 rounded-full flex items-center justify-center",children:W.jsx("span",{className:"text-white font-bold text-sm",children:"TT"})}),W.jsxs("div",{children:[W.jsxs("div",{className:"font-semibold text-gray-900",children:["@",N.tiktokUser.username]}),W.jsx("div",{className:"text-xs text-gray-500",children:"TikTok"})]})]}),N.isSearching&&W.jsx("div",{className:"animate-spin h-4 w-4 border-2 border-blue-500 border-t-transparent rounded-full"})]}),N.bskyMatches.length>0?W.jsx("div",{className:"space-y-2",children:N.bskyMatches.map((V,E)=>{var j,p;return W.jsxs("div",{className:`flex items-center space-x-3 p-3 rounded-lg border transition-all ${(j=N.selectedMatches)!=null&&j.has(V.did)?"bg-blue-50 border-blue-200":"bg-gray-50 border-gray-200"} ${V.followed?"opacity-60":""}`,children:[W.jsx("input",{type:"checkbox",checked:((p=N.selectedMatches)==null?void 0:p.has(V.did))||!1,onChange:()=>g(R,V.did),disabled:V.followed,className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500"}),W.jsx("div",{className:"w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-600 rounded-full flex items-center justify-center",children:W.jsx("span",{className:"text-white font-bold text-xs",children:"BS"})}),W.jsxs("div",{className:"flex-1 min-w-0",children:[W.jsxs("div",{className:"flex items-center space-x-2",children:[W.jsxs("div",{className:"font-medium text-gray-900 truncate",children:["@",V.handle]}),W.jsxs("span",{className:"text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded flex-shrink-0",children:[V.matchScore,"% match"]})]}),V.displayName&&W.jsx("div",{className:"text-sm text-gray-600 truncate",children:V.displayName})]}),V.followed&&W.jsx("div",{className:"flex-shrink-0",children:W.jsxs("div",{className:"flex items-center space-x-1 bg-green-100 text-green-800 px-2 py-1 rounded-full text-xs",children:[W.jsx(km,{className:"w-3 h-3"}),W.jsx("span",{children:"Followed"})]})})]},E)})}):N.isSearching?W.jsxs("div",{className:"text-center py-4 text-gray-500",children:[W.jsx(Cm,{className:"w-6 h-6 mx-auto mb-2 animate-pulse"}),W.jsx("div",{className:"text-sm",children:"Searching for matches..."})]}):W.jsxs("div",{className:"text-center py-4 text-gray-400",children:[W.jsx(Om,{className:"w-6 h-6 mx-auto mb-2"}),W.jsx("div",{className:"text-sm",children:"No matches found"})]})]})},R))})]}),_==="results"&&T>0&&W.jsx("div",{className:"fixed bottom-0 left-0 right-0 bg-white border-t shadow-lg",children:W.jsx("div",{className:"p-4",children:W.jsxs("button",{onClick:P,className:"w-full bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white py-4 rounded-xl font-medium text-lg transition-all duration-200 shadow-lg hover:shadow-xl",children:["Follow ",T," Selected Users"]})})})]})}xs.createRoot(document.getElementById("root")).render(W.jsx(th.StrictMode,{children:W.jsx(D0,{})}));
+2
-2
docs/index.html
+2
-2
docs/index.html
···
5
5
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
6
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
<title>ATLast: Sync Your TikTok Follows → ATmosphere (Skylight, Bluesky, etc.)</title>
8
-
<script type="module" crossorigin src="/ATlast/assets/index-D6BeJ1tu.js"></script>
9
-
<link rel="stylesheet" crossorigin href="/ATlast/assets/index-B10r7bzq.css">
8
+
<script type="module" crossorigin src="/ATlast/assets/index-Dq8sasCy.js"></script>
9
+
<link rel="stylesheet" crossorigin href="/ATlast/assets/index-CHyLmBcE.css">
10
10
</head>
11
11
<body>
12
12
<div id="root"></div>
+1780
package-lock.json
+1780
package-lock.json
···
11
11
"@atcute/identity": "^1.1.0",
12
12
"@atcute/identity-resolver": "^1.1.3",
13
13
"jszip": "^3.10.1",
14
+
"lucide-react": "^0.544.0",
14
15
"react": "^18.3.1",
15
16
"react-dom": "^18.3.1"
16
17
},
···
19
20
"@types/react": "^19.1.14",
20
21
"@types/react-dom": "^19.1.9",
21
22
"@vitejs/plugin-react": "^4.2.1",
23
+
"autoprefixer": "^10.4.21",
24
+
"gh-pages": "^6.3.0",
25
+
"postcss": "^8.5.6",
26
+
"tailwindcss": "^3.4.0",
22
27
"typescript": "^5.3.3",
23
28
"vite": "^5.4.0"
29
+
}
30
+
},
31
+
"node_modules/@alloc/quick-lru": {
32
+
"version": "5.2.0",
33
+
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
34
+
"integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
35
+
"dev": true,
36
+
"license": "MIT",
37
+
"engines": {
38
+
"node": ">=10"
39
+
},
40
+
"funding": {
41
+
"url": "https://github.com/sponsors/sindresorhus"
24
42
}
25
43
},
26
44
"node_modules/@atcute/identity": {
···
747
765
"node": ">=12"
748
766
}
749
767
},
768
+
"node_modules/@isaacs/cliui": {
769
+
"version": "8.0.2",
770
+
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
771
+
"integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
772
+
"dev": true,
773
+
"license": "ISC",
774
+
"dependencies": {
775
+
"string-width": "^5.1.2",
776
+
"string-width-cjs": "npm:string-width@^4.2.0",
777
+
"strip-ansi": "^7.0.1",
778
+
"strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
779
+
"wrap-ansi": "^8.1.0",
780
+
"wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
781
+
},
782
+
"engines": {
783
+
"node": ">=12"
784
+
}
785
+
},
750
786
"node_modules/@jridgewell/gen-mapping": {
751
787
"version": "0.3.13",
752
788
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
···
795
831
"dependencies": {
796
832
"@jridgewell/resolve-uri": "^3.1.0",
797
833
"@jridgewell/sourcemap-codec": "^1.4.14"
834
+
}
835
+
},
836
+
"node_modules/@nodelib/fs.scandir": {
837
+
"version": "2.1.5",
838
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
839
+
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
840
+
"dev": true,
841
+
"license": "MIT",
842
+
"dependencies": {
843
+
"@nodelib/fs.stat": "2.0.5",
844
+
"run-parallel": "^1.1.9"
845
+
},
846
+
"engines": {
847
+
"node": ">= 8"
848
+
}
849
+
},
850
+
"node_modules/@nodelib/fs.stat": {
851
+
"version": "2.0.5",
852
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
853
+
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
854
+
"dev": true,
855
+
"license": "MIT",
856
+
"engines": {
857
+
"node": ">= 8"
858
+
}
859
+
},
860
+
"node_modules/@nodelib/fs.walk": {
861
+
"version": "1.2.8",
862
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
863
+
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
864
+
"dev": true,
865
+
"license": "MIT",
866
+
"dependencies": {
867
+
"@nodelib/fs.scandir": "2.1.5",
868
+
"fastq": "^1.6.0"
869
+
},
870
+
"engines": {
871
+
"node": ">= 8"
872
+
}
873
+
},
874
+
"node_modules/@pkgjs/parseargs": {
875
+
"version": "0.11.0",
876
+
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
877
+
"integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
878
+
"dev": true,
879
+
"license": "MIT",
880
+
"optional": true,
881
+
"engines": {
882
+
"node": ">=14"
798
883
}
799
884
},
800
885
"node_modules/@rolldown/pluginutils": {
···
1215
1300
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
1216
1301
}
1217
1302
},
1303
+
"node_modules/ansi-regex": {
1304
+
"version": "6.2.2",
1305
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
1306
+
"integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
1307
+
"dev": true,
1308
+
"license": "MIT",
1309
+
"engines": {
1310
+
"node": ">=12"
1311
+
},
1312
+
"funding": {
1313
+
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
1314
+
}
1315
+
},
1316
+
"node_modules/ansi-styles": {
1317
+
"version": "6.2.3",
1318
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
1319
+
"integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
1320
+
"dev": true,
1321
+
"license": "MIT",
1322
+
"engines": {
1323
+
"node": ">=12"
1324
+
},
1325
+
"funding": {
1326
+
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
1327
+
}
1328
+
},
1329
+
"node_modules/any-promise": {
1330
+
"version": "1.3.0",
1331
+
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
1332
+
"integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
1333
+
"dev": true,
1334
+
"license": "MIT"
1335
+
},
1336
+
"node_modules/anymatch": {
1337
+
"version": "3.1.3",
1338
+
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
1339
+
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
1340
+
"dev": true,
1341
+
"license": "ISC",
1342
+
"dependencies": {
1343
+
"normalize-path": "^3.0.0",
1344
+
"picomatch": "^2.0.4"
1345
+
},
1346
+
"engines": {
1347
+
"node": ">= 8"
1348
+
}
1349
+
},
1350
+
"node_modules/arg": {
1351
+
"version": "5.0.2",
1352
+
"resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
1353
+
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
1354
+
"dev": true,
1355
+
"license": "MIT"
1356
+
},
1357
+
"node_modules/array-union": {
1358
+
"version": "2.1.0",
1359
+
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
1360
+
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
1361
+
"dev": true,
1362
+
"license": "MIT",
1363
+
"engines": {
1364
+
"node": ">=8"
1365
+
}
1366
+
},
1367
+
"node_modules/async": {
1368
+
"version": "3.2.6",
1369
+
"resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
1370
+
"integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
1371
+
"dev": true,
1372
+
"license": "MIT"
1373
+
},
1374
+
"node_modules/autoprefixer": {
1375
+
"version": "10.4.21",
1376
+
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.21.tgz",
1377
+
"integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==",
1378
+
"dev": true,
1379
+
"funding": [
1380
+
{
1381
+
"type": "opencollective",
1382
+
"url": "https://opencollective.com/postcss/"
1383
+
},
1384
+
{
1385
+
"type": "tidelift",
1386
+
"url": "https://tidelift.com/funding/github/npm/autoprefixer"
1387
+
},
1388
+
{
1389
+
"type": "github",
1390
+
"url": "https://github.com/sponsors/ai"
1391
+
}
1392
+
],
1393
+
"license": "MIT",
1394
+
"dependencies": {
1395
+
"browserslist": "^4.24.4",
1396
+
"caniuse-lite": "^1.0.30001702",
1397
+
"fraction.js": "^4.3.7",
1398
+
"normalize-range": "^0.1.2",
1399
+
"picocolors": "^1.1.1",
1400
+
"postcss-value-parser": "^4.2.0"
1401
+
},
1402
+
"bin": {
1403
+
"autoprefixer": "bin/autoprefixer"
1404
+
},
1405
+
"engines": {
1406
+
"node": "^10 || ^12 || >=14"
1407
+
},
1408
+
"peerDependencies": {
1409
+
"postcss": "^8.1.0"
1410
+
}
1411
+
},
1412
+
"node_modules/balanced-match": {
1413
+
"version": "1.0.2",
1414
+
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
1415
+
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
1416
+
"dev": true,
1417
+
"license": "MIT"
1418
+
},
1218
1419
"node_modules/baseline-browser-mapping": {
1219
1420
"version": "2.8.7",
1220
1421
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.7.tgz",
···
1225
1426
"baseline-browser-mapping": "dist/cli.js"
1226
1427
}
1227
1428
},
1429
+
"node_modules/binary-extensions": {
1430
+
"version": "2.3.0",
1431
+
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
1432
+
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
1433
+
"dev": true,
1434
+
"license": "MIT",
1435
+
"engines": {
1436
+
"node": ">=8"
1437
+
},
1438
+
"funding": {
1439
+
"url": "https://github.com/sponsors/sindresorhus"
1440
+
}
1441
+
},
1442
+
"node_modules/brace-expansion": {
1443
+
"version": "2.0.2",
1444
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
1445
+
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
1446
+
"dev": true,
1447
+
"license": "MIT",
1448
+
"dependencies": {
1449
+
"balanced-match": "^1.0.0"
1450
+
}
1451
+
},
1452
+
"node_modules/braces": {
1453
+
"version": "3.0.3",
1454
+
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
1455
+
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
1456
+
"dev": true,
1457
+
"license": "MIT",
1458
+
"dependencies": {
1459
+
"fill-range": "^7.1.1"
1460
+
},
1461
+
"engines": {
1462
+
"node": ">=8"
1463
+
}
1464
+
},
1228
1465
"node_modules/browserslist": {
1229
1466
"version": "4.26.2",
1230
1467
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.26.2.tgz",
···
1259
1496
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
1260
1497
}
1261
1498
},
1499
+
"node_modules/camelcase-css": {
1500
+
"version": "2.0.1",
1501
+
"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
1502
+
"integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
1503
+
"dev": true,
1504
+
"license": "MIT",
1505
+
"engines": {
1506
+
"node": ">= 6"
1507
+
}
1508
+
},
1262
1509
"node_modules/caniuse-lite": {
1263
1510
"version": "1.0.30001745",
1264
1511
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001745.tgz",
···
1280
1527
],
1281
1528
"license": "CC-BY-4.0"
1282
1529
},
1530
+
"node_modules/chokidar": {
1531
+
"version": "3.6.0",
1532
+
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
1533
+
"integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
1534
+
"dev": true,
1535
+
"license": "MIT",
1536
+
"dependencies": {
1537
+
"anymatch": "~3.1.2",
1538
+
"braces": "~3.0.2",
1539
+
"glob-parent": "~5.1.2",
1540
+
"is-binary-path": "~2.1.0",
1541
+
"is-glob": "~4.0.1",
1542
+
"normalize-path": "~3.0.0",
1543
+
"readdirp": "~3.6.0"
1544
+
},
1545
+
"engines": {
1546
+
"node": ">= 8.10.0"
1547
+
},
1548
+
"funding": {
1549
+
"url": "https://paulmillr.com/funding/"
1550
+
},
1551
+
"optionalDependencies": {
1552
+
"fsevents": "~2.3.2"
1553
+
}
1554
+
},
1555
+
"node_modules/color-convert": {
1556
+
"version": "2.0.1",
1557
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1558
+
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1559
+
"dev": true,
1560
+
"license": "MIT",
1561
+
"dependencies": {
1562
+
"color-name": "~1.1.4"
1563
+
},
1564
+
"engines": {
1565
+
"node": ">=7.0.0"
1566
+
}
1567
+
},
1568
+
"node_modules/color-name": {
1569
+
"version": "1.1.4",
1570
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1571
+
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1572
+
"dev": true,
1573
+
"license": "MIT"
1574
+
},
1575
+
"node_modules/commander": {
1576
+
"version": "13.1.0",
1577
+
"resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz",
1578
+
"integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==",
1579
+
"dev": true,
1580
+
"license": "MIT",
1581
+
"engines": {
1582
+
"node": ">=18"
1583
+
}
1584
+
},
1585
+
"node_modules/commondir": {
1586
+
"version": "1.0.1",
1587
+
"resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
1588
+
"integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
1589
+
"dev": true,
1590
+
"license": "MIT"
1591
+
},
1283
1592
"node_modules/convert-source-map": {
1284
1593
"version": "2.0.0",
1285
1594
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
···
1293
1602
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
1294
1603
"license": "MIT"
1295
1604
},
1605
+
"node_modules/cross-spawn": {
1606
+
"version": "7.0.6",
1607
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
1608
+
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
1609
+
"dev": true,
1610
+
"license": "MIT",
1611
+
"dependencies": {
1612
+
"path-key": "^3.1.0",
1613
+
"shebang-command": "^2.0.0",
1614
+
"which": "^2.0.1"
1615
+
},
1616
+
"engines": {
1617
+
"node": ">= 8"
1618
+
}
1619
+
},
1620
+
"node_modules/cssesc": {
1621
+
"version": "3.0.0",
1622
+
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
1623
+
"integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
1624
+
"dev": true,
1625
+
"license": "MIT",
1626
+
"bin": {
1627
+
"cssesc": "bin/cssesc"
1628
+
},
1629
+
"engines": {
1630
+
"node": ">=4"
1631
+
}
1632
+
},
1296
1633
"node_modules/csstype": {
1297
1634
"version": "3.1.3",
1298
1635
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
···
1318
1655
}
1319
1656
}
1320
1657
},
1658
+
"node_modules/didyoumean": {
1659
+
"version": "1.2.2",
1660
+
"resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
1661
+
"integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
1662
+
"dev": true,
1663
+
"license": "Apache-2.0"
1664
+
},
1665
+
"node_modules/dir-glob": {
1666
+
"version": "3.0.1",
1667
+
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
1668
+
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
1669
+
"dev": true,
1670
+
"license": "MIT",
1671
+
"dependencies": {
1672
+
"path-type": "^4.0.0"
1673
+
},
1674
+
"engines": {
1675
+
"node": ">=8"
1676
+
}
1677
+
},
1678
+
"node_modules/dlv": {
1679
+
"version": "1.1.3",
1680
+
"resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
1681
+
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
1682
+
"dev": true,
1683
+
"license": "MIT"
1684
+
},
1685
+
"node_modules/eastasianwidth": {
1686
+
"version": "0.2.0",
1687
+
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
1688
+
"integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
1689
+
"dev": true,
1690
+
"license": "MIT"
1691
+
},
1321
1692
"node_modules/electron-to-chromium": {
1322
1693
"version": "1.5.224",
1323
1694
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.224.tgz",
1324
1695
"integrity": "sha512-kWAoUu/bwzvnhpdZSIc6KUyvkI1rbRXMT0Eq8pKReyOyaPZcctMli+EgvcN1PAvwVc7Tdo4Fxi2PsLNDU05mdg==",
1325
1696
"dev": true,
1326
1697
"license": "ISC"
1698
+
},
1699
+
"node_modules/email-addresses": {
1700
+
"version": "5.0.0",
1701
+
"resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-5.0.0.tgz",
1702
+
"integrity": "sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==",
1703
+
"dev": true,
1704
+
"license": "MIT"
1705
+
},
1706
+
"node_modules/emoji-regex": {
1707
+
"version": "9.2.2",
1708
+
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
1709
+
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
1710
+
"dev": true,
1711
+
"license": "MIT"
1327
1712
},
1328
1713
"node_modules/esbuild": {
1329
1714
"version": "0.21.5",
···
1374
1759
"node": ">=6"
1375
1760
}
1376
1761
},
1762
+
"node_modules/escape-string-regexp": {
1763
+
"version": "1.0.5",
1764
+
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
1765
+
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
1766
+
"dev": true,
1767
+
"license": "MIT",
1768
+
"engines": {
1769
+
"node": ">=0.8.0"
1770
+
}
1771
+
},
1377
1772
"node_modules/esm-env": {
1378
1773
"version": "1.2.2",
1379
1774
"resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.2.2.tgz",
1380
1775
"integrity": "sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==",
1381
1776
"license": "MIT"
1382
1777
},
1778
+
"node_modules/fast-glob": {
1779
+
"version": "3.3.3",
1780
+
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
1781
+
"integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
1782
+
"dev": true,
1783
+
"license": "MIT",
1784
+
"dependencies": {
1785
+
"@nodelib/fs.stat": "^2.0.2",
1786
+
"@nodelib/fs.walk": "^1.2.3",
1787
+
"glob-parent": "^5.1.2",
1788
+
"merge2": "^1.3.0",
1789
+
"micromatch": "^4.0.8"
1790
+
},
1791
+
"engines": {
1792
+
"node": ">=8.6.0"
1793
+
}
1794
+
},
1795
+
"node_modules/fastq": {
1796
+
"version": "1.19.1",
1797
+
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
1798
+
"integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
1799
+
"dev": true,
1800
+
"license": "ISC",
1801
+
"dependencies": {
1802
+
"reusify": "^1.0.4"
1803
+
}
1804
+
},
1805
+
"node_modules/filename-reserved-regex": {
1806
+
"version": "2.0.0",
1807
+
"resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz",
1808
+
"integrity": "sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==",
1809
+
"dev": true,
1810
+
"license": "MIT",
1811
+
"engines": {
1812
+
"node": ">=4"
1813
+
}
1814
+
},
1815
+
"node_modules/filenamify": {
1816
+
"version": "4.3.0",
1817
+
"resolved": "https://registry.npmjs.org/filenamify/-/filenamify-4.3.0.tgz",
1818
+
"integrity": "sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==",
1819
+
"dev": true,
1820
+
"license": "MIT",
1821
+
"dependencies": {
1822
+
"filename-reserved-regex": "^2.0.0",
1823
+
"strip-outer": "^1.0.1",
1824
+
"trim-repeated": "^1.0.0"
1825
+
},
1826
+
"engines": {
1827
+
"node": ">=8"
1828
+
},
1829
+
"funding": {
1830
+
"url": "https://github.com/sponsors/sindresorhus"
1831
+
}
1832
+
},
1833
+
"node_modules/fill-range": {
1834
+
"version": "7.1.1",
1835
+
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
1836
+
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
1837
+
"dev": true,
1838
+
"license": "MIT",
1839
+
"dependencies": {
1840
+
"to-regex-range": "^5.0.1"
1841
+
},
1842
+
"engines": {
1843
+
"node": ">=8"
1844
+
}
1845
+
},
1846
+
"node_modules/find-cache-dir": {
1847
+
"version": "3.3.2",
1848
+
"resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz",
1849
+
"integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==",
1850
+
"dev": true,
1851
+
"license": "MIT",
1852
+
"dependencies": {
1853
+
"commondir": "^1.0.1",
1854
+
"make-dir": "^3.0.2",
1855
+
"pkg-dir": "^4.1.0"
1856
+
},
1857
+
"engines": {
1858
+
"node": ">=8"
1859
+
},
1860
+
"funding": {
1861
+
"url": "https://github.com/avajs/find-cache-dir?sponsor=1"
1862
+
}
1863
+
},
1864
+
"node_modules/find-up": {
1865
+
"version": "4.1.0",
1866
+
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
1867
+
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
1868
+
"dev": true,
1869
+
"license": "MIT",
1870
+
"dependencies": {
1871
+
"locate-path": "^5.0.0",
1872
+
"path-exists": "^4.0.0"
1873
+
},
1874
+
"engines": {
1875
+
"node": ">=8"
1876
+
}
1877
+
},
1878
+
"node_modules/foreground-child": {
1879
+
"version": "3.3.1",
1880
+
"resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
1881
+
"integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
1882
+
"dev": true,
1883
+
"license": "ISC",
1884
+
"dependencies": {
1885
+
"cross-spawn": "^7.0.6",
1886
+
"signal-exit": "^4.0.1"
1887
+
},
1888
+
"engines": {
1889
+
"node": ">=14"
1890
+
},
1891
+
"funding": {
1892
+
"url": "https://github.com/sponsors/isaacs"
1893
+
}
1894
+
},
1895
+
"node_modules/fraction.js": {
1896
+
"version": "4.3.7",
1897
+
"resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
1898
+
"integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
1899
+
"dev": true,
1900
+
"license": "MIT",
1901
+
"engines": {
1902
+
"node": "*"
1903
+
},
1904
+
"funding": {
1905
+
"type": "patreon",
1906
+
"url": "https://github.com/sponsors/rawify"
1907
+
}
1908
+
},
1909
+
"node_modules/fs-extra": {
1910
+
"version": "11.3.2",
1911
+
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",
1912
+
"integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
1913
+
"dev": true,
1914
+
"license": "MIT",
1915
+
"dependencies": {
1916
+
"graceful-fs": "^4.2.0",
1917
+
"jsonfile": "^6.0.1",
1918
+
"universalify": "^2.0.0"
1919
+
},
1920
+
"engines": {
1921
+
"node": ">=14.14"
1922
+
}
1923
+
},
1383
1924
"node_modules/fsevents": {
1384
1925
"version": "2.3.3",
1385
1926
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
···
1395
1936
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1396
1937
}
1397
1938
},
1939
+
"node_modules/function-bind": {
1940
+
"version": "1.1.2",
1941
+
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
1942
+
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
1943
+
"dev": true,
1944
+
"license": "MIT",
1945
+
"funding": {
1946
+
"url": "https://github.com/sponsors/ljharb"
1947
+
}
1948
+
},
1398
1949
"node_modules/gensync": {
1399
1950
"version": "1.0.0-beta.2",
1400
1951
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
···
1405
1956
"node": ">=6.9.0"
1406
1957
}
1407
1958
},
1959
+
"node_modules/gh-pages": {
1960
+
"version": "6.3.0",
1961
+
"resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-6.3.0.tgz",
1962
+
"integrity": "sha512-Ot5lU6jK0Eb+sszG8pciXdjMXdBJ5wODvgjR+imihTqsUWF2K6dJ9HST55lgqcs8wWcw6o6wAsUzfcYRhJPXbA==",
1963
+
"dev": true,
1964
+
"license": "MIT",
1965
+
"dependencies": {
1966
+
"async": "^3.2.4",
1967
+
"commander": "^13.0.0",
1968
+
"email-addresses": "^5.0.0",
1969
+
"filenamify": "^4.3.0",
1970
+
"find-cache-dir": "^3.3.1",
1971
+
"fs-extra": "^11.1.1",
1972
+
"globby": "^11.1.0"
1973
+
},
1974
+
"bin": {
1975
+
"gh-pages": "bin/gh-pages.js",
1976
+
"gh-pages-clean": "bin/gh-pages-clean.js"
1977
+
},
1978
+
"engines": {
1979
+
"node": ">=10"
1980
+
}
1981
+
},
1982
+
"node_modules/glob": {
1983
+
"version": "10.4.5",
1984
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
1985
+
"integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
1986
+
"dev": true,
1987
+
"license": "ISC",
1988
+
"dependencies": {
1989
+
"foreground-child": "^3.1.0",
1990
+
"jackspeak": "^3.1.2",
1991
+
"minimatch": "^9.0.4",
1992
+
"minipass": "^7.1.2",
1993
+
"package-json-from-dist": "^1.0.0",
1994
+
"path-scurry": "^1.11.1"
1995
+
},
1996
+
"bin": {
1997
+
"glob": "dist/esm/bin.mjs"
1998
+
},
1999
+
"funding": {
2000
+
"url": "https://github.com/sponsors/isaacs"
2001
+
}
2002
+
},
2003
+
"node_modules/glob-parent": {
2004
+
"version": "5.1.2",
2005
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
2006
+
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
2007
+
"dev": true,
2008
+
"license": "ISC",
2009
+
"dependencies": {
2010
+
"is-glob": "^4.0.1"
2011
+
},
2012
+
"engines": {
2013
+
"node": ">= 6"
2014
+
}
2015
+
},
2016
+
"node_modules/globby": {
2017
+
"version": "11.1.0",
2018
+
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
2019
+
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
2020
+
"dev": true,
2021
+
"license": "MIT",
2022
+
"dependencies": {
2023
+
"array-union": "^2.1.0",
2024
+
"dir-glob": "^3.0.1",
2025
+
"fast-glob": "^3.2.9",
2026
+
"ignore": "^5.2.0",
2027
+
"merge2": "^1.4.1",
2028
+
"slash": "^3.0.0"
2029
+
},
2030
+
"engines": {
2031
+
"node": ">=10"
2032
+
},
2033
+
"funding": {
2034
+
"url": "https://github.com/sponsors/sindresorhus"
2035
+
}
2036
+
},
2037
+
"node_modules/graceful-fs": {
2038
+
"version": "4.2.11",
2039
+
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
2040
+
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
2041
+
"dev": true,
2042
+
"license": "ISC"
2043
+
},
2044
+
"node_modules/hasown": {
2045
+
"version": "2.0.2",
2046
+
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
2047
+
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
2048
+
"dev": true,
2049
+
"license": "MIT",
2050
+
"dependencies": {
2051
+
"function-bind": "^1.1.2"
2052
+
},
2053
+
"engines": {
2054
+
"node": ">= 0.4"
2055
+
}
2056
+
},
2057
+
"node_modules/ignore": {
2058
+
"version": "5.3.2",
2059
+
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
2060
+
"integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
2061
+
"dev": true,
2062
+
"license": "MIT",
2063
+
"engines": {
2064
+
"node": ">= 4"
2065
+
}
2066
+
},
1408
2067
"node_modules/immediate": {
1409
2068
"version": "3.0.6",
1410
2069
"resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
···
1417
2076
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
1418
2077
"license": "ISC"
1419
2078
},
2079
+
"node_modules/is-binary-path": {
2080
+
"version": "2.1.0",
2081
+
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
2082
+
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
2083
+
"dev": true,
2084
+
"license": "MIT",
2085
+
"dependencies": {
2086
+
"binary-extensions": "^2.0.0"
2087
+
},
2088
+
"engines": {
2089
+
"node": ">=8"
2090
+
}
2091
+
},
2092
+
"node_modules/is-core-module": {
2093
+
"version": "2.16.1",
2094
+
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
2095
+
"integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
2096
+
"dev": true,
2097
+
"license": "MIT",
2098
+
"dependencies": {
2099
+
"hasown": "^2.0.2"
2100
+
},
2101
+
"engines": {
2102
+
"node": ">= 0.4"
2103
+
},
2104
+
"funding": {
2105
+
"url": "https://github.com/sponsors/ljharb"
2106
+
}
2107
+
},
2108
+
"node_modules/is-extglob": {
2109
+
"version": "2.1.1",
2110
+
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
2111
+
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
2112
+
"dev": true,
2113
+
"license": "MIT",
2114
+
"engines": {
2115
+
"node": ">=0.10.0"
2116
+
}
2117
+
},
2118
+
"node_modules/is-fullwidth-code-point": {
2119
+
"version": "3.0.0",
2120
+
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
2121
+
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
2122
+
"dev": true,
2123
+
"license": "MIT",
2124
+
"engines": {
2125
+
"node": ">=8"
2126
+
}
2127
+
},
2128
+
"node_modules/is-glob": {
2129
+
"version": "4.0.3",
2130
+
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
2131
+
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
2132
+
"dev": true,
2133
+
"license": "MIT",
2134
+
"dependencies": {
2135
+
"is-extglob": "^2.1.1"
2136
+
},
2137
+
"engines": {
2138
+
"node": ">=0.10.0"
2139
+
}
2140
+
},
2141
+
"node_modules/is-number": {
2142
+
"version": "7.0.0",
2143
+
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
2144
+
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
2145
+
"dev": true,
2146
+
"license": "MIT",
2147
+
"engines": {
2148
+
"node": ">=0.12.0"
2149
+
}
2150
+
},
1420
2151
"node_modules/isarray": {
1421
2152
"version": "1.0.0",
1422
2153
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
1423
2154
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
1424
2155
"license": "MIT"
1425
2156
},
2157
+
"node_modules/isexe": {
2158
+
"version": "2.0.0",
2159
+
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
2160
+
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
2161
+
"dev": true,
2162
+
"license": "ISC"
2163
+
},
2164
+
"node_modules/jackspeak": {
2165
+
"version": "3.4.3",
2166
+
"resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
2167
+
"integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
2168
+
"dev": true,
2169
+
"license": "BlueOak-1.0.0",
2170
+
"dependencies": {
2171
+
"@isaacs/cliui": "^8.0.2"
2172
+
},
2173
+
"funding": {
2174
+
"url": "https://github.com/sponsors/isaacs"
2175
+
},
2176
+
"optionalDependencies": {
2177
+
"@pkgjs/parseargs": "^0.11.0"
2178
+
}
2179
+
},
2180
+
"node_modules/jiti": {
2181
+
"version": "1.21.7",
2182
+
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
2183
+
"integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
2184
+
"dev": true,
2185
+
"license": "MIT",
2186
+
"bin": {
2187
+
"jiti": "bin/jiti.js"
2188
+
}
2189
+
},
1426
2190
"node_modules/js-tokens": {
1427
2191
"version": "4.0.0",
1428
2192
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
···
1455
2219
"node": ">=6"
1456
2220
}
1457
2221
},
2222
+
"node_modules/jsonfile": {
2223
+
"version": "6.2.0",
2224
+
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
2225
+
"integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
2226
+
"dev": true,
2227
+
"license": "MIT",
2228
+
"dependencies": {
2229
+
"universalify": "^2.0.0"
2230
+
},
2231
+
"optionalDependencies": {
2232
+
"graceful-fs": "^4.1.6"
2233
+
}
2234
+
},
1458
2235
"node_modules/jszip": {
1459
2236
"version": "3.10.1",
1460
2237
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
···
1476
2253
"immediate": "~3.0.5"
1477
2254
}
1478
2255
},
2256
+
"node_modules/lilconfig": {
2257
+
"version": "2.1.0",
2258
+
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",
2259
+
"integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",
2260
+
"dev": true,
2261
+
"license": "MIT",
2262
+
"engines": {
2263
+
"node": ">=10"
2264
+
}
2265
+
},
2266
+
"node_modules/lines-and-columns": {
2267
+
"version": "1.2.4",
2268
+
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
2269
+
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
2270
+
"dev": true,
2271
+
"license": "MIT"
2272
+
},
2273
+
"node_modules/locate-path": {
2274
+
"version": "5.0.0",
2275
+
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
2276
+
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
2277
+
"dev": true,
2278
+
"license": "MIT",
2279
+
"dependencies": {
2280
+
"p-locate": "^4.1.0"
2281
+
},
2282
+
"engines": {
2283
+
"node": ">=8"
2284
+
}
2285
+
},
1479
2286
"node_modules/loose-envify": {
1480
2287
"version": "1.4.0",
1481
2288
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
···
1498
2305
"yallist": "^3.0.2"
1499
2306
}
1500
2307
},
2308
+
"node_modules/lucide-react": {
2309
+
"version": "0.544.0",
2310
+
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.544.0.tgz",
2311
+
"integrity": "sha512-t5tS44bqd825zAW45UQxpG2CvcC4urOwn2TrwSH8u+MjeE+1NnWl6QqeQ/6NdjMqdOygyiT9p3Ev0p1NJykxjw==",
2312
+
"license": "ISC",
2313
+
"peerDependencies": {
2314
+
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
2315
+
}
2316
+
},
2317
+
"node_modules/make-dir": {
2318
+
"version": "3.1.0",
2319
+
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
2320
+
"integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
2321
+
"dev": true,
2322
+
"license": "MIT",
2323
+
"dependencies": {
2324
+
"semver": "^6.0.0"
2325
+
},
2326
+
"engines": {
2327
+
"node": ">=8"
2328
+
},
2329
+
"funding": {
2330
+
"url": "https://github.com/sponsors/sindresorhus"
2331
+
}
2332
+
},
2333
+
"node_modules/merge2": {
2334
+
"version": "1.4.1",
2335
+
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
2336
+
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
2337
+
"dev": true,
2338
+
"license": "MIT",
2339
+
"engines": {
2340
+
"node": ">= 8"
2341
+
}
2342
+
},
2343
+
"node_modules/micromatch": {
2344
+
"version": "4.0.8",
2345
+
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
2346
+
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
2347
+
"dev": true,
2348
+
"license": "MIT",
2349
+
"dependencies": {
2350
+
"braces": "^3.0.3",
2351
+
"picomatch": "^2.3.1"
2352
+
},
2353
+
"engines": {
2354
+
"node": ">=8.6"
2355
+
}
2356
+
},
2357
+
"node_modules/minimatch": {
2358
+
"version": "9.0.5",
2359
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
2360
+
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
2361
+
"dev": true,
2362
+
"license": "ISC",
2363
+
"dependencies": {
2364
+
"brace-expansion": "^2.0.1"
2365
+
},
2366
+
"engines": {
2367
+
"node": ">=16 || 14 >=14.17"
2368
+
},
2369
+
"funding": {
2370
+
"url": "https://github.com/sponsors/isaacs"
2371
+
}
2372
+
},
2373
+
"node_modules/minipass": {
2374
+
"version": "7.1.2",
2375
+
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
2376
+
"integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
2377
+
"dev": true,
2378
+
"license": "ISC",
2379
+
"engines": {
2380
+
"node": ">=16 || 14 >=14.17"
2381
+
}
2382
+
},
1501
2383
"node_modules/ms": {
1502
2384
"version": "2.1.3",
1503
2385
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
···
1505
2387
"dev": true,
1506
2388
"license": "MIT"
1507
2389
},
2390
+
"node_modules/mz": {
2391
+
"version": "2.7.0",
2392
+
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
2393
+
"integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
2394
+
"dev": true,
2395
+
"license": "MIT",
2396
+
"dependencies": {
2397
+
"any-promise": "^1.0.0",
2398
+
"object-assign": "^4.0.1",
2399
+
"thenify-all": "^1.0.0"
2400
+
}
2401
+
},
1508
2402
"node_modules/nanoid": {
1509
2403
"version": "3.3.11",
1510
2404
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
···
1531
2425
"dev": true,
1532
2426
"license": "MIT"
1533
2427
},
2428
+
"node_modules/normalize-path": {
2429
+
"version": "3.0.0",
2430
+
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
2431
+
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
2432
+
"dev": true,
2433
+
"license": "MIT",
2434
+
"engines": {
2435
+
"node": ">=0.10.0"
2436
+
}
2437
+
},
2438
+
"node_modules/normalize-range": {
2439
+
"version": "0.1.2",
2440
+
"resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
2441
+
"integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
2442
+
"dev": true,
2443
+
"license": "MIT",
2444
+
"engines": {
2445
+
"node": ">=0.10.0"
2446
+
}
2447
+
},
2448
+
"node_modules/object-assign": {
2449
+
"version": "4.1.1",
2450
+
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
2451
+
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
2452
+
"dev": true,
2453
+
"license": "MIT",
2454
+
"engines": {
2455
+
"node": ">=0.10.0"
2456
+
}
2457
+
},
2458
+
"node_modules/object-hash": {
2459
+
"version": "3.0.0",
2460
+
"resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
2461
+
"integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
2462
+
"dev": true,
2463
+
"license": "MIT",
2464
+
"engines": {
2465
+
"node": ">= 6"
2466
+
}
2467
+
},
2468
+
"node_modules/p-limit": {
2469
+
"version": "2.3.0",
2470
+
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
2471
+
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
2472
+
"dev": true,
2473
+
"license": "MIT",
2474
+
"dependencies": {
2475
+
"p-try": "^2.0.0"
2476
+
},
2477
+
"engines": {
2478
+
"node": ">=6"
2479
+
},
2480
+
"funding": {
2481
+
"url": "https://github.com/sponsors/sindresorhus"
2482
+
}
2483
+
},
2484
+
"node_modules/p-locate": {
2485
+
"version": "4.1.0",
2486
+
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
2487
+
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
2488
+
"dev": true,
2489
+
"license": "MIT",
2490
+
"dependencies": {
2491
+
"p-limit": "^2.2.0"
2492
+
},
2493
+
"engines": {
2494
+
"node": ">=8"
2495
+
}
2496
+
},
2497
+
"node_modules/p-try": {
2498
+
"version": "2.2.0",
2499
+
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
2500
+
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
2501
+
"dev": true,
2502
+
"license": "MIT",
2503
+
"engines": {
2504
+
"node": ">=6"
2505
+
}
2506
+
},
2507
+
"node_modules/package-json-from-dist": {
2508
+
"version": "1.0.1",
2509
+
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
2510
+
"integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
2511
+
"dev": true,
2512
+
"license": "BlueOak-1.0.0"
2513
+
},
1534
2514
"node_modules/pako": {
1535
2515
"version": "1.0.11",
1536
2516
"resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
1537
2517
"integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
1538
2518
"license": "(MIT AND Zlib)"
1539
2519
},
2520
+
"node_modules/path-exists": {
2521
+
"version": "4.0.0",
2522
+
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
2523
+
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
2524
+
"dev": true,
2525
+
"license": "MIT",
2526
+
"engines": {
2527
+
"node": ">=8"
2528
+
}
2529
+
},
2530
+
"node_modules/path-key": {
2531
+
"version": "3.1.1",
2532
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
2533
+
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
2534
+
"dev": true,
2535
+
"license": "MIT",
2536
+
"engines": {
2537
+
"node": ">=8"
2538
+
}
2539
+
},
2540
+
"node_modules/path-parse": {
2541
+
"version": "1.0.7",
2542
+
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
2543
+
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
2544
+
"dev": true,
2545
+
"license": "MIT"
2546
+
},
2547
+
"node_modules/path-scurry": {
2548
+
"version": "1.11.1",
2549
+
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
2550
+
"integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
2551
+
"dev": true,
2552
+
"license": "BlueOak-1.0.0",
2553
+
"dependencies": {
2554
+
"lru-cache": "^10.2.0",
2555
+
"minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
2556
+
},
2557
+
"engines": {
2558
+
"node": ">=16 || 14 >=14.18"
2559
+
},
2560
+
"funding": {
2561
+
"url": "https://github.com/sponsors/isaacs"
2562
+
}
2563
+
},
2564
+
"node_modules/path-scurry/node_modules/lru-cache": {
2565
+
"version": "10.4.3",
2566
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
2567
+
"integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
2568
+
"dev": true,
2569
+
"license": "ISC"
2570
+
},
2571
+
"node_modules/path-type": {
2572
+
"version": "4.0.0",
2573
+
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
2574
+
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
2575
+
"dev": true,
2576
+
"license": "MIT",
2577
+
"engines": {
2578
+
"node": ">=8"
2579
+
}
2580
+
},
1540
2581
"node_modules/picocolors": {
1541
2582
"version": "1.1.1",
1542
2583
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
···
1544
2585
"dev": true,
1545
2586
"license": "ISC"
1546
2587
},
2588
+
"node_modules/picomatch": {
2589
+
"version": "2.3.1",
2590
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
2591
+
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
2592
+
"dev": true,
2593
+
"license": "MIT",
2594
+
"engines": {
2595
+
"node": ">=8.6"
2596
+
},
2597
+
"funding": {
2598
+
"url": "https://github.com/sponsors/jonschlinkert"
2599
+
}
2600
+
},
2601
+
"node_modules/pify": {
2602
+
"version": "2.3.0",
2603
+
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
2604
+
"integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
2605
+
"dev": true,
2606
+
"license": "MIT",
2607
+
"engines": {
2608
+
"node": ">=0.10.0"
2609
+
}
2610
+
},
2611
+
"node_modules/pirates": {
2612
+
"version": "4.0.7",
2613
+
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
2614
+
"integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
2615
+
"dev": true,
2616
+
"license": "MIT",
2617
+
"engines": {
2618
+
"node": ">= 6"
2619
+
}
2620
+
},
2621
+
"node_modules/pkg-dir": {
2622
+
"version": "4.2.0",
2623
+
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
2624
+
"integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
2625
+
"dev": true,
2626
+
"license": "MIT",
2627
+
"dependencies": {
2628
+
"find-up": "^4.0.0"
2629
+
},
2630
+
"engines": {
2631
+
"node": ">=8"
2632
+
}
2633
+
},
1547
2634
"node_modules/postcss": {
1548
2635
"version": "8.5.6",
1549
2636
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
···
1573
2660
"node": "^10 || ^12 || >=14"
1574
2661
}
1575
2662
},
2663
+
"node_modules/postcss-import": {
2664
+
"version": "15.1.0",
2665
+
"resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
2666
+
"integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
2667
+
"dev": true,
2668
+
"license": "MIT",
2669
+
"dependencies": {
2670
+
"postcss-value-parser": "^4.0.0",
2671
+
"read-cache": "^1.0.0",
2672
+
"resolve": "^1.1.7"
2673
+
},
2674
+
"engines": {
2675
+
"node": ">=14.0.0"
2676
+
},
2677
+
"peerDependencies": {
2678
+
"postcss": "^8.0.0"
2679
+
}
2680
+
},
2681
+
"node_modules/postcss-js": {
2682
+
"version": "4.1.0",
2683
+
"resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",
2684
+
"integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",
2685
+
"dev": true,
2686
+
"funding": [
2687
+
{
2688
+
"type": "opencollective",
2689
+
"url": "https://opencollective.com/postcss/"
2690
+
},
2691
+
{
2692
+
"type": "github",
2693
+
"url": "https://github.com/sponsors/ai"
2694
+
}
2695
+
],
2696
+
"license": "MIT",
2697
+
"dependencies": {
2698
+
"camelcase-css": "^2.0.1"
2699
+
},
2700
+
"engines": {
2701
+
"node": "^12 || ^14 || >= 16"
2702
+
},
2703
+
"peerDependencies": {
2704
+
"postcss": "^8.4.21"
2705
+
}
2706
+
},
2707
+
"node_modules/postcss-load-config": {
2708
+
"version": "4.0.2",
2709
+
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",
2710
+
"integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",
2711
+
"dev": true,
2712
+
"funding": [
2713
+
{
2714
+
"type": "opencollective",
2715
+
"url": "https://opencollective.com/postcss/"
2716
+
},
2717
+
{
2718
+
"type": "github",
2719
+
"url": "https://github.com/sponsors/ai"
2720
+
}
2721
+
],
2722
+
"license": "MIT",
2723
+
"dependencies": {
2724
+
"lilconfig": "^3.0.0",
2725
+
"yaml": "^2.3.4"
2726
+
},
2727
+
"engines": {
2728
+
"node": ">= 14"
2729
+
},
2730
+
"peerDependencies": {
2731
+
"postcss": ">=8.0.9",
2732
+
"ts-node": ">=9.0.0"
2733
+
},
2734
+
"peerDependenciesMeta": {
2735
+
"postcss": {
2736
+
"optional": true
2737
+
},
2738
+
"ts-node": {
2739
+
"optional": true
2740
+
}
2741
+
}
2742
+
},
2743
+
"node_modules/postcss-load-config/node_modules/lilconfig": {
2744
+
"version": "3.1.3",
2745
+
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
2746
+
"integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
2747
+
"dev": true,
2748
+
"license": "MIT",
2749
+
"engines": {
2750
+
"node": ">=14"
2751
+
},
2752
+
"funding": {
2753
+
"url": "https://github.com/sponsors/antonk52"
2754
+
}
2755
+
},
2756
+
"node_modules/postcss-nested": {
2757
+
"version": "6.2.0",
2758
+
"resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
2759
+
"integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
2760
+
"dev": true,
2761
+
"funding": [
2762
+
{
2763
+
"type": "opencollective",
2764
+
"url": "https://opencollective.com/postcss/"
2765
+
},
2766
+
{
2767
+
"type": "github",
2768
+
"url": "https://github.com/sponsors/ai"
2769
+
}
2770
+
],
2771
+
"license": "MIT",
2772
+
"dependencies": {
2773
+
"postcss-selector-parser": "^6.1.1"
2774
+
},
2775
+
"engines": {
2776
+
"node": ">=12.0"
2777
+
},
2778
+
"peerDependencies": {
2779
+
"postcss": "^8.2.14"
2780
+
}
2781
+
},
2782
+
"node_modules/postcss-selector-parser": {
2783
+
"version": "6.1.2",
2784
+
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
2785
+
"integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
2786
+
"dev": true,
2787
+
"license": "MIT",
2788
+
"dependencies": {
2789
+
"cssesc": "^3.0.0",
2790
+
"util-deprecate": "^1.0.2"
2791
+
},
2792
+
"engines": {
2793
+
"node": ">=4"
2794
+
}
2795
+
},
2796
+
"node_modules/postcss-value-parser": {
2797
+
"version": "4.2.0",
2798
+
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
2799
+
"integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
2800
+
"dev": true,
2801
+
"license": "MIT"
2802
+
},
1576
2803
"node_modules/process-nextick-args": {
1577
2804
"version": "2.0.1",
1578
2805
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
1579
2806
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
2807
+
"license": "MIT"
2808
+
},
2809
+
"node_modules/queue-microtask": {
2810
+
"version": "1.2.3",
2811
+
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
2812
+
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
2813
+
"dev": true,
2814
+
"funding": [
2815
+
{
2816
+
"type": "github",
2817
+
"url": "https://github.com/sponsors/feross"
2818
+
},
2819
+
{
2820
+
"type": "patreon",
2821
+
"url": "https://www.patreon.com/feross"
2822
+
},
2823
+
{
2824
+
"type": "consulting",
2825
+
"url": "https://feross.org/support"
2826
+
}
2827
+
],
1580
2828
"license": "MIT"
1581
2829
},
1582
2830
"node_modules/react": {
···
1614
2862
"node": ">=0.10.0"
1615
2863
}
1616
2864
},
2865
+
"node_modules/read-cache": {
2866
+
"version": "1.0.0",
2867
+
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
2868
+
"integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
2869
+
"dev": true,
2870
+
"license": "MIT",
2871
+
"dependencies": {
2872
+
"pify": "^2.3.0"
2873
+
}
2874
+
},
1617
2875
"node_modules/readable-stream": {
1618
2876
"version": "2.3.8",
1619
2877
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
···
1629
2887
"util-deprecate": "~1.0.1"
1630
2888
}
1631
2889
},
2890
+
"node_modules/readdirp": {
2891
+
"version": "3.6.0",
2892
+
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
2893
+
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
2894
+
"dev": true,
2895
+
"license": "MIT",
2896
+
"dependencies": {
2897
+
"picomatch": "^2.2.1"
2898
+
},
2899
+
"engines": {
2900
+
"node": ">=8.10.0"
2901
+
}
2902
+
},
2903
+
"node_modules/resolve": {
2904
+
"version": "1.22.10",
2905
+
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
2906
+
"integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
2907
+
"dev": true,
2908
+
"license": "MIT",
2909
+
"dependencies": {
2910
+
"is-core-module": "^2.16.0",
2911
+
"path-parse": "^1.0.7",
2912
+
"supports-preserve-symlinks-flag": "^1.0.0"
2913
+
},
2914
+
"bin": {
2915
+
"resolve": "bin/resolve"
2916
+
},
2917
+
"engines": {
2918
+
"node": ">= 0.4"
2919
+
},
2920
+
"funding": {
2921
+
"url": "https://github.com/sponsors/ljharb"
2922
+
}
2923
+
},
2924
+
"node_modules/reusify": {
2925
+
"version": "1.1.0",
2926
+
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
2927
+
"integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
2928
+
"dev": true,
2929
+
"license": "MIT",
2930
+
"engines": {
2931
+
"iojs": ">=1.0.0",
2932
+
"node": ">=0.10.0"
2933
+
}
2934
+
},
1632
2935
"node_modules/rollup": {
1633
2936
"version": "4.52.2",
1634
2937
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.52.2.tgz",
···
1671
2974
"fsevents": "~2.3.2"
1672
2975
}
1673
2976
},
2977
+
"node_modules/run-parallel": {
2978
+
"version": "1.2.0",
2979
+
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
2980
+
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
2981
+
"dev": true,
2982
+
"funding": [
2983
+
{
2984
+
"type": "github",
2985
+
"url": "https://github.com/sponsors/feross"
2986
+
},
2987
+
{
2988
+
"type": "patreon",
2989
+
"url": "https://www.patreon.com/feross"
2990
+
},
2991
+
{
2992
+
"type": "consulting",
2993
+
"url": "https://feross.org/support"
2994
+
}
2995
+
],
2996
+
"license": "MIT",
2997
+
"dependencies": {
2998
+
"queue-microtask": "^1.2.2"
2999
+
}
3000
+
},
1674
3001
"node_modules/safe-buffer": {
1675
3002
"version": "5.1.2",
1676
3003
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
···
1702
3029
"integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==",
1703
3030
"license": "MIT"
1704
3031
},
3032
+
"node_modules/shebang-command": {
3033
+
"version": "2.0.0",
3034
+
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
3035
+
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
3036
+
"dev": true,
3037
+
"license": "MIT",
3038
+
"dependencies": {
3039
+
"shebang-regex": "^3.0.0"
3040
+
},
3041
+
"engines": {
3042
+
"node": ">=8"
3043
+
}
3044
+
},
3045
+
"node_modules/shebang-regex": {
3046
+
"version": "3.0.0",
3047
+
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
3048
+
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
3049
+
"dev": true,
3050
+
"license": "MIT",
3051
+
"engines": {
3052
+
"node": ">=8"
3053
+
}
3054
+
},
3055
+
"node_modules/signal-exit": {
3056
+
"version": "4.1.0",
3057
+
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
3058
+
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
3059
+
"dev": true,
3060
+
"license": "ISC",
3061
+
"engines": {
3062
+
"node": ">=14"
3063
+
},
3064
+
"funding": {
3065
+
"url": "https://github.com/sponsors/isaacs"
3066
+
}
3067
+
},
3068
+
"node_modules/slash": {
3069
+
"version": "3.0.0",
3070
+
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
3071
+
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
3072
+
"dev": true,
3073
+
"license": "MIT",
3074
+
"engines": {
3075
+
"node": ">=8"
3076
+
}
3077
+
},
1705
3078
"node_modules/source-map-js": {
1706
3079
"version": "1.2.1",
1707
3080
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
···
1721
3094
"safe-buffer": "~5.1.0"
1722
3095
}
1723
3096
},
3097
+
"node_modules/string-width": {
3098
+
"version": "5.1.2",
3099
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
3100
+
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
3101
+
"dev": true,
3102
+
"license": "MIT",
3103
+
"dependencies": {
3104
+
"eastasianwidth": "^0.2.0",
3105
+
"emoji-regex": "^9.2.2",
3106
+
"strip-ansi": "^7.0.1"
3107
+
},
3108
+
"engines": {
3109
+
"node": ">=12"
3110
+
},
3111
+
"funding": {
3112
+
"url": "https://github.com/sponsors/sindresorhus"
3113
+
}
3114
+
},
3115
+
"node_modules/string-width-cjs": {
3116
+
"name": "string-width",
3117
+
"version": "4.2.3",
3118
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
3119
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
3120
+
"dev": true,
3121
+
"license": "MIT",
3122
+
"dependencies": {
3123
+
"emoji-regex": "^8.0.0",
3124
+
"is-fullwidth-code-point": "^3.0.0",
3125
+
"strip-ansi": "^6.0.1"
3126
+
},
3127
+
"engines": {
3128
+
"node": ">=8"
3129
+
}
3130
+
},
3131
+
"node_modules/string-width-cjs/node_modules/ansi-regex": {
3132
+
"version": "5.0.1",
3133
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
3134
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
3135
+
"dev": true,
3136
+
"license": "MIT",
3137
+
"engines": {
3138
+
"node": ">=8"
3139
+
}
3140
+
},
3141
+
"node_modules/string-width-cjs/node_modules/emoji-regex": {
3142
+
"version": "8.0.0",
3143
+
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
3144
+
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
3145
+
"dev": true,
3146
+
"license": "MIT"
3147
+
},
3148
+
"node_modules/string-width-cjs/node_modules/strip-ansi": {
3149
+
"version": "6.0.1",
3150
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3151
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3152
+
"dev": true,
3153
+
"license": "MIT",
3154
+
"dependencies": {
3155
+
"ansi-regex": "^5.0.1"
3156
+
},
3157
+
"engines": {
3158
+
"node": ">=8"
3159
+
}
3160
+
},
3161
+
"node_modules/strip-ansi": {
3162
+
"version": "7.1.2",
3163
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
3164
+
"integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
3165
+
"dev": true,
3166
+
"license": "MIT",
3167
+
"dependencies": {
3168
+
"ansi-regex": "^6.0.1"
3169
+
},
3170
+
"engines": {
3171
+
"node": ">=12"
3172
+
},
3173
+
"funding": {
3174
+
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
3175
+
}
3176
+
},
3177
+
"node_modules/strip-ansi-cjs": {
3178
+
"name": "strip-ansi",
3179
+
"version": "6.0.1",
3180
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3181
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3182
+
"dev": true,
3183
+
"license": "MIT",
3184
+
"dependencies": {
3185
+
"ansi-regex": "^5.0.1"
3186
+
},
3187
+
"engines": {
3188
+
"node": ">=8"
3189
+
}
3190
+
},
3191
+
"node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
3192
+
"version": "5.0.1",
3193
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
3194
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
3195
+
"dev": true,
3196
+
"license": "MIT",
3197
+
"engines": {
3198
+
"node": ">=8"
3199
+
}
3200
+
},
3201
+
"node_modules/strip-outer": {
3202
+
"version": "1.0.1",
3203
+
"resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz",
3204
+
"integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==",
3205
+
"dev": true,
3206
+
"license": "MIT",
3207
+
"dependencies": {
3208
+
"escape-string-regexp": "^1.0.2"
3209
+
},
3210
+
"engines": {
3211
+
"node": ">=0.10.0"
3212
+
}
3213
+
},
3214
+
"node_modules/sucrase": {
3215
+
"version": "3.35.0",
3216
+
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz",
3217
+
"integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==",
3218
+
"dev": true,
3219
+
"license": "MIT",
3220
+
"dependencies": {
3221
+
"@jridgewell/gen-mapping": "^0.3.2",
3222
+
"commander": "^4.0.0",
3223
+
"glob": "^10.3.10",
3224
+
"lines-and-columns": "^1.1.6",
3225
+
"mz": "^2.7.0",
3226
+
"pirates": "^4.0.1",
3227
+
"ts-interface-checker": "^0.1.9"
3228
+
},
3229
+
"bin": {
3230
+
"sucrase": "bin/sucrase",
3231
+
"sucrase-node": "bin/sucrase-node"
3232
+
},
3233
+
"engines": {
3234
+
"node": ">=16 || 14 >=14.17"
3235
+
}
3236
+
},
3237
+
"node_modules/sucrase/node_modules/commander": {
3238
+
"version": "4.1.1",
3239
+
"resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
3240
+
"integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
3241
+
"dev": true,
3242
+
"license": "MIT",
3243
+
"engines": {
3244
+
"node": ">= 6"
3245
+
}
3246
+
},
3247
+
"node_modules/supports-preserve-symlinks-flag": {
3248
+
"version": "1.0.0",
3249
+
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
3250
+
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
3251
+
"dev": true,
3252
+
"license": "MIT",
3253
+
"engines": {
3254
+
"node": ">= 0.4"
3255
+
},
3256
+
"funding": {
3257
+
"url": "https://github.com/sponsors/ljharb"
3258
+
}
3259
+
},
3260
+
"node_modules/tailwindcss": {
3261
+
"version": "3.4.0",
3262
+
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.0.tgz",
3263
+
"integrity": "sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==",
3264
+
"dev": true,
3265
+
"license": "MIT",
3266
+
"dependencies": {
3267
+
"@alloc/quick-lru": "^5.2.0",
3268
+
"arg": "^5.0.2",
3269
+
"chokidar": "^3.5.3",
3270
+
"didyoumean": "^1.2.2",
3271
+
"dlv": "^1.1.3",
3272
+
"fast-glob": "^3.3.0",
3273
+
"glob-parent": "^6.0.2",
3274
+
"is-glob": "^4.0.3",
3275
+
"jiti": "^1.19.1",
3276
+
"lilconfig": "^2.1.0",
3277
+
"micromatch": "^4.0.5",
3278
+
"normalize-path": "^3.0.0",
3279
+
"object-hash": "^3.0.0",
3280
+
"picocolors": "^1.0.0",
3281
+
"postcss": "^8.4.23",
3282
+
"postcss-import": "^15.1.0",
3283
+
"postcss-js": "^4.0.1",
3284
+
"postcss-load-config": "^4.0.1",
3285
+
"postcss-nested": "^6.0.1",
3286
+
"postcss-selector-parser": "^6.0.11",
3287
+
"resolve": "^1.22.2",
3288
+
"sucrase": "^3.32.0"
3289
+
},
3290
+
"bin": {
3291
+
"tailwind": "lib/cli.js",
3292
+
"tailwindcss": "lib/cli.js"
3293
+
},
3294
+
"engines": {
3295
+
"node": ">=14.0.0"
3296
+
}
3297
+
},
3298
+
"node_modules/tailwindcss/node_modules/glob-parent": {
3299
+
"version": "6.0.2",
3300
+
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
3301
+
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
3302
+
"dev": true,
3303
+
"license": "ISC",
3304
+
"dependencies": {
3305
+
"is-glob": "^4.0.3"
3306
+
},
3307
+
"engines": {
3308
+
"node": ">=10.13.0"
3309
+
}
3310
+
},
3311
+
"node_modules/thenify": {
3312
+
"version": "3.3.1",
3313
+
"resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
3314
+
"integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
3315
+
"dev": true,
3316
+
"license": "MIT",
3317
+
"dependencies": {
3318
+
"any-promise": "^1.0.0"
3319
+
}
3320
+
},
3321
+
"node_modules/thenify-all": {
3322
+
"version": "1.6.0",
3323
+
"resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
3324
+
"integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
3325
+
"dev": true,
3326
+
"license": "MIT",
3327
+
"dependencies": {
3328
+
"thenify": ">= 3.1.0 < 4"
3329
+
},
3330
+
"engines": {
3331
+
"node": ">=0.8"
3332
+
}
3333
+
},
3334
+
"node_modules/to-regex-range": {
3335
+
"version": "5.0.1",
3336
+
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
3337
+
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
3338
+
"dev": true,
3339
+
"license": "MIT",
3340
+
"dependencies": {
3341
+
"is-number": "^7.0.0"
3342
+
},
3343
+
"engines": {
3344
+
"node": ">=8.0"
3345
+
}
3346
+
},
3347
+
"node_modules/trim-repeated": {
3348
+
"version": "1.0.0",
3349
+
"resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz",
3350
+
"integrity": "sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==",
3351
+
"dev": true,
3352
+
"license": "MIT",
3353
+
"dependencies": {
3354
+
"escape-string-regexp": "^1.0.2"
3355
+
},
3356
+
"engines": {
3357
+
"node": ">=0.10.0"
3358
+
}
3359
+
},
3360
+
"node_modules/ts-interface-checker": {
3361
+
"version": "0.1.13",
3362
+
"resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
3363
+
"integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
3364
+
"dev": true,
3365
+
"license": "Apache-2.0"
3366
+
},
1724
3367
"node_modules/typescript": {
1725
3368
"version": "5.9.2",
1726
3369
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
···
1733
3376
},
1734
3377
"engines": {
1735
3378
"node": ">=14.17"
3379
+
}
3380
+
},
3381
+
"node_modules/universalify": {
3382
+
"version": "2.0.1",
3383
+
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
3384
+
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
3385
+
"dev": true,
3386
+
"license": "MIT",
3387
+
"engines": {
3388
+
"node": ">= 10.0.0"
1736
3389
}
1737
3390
},
1738
3391
"node_modules/update-browserslist-db": {
···
1832
3485
}
1833
3486
}
1834
3487
},
3488
+
"node_modules/which": {
3489
+
"version": "2.0.2",
3490
+
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
3491
+
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
3492
+
"dev": true,
3493
+
"license": "ISC",
3494
+
"dependencies": {
3495
+
"isexe": "^2.0.0"
3496
+
},
3497
+
"bin": {
3498
+
"node-which": "bin/node-which"
3499
+
},
3500
+
"engines": {
3501
+
"node": ">= 8"
3502
+
}
3503
+
},
3504
+
"node_modules/wrap-ansi": {
3505
+
"version": "8.1.0",
3506
+
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
3507
+
"integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
3508
+
"dev": true,
3509
+
"license": "MIT",
3510
+
"dependencies": {
3511
+
"ansi-styles": "^6.1.0",
3512
+
"string-width": "^5.0.1",
3513
+
"strip-ansi": "^7.0.1"
3514
+
},
3515
+
"engines": {
3516
+
"node": ">=12"
3517
+
},
3518
+
"funding": {
3519
+
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
3520
+
}
3521
+
},
3522
+
"node_modules/wrap-ansi-cjs": {
3523
+
"name": "wrap-ansi",
3524
+
"version": "7.0.0",
3525
+
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
3526
+
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
3527
+
"dev": true,
3528
+
"license": "MIT",
3529
+
"dependencies": {
3530
+
"ansi-styles": "^4.0.0",
3531
+
"string-width": "^4.1.0",
3532
+
"strip-ansi": "^6.0.0"
3533
+
},
3534
+
"engines": {
3535
+
"node": ">=10"
3536
+
},
3537
+
"funding": {
3538
+
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
3539
+
}
3540
+
},
3541
+
"node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
3542
+
"version": "5.0.1",
3543
+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
3544
+
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
3545
+
"dev": true,
3546
+
"license": "MIT",
3547
+
"engines": {
3548
+
"node": ">=8"
3549
+
}
3550
+
},
3551
+
"node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
3552
+
"version": "4.3.0",
3553
+
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
3554
+
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
3555
+
"dev": true,
3556
+
"license": "MIT",
3557
+
"dependencies": {
3558
+
"color-convert": "^2.0.1"
3559
+
},
3560
+
"engines": {
3561
+
"node": ">=8"
3562
+
},
3563
+
"funding": {
3564
+
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
3565
+
}
3566
+
},
3567
+
"node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
3568
+
"version": "8.0.0",
3569
+
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
3570
+
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
3571
+
"dev": true,
3572
+
"license": "MIT"
3573
+
},
3574
+
"node_modules/wrap-ansi-cjs/node_modules/string-width": {
3575
+
"version": "4.2.3",
3576
+
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
3577
+
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
3578
+
"dev": true,
3579
+
"license": "MIT",
3580
+
"dependencies": {
3581
+
"emoji-regex": "^8.0.0",
3582
+
"is-fullwidth-code-point": "^3.0.0",
3583
+
"strip-ansi": "^6.0.1"
3584
+
},
3585
+
"engines": {
3586
+
"node": ">=8"
3587
+
}
3588
+
},
3589
+
"node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
3590
+
"version": "6.0.1",
3591
+
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
3592
+
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
3593
+
"dev": true,
3594
+
"license": "MIT",
3595
+
"dependencies": {
3596
+
"ansi-regex": "^5.0.1"
3597
+
},
3598
+
"engines": {
3599
+
"node": ">=8"
3600
+
}
3601
+
},
1835
3602
"node_modules/yallist": {
1836
3603
"version": "3.1.1",
1837
3604
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
1838
3605
"integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
1839
3606
"dev": true,
1840
3607
"license": "ISC"
3608
+
},
3609
+
"node_modules/yaml": {
3610
+
"version": "2.8.1",
3611
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz",
3612
+
"integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==",
3613
+
"dev": true,
3614
+
"license": "ISC",
3615
+
"bin": {
3616
+
"yaml": "bin.mjs"
3617
+
},
3618
+
"engines": {
3619
+
"node": ">= 14.6"
3620
+
}
1841
3621
}
1842
3622
}
1843
3623
}
+5
package.json
+5
package.json
···
13
13
"@atcute/identity": "^1.1.0",
14
14
"@atcute/identity-resolver": "^1.1.3",
15
15
"jszip": "^3.10.1",
16
+
"lucide-react": "^0.544.0",
16
17
"react": "^18.3.1",
17
18
"react-dom": "^18.3.1"
18
19
},
···
21
22
"@types/react": "^19.1.14",
22
23
"@types/react-dom": "^19.1.9",
23
24
"@vitejs/plugin-react": "^4.2.1",
25
+
"autoprefixer": "^10.4.21",
26
+
"gh-pages": "^6.3.0",
27
+
"postcss": "^8.5.6",
28
+
"tailwindcss": "^3.4.0",
24
29
"typescript": "^5.3.3",
25
30
"vite": "^5.4.0"
26
31
}
+6
postcss.config.js
+6
postcss.config.js
+338
-220
src/App.tsx
+338
-220
src/App.tsx
···
1
1
import { useState } from "react";
2
+
import { Upload, User, Check, X, Search, Settings, ArrowRight, Users, FileText } from "lucide-react";
2
3
import JSZip from "jszip";
3
4
import {
4
5
CompositeDidDocumentResolver,
···
35
36
const [session, setSession] = useState<BskySession | null>(null);
36
37
const [searchResults, setSearchResults] = useState<SearchResult[]>([]);
37
38
const [isSearchingAll, setIsSearchingAll] = useState(false);
39
+
const [currentStep, setCurrentStep] = useState<'login' | 'upload' | 'results'>('login');
38
40
39
41
const didDocumentResolver = new CompositeDidDocumentResolver({
40
42
methods: {
···
103
105
serviceEndpoint: pdsEndpoint,
104
106
});
105
107
108
+
setCurrentStep('upload');
109
+
106
110
console.log("Logged in successfully!", sessionData, pdsEndpoint);
107
111
} catch (err) {
108
112
console.error("Login error:", err);
···
187
191
}));
188
192
189
193
setSearchResults(initialResults);
194
+
195
+
setCurrentStep('results');
190
196
191
197
// Automatically start searching once users are loaded
192
198
setTimeout(() => searchAllUsers(initialResults), 100);
···
389
395
console.error(`Follow error for ${user.handle}:`, error);
390
396
}
391
397
392
-
// Add small delay between follows to be respectful
398
+
// Add small delay between follows
393
399
await new Promise(resolve => setTimeout(resolve, 500));
394
400
}
395
401
}
396
402
403
+
const totalSelected = searchResults.reduce((total, result) =>
404
+
total + (result.selectedMatches?.size || 0), 0
405
+
);
406
+
const totalFound = searchResults.filter(r => r.bskyMatches.length > 0).length;
407
+
397
408
return (
398
-
<div className="p-6 max-w-6xl mx-auto">
399
-
{!session ? (
400
-
<div className="space-y-4 max-w-md">
401
-
<h1 className="text-2xl font-bold">TikTok → Bluesky Follower Sync</h1>
402
-
<p className="text-gray-600">Login to your Bluesky account to start syncing your TikTok follows.</p>
403
-
<input
404
-
className="border border-gray-300 p-3 w-full rounded"
405
-
placeholder="yourhandle.bsky.social"
406
-
value={handle}
407
-
onChange={(e) => setHandle(e.target.value)}
408
-
/>
409
-
<input
410
-
className="border border-gray-300 p-3 w-full rounded"
411
-
type="password"
412
-
placeholder="App password (not your regular password!)"
413
-
value={appPassword}
414
-
onChange={(e) => setAppPassword(e.target.value)}
415
-
/>
416
-
<button
417
-
className="bg-blue-500 hover:bg-blue-600 text-white px-6 py-3 rounded w-full font-medium"
418
-
onClick={login}
419
-
>
420
-
Login to Bluesky
421
-
</button>
409
+
<div className="min-h-screen bg-gradient-to-br from-blue-50 to-purple-50">
410
+
{/* Header */}
411
+
<div className="bg-white shadow-sm border-b">
412
+
<div className="px-4 py-4">
413
+
<div className="flex items-center justify-between">
414
+
<div className="flex items-center space-x-2">
415
+
<div className="w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg flex items-center justify-center">
416
+
<ArrowRight className="w-4 h-4 text-white" />
417
+
</div>
418
+
<h1 className="text-lg font-bold text-gray-900">ATlast</h1>
419
+
</div>
420
+
{session && (
421
+
<div className="flex items-center space-x-2 text-sm text-gray-600">
422
+
<User className="w-4 h-4" />
423
+
<span className="hidden sm:inline">@{session.handle}</span>
424
+
</div>
425
+
)}
426
+
</div>
422
427
</div>
423
-
) : (
424
-
<div className="space-y-6">
425
-
<div className="flex justify-between items-center">
426
-
<h1 className="text-2xl font-bold">TikTok → Bluesky Sync</h1>
427
-
<div className="flex items-center space-x-4">
428
-
<p className="text-gray-600">Logged in as {session.handle}</p>
429
-
{debugMode && (
430
-
<span className="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded">
431
-
DEBUG MODE
432
-
</span>
433
-
)}
428
+
</div>
429
+
430
+
{/* Login Step */}
431
+
{currentStep === 'login' && (
432
+
<div className="p-6 max-w-md mx-auto mt-8">
433
+
<div className="bg-white rounded-2xl shadow-lg p-6 space-y-6">
434
+
<div className="text-center">
435
+
<div className="w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-2xl mx-auto mb-4 flex items-center justify-center">
436
+
<Users className="w-8 h-8 text-white" />
437
+
</div>
438
+
<h2 className="text-2xl font-bold text-gray-900 mb-2">Welcome!</h2>
439
+
<p className="text-gray-600">Connect your ATmosphere account (e.g. Bluesky, Skylight) to sync your TikTok follows</p>
440
+
</div>
441
+
442
+
<div className="space-y-4">
443
+
<div>
444
+
<label className="block text-sm font-medium text-gray-700 mb-2">
445
+
Bluesky Handle
446
+
</label>
447
+
<input
448
+
className="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent"
449
+
placeholder="yourhandle.bsky.social"
450
+
value={handle}
451
+
onChange={(e) => setHandle(e.target.value)}
452
+
/>
453
+
</div>
454
+
455
+
<div>
456
+
<label className="block text-sm font-medium text-gray-700 mb-2">
457
+
App Password
458
+
</label>
459
+
<input
460
+
className="w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent"
461
+
type="password"
462
+
placeholder="Not your regular password!"
463
+
value={appPassword}
464
+
onChange={(e) => setAppPassword(e.target.value)}
465
+
/>
466
+
<p className="text-xs text-gray-500 mt-1">
467
+
Generate this in your Bluesky settings
468
+
</p>
469
+
</div>
470
+
471
+
<button
472
+
className="w-full bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white py-3 rounded-xl font-medium transition-all duration-200 shadow-lg hover:shadow-xl"
473
+
onClick={login}
474
+
>
475
+
Connect to Bluesky
476
+
</button>
434
477
</div>
435
478
</div>
436
-
437
-
<div className="space-y-4">
438
-
<div>
439
-
<label className="block text-sm font-medium mb-2">
440
-
Upload your TikTok Following.txt file:
441
-
</label>
442
-
<input
443
-
type="file"
444
-
accept=".txt"
445
-
onChange={handleFileUpload}
446
-
className="border border-gray-300 p-2 rounded"
447
-
/>
479
+
</div>
480
+
)}
481
+
482
+
{/* Upload Step */}
483
+
{currentStep === 'upload' && (
484
+
<div className="p-6 max-w-md mx-auto mt-8">
485
+
<div className="bg-white rounded-2xl shadow-lg p-6 space-y-6">
486
+
<div className="text-center">
487
+
<div className="w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-2xl mx-auto mb-4 flex items-center justify-center">
488
+
<FileText className="w-8 h-8 text-white" />
489
+
</div>
490
+
<h2 className="text-2xl font-bold text-gray-900 mb-2">Upload Your Data</h2>
491
+
<p className="text-gray-600">Upload your TikTok following data to find matches</p>
448
492
</div>
449
-
450
-
{searchResults.length > 0 && (
451
-
<div className="flex flex-col space-y-4">
452
-
{isSearchingAll && (
453
-
<div className="flex items-center space-x-3 p-4 bg-blue-50 border border-blue-200 rounded-lg">
454
-
<div className="animate-spin h-5 w-5 border-2 border-blue-500 border-t-transparent rounded-full"></div>
455
-
<span className="text-blue-700 font-medium">
456
-
Searching Bluesky for all {searchResults.length} users...
457
-
</span>
493
+
494
+
<div className="space-y-4">
495
+
<div className="border-2 border-dashed border-gray-300 rounded-xl p-6 text-center hover:border-blue-400 transition-colors">
496
+
<Upload className="w-12 h-12 text-gray-400 mx-auto mb-3" />
497
+
<label className="cursor-pointer">
498
+
<span className="text-lg font-medium text-gray-700 block mb-1">
499
+
Choose File
500
+
</span>
501
+
<span className="text-sm text-gray-500 block mb-3">
502
+
Following.txt or TikTok data ZIP
503
+
</span>
504
+
<input
505
+
type="file"
506
+
accept=".txt,.zip"
507
+
onChange={handleFileUpload}
508
+
className="hidden"
509
+
/>
510
+
<div className="inline-block bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg font-medium transition-colors">
511
+
Browse Files
458
512
</div>
459
-
)}
460
-
461
-
{/* Debug Panel - Only show in debug mode */}
462
-
{debugMode && <DebugPanel session={session} />}
513
+
</label>
463
514
</div>
464
-
)}
515
+
516
+
<div className="bg-blue-50 rounded-xl p-4">
517
+
<h4 className="font-medium text-blue-900 mb-2">How to get your data:</h4>
518
+
<ol className="text-sm text-blue-800 space-y-1 list-decimal list-inside">
519
+
<li>Open TikTok app → Profile → Settings and privacy → Account → Download your data</li>
520
+
<li>Request data → Select "Request data"</li>
521
+
<li>Wait for notification your download is ready</li>
522
+
<li>Navigate back to Download your data</li>
523
+
<li>Download data → Select</li>
524
+
<li>Upload the Following.txt file here</li>
525
+
</ol>
526
+
</div>
527
+
</div>
465
528
</div>
529
+
</div>
530
+
)}
466
531
467
-
{searchResults.length > 0 && (
468
-
<div className="space-y-4">
469
-
<div className="flex justify-between items-center">
470
-
<h2 className="text-xl font-semibold">
471
-
Results ({searchResults.filter(r => r.bskyMatches.length > 0).length}/{searchResults.length} found)
472
-
</h2>
473
-
474
-
{/* Selection controls */}
475
-
<div className="flex items-center space-x-4">
476
-
<span className="text-sm text-gray-600">
477
-
{searchResults.reduce((total, result) => total + (result.selectedMatches?.size || 0), 0)} selected
478
-
</span>
479
-
<div className="flex space-x-2">
480
-
<button
481
-
onClick={selectAllMatches}
482
-
className="px-3 py-1 bg-blue-500 hover:bg-blue-600 text-white rounded text-sm"
483
-
>
484
-
Select All
485
-
</button>
486
-
<button
487
-
onClick={deselectAllMatches}
488
-
className="px-3 py-1 bg-gray-500 hover:bg-gray-600 text-white rounded text-sm"
489
-
>
490
-
Deselect All
491
-
</button>
492
-
<button
493
-
onClick={followSelectedUsers}
494
-
className="px-4 py-1 bg-green-500 hover:bg-green-600 text-white rounded text-sm font-medium"
495
-
>
496
-
Follow Selected
497
-
</button>
532
+
{/* Results Step */}
533
+
{currentStep === 'results' && (
534
+
<div className="pb-20">
535
+
{/* Search Progress */}
536
+
{isSearchingAll && (
537
+
<div className="bg-white border-b shadow-sm">
538
+
<div className="px-4 py-4">
539
+
<div className="flex items-center space-x-3">
540
+
<div className="animate-spin h-5 w-5 border-2 border-blue-500 border-t-transparent rounded-full"></div>
541
+
<div className="flex-1">
542
+
<div className="text-sm font-medium text-gray-900">
543
+
Searching Bluesky...
544
+
</div>
545
+
<div className="text-xs text-gray-500">
546
+
Finding matches for {searchResults.length} TikTok users
547
+
</div>
498
548
</div>
499
549
</div>
500
550
</div>
551
+
</div>
552
+
)}
553
+
554
+
{/* Stats Header */}
555
+
<div className="bg-white border-b">
556
+
<div className="px-4 py-4">
557
+
<div className="flex items-center justify-between mb-3">
558
+
<div>
559
+
<h2 className="text-lg font-bold text-gray-900">Results</h2>
560
+
<p className="text-sm text-gray-600">
561
+
{totalFound} of {searchResults.length} users found
562
+
</p>
563
+
</div>
564
+
<div className="text-right">
565
+
<div className="text-lg font-bold text-blue-600">{totalSelected}</div>
566
+
<div className="text-xs text-gray-500">selected</div>
567
+
</div>
568
+
</div>
501
569
502
-
{searchResults.map((result, index) => (
503
-
<div key={index} className="border border-gray-200 rounded-lg p-4 bg-white shadow-sm">
504
-
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4">
505
-
{/* TikTok User */}
506
-
<div>
507
-
<h3 className="font-semibold text-lg">TikTok: @{result.tiktokUser.username}</h3>
570
+
<div className="flex space-x-2">
571
+
<button
572
+
onClick={selectAllMatches}
573
+
className="flex-1 bg-blue-500 hover:bg-blue-600 text-white py-2 rounded-lg text-sm font-medium transition-colors"
574
+
>
575
+
Select All
576
+
</button>
577
+
<button
578
+
onClick={deselectAllMatches}
579
+
className="flex-1 bg-gray-500 hover:bg-gray-600 text-white py-2 rounded-lg text-sm font-medium transition-colors"
580
+
>
581
+
Clear
582
+
</button>
583
+
</div>
584
+
</div>
585
+
</div>
586
+
587
+
{/* Results List */}
588
+
<div className="space-y-2 p-4">
589
+
{searchResults.map((result, index) => (
590
+
<div key={index} className="bg-white rounded-xl shadow-sm border">
591
+
<div className="p-4">
592
+
{/* TikTok User Header */}
593
+
<div className="flex items-center justify-between mb-3">
594
+
<div className="flex items-center space-x-3">
595
+
<div className="w-10 h-10 bg-gradient-to-br from-pink-500 to-red-500 rounded-full flex items-center justify-center">
596
+
<span className="text-white font-bold text-sm">TT</span>
597
+
</div>
598
+
<div>
599
+
<div className="font-semibold text-gray-900">
600
+
@{result.tiktokUser.username}
601
+
</div>
602
+
<div className="text-xs text-gray-500">TikTok</div>
603
+
</div>
508
604
</div>
509
605
510
-
{/* Bluesky Results */}
511
-
<div>
512
-
{result.isSearching ? (
513
-
<div className="flex items-center space-x-2">
514
-
<div className="animate-spin h-4 w-4 border-2 border-blue-500 border-t-transparent rounded-full"></div>
515
-
<span className="text-gray-600">Searching...</span>
516
-
</div>
517
-
) : result.error ? (
518
-
<div className="text-red-600">Error: {result.error}</div>
519
-
) : result.bskyMatches.length === 0 ? (
520
-
<div className="text-gray-500 italic">No matches found</div>
521
-
) : (
522
-
<div className="space-y-2">
523
-
<div className="flex items-center justify-between">
524
-
<h4 className="font-medium">Bluesky matches:</h4>
525
-
{result.bskyMatches.length > 1 && (
526
-
<span className="text-xs text-gray-500">
527
-
{result.selectedMatches?.size || 0} of {result.bskyMatches.length} selected
606
+
{result.isSearching && (
607
+
<div className="animate-spin h-4 w-4 border-2 border-blue-500 border-t-transparent rounded-full"></div>
608
+
)}
609
+
</div>
610
+
611
+
{/* Bluesky Matches */}
612
+
{result.bskyMatches.length > 0 ? (
613
+
<div className="space-y-2">
614
+
{result.bskyMatches.map((match, matchIndex) => (
615
+
<div
616
+
key={matchIndex}
617
+
className={`flex items-center space-x-3 p-3 rounded-lg border transition-all ${
618
+
result.selectedMatches?.has(match.did)
619
+
? 'bg-blue-50 border-blue-200'
620
+
: 'bg-gray-50 border-gray-200'
621
+
} ${match.followed ? 'opacity-60' : ''}`}
622
+
>
623
+
<input
624
+
type="checkbox"
625
+
checked={result.selectedMatches?.has(match.did) || false}
626
+
onChange={() => toggleMatchSelection(index, match.did)}
627
+
disabled={match.followed}
628
+
className="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500"
629
+
/>
630
+
631
+
<div className="w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-600 rounded-full flex items-center justify-center">
632
+
<span className="text-white font-bold text-xs">BS</span>
633
+
</div>
634
+
635
+
<div className="flex-1 min-w-0">
636
+
<div className="flex items-center space-x-2">
637
+
<div className="font-medium text-gray-900 truncate">
638
+
@{match.handle}
639
+
</div>
640
+
<span className="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded flex-shrink-0">
641
+
{match.matchScore}% match
528
642
</span>
643
+
</div>
644
+
{match.displayName && (
645
+
<div className="text-sm text-gray-600 truncate">
646
+
{match.displayName}
647
+
</div>
529
648
)}
530
649
</div>
531
-
{result.bskyMatches.map((match: any, matchIndex: number) => (
532
-
<div key={matchIndex} className="flex items-center space-x-3 p-2 border rounded bg-gray-50">
533
-
<input
534
-
type="checkbox"
535
-
checked={result.selectedMatches?.has(match.did) || false}
536
-
onChange={() => toggleMatchSelection(index, match.did)}
537
-
className="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500"
538
-
disabled={match.followed}
539
-
/>
540
-
<div className="flex-1">
541
-
<div className="font-medium">
542
-
<a
543
-
href={`https://bsky.app/profile/${match.handle}`}
544
-
target="_blank"
545
-
rel="noopener noreferrer"
546
-
className="text-blue-600 hover:text-blue-800 hover:underline"
547
-
>
548
-
@{match.handle}
549
-
</a>
550
-
</div>
551
-
{match.displayName && (
552
-
<div className="text-sm text-gray-600">{match.displayName}</div>
553
-
)}
554
-
<div className="text-xs text-gray-400">
555
-
Match score: {match.matchScore}%
556
-
</div>
650
+
651
+
{match.followed && (
652
+
<div className="flex-shrink-0">
653
+
<div className="flex items-center space-x-1 bg-green-100 text-green-800 px-2 py-1 rounded-full text-xs">
654
+
<Check className="w-3 h-3" />
655
+
<span>Followed</span>
557
656
</div>
558
-
{match.followed && (
559
-
<span className="px-2 py-1 bg-green-100 text-green-800 rounded text-xs">
560
-
✓ Followed
561
-
</span>
562
-
)}
563
657
</div>
564
-
))}
658
+
)}
565
659
</div>
566
-
)}
660
+
))}
661
+
</div>
662
+
) : result.isSearching ? (
663
+
<div className="text-center py-4 text-gray-500">
664
+
<Search className="w-6 h-6 mx-auto mb-2 animate-pulse" />
665
+
<div className="text-sm">Searching for matches...</div>
666
+
</div>
667
+
) : (
668
+
<div className="text-center py-4 text-gray-400">
669
+
<X className="w-6 h-6 mx-auto mb-2" />
670
+
<div className="text-sm">No matches found</div>
567
671
</div>
568
-
</div>
672
+
)}
569
673
</div>
570
-
))}
571
-
</div>
572
-
)}
674
+
</div>
675
+
))}
676
+
</div>
677
+
</div>
678
+
)}
679
+
680
+
{/* Fixed Bottom Action Bar */}
681
+
{currentStep === 'results' && totalSelected > 0 && (
682
+
<div className="fixed bottom-0 left-0 right-0 bg-white border-t shadow-lg">
683
+
<div className="p-4">
684
+
<button
685
+
onClick={followSelectedUsers}
686
+
className="w-full bg-gradient-to-r from-blue-500 to-purple-600 hover:from-blue-600 hover:to-purple-700 text-white py-4 rounded-xl font-medium text-lg transition-all duration-200 shadow-lg hover:shadow-xl"
687
+
>
688
+
Follow {totalSelected} Selected Users
689
+
</button>
690
+
</div>
573
691
</div>
574
692
)}
575
693
</div>
576
694
);
577
695
}
578
696
579
-
// Debug Panel Component - Separated from main UI
580
-
function DebugPanel({ session }: { session: BskySession }) {
581
-
// Debug function to test search
582
-
async function testSearch(username: string) {
583
-
console.log(`\n=== Testing search for: "${username}" ===`);
697
+
// // Debug Panel Component - Separated from main UI
698
+
// function DebugPanel({ session }: { session: BskySession }) {
699
+
// // Debug function to test search
700
+
// async function testSearch(username: string) {
701
+
// console.log(`\n=== Testing search for: "${username}" ===`);
584
702
585
-
try {
586
-
const res = await fetch(
587
-
`${session.serviceEndpoint}/xrpc/app.bsky.actor.searchActors?q=${encodeURIComponent(username)}&limit=20`,
588
-
{ headers: { Authorization: `Bearer ${session.accessJwt}` } }
589
-
);
703
+
// try {
704
+
// const res = await fetch(
705
+
// `${session.serviceEndpoint}/xrpc/app.bsky.actor.searchActors?q=${encodeURIComponent(username)}&limit=20`,
706
+
// { headers: { Authorization: `Bearer ${session.accessJwt}` } }
707
+
// );
590
708
591
-
console.log('Response status:', res.status);
592
-
console.log('Response headers:', Object.fromEntries(res.headers.entries()));
709
+
// console.log('Response status:', res.status);
710
+
// console.log('Response headers:', Object.fromEntries(res.headers.entries()));
593
711
594
-
if (!res.ok) {
595
-
const errorText = await res.text();
596
-
console.log('Error response:', errorText);
597
-
return;
598
-
}
712
+
// if (!res.ok) {
713
+
// const errorText = await res.text();
714
+
// console.log('Error response:', errorText);
715
+
// return;
716
+
// }
599
717
600
-
const data = await res.json();
601
-
console.log('Raw API response:', data);
602
-
console.log(`Found ${data.actors?.length || 0} actors`);
718
+
// const data = await res.json();
719
+
// console.log('Raw API response:', data);
720
+
// console.log(`Found ${data.actors?.length || 0} actors`);
603
721
604
-
if (data.actors && data.actors.length > 0) {
605
-
data.actors.forEach((actor: any, i: number) => {
606
-
console.log(`${i + 1}. Handle: ${actor.handle}`);
607
-
console.log(` Display: ${actor.displayName || 'No display name'}`);
608
-
console.log(` DID: ${actor.did}`);
609
-
console.log(` Followers: ${actor.followersCount || 0}`);
610
-
});
611
-
} else {
612
-
console.log('No actors found in response');
613
-
}
722
+
// if (data.actors && data.actors.length > 0) {
723
+
// data.actors.forEach((actor: any, i: number) => {
724
+
// console.log(`${i + 1}. Handle: ${actor.handle}`);
725
+
// console.log(` Display: ${actor.displayName || 'No display name'}`);
726
+
// console.log(` DID: ${actor.did}`);
727
+
// console.log(` Followers: ${actor.followersCount || 0}`);
728
+
// });
729
+
// } else {
730
+
// console.log('No actors found in response');
731
+
// }
614
732
615
-
} catch (error) {
616
-
console.error('Search test error:', error);
617
-
}
618
-
}
733
+
// } catch (error) {
734
+
// console.error('Search test error:', error);
735
+
// }
736
+
// }
619
737
620
-
return (
621
-
<div className="border border-yellow-300 rounded-lg p-4 bg-yellow-50">
622
-
<h3 className="text-lg font-semibold mb-2 text-yellow-800">Debug Tools</h3>
623
-
<p className="text-sm text-yellow-700 mb-3">
624
-
These tools are only visible in debug mode. Check console for detailed logs.
625
-
</p>
626
-
<div className="flex space-x-2">
627
-
<button
628
-
className="px-3 py-1 bg-yellow-500 hover:bg-yellow-600 text-white rounded text-sm"
629
-
onClick={() => testSearch('joebasser')}
630
-
>
631
-
Test Search "joebasser"
632
-
</button>
633
-
<button
634
-
className="px-3 py-1 bg-yellow-500 hover:bg-yellow-600 text-white rounded text-sm"
635
-
onClick={() => testSearch('skylight.social')}
636
-
>
637
-
Test Search "skylight.social"
638
-
</button>
639
-
<button
640
-
className="px-3 py-1 bg-orange-500 hover:bg-orange-600 text-white rounded text-sm"
641
-
onClick={() => {
642
-
localStorage.removeItem('debug');
643
-
window.location.reload();
644
-
}}
645
-
>
646
-
Exit Debug Mode
647
-
</button>
648
-
</div>
649
-
</div>
650
-
);
651
-
}
738
+
// return (
739
+
// <div className="border border-yellow-300 rounded-lg p-4 bg-yellow-50">
740
+
// <h3 className="text-lg font-semibold mb-2 text-yellow-800">Debug Tools</h3>
741
+
// <p className="text-sm text-yellow-700 mb-3">
742
+
// These tools are only visible in debug mode. Check console for detailed logs.
743
+
// </p>
744
+
// <div className="flex space-x-2">
745
+
// <button
746
+
// className="px-3 py-1 bg-yellow-500 hover:bg-yellow-600 text-white rounded text-sm"
747
+
// onClick={() => testSearch('joebasser')}
748
+
// >
749
+
// Test Search "joebasser"
750
+
// </button>
751
+
// <button
752
+
// className="px-3 py-1 bg-yellow-500 hover:bg-yellow-600 text-white rounded text-sm"
753
+
// onClick={() => testSearch('skylight.social')}
754
+
// >
755
+
// Test Search "skylight.social"
756
+
// </button>
757
+
// <button
758
+
// className="px-3 py-1 bg-orange-500 hover:bg-orange-600 text-white rounded text-sm"
759
+
// onClick={() => {
760
+
// localStorage.removeItem('debug');
761
+
// window.location.reload();
762
+
// }}
763
+
// >
764
+
// Exit Debug Mode
765
+
// </button>
766
+
// </div>
767
+
// </div>
768
+
// );
769
+
// }
+4
src/index.css
+4
src/index.css
+11
tailwind.config.js
+11
tailwind.config.js