1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69488,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(43476),r=e.i(12995),i=e.i(71645);let n=()=>{let[e,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=setInterval(()=>{n(e=>(e+1)%r.carrouselImages.length)},1e4);return()=>{clearInterval(e)}},[]),(0,t.jsx)("div",{className:"relative mt-20 h-[120px] md:h-[200px] lg:h-[400px] py-8 bg-white flex flex-col justify-center items-center bg-cover bg-center bg-no-repeat transition-all duration-1000 ease-in-out lg:px-16",style:{backgroundImage:"url(".concat(r.carrouselImages[e],")")}})}},26677,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(43476),r=e.i(12497),i=e.i(99683),n=e.i(80083),a=e.i(212);let o={email:""},s=i.object({email:i.string().max(30,"Introduce un email valido").required().email()}),l=()=>{let e=(0,r.useFormik)({initialValues:o,validateOnBlur:!0,validationSchema:s,onSubmit:async(e,t)=>{let{resetForm:r}=t;r(),await (0,n.default)("registros",{email:e.email})}});return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("form",{onBlur:e.handleBlur,onSubmit:e.handleSubmit,children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row px-4",children:[(0,t.jsx)(a.Input,{type:"email",id:"email",placeholder:"Email",...e.getFieldProps("email"),className:"w-full py-2 px-4 text-footerBg outline-none rounded-2xl"}),e.touched.email&&e.errors.email?(0,t.jsx)("div",{className:"text-sm text-redText pt-1",children:e.errors.email}):null,(0,t.jsx)("button",{type:"submit",className:"mt-2 md:mt-0 px-6 py-2 text-white rounded-full bg-primary hover:bg-primaryLight focus:outline-none",children:"Go"})]})})})}},32177,13096,4942,e=>{"use strict";e.s(["default",()=>h],32177);var t=e.i(43476);e.s(["CursorArrowRaysIcon",()=>n],13096);var r=e.i(71645);function i(e,t){let{title:i,titleId:n,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},a),i?r.createElement("title",{id:n},i):null,r.createElement("path",{fillRule:"evenodd",d:"M12 1.5a.75.75 0 0 1 .75.75V4.5a.75.75 0 0 1-1.5 0V2.25A.75.75 0 0 1 12 1.5ZM5.636 4.136a.75.75 0 0 1 1.06 0l1.592 1.591a.75.75 0 0 1-1.061 1.06l-1.591-1.59a.75.75 0 0 1 0-1.061Zm12.728 0a.75.75 0 0 1 0 1.06l-1.591 1.592a.75.75 0 0 1-1.06-1.061l1.59-1.591a.75.75 0 0 1 1.061 0Zm-6.816 4.496a.75.75 0 0 1 .82.311l5.228 7.917a.75.75 0 0 1-.777 1.148l-2.097-.43 1.045 3.9a.75.75 0 0 1-1.45.388l-1.044-3.899-1.601 1.42a.75.75 0 0 1-1.247-.606l.569-9.47a.75.75 0 0 1 .554-.68ZM3 10.5a.75.75 0 0 1 .75-.75H6a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 10.5Zm14.25 0a.75.75 0 0 1 .75-.75h2.25a.75.75 0 0 1 0 1.5H18a.75.75 0 0 1-.75-.75Zm-8.962 3.712a.75.75 0 0 1 0 1.061l-1.591 1.591a.75.75 0 1 1-1.061-1.06l1.591-1.592a.75.75 0 0 1 1.06 0Z",clipRule:"evenodd"}))}let n=r.forwardRef(i);var a=e.i(22016),o=r,s=e.i(12995),l=e.i(57688);e.s(["default",()=>f],4942);var c=t,d=t;let u=e=>(0,d.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 85 36",className:"injected-svg","data-src":"https://static.elfsight.com/icons/app-all-in-one-reviews-logos-google-logo-multicolor.svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,d.jsxs)("g",{clipPath:"url(#a-1)",children:[(0,d.jsx)("path",{fill:"#4285F4",d:"M20.778 13.43h-9.862v2.927h6.994c-.345 4.104-3.76 5.854-6.982 5.854-4.123 0-7.72-3.244-7.72-7.791 0-4.43 3.429-7.841 7.73-7.841 3.317 0 5.272 2.115 5.272 2.115l2.049-2.122s-2.63-2.928-7.427-2.928C4.725 3.644 0 8.8 0 14.367c0 5.457 4.445 10.777 10.988 10.777 5.756 0 9.969-3.942 9.969-9.772 0-1.23-.179-1.941-.179-1.941Z"}),(0,d.jsx)("path",{fill:"#EA4335",d:"M28.857 11.312c-4.047 0-6.947 3.163-6.947 6.853 0 3.744 2.813 6.966 6.994 6.966 3.786 0 6.887-2.893 6.887-6.886 0-4.576-3.607-6.933-6.934-6.933Zm.04 2.714c1.99 0 3.876 1.609 3.876 4.201 0 2.538-1.878 4.192-3.885 4.192-2.205 0-3.945-1.766-3.945-4.212 0-2.394 1.718-4.181 3.954-4.181Z"}),(0,d.jsx)("path",{fill:"#FBBC05",d:"M43.965 11.312c-4.046 0-6.946 3.163-6.946 6.853 0 3.744 2.813 6.966 6.994 6.966 3.785 0 6.886-2.893 6.886-6.886 0-4.576-3.607-6.933-6.934-6.933Zm.04 2.714c1.99 0 3.876 1.609 3.876 4.201 0 2.538-1.877 4.192-3.885 4.192-2.205 0-3.945-1.766-3.945-4.212 0-2.394 1.718-4.181 3.955-4.181Z"}),(0,d.jsx)("path",{fill:"#4285F4",d:"M58.783 11.319c-3.714 0-6.634 3.253-6.634 6.904 0 4.16 3.385 6.918 6.57 6.918 1.97 0 3.017-.782 3.79-1.68v1.363c0 2.384-1.448 3.812-3.633 3.812-2.11 0-3.169-1.57-3.537-2.46l-2.656 1.11c.943 1.992 2.839 4.07 6.215 4.07 3.693 0 6.508-2.327 6.508-7.205V11.734h-2.897v1.17c-.89-.96-2.109-1.585-3.726-1.585Zm.269 2.709c1.821 0 3.69 1.554 3.69 4.21 0 2.699-1.865 4.187-3.73 4.187-1.98 0-3.823-1.608-3.823-4.161 0-2.653 1.914-4.236 3.863-4.236Z"}),(0,d.jsx)("path",{fill:"#EA4335",d:"M78.288 11.302c-3.504 0-6.446 2.788-6.446 6.901 0 4.353 3.28 6.934 6.782 6.934 2.924 0 4.718-1.6 5.789-3.032l-2.389-1.59c-.62.962-1.656 1.902-3.385 1.902-1.943 0-2.836-1.063-3.39-2.094l9.266-3.845-.48-1.126c-.896-2.207-2.984-4.05-5.747-4.05Zm.12 2.658c1.263 0 2.171.671 2.557 1.476l-6.187 2.586c-.267-2.002 1.63-4.062 3.63-4.062Z"}),(0,d.jsx)("path",{fill:"#34A853",d:"M67.425 24.727h3.044V4.359h-3.044v20.368Z"})]}),(0,d.jsx)("defs",{children:(0,d.jsx)("clipPath",{id:"a-1",children:(0,d.jsx)("path",{fill:"#fff",d:"M0 0h84.515v36H0z"})})})]});
1function f(){function e(e){let{count:t}=e;return(0,c.jsx)("div",{className:"flex gap-[2px] ",children:[1,2,3,4,5].map(e=>(0,c.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:e<=t?"#facc15":"#d1d5db",children:(0,c.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})},e))})}return(0,c.jsxs)("div",{className:"z-40 absolute -bottom-40 w-full max-w-xl mx-auto my-12 p-6 bg-white rounded-xl shadow-md",children:[(0,c.jsxs)("div",{className:"max-w-sm mx-auto flex flex-row gap-4 align-center justify-center",children:[(0,c.jsx)(u,{}),(0,c.jsx)("div",{className:" flex flex-col justify-center place-center",children:(0,c.jsx)("p",{className:"ml-4 text-center text-2xl md:text-3xl font-bold text-black text-center align-self-center",children:"RESEÃAS"})})]}),(0,c.jsxs)("div",{className:"ml-4 md:ml-24 text-center text-black flex flex-row gap-2 items-center align-baseline",children:[(0,c.jsx)("p",{className:"text-2xl font-bold",children:"4.9"}),(0,c.jsx)(e,{count:5}),(0,c.jsx)("p",{className:"text-sm text-blue-400",children:"(139)"})]})]})}function h(){let[e,r]=(0,o.useState)(0),[i,c]=(0,o.useState)(0),d=s.drsInfo[e],u=d.hero[i];return(0,o.useEffect)(()=>{let e=setInterval(()=>{c(e=>{let t=e+1;return t<d.hero.length?t:(r(e=>(e+1)%s.drsInfo.length),0)})},1e4);return()=>clearInterval(e)},[d]),(0,t.jsxs)("div",{className:"relative min-h-screen py-8 bg-white flex flex-col justify-center items-center bg-cover bg-center bg-no-repeat transition-all duration-1000 ease-in-out lg:px-16",style:{backgroundImage:"url(".concat(u,")")},children:[(0,t.jsxs)("div",{className:" z-10 flex flex-col pt-20 justify-center items-center lg:flex-row lg:pt-0 w-full h-full overflow-visible",children:[(0,t.jsx)("div",{className:"w-full lg:max-w-4xl gap-6 flex flex-col ",children:(0,t.jsxs)("div",{className:"flex flex-col justify-center items-center gap-10 p-6 lg:p-10 lg:mt-24",children:[(0,t.jsx)("h1",{className:"mb-4 text-4xl font-extrabold leading-none text-center tracking-tight text-white md:text-5xl lg:text-6xl",children:"Porque tu salud es nuestra prioridad!"}),(0,t.jsx)("p",{className:"mb-6 text-lg font-normal text-white lg:text-xl sm:px-16 xl:px-24 text-center ",children:"Servicios médicos integrales con tecnologÃa de última generación y un equipo comprometido con tu bienestar."}),(0,t.jsxs)(a.default,{href:"/contacto",className:"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-white bg-primary rounded-4xl hover:bg-primaryExtraLight focus:ring-4 focus:ring-blue-300 hover:text-black",children:["informate aquÃ",(0,t.jsx)(n,{width:24,height:24,className:"ms-2 "})]})]})}),(0,t.jsx)("div",{className:"relative w-3/4 md:px-0 md:w-2/3 lg:w-1/3 h-[540px] overflow-visible self-center ",children:(0,t.jsx)(l.default,{fill:!0,src:"/drs/dr_eco2.png",alt:"Imagen de ".concat(d.linkTitle),className:"object-contain",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"})})]}),(0,t.jsx)("div",{className:"absolute top-0 right-0 left-0 bottom-0 bg-linear-to-t from-transparent to-[rgba(0_0_0/0.9)]"}),(0,t.jsx)(f,{})]})}},45678,e=>{"use strict";e.s(["default",()=>m],45678);var t=e.i(43476),r=e.i(57688),i=e.i(22016),n=e.i(18566),a=e.i(71645);function o(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}let s=a.forwardRef(o);var l=a;function c(e,t){let{title:r,titleId:i,...n}=e;return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?l.createElement("title",{id:i},r):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18
118 6M6 6l12 12"}))}let d=l.forwardRef(c);var u=a;function f(e,t){let{title:r,titleId:i,...n}=e;return u.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?u.createElement("title",{id:i},r):null,u.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"}))}let h=u.forwardRef(f);var p=a,b=e.i(12995);let m=function(e){let{darkText:a}=e,o=(0,n.usePathname)(),[l,c]=(0,p.useState)(!1),[u,f]=(0,p.useState)(!1);function m(){c(!l)}return(0,p.useEffect)(()=>{let e=()=>{window.scrollY>50?f(!0):f(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("nav",{className:"px-4 pt-2 md:py-2 md:px-10 fixed top-0 right-0 left-0 z-50 flex transition-colors duration-300\n ".concat(u?"bg-white":"bg-transparent"),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between flex-1",children:[(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)(i.default,{href:"/",children:(0,t.jsx)("div",{className:"relative w-48 h-16 md:w-56 md:h-16 md:ml-6",children:u||a||l?(0,t.jsx)(r.default,{src:"/logo_horizontal_negro.png",alt:"",fill:!0,className:"object-contain"}):(0,t.jsx)(r.default,{src:"/logo_horizontal.png",alt:"",fill:!0,className:"object-contain"})})})}),(0,t.jsx)("div",{className:"hidden xl:flex items-center space-x-12 mx-6",children:b.navigation.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"".concat(o===e.href?" font-medium text-lg underline underline-offset-8":" font-normal text-md"," hover:text-hooverLink ").concat(u||a?"text-black":"text-white"," uppercase"),children:e.name},e.name))}),(0,t.jsxs)("div",{className:"transition hidden lg:flex items-center",children:[(0,t.jsx)(h,{width:32,height:"32",color:u?"#443d3d":"#fff"}),(0,t.jsx)("p",{className:"".concat(u?"text-black":"text-white"," px-4 text-lg"),children:"981356023"}),(0,t.jsx)(i.default,{href:"/#form",className:"flex px-4 py-1.5 text-lg font-medium border border-primary rounded-4xl transition ease-in-out hover:bg-primary hover:text-white bg-white text-primary",children:"Pide tu Cita"})]})]}),(0,t.jsx)("menu",{className:"xl:hidden z-[-1]",children:(0,t.jsx)("ul",{className:"flex-col items-left pl-8 self-end py-10 \n space-y-6 font-medium sm:w-auto sm:self-center shadow-md \n text-black bg-white ".concat(!l&&"hidden ").concat(l&&" absolute pt-32 top-0 md:top-0 left-0 right-0"),children:b.navigation.map(e=>(0,t.jsx)("li",{className:"text-lg lg:flex-grow hover:text-secundary transition ease-in-out delay-100",children:(0,t.jsx)(i.default,{href:e.href,className:"".concat(o===e.href?"font-medium":"font-normal"),onClick:m,children:e.name},e.name)},e.name))})}),(0,t.jsx)("div",{className:"inline-flex xl:hidden items-center justify-center rounded-md text-gray-400 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",children:(0,t.jsx)("button",{className:"not-sr-only xl:sr-only inline-flex hover:shadow-md items-center justify-center rounded-md p-2 text-gray-400 hover:bg-primary hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",onClick:m,children:l?(0,t.jsx)(d,{className:"block h-6 w-6","aria-hidden":"true"}):(0,t.jsx)(s,{className:"block h-6 w-6","aria-hidden":"true"})})})]})})}},91449,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(43476),r=e.i(18566),i=e.i(22016),n=e.i(32341);let a=()=>{let e=(0,r.useRouter)(),a=(0,r.usePathname)(),{user:o,logout:s}=(0,n.useAuth)(),l=async()=>{try{await s(),e.push("/login")}catch(e){console.error("Error al cerrar sesión:",e)}};return(0,t.jsxs)("div",{className:"flex justify-between items-center py-6 px-8 border-b border-gray-200",children:[(0,t.jsx)("div",{className:"flex items-center gap-4",children:"/admin"!==a?(0,t.jsx)(i.default,{href:"/admin",className:"py-1 px-3 bg-primary text-white text-lg rounded-lg hover:bg-primary/90 transition-colors",children:"Admin"}):(0,t.jsx)(i.default,{href:"/",className:"py-1 px-3 bg-primary text-white text-lg rounded-lg hover:bg-primary/90 transition-colors",children:"Home"})}),(0,t.jsx)("div",{className:"flex items-center gap-4",children:o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[o.photoURL&&(0,t.jsx)("img",{src:o.photoURL,alt:o.displayName||"Usuario",className:"w-8 h-8 rounded-full"}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:o.displayName||o.email})]}),(0,t.jsx)("button",{onClick:l,className:"py-1 px-3 bg-red-500 text-white text-lg rounded-lg hover:bg-red-600 transition-colors",children:"Cerrar Sesión"})]})})]})}},55516,e=>{"use strict";e.s(["default",()=>s]);var t=e.i(43476),r=e.i(22016),i=e.i(18566);let n={patients:"Pacientes","pacientes-dentales":"Pacientes Dentales","patients-eco":"Pacientes Ecos",facturas:"Facturas Dentales",ecos:"Facturas Pacientes Ecos",contabilidad:"Contabilidad",citas:"Solicitud de Citas",jornada:"Jornada",informes:"Informes"};function a(e,t){let r=n[e];return r||("informes"===t?"Informe":"Historia")}
1function o(e){let t,r=e.split("/").filter(Boolean),i=[{href:"/admin",label:"Panel de Administración"}],n="/admin";for(let e=1;e<r.length;e++){let o=r[e];n+="/".concat(o),i.push({href:n,label:a(o,t)}),t=o}return i}function s(){let e=(0,i.usePathname)();if(!e.startsWith("/admin"))return null;let n=o(e);return(0,t.jsx)("nav",{"aria-label":"breadcrumb",className:"px-8 py-3 text-sm",children:(0,t.jsx)("ol",{className:"flex items-center gap-2 text-gray-600",children:n.map((e,i)=>i===n.length-1?(0,t.jsx)("li",{"aria-current":"page",className:"text-gray-900 font-medium",children:e.label},e.href):(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[(0,t.jsx)(r.default,{href:e.href,className:"text-primary hover:text-primary/80 transition-colors",children:e.label}),(0,t.jsx)("span",{className:"text-gray-400",children:"/"})]},e.href))})})}},94151,e=>{"use strict";e.s(["default",()=>s],94151);var t=e.i(43476),r=e.i(66832),i=e.i(71645);function n(e,t){let{title:r,titleId:n,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},a),r?i.createElement("title",{id:n},r):null,i.createElement("path",{fillRule:"evenodd",d:"M16.72 7.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1 0 1.06l-3.75 3.75a.75.75 0 1 1-1.06-1.06l2.47-2.47H3a.75.75 0 0 1 0-1.5h16.19l-2.47-2.47a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}let a=i.forwardRef(n);var o=e.i(22016);let s=e=>{let{img:i,href:n,imgAlt:s,Svg:l,title:c,ptitle:d}=e;return(0,t.jsxs)("div",{className:"flex flex-col items-center rounded-b-xl w-[350px] shadow-lg hover:shadow-2xl h-full",children:[(0,t.jsx)(r.Image,{alt:s||"Card Image",height:300,src:i,width:400,radius:"none",isZoomed:!0}),(0,t.jsxs)("div",{className:"px-2 w-[300px] py-8 mb-auto relative",children:[(0,t.jsx)("h4",{className:"py-4 text-2xl font-bold text-black",children:c}),(0,t.jsx)("p",{className:"text-gray-600",children:d}),(0,t.jsx)("div",{className:"absolute -top-16 left-2 rounded-full size-24 bg-primary border-6 border-white z-10 flex justify-center items-center",children:(0,t.jsx)(l,{fill:"#FFF",width:46,height:46})})]}),(0,t.jsxs)(o.default,{href:n,className:"self-end flex place-content-center pr-8 text-primary hover:text-footerBg",children:[(0,t.jsx)("p",{className:" font-bold",children:"más información"}),(0,t.jsx)(a,{width:24,height:24,className:"ms-2 inline-block mb-4"})]})]})}},73734,e=>{"use strict";e.s(["default",()=>nW,"services",()=>nU],73734);var t=e.i(43476),r=e.i(71645),i=e.i(25416),n=e.i(15944),a=e.i(95494),o=t,s=(0,r.forwardRef)(function(e,t){var r,i;let s=(0,a.useProviderContext)(),l=null!=(i=null!=(r=e.validationBehavior)?r:null==s?void 0:s.validationBehavior)?i:"native";return(0,o.jsx)(n.Form,{...e,ref:t,validationBehavior:l})}),l=e.i(35889),c=t,d=e=>{let{strokeWidth:t=1.5,...r}=e;
1return(0,c.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:t,viewBox:"0 0 24 24",width:"1em",...r,children:(0,c.jsx)("path",{d:"m18 15-6-6-6 6"})})},u=t,f=e=>{let{strokeWidth:t=1.5,...r}=e;return(0,u.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:t,viewBox:"0 0 24 24",width:"1em",...r,children:(0,u.jsx)("path",{d:"m6 9 6 6 6-6"})})},h=t,p=e=>{let{direction:t,...r}=e;return(0,h.jsx)(l.Button,{disableRipple:!0,isIconOnly:!0,...r,children:"up"==t?(0,h.jsx)(d,{}):(0,h.jsx)(f,{})})};p.displayName="HeroUI.NumberInputStepper";var b=p,m=e.i(50065),g=e.i(73830),v=a,y=e.i(55483),x=e.i(29427),w=e.i(84898),_=e.i(79754),S=(0,w.tv)({slots:{base:"group flex flex-col data-[hidden=true]:hidden",label:["absolute","z-10","pointer-events-none","origin-top-left","flex-shrink-0","rtl:origin-top-right","subpixel-antialiased","block","text-small","text-foreground-500"],mainWrapper:"h-full",inputWrapper:"relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",innerWrapper:"inline-flex w-full items-center h-full box-border",input:["w-full font-normal bg-transparent !outline-solid outline-transparent placeholder:text-foreground-500 focus-visible:outline-solid outline-transparent","data-[has-start-content=true]:ps-1.5","data-[has-end-content=true]:pe-1.5","autofill:bg-transparent bg-clip-text"],clearButton:["p-2","-m-2","z-10","end-3","start-auto","pointer-events-none","appearance-none","outline-solid outline-transparent","select-none","opacity-0","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",..._.dataFocusVisibleClasses],stepperButton:["bg-transparent","flex","justify-center","items-center","before:absolute","before:w-8","before:h-8","before:rounded-full","after:shadow-small","after:bg-background","data-[focused=true]:z-10","min-w-5","w-5","h-5","overflow-visible","transition-opacity","data-[hover=true]:opacity-70","data-[pressed=true]:opacity-disabled"],stepperWrapper:["flex","flex-col","ps-1","h-full","justify-center"],helperWrapper:"hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger"},variants:{variant:{flat:{inputWrapper:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-100"]},faded:{inputWrapper:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400 focus-within:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground"},bordered:{inputWrapper:["border-medium","border-default-200","data-[hover=true]:border-default-400","group-data-[focus=true]:border-default-foreground"]},underlined:{inputWrapper:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","group-data-[focus=true]:after:w-full"],innerWrapper:"pb-1",label:"group-data-[filled-within=true]:text-foreground"}},color:{default:{},primary:{stepperButton:"text-primary"},secondary:{stepperButton:"text-secondary"},success:{stepperButton:"text-success"},warning:{stepperButton:"text-warning"},danger:{stepperButton:"text-danger"}},size:{sm:{label:"text-tiny",inputWrapper:"h-8 min-h-8 px-2 rounded-small",input:"text-small",clearButton:"text-medium"},md:{inputWrapper:"h-10 min-h-10 rounded-medium",input:"text-small",clearButton:"text-large"},lg:{label:"text-medium",inputWrapper:"h-12 min-h-12 rounded-large",input:"text-medium",clearButton:"text-large"}},radius:{none:{inputWrapper:"rounded-none"},sm:{inputWrapper:"rounded-small"},md:{inputWrapper:"rounded-medium"},lg:{inputWrapper:"rounded-large"},full:{inputWrapper:"rounded-full"}},labelPlacement:{outside:{mainWrapper:"flex flex-col",stepperButton:"min-w-3 w-3 h-3"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",inputWrapper:"flex-1",mainWrapper:"flex flex-col",label:"relative text-foreground pe-2 ps-2 pointer-events-auto",stepperButton:"min-w-3 w-3 h-3"},inside:{label:"cursor-text",inputWrapper:"flex-col items-start justify-center gap-0",innerWrapper:"group-data-[has-label=true]:items-end"}},fullWidth:{true:{base:"w-full"},false:{}},isClearable:{true:{input:"peer pe-6 input-search-cancel-button-none",clearButton:["peer-data-[filled=true]:pointer-events-auto","peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block","peer-data-[filled=true]:scale-100"]}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",inputWrapper:"pointer-events-none",label:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",input:"!placeholder:text-danger !text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ms-0.5"}},disableAnimation:{true:{input:"transition-none",inputWrapper:"transition-none",label:"transition-none"},false:{inputWrapper:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","!duration-200","!ease-out","motion-reduce:transition-none","transition-[transform,color,left,opacity,translate,scale]"],clearButton:["scale-90","ease-out","duration-150","transition-[opacity,transform]","motion-reduce:transition-none","motion-reduce:scale-100"]}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,labelPlacement:"inside",isDisabled:!1},compoundVariants:[{variant:"flat",color:"default",class:{input:"group-data-[has-value=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{inputWrapper:["bg-primary-100","data-[hover=true]:bg-primary-50","text-primary","group-data-[focus=true]:bg-primary-50","placeholder:text-primary"],input:"placeholder:text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{inputWrapper:["bg-secondary-100","text-secondary","data-[hover=true]:bg-secondary-50","group-data-[focus=true]:bg-secondary-50","placeholder:text-secondary"],input:"placeholder:text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{inputWrapper:["bg-success-100","text-success-600","dark:text-success","placeholder:text-success-600","dark:placeholder:text-success","data-[hover=true]:bg-success-50","group-data-[focus=true]:bg-success-50"],input:"placeholder:text-success-600 dark:placeholder:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{inputWrapper:["bg-warning-100","text-warning-600","dark:text-warning","placeholder:text-warning-600","dark:placeholder:text-warning","data-[hover=true]:bg-warning-50","group-data-[focus=true]:bg-warning-50"],input:"placeholder:text-warning-600 dar
1k:placeholder:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{inputWrapper:["bg-danger-100","text-danger","dark:text-danger-500","placeholder:text-danger","dark:placeholder:text-danger-500","data-[hover=true]:bg-danger-50","group-data-[focus=true]:bg-danger-50"],input:"placeholder:text-danger dark:placeholder:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{label:"text-primary",inputWrapper:"data-[hover=true]:border-primary focus-within:border-primary"}},{variant:"faded",color:"secondary",class:{label:"text-secondary",inputWrapper:"data-[hover=true]:border-secondary focus-within:border-secondary"}},{variant:"faded",color:"success",class:{label:"text-success",inputWrapper:"data-[hover=true]:border-success focus-within:border-success"}},{variant:"faded",color:"warning",class:{label:"text-warning",inputWrapper:"data-[hover=true]:border-warning focus-within:border-warning"}},{variant:"faded",color:"danger",class:{label:"text-danger",inputWrapper:"data-[hover=true]:border-danger focus-within:border-danger"}},{variant:"underlined",color:"default",class:{input:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{inputWrapper:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{inputWrapper:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{inputWrapper:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{inputWrapper:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{inputWrapper:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{inputWrapper:"group-data-[focus=true]:border-primary",label:"text-primary"}},{variant:"bordered",color:"secondary",class:{inputWrapper:"group-data-[focus=true]:border-secondary",label:"text-secondary"}},{variant:"bordered",color:"success",class:{inputWrapper:"group-data-[focus=true]:border-success",label:"text-success"}},{variant:"bordered",color:"warning",class:{inputWrapper:"group-data-[focus=true]:border-warning",label:"text-warning"}},{variant:"bordered",color:"danger",class:{inputWrapper:"group-data-[focus=true]:border-danger",label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled-within=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled-within=true]:text-foreground"}},{radius:"full",size:["sm"],class:{inputWrapper:"px-3"}},{radius:"full",size:"md",class:{inputWrapper:"px-4"}},{radius:"full",size:"lg",class:{inputWrapper:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{inputWrapper:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{inputWrapper:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{inputWrapper:[..._.groupDataFocusVisibleClasses]}},{isInvalid:!0,variant:"flat",class:{inputWrapper:["!bg-danger-50","data-[hover=true]:!bg-danger-100","group-data-[focus=true]:!bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{inputWrapper:"!border-danger group-data-[focus=true]:!border-danger"}},{isInvalid:!0,variant:"underlined",class:{inputWrapper:"after:!bg-danger"}},{labelPlacement:"inside",size:"sm",class:{inputWrapper:"h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{inputWrapper:"h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{inputWrapper:"h-16 py-2.5 gap-0"}},{labelPlacement:"inside",size:"sm",variant:["bordered","faded"],class:{inputWrapper:"py-1"}},{labelPlacement:["inside","outside"],class:{label:["group-data-[filled-within=true]:pointer-events-auto"]}},{labelPlacement:"outside",class:{base:"relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled-within=true]:start-0"]}},{labelPlacement:["inside"],class:{label:["group-data-[filled-within=true]:scale-85"]}},{labelPlacement:"inside",size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-tiny)/2_-_8px)]"]}},{labelPlacement:"inside",size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_6px)]"]}},{labelPlacement:"inside",size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_8px)]"]}},{labelPlacement:["inside"],variant:"flat",class:{innerWrapper:"pb-0.5"}},{variant:"underlined",size:"sm",class:{innerWrapper:"pb-1"}},{variant:"underlined",size:["md","lg"],class:{innerWrapper:"pb-1.5"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small",stepperButton:"before:h-6"}},{labelPlacement:"inside",variant:["faded","bordered"],size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-tiny)/2_-_8px_-_var(--heroui-border-width-medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_6px_-_var(--heroui-border-width-medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_8px_-_var(--heroui-border-width-medium))]"]}},{labelPlacement:"inside",variant:"underlined",size:"sm",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"md",class:{label:["group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",size:"lg",class:{label:["text-medium","group-data-[filled-within=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",class:{label:["start-2","text-tiny","group-data-[filled-within=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-tiny)/2_+_16px)]"],base:"data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_8px)]",stepperButton:"before:h-4"}},{labelPlacement:"outside",size:"md",class:{label:["start-3","end-auto","text-small","group-data-[filled-within=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_20px)]"],base:"data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_10px)]",stepperButton:"before:h-4"}},{labelPlacement:"outside",size:"lg",class:{label:["start-3","end-auto","text-medium","group-data-[filled-within=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_24px)]"],base:"data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_12px)]",stepperButton:"min-4 w-4 h-4 before:h-6"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2",stepperButton:"before:h-4"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3",stepperButton:"before:h-4"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4",stepperButton:"min-4 w-4 h-4 before:h-6"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{isClearable:!0,isDisabled:!0,class:{clearButton:"peer-data-[filled=true]:pointer-events-none"}}]}),M=e.i(20253),j=e.i(19477),k=e.i(16231),E=e.i(71330),A=e.i(43027),P=e.i(96102),N=e.i(75540),R=e.i(68919),I=e.i(35190),C=e.i(75695),B=e.i(37598),T=e.i(14275),O=r;function D(e){let{minValue:t,maxValue:r,step:i,formatOptions:n,value:a,defaultValue:o=NaN,onChange:s,locale:l,isDisabled:c,isReadOnly:d}=e;
1null===a&&(a=NaN),void 0===a||isNaN(a)||(a=void 0===i||isNaN(i)?(0,R.clamp)(a,t,r):(0,R.snapValueToStep)(a,t,r,i)),isNaN(o)||(o=void 0===i||isNaN(i)?(0,R.clamp)(o,t,r):(0,R.snapValueToStep)(o,t,r,i));let[u,f]=(0,I.useControlledState)(a,isNaN(o)?NaN:o,s),[h]=(0,O.useState)(u),[p,b]=(0,O.useState)(()=>isNaN(u)?"":new(0,B.NumberFormatter)(l,n).format(u)),m=(0,O.useMemo)(()=>new(0,T.NumberParser)(l,n),[l,n]),g=(0,O.useMemo)(()=>m.getNumberingSystem(p),[m,p]),v=(0,O.useMemo)(()=>new(0,B.NumberFormatter)(l,{...n,numberingSystem:g}),[l,n,g]),y=(0,O.useMemo)(()=>v.resolvedOptions(),[v]),x=(0,O.useCallback)(e=>isNaN(e)||null===e?"":v.format(e),[v]),w=(0,C.useFormValidationState)({...e,value:u}),_=void 0===i||isNaN(i)?1:i;"percent"===y.style&&(void 0===i||isNaN(i))&&(_=.01);let[S,M]=(0,O.useState)(u),[j,k]=(0,O.useState)(l),[E,A]=(0,O.useState)(n);Object.is(u,S)&&l===j&&n===E||(b(x(u)),M(u),k(l),A(n));let P=(0,O.useMemo)(()=>m.parse(p),[m,p]),N=()=>{let e;if(!p.length){f(NaN),b(void 0===a?"":x(u));return}if(isNaN(P))return void b(x(u));e=void 0===i||isNaN(i)?(0,R.clamp)(P,t,r):(0,R.snapValueToStep)(P,t,r,i),f(e=m.parse(x(e))),b(x(void 0===a?e:u)),w.commitValidation()},D=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=P;if(isNaN(n)){let e=isNaN(i)?0:i;return(0,R.snapValueToStep)(e,t,r,_)}{let i=(0,R.snapValueToStep)(n,t,r,_);return"+"===e&&i>n||"-"===e&&i<n?i:(0,R.snapValueToStep)(z(e,n,_),t,r,_)}},L=()=>{let e=D("+",t);e===u&&b(x(e)),f(e),w.commitValidation()},q=()=>{let e=D("-",r);e===u&&b(x(e)),f(e),w.commitValidation()},F=()=>{null!=r&&(f((0,R.snapValueToStep)(r,t,r,_)),w.commitValidation())},U=()=>{null!=t&&(f(t),w.commitValidation())},W=(0,O.useMemo)(()=>!c&&!d&&(isNaN(P)||void 0===r||isNaN(r)||(0,R.snapValueToStep)(P,t,r,_)>P||z("+",P,_)<=r),[c,d,t,r,_,P]),V=(0,O.useMemo)(()=>!c&&!d&&(isNaN(P)||void 0===t||isNaN(t)||(0,R.snapValueToStep)(P,t,r,_)<P||z("-",P,_)>=t),[c,d,t,r,_,P]),K=e=>m.isValidPartialNumber(e,t,r);return{...w,validate:K,increment:L,incrementToMax:F,decrement:q,decrementToMin:U,canIncrement:W,canDecrement:V,minValue:t,maxValue:r,numberValue:P,defaultNumberValue:isNaN(o)?h:o,setNumberValue:f,setInputValue:b,inputValue:p,commit:N}}function z(e,t,r){let i="+"===e?t+r:t-r;if(t%1!=0||r%1!=0){let n=t.toString().split("."),a=r.toString().split("."),o=Math.pow(10,Math.max(n[1]&&n[1].length||0,a[1]&&a[1].length||0));t=Math.round(t*o),r=Math.round(r*o),i=("+"===e?t+r:t-r)/o}return i}var L={},q={},F={},U={},W={},V={},K={},H={},G={},Z={},J={},Y={},X={},$={},Q={},ee={},et={},er={},ei={},en={},ea={},eo={},es={},el={},ec={},ed={},eu={},ef={},eh={},ep={},eb={},em={},eg={},ev={},ey={};ey={"ar-AE":L={decrease:e=>"Ø®ÙØ¶ ".concat(e.fieldLabel),increase:e=>"Ø²ÙØ§Ø¯Ø© ".concat(e.fieldLabel),numberField:"ØÙ٠رÙÙ
Ù"},"bg-BG":q={decrease:e=>"ÐамалÑване ".concat(e.fieldLabel),increase:e=>"УÑилване ".concat(e.fieldLabel),numberField:"ÐÐ¾Ð¼ÐµÑ Ð½Ð° полеÑо"},"cs-CZ":F={decrease:e=>"SnÞit ".concat(e.fieldLabel),increase:e=>"Zvýšit ".concat(e.fieldLabel),numberField:"ÄÃselné pole"},"da-DK":U={decrease:e=>"Reducer ".concat(e.fieldLabel),increase:e=>"Ãg ".concat(e.fieldLabel),numberField:"Talfelt"},"de-DE":W={decrease:e=>"".concat(e.fieldLabel," verringern"),increase:e=>"".concat(e.fieldLabel," erhöhen"),numberField:"Nummernfeld"},"el-GR":V={decrease:e=>"ÎείÏÏη ".concat(e.fieldLabel),increase:e=>"ÎÏξηÏη ".concat(e.fieldLabel),numberField:"Πεδίο αÏιθμοÏ"},"en-US":K={decrease:e=>"Decrease ".concat(e.fieldLabel),increase:e=>"Increase ".concat(e.fieldLabel),numberField:"Number field"},"es-ES":H={decrease:e=>"Reducir ".concat(e.fieldLabel),increase:e=>"Aumentar ".concat(e.fieldLabel),numberField:"Campo de número"},"et-EE":G={decrease:e=>"Vähenda ".concat(e.fieldLabel),increase:e=>"Suurenda ".concat(e.fieldLabel),numberField:"Numbri väli"},"fi-FI":Z={decrease:e=>"Vähennä ".concat(e.fieldLabel),increase:e=>"Lisää ".concat(e.fieldLabel),numberField:"Numerokenttä"},"fr-FR":J={decrease:e=>"Diminuer ".concat(e.fieldLabel),increase:e=>"Augmenter ".concat(e.fieldLabel),numberField:"Champ de nombre"},"he-IL":Y={decrease:e=>"××§×× ".concat(e.fieldLabel),increase:e=>"×××× ".concat(e.fieldLabel),numberField:"ש×× ×ספר"},"hr-HR":X={decrease:e=>"Smanji ".concat(e.fieldLabel),increase:e=>"PoveÄaj ".concat(e.fieldLabel),numberField:"Polje broja"},"hu-HU":$={decrease:e=>"".concat(e.fieldLabel," csökkentése"),increase:e=>"".concat(e.fieldLabel," növelése"),numberField:"SzámmezÅ"},"it-IT":Q={decrease:e=>"Riduci ".concat(e.fieldLabel),increase:e=>"Aumenta ".concat(e.fieldLabel),numberField:"Campo numero"},"ja-JP":ee={decrease:e=>"".concat(e.fieldLabel,"ã縮å°"),increase:e=>"".concat(e.fieldLabel,"ãæ¡å¤§"),numberField:"æ°å¤ãã£ã¼ã«ã"},"ko-KR":et={decrease:e=>"".concat(e.fieldLabel," ê°ì"),increase:e=>"".concat(e.fieldLabel," ì¦ê°"),numberField:"ë²í¸ íë"},"lt-LT":er={decrease:e=>"Sumažinti ".concat(e.fieldLabel),increase:e=>"Padidinti ".concat(e.fieldLabel),numberField:"Numerio laukas"},"lv-LV":ei={decrease:e=>"SamazinÄÅ¡ana ".concat(e.fieldLabel),increase:e=>"PalielinÄÅ¡ana ".concat(e.fieldLabel),numberField:"Skaitļu lauks"},"nb-NO":en={decrease:e=>"Reduser ".concat(e.fieldLabel),increase:e=>"Ãk ".concat(e.fieldLabel),numberField:"Tallfelt"},"nl-NL":ea={decrease:e=>"".concat(e.fieldLabel," verlagen"),increase:e=>"".concat(e.fieldLabel," verhogen"),numberField:"Getalveld"},"pl-PL":eo={decrease:e=>"Zmniejsz ".concat(e.fieldLabel),increase:e=>"ZwiÄksz ".concat(e.fieldLabel),numberField:"Pole numeru"},"pt-BR":es={decrease:e=>"Diminuir ".concat(e.fieldLabel),increase:e=>"Aumentar ".concat(e.fieldLabel),numberField:"Campo de número"},"pt-PT":el={decrease:e=>"Diminuir ".concat(e.fieldLabel),increase:e=>"Aumentar ".concat(e.fieldLabel),numberField:"Campo numérico"},"ro-RO":ec={decrease:e=>"ScÄdere ".concat(e.fieldLabel),increase:e=>"CreÈtere ".concat(e.fieldLabel),numberField:"Câmp numeric"},"ru-RU":ed={decrease:e=>"УменÑÑение ".concat(e.fieldLabel),increase:e=>"УвелиÑение ".concat(e.fieldLabel),numberField:"ЧиÑловое поле"},"sk-SK":eu={decrease:e=>"ZnÞiÅ¥ ".concat(e.fieldLabel),increase:e=>"ZvýšiÅ¥ ".concat(e.fieldLabel),numberField:"ÄÃselné pole"},"sl-SI":ef={decrease:e=>"Upadati ".concat(e.fieldLabel),increase:e=>"PoveÄajte ".concat(e.fieldLabel),numberField:"Å tevilÄno polje"},"sr-SP":eh={decrease:e=>"Smanji ".concat(e.fieldLabel),increase:e=>"PoveÄaj ".concat(e.fieldLabel),numberField:"Polje broja"},"sv-SE":ep={decrease:e=>"Minska ".concat(e.fieldLabel),increase:e=>"Ãka ".concat(e.fieldLabel),numberField:"Nummerfält"}
1,"tr-TR":eb={decrease:e=>"".concat(e.fieldLabel," azalt"),increase:e=>"".concat(e.fieldLabel," arttır"),numberField:"Sayı alanı"},"uk-UA":em={decrease:e=>"ÐменÑиÑи ".concat(e.fieldLabel),increase:e=>"ÐбÑлÑÑиÑи ".concat(e.fieldLabel),numberField:"Ðоле номеÑа"},"zh-CN":eg={decrease:e=>"éä½ ".concat(e.fieldLabel),increase:e=>"æé« ".concat(e.fieldLabel),numberField:"æ°ååæ®µ"},"zh-TW":ev={decrease:e=>"ç¸®å° ".concat(e.fieldLabel),increase:e=>"æ¾å¤§ ".concat(e.fieldLabel),numberField:"æ¸åæ¬ä½"}};var ex=e.i(20246),ew=e.i(11733),e_=e.i(69080),eS=e.i(74501),eM=e.i(14279),ej=e.i(50179),ek=r,eE=C,eA=e.i(82234),eP=k,eN=r,eR=e.i(83753);function eI(e,t){let{onScroll:r,isDisabled:i}=e,n=(0,eN.useCallback)(e=>{!e.ctrlKey&&(e.preventDefault(),e.stopPropagation(),r&&r({deltaX:e.deltaX,deltaY:e.deltaY}))},[r]);(0,eR.useEvent)(t,"wheel",i?void 0:n)}var eC=e.i(57345),eB=e.i(91247),eT=ej,eO=r;function eD(){return"undefined"!=typeof window&&window.InputEvent&&"function"==typeof InputEvent.prototype.getTargetRanges}function ez(e,t,r){let i=(0,eB.useEffectEvent)(e=>{let i=r.current;if(!i)return;let n=null;switch(e.inputType){case"historyUndo":case"historyRedo":case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":n=i.value.slice(0,i.selectionStart)+i.value.slice(i.selectionEnd);break;case"deleteContentForward":n=i.selectionEnd===i.selectionStart?i.value.slice(0,i.selectionStart)+i.value.slice(i.selectionEnd+1):i.value.slice(0,i.selectionStart)+i.value.slice(i.selectionEnd);break;case"deleteContentBackward":n=i.selectionEnd===i.selectionStart?i.value.slice(0,i.selectionStart-1)+i.value.slice(i.selectionStart):i.value.slice(0,i.selectionStart)+i.value.slice(i.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":n=i.value.slice(i.selectionStart);break;default:null!=e.data&&(n=i.value.slice(0,i.selectionStart)+e.data+i.value.slice(i.selectionEnd))}null!=n&&t.validate(n)||e.preventDefault()});(0,eO.useEffect)(()=>{if(!eD()||!r.current)return;let e=r.current;return e.addEventListener("beforeinput",i,!1),()=>{e.removeEventListener("beforeinput",i,!1)}},[r,i]);let n=eD()?null:e=>{let r=e.target.value.slice(0,e.target.selectionStart)+e.data+e.target.value.slice(e.target.selectionEnd);t.validate(r)||e.preventDefault()},{labelProps:a,inputProps:o,descriptionProps:s,errorMessageProps:l,...c}=(0,eC.useTextField)(e,r),d=(0,eO.useRef)(null);return{inputProps:(0,eT.mergeProps)(o,{onBeforeInput:n,onCompositionStart(){let{value:e,selectionStart:t,selectionEnd:i}=r.current;d.current={value:e,selectionStart:t,selectionEnd:i}},onCompositionEnd(){if(r.current&&!t.validate(r.current.value)){let{value:e,selectionStart:i,selectionEnd:n}=d.current;r.current.value=e,r.current.setSelectionRange(i,n),t.setInputValue(e)}}}),labelProps:a,descriptionProps:s,errorMessageProps:l,...c}}var eL=e.i(52893),eq=P,eF=B,eU=r;function eW(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{locale:t}=(0,eq.useLocale)();return(0,eU.useMemo)(()=>new(0,eF.NumberFormatter)(t,e),[t,e])}var eV=e.i(13188);function eK(e){return e&&e.__esModule?e.default:e}function eH(e,t,r){var i;let n,{id:a,decrementAriaLabel:o,incrementAriaLabel:s,isDisabled:l,isReadOnly:c,isRequired:d,minValue:u,maxValue:f,autoF
1ocus:h,label:p,formatOptions:b,onBlur:m=()=>{},onFocus:g,onFocusChange:v,onKeyDown:y,onKeyUp:x,description:w,errorMessage:_,isWheelDisabled:S,...M}=e,{increment:j,incrementToMax:k,decrement:E,decrementToMin:A,numberValue:P,inputValue:N,commit:R,commitValidation:I}=t,C=(0,eL.useLocalizedStringFormatter)(eK(ey),"@react-aria/numberfield"),B=(0,ex.useId)(a),{focusProps:T}=(0,eA.useFocus)({onBlur(){R()}}),O=eW(b),D=(0,ek.useMemo)(()=>O.resolvedOptions(),[O]),z=eW({...b,currencySign:void 0}),L=(0,ek.useMemo)(()=>isNaN(P)?"":z.format(P),[z,P]),{spinButtonProps:q,incrementButtonProps:F,decrementButtonProps:U}=(0,eV.useSpinButton)({isDisabled:l,isReadOnly:c,isRequired:d,maxValue:f,minValue:u,onIncrement:j,onIncrementToMax:k,onDecrement:E,onDecrementToMin:A,value:P,textValue:L}),[W,V]=(0,ek.useState)(!1),{focusWithinProps:K}=(0,eP.useFocusWithin)({isDisabled:l,onFocusWithinChange:V});eI({onScroll:(0,ek.useCallback)(e=>{!(Math.abs(e.deltaY)<=Math.abs(e.deltaX))&&(e.deltaY>0?j():e.deltaY<0&&E())},[E,j]),isDisabled:S||l||c||!W},r);let H=(null!=(i=D.maximumFractionDigits)?i:0)>0,G=void 0===t.minValue||isNaN(t.minValue)||t.minValue<0,Z="numeric";(0,ew.isIPhone)()?G?Z="text":H&&(Z="decimal"):(0,ew.isAndroid)()&&(G?Z="numeric":H&&(Z="decimal"));let J=e=>{t.validate(e)&&t.setInputValue(e)},Y=(0,e_.filterDOMProps)(e),X=(0,ek.useCallback)(e=>{e.nativeEvent.isComposing||("Enter"===e.key?(R(),I()):e.continuePropagation())},[R,I]),{isInvalid:$,validationErrors:Q,validationDetails:ee}=t.displayValidation,{labelProps:et,inputProps:er,descriptionProps:ei,errorMessageProps:en}=ez({...M,...Y,name:void 0,form:void 0,label:p,autoFocus:h,isDisabled:l,isReadOnly:c,isRequired:d,validate:void 0,[eE.privateValidationStateProp]:t,value:N,defaultValue:"!",autoComplete:"off","aria-label":e["aria-label"]||void 0,"aria-labelledby":e["aria-labelledby"]||void 0,id:B,type:"text",inputMode:Z,onChange:J,onBlur:m,onFocus:g,onFocusChange:v,onKeyDown:(0,ek.useMemo)(()=>(0,eS.chain)(X,y),[X,y]),onKeyUp:x,description:w,errorMessage:_},t,r);(0,eM.useFormReset)(r,t.defaultNumberValue,t.setNumberValue);let ea=(0,ej.mergeProps)(q,T,er,{role:null,"aria-roledescription":(0,ew.isIOS)()?null:C.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});"native"===e.validationBehavior&&(ea["aria-required"]=void 0);let eo=e=>{var t;document.activeElement!==r.current&&("mouse"===e.pointerType?null==(t=r.current)||t.focus():e.target.focus())},es=e["aria-label"]||("string"==typeof e.label?e.label:"");es||(n=null!=e.label?et.id:e["aria-labelledby"]);let el=(0,ex.useId)(),ec=(0,ex.useId)(),ed=(0,ej.mergeProps)(F,{"aria-label":s||C.format("increase",{fieldLabel:es}).trim(),id:n&&!s?el:null,"aria-labelledby":n&&!s?"".concat(el," ").concat(n):null,"aria-controls":B,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canIncrement,onPressStart:eo}),eu=(0,ej.mergeProps)(U,{"aria-label":o||C.format("decrease",{fieldLabel:es}).trim(),id:n&&!o?ec:null,"aria-labelledby":n&&!o?"".concat(ec," ").concat(n):null,"aria-controls":B,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!t.canDecrement,onPressStart:eo});return{groupProps:{...K,role:"group","aria-disabled":l,"aria-invalid":$?"true":void 0},labelProps:et,inputProps:ea,incrementButtonProps:ed,decrementButtonProps:eu,errorMessageProps:en,descriptionProps:ei,isInvalid:$,validationErrors:Q,validationDetails:ee}}var eG=r,eZ=n,eJ=e.i(13934);function eY(e){var t,r,i;let n=(0,v.useProviderContext)(),{validationBehavior:a}=(0,eJ.useSlottedContext)(eZ.FormContext)||{},[o,s]=(0,g.mapPropsVariants)(e,S.variantKeys),{ref:l,as:c,type:d,label:u,baseRef:f,wrapperRef:h,description:p,className:b,classNames:w,autoFocus:_,startContent:R,endContent:I,onClear:C,onChange:B,validationBehavior:T=null!=(t=null!=a?a:null==n?void 0:n.validationBehavior)?t:"native",innerWrapperRef:O,onValueChange:z,hideStepper:L,...q}=o,[F,U]=(0,eG.useState)(!1),W=c||"div",V=null!=(i=null!=(r=e.disableAnimation)?r:null==n?void 0:n.disableAnimation)&&i,K=(0,M.useDOMRef)(l),H=(0,M.useDOMRef)(f),G=(0,M.useDOMRef)(h),Z=(0,M.useDOMRef)(O),{locale:J}=(0,P.useLocale)(),Y=D({...e,validationBehavior:T,locale:J,onChange:(0,N.chain)(z,B)}),{groupProps:X,labelProps:$,inputProps:Q,incrementButtonProps:ee,decrementButtonProps:et,descriptionProps:er,errorMessageProps:ei,isInvalid:en,validationErrors:ea,validationDetail
1s:eo}=eH({...e,validationBehavior:T},Y,K),es=isNaN(Y.numberValue)?"":Y.numberValue,el=!(0,N.isEmpty)(es),ec=el||F,ed=(0,N.clsx)(null==w?void 0:w.base,b,el?"is-filled":""),eu=(0,eG.useCallback)(()=>{var e;Y.setInputValue(""),null==C||C(),null==(e=K.current)||e.focus()},[Y.setInputValue,C]);(0,y.useSafeLayoutEffect)(()=>{K.current&&Y.setInputValue(K.current.value)},[K.current]);let{isFocusVisible:ef,isFocused:eh,focusProps:ep}=(0,x.useFocusRing)({autoFocus:_,isTextInput:!0}),{isHovered:eb,hoverProps:em}=(0,E.useHover)({isDisabled:!!(null==e?void 0:e.isDisabled)}),{isHovered:eg,hoverProps:ev}=(0,E.useHover)({isDisabled:!!(null==e?void 0:e.isDisabled)}),{focusProps:ey,isFocusVisible:ex}=(0,x.useFocusRing)(),{focusWithinProps:ew}=(0,k.useFocusWithin)({onFocusWithinChange:U}),{pressProps:e_}=(0,A.usePress)({isDisabled:!!(null==e?void 0:e.isDisabled)||!!(null==e?void 0:e.isReadOnly),onPress:eu}),eS=(0,m.useLabelPlacement)({labelPlacement:e.labelPlacement,label:u}),eM="function"==typeof o.errorMessage?o.errorMessage({isInvalid:en,validationErrors:ea,validationDetails:eo}):o.errorMessage||(null==ea?void 0:ea.join(" ")),ej=!!C||e.isClearable,ek=!!u||!!p||!!eM,eE=!!o.placeholder,eA=!!u,eP=!!p||!!eM,eN="outside"===eS||"outside-left"===eS,eR="inside"===eS,eI=!!K.current&&(!K.current.value||""===K.current.value||!es)&&eE,eC="outside-left"===eS,eB=!!R,eT=!!eN&&("outside-left"===eS||eE||"outside"===eS&&eB),eO="outside"===eS&&!eE&&!eB,eD=(0,eG.useMemo)(()=>S({...s,isInvalid:en,isClearable:ej,disableAnimation:V}),[(0,N.objectToDeps)(s),en,ej,eB,V]),ez=(0,eG.useCallback)(t=>{"Escape"===t.key&&es&&(ej||C)&&!e.isReadOnly&&(Y.setInputValue(""),null==C||C())},[es,Y.setInputValue,C,ej,e.isReadOnly]),eL=(0,eG.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:H,className:eD.base({class:ed}),"data-slot":"base","data-filled":(0,N.dataAttr)(el||eE||eB||eI),"data-filled-within":(0,N.dataAttr)(ec||eE||eB||eI),"data-focus-within":(0,N.dataAttr)(F),"data-focus-visible":(0,N.dataAttr)(ef),"data-readonly":(0,N.dataAttr)(e.isReadOnly),"data-focus":(0,N.dataAttr)(eh),"data-hover":(0,N.dataAttr)(eb||eg),"data-required":(0,N.dataAttr)(e.isRequired),"data-invalid":(0,N.dataAttr)(en),"data-disabled":(0,N.dataAttr)(e.isDisabled),"data-has-elements":(0,N.dataAttr)(ek),"data-has-helper":(0,N.dataAttr)(eP),"data-has-label":(0,N.dataAttr)(eA),"data-has-value":(0,N.dataAttr)(!eI),...ew,...t}},[eD,ed,el,eh,eb,eg,en,eP,eA,ek,eI,eB,F,ef,eE,ew,e.isReadOnly,e.isRequired,e.isDisabled]),eq=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"label",className:eD.label({class:null==w?void 0:w.label}),...(0,N.mergeProps)($,ev,e)}},[eD,eg,$,null==w?void 0:w.label]),eF=(0,eG.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"input","data-filled":(0,N.dataAttr)(el),"data-has-start-content":(0,N.dataAttr)(eB),"data-has-end-content":(0,N.dataAttr)(!!I),className:eD.input({class:(0,N.clsx)(null==w?void 0:w.input,el?"is-filled":"")}),...(0,N.mergeProps)(ep,Q,(0,j.filterDOMProps)(q,{enabled:!0,labelable:!0,omitEventNames:new Set(Object.keys(Q)),omitPropNames:new Set(["value"])}),t),"aria-readonly":(0,N.dataAttr)(e.isReadOnly),onChange:(0,N.chain)(Q.onChange,B),onKeyDown:(0,N.chain)(Q.onKeyDown,t.onKeyDown,ez),ref:K}},[eD,ep,Q,q,el,eB,I,null==w?void 0:w.input,e.isReadOnly,e.isRequired,B,ez]),eU=(0,eG.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:e.name,value:es,"data-slot":"hidden-input",type:"hidden",...t}},[es,e.name]),eW=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:G,"data-slot":"input-wrapper","data-hover":(0,N.dataAttr)(eb||eg),"data-focus-visible":(0,N.dataAttr)(ef),"data-focus":(0,N.dataAttr)(eh),className:eD.inputWrapper({class:(0,N.clsx)(null==w?void 0:w.inputWrapper,el?"is-filled":"")}),...(0,N.mergeProps)(e,em),onClick:e=>{K.current&&e.currentTarget===e.target&&K.current.focus()},style:{cursor:"text",...e.style}}},[eD,eb,eg,ef,eh,es,null==w?void 0:w.inputWrapper]),eV=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:Z,"data-slot":"inner-wrapper",onClick:e=>{K.current&&e.currentTarget===e.target&&K.current.focus()},className:eD.innerWrapper({class:(0,N.clsx)(null==w?void 0:w.innerWrapper,null==e?void 0:e.className)}),...(0,N.mergeProps)(X,e)}},[eD,null==w?void 0:w.innerWrapper]),eK=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"main-wrapper",className:eD.mainWrapper({class:(0,N.clsx)(null==w?void 0:w.mainWrapper,null==e?void 0:e.className)})}},[eD,null==w?void 0:w.mainWrapper]),eY=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"helper-wrapper",className:eD.helperWrapper({class:(0,N.clsx)(null==w?void 0:w.helperWrapper,null==e?void 0:e.className)})}},[eD,null==w?void 0:w.helperWrapper]),eX=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...er,"data-slot":"description",className:eD.description({class:(0,N.clsx)(null==w?void 0:w.description,null==e?void 0:e.className)})}},[eD,null==w?void 0:w.description]),e$=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...ei,"data-slot":"error-message",className:eD.errorMessage({class:(0,N.clsx)(null==w?void 0:w.errorMessage,null==e?void 0:e.className)})}},[eD,ei,null==w?void 0:w.errorMessage]),eQ=(0,eG.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...t,type:"button",tabIndex:-1,disabled:e.isDisabled,"aria-label":"clear input","data-slot":"clear-button","data-focus-visible":(0,N.dataAttr)(ex),className:eD.clearButton({class:(0,N.clsx)(null==w?void 0:w.clearButton,null==t?void 0:t.className)}),...(0,N.mergeProps)(e_,ey)}},[eD,ex,e_,ey,null==w?void 0:w.clearButton]),e0=(0,eG.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"stepper-wrapper",className:eD.stepperWrapper({class:(0,N.clsx)(null==w?void 0:w.stepperWrapper,null==e?void 0:e.className)})}},[eD]),e1=(0,eG.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...t,type:"button",disabled:e.isDisabled,"data-slot":"increase-button",className:eD.stepperButton({class:(0,N.clsx)(null==w?void 0:w.stepperButton,null==t?void 0:t.className)}),...(0,N.mergeProps)(ee,t)}},[eD,ee,null==w?void 0:w.stepperButton]),e2=(0,eG.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{type:"button",disabled:e.isDisabled,"data-slot":"decrease-button",className:eD.stepperButton({class:(0,N.clsx)(null==w?void 0:w.stepperButton,null==t?void 0:t.className)}),...(0,N.mergeProps)(et,t)}},[eD,et,null==w?void 0:w.stepperButton]);return{Component:W,classNames:w,type:d,domRef:K,label:u,description:p,startContent:R,endContent:I,labelPlacement:eS,isClearable:ej,hasHelper:eP,hasStartContent:eB,isLabelOutside:eT,isOutsideLeft:eC,isLabelOutsideAsPlaceholder:eO,shouldLabelBeOutside:eN,shouldLabelBeInside:eR,hasPlaceholder:eE,isInvalid:en,errorMessage:eM,hideStepper:L,incrementButtonProps:ee,decrementButtonProps:et,getBaseProps:eL,getLabelProps:eq,getNumberInputProps:eF,getHiddenNumberInputProps:eU,getMainWrapperProps:eK,getInputWrapperProps:eW,getInnerWrapperProps:eV,getHelperWrapperProps:eY,getDescriptionProps:eX,getErrorMessageProps:e$,getClearButtonProps:eQ,getStepperIncreaseButtonProps:e1,getStepperDecreaseButtonProps:e2,getStepperWrapperProps:e0}}var eX=e.i(19110),e$=r,eQ=t,e0=(0,g.forwardRef)((e,t)=>{let{Component:r,label:i,description:n,isClearable:a,startContent:o,endContent:s,labelPlacement:l,hasHelper:c,isOutsideLeft:d,shouldLabelBeOutside:u,errorMessage:f,isInvalid:h,hideStepper:p,getBaseProps:m,getLabelProps:g,getNumberInputProps:v,getHiddenNumberInputProps:y,getInnerWrapperProps:x,getInputWrapperProps:w,getMainWrapperProps:_,getHelperWrapperProps:S,getDescriptionProps:M,getErrorMessageProps:j,getClearButtonProps:k,getStepperIncreaseButtonProps:E,getStepperDecreaseButtonProps:A,getStepperWrapperProps:P}=eY({...e,ref:t}),N=i?(0,eQ.jsx)("label",{...g(),children:i}):null,R=(0,e$.useMemo)(()=>a?(0,eQ.jsxs)(eQ.Fragment,{children:[(0,eQ.jsx)("button",{...k(),children:(0,eQ.jsx)(eX.CloseFilledIcon,{})}),s]}):s,[a,k]),I=(0,e$.useMemo)(()=>{let e=h&&f,t=e||n;return c&&t?(0,eQ.jsx)("div",{...S(),children:e?(0,eQ.jsx)("div",{...j(),children:f}):(0,eQ.jsx)("div",{...M(),children:n})}):null},[c,h,f,n,S,j,M]),C=(0,e$.useMemo)(()=>(0,eQ.jsxs)("div",{...x(),children:[o,(0,eQ.jsx)("input",{...v()}),(0,eQ.jsx)("input",{...y()}),R,!p&&(0,eQ.jsxs)("div",{...P(),children:[(0,eQ.jsx)(b,{...E(),direction:"up"}),(0,eQ.jsx)(b,{...A(),direction:"down"})]})]}),[o,R,v,x]),B=(0,e$.useMemo)(()=>u?(0,eQ.jsxs)("div",{..._(),children:[(0,eQ.jsxs)("div",{...w(),children:[d?null:N,C]}),I]}):(0,eQ.jsxs)(eQ.Fragment,{children:[(0,eQ.jsxs)("div",{...w(),children:[N,C]}),I]}),[l,I,u,N,C,f,n,_,w,j,M]);return(0,eQ.jsxs)(r,{...m(),children:[d?N:null,B]})});e0.displayName="HeroUI.NumberInput";var e1=e0,e2=e.i(212),e3=l,e4=g,e6=m,e5=a,e8=_,e7=(0,w.tv)({slots:{base:["group inline-flex flex-col relative"],label:["block","absolute","z-10","origin-top-left","flex-shrink-0","rtl:origin-top-right","subpixel-antialiased","text-small","text-foreground-500","pointer-events-none","group-data-[has-label-outside=true]:pointer-events-auto"],mainWrapper:"w-full flex flex-col",trigger:"relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-xs outline-solid outline-transparent tap-highlight-transparent",innerWrapper:"inline-flex h-fit w-[calc(100%_-theme(sp
1acing.6))] min-h-4 items-center gap-1.5 box-border",selectorIcon:"absolute end-3 w-4 h-4",spinner:"absolute end-3",value:["text-foreground-500","font-normal","w-full","text-start"],listboxWrapper:"scroll-py-6 w-full",listbox:"",popoverContent:"w-full p-1 overflow-hidden",clearButton:["w-4","h-4","z-10","mb-4","relative","start-auto","appearance-none","outline-none","select-none","opacity-70","hover:!opacity-100","cursor-pointer","active:!opacity-70","rounded-full",...e8.dataFocusVisibleClasses],helperWrapper:"p-1 flex relative flex-col gap-1.5 group-data-[has-helper=true]:flex",description:"text-tiny text-foreground-400",errorMessage:"text-tiny text-danger",endWrapper:"flex end-18",endContent:"mb-4"},variants:{variant:{flat:{trigger:["bg-default-100","data-[hover=true]:bg-default-200","group-data-[focus=true]:bg-default-200"],clearButton:"mb-4"},faded:{trigger:["bg-default-100","border-medium","border-default-200","data-[hover=true]:border-default-400 data-[focus=true]:border-default-400 data-[open=true]:border-default-400"],value:"group-data-[has-value=true]:text-default-foreground",clearButton:"mb-4"},bordered:{trigger:["border-medium","border-default-200","data-[hover=true]:border-default-400","data-[open=true]:border-default-foreground","data-[focus=true]:border-default-foreground"],value:"group-data-[has-value=true]:text-default-foreground",clearButton:"mb-4"},underlined:{trigger:["!px-1","!pb-0","!gap-0","relative","box-border","border-b-medium","shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","border-default-200","!rounded-none","hover:border-default-300","after:content-['']","after:w-0","after:origin-center","after:bg-default-foreground","after:absolute","after:left-1/2","after:-translate-x-1/2","after:-bottom-[2px]","after:h-[2px]","data-[open=true]:after:w-full","data-[focus=true]:after:w-full"],value:"group-data-[has-value=true]:text-default-foreground",clearButton:"mb-4 me-2"}},color:{default:{},primary:{selectorIcon:"text-primary"},secondary:{selectorIcon:"text-secondary"},success:{selectorIcon:"text-success"},warning:{selectorIcon:"text-warning"},danger:{selectorIcon:"text-danger"}},size:{sm:{label:"text-tiny",trigger:"h-8 min-h-8 px-2 rounded-small",value:"text-small",clearButton:"text-medium"},md:{trigger:"h-10 min-h-10 rounded-medium",value:"text-small",clearButton:"text-large"},lg:{trigger:"h-12 min-h-12 rounded-large",value:"text-medium",clearButton:"mb-5 text-large"}},radius:{none:{trigger:"rounded-none"},sm:{trigger:"rounded-small"},md:{trigger:"rounded-medium"},lg:{trigger:"rounded-large"},full:{trigger:"rounded-full"}},labelPlacement:{outside:{base:"flex flex-col",clearButton:"mb-0"},"outside-left":{base:"flex-row items-center flex-nowrap data-[has-helper=true]:items-start",label:"relative pe-2 text-foreground",clearButton:"mb-0"},inside:{label:"text-tiny cursor-pointer",trigger:"flex-col items-start justify-center gap-0"}},fullWidth:{true:{base:"w-full"},false:{base:"min-w-40"}},isClearable:{true:{clearButton:"peer-data-[filled=true]:opacity-70 peer-data-[filled=true]:block",endContent:"ms-3"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none",trigger:"pointer-events-none"}},isInvalid:{true:{label:"!text-danger",value:"!text-danger",selectorIcon:"text-danger"}},isRequired:{true:{label:"after:content-['*'] after:text-danger after:ms-0.5"}},isMultiline:{true:{label:"relative",trigger:"!h-auto"},false:{value:"truncate"}},disableAnimation:{true:{trigger:"after:transition-none",base:"transition-none",label:"transition-none",selectorIcon:"transition-none"},false:{base:"transition-background motion-reduce:transition-none !duration-150",label:["will-change-auto","origin-top-left","rtl:origin-top-right","!duration-200","!ease-out","transition-[transform,color,left,opacity,translate,scale]","motion-reduce:transition-none"],selectorIcon:"transition-transform duration-150 ease motion-reduce:transition-none",clearButton:["transition-opacity","motion-reduce:transition-none"]}},disableSelectorIconRotation:{true:{},false:{selectorIcon:"data-[open=true]:rotate-180"}}},defaultVariants:{variant:"flat",color:"default",size:"md",fullWidth:!0,isDisabled:!1,isMultiline:!1,disableSelectorIconRotation:!1},compoundVariants:[{variant:"flat",color:"default",class:{value:"group-data-[has-value=true]:text-default-foreground",trigger:["bg-default-100","data-[hover=true]:bg-default-200"]}},{variant:"flat",color:"primary",class:{trigger:["bg-primary-100","text-primary","data-[hover=true]:bg-primary-50","group-data-[focus=true]:bg-primary-50"],value:"text-primary",label:"text-primary"}},{variant:"flat",color:"secondary",class:{trigger:["bg-secondary-100","text-secondary","data-[hover=true]:bg-secondary-50","group-data-[focus=true]:bg-secondary-50"],value:"text-secondary",label:"text-secondary"}},{variant:"flat",color:"success",class:{trigger:["bg-success-100","text-success-600","dark:text-success","data-[hover=true]:bg-success-50","group-data-[focus=true]:bg-success-50"],value:"text-success-600 dark:text-success",label:"text-success-600 dark:text-success"}},{variant:"flat",color:"warning",class:{trigger:["bg-warning-100","text-warning-600","dark:text-warning","data-[hover=true]:bg-warning-50","group-data-[focus=true]:bg-warning-50"],value:"text-warning-600 dar
1k:text-warning",label:"text-warning-600 dark:text-warning"}},{variant:"flat",color:"danger",class:{trigger:["bg-danger-100","text-danger","dark:text-danger-500","data-[hover=true]:bg-danger-50","group-data-[focus=true]:bg-danger-50"],value:"text-danger dark:text-danger-500",label:"text-danger dark:text-danger-500"}},{variant:"faded",color:"primary",class:{trigger:"data-[hover=true]:border-primary data-[focus=true]:border-primary data-[open=true]:border-primary",label:"text-primary"}},{variant:"faded",color:"secondary",class:{trigger:"data-[hover=true]:border-secondary data-[focus=true]:border-secondary data-[open=true]:border-secondary",label:"text-secondary"}},{variant:"faded",color:"success",class:{trigger:"data-[hover=true]:border-success data-[focus=true]:border-success data-[open=true]:border-success",label:"text-success"}},{variant:"faded",color:"warning",class:{trigger:"data-[hover=true]:border-warning data-[focus=true]:border-warning data-[open=true]:border-warning",label:"text-warning"}},{variant:"faded",color:"danger",class:{trigger:"data-[hover=true]:border-danger data-[focus=true]:border-danger data-[open=true]:border-danger",label:"text-danger"}},{variant:"underlined",color:"default",class:{value:"group-data-[has-value=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{trigger:"after:bg-primary",label:"text-primary"}},{variant:"underlined",color:"secondary",class:{trigger:"after:bg-secondary",label:"text-secondary"}},{variant:"underlined",color:"success",class:{trigger:"after:bg-success",label:"text-success"}},{variant:"underlined",color:"warning",class:{trigger:"after:bg-warning",label:"text-warning"}},{variant:"underlined",color:"danger",class:{trigger:"after:bg-danger",label:"text-danger"}},{variant:"bordered",color:"primary",class:{trigger:["data-[open=true]:border-primary","data-[focus=true]:border-primary"],label:"text-primary"}},{variant:"bordered",color:"secondary",class:{trigger:["data-[open=true]:border-secondary","data-[focus=true]:border-secondary"],label:"text-secondary"}},{variant:"bordered",color:"success",class:{trigger:["data-[open=true]:border-success","data-[focus=true]:border-success"],label:"text-success"}},{variant:"bordered",color:"warning",class:{trigger:["data-[open=true]:border-warning","data-[focus=true]:border-warning"],label:"text-warning"}},{variant:"bordered",color:"danger",class:{trigger:["data-[open=true]:border-danger","data-[focus=true]:border-danger"],label:"text-danger"}},{labelPlacement:"inside",color:"default",class:{label:"group-data-[filled=true]:text-default-600"}},{labelPlacement:"outside",color:"default",class:{label:"group-data-[filled=true]:text-foreground"}},{radius:"full",size:["sm"],class:{trigger:"px-3"}},{radius:"full",size:"md",class:{trigger:"px-4"}},{radius:"full",size:"lg",class:{trigger:"px-5"}},{disableAnimation:!1,variant:["faded","bordered"],class:{trigger:"transition-colors motion-reduce:transition-none"}},{disableAnimation:!1,variant:"underlined",class:{trigger:"after:transition-width motion-reduce:after:transition-none"}},{variant:["flat","faded"],class:{trigger:[...e8.dataFocusVisibleClasses]}},{isInvalid:!0,variant:"flat",class:{trigger:["bg-danger-50","data-[hover=true]:bg-danger-100","group-data-[focus=true]:bg-danger-50"]}},{isInvalid:!0,variant:"bordered",class:{trigger:"!border-danger group-data-[focus=true]:border-danger"}},{isInvalid:!0,variant:"underlined",class:{trigger:"after:bg-danger"}},{labelPlacement:"inside",size:"sm",class:{trigger:"h-12 min-h-12 py-1.5 px-3"}},{labelPlacement:"inside",size:"md",class:{trigger:"h-14 min-h-14 py-2"}},{labelPlacement:"inside",size:"lg",class:{label:"text-medium",trigger:"h-16 min-h-16 py-2.5 gap-0"}},{labelPlacement:"outside",isMultiline:!1,class:{base:"group relative justify-end",label:["pb-0","z-20","top-1/2","-translate-y-1/2","group-data-[filled=true]:start-0"]}},{labelPlacement:["inside"],class:{label:"group-data-[filled=true]:scale-85"}},{labelPlacement:"inside",size:["sm","md"],class:{label:"text-small"}},{labelPlacement:"inside",isMultiline:!1,size:"sm",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-tiny)/2_-_8px)]"],innerWrapper:"group-data-[has-label=true]:pt-4"}},{labelPlacement:"inside",isMultiline:!1,size:"md",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_6px)]"],innerWrapper:"group-data-[has-label=true]:pt-4"}},{labelPlacement:"inside",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_8px)]"],innerWrapper:"group-data-[has-label=true]:pt-5"}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"sm",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-tiny)/2_-_8px_-_var(--heroui-border-width-medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"md",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_6px_-_var(--heroui-border-width-medium))]"]}},{labelPlacement:"inside",variant:["faded","bordered"],isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_8px_-_var(--heroui-border-width-medium))]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"sm",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-tiny)/2_-_5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"md",class:{label:["group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_3.5px)]"]}},{labelPlacement:"inside",variant:"underlined",isMultiline:!1,size:"lg",class:{label:["text-medium","group-data-[filled=true]:-translate-y-[calc(50%_+_var(--heroui-font-size-small)/2_-_4px)]"]}},{labelPlacement:"outside",size:"sm",isMultiline:!1,class:{label:["start-2","text-tiny","group-data-[filled=true]:-translate-y-[calc(100%_+var(--heroui-font-size-tiny)/2_+_16px)]","group-data-[has-helper=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_26px)]"],base:"data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_8px)]"}},{labelPlacement:"outside",isMultiline:!1,size:"md",class:{label:["start-3","text-small","group-data-[filled=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_20px)]","group-data-[has-helper=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_30px)]"],base:"data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_10px)]"}},{labelPlacement:"outside",isMultiline:!1,size:"lg",class:{label:["start-3","text-medium","group-data-[filled=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_24px)]","group-data-[has-helper=true]:-translate-y-[calc(100%_+_var(--heroui-font-size-small)/2_+_34px)]"],base:"data-[has-label=true]:mt-[calc(var(--heroui-font-size-small)_+_12px)]"}},{labelPlacement:"outside-left",size:"sm",class:{label:"group-data-[has-helper=true]:pt-2"}},{labelPlacement:"outside-left",size:"md",class:{label:"group-data-[has-helper=true]:pt-3"}},{labelPlacement:"outside-left",size:"lg",class:{label:"group-data-[has-helper=true]:pt-4"}},{labelPlacement:"outside",isMultiline:!0,class:{label:"pb-1.5"}},{labelPlacement:["inside","outside"],class:{label:["pe-2","max-w-full","text-ellipsis","overflow-hidden"]}},{labelPlacement:["outside","outside-left"],isClearable:!0,class:{endContent:["mt-4"],clearButton:["group-data-[has-end-content=true]:mt-4"]}},{isClearable:!1,labelPlacement:["outside","outside-left"],class:{endContent:["mt-4"]}},{isClearable:!0,variant:["underlined"],class:{clearButton:["relative group-data-[has-end-content=true]:left-2"],endContent:["me-2"]}},{isClearable:!1,variant:["underlined"],class:{endContent:["me-2"]}},{isClearable:!0,size:"sm",class:{endContent:"ms-2"}}]}),e9=M,te=j,tt=r,tr=e.i(68319),ti=x,tn=N,ta=E,to=A,ts=e.i(6213),tl=e.i(46996),tc=e.i(94115),td={},tu={},tf={},th={},tp={},tb={},tm={},tg={},tv={},ty={},tx={},tw={},t_={},tS={},tM={},tj={},tk={},tE={},tA={},tP={},tN={},tR={},tI={},tC={},tB={},tT={},tO={},tD={},tz={},tL={},tq={},tF={},tU={},tW={},tV={};tV={"ar-AE":td={longPressMessage:"اضغط Ù
Ø·ÙÙØ§Ù أ٠اضغط عÙÙ Alt + Ø§ÙØ³ÙÙ
ÙØ£Ø³ÙÙ ÙÙØªØ اÙÙØ§Ø¦Ù
Ø©"},"bg-BG":tu={longPressMessage:"ÐаÑиÑнеÑе пÑодÑлжиÑелно или наÑиÑнеÑе Alt+ ÑÑÑелка надолÑ, за да оÑвоÑиÑе менÑÑо"},"cs-CZ":tf={longPressMessage:"Dlouhým stiskem nebo stisknutÃm kláves Alt + Å¡ipka dolů otevÅete nabÃdku"},"da-DK":th={longPressMessage:"Langt tryk eller tryk pÃ¥ Alt + pil ned for at Ã¥bne menuen"},"de-DE":tp={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"},"el-GR":tb={longPressMessage:"ΠιÎÏÏε ÏαÏαÏεÏαμÎνα ή ÏαÏήÏÏε Alt + κάÏÏ Î²ÎÎ»Î¿Ï Î³Î¹Î± να ανοίξεÏε Ïο μενοÏ"},"en-US":tm={longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":tg={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"},"et-EE":tv={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"},"fi-FI":ty={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"},"fr-FR":tx={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."},"he-IL":tw={longPressMessage:"×××¥ ××××¦× ×ר××× ×× ×קש Alt + ArrowDown ××× ×פת×× ×ת ×תפר××"},"hr-HR":t_={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":tS={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyÃl gombot a menü megnyitásához"},"it-IT":tM={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"},"ja-JP":tj={longPressMessage:"é·æ¼ãã¾ã㯠Alt+ä¸ç¢å°ãã¼ã§ã¡ãã¥ã¼ãéã"},"ko-KR":tk={longPressMessage:"ê¸¸ê² ë르거ë Alt + ìë쪽 íì´í를 ëë¬ ë©ë´ ì´ê¸°"},"lt-LT":tE={longPressMessage:"NorÄdami atidaryti meniu, nuspaudÄ palaikykite arba paspauskite âAlt + ArrowDownâ."},"lv-LV":tA={longPressMessage:"Lai atvÄrtu izvÄlni, turiet nospiestu vai nospiediet taustiÅu kombinÄciju Alt + lejupvÄrstÄ bultiÅa"},"nb-NO":tP={longPressMessage:"Langt trykk eller trykk Alt + PilNed for Ã¥ Ã¥pne menyen"},"nl-NL":tN={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":tR={longPressMessage:"NaciÅnij i przytrzymaj lub naciÅnij klawisze Alt + StrzaÅka w dóÅ, aby otworzyÄ menu"},"pt-BR":tI={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":tC={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":tB={longPressMessage:"ApÄsaÈi lung sau apÄsaÈi pe Alt + sÄgeatÄ Ã®n jos pentru a deschide meniul"},"ru-RU":tT={longPressMessage:"ÐажмиÑе и ÑдеÑживайÑе или нажмиÑе Alt + СÑÑелка вниз, ÑÑÐ¾Ð±Ñ Ð¾ÑкÑÑÑÑ Ð¼ÐµÐ½Ñ"},"sk-SK":tO={longPressMessage:"Ponuku otvorÃte dlhým stlaÄenÃm alebo stlaÄenÃm klávesu Alt + klávesu so Å¡Ãpkou nadol"},"sl-SI":tD={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puÅ¡Äica navzdol"},"sr-SP":tz={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":tL={longPressMessage:"HÃ¥ll nedtryckt eller tryck pÃ¥ Alt + pil nedÃ¥t för att öppna menyn"},"tr-TR":tq={longPressMessage:"Menüyü açmak için uzun basın veya Alt + AÅaÄı Ok tuÅuna basın"},"uk-UA":tF={longPressMessage:"Ðовго або звиÑайно наÑиÑнÑÑÑ ÐºÐ¾Ð¼Ð±ÑнаÑÑÑ ÐºÐ»Ð°Ð²ÑÑ Alt Ñ ÑÑÑÑлка вниз, Ñоб вÑдкÑиÑи менÑ"},"zh-CN":tU={longPressMessage:"é¿æææ Alt + å䏿¹åé®ä»¥æå¼èå"},"zh-TW":tW={longPressMessage:"é·æææ Alt+åä¸éµä»¥éååè½è¡¨"}};var tK=ex,tH=e.i(21318),tG=A,tZ=e.i(40861),tJ=e.i(91884),tY=tH,tX=e.i(21008),t$=ej,tQ=r;let t0=500;function t1(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:i,onLongPress:n,threshold:a=t0,accessibilityDescription:o}=e,s=(0,tQ.useRef)(void 0),{addGlobalListener:l,removeGlobalListener:c}=(0,tZ.useGlobalListeners)(),{pressProps:d}=(0,tG.usePress)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,tJ.getOwnerDocument)(e.target).activeElement!==e.target&&(0,tY.focusWithoutScrolling)(e.target),n&&n({...e,type:"longpress"}),s.current=void 0},a),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};l(e.target,"contextmenu",t,{once:!0}),l(window,"pointerup",()=>{setTimeout(()=>{c(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),i&&("mouse"===e.pointerType||"touch"===e.pointerType)&&i({...e,type:"longpressend"})}}),u=(0,tX.useDescription)(n&&!t?o:void 0);return{longPressProps:(0,t$.mergeProps)(d,u)}}var t2=eL,t3=e.i(10815);function t4(e){return e&&e.__esModule?e.default:e}function t6(e,t,r){let{type:i="menu",isDisabled:n,trigger:a="press"}=e,o=(0,tK.useId)(),{triggerProps:s,overlayProps:l}=(0,t3.useOverlayTrigger)({type:i},t,r),c=e=>{if(!n&&("longPress"!==a||e.altKey)&&r&&r.current)switch(e.key){case"Enter":case" ":if("longPress"===a||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}},{longPressProps:d}=t1({isDisabled:n||"longPress"!==a,accessibilityDescription:(0,t2.useLocalizedStringFormatter)(t4(tV),"@react-aria/menu").format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),u={preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||n||((0,tH.focusWithoutScrolling)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||n||((0,tH.focusWithoutScrolling)(e.target),t.toggle())}};return delete s.onPress,{menuTriggerProps:{...s,..."press"===a?u:d,id:o,onKeyDown:c},menuProps:{...l,"aria-labelledby":o,autoFocus:t.focusStrategy||!0,onClose:t.close}}}var t5=e.i(65129),t8=e.i(33004),t7=eS,t9=e_,re=ej,rt=ex,rr=r;function ri(e,t,r){let{disallowEmptySelection:i,isDisabled:n}=e,a=(0,ts.useCollator)({usage:"search",sensitivity:"base"}),o=(0,rr.useMemo)(()=>new t5.ListKeyboardDelegate(t.collection,t.disabledKeys,null,a),[t.collection,t.disabledKeys,a]),{menuTriggerProps:s,menuProps:l}=t6({isDisabled:n,type:"listbox"},t,r),c=e=>{if("single"===t.selectionMode)switch(e.key){case"ArrowLeft":{e.preventDefault();let r=t.selectedKeys.size>0?o.getKeyAbove(t.selectedKeys.values().next().value):o.getFirstKey();r&&t.setSelectedKeys([r]);break}case"ArrowRight":{e.preventDefault();let r=t.selectedKeys.size>0?o.getKeyBelow(t.selectedKeys.values().next().value):o.getFirstKey();r&&t.setSelectedKeys([r])}}},{typeSelectProps:d}=(0,t8.useTypeSelect)({keyboardDelegate:o,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKeys([e])}}),{isInvalid:u,validationErrors:f,validationDetails:h}=t.displayValidation,{labelProps:p,fieldProps:b,descriptionProps:m,errorMessageProps:g}=(0,tc.useField)({...e,labelElementType:"span",isInvalid:u,errorMessage:e.errorMessage||f});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture,s.onPressStart=e=>{"touch"===e.pointerType||"keyboard"===e.pointerType||n||t.toggle("virtual"===e.pointerType?"first":null)};let v=(0,t9.filterDOMProps)(e,{labelable:!0}),y=(0,re.mergeProps)(d,s,b),x=(0,rt.useId)();return{labelProps:{...p,onClick:()=>{var t;e.isDisabled||(null==(t=r.current)||t.focus(),(0,tl.setInteractionModality)("keyboard"))}},triggerProps:(0,re.mergeProps)(v,{...y,onKeyDown:(0,t7.chain)(y.onKeyDown,c,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[x,y["aria-labelledby"],y["aria-label"]&&!y["aria-labelledby"]?y.id:null].join(" "),onFocus(r){t.isFocused||(e.onFocus&&e.onFocus(r),t.setFocused(!0))},onBlur(r){t.isOpen||(e.onBlur&&e.onBlur(r),t.setFocused(!1))}}),valueProps:{id:x},menuProps:{...l,disallowEmptySelection:i,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:r=>{r.currentTarget.contains(r.relatedTarget)||(e.onBlur&&e.onBlur(r),t.setFocused(!1))},onFocus:null==l?void 0:l.onFocus,"aria-labelledby":[b["aria-labelledby"],y["aria-label"]&&!b["aria-labelledby"]?y.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:g,isInvalid:u,validationErrors:f,validationDetails:h}}var rn=r;class ra{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let r=this.keyMap.get(e);return r&&null!=(t=r.prevKey)?t:null}getKeyAfter(e){var t;let r=this.keyMap.get(e);return r&&null!=(t=r.nextKey)?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)r(t)};for(let t of e)r(t);let i=null,n=0,a=0;for(let[e,t]of this.keyMap)i?(i.nextKey=e,t.prevKey=i.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=n++),("section"===t.type||"item"===t.type)&&a++,(i=t).nextKey=void 0;this._size=a,this.lastKey=null!=(t=null==i?void 0:i.key)?t:null}}
1var ro=e.i(69255),rs=e.i(35081),rl=r,rc=e.i(65240);function rd(e){let{filter:t,layoutDelegate:r}=e,i=(0,ro.useMultipleSelectionState)(e),n=(0,rl.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=(0,rl.useCallback)(e=>new ra(t?t(e):e),[t]),o=(0,rl.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=(0,rc.useCollection)(e,a,o),l=(0,rl.useMemo)(()=>new(0,rs.SelectionManager)(s,i,{layoutDelegate:r}),[s,i,r]);return ru(s,l),{collection:s,disabledKeys:n,selectionManager:l}}function ru(e,t){let r=(0,rl.useRef)(null);(0,rl.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&r.current){var i,n,a,o,s,l,c;let d=r.current.getItem(t.focusedKey),u=[...r.current.getKeys()].map(e=>{let t=r.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),f=[...e.getKeys()].map(t=>{let r=e.getItem(t);return(null==r?void 0:r.type)==="item"?r:null}).filter(e=>null!==e),h=(null!=(i=null==u?void 0:u.length)?i:0)-(null!=(n=null==f?void 0:f.length)?n:0),p=Math.min(h>1?Math.max((null!=(a=null==d?void 0:d.index)?a:0)-h+1,0):null!=(o=null==d?void 0:d.index)?o:0,(null!=(s=null==f?void 0:f.length)?s:0)-1),b=null,m=!1;for(;p>=0;){if(!t.isDisabled(f[p].key)){b=f[p];break}p<f.length-1&&!m?p++:(m=!0,p>(null!=(l=null==d?void 0:d.index)?l:0)&&(p=null!=(c=null==d?void 0:d.index)?c:0),p--)}t.setFocusedKey(b?b.key:null)}r.current=e},[e,t])}function rf(e){let{collection:t,disabledKeys:r,selectionManager:i,selectionManager:{setSelectedKeys:n,selectedKeys:a,selectionMode:o}}=rd(e),s=(0,rn.useMemo)(()=>e.isLoading||0===a.size?[]:Array.from(a).filter(Boolean).filter(e=>!t.getItem(e)),[a,t]),l=0!==a.size?Array.from(a).map(e=>t.getItem(e)).filter(Boolean):null;return s.length&&console.warn('Select: Keys "'.concat(s.join(", "),'" passed to "selectedKeys" are not present in the collection.')),{collection:t,disabledKeys:r,selectionManager:i,selectionMode:o,selectedKeys:a,setSelectedKeys:n.bind(i),selectedItems:l}}var rh=e.i(53930),rp=r;function rb(e){let t=(0,rh.useOverlayTriggerState)(e),[r,i]=(0,rp.useState)(null),[n,a]=(0,rp.useState)([]),o=()=>{a([]),t.close()},s=(e,t)=>{a(r=>t>r.length?r:[...r.slice(0,t),e])},l=(e,t)=>{a(r=>r[t]===e?r.slice(0,t):r)};return{focusStrategy:r,...t,open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i(e),t.open()},toggle(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i(e),t.toggle()},close(){o()},expandedKeysStack:n,openSubmenu:s,closeSubmenu:l}}var rm=C,rg=r;function rv(e){let{validate:t,validationBehavior:r,...i}=e,[n,a]=(0,rg.useState)(!1),[o,s]=(0,rg.useState)(null),l=rb(i),c=rf({...i,onSelectionChange:e=>{null!=i.onSelectionChange&&("all"===e?i.onSelectionChange(new Set(c.collection.getKeys())):i.onSelectionChange(e)),"single"===i.selectionMode&&l.close()}}),d=(0,rm.useFormValidationState)({...i,validationBehavior:r,validate:e=>{if(!t)return;let r=Array.from(e);return t("single"===i.selectionMode?r[0]:r)},value:c.selectedKeys}),u=0===c.collection.size&&i.hideEmptyContent;return{...d,...c,...l,focusStrategy:o,close(){l.close()},open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;u||(s(e),l.open())},toggle(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;u||(s(e),l.toggle())},isFocused:n,setFocused:a}}
1var ry=y,rx=n,rw=eJ,r_=e.i(37681),rS=new WeakMap;function rM(e){var t,r,i,n,a,o;let s=(0,e5.useProviderContext)(),{validationBehavior:l}=(0,rw.useSlottedContext)(rx.FormContext)||{},[c,d]=(0,e4.mapPropsVariants)(e,e7.variantKeys),u=null!=(r=null!=(t=e.disableAnimation)?t:null==s?void 0:s.disableAnimation)&&r,{ref:f,as:h,label:p,name:b,isLoading:m,selectorIcon:g,isOpen:v,defaultOpen:y,onOpenChange:x,startContent:w,endContent:_,description:S,renderValue:M,onSelectionChange:j,placeholder:k,isVirtualized:E,itemHeight:A=36,maxListboxHeight:P=256,children:N,disallowEmptySelection:R=!1,selectionMode:I="single",spinnerRef:C,scrollRef:B,popoverProps:T={},scrollShadowProps:O={},listboxProps:D={},spinnerProps:z={},validationState:L,onChange:q,onClose:F,className:U,classNames:W,validationBehavior:V=null!=(i=null!=l?l:null==s?void 0:s.validationBehavior)?i:"native",hideEmptyContent:K=!1,onClear:H,...G}=c,Z=(0,e9.useDOMRef)(B),J={popoverProps:(0,tn.mergeProps)({placement:"bottom",triggerScaleOnOpen:!1,offset:5,disableAnimation:u},T),scrollShadowProps:(0,tn.mergeProps)({ref:Z,isEnabled:null==(n=e.showScrollIndicators)||n,hideScrollBar:!0,offset:15},O),listboxProps:(0,tn.mergeProps)({disableAnimation:u},D)},Y=h||"button",X="string"==typeof Y,$=(0,e9.useDOMRef)(f),Q=(0,tt.useRef)(null),ee=(0,tt.useRef)(null),et=(0,tt.useRef)(null),er=rv({...c,isOpen:v,selectionMode:I,disallowEmptySelection:R,validationBehavior:V,children:N,isRequired:e.isRequired,isDisabled:e.isDisabled,isInvalid:e.isInvalid,defaultOpen:y,hideEmptyContent:K,onOpenChange:e=>{null==x||x(e),e||null==F||F()},onSelectionChange:e=>{null==j||j(e),q&&"function"==typeof q&&q({target:{...$.current&&{...$.current,name:$.current.name},value:Array.from(e).join(",")}}),er.commitValidation()}});er={...er,...e.isDisabled&&{disabledKeys:new Set([...er.collection.getKeys()])}},(0,ry.useSafeLayoutEffect)(()=>{var e;(null==(e=$.current)?void 0:e.value)&&er.setSelectedKeys(new Set([...er.selectedKeys,$.current.value]))},[$.current]);let{labelProps:ei,triggerProps:en,valueProps:ea,menuProps:eo,descriptionProps:es,errorMessageProps:el,isInvalid:ec,validationErrors:ed,validationDetails:eu}=ri({...c,disallowEmptySelection:R,isDisabled:e.isDisabled},er,Q),ef=(0,tt.useCallback)(()=>{var e;er.setSelectedKeys(new Set([])),null==H||H(),null==(e=Q.current)||e.focus()},[H,er]),{pressProps:eh}=(0,to.usePress)({isDisabled:!!(null==e?void 0:e.isDisabled),onPress:ef}),ep=e.isInvalid||"invalid"===L||ec,{isPressed:eb,buttonProps:em}=(0,tr.useAriaButton)(en,Q),{focusProps:eg,isFocused:ev,isFocusVisible:ey}=(0,ti.useFocusRing)(),{focusProps:ex,isFocusVisible:ew}=(0,ti.useFocusRing)(),{isHovered:e_,hoverProps:eS}=(0,ta.useHover)({isDisabled:e.isDisabled}),eM=(0,e6.useLabelPlacement)({labelPlacement:e.labelPlacement,label:p}),ej=!!k,ek="outside-left"===eM||"outside"===eM,eE="inside"===eM,eA="outside-left"===eM,eP=e.isClearable,eN=er.isOpen||ej||!!(null==(a=er.selectedItems)?void 0:a.length)||!!w||!!_||!!e.isMultiline,eR=!!(null==(o=er.selectedItems)?void 0:o.length),eI=!!p,eC=eI&&(eA||ek&&ej),eB=(0,tn.clsx)(null==W?void 0:W.base,U),eT=(0,tt.useMemo)(()=>e7({...d,isInvalid:ep,isClearable:eP,labelPlacement:eM,disableAnimation:u}),[(0,tn.objectToDeps)(d),ep,eM,u]);(0,r_.usePreventScroll)({isDisabled:!er.isOpen});let eO="function"==typeof c.errorMessage?c.errorMessage({isInvalid:ep,validationErrors:ed,validationDetails:eu}):c.errorMessage||(null==ed?void 0:ed.join(" ")),eD=!!S||!!eO,ez=!!_;(0,tt.useEffect)(()=>{if(er.isOpen&&et.current&&Q.current){let e=Q.current.getBoundingClientRect();et.current.style.width=e.width+"px"}},[er.isOpen]);let eL=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"base","data-filled":(0,tn.dataAttr)(eN),"data-has-value":(0,tn.dataAttr)(eR),"data-has-label":(0,tn.dataAttr)(eI),"data-has-helper":(0,tn.dataAttr)(eD),"data-has-end-content":(0,tn.dataAttr)(ez),"data-invalid":(0,tn.dataAttr)(ep),"data-has-label-outside":(0,tn.dataAttr)(eC),className:eT.base({class:(0,tn.clsx)(eB,e.className)}),...e}},[eT,eD,eR,eI,eC,eN,eB]),eq=(0,tt.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:Q,"data-slot":"trigger","data-open":(0,tn.dataAttr)(er.isOpen),"data-disabled":(0,tn.dataAttr)(null==e?void 0:e.isDisabled),"data-focus":(0,tn.dataAttr)(ev),"data-pressed":(0,tn.dataAttr)(eb),"data-focus-visible":(0,tn.dataAttr)(ey),"data-hover":(0,tn.dataAttr)(e_),className:eT.trigger({class:null==W?void 0:W.trigger}),...(0,tn.mergeProps)(em,eg,eS,(0,te.filterDOMProps)(G,{enabled:X}),(0,te.filterDOMProps)(t))}},[eT,Q,er.isOpen,null==W?void 0:W.trigger,null==e?void 0:e.isDisabled,ev,eb,ey,e_,em,eg,eS,G,X]),eF=(0,tt.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{state:er,triggerRef:Q,selectRef:$,selectionMode:I,label:null==e?void 0:e.label,name:null==e?void 0:e.name,isRequired:null==e?void 0:e.isRequired,autoComplete:null==e?void 0:e.autoComplete,isDisabled:null==e?void 0:e.isDisabled,form:null==e?void 0:e.form,onChange:q,...t}},[er,I,null==e?void 0:e.label,null==e?void 0:e.autoComplete,null==e?void 0:e.name,null==e?void 0:e.isDisabled,Q]),eU=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"label",className:eT.label({class:(0,tn.clsx)(null==W?void 0:W.label,e.className)}),...ei,...e}},[eT,null==W?void 0:W.label,ei]),eW=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"value",className:eT.value({class:(0,tn.clsx)(null==W?void 0:W.value,e.className)}),...ea,...e}},[eT,null==W?void 0:W.value,ea]),eV=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"listboxWrapper",className:eT.listboxWrapper({class:(0,tn.clsx)(null==W?void 0:W.listboxWrapper,null==e?void 0:e.className)}),style:{maxHeight:null!=P?P:256,...e.style},...(0,tn.mergeProps)(J.scrollShadowProps,e)}},[eT.listboxWrapper,null==W?void 0:W.listboxWrapper,J.scrollShadowProps,P]),eK=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=null!=E?E:er.collection.size>50;return{state:er,ref:ee,isVirtualized:t,virtualization:t?{maxListboxHeight:P,itemHeight:A}:void 0,"data-slot":"listbox",className:eT.listbox({class:(0,tn.clsx)(null==W?void 0:W.listbox,null==e?void 0:e.className)}),scrollShadowProps:J.scrollShadowProps,...(0,tn.mergeProps)(J.listboxProps,e,eo)}},eH=(0,tt.useCallback)(function(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,tn.mergeProps)(J.popoverProps,r);return{state:er,triggerRef:Q,ref:et,"data-slot":"popover",scrollRef:ee,triggerType:"listbox",classNames:{content:eT.popoverContent({class:(0,tn.clsx)(null==W?void 0:W.popoverContent,r.className)})},...i,offset:er.selectedItems&&er.selectedItems.length>0?1e-8*er.selectedItems.length+((null==(e=J.popoverProps)?void 0:e.offset)||0):null==(t=J.popoverProps)?void 0:t.offset}},[eT,null==W?void 0:W.popoverContent,J.popoverProps,Q,er,er.selectedItems]),eG=(0,tt.useCallback)(()=>({"data-slot":"selectorIcon","aria-hidden":(0,tn.dataAttr)(!0),"data-open":(0,tn.dataAttr)(er.isOpen),className:eT.selectorIcon({class:null==W?void 0:W.selectorIcon})}),[eT,null==W?void 0:W.selectorIcon,er.isOpen]),eZ=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"innerWrapper",className:eT.innerWrapper({class:(0,tn.clsx)(null==W?void 0:W.innerWrapper,null==e?void 0:e.className)})}},[eT,null==W?void 0:W.innerWrapper]),eJ=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"helperWrapper",className:eT.helperWrapper({class:(0,tn.clsx)(null==W?void 0:W.helperWrapper,null==e?void 0:e.className)})}},[eT,null==W?void 0:W.helperWrapper]),eY=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...es,"data-slot":"description",className:eT.description({class:(0,tn.clsx)(null==W?void 0:W.description,null==e?void 0:e.className)})}},[eT,null==W?void 0:W.description]),eX=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"mainWrapper",className:eT.mainWrapper({class:(0,tn.clsx)(null==W?void 0:W.mainWrapper,null==e?void 0:e.className)})}},[eT,null==W?void 0:W.mainWrapper]),e$=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"end-wrapper",className:eT.endWrapper({class:(0,tn.clsx)(null==W?void 0:W.endWrapper,null==e?void 0:e.className)})}},[eT,null==W?void 0:W.endWrapper]),eQ=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"data-slot":"end-content",className:eT.endContent({class:(0,tn.clsx)(null==W?void 0:W.endContent,null==e?void 0:e.className)})}},[eT,null==W?void 0:W.endContent]),e0=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...el,"data-slot":"error-message",className:eT.errorMessage({class:(0,tn.clsx)(null==W?void 0:W.errorMessage,null==e?void 0:e.className)})}},[eT,el,null==W?void 0:W.errorMessage]),e1=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,tn.dataAttr)(!0),"data-slot":"spinner",color:"current",size:"sm",...z,...e,ref:C,className:eT.spinner({class:(0,tn.clsx)(null==W?void 0:W.spinner,null==e?void 0:e.className)})}},[eT,C,z,null==W?void 0:W.spinner]),e2=(0,tt.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,type:"button",tabIndex:-1,"aria-label":"clear selection","data-slot":"clear-button","data-focus-visible":(0,tn.dataAttr)(ew),className:eT.clearButton({class:(0,tn.clsx)(null==W?void 0:W.clearButton,null==e?void 0:e.className)}),...(0,tn.mergeProps)(eh,ex)}},[eT,ew,eh,ex,null==W?void 0:W.clearButton]);return rS.set(er,{isDisabled:null==e?void 0:e.isDisabled,isRequired:null==e?void 0:e.isRequired,name:null==e?void 0:e.name,isInvalid:ep,validationBehavior:V}
1),{Component:Y,domRef:$,state:er,label:p,name:b,triggerRef:Q,isLoading:m,placeholder:k,startContent:w,endContent:_,description:S,selectorIcon:g,hasHelper:eD,labelPlacement:eM,hasPlaceholder:ej,renderValue:M,selectionMode:I,disableAnimation:u,isOutsideLeft:eA,shouldLabelBeOutside:ek,shouldLabelBeInside:eE,isInvalid:ep,errorMessage:eO,isClearable:eP,getClearButtonProps:e2,getBaseProps:eL,getTriggerProps:eq,getLabelProps:eU,getValueProps:eW,getListboxProps:eK,getPopoverProps:eH,getSpinnerProps:e1,getMainWrapperProps:eX,getListboxWrapperProps:eV,getHiddenSelectProps:eF,getInnerWrapperProps:eZ,getHelperWrapperProps:eJ,getDescriptionProps:eY,getErrorMessageProps:e0,getSelectorIconProps:eG,getEndWrapperProps:e$,getEndContentProps:eQ}}var rj=r,rk="undefined"!=typeof document?rj.default.useLayoutEffect:()=>{};function rE(e){let t=(0,rj.useRef)(null);return rk(()=>{t.current=e},[e]),(0,rj.useCallback)(function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];let n=t.current;return null==n?void 0:n(...r)},[])}function rA(e,t,r){let i=(0,rj.useRef)(t),n=rE(()=>{r&&r(i.current)});(0,rj.useEffect)(()=>{var t;let r=null==(t=null==e?void 0:e.current)?void 0:t.form;return null==r||r.addEventListener("reset",n),()=>{null==r||r.removeEventListener("reset",n)}},[e,n])}var rP=e.i(15960),rN=e.i(48774),rR=t;function rI(e,t,r){var i;let n=rS.get(t)||{},{autoComplete:a,name:o=n.name,isDisabled:s=n.isDisabled,selectionMode:l,onChange:c,form:d}=e,{validationBehavior:u,isRequired:f,isInvalid:h}=n,{visuallyHiddenProps:p}=(0,rP.useVisuallyHidden)();return rA(e.selectRef,t.selectedKeys,t.setSelectedKeys),(0,rN.useFormValidation)({validationBehavior:u,focus:()=>{var e;return null==(e=r.current)?void 0:e.focus()}},t,e.selectRef),{containerProps:{...p,"aria-hidden":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{form:d,autoComplete:a,disabled:s,"aria-invalid":h||void 0,"aria-required":f&&"aria"===u||void 0,required:f&&"native"===u,name:o,tabIndex:-1,value:"multiple"===l?[...t.selectedKeys].map(e=>String(e)):null!=(i=[...t.selectedKeys][0])?i:"",multiple:"multiple"===l,onChange:e=>{t.setSelectedKeys(e.target.value),null==c||c(e)}}}}function rC(e){var t;let{state:r,triggerRef:i,selectRef:n,label:a,name:o,isDisabled:s,form:l}=e,{containerProps:c,selectProps:d}=rI({...e,selectRef:n},r,i);return r.collection.size<=300?(0,rR.jsx)("div",{...c,"data-testid":"hidden-select-container",children:(0,rR.jsxs)("label",{children:[a,(0,rR.jsxs)("select",{...d,ref:n,children:[(0,rR.jsx)("option",{}),[...r.collection.getKeys()].map(e=>{let t=r.collection.getItem(e);if((null==t?void 0:t.type)==="item")return(0,rR.jsx)("option",{value:t.key,children:t.textValue},t.key)})]})]})}):o?(0,rR.jsx)("input",{autoComplete:d.autoComplete,disabled:s,form:l,name:o,type:"hidden",value:null!=(t=[...r.selectedKeys].join(","))?t:""}):null}let rB=new WeakMap;function rT(e){return"string"==typeof e?e.replace(/\s*/g,""):""+e}function rO(e,t){let r=rB.get(e);if(!r)throw Error("Unknown list");return"".concat(r.id,"-option-").concat(rT(t))}var rD=e_,rz=ex,rL=ej,rq=k,rF=e.i(84079),rU=e.i(34423);function rW(e,t,r){let i=(0,rD.filterDOMProps)(e,{labelable:!0}),n=e.selectionBehavior||"toggle",a=e.linkBehavior||("replace"===n?"action":"override");"toggle"===n&&"action"===a&&(a="override");let{listProps:o}=(0,rU.useSelectableList)({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:a}),{focusWithinProps:s}=(0,rq.useFocusWithin)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),l=(0,rz.useId)(e.id);rB.set(t,{id:l,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:a});let{labelProps:c,fieldProps:d}=(0,rF.useLabel)({...e,id:l,labelElementType:"span"});return{labelProps:c,listBoxProps:(0,rL.mergeProps)(i,s,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,rL.mergeProps)(d,o)})}}var rV=a,rK=w,rH=_,rG=(0,rK.tv)({slots:{base:"w-full relative flex flex-col gap-1 p-1 overflow-clip",list:"w-full flex flex-col gap-0.5 outline-solid outline-transparent",emptyContent:["h-10","px-2","py-1.5","w-full","h-full","text-foreground-400","text-start"]}}),rZ=(0,rK.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","subpixel-antialiased","outline-solid outline-transparent","cursor-pointer","tap-highlight-transparent",...rH.dataFocusVisibleClasses,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center min-w-0",title:"flex-1 text-small font-normal w-full",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","shrink-0"],shortcut:["px-1","py-0.5","rounded-sm","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:["border-small border-transparent hover:border-default data-[hover=true]:bg-default-100","data-[selectable=true]:focus:border-default data-[selectable=true]:focus:bg-default-100"]},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},showDivider:{true:{base:["mb-1.5","after:content-['']","after:absolute","after:-bottom-1","after:left-0","after:right-0","after:h-divider","after:bg-divider"]},false:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{base:"data-[hover=true]:transition-colors"}},hasTitleTextChild:{true:{title:"truncate"}},hasDescriptionTextChild:{true:{description:"truncate"}}},defaultVariants:{variant:"solid",color:"default",showDivider:!1},compoundVariants:[{variant:"solid",color:"default",class:{base:["data-[hover=true]:bg-default","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"solid",color:"primary",class:{base:["data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"solid",color:"secondary",class:{base:["data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"solid",color:"success",class:{base:["data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"solid",color:"warning",class:{base:["data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"solid",color:"danger",class:{base:["data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"shadow",color:"default",class:{base:["data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:shadow-default/50 data-[selectable=true]:focus:bg-default data-[selectable=true]:focus:text-default-foreground"]}},{variant:"shadow",color:"primary",class:{base:["data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground","data-[selectable=true]:focus:shadow-primary/30 data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"]}},{variant:"shadow",color:"secondary",class:{base:["data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground","data-[selectable=true]:focus:shadow-secondary/30 data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"]}},{variant:"shadow",color:"success",class:{base:["data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground","data-[selectable=true]:focus:shadow-success/30 data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"]}},{variant:"shadow",color:"warning",class:{base:["data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground","data-[selectable=true]:focus:shadow-warning/30 data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"]}},{variant:"shadow",color:"danger",class:{base:["data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground","data-[selectable=true]:focus:shadow-danger/30 data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"]}},{variant:"bordered",color:"default",class:{base:["data-[hover=true]:border-default","data-[selectable=true]:focus:border-default"]}},{variant:"bordered",color:"primary",class:{base:["data-[hover=true]:border-primary data-[hover=true]:text-primary","data-[selectable=true]:focus:border-primary data-[selectable=true]:focus:text-primary"]}},{variant:"bordered",color:"secondary",class:{base:["data-[hover=true]:border-secondary data-[hover=true]:text-secondary","data-[selectable=true]:focus:border-secondary data-[selectable=true]:focus:text-secondary"]}},{variant:"bordered",color:"success",class:{base:["data-[hover=true]:border-success data-[hover=true]:text-success","data-[selectable=true]:focus:border-success data-[selectable=true]:focus:text-success"]}},{variant:"bordered",color:"warning",class:{base:["data-[hover=true]:border-warning data-[hover=true]:text-warning","data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"]}},{variant:"bordered",color:"danger",class:{base:["data-[hover=true]:border-danger data-[hover=true]:text-danger","data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"]}},{variant:"flat",color:"default",class:{base:["data-[hover=true]:bg-default/40","data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:bg-default/40","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"flat",color:"primary",class:{base:["data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary","data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"]}},{variant:"flat",color:"secondary",class:{base:["data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary","data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"]}},{variant:"flat",color:"success",class:{base:["data-[hover=true]:bg-success/20 data-[hover=true]:text-success","data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"]}},{variant:"flat",color:"warning",class:{base:["data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning","data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"]}},{variant:"flat",color:"danger",class:{base:["data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger","data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"]}},{variant:"faded",color:"default",class:{base:["data-[hover=true]:text-default-foreground","data-[selectable=true]:focus:text-default-foreground"]}},{variant:"faded",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"faded",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"faded",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"faded",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"faded",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}},{variant:"light",color:"default",class:{base:["data-[hover=true]:text-default-500","data-[selectable=true]:focus:text-default-500"]}},{variant:"light",color:"primary",class:{base:["data-[hover=true]:text-primary","data-[selectable=true]:focus:text-primary"]}},{variant:"light",color:"secondary",class:{base:["data-[hover=true]:text-secondary","data-[selectable=true]:focus:text-secondary"]}},{variant:"light",color:"success",class:{base:["data-[hover=true]:text-success","data-[selectable=true]:focus:text-success"]}},{variant:"light",color:"warning",class:{base:["data-[hover=true]:text-warning","data-[selectable=true]:focus:text-warning"]}},{variant:"light",color:"danger",class:{base:["data-[hover=true]:text-danger","data-[selectable=true]:focus:text-danger"]}}]}),rJ=(0,rK.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}}),rY=j,rX=M,r$=r,rQ=N;function r0(e){var t;let r=(0,rV.useProviderContext)(),{ref:i,as:n,state:a,variant:o,color:s,onAction:l,children:c,onSelectionChange:d,disableAnimation:u=null!=(t=null==r?void 0:r.disableAnimation)&&t,itemClasses:f,className:h,topContent:p,bottomContent:b,emptyContent:m="No items.",hideSelectedIcon:g=!1,hideEmptyContent:v=!1,shouldHighlightOnFocus:y=!1,classNames:x,...w}=e,_=n||"ul",S="string"==typeof _,M=(0,rX.useDOMRef)(i),j=rd({...e,children:c,onSelectionChange:d}),k=a||j,{listBoxProps:E}=rW({...e,onAction:l},k,M),A=(0,r$.useMemo)(()=>rG(),[]),P=(0,rQ.clsx)(null==x?void 0:x.base,h),N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:M,"data-slot":"base",className:A.base({class:P}),...(0,rY.filterDOMProps)(w,{enabled:S}),...e}},R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:A.list({class:null==x?void 0:x.list}),...E,...e}},I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"empty-content",children:m,className:A.emptyContent({class:null==x?void 0:x.emptyContent}),...e}};return{Component:_,state:k,variant:o,color:s,slots:A,classNames:x,topContent:p,bottomContent:b,emptyContent:m,hideEmptyContent:v,shouldHighlightOnFocus:y,hideSelectedIcon:g,disableAnimation:u,className:h,itemClasses:f,getBaseProps:N,getListProps:R,getEmptyContentProps:I}}var r1=t;function r2(e){let{isSelected:t,disableAnimation:r,...i}=e;return(0,r1.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...i,children:(0,r1.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:r?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var r3=r,r4=g,r6=a,r5=x,r8=j,r7=N,r9=ex,ie=ew,it=eS,ir=e_,ii=e.i(11458),ia=ej,io=e.i(68948);let is=new WeakMap;function il(e){let t=is.get(e);if(null!=t)return t;let r=0,i=t=>{for(let n of t)"section"===n.type?i((0,io.getChildNodes)(n,e)):"item"===n.type&&r++};return i(e),is.set(e,r),r}var ic=E,id=tl,iu=e.i(78242),ih=ii,ip=ex,ib=e.i(99848),im=ej,ig=eS,iv=e.i(864),iy=A,ix=e.i(20111),iw=r;function i_(e){let{id:t,selectionManager:r,key:i,ref:n,shouldSelectOnPressUp:a,shouldUseVirtualFocus:o,focus:s,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:u="action"}=e,f=(0,ih.useRouter)();t=(0,ip.useId)(t);let h=e=>{if("keyboard"===e.pointerType&&(0,iu.isNonContiguousSelectionModifier)(e))r.toggleSelection(i);else{if("none"===r.selectionMode)return;if(r.isLink(i)){if("selection"===u&&n.current){let t=r.getItemProps(i);f.open(n.current,e,t.href,t.routerOptions),r.setSelectedKeys(r.selectedKeys);return}
1else if("override"===u||"none"===u)return}"single"===r.selectionMode?r.isSelected(i)&&!r.disallowEmptySelection?r.toggleSelection(i):r.replaceSelection(i):e&&e.shiftKey?r.extendSelection(i):"toggle"===r.selectionBehavior||e&&((0,ib.isCtrlKeyPressed)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?r.toggleSelection(i):r.replaceSelection(i)}};(0,iw.useEffect)(()=>{i===r.focusedKey&&r.isFocused&&(o?(0,ix.moveVirtualFocus)(n.current):s?s():document.activeElement!==n.current&&n.current&&(0,iv.focusSafely)(n.current))},[n,i,r.focusedKey,r.childFocusStrategy,r.isFocused,o]),l=l||r.isDisabled(i);let p={};o||l?l&&(p.onMouseDown=e=>{e.preventDefault()}):p={tabIndex:i===r.focusedKey?0:-1,onFocus(e){e.target===n.current&&r.setFocusedKey(i)}};let b=r.isLink(i)&&"override"===u,m=r.isLink(i)&&"selection"!==u&&"none"!==u,g=!l&&r.canSelectItem(i)&&!b,v=(c||m)&&!l,y=v&&("replace"===r.selectionBehavior?!g:!g||r.isEmpty),x=v&&g&&"replace"===r.selectionBehavior,w=y||x,_=(0,iw.useRef)(null),S=w&&g,M=(0,iw.useRef)(!1),j=(0,iw.useRef)(!1),k=r.getItemProps(i),E=e=>{c&&c(),m&&n.current&&f.open(n.current,e,k.href,k.routerOptions)},A={ref:n};if(a?(A.onPressStart=e=>{_.current=e.pointerType,M.current=S,"keyboard"===e.pointerType&&(!w||iM())&&h(e)},d?(A.onPressUp=y?void 0:e=>{"mouse"===e.pointerType&&g&&h(e)},A.onPress=y?E:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&g&&h(e)}):A.onPress=e=>{y||x&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||iS())&&E(e):"keyboard"!==e.pointerType&&g&&h(e)}):(A.onPressStart=e=>{_.current=e.pointerType,M.current=S,j.current=y,g&&("mouse"===e.pointerType&&!y||"keyboard"===e.pointerType&&(!v||iM()))&&h(e)},A.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&w&&iS()||"mouse"===e.pointerType&&j.current)&&(w?E(e):g&&h(e))}),p["data-collection"]=(0,iu.getCollectionId)(r.collection),p["data-key"]=i,A.preventFocusOnPress=o,o&&(A=(0,im.mergeProps)(A,{onPressStart(e){"touch"!==e.pointerType&&(r.setFocused(!0),r.setFocusedKey(i))},onPress(e){"touch"===e.pointerType&&(r.setFocused(!0),r.setFocusedKey(i))}})),k)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])k[e]&&(A[e]=(0,ig.chain)(A[e],k[e]));let{pressProps:P,isPressed:N}=(0,iy.usePress)(A),R=x?e=>{"mouse"===_.current&&(e.stopPropagation(),e.preventDefault(),E(e))}:void 0,{longPressProps:I}=t1({isDisabled:!S,onLongPress(e){"touch"===e.pointerType&&(h(e),r.setSelectionBehavior("toggle"))}}),C=e=>{"touch"===_.current&&M.current&&e.preventDefault()},B="none"!==u&&r.isLink(i)?e=>{ih.openLink.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,im.mergeProps)(p,g||y||o&&!l?P:{},S?I:{},{onDoubleClick:R,onDragStartCapture:C,onClick:B,id:t},o?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:N,isSelected:r.isSelected(i),isFocused:r.isFocused&&r.focusedKey===i,isDisabled:l,allowsSelection:g,hasAction:w}}function iS(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function iM(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}function ij(e,t,r){var i,n,a,o,s,l,c,d;let{key:u}=e,f=rB.get(t),h=null!=(a=e.isDisabled)?a:t.selectionManager.isDisabled(u),p=null!=(o=e.isSelected)?o:t.selectionManager.isSelected(u),b=null!=(s=e.shouldSelectOnPressUp)?s:null==f?void 0:f.shouldSelectOnPressUp,m=null!=(l=e.shouldFocusOnHover)?l:null==f?void 0:f.shouldFocusOnHover,g=null!=(c=e.shouldUseVirtualFocus)?c:null==f?void 0:f.shouldUseVirtualFocus,v=null!=(d=e.isVirtualized)?d:null==f?void 0:f.isVirtualized,y=(0,r9.useSlotId)(),x=(0,r9.useSlotId)(),w={role:"option","aria-disabled":h||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?p:void 0};(0,ie.isMac)()&&(0,ie.isWebKit)()||(w["aria-label"]=e["aria-label"],w["aria-labelledby"]=y,w["aria-describedby"]=x);let _=t.collection.getItem(u);if(v){let e=Number(null==_?void 0:_.index);w["aria-posinset"]=Number.isNaN(e)?void 0:e+1,w["aria-setsize"]=il(t.collection)}let S=(null==f?void 0:f.onAction)?()=>{var e;return null==f||null==(e=f.onAction)?void 0:e.call(f,u)}:void 0,M=rO(t,u),{itemProps:j,isPressed:k,isFocused:E,hasAction:A,allowsSelection:P}=i_({selectionManager:t.selectionManager,key:u,ref:r,shouldSelectOnPressUp:b,allowsDifferentPressOrigin:b&&m,isVirtualized:v,shouldUseVirtualFocus:g,isDisabled:h,onAction:S||(null==_||null==(i=_.props)?void 0:i.onAction)?(0,it.chain)(null==_||null==(n=_.props)?void 0:n.onAction,S):void 0,linkBehavior:null==f?void 0:f.linkBehavior,id:M}),{hoverProps:N}=(0,ic.useHover)({isDisabled:h||!m,onHoverStart(){(0,id.isFocusVisible)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(u))}}),R=(0,ir.filterDOMProps)(null==_?void 0:_.props);delete R.id;let I=(0,ii.useLinkProps)(null==_?void 0:_.props);return{optionProps:{...w,...(0,ia.mergeProps)(R,j,N,I),id:M},labelProps:{id:y},descriptionProps:{id:x},isFocused:E,isFocusVisible:E&&t.selectionManager.isFocused&&(0,id.isFocusVisible)(),isSelected:p,isDisabled:h,isPressed:k,allowsSelection:P,hasAction:A}}var ik=E,iE=A,iA=e.i(54453),iP=700;function iN(){return!(0,iA.useIsSSR)()&&"undefined"!=typeof window&&window.screen.width<=iP}function iR(e){var t,r;let i=(0,r6.useProviderContext)(),[n,a]=(0,r4.mapPropsVariants)(e,rZ.variantKeys),{as:o,item:s,state:l,description:c,startContent:d,endContent:u,isVirtualized:f,selectedIcon:h,className:p,classNames:b,autoFocus:m,onPress:g,onPressUp:v,onPressStart:y,onPressEnd:x,onPressChange:w,onClick:_,shouldHighlightOnFocus:S,hideSelectedIcon:M=!1,isReadOnly:j=!1,...k}=n,E=null!=(r=null!=(t=e.disableAnimation)?t:null==i?void 0:i.disableAnimation)&&r,A=(0,r3.useRef)(null),P=o||(e.href?"a":"li"),N="string"==typeof P,{rendered:R,key:I}=s,C=l.disabledKeys.has(I)||e.isDisabled,B="none"!==l.selectionManager.selectionMode,T=iN(),{pressProps:O,isPressed:D}=(0,iE.usePress)({ref:A,isDisabled:C,onClick:_,onPress:g,onPressUp:v,onPressStart:y,onPressEnd:x,onPressChange:w}),{isHovered:z,hoverProps:L}=(0,ik.useHover)({isDisabled:C}),{isFocusVisible:q,focusProps:F}=(0,r5.useFocusRing)({autoFocus:m}),{isFocused:U,isSelected:W,optionProps:V,labelProps:K,descriptionProps:H}=ij({key:I,isDisabled:C,"aria-label":n["aria-label"],isVirtualized:f},l,A),G=V,Z=(0,r3.useMemo)(()=>rZ({...a,isDisabled:C,disableAnimation:E,hasTitleTextChild:"string"==typeof R,hasDescriptionTextChild:"string"==typeof c}),[(0,r7.objectToDeps)(a),C,E,R,c]),J=(0,r7.clsx)(null==b?void 0:b.base,p);j&&(G=(0,r7.removeEvents)(G));let Y=S&&U||(T?z||D:z||U&&!q),X=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:A,...(0,r7.mergeProps)(G,j?{}:(0,r7.mergeProps)(F,O),L,(0,r8.filterDOMProps)(k,{enabled:N}),e),"data-selectable":(0,r7.dataAttr)(B),"data-focus":(0,r7.dataAttr)(U),"data-hover":(0,r7.dataAttr)(Y),"data-disabled":(0,r7.dataAttr)(C),"data-selected":(0,r7.dataAttr)(W),"data-pressed":(0,r7.dataAttr)(D),"data-focus-visible":(0,r7.dataAttr)(q),className:Z.base({class:(0,r7.clsx)(J,e.className)})}},$=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r7.mergeProps)(K,e),"data-label":(0,r7.dataAttr)(!0),className:Z.title({class:null==b?void 0:b.title})}},Q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r7.mergeProps)(H,e),className:Z.description({class:null==b?void 0:b.description})}},ee=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r7.mergeProps)(e),className:Z.wrapper({class:null==b?void 0:b.wrapper})}},et=(0,r3.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,r7.dataAttr)(!0),"data-disabled":(0,r7.dataAttr)(C),className:Z.selectedIcon({class:null==b?void 0:b.selectedIcon}),...e}},[C,Z,b]);return{Component:P,domRef:A,slots:Z,classNames:b,isSelectable:B,isSelected:W,isDisabled:C,rendered:R,description:c,startContent:d,endContent:u,selectedIcon:h,hideSelectedIcon:M,disableAnimation:E,getItemProps:X,getLabelProps:$,getWrapperProps:ee,getDescriptionProps:Q,getSelectedIconProps:et}}var iI=r,iC=t,iB=e=>{let{Component:t,rendered:r,description:i,isSelectable:n,isSelected:a,isDisabled:o,selectedIcon:s,startContent:l,endContent:c,hideSelectedIcon:d,disableAnimation:u,getItemProps:f,getLabelProps:h,getWrapperProps:p,getDescriptionProps:b,getSelectedIconProps:m}=iR(e),g=(0,iI.useMemo)(()=>{let e=(0,iC.jsx)(r2,{disableAnimation:u,isSelected:a});return"function"==typeof s?s({icon:e,isSelected:a,isDisabled:o}):s||e},[s,a,o,u]);return(0,iC.jsxs)(t,{...f(),children:[l,i?(0,iC.jsxs)("div",{...p(),children:[(0,iC.jsx)("span",{...h(),children:r}),(0,iC.jsx)("span",{...b(),children:i})]}):(0,iC.jsx)("span",{...h(),children:r}),n&&!d&&(0,iC.jsx)("span",{...m(),children:g}),c]})};iB.displayName="HeroUI.ListboxItem";var iT=iB,iO=r,iD=g,iz=N,iL=e.i(14060),iq=ex;function iF(e){let{heading:t,"aria-label":r}=e,i=(0,iq.useId)();return{itemProps:{role:"presentation"},headingProps:t?{id:i,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?i:void 0}}}var iU=t,iW=(0,iD.forwardRef)((e,t)=>
1{let{item:r,state:i,as:n,variant:a,color:o,disableAnimation:s,className:l,classNames:c,hideSelectedIcon:d,showDivider:u=!1,dividerProps:f={},itemClasses:h,title:p,items:b,...m}=e,g=n||"li",v=(0,iO.useMemo)(()=>rJ(),[]),y=(0,iz.clsx)(null==c?void 0:c.base,l),x=(0,iz.clsx)(null==c?void 0:c.divider,null==f?void 0:f.className),{itemProps:w,headingProps:_,groupProps:S}=iF({heading:r.rendered,"aria-label":r["aria-label"]});return(0,iU.jsxs)(g,{"data-slot":"base",...(0,iz.mergeProps)(w,m),className:v.base({class:y}),children:[r.rendered&&(0,iU.jsx)("span",{..._,className:v.heading({class:null==c?void 0:c.heading}),"data-slot":"heading",children:r.rendered}),(0,iU.jsxs)("ul",{...S,className:v.group({class:null==c?void 0:c.group}),"data-has-title":!!r.rendered,"data-slot":"group",children:[[...r.childNodes].map(e=>{let{key:t,props:r}=e,n=(0,iU.jsx)(iT,{classNames:h,color:o,disableAnimation:s,hideSelectedIcon:d,item:e,state:i,variant:a,...r},t);return e.wrapper&&(n=e.wrapper(n)),n}),u&&(0,iU.jsx)(iL.Divider,{as:"li",className:v.divider({class:x}),...f})]})]},r.key)});iW.displayName="HeroUI.ListboxSection";var iV=iW,iK=r,iH=r,iG=e.i(74080);function iZ(e,t,r){var i;let n,a=null!=(i=r.initialDeps)?i:[];return()=>{var i,o,s,l;let c,d;r.key&&(null==(i=r.debug)?void 0:i.call(r))&&(c=Date.now());let u=e();if(!(u.length!==a.length||u.some((e,t)=>a[t]!==e)))return n;if(a=u,r.key&&(null==(o=r.debug)?void 0:o.call(r))&&(d=Date.now()),n=t(...u),r.key&&(null==(s=r.debug)?void 0:s.call(r))){let e=Math.round((Date.now()-c)*100)/100,t=Math.round((Date.now()-d)*100)/100,i=t/16,n=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info("%câ± ".concat(n(t,5)," /").concat(n(e,5)," ms"),"\n font-size: .6rem;\n font-weight: bold;\n color: hsl(".concat(Math.max(0,Math.min(120-120*i,120)),"deg 100% 31%);"),null==r?void 0:r.key)}return null==(l=null==r?void 0:r.onChange)||l.call(r,n),n}}function iJ(e,t){if(void 0!==e)return e;throw Error("Unexpected undefined".concat(t?": ".concat(t):""))}e.i(47167);let iY=(e,t)=>1>Math.abs(e-t),iX=(e,t,r)=>{let i;return function(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];e.clearTimeout(i),i=e.setTimeout(()=>t.apply(this,a),r)}},i$=e=>e,iQ=e=>{let t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),i=[];for(let e=t;e<=r;e++)i.push(e);return i},i0=(e,t)=>{let r=e.scrollElement;if(!r)return;let i=e.targetWindow;if(!i)return;let n=e=>{let{width:r,height:i}=e;t({width:Math.round(r),height:Math.round(i)})};if(n(r.getBoundingClientRect()),!i.ResizeObserver)return()=>{};let a=new i.ResizeObserver(e=>{let t=e[0];if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return void n({width:e.inlineSize,height:e.blockSize})}n(r.getBoundingClientRect())});return a.observe(r,{box:"border-box"}),()=>{a.unobserve(r)}},i1={passive:!0},i2="undefined"==typeof window||"onscrollend"in window,i3=(e,t)=>{let r=e.scrollElement;if(!r)return;let i=e.targetWindow;if(!i)return;let n=0,a=e.options.useScrollendEvent&&i2?()=>void 0:iX(i,()=>{t(n,!1)},e.options.isScrollingResetDelay),o=i=>()=>{let{horizontal:o,isRtl:s}=e.options;n=o?r.scrollLeft*(s&&-1||1):r.scrollTop,a(),t(n,i)},s=o(!0),l=o(!1);return l(),r.addEventListener("scroll",s,i1),r.addEventListener("scrollend",l,i1),()=>{r.removeEventListener("scroll",s),r.removeEventListener("scrollend",l)}},i4=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[r.options.horizontal?"width":"height"])},i6=(e,t,r)=>{var i,n;let{adjustments:a=0,behavior:o}=t,s=e+a;null==(n=null==(i=r.scrollElement)?void 0:i.scrollTo)||n.call(i,{[r.options.horizontal?"left":"top"]:s,behavior:o})};class i5{constructor(e){var t=this;this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>
vendor: 2,197 bytes, line 1
1{e.forEach(e=>{this._measureElement(e.target,e)})}):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(t=>{let[r,i]=t;void 0===i&&delete e[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:i$,rangeExtractor:iQ,onChange:()=>{},measureElement:i4,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=iZ(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e,t;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r)return void this.maybeNotify();this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=null!=(t=null==(e=this.scrollElement)?void 0:e.window)?t:null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}}
1,this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=null!=(e=this.scrollRect)?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=null!=(e=this.scrollOffset)?e:"function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,t)=>{let r=new Map,i=new Map;for(let n=t-1;n>=0;n--){let t=e[n];if(r.has(t.lane))continue;let a=i.get(t.lane);if(null==a||t.end>a.end?i.set(t.lane,t):t.end<a.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=iZ(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,r,i,n)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:i,enabled:n}),{key:!1}),this.getMeasurements=iZ(()=>[this.getMeasurementOptions(),this.itemSizeCache],(e,t)=>{let{count:r,paddingStart:i,scrollMargin:n,getItemKey:a,enabled:o}=e;if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let s=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let l=this.measurementsCache.slice(0,s);for(let e=s;e<r;e++){let r=a(e),o=1===this.options.lanes?l[e-1]:this.getFurthestMeasurement(l,e),s=o?o.end+this.options.gap:i+n,c=t.get(r),d="number"==typeof c?c:this.options.estimateSize(e),u=s+d,f=o?o.lane:e%this.options.lanes;l[e]={index:e,start:s,size:d,end:u,key:r,lane:f}}return this.measurementsCache=l,l},{key:!1,debug:()=>this.options.debug}),this.calculateRange=iZ(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,t,r)=>this.range=e.length>0&&t>0?i7({measurements:e,outerSize:t,scrollOffset:r}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=iZ(()=>{let e=null,t=null,r=this.calculateRange();return r&&(e=r.startIndex,t=r.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,r,i,n)=>null===i||null===n?[]:e({startIndex:i,endIndex:n,overscan:t,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn("Missing attribute name '".concat(t,"={index}' on measured element.")),-1)},this._measureElement=(e,t)=>{let r=this.indexFromElement(e),i=this.measurementsCache[r];if(!i)return;let n=i.key,a=this.elementsCache.get(n);a!==e&&(a&&this.observer.unobserve(a),this.observer.observe(e),this.elementsCache.set(n,e)),e.isConnected&&this.resizeItem(r,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{var r;let i=this.measurementsCache[e];if(!i)return;let n=t-(null!=(r=this.itemSizeCache.get(i.key))?r:i.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(i,n,this):i.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(i.index),this.itemSizeCache=new Map(this.itemSizeCache.set(i.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});this._measureElement(e,void 0)},this.getVirtualItems=iZ(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let r=[];for(let i=0,n=e.length;i<n;i++){let n=t[e[i]];r.push(n)}return r},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return iJ(t[i8(0,t.length-1,e=>iJ(t[e]).start,e)])},this.getOffsetForAlignment=(e,t)=>
1{let r=this.getSize(),i=this.getScrollOffset();"auto"===t&&e>=i+r&&(t="end"),"end"===t&&(e-=r);let n=this.options.horizontal?"scrollWidth":"scrollHeight";return Math.max(Math.min((this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[n]:this.scrollElement[n]:0)-r,e),0)},this.getOffsetForIndex=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";e=Math.max(0,Math.min(e,t.options.count-1));let i=t.measurementsCache[e];if(!i)return;let n=t.getSize(),a=t.getScrollOffset();if("auto"===r)if(i.end>=a+n-t.options.scrollPaddingEnd)r="end";else{if(!(i.start<=a+t.options.scrollPaddingStart))return[a,r];r="start"}let o=i.start-t.options.scrollPaddingStart+(i.size-n)/2;switch(r){case"center":return[t.getOffsetForAlignment(o,r),r];case"end":return[t.getOffsetForAlignment(i.end+t.options.scrollPaddingEnd,r),r];default:return[t.getOffsetForAlignment(i.start-t.options.scrollPaddingStart,r),r]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=function(e){let{align:r="start",behavior:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.cancelScrollToIndex(),"smooth"===i&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t._scrollToOffset(t.getOffsetForAlignment(e,r),{adjustments:void 0,behavior:i})},this.scrollToIndex=function(e){let{align:r="auto",behavior:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Math.max(0,Math.min(e,t.options.count-1)),t.cancelScrollToIndex(),"smooth"===i&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let n=t.getOffsetForIndex(e,r);if(!n)return;let[a,o]=n;t._scrollToOffset(a,{adjustments:void 0,behavior:i}),"smooth"!==i&&t.isDynamicMode()&&t.targetWindow&&(t.scrollToIndexTimeoutId=t.targetWindow.setTimeout(()=>{if(t.scrollToIndexTimeoutId=null,t.elementsCache.has(t.options.getItemKey(e))){let[r]=iJ(t.getOffsetForIndex(e,o));iY(r,t.getScrollOffset())||t.scrollToIndex(e,{align:o,behavior:i})}else t.scrollToIndex(e,{align:o,behavior:i})}))},this.scrollBy=function(e){let{behavior:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.cancelScrollToIndex(),"smooth"===r&&t.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t._scrollToOffset(t.getScrollOffset()+e,{adju
1stments:void 0,behavior:r})},this.getTotalSize=()=>{var e,t;let r,i=this.getMeasurements();return Math.max((r=0===i.length?this.options.paddingStart:1===this.options.lanes?null!=(t=null==(e=i[i.length-1])?void 0:e.end)?t:0:Math.max(...i.slice(-this.options.lanes).map(e=>e.end)))-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,t)=>{let{adjustments:r,behavior:i}=t;this.options.scrollToFn(e,{behavior:i,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}let i8=(e,t,r,i)=>{for(;e<=t;){let n=(e+t)/2|0,a=r(n);if(a<i)e=n+1;else{if(!(a>i))return n;t=n-1}}return e>0?e-1:0};function i7(e){let{measurements:t,outerSize:r,scrollOffset:i}=e,n=t.length-1,a=i8(0,n,e=>t[e].start,i),o=a;for(;o<n&&t[o].end<i+r;)o++;return{startIndex:a,endIndex:o}}let i9="undefined"!=typeof document?iH.useLayoutEffect:iH.useEffect;function ne(e){let t=iH.useReducer(()=>({}),{})[1],r={...e,onChange:(r,i)=>{var n;i?(0,iG.flushSync)(t):t(),null==(n=e.onChange)||n.call(e,r,i)}},[i]=iH.useState(()=>new i5(r));return i.setOptions(r),i9(()=>i._didMount(),[]),i9(()=>i._willUpdate()),i}function nt(e){return ne({observeElementRect:i0,observeElementOffset:i3,scrollToFn:i6,...e})}var nr=N,ni=g,nn=["data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],na=["data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],no=(0,w.tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto",...nn],horizontal:["overflow-x-auto",...na]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}}),ns=M,nl=j,nc=t;
1function nd(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{domRef:t,isEnabled:r=!0,overflowCheck:i="vertical",visibility:n="auto",offset:a=0,onVisibilityChange:o,updateDeps:s=[]}=e,l=(0,iK.useRef)(n);(0,iK.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!r)return;let s=(t,r,i,a,s)=>{if("auto"===n){let t="".concat(a).concat((0,nr.capitalize)(s),"Scroll");r&&i?(e.dataset[t]="true",e.removeAttribute("data-".concat(a,"-scroll")),e.removeAttribute("data-".concat(s,"-scroll"))):(e.dataset["".concat(a,"Scroll")]=r.toString(),e.dataset["".concat(s,"Scroll")]=i.toString(),e.removeAttribute("data-".concat(a,"-").concat(s,"-scroll")))}else{let e=r&&i?"both":r?a:i?s:"none";e!==l.current&&(null==o||o(e),l.current=e)}},c=()=>{var t,r;let n=[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}],o=e.querySelector('ul[data-slot="list"]'),l=+(null!=(t=null==o?void 0:o.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),c=+(null!=(r=null==o?void 0:o.getAttribute("data-virtual-scroll-top"))?r:e.scrollTop);for(let{type:t,prefix:r,suffix:o}of n)if(i===t||"both"===i){let i="vertical"===t?c>a:e.scrollLeft>a,n="vertical"===t?c+e.clientHeight+a<l:e.scrollLeft+e.clientWidth+a<e.scrollWidth;s(t,i,n,r,o)}},d=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute("data-".concat(t,"-scroll"))})};return c(),e.addEventListener("scroll",c,!0),"auto"!==n&&(d(),"both"===n?(e.dataset.topBottomScroll=String("vertical"===i),e.dataset.leftRightScroll=String("horizontal"===i)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset["".concat(t,"Scroll")]=String(n===t)}))),()=>{e.removeEventListener("scroll",c,!0),d()}},[...s,r,n,i,o,t])}function nu(e){var t;let[r,i]=(0,ni.mapPropsVariants)(e,no.variantKeys),{ref:n,as:a,children:o,className:s,style:l,size:c=40,offset:d=0,visibility:u="auto",isEnabled:f=!0,onVisibilityChange:h,...p}=r,b=a||"div",m=(0,ns.useDOMRef)(n);nd({domRef:m,offset:d,visibility:u,isEnabled:f,onVisibilityChange:h,updateDeps:[o],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let g=(0,iK.useMemo)(()=>no({...i,className:s}),[(0,nr.objectToDeps)(i),s]),v=function(){var t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:m,className:g,"data-orientation":null!=(t=e.orientation)?t:"vertical",style:{"--scroll-shadow-size":"".concat(c,"px"),...l,...r.style},...p,...r}};return{Component:b,styles:g,domRef:m,children:o,getBaseProps:v}}var nf=(e,t)=>{let r=[];for(let i of e)"section"===i.type?r.push(([...i.childNodes].length+1)*t):r.push(t);return r},nh=e=>{if(!e||void 0===e.scrollTop||void 0===e.clientHeight||void 0===e.scrollHeight)return{isTop:!1,isBottom:!1,isMiddle:!1};let t=0===e.scrollTop,r=Math.ceil(e.scrollTop+e.clientHeight)>=e.scrollHeight,i=!t&&!r;return{isTop:t,isBottom:r,isMiddle:i}},np=e=>{var t;let{Component:r,state:i,color:n,variant:a,itemClasses:o,getBaseProps:s,topContent:l,bottomContent:c,hideEmptyContent:d,hideSelectedIcon:u,shouldHighlightOnFocus:f,disableAnimation:h,getEmptyContentProps:p,getListProps:b,scrollShadowProps:m}=e,{virtualization:g}=e;if(!g||!(0,nr.isEmpty)(g)&&!g.maxListboxHeight&&!g.itemHeight)throw Error("You are using a virtualized listbox. VirtualizedListbox requires 'virtualization' props with 'maxListboxHeight' and 'itemHeight' properties. This error might have originated from autocomplete components that use VirtualizedListbox. Please provide these props to use the virtualized listbox.");let{maxListboxHeight:v,itemHeight:y}=g,x=Math.min(v,y*i.collection.size),w=(0,iK.useRef)(null),_=(0,iK.useMemo)(()=>nf([...i.collection],y),[i.collection,y]),S=nt({count:[...i.collection].length,getScrollElement:()=>w.current,estimateSize:e=>_[e]}),M=S.getVirtualItems(),j=S.getTotalSize(),{getBaseProps:k}=nu({...m}),E=e=>{var t;let r=[...i.collection][e.index];if(!r)return null;let s={color:n,item:r,state:i,variant:a,disableAnimation:h,hideSelectedIcon:u,...r.props},l={position:"absolute",top:0,left:0,width:"100%",height:"".concat(e.size,"px"),transform:"translateY(".concat(e.start,"px)")};if("section"===r.type)return(0,nc.jsx)(iV,{...s,itemClasses:o,style:{...l,...s.style}}
1,r.key);let c=(0,nc.jsx)(iT,{...s,classNames:(0,nr.mergeProps)(o,null==(t=r.props)?void 0:t.classNames),shouldHighlightOnFocus:f,style:{...l,...s.style}},r.key);return r.wrapper&&(c=r.wrapper(c)),c},[A,P]=(0,iK.useState)({isTop:!1,isBottom:!0,isMiddle:!1}),N=(0,nc.jsxs)(r,{...b(),"data-virtual-scroll-height":j,"data-virtual-scroll-top":null==(t=null==w?void 0:w.current)?void 0:t.scrollTop,children:[!i.collection.size&&!d&&(0,nc.jsx)("li",{children:(0,nc.jsx)("div",{...p()})}),(0,nc.jsx)("div",{...(0,nl.filterDOMProps)(k()),ref:w,style:{height:v,overflow:"auto"},onScroll:e=>{P(nh(e.target))},children:x>0&&y>0&&(0,nc.jsx)("div",{style:{height:"".concat(j,"px"),width:"100%",position:"relative"},children:M.map(e=>E(e))})})]});return(0,nc.jsxs)("div",{...s(),children:[l,N,c]})},nb=N,nm=t,ng=(0,g.forwardRef)(function(e,t){let{isVirtualized:r,...i}=e,n=r0({...i,ref:t}),{Component:a,state:o,color:s,variant:l,itemClasses:c,getBaseProps:d,topContent:u,bottomContent:f,hideEmptyContent:h,hideSelectedIcon:p,shouldHighlightOnFocus:b,disableAnimation:m,getEmptyContentProps:g,getListProps:v}=n;if(r)return(0,nm.jsx)(np,{...e,...n});let y=(0,nm.jsxs)(a,{...v(),children:[!o.collection.size&&!h&&(0,nm.jsx)("li",{children:(0,nm.jsx)("div",{...g()})}),[...o.collection].map(e=>{var t;let r={color:s,item:e,state:o,variant:l,disableAnimation:m,hideSelectedIcon:p,...e.props};if("section"===e.type)return(0,nm.jsx)(iV,{...r,itemClasses:c},e.key);let i=(0,nm.jsx)(iT,{...r,classNames:(0,nb.mergeProps)(c,null==(t=e.props)?void 0:t.classNames),shouldHighlightOnFocus:b},e.key);return e.wrapper&&(i=e.wrapper(i)),i})]});return(0,nm.jsxs)("div",{...d(),children:[u,y,f]})}),nv=e.i(55359),ny=eX,nx=e.i(12041),nw=r,n_=g,nS=g,nM=M,nj=N,nk=r;function nE(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{domRef:t,isEnabled:r=!0,overflowCheck:i="vertical",visibility:n="auto",offset:a=0,onVisibilityChange:o,updateDeps:s=[]}=e,l=(0,nk.useRef)(n);(0,nk.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!r)return;let s=(t,r,i,a,s)=>{if("auto"===n){let t="".concat(a).concat((0,nj.capitalize)(s),"Scroll");r&&i?(e.dataset[t]="true",e.removeAttribute("data-".concat(a,"-scroll")),e.removeAttribute("data-".concat(s,"-scroll"))):(e.dataset["".concat(a,"Scroll")]=r.toString(),e.dataset["".concat(s,"Scroll")]=i.toString(),e.removeAttribute("data-".concat(a,"-").concat(s,"-scroll")))}else{let e=r&&i?"both":r?a:i?s:"none";e!==l.current&&(null==o||o(e),l.current=e)}},c=()=>{var t,r;let n=[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}],o=e.querySelector('ul[data-slot="list"]'),l=+(null!=(t=null==o?void 0:o.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),c=+(null!=(r=null==o?void 0:o.getAttribute("data-virtual-scroll-top"))?r:e.scrollTop);for(let{type:t,prefix:r,suffix:o}of n)if(i===t||"both"===i){let i="vertical"===t?c>a:e.scrollLeft>a,n="vertical"===t?c+e.clientHeight+a<l:e.scrollLeft+e.clientWidth+a<e.scrollWidth;s(t,i,n,r,o)}},d=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute("data-".concat(t,"-scroll"))})};return c(),e.addEventListener("scroll",c,!0),"auto"!==n&&(d(),"both"===n?(e.dataset.topBottomScroll=String("vertical"===i),e.dataset.leftRightScroll=String("horizontal"===i)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset["".concat(t,"Scroll")]=String(n===t)}))),()=>{e.removeEventListener("scroll",c,!0),d()}},[...s,r,n,i,o,t])}var nA=r,nP=N;function nN(e){var t;let[r,i]=(0,nS.mapPropsVariants)(e,no.variantKeys),{ref:n,as:a,children:o,className:s,style:l,size:c=40,offset:d=0,visibility:u="auto",isEnabled:f=!0,onVisibilityChange:h,...p}=r,b=a||"div",m=(0,nM.useDOMRef)(n);nE({domRef:m,offset:d,visibility:u,isEnabled:f,onVisibilityChange:h,updateDeps:[o],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let g=(0,nA.useMemo)(()=>no({...i,className:s}),[(0,nP.objectToDeps)(i),s]),v=function(){var t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:m,className:g,"data-orientation":null!=(t=e.orientation)?t:"vertical",style:{"--scroll-shadow-size":"".concat(c,"px"),...l,...r.style},...p,...r}};return{Component:b,styles:g,domRef:m,children:o,getBaseProps:v}}var nR=t,nI=(0,g.forwardRef)((e,t)=>{let{Component:r,children:i,getBaseProps:n}=nN({...e,ref:t});return(0,nR.jsx)(r,{...n(),children:i})});nI.displayName="HeroUI.ScrollShadow";var nC=nI,nB=rP,nT=e.i(88653),nO=t,nD=(0,n_.forwardRef)(function(e,t){var r;let{Component:i,state:n,label:a,hasHelper:o,isLoading:s,triggerRef:l,selectorIcon:c=(0,nO.jsx)(f,{}),description:d,errorMessage:u,isInvalid:h,startContent:p,endContent:b,placeholder:m,renderValue:g,shouldLabelBeOutside:v,disableAnimation:y,getBaseProps:x,getLabelProps:w,getTriggerProps:_,getValueProps:S,getListboxProps:M,getPopoverProps:j,getSpinnerProps:k,getMainWrapperProps:E,getInnerWrapperProps:A,getHiddenSelectProps:P,getHelperWrapperProps:N,getListboxWrapperProps:R,getDescriptionProps:I,getErrorMessageProps:C,get
1SelectorIconProps:B,isClearable:T,getClearButtonProps:O,getEndWrapperProps:D,getEndContentProps:z}=rM({...e,ref:t}),L=a?(0,nO.jsx)("label",{...w(),children:a}):null,q=(0,nw.cloneElement)(c,B()),F=(0,nw.useMemo)(()=>{var e;return T&&(null==(e=n.selectedItems)?void 0:e.length)?(0,nO.jsx)("span",{...O(),children:(0,nO.jsx)(ny.CloseFilledIcon,{})}):null},[T,O,null==(r=n.selectedItems)?void 0:r.length]),U=(0,nw.useMemo)(()=>F?(0,nO.jsxs)("div",{...D(),children:[F,b&&(0,nO.jsx)("span",{...z(),children:b})]}):b&&(0,nO.jsx)("span",{...z(),children:b}),[F,b,D,z]),W=(0,nw.useMemo)(()=>{let e=h&&u,t=e||d;return o&&t?(0,nO.jsx)("div",{...N(),children:e?(0,nO.jsx)("div",{...C(),children:u}):(0,nO.jsx)("div",{...I(),children:d})}):null},[o,h,u,d,N,C,I]),V=(0,nw.useMemo)(()=>{var e;return(null==(e=n.selectedItems)?void 0:e.length)?g&&"function"==typeof g?g([...n.selectedItems].map(e=>({key:e.key,data:e.value,type:e.type,props:e.props,textValue:e.textValue,rendered:e.rendered,"aria-label":e["aria-label"]}))):n.selectedItems.map(e=>e.textValue).join(", "):m},[n.selectedItems,g,m]),K=(0,nw.useMemo)(()=>s?(0,nO.jsx)(nx.Spinner,{...k()}):q,[s,q,k]),H=(0,nw.useMemo)(()=>n.isOpen?(0,nO.jsx)(nv.FreeSoloPopover,{...j(),children:(0,nO.jsx)(nC,{...R(),children:(0,nO.jsx)(ng,{...M()})})}):null,[n.isOpen,j,n,l,R,M]);return(0,nO.jsxs)("div",{...x(),children:[(0,nO.jsx)(rC,{...P()}),v?L:null,(0,nO.jsxs)("div",{...E(),children:[(0,nO.jsxs)(i,{..._(),children:[v?null:L,(0,nO.jsxs)("div",{...A(),children:[p,(0,nO.jsx)("span",{...S(),children:V}),b&&n.selectedItems&&(0,nO.jsx)(nB.VisuallyHidden,{elementType:"span",children:","}),U]}),K]}),W]}),y?H:(0,nO.jsx)(nT.AnimatePresence,{children:H})]})}),nz=e.i(76457).BaseItem,nL=e.i(49098),nq=e.i(80083),nF=P;let nU=[{key:"eco",label:"EcografÃa"},{key:"maxilo",label:"Maxilo-facial"},{key:"odontologia",label:"OdontologÃa"}],nW=()=>{let[e,n]=(0,r.useState)(!1),a=(0,r.useRef)(null);(0,r.useEffect)(()=>{e&&a.current&&(a.current.reset(),n(!1))},[e]);let o=async e=>{e.preventDefault();let t=Object.fromEntries(new FormData(e.currentTarget));try{await (0,nq.default)("appoinments",t),n(!0)}catch(e){console.error("Error al guardar",e)}};return(0,t.jsx)(nF.I18nProvider,{locale:"es-ES",children:(0,t.jsxs)(s,{ref:a,className:"relative w-full flex flex-col gap-4 p-4 px-14 py-12",onSubmit:o,children:[(0,t.jsx)("h4",{className:"text-white text-2xl text-center w-full pb-8",children:"Pide tu cita aquÃ"}),(0,t.jsx)(e2.Input,{isRequired:!0,errorMessage:"Introduce Nombre y Apellido",label:"Nombre",labelPlacement:"outside",name:"name",id:"name",placeholder:"Nombre y Apellido",type:"text",classNames:{label:"!text-white"}}),(0,t.jsx)(e2.Input,{isRequired:!0,errorMessage:"Escribe una pequeña descripción",label:"Motivo de la cita",labelPlacement:"outside",name:"desc",id:"desc",placeholder:"Breve descripción",type:"text",classNames:{label:"!text-white"}}),(0,t.jsx)(e1,{isRequired:!0,errorMessage:"Pon un teléfono válido",label:"Teléfono",labelPlacement:"outside",name:"phone",id:"phone",placeholder:"Teléfono",hideStepper:!0,classNames:{label:"!text-white"}}),(0,t.jsx)(nL.DatePicker,{className:"max-w-[284px]",label:"DÃa de la cita",labelPlacement:"outside",name:"date",classNames:{label:"!text-white"},defaultValue:(0,i.today)((0,i.getLocalTimeZone)()).subtract({days:1}),minValue:(0,i.today)((0,i.getLocalTimeZone)()),maxValue:(0,i.today)((0,i.getLocalTimeZone)()).add({days:30})}),(0,t.jsx)(nD,{className:"max-w-xs",label:"Selecciona un servicio",labelPlacement:"outside",name:"select",children:nU.map(e=>(0,t.jsx)(nz,{children:e.label},e.key))}),(0,t.jsx)(e3.Button,{type:"submit",variant:"bordered",className:"mt-4 self
1-center bg-white text-primary font-bold hover:text-footerBg",children:"Enviar Solicitud"})]})})}},77398,(e,t,r)=>{var i=e.i(57960),n=e.i(47167);!function(){var r={992:function(e){e.exports=function(e,r,i){if(e.filter)return e.filter(r,i);if(null==e||"function"!=typeof r)throw TypeError();for(var n=[],a=0;a<e.length;a++)if(t.call(e,a)){var o=e[a];r.call(i,o,a,e)&&n.push(o)}return n};var t=Object.prototype.hasOwnProperty},256:function(e,t,r){"use strict";var i=r(192),n=r(139),a=n(i("String.prototype.indexOf"));e.exports=function(e,t){var r=i(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?n(r):r}},139:function(e,t,r){"use strict";var i=r(212),n=r(192),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||i.call(o,a),l=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(i,o,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+d(0,e.length-(arguments.length-1))}),t};var u=function(){return s(i,a,arguments)};c?c(e.exports,"apply",{value:u}):e.exports.apply=u},181:function(e){"use strict";e.exports=EvalError},545:function(e){"use strict";e.exports=Error},22:function(e){"use strict";e.exports=RangeError},803:function(e){"use strict";e.exports=ReferenceError},182:function(e){"use strict";e.exports=SyntaxError},202:function(e){"use strict";e.exports=TypeError},284:function(e){"use strict";e.exports=URIError},144:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,i,n){if("[object Function]"!==r.call(i))throw TypeError("iterator must be a function");var a=e.length;if(a===+a)for(var o=0;o<a;o++)i.call(n,e[o],o,e);else for(var s in e)t.call(e,s)&&i.call(n,e[s],s,e)}},136:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,i=Math.max,n="[object Function]",a=function(e,t){for(var r=[],i=0;i<e.length;i+=1)r[i]=e[i];for(var n=0;n<t.length;n+=1)r[n+e.length]=t[n];return r},o=function(e,t){for(var r=[],i=t||0,n=0;i<e.length;i+=1,n+=1)r[n]=e[i];return r},s=function(e,t){for(var r="",i=0;i<e.length;i+=1)r+=e[i],i+1<e.length&&(r+=t);return r};e.exports=function(e){var l,c=this;if("function"!=typeof c||r.apply(c)!==n)throw TypeError(t+c);for(var d=o(arguments,1),u=function(){if(this instanceof l){var t=c.apply(this,a(d,arguments));return Object(t)===t?t:this}return c.apply(e,a(d,arguments))},f=i(0,c.length-d.length),h=[],p=0;p<f;p++)h[p]="$"+p;if(l=Function("binder","return function ("+s(h,",")+"){ return binder.apply(this,arguments); }")(u),c.prototype){var b=function(){};b.prototype=c.prototype,l.prototype=new b,b.prototype=null}return l}},212:function(e,t,r){"use strict";var i=r(136);e.exports=Function.prototype.bind||i},192:function(e,t,r){"use strict";var i,n=r(545),a=r(181),o=r(22),s=r(803),l=r(182),c=r(202),d=r(284),u=Function,f=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(e){}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(e){h=null}var p=function(){throw new c},b=h?function(){try{return arguments.callee,p}catch(e){try{return h(arguments,"callee").get}catch(e){return p}}}():p,m=r(115)(),g=r(14)(),v=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),y={},x="undefined"!=typeof Uint8Array&&v?v(Uint8Array):i,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":m&&v?v([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":m&&v?v(v([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&v?v((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&v?v((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&v?v(""[Symbol.iterator]()):i,"%Symbol%":m?Symbol:i,"%SyntaxError%":l,"%ThrowTypeError%":b,"%TypedArray%":x,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet};if(v)try{null.error}catch(e){var _=v(v(e));w["%Error.prototype%"]=_}var S=function e(t){var r;if("%AsyncFunction%"===t)r=f("async function () {}");else if("%GeneratorFunction%"===t)r=f("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=f("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(r=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var n=e("%AsyncGenerator%");n&&v&&(r=v(n.prototype))}return w[t]=r,r},M={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=r(212),k=r(270),E=j.call(Function.call,Array.prototype.concat),A=j.call(Function.apply,Array.prototype.splice),P=j.call(Function.call,String.prototype.replace),N=j.call(Function.call,String.prototype.slice),R=j.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,B=function(e){var t=N(e,0,1),r=N(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var i=[];return P(e,I,function(e,t,r,n){i[i.length]=r?P(n,C,"$1"):t||e}),i},T=function(e,t){var r,i=e;if(k(M,i)&&(i="%"+(r=M[i])[0]+"%"),k(w,i)){var n=w[i];if(n===y&&(n=S(i)),void 0===n&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:i,value:n}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=B(e),i=r.length>0?r[0]:"",n=T("%"+i+"%",t),a=n.name,o=n.value,s=!1,d=n.alias;d&&(i=d[0],A(r,E([0,1],d)));for(var u=1,f=!0;u<r.length;u+=1){var p=r[u],b=N(p,0,1),m=N(p,-1);if(('"'===b||"'"===b||"`"===b||'"'===m||"'"===m||"`"===m)&&b!==m)throw new l("property names with quotes must have matching quotes");if("constructor"!==p&&f||(s=!0),i+="."+p,k(w,a="%"+i+"%"))o=w[a];
1else if(null!=o){if(!(p in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(h&&u+1>=r.length){var g=h(o,p);o=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:o[p]}else f=k(o,p),o=o[p];f&&!s&&(w[a]=o)}}return o}},14:function(e){"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof r)}},942:function(e,t,r){"use strict";var i="undefined"!=typeof Symbol&&Symbol,n=r(773);e.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&n()}},773:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;var i=42;for(t in e[t]=i,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==i||!0!==a.enumerable)return!1}return!0}},115:function(e,t,r){"use strict";var i="undefined"!=typeof Symbol&&Symbol,n=r(832);e.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&n()}},832:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;var i=42;for(t in e[t]=i,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==i||!0!==a.enumerable)return!1}return!0}},270:function(e,t,r){"use strict";var i=Function.prototype.call,n=Object.prototype.hasOwnProperty;e.exports=r(212).call(i,n)},782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},157:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,i=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r.call(e)},n=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},a=function(){return i(arguments)}();i.isLegacyArguments=n,e.exports=a?i:n},391:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,i=/^\s*(?:function)?\*/,n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=Object.getPrototypeOf,o=function(){if(!n)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=o?a(o):{};e.exports=function(e){return"function"==typeof e&&(!!i.test(r.call(e))||(n?a(e)===s:"[object GeneratorFunction]"===t.call(e)))}},994:function(t,r,i){"use strict";var n=i(144),a=i(349),o=i(256),s=o("Object.prototype.toString"),l=i(942)()&&"symbol"==typeof Symbol.toStringTag,c=a(),d=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},u=o("String.prototype.slice"),f={},h=i(24),p=Object.getPrototypeOf;l&&h&&p&&n(c,function(t){var r=new e.g[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var i=p(r),n=h(i,Symbol.toStringTag);n||(n=h(p(i),Symbol.toStringTag)),f[t]=n.get});var b=function(e){var t=!1;return n(f,function(r,i){if(!t)try{t=r.call(e)===i}catch(e){}}),t};t.exports=function(e){return!!e&&"object"==typeof e&&(l?!!h&&b(e):d(c,u(s(e),8,-1))>-1)}},369:function(e){e.exports=function(e){return e instanceof i.Buffer}},584:function(e,t,r){"use strict";var i=r(157),n=r(391),a=r(490),o=r(994);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,d=s(Object.prototype.toString),u=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(l)var p=s(BigInt.prototype.valueOf);if(c)var b=s(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===d(e)}function v(e){return"[object Set]"===d(e)}function y(e){return"[object WeakMap]"===d(e)}function x(e){return"[object WeakSet]"===d(e)}function w(e){return"[object ArrayBuffer]"===d(e)}function _(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===d(e)}
1function M(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=i,t.isGeneratorFunction=n,t.isTypedArray=o,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||M(e)},t.isUint8Array=function(e){return"Uint8Array"===a(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===a(e)},t.isUint16Array=function(e){return"Uint16Array"===a(e)},t.isUint32Array=function(e){return"Uint32Array"===a(e)},t.isInt8Array=function(e){return"Int8Array"===a(e)},t.isInt16Array=function(e){return"Int16Array"===a(e)},t.isInt32Array=function(e){return"Int32Array"===a(e)},t.isFloat32Array=function(e){return"Float32Array"===a(e)},t.isFloat64Array=function(e){return"Float64Array"===a(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===a(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===a(e)},g.working="undefined"!=typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},v.working="undefined"!=typeof Set&&v(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(v.working?v(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},x.working="undefined"!=typeof WeakSet&&x(new WeakSet),t.isWeakSet=function(e){return x(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=_,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=M;var j="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function k(e){return"[object SharedArrayBuffer]"===d(e)}function E(e){return void 0!==j&&(void 0===k.working&&(k.working=k(new j)),k.working?k(e):e instanceof j)}function A(e){return m(e,u)}function P(e){return m(e,f)}function N(e){return m(e,h)}function R(e){return l&&m(e,p)}function I(e){return c&&m(e,b)}t.isSharedArrayBuffer=E,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===d(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===d(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===d(e)},t.isGeneratorObject=function(e){return"[object Generator]"===d(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===d(e)},t.isNumberObject=A,t.isStringObject=P,t.isBooleanObject=N,t.isBigIntObject=R,t.isSymbolObject=I,t.isBoxedPrimitive=function(e){return A(e)||P(e)||N(e)||R(e)||I(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(_(e)||E(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},177:function(e,t,r){var i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},i=0;i<t.length;i++)r[t[i]]=Object.getOwnPropertyDescriptor(e,t[i]);return r},a=/%[sdj%]/g;t.format=function(e){if(!S(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,n=i.length,o=String(e).replace(a,function(e){if("%%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(e){return"[Circular]"}default:return e}}),s=i[r];r<n;s=i[++r])w(s)||!k(s)?o+=" "+s:o+=" "+c(s);return o},t.deprecate=function(e,r){if(void 0!==n.default&&!0===n.default.noDeprecation)return e;if(void 0===n.default)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.default.throwDeprecation)throw Error(r);n.default.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},s=/^$/;if(n.default.env.NODE_DEBUG){var l=n.default.env.NODE_DEBUG;s=RegExp("^"+(l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function c(e,r){var i={seen:[],stylize:u};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),x(r)?i.showHidden=r:r&&t._extend(i,r),M(i.showHidden)&&(i.showHidden=!1),M(i.depth)&&(i.depth=2),M(i.colors)&&(i.colors=!1),M(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=d),h(i,e,i.depth)}function d(e,t){var r=c.styles[t];return r?"\x1b["+c.colors[r][0]+"m"+e+"\x1b["+c.colors[r][1]+"m":e}function u(e,t){return e}function f(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function h(e,r,i){if(e.customInspect&&r&&P(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var n,a=r.inspect(i,e);return S(a)||(a=h(e,a,i)),a}var o=p(e,r);if(o)return o;var s=Object.keys(r),l=f(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),A(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return b(r);
1if(0===s.length){if(P(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(j(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(E(r))return e.stylize(Date.prototype.toString.call(r),"date");if(A(r))return b(r)}var d="",u=!1,x=["{","}"];if(y(r)&&(u=!0,x=["[","]"]),P(r)&&(d=" [Function"+(r.name?": "+r.name:"")+"]"),j(r)&&(d=" "+RegExp.prototype.toString.call(r)),E(r)&&(d=" "+Date.prototype.toUTCString.call(r)),A(r)&&(d=" "+b(r)),0===s.length&&(!u||0==r.length))return x[0]+d+x[1];if(i<0)if(j(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");else return e.stylize("[Object]","special");return e.seen.push(r),n=u?m(e,r,i,l,s):s.map(function(t){return g(e,r,i,l,t,u)}),e.seen.pop(),v(n,d,x)}function p(e,t){if(M(t))return e.stylize("undefined","undefined");if(S(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return _(t)?e.stylize(""+t,"number"):x(t)?e.stylize(""+t,"boolean"):w(t)?e.stylize("null","null"):void 0}function b(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,r,i,n){for(var a=[],o=0,s=t.length;o<s;++o)B(t,String(o))?a.push(g(e,t,r,i,String(o),!0)):a.push("");return n.forEach(function(n){n.match(/^\d+$/)||a.push(g(e,t,r,i,n,!0))}),a}function g(e,t,r,i,n,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),B(i,n)||(o="["+n+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=w(r)?h(e,l.value,null):h(e,l.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),M(o)){if(a&&n.match(/^\d+$/))return s;(o=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function v(e,t,r){var i=0;return e.reduce(function(e,t){return i++,t.indexOf("\n")>=0&&i++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function y(e){return Array.isArray(e)}function x(e){return"boolean"==typeof e}function w(e){return null===e}function _(e){return"number"==typeof e}function S(e){return"string"==typeof e}function M(e){return void 0===e}function j(e){return k(e)&&"[object RegExp]"===N(e)}function k(e){return"object"==typeof e&&null!==e}function E(e){return k(e)&&"[object Date]"===N(e)}function A(e){return k(e)&&("[object Error]"===N(e)||e instanceof Error)}function P(e){return"function"==typeof e}function N(e){return Object.prototype.toString.call(e)}function R(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!o[e=e.toUpperCase()])if(s.test(e)){var r=n.default.pid;o[e]=function(){var i=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,i)}}else o[e]=function(){};return o[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(584),t.isArray=y,t.isBoolean=x,t.isNull=w,t.isNullOrUndefined=function(e){return null==e},t.isNumber=_,t.isString=S,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=M,t.isRegExp=j,t.types.isRegExp=j,t.isObject=k,t.isDate=E,t.types.isDate=E,t.isError=A,t.types.isNativeError=A,t.isFunction=P,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(369);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(){var e=new Date,t=[R(e.getHours()),R(e.getMinutes()),R(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function B(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",C(),t.format.apply(t,arguments))},t.inherits=r(782),t._extend=function(e,t){if(!t||!k(t))return e;for(var r=Object.keys(t),i=r.length;i--;)e[r[i]]=t[r[i]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t=e[T];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,
1configurable:!0}),t}function t(){for(var t,r,i=new Promise(function(e,i){t=e,r=i}),n=[],a=0;a<arguments.length;a++)n.push(arguments[a]);n.push(function(e,i){e?r(e):t(i)});try{e.apply(this,n)}catch(e){r(e)}return i}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=T,t.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};e.apply(this,t).then(function(e){n.default.nextTick(o.bind(null,null,e))},function(e){n.default.nextTick(O.bind(null,e,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},490:function(t,r,i){"use strict";var n=i(144),a=i(349),o=i(256),s=o("Object.prototype.toString"),l=i(942)()&&"symbol"==typeof Symbol.toStringTag,c=a(),d=o("String.prototype.slice"),u={},f=i(24),h=Object.getPrototypeOf;l&&f&&h&&n(c,function(t){if("function"==typeof e.g[t]){var r=new e.g[t];if(!(Symbol.toStringTag in r))throw EvalError("this engine has support for Symbol.toStringTag, but "+t+" does not have the property! Please report this.");var i=h(r),n=f(i,Symbol.toStringTag);n||(n=f(h(i),Symbol.toStringTag)),u[t]=n.get}});var p=function(e){var t=!1;return n(u,function(r,i){if(!t)try{var n=r.call(e);n===i&&(t=n)}catch(e){}}),t},b=i(994);t.exports=function(e){return!!b(e)&&(l?p(e):d(s(e),8,-1))}},349:function(t,r,i){"use strict";var n=i(992);t.exports=function(){return n(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(t){return"function"==typeof e.g[t]})}},24:function(e,t,r){"use strict";var i=r(192)("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(e){i=null}e.exports=i}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={exports:{}},n=!0;try{r[e](i,i.exports,o),n=!1}finally{n&&delete a[e]}return i.exports}o.ab="/ROOT/node_modules/next/dist/compiled/util/",t.exports=o(177)}()},12569,(e,t,r)=>{var i=e.i(47167);!function(){var r={782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},646:function(e){"use strict";let t={};function r(e,r,i){function n(e,t,i){return"string"==typeof r?r:r(e,t,i)}i||(i=Error);class a extends i{constructor(e,t,r){super(n(e,t,r))}}a.prototype.name=i.name,a.prototype.code=e,t[e]=a}function i(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));{let r=e.length;return(e=e.map(e=>String(e)),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}}function n(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function a(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function o(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){let s,l;if("string"==typeof t&&n(t,"not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be",a(e," argument"))l="The ".concat(e," ").concat(s," ").concat(i(t,"type"));else{let r=o(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(r," ").concat(s," ").concat(i(t,"type"))}return l+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,r){"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=r(709),o=r(337);r(782)(d,a);for(var s=n(o.prototype),l=0;l<s.length;l++){var c=s[l];d.prototype[c]||(d.prototype[c]=o.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||i.default.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},889:function(e,t,r){"use strict";e.exports=n;var i=r(170);function n(e){if(!(this instanceof n))return new n(e);
vendor: 7,352 bytes, line 1
1i.call(this,e)}r(782)(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},709:function(t,r,n){"use strict";t.exports=P,P.ReadableState=A,n(361).EventEmitter;var a,o,s,l,c,d=function(e,t){return e.listeners(t).length},u=n(678),f=n(300).Buffer,h=e.g.Uint8Array||function(){};function p(e){return f.from(e)}function b(e){return f.isBuffer(e)||e instanceof h}var m=n(837);o=m&&m.debuglog?m.debuglog("stream"):function(){};var g=n(379),v=n(25),y=n(776).getHighWaterMark,x=n(646).q,w=x.ERR_INVALID_ARG_TYPE,_=x.ERR_STREAM_PUSH_AFTER_EOF,S=x.ERR_METHOD_NOT_IMPLEMENTED,M=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(782)(P,u);var j=v.errorOrDestroy,k=["error","close","destroy","pause","resume"];function E(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function A(e,t,r){a=a||n(403),e=e||{},"boolean"!=typeof r&&(r=t instanceof a),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s||(s=n(704).s),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function P(e){if(a=a||n(403),!(this instanceof P))return new P(e);var t=this instanceof a;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function N(e,t,r,i,n){o("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,O(e,s);else if(n||(a=I(s,t)),a)j(e,a);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===f.prototype||(t=p(t)),i)s.endEmitted?j(e,new M):R(e,s,t,!0);else if(s.ended)j(e,new _);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?R(e,s,t,!1):L(e,s)):R(e,s,t,!1)}else i||(s.reading=!1,L(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function R(e,t,r,i){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&D(e)),L(e,t)}function I(e,t){var r;return b(t)||"string"==typeof t||void 0===t||e.objectMode||(r=new w("chunk",["string","Buffer","Uint8Array"],t)),r}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),P.prototype.destroy=v.destroy,P.prototype._undestroy=v.undestroy,P.prototype._destroy=function(e,t){t(e)},P.prototype.push=function(e,t){var r,i=this._readableState;return i.objectMode?r=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=f.from(e,t),t=""),r=!0),N(this,e,t,!1,r)},P.prototype.unshift=function(e){return N(this,e,null,!0,!1)},P.prototype.isPaused=function(){return!1===this._readableState.flowing},P.prototype.setEncoding=function(e){s||(s=n(704).s);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var C=0x40000000;function B(e){return e>=C?e=C:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function T(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&(t.highWaterMark=B(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function O(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?D(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,z(e)))}}function D(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,i.default.nextTick(z,e))}function z(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,H(e)}function L(e,t){t.readingMore||(t.readingMore=!0,i.default.nextTick(q,e,t))}function q(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(o("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function F(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&d(e,"data")&&(t.flowing=!0,H(e))}}function U(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function W(e){o("readable nexttick read 0"),e.read(0)}function V(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.default.nextTick(K,e,t))}function K(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function G(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function Z(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.default.nextTick(J,t,e))}function J(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function Y(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return -1}P.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t,r=this._readableState,i=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return o("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?Z(this):D(this),null;if(0===(e=T(e,r))&&r.ended)return 0===r.length&&Z(this),null;var n=r.needReadable;return o("need readable",n),(0===r.length||r.length-e<r.highWaterMark)&&o("length less than watermark",n=!0),r.ended||r.reading?o("reading or ended",n=!1):n&&(o("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=T(i,r))),null===(t=e>0?G(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),i!==e&&r.ended&&Z(this)),null!==t&&this.emit
vendor: 14,462 bytes, line 1
1("data",t),t},P.prototype._read=function(e){j(this,new S("_read()"))},P.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,o("pipe count=%d opts=%j",n.pipesCount,t);var a=t&&!1===t.end||e===i.default.stdout||e===i.default.stderr?g:l;function s(e,t){o("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function l(){o("onend"),e.end()}n.endEmitted?i.default.nextTick(a):r.once("end",a),e.on("unpipe",s);var c=F(r);e.on("drain",c);var u=!1;function f(){o("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",p),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",h),u=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}function h(t){o("ondata");var i=e.write(t);o("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==Y(n.pipes,e))&&!u&&(o("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(t){o("onerror",t),g(),e.removeListener("error",p),0===d(e,"error")&&j(e,t)}function b(){e.removeListener("finish",m),g()}function m(){o("onfinish"),e.removeListener("close",b),g()}function g(){o("unpipe"),r.unpipe(e)}return r.on("data",h),E(e,"error",p),e.once("close",b),e.once("finish",m),e.emit("pipe",r),n.flowing||(o("pipe resume"),r.resume()),e},P.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<n;a++)i[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Y(t.pipes,e);return -1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},P.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,o("on readable",n.length,n.reading),n.length?D(this):n.reading||i.default.nextTick(W,this)),r},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(e,t){var r=u.prototype.removeListener.call(this,e,t);return"readable"===e&&i.default.nextTick(U,this),r},P.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&i.default.nextTick(U,this),t},P.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,V(this,e)),e.paused=!1,this},P.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},P.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;for(var n in e.on("end",function(){if(o("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(n){if(o("wrapped data"),r.decoder&&(n=r.decoder.write(n)),!r.objectMode||null!=n)(r.objectMode||n&&n.length)&&(t.push(n)||(i=!0,e.pause()))}),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n));for(var a=0;a<k.length;a++)e.on(k[a],this.emit.bind(this,k[a]));return this._read=function(t){o("wrapped _read",t),i&&(i=!1,e.resume())},this},"function"==typeof Symbol&&(P.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=n(871)),l(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),P._fromList=G,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(P.from=function(e,t){return void 0===c&&(c=n(727)),c(P,e,t)})},170:function(e,t,r){"use strict";e.exports=d;var i=r(646).q,n=i.ERR_METHOD_NOT_IMPLEMENTED,a=i.ERR_MULTIPLE_CALLBACK,o=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=i.ERR_TRANSFORM_WITH_LENGTH_0,l=r(403);function c(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(null===i)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function d(e){if(!(this instanceof d))return new d(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,r){f(e,t,r)})}function f(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new o;return e.push(null)}r(782)(d,l),d.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},d.prototype._transform=function(e,t,r){r(new n("_transform()"))},d.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}},d.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},d.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},337:function(t,r,n){"use strict";function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){K(t,e)}}t.exports=A,A.WritableState=E;var o,s,l={deprecate:n(769)},c=n(678),d=n(300).Buffer,u=e.g.Uint8Array||function(){};function f(e){return d.from(e)}function h(e){return d.isBuffer(e)||e instanceof u}var p=n(25),b=n(776).getHighWaterMark,m=n(646).q,g=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,x=m.ERR_STREAM_CANNOT_PIPE,w=m.ERR_STREAM_DESTROYED,_=m.ERR_STREAM_NULL_VALUES,S=m.ERR_STREAM_WRITE_AFTER_END,M=m.ERR_UNKNOWN_ENCODING,j=p.errorOrDestroy;function k(){}function E(e,t,r){o=o||n(403),e=e||{},"boolean"!=typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=b(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){O(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function A(e){var t=this instanceof(o=o||n(403));if(!t&&!s.call(A,this))return new A(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function P(e,t){var r=new S;j(e,r),i.default.nextTick(t,r)}function N(e,t,r,n){var a;return null===r?a=new _:"string"==typeof r||t.objectMode||(a=new g("chunk",["string","Buffer"],r)),!a||(j(e,a),i.default.nextTick(n,a),!1)}function R(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,r)),t}function I(e,t,r,i,n,a){if(!r){var o=R(t,i,n);i!==o&&(r=!0,n="buffer",i=o)}var s=t.objectMode?1:i.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,s,i,n,a);return l}function C(e,t,r,i,n,a,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new w("write")):r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=!1}function B(e,t,r,n,a){--t.pendingcb,r?(i.default.nextTick(a,n),i.default.nextTick(W,e,t),e._writableState.errorEmitted=!0,j(e,n)):(a(n),e._writableState.errorEmitted=!0,j(e,n),W(e,t))}function T(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function O(e,t){var r=e._writableState,n=r.sync,a=r.writecb;if("function"!=typeof a)throw new y;if(T(r),t)B(e,r,n,t,a);else{var o=q(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||L(e,r),n?i.default.nextTick(D,e,r,o,a):D(e,r,o,a)}}function D(e,t,r,i){r||z(e,t),t.pendingcb--,i(),W(e,t)}function z(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function L(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=Array(t.bufferedRequestCount),n=t.corkedRequestsFree;n.entry=r;for(var o=0,s=!0;r;)i[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,C(e,t,!0,t.length,i,"",n.finish),t.pendingcb++,t.lastBufferedRequest=null,n.next?(t.corkedRequestsFree=n.next,n.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,d=r.callback,u=t.objectMode?1:l.length;if(C(e,t,!1,u,l,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function q(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function F(e,t){e._final(function(r){t.pendingcb--,r&&j(e,r),t.prefinished=!0,e.emit("prefinish"),W(e,t)})}function U(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.default.nextTick(F,e,t)))}function W(e,t){var r=q(t);if(r&&(U(e,t),0===t.pendingcb)&&(t.finished=!0,e.emit("finish"),t.autoDestroy)){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function V(e,t,r){t.ending=!0,W(e,t),r&&(t.finished?i.default.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function K(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}n(782)(A,c),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===A&&e&&e._writableState instanceof E}})):s=function(e){return e instanceof this},A.prototype.pipe=function(){j(this,new x)},A.prototype.write=function(e,t,r){var i=this._writableState,n=!1,a=!i.objectMode&&h(e);return a&&!d.isBuffer(e)&&(e=f(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=k),i.ending?P(this,r):(a||N(this,i,e,r))&&(i.pendingcb++,n=I(this,i,a,e,t,r)),n},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||L(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new M(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,r){r(new v("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||V(this,i,r),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=p.destroy,A.prototype._undestroy=p.undestroy,A.prototype._destroy=function(e,t){t(e)}},871:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a,o=r(698),s=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),u=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function b(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[u]=null,e[s]=null,e[l]=null,t(p(r,!1)))}}function m(e){i.default.nextTick(b,e)}function g(e,t){return function(r,i){e.then(function(){if(t[d])return void r(p(void 0,!0));t[f](r,i)},i)}}var v=Object.getPrototypeOf(function(){}
1),y=Object.setPrototypeOf((n(a={get stream(){return this[h]},next:function(){var e,t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[d])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise(function(e,r){i.default.nextTick(function(){t[c]?r(t[c]):e(p(void 0,!0))})});var n=this[u];if(n)e=new Promise(g(n,this));else{var a=this[h].read();if(null!==a)return Promise.resolve(p(a,!1));e=new Promise(this[f])}return this[u]=e,e}},Symbol.asyncIterator,function(){return this}),n(a,"return",function(){var e=this;return new Promise(function(t,r){e[h].destroy(null,function(e){if(e)return void r(e);t(p(void 0,!0))})})}),a),v);e.exports=function(e){var t,r=Object.create(y,(n(t={},h,{value:e,writable:!0}),n(t,s,{value:null,writable:!0}),n(t,l,{value:null,writable:!0}),n(t,c,{value:null,writable:!0}),n(t,d,{value:e._readableState.endEmitted,writable:!0}),n(t,f,{value:function(e,t){var i=r[h].read();i?(r[u]=null,r[s]=null,r[l]=null,e(p(i,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[u]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[u]=null,r[s]=null,r[l]=null,t(e)),r[c]=e;return}var i=r[s];null!==i&&(r[u]=null,r[s]=null,r[l]=null,i(p(void 0,!0))),r[d]=!0}),e.on("readable",m.bind(null,r)),r}},379:function(e,t,r){"use strict";function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var c=r(300).Buffer,d=r(837).inspect,u=d&&d.custom||"inspect";function f(e,t,r){c.prototype.copy.call(e,t,r)}e.exports=function(){function e(){o(this,e),this.head=null,this.tail=null,this.length=0}return l(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),r=this.head,i=0;r;)f(r.data,t,i),i+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,i=t.data;for(e-=i.length;t=t.next;){var n=t.data,a=e>n.length?n.length:e;if(a===n.length?i+=n:i+=n.slice(0,e),0==(e-=a)){a===n.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=n.slice(a));break}++r}return this.length-=r,i}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),r=this.head,i=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var n=r.data,a=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,a),0==(e-=a)){a===n.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=n.slice(a));break}++i}return this.length-=i,t}},{key:u,value:function(e,t){return d(this,n({},t,{depth:0,customInspect:!1}))}}]),e}()},25:function(e){"use strict";function t(e,t){n(e,t),r(e)}function r(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function n(e,t){e.emit("error",t)}e.exports={destroy:function(e,a){var o=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?a?a(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.default.nextTick(n,this,e)):i.default.nextTick(n,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!a&&e?o._writableState?o._writableState.errorEmitted?i.default.nextTick(r,o):(o._writableState.errorEmitted=!0,i.default.nextTick(t,o,e)):i.default.nextTick(t,o,e):a?(i.default.nextTick(r,o),a(e)):i.default.nextTick(r,o)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}}},698:function(e,t,r){"use strict";
vendor: 2,421 bytes, line 1
1var i=r(646).q.ERR_STREAM_PREMATURE_CLOSE;function n(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function a(){}function o(e){return e.setHeader&&"function"==typeof e.abort}function s(e,t,r){if("function"==typeof t)return s(e,null,t);t||(t={}),r=n(r||a);var l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,d=function(){e.writable||f()},u=e._writableState&&e._writableState.finished,f=function(){c=!1,u=!0,l||r.call(e)},h=e._readableState&&e._readableState.endEmitted,p=function(){l=!1,h=!0,c||r.call(e)},b=function(t){r.call(e,t)},m=function(){var t;return l&&!h?(e._readableState&&e._readableState.ended||(t=new i),r.call(e,t)):c&&!u?(e._writableState&&e._writableState.ended||(t=new i),r.call(e,t)):void 0},g=function(){e.req.on("finish",f)};return o(e)?(e.on("complete",f),e.on("abort",m),e.req?g():e.on("request",g)):c&&!e._writableState&&(e.on("end",d),e.on("close",d)),e.on("end",p),e.on("finish",f),!1!==t.error&&e.on("error",b),e.on("close",m),function(){e.removeListener("complete",f),e.removeListener("abort",m),e.removeListener("request",g),e.req&&e.req.removeListener("finish",f),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",f),e.removeListener("end",p),e.removeListener("error",b),e.removeListener("close",m)}}e.exports=s},727:function(e,t,r){"use strict";function i(e,t,r,i,n,a,o){try{var s=e[a](o),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(i,n)}function n(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var o=e.apply(t,r);function s(e){i(o,n,a,s,l,"next",e)}function l(e){i(o,n,a,s,l,"throw",e)}s(void 0)})}}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}
1var l=r(646).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){if(t&&"function"==typeof t.next)i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new l("iterable",["Iterable"],t);var i,a=new e(o({objectMode:!0},r)),s=!1;function c(){return d.apply(this,arguments)}function d(){return(d=n(function*(){try{var e=yield i.next(),t=e.value;e.done?a.push(null):a.push((yield t))?c():s=!1}catch(e){a.destroy(e)}})).apply(this,arguments)}return a._read=function(){s||(s=!0,c())},a}},442:function(e,t,r){"use strict";function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var n,a=r(646).q,o=a.ERR_MISSING_ARGS,s=a.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function c(e){return e.setHeader&&"function"==typeof e.abort}function d(e,t,a,o){o=i(o);var l=!1;e.on("close",function(){l=!0}),void 0===n&&(n=r(698)),n(e,{readable:t,writable:a},function(e){if(e)return o(e);l=!0,o()});var d=!1;return function(t){if(!l&&!d){if(d=!0,c(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();o(t||new s("pipe"))}}}function u(e){e()}function f(e,t){return e.pipe(t)}function h(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():l}e.exports=function(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var n=h(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var a=r.map(function(t,i){var o=i<r.length-1;return d(t,o,i>0,function(t){e||(e=t),t&&a.forEach(u),o||(a.forEach(u),n(e))})});return r.reduce(f)}},776:function(e,t,r){"use strict";var i=r(646).q.ERR_INVALID_OPT_VALUE;function n(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}e.exports={getHighWaterMark:function(e,t,r,a){var o=n(t,a,r);if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new i(a?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},678:function(e,t,r){e.exports=r(781)},55:function(e,t,r){var i=r(300),n=i.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(n.prototype),a(n,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},173:function(e,t,r){e.exports=n;var i=r(361).EventEmitter;function n(){i.call(this)}r(782)(n,i),n.Readable=r(709),n.Writable=r(337),n.Duplex=r(403),n.Transform=r(170),n.PassThrough=r(889),n.finished=r(698),n.pipeline=r(442),n.Stream=n,n.prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",a),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var o=!1;function s(){o||(o=!0,e.end())}function l(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(d(),0===i.listenerCount(this,"error"))throw e}function d(){r.removeListener("data",n),e.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",d),r.removeListener("close",d),e.removeListener("close",d)}return r.on("error",c),e.on("error",c),r.on("end",d),r.on("close",d),e.on("close",d),e.emit("pipe",r),e}},704:function(e,t,r){"use strict";var i=r(55).Buffer,n=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
1case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=a(e);if("string"!=typeof t&&(i.isEncoding===n||!n(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=o(e),this.encoding){case"utf16le":this.text=p,this.end=b,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=m,this.end=g,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,r){var i=t.length-1;if(i<r)return 0;var n=l(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||-2===n?0:(n=l(t[i]))>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||-2===n?0:(n=l(t[i]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}function d(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function u(e){var t=this.lastTotal-this.lastNeed,r=d(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function f(e,t){var r=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function b(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function m(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=h,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(t){function r(t){try{if(!e.g.localStorage)return!1}catch(e){return!1}var r=e.g.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function e(e,t){if(r("noDeprecation"))return e;var i=!1;return function(){if(!i){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),i=!0}return e.apply(this,arguments)}}},300:function(t){"use strict";t.exports=e.r(57960)},361:function(t){"use strict";t.exports=e.r(19298)},781:function(t){"use strict";t.exports=e.r(19298).EventEmitter},837:function(t){"use strict";t.exports=e.r(77398)}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}},o=!0;try{r[e](i,i.exports,a),o=!1}finally{o&&delete n[e]}return i.exports}a.ab="/ROOT/node_modules/next/dist/compiled/stream-browserify/",t.exports=a(173)}()},42524,(e,t,r)=>{var i=e.r(57960),n=i.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=i:(a(i,r),r.Buffer=o),o.prototype=Object.create(n.prototype),a(n,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},19049,(e,t,r)=>{"use strict";var i=e.r(42524).Buffer,n=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
vendor: 4,268 bytes, line 1
1case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=a(e);if("string"!=typeof t&&(i.isEncoding===n||!n(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=o(e),this.encoding){case"utf16le":this.text=p,this.end=b,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=m,this.end=g,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,r){var i=t.length-1;if(i<r)return 0;var n=l(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||-2===n?0:(n=l(t[i]))>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||-2===n?0:(n=l(t[i]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}function d(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function u(e){var t=this.lastTotal-this.lastNeed,r=d(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function f(e,t){var r=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function b(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function m(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}r.StringDecoder=s,s.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=h,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},13385,(__turbopack_context__,module,exports)=>{!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return -1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);
1this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,i=r.eval,n=r.execScript;!i&&n&&(n.call(r,"null"),i=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var a=Object_keys(r),o=i.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(a,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}}};"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/vm-browserify/");var __webpack_exports__={};__webpack_modules__[950](0,__webpack_exports__),module.exports=__webpack_exports__}()},86914,(e,t,r)=>{var i=e.i(57960),n=e.i(47167);!function(){var r={7160:function(e,t,r){var i=t;i.bignum=r(711),i.define=r(495).define,i.base=r(853),i.constants=r(7335),i.decoders=r(6
vendor: 5,061 bytes, line 1
1701),i.encoders=r(3418)},495:function(e,t,r){var i=r(7160),n=r(3782);function a(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new a(e,t)},a.prototype._createNamed=function(e){var t;try{t=r(6144).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return n(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},a.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},a.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},a.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},a.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},6483:function(e,t,r){var i=r(3782),n=r(853).Reporter,a=r(4300).Buffer;function o(e,t){if(n.call(this,t),!a.isBuffer(e))return void this.error("Input not Buffer");this.base=e,this.offset=0,this.length=e.length}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=a.byteLength(e);else{if(!a.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}i(o,n),t.C=o,o.prototype.save=function(){return{offset:this.offset,reporter:n.prototype.save.call(this)}},o.prototype.restore=function(e){var t=new o(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,n.prototype.restore.call(this,e.reporter),t},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},o.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new o(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},o.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=s,s.prototype.join=function(e,t){return e||(e=new a(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):a.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},853:function(e,t,r){var i=t;i.Reporter=r(1293).b,i.DecoderBuffer=r(6483).C,i.EncoderBuffer=r(6483).R,i.Node=r(9374)},9374:function(e,t,r){var i=r(853).Reporter,n=r(853).EncoderBuffer,a=r(853).DecoderBuffer,o=r(3523),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s),c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function d(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}e.exports=d;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){var e=this._baseState,t={};u.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},d.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},d.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),o.equal(t.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(o(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0),t[e[r]]=r}),t}))}
vendor: 1,821 bytes, line 1
1,c.forEach(function(e){d.prototype[e]=function(){throw Error(e+" not implemented for encoding: "+this._baseState.enc)}}),s.forEach(function(e){d.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(r),this}}),d.prototype.use=function(e){o(e);var t=this._baseState;return o(null===t.use),t.use=e,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(e){var t=this._baseState;return o(null===t.default),t.default=e,t.optional=!0,this},d.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},d.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},d.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},d.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},d.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},d.prototype._decode=function(e,t){var r,i=this._baseState;if(null===i.parent)return e.wrapResult(i.children[0]._decode(e,t));var n=i.default,o=!0,s=null;if(null!==i.key&&(s=e.enterKey(i.key)),i.optional){var l=null;if(null!==i.explicit?l=i.explicit:null!==i.implicit?l=i.implicit:null!==i.tag&&(l=i.tag),null!==l||i.any){if(o=this._peekTag(e,l,i.any),e.isError(o))return o}else{var c=e.save();try{null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t),o=!0}
1catch(e){o=!1}e.restore(c)}}if(i.obj&&o&&(r=e.enterObject()),o){if(null!==i.explicit){var d=this._decodeTag(e,i.explicit);if(e.isError(d))return d;e=d}var u=e.offset;if(null===i.use&&null===i.choice){if(i.any)var c=e.save();var f=this._decodeTag(e,null!==i.implicit?i.implicit:i.tag,i.any);if(e.isError(f))return f;i.any?n=e.raw(c):e=f}if(t&&t.track&&null!==i.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==i.tag&&t.track(e.path(),e.offset,e.length,"content"),i.any||(n=null===i.choice?this._decodeGeneric(i.tag,e,t):this._decodeChoice(e,t)),e.isError(n))return n;if(i.any||null!==i.choice||null===i.children||i.children.forEach(function(r){r._decode(e,t)}),i.contains&&("octstr"===i.tag||"bitstr"===i.tag)){var h=new a(n);n=this._getUse(i.contains,e._reporterState.obj)._decode(h,t)}}return i.obj&&o&&(n=e.leaveObject(r)),null!==i.key&&(null!==n||!0===o)?e.leaveKey(s,i.key,n):null!==s&&e.exitKey(s),n},d.prototype._decodeGeneric=function(e,t,r){var i=this._baseState;if("seq"===e||"set"===e)return null;if("seqof"===e||"setof"===e)return this._decodeList(t,e,i.args[0],r);if(/str$/.test(e))return this._decodeStr(t,e,r);if("objid"===e&&i.args)return this._decodeObjid(t,i.args[0],i.args[1],r);if("objid"===e)return this._decodeObjid(t,null,null,r);if("gentime"===e||"utctime"===e)return this._decodeTime(t,e,r);else if("null_"===e)return this._decodeNull(t,r);else if("bool"===e)return this._decodeBool(t,r);else if("objDesc"===e)return this._decodeStr(t,e,r);else if("int"===e||"enum"===e)return this._decodeInt(t,i.args&&i.args[0],r);return null!==i.use?this._getUse(i.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},d.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),o(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},d.prototype._decodeChoice=function(e,t){var r=this._baseState,i=null,n=!1;return(Object.keys(r.choice).some(function(a){var o=e.save(),s=r.choice[a];try{var l=s._decode(e,t);if(e.isError(l))return!1;i={type:a,value:l},n=!0}catch(t){return e.restore(o),!1}return!0},this),n)?i:e.error("Choice not matched")},d.prototype._createEncoderBuffer=function(e){return new n(e,this.reporter)},d.prototype._encode=function(e,t,r){var i=this._baseState;if(null===i.default||i.default!==e){var n=this._encodeValue(e,t,r);if(void 0!==n&&!this._skipDefault(n,t,r))return n}},d.prototype._encodeValue=function(e,t,r){var n,a=this._baseState;if(null===a.parent)return a.children[0]._encode(e,t||new i);var n=null;if(this.reporter=t,a.optional&&void 0===e)if(null===a.default)return;else e=a.default;var o=null,s=!1;if(a.any)n=this._createEncoderBuffer(e);else if(a.choice)n=this._encodeChoice(e,t);else if(a.contains)o=this._getUse(a.contains,r)._encode(e,t),s=!0;else if(a.children)o=a.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var i=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var n=r._encode(e[r._baseState.key],t,e);return t.leaveKey(i),n},this).filter(function(e){return e}),o=this._createEncoderBuffer(o);else if("seqof"===a.tag||"setof"===a.tag){if(!(a.args&&1===a.args.length))return t.error("Too many args for : "+a.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,o=this._createEncoderBuffer(e.map(function(r){var i=this._baseState;return this._getUse(i.args[0],e)._encode(r,t)},l))}else null!==a.use?n=this._getUse(a.use,r)._encode(e,t):(o=this._encodePrimitive(a.tag,e),s=!0);if(!a.any&&null===a.choice){var c=null!==a.implicit?a.implicit:a.tag,d=null===a.implicit?"universal":"context";null===c?null===a.use&&t.error("Tag could be omitted only for .use()"):null===a.use&&(n=this._encodeComposite(c,s,d,o))}return null!==a.explicit&&(n=this._encodeComposite(a.explicit,!1,"context",n)),n},d.prototype._encodeChoice=function(e,t){var r=this._baseState,i=r.choice[e.type];return i||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),i._encode(e.value,t)},d.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();else if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);else if("bool"===e)return this._encodeBool(t);else if("objDesc"===e)return this._encodeStr(t,e);else throw Error("Unsupported tag: "+e)},d.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},d.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},1293:function(e,t,r){var i=r(3782);function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}t.b=n,n.prototype.isError=function(e){return e instanceof a},n.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){var i=this._reporterState;this.exitKey(e),null!==i.obj&&(i.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){var t,r=this._reporterState,i=e instanceof a;
1if(t=i?e:new a(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return i||r.errors.push(t),t},n.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},i(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw Error(this.message)}catch(e){this.stack=e.stack}return this}},9791:function(e,t,r){var i=r(7335);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=i._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=i._reverse(t.tag)},7335:function(e,t,r){var i=t;i._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0),t[e[r]]=r}),t},i.der=r(9791)},2259:function(e,t,r){var i=r(3782),n=r(7160),a=n.base,o=n.bignum,s=n.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){a.Node.call(this,"der",e)}function d(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var i=s.tagClass[r>>6],n=(32&r)==0;if((31&r)==31){var a=r;for(r=0;(128&a)==128;){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}else r&=31;var o=s.tag[r];return{cls:i,primitive:n,tag:r,tagStr:o}}function u(e,t,r){var i=e.readUInt8(r);if(e.isError(i))return i;if(!t&&128===i)return null;if((128&i)==0)return i;var n=127&i;if(n>4)return e.error("length octect is too long");i=0;for(var a=0;a<n;a++){i<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;i|=o}return i}e.exports=l,l.prototype.decode=function(e,t){return e instanceof a.DecoderBuffer||(e=new a.DecoderBuffer(e,t)),this.tree._decode(e,t)},i(c,a.Node),c.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var i=e.save(),n=d(e,'Failed to peek tag: "'+t+'"');return e.isError(n)?n:(e.restore(i),n.tag===t||n.tagStr===t||n.tagStr+"of"===t||r)},c.prototype._decodeTag=function(e,t,r){var i=d(e,'Failed to decode tag of "'+t+'"');if(e.isError(i))return i;var n=u(e,i.primitive,'Failed to get length of "'+t+'"');if(e.isError(n))return n;if(!r&&i.tag!==t&&i.tagStr!==t&&i.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(i.primitive||null!==n)return e.skip(n,'Failed to match body of: "'+t+'"');var a=e.save(),o=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(o)?o:(n=e.offset-a.offset,e.restore(a),e.skip(n,'Failed to match body of: "'+t+'"'))},c.prototype._skipUntilEnd=function(e,t){for(;;){var r,i=d(e,t);if(e.isError(i))return i;var n=u(e,i.primitive,t);if(e.isError(n))return n;if(r=i.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(r))return r;if("end"===i.tagStr)break}},c.prototype._decodeList=function(e,t,r,i){for(var n=[];!e.isEmpty();){var a=this._peekTag(e,"end");if(e.isError(a))return a;var o=r.decode(e,"der",i);if(e.isError(o)&&a)break;n.push(o)}return n},c.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var i=e.raw();if(i.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var n="",a=0;a<i.length/2;a++)n+=String.fromCharCode(i.readUInt16BE(2*a));return n}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();else if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}else if(/str$/.test(t))return e.raw().toString();else return e.error("Decoding of string type: "+t+" unsupported")},c.prototype._decodeObjid=function(e,t,r){for(var i,n=[],a=0;!e.isEmpty();){var o=e.readUInt8();a<<=7,a|=127&o,(128&o)==0&&(n.push(a),a=0)}128&o&&n.push(a);var s=n[0]/40|0,l=n[0]%40;if(i=r?n:[s,l].concat(n.slice(1)),t){var c=t[i.join(" ")];void 0===c&&(c=t[i.join(".")]),void 0!==c&&(i=c)}return i},c.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var i=0|r.slice(0,4),n=0|r.slice(4,6),a=0|r.slice(6,8),o=0|r.slice(8,10),s=0|r.slice(10,12),l=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var i=0|r.slice(0,2),n=0|r.slice(2,4),a=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),l=0|r.slice(10,12);i=i<70?2e3+i:1900+i}return Date.UTC(i,n-1,a,o,s,l,0)},c.prototype._decodeNull=function(e){return null},c.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},c.prototype._decodeInt=function(e,t){var r=new o(e.raw());return t&&(r=t[r.toString(10)]||r),r},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},6701:function(e,t,r){var i=t;i.der=r(2259),i.pem=r(8527)},8527:function(e,t,r){var i=r(3782),n=r(4300).Buffer,a=r(2259);function o(e){a.call(this,e),this.enc="pem"}i(o,a),e.exports=o,o.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),i=t.label.toUpperCase(),o=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,l=-1,c=0;c<r.length;c++){var d=r[c].match(o);if(null!==d&&d[2]===i)if(-1===s){if("BEGIN"!==d[1])break;s=c}else{if("END"!==d[1])break;l=c;break}}if(-1===s||-1===l)throw Error("PEM section not found for: "+i);var u=r.slice(s+1,l).join("");
1u.replace(/[^a-z0-9\+\/=]+/gi,"");var f=new n(u,"base64");return a.prototype.decode.call(this,f,t)}},7804:function(e,t,r){var i=r(3782),n=r(4300).Buffer,a=r(7160),o=a.base,s=a.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new c,this.tree._init(e.body)}function c(e){o.Node.call(this,"der",e)}function d(e){return e<10?"0"+e:e}function u(e,t,r,i){var n;if("seqof"===e?e="seq":"setof"===e&&(e="set"),s.tagByName.hasOwnProperty(e))n=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return i.error("Unknown tag: "+e);n=e}return n>=31?i.error("Multi-octet tag encoding unsupported"):(t||(n|=32),n|=s.tagClassByName[r||"universal"]<<6)}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},i(c,o.Node),c.prototype._encodeComposite=function(e,t,r,i){var a=u(e,t,r,this.reporter);if(i.length<128){var o=new n(2);return o[0]=a,o[1]=i.length,this._createEncoderBuffer([o,i])}for(var s=1,l=i.length;l>=256;l>>=8)s++;var o=new n(2+s);o[0]=a,o[1]=128|s;for(var l=1+s,c=i.length;c>0;l--,c>>=8)o[l]=255&c;return this._createEncoderBuffer([o,i])},c.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new n(2*e.length),i=0;i<e.length;i++)r.writeUInt16BE(e.charCodeAt(i),2*i);return this._createEncoderBuffer(r)}if("numstr"===t)return this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space");if("printstr"===t)return this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark");if(/str$/.test(t))return this._createEncoderBuffer(e);else if("objDesc"===t)return this._createEncoderBuffer(e);else return this.reporter.error("Encoding of string type: "+t+" unsupported")},c.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(var i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var a=0,i=0;i<e.length;i++){var o=e[i];for(a++;o>=128;o>>=7)a++}for(var s=new n(a),l=s.length-1,i=e.length-1;i>=0;i--){var o=e[i];for(s[l--]=127&o;(o>>=7)>0;)s[l--]=128|127&o}return this._createEncoderBuffer(s)},c.prototype._encodeTime=function(e,t){var r,i=new Date(e);return"gentime"===t?r=""+d(i.getFullYear())+d(i.getUTCMonth()+1)+d(i.getUTCDate())+d(i.getUTCHours())+d(i.getUTCMinutes())+d(i.getUTCSeconds())+"Z":"utctime"===t?r=""+d(i.getFullYear()%100)+d(i.getUTCMonth()+1)+d(i.getUTCDate())+d(i.getUTCHours())+d(i.getUTCMinutes())+d(i.getUTCSeconds())+"Z":this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},c.prototype._encodeNull=function(){return this._createEncoderBuffer("")},c.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!n.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new n(r)}if(n.isBuffer(e)){var i=e.length;0===e.length&&i++;var a=new n(i);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var i=1,o=e;o>=256;o>>=8)i++;for(var a=Array(i),o=a.length-1;o>=0;o--)a[o]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new n(a))},c.prototype._encodeBool=function(e){return this._createEncoderBuffer(255*!!e)},c.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},c.prototype._skipDefault=function(e,t,r){var i,n=this._baseState;if(null===n.default)return!1;
vendor: 4,911 bytes, line 1
1var a=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),a.length!==n.defaultBuffer.length)return!1;for(i=0;i<a.length;i++)if(a[i]!==n.defaultBuffer[i])return!1;return!0}},3418:function(e,t,r){var i=t;i.der=r(7804),i.pem=r(1564)},1564:function(e,t,r){var i=r(3782),n=r(7804);function a(e){n.call(this,e),this.enc="pem"}i(a,n),e.exports=a,a.prototype.encode=function(e,t){for(var r=n.prototype.encode.call(this,e).toString("base64"),i=["-----BEGIN "+t.label+"-----"],a=0;a<r.length;a+=64)i.push(r.slice(a,a+64));return i.push("-----END "+t.label+"-----"),i.join("\n")}},711:function(e,t,r){!function(e,t){"use strict";function i(e,t){if(!e)throw Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{l=r(4300).Buffer}catch(e){}function o(e,t,r){for(var i=0,n=Math.min(e.length,r),a=t;a<n;a++){var o=e.charCodeAt(a)-48;i<<=4,o>=49&&o<=54?i|=o-49+10:o>=17&&o<=22?i|=o-17+10:i|=15&o}return i}function s(e,t,r,i){for(var n=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;n*=i,s>=49?n+=s-49+10:s>=17?n+=s-17+10:n+=s}return n}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&n++,16===t?this._parseHex(e,n):this._parseBase(e,t,n),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<0x4000000?(this.words=[0x3ffffff&e],this.length=1):e<0x10000000000000?(this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff],this.length=2):(i(e<0x20000000000000),this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var n,a,o=0;o<this.length;o++)this.words[o]=0;var s=0;if("be"===r)for(o=e.length-1,n=0;o>=0;o-=3)a=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[n]|=a<<s&0x3ffffff,this.words[n+1]=a>>>26-s&0x3ffffff,(s+=24)>=26&&(s-=26,n++);else if("le"===r)for(o=0,n=0;o<e.length;o+=3)a=e[o]|e[o+1]<<8|e[o+2]<<16,this.words[n]|=a<<s&0x3ffffff,this.words[n+1]=a>>>26-s&0x3ffffff,(s+=24)>=26&&(s-=26,n++);return this.strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var r,i,n=0;n<this.length;n++)this.words[n]=0;var a=0;for(n=e.length-6,r=0;n>=t;n-=6)i=o(e,n,n+6),this.words[r]|=i<<a&0x3ffffff,this.words[r+1]|=i>>>26-a&4194303,(a+=24)>=26&&(a-=26,r++);n+6!==t&&(i=o(e,t,n+6),this.words[r]|=i<<a&0x3ffffff,this.words[r+1]|=i>>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var i=0,n=1;n<=0x3ffffff;n*=t)i++;i--,n=n/t|0;for(var a=e.length-r,o=a%i,l=Math.min(a,a-o)+r,c=0,d=r;d<l;d+=i)c=s(e,d,d+i,t),this.imuln(n),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c);if(0!==o){var u=1;for(c=s(e,d,e.length,t),d=0;d<o;d++)u*=t;this.imuln(u),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l,c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,0x2000000,0x290d741,0x1000000,
vendor: 6,422 bytes, line 1
10x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];function f(e){for(var t=Array(e.bitLength()),r=0;r<t.length;r++){var i=r/26|0,n=r%26;t[r]=(e.words[i]&1<<n)>>>n}return t}function h(e,t,r){r.negative=t.negative^e.negative;var i=e.length+t.length|0;r.length=i,i=i-1|0;var n=0|e.words[0],a=0|t.words[0],o=n*a,s=0x3ffffff&o,l=o/0x4000000|0;r.words[0]=s;for(var c=1;c<i;c++){for(var d=l>>>26,u=0x3ffffff&l,f=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=f;h++){var p=c-h|0;d+=(o=(n=0|e.words[p])*(a=0|t.words[h])+u)/0x4000000|0,u=0x3ffffff&o}r.words[c]=0|u,l=0|d}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var r="",n=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=((s<<n|a)&0xffffff).toString(16);r=0!=(a=s>>>24-n&0xffffff)||o!==this.length-1?c[6-l.length]+l+r:l+r,(n+=2)>=26&&(n-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var f=d[e],h=u[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var b=p.modn(h).toString(e);r=(p=p.idivn(h)).isZero()?b+r:c[f-b.length]+b+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return i(void 0!==l),this.toArrayLike(l,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var n,a,o=this.byteLength(),s=r||Math.max(1,o);i(o<=s,"byte array longer than desired length"),i(s>0,"Requested array length <= 0"),this.strip();var l="le"===t,c=new e(s),d=this.clone();if(l){for(a=0;!d.isZero();a++)n=d.andln(255),d.iushrn(8),c[a]=n;for(;a<s;a++)c[a]=0}else{for(a=0;a<s-o;a++)c[a]=0;for(a=0;!d.isZero();a++)n=d.andln(255),d.iushrn(8),c[s-a-1]=n}return c},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return(8191&t)==0&&(r+=13,t>>>=13),(127&t)==0&&(r+=7,t>>>=7),(15&t)==0&&(r+=4,t>>>=4),(3&t)==0&&(r+=2,t>>>=2),(1&t)==0&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return i((this.negative|e.negative)==0),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return i((this.negative|e.negative)==0),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,r=e):(t=e,r=this);for(var t,r,i=0;i<r.length;i++)this.words[i]=t.words[i]^r.words[i];if(this!==t)for(;i<t.length;i++)this.words[i]=t.words[i];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return i((this.negative|e.negative)==0),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var n=0;n<t;n++)this.words[n]=0x3ffffff&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&0x3ffffff>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var r=e/26|0,n=e%26;return this._expand(r+1),t?this.words[r]=this.words[r]|1<<n:this.words[r]=this.words[r]&~(1<<n),this.strip()},a.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,i=e):(r=e,i=this);for(var t,r,i,n=0,a=0;a<i.length;a++)t=(0|r.words[a])+(0|i.words[a])+n,this.words[a]=0x3ffffff&t,n=t>>>26;for(;0!==n&&a<r.length;a++)t=(0|r.words[a])+n,this.words[a]=0x3ffffff&t,n=t>>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;
vendor: 32,759 bytes, line 1
1var t,r,i=this.iadd(e);return e.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(t=this,r=e):(t=e,r=this);for(var a=0,o=0;o<r.length;o++)a=(i=(0|t.words[o])-(0|r.words[o])+a)>>26,this.words[o]=0x3ffffff&i;for(;0!==a&&o<t.length;o++)a=(i=(0|t.words[o])+a)>>26,this.words[o]=0x3ffffff&i;if(0===a&&o<t.length&&t!==this)for(;o<t.length;o++)this.words[o]=t.words[o];return this.length=Math.max(this.length,o),t!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var i,n,a,o=e.words,s=t.words,l=r.words,c=0,d=0|o[0],u=8191&d,f=d>>>13,h=0|o[1],p=8191&h,b=h>>>13,m=0|o[2],g=8191&m,v=m>>>13,y=0|o[3],x=8191&y,w=y>>>13,_=0|o[4],S=8191&_,M=_>>>13,j=0|o[5],k=8191&j,E=j>>>13,A=0|o[6],P=8191&A,N=A>>>13,R=0|o[7],I=8191&R,C=R>>>13,B=0|o[8],T=8191&B,O=B>>>13,D=0|o[9],z=8191&D,L=D>>>13,q=0|s[0],F=8191&q,U=q>>>13,W=0|s[1],V=8191&W,K=W>>>13,H=0|s[2],G=8191&H,Z=H>>>13,J=0|s[3],Y=8191&J,X=J>>>13,$=0|s[4],Q=8191&$,ee=$>>>13,et=0|s[5],er=8191&et,ei=et>>>13,en=0|s[6],ea=8191&en,eo=en>>>13,es=0|s[7],el=8191&es,ec=es>>>13,ed=0|s[8],eu=8191&ed,ef=ed>>>13,eh=0|s[9],ep=8191&eh,eb=eh>>>13;r.negative=e.negative^t.negative,r.length=19,i=Math.imul(u,F);var em=(c+i|0)+((8191&(n=(n=Math.imul(u,U))+Math.imul(f,F)|0))<<13)|0;c=((a=Math.imul(f,U))+(n>>>13)|0)+(em>>>26)|0,em&=0x3ffffff,i=Math.imul(p,F),n=(n=Math.imul(p,U))+Math.imul(b,F)|0,a=Math.imul(b,U),i=i+Math.imul(u,V)|0;var eg=(c+i|0)+((8191&(n=(n=n+Math.imul(u,K)|0)+Math.imul(f,V)|0))<<13)|0;c=((a=a+Math.imul(f,K)|0)+(n>>>13)|0)+(eg>>>26)|0,eg&=0x3ffffff,i=Math.imul(g,F),n=(n=Math.imul(g,U))+Math.imul(v,F)|0,a=Math.imul(v,U),i=i+Math.imul(p,V)|0,n=(n=n+Math.imul(p,K)|0)+Math.imul(b,V)|0,a=a+Math.imul(b,K)|0,i=i+Math.imul(u,G)|0;var ev=(c+i|0)+((8191&(n=(n=n+Math.imul(u,Z)|0)+Math.imul(f,G)|0))<<13)|0;c=((a=a+Math.imul(f,Z)|0)+(n>>>13)|0)+(ev>>>26)|0,ev&=0x3ffffff,i=Math.imul(x,F),n=(n=Math.imul(x,U))+Math.imul(w,F)|0,a=Math.imul(w,U),i=i+Math.imul(g,V)|0,n=(n=n+Math.imul(g,K)|0)+Math.imul(v,V)|0,a=a+Math.imul(v,K)|0,i=i+Math.imul(p,G)|0,n=(n=n+Math.imul(p,Z)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,Z)|0,i=i+Math.imul(u,Y)|0;var ey=(c+i|0)+((8191&(n=(n=n+Math.imul(u,X)|0)+Math.imul(f,Y)|0))<<13)|0;c=((a=a+Math.imul(f,X)|0)+(n>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,i=Math.imul(S,F),n=(n=Math.imul(S,U))+Math.imul(M,F)|0,a=Math.imul(M,U),i=i+Math.imul(x,V)|0,n=(n=n+Math.imul(x,K)|0)+Math.imul(w,V)|0,a=a+Math.imul(w,K)|0,i=i+Math.imul(g,G)|0,n=(n=n+Math.imul(g,Z)|0)+Math.imul(v,G)|0,a=a+Math.imul(v,Z)|0,i=i+Math.imul(p,Y)|0,n=(n=n+Math.imul(p,X)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,X)|0,i=i+Math.imul(u,Q)|0;var ex=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ee)|0)+Math.imul(f,Q)|0))<<13)|0;c=((a=a+Math.imul(f,ee)|0)+(n>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,i=Math.imul(k,F),n=(n=Math.imul(k,U))+Math.imul(E,F)|0,a=Math.imul(E,U),i=i+Math.imul(S,V)|0,n=(n=n+Math.imul(S,K)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,K)|0,i=i+Math.imul(x,G)|0,n=(n=n+Math.imul(x,Z)|0)+Math.imul(w,G)|0,a=a+Math.imul(w,Z)|0,i=i+Math.imul(g,Y)|0,n=(n=n+Math.imul(g,X)|0)+Math.imul(v,Y)|0,a=a+Math.imul(v,X)|0,i=i+Math.imul(p,Q)|0,n=(n=n+Math.imul(p,ee)|0)+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,i=i+Math.imul(u,er)|0;var ew=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ei)|0)+Math.imul(f,er)|0))<<13)|0;c=((a=a+Math.imul(f,ei)|0)+(n>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,i=Math.imul(P,F),n=(n=Math.imul(P,U))+Math.imul(N,F)|0,a=Math.imul(N,U),i=i+Math.imul(k,V)|0,n=(n=n+Math.imul(k,K)|0)+Math.imul(E,V)|0,a=a+Math.imul(E,K)|0,i=i+Math.imul(S,G)|0,n=(n=n+Math.imul(S,Z)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,Z)|0,i=i+Math.imul(x,Y)|0,n=(n=n+Math.imul(x,X)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,X)|0,i=i+Math.imul(g,Q)|0,n=(n=n+Math.imul(g,ee)|0)+Math.imul(v,Q)|0,a=a+Math.imul(v,ee)|0,i=i+Math.imul(p,er)|0,n=(n=n+Math.imul(p,ei)|0)+Math.imul(b,er)|0,a=a+Math.imul(b,ei)|0,i=i+Math.imul(u,ea)|0;var e_=(c+i|0)+((8191&(n=(n=n+Math.imul(u,eo)|0)+Math.imul(f,ea)|0))<<13)|0;c=((a=a+Math.imul(f,eo)|0)+(n>>>13)|0)+(e_>>>26)|0,e_&=0x3ffffff,i=Math.imul(I,F),n=(n=Math.imul(I,U))+Math.imul(C,F)|0,a=Math.imul(C,U),i=i+Math.imul(P,V)|0,n=(n=n+Math.imul(P,K)|0)+Math.imul(N,V)|0,a=a+Math.imul(N,K)|0,i=i+Math.imul(k,G)|0,n=(n=n+Math.imul(k,Z)|0)+Math.imul(E,G)|0,a=a+Math.imul(E,Z)|0,i=i+Math.imul(S,Y)|0,n=(n=n+Math.imul(S,X)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,X)|0,i=i+Math.imul(x,Q)|0,n=(n=n+Math.imul(x,ee)|0)+Math.imul(w,Q)|0,a=a+Math.imul(w,ee)|0,i=i+Math.imul(g,er)|0,n=(n=n+Math.imul(g,ei)|0)+Math.imul(v,er)|0,a=a+Math.imul(v,ei)|0,i=i+Math.imul(p,ea)|0,n=(n=n+Math.imul(p,eo)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,eo)|0,i=i+Math.imul(u,el)|0;var eS=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ec)|0)+Math.imul(f,el)|0))<<13)|0;c=((a=a+Math.imul(f,ec)|0)+(n>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,i=Math.imul(T,F),n=(n=Math.imul(T,U))+Math.imul(O,F)|0,a=Math.imul(O,U),i=i+Math.imul(I,V)|0,n=(n=n+Math.imul(I,K)|0)+Math.imul(C,V)|0,a=a+Math.imul(C,K)|0,i=i+Math.imul(P,G)|0,n=(n=n+Math.imul(P,Z)|0)+Math.imul(N,G)|0,a=a+Math.imul(N,Z)|0,i=i+Math.imul(k,Y)|0,n=(n=n+Math.imul(k,X)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,X)|0,i=i+Math.imul(S,Q)|0,n=(n=n+Math.imul(S,ee)|0)+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,i=i+Math.imul(x,er)|0,n=(n=n+Math.imul(x,ei)|0)+Math.imul(w,er)|0,a=a+Math.imul(w,ei)|0,i=i+Math.imul(g,ea)|0,n=(n=n+Math.imul(g,eo)|0)+Math.imul(v,ea)|0,a=a+Math.imul(v,eo)|0,i=i+Math.imul(p,el)|0,n=(n=n+Math.imul(p,ec)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,ec)|0,i=i+Math.imul(u,eu)|0;var eM=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ef)|0)+Math.imul(f,eu)|0))<<13)|0;c=((a=a+Math.imul(f,ef)|0)+(n>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,i=Math.imul(z,F),n=(n=Math.imul(z,U))+Math.imul(L,F)|0,a=Math.imul(L,U),i=i+Math.imul(T,V)|0,n=(n=n+Math.imul(T,K)|0)+Math.imul(O,V)|0,a=a+Math.imul(O,K)|0,i=i+Math.imul(I,G)|0,n=(n=n+Math.imul(I,Z)|0)+Math.imul(C,G)|0,a=a+Math.imul(C,Z)|0,i=i+Math.imul(P,Y)|0,n=(n=n+Math.imul(P,X)|0)+Math.imul(N,Y)|0,a=a+Math.imul(N,X)|0,i=i+Math.imul(k,Q)|0,n=(n=n+Math.imul(k,ee)|0)+Math.imul(E,Q)|0,a=a+Math.imul(E,ee)|0,i=i+Math.imul(S,er)|0,n=(n=n+Math.imul(S,ei)|0)+Math.imul(M,er)|0,a=a+Math.imul(M,ei)|0,i=i+Math.imul(x,ea)|0,n=(n=n+Math.imul(x,eo)|0)+Math.imul(w,ea)|0,a=a+Math.imul(w,eo)|0,i=i+Math.imul(g,el)|0,n=(n=n+Math.imul(g,ec)|0)+Math.imul(v,el)|0,a=a+Math.imul(v,ec)|0,i=i+Math.imul(p,eu)|0,n=(n=n+Math.imul(p,ef)|0)+Math.imul(b,eu)|0,a=a+Math.imul(b,ef)|0,i=i+Math.imul(u,ep)|0;var ej=(c+i|0)+((8191&(n=(n=n+Math.imul(u,eb)|0)+Math.imul(f,ep)|0))<<13)|0;c=((a=a+Math.imul(f,eb)|0)+(n>>>13)|0)+(ej>>>26)|0,ej&=0x3ffffff,i=Math.imul(z,V),n=(n=Math.imul(z,K))+Math.imul(L,V)|0,a=Math.imul(L,K),i=i+Math.imul(T,G)|0,n=(n=n+Math.imul(T,Z)|0)+Math.imul(O,G)|0,a=a+Math.imul(O,Z)|0,i=i+Math.imul(I,Y)|0,n=(n=n+Math.imul(I,X)|0)+Math.imul(C,Y)|0,a=a+Math.imul(C,X)|0,i=i+Math.imul(P,Q)|0,n=(n=n+Math.imul(P,ee)|0)+Math.imul(N,Q)|0,a=a+Math.imul(N,ee)|0,i=i+Math.imul(k,er)|0,n=(n=n+Math.imul(k,ei)|0)+Math.imul(E,er)|0,a=a+Math.imul(E,ei)|0,i=i+Math.imul(S,ea)|0,n=(n=n+Math.imul(S,eo)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,eo)|0,i=i+Math.imul(x,el)|0,n=(n=n+Math.imul(x,ec)|0)+Math.imul(w,el)|0,a=a+Math.imul(w,ec)|0,i=i+Math.imul(g,eu)|0,n=(n=n+Math.imul(g,ef)|0)+Math.imul(v,eu)|0,a=a+Math.imul(v,ef)|0,i=i+Math.imul(p,ep)|0;var ek=(c+i|0)+((8191&(n=(n=n+Math.imul(p,eb)|0)+Math.imul(b,ep)|0))<<13)|0;c=((a=a+Math.imul(b,eb)|0)+(n>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,i=Math.imul(z,G),n=(n=Math.imul(z,Z))+Math.imul(L,G)|0,a=Math.imul(L,Z),i=i+Math.imul(T,Y)|0,n=(n=n+Math.imul(T,X)|0)+Math.imul(O,Y)|0,a=a+Math.imul(O,X)|0,i=i+Math.imul(I,Q)|0,n=(n=n+Math.imul(I,ee)|0)+Math.imul(C,Q)|0,a=a+Math.imul(C,ee)|0,i=i+Math.imul(P,er)|0,n=(n=n+Math.imul(P,ei)|0)+Math.imul(N,er)|0,a=a+Math.imul(N,ei)|0,i=i+Math.imul(k,ea)|0,n=(n=n+Math.imul(k,eo)|0)+Math.imul(E,ea)|0,a=a+Math.imul(E,eo)|0,i=i+Math.imul(S,el)|0,n=(n=n+Math.imul(S,ec)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,ec)|0,i=i+Math.imul(x,eu)|0,n=(n=n+Math.imul(x,ef)|0)+Math.imul(w,eu)|0,a=a+Math.imul(w,ef)|0,i=i+Math.imul(g,ep)|0;var eE=(c+i|0)+((8191&(n=(n=n+Math.imul(g,eb)|0)+Math.imul(v,ep)|0))<<13)|0;c=((a=a+Math.imul(v,eb)|0)+(n>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,i=Math.imul(z,Y),n=(n=Math.imul(z,X))+Math.imul(L,Y)|0,a=Math.imul(L,X),i=i+Math.imul(T,Q)|0,n=(n=n+Math.imul(T,ee)|0)+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,i=i+Math.imul(I,er)|0,n=(n=n+Math.imul(I,ei)|0)+Math.imul(C,er)|0,a=a+Math.imul(C,ei)|0,i=i+Math.imul(P,ea)|0,n=(n=n+Math.imul(P,eo)|0)+Math.imul(N,ea)|0,a=a+Math.imul(N,eo)|0,i=i+Math.imul(k,el)|0,n=(n=n+Math.imul(k,ec)|0)+Math.imul(E,el)|0,a=a+Math.imul(E,ec)|0,i=i+Math.imul(S,eu)|0,n=(n=n+Math.imul(S,ef)|0)+Math.imul(M,eu)|0,a=a+Math.imul(M,ef)|0,i=i+Math.imul(x,ep)|0;var eA=(c+i|0)+((8191&(n=(n=n+Math.imul(x,eb)|0)+Math.imul(w,ep)|0))<<13)|0;c=((a=a+Math.imul(w,eb)|0)+(n>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,i=Math.imul(z,Q),n=(n=Math.imul(z,ee))+Math.imul(L,Q)|0,a=Math.imul(L,ee),i=i+Math.imul(T,er)|0,n=(n=n+Math.imul(T,ei)|0)+Math.imul(O,er)|0,a=a+Math.imul(O,ei)|0,i=i+Math.imul(I,ea)|0,n=(n=n+Math.imul(I,eo)|0)+Math.imul(C,ea)|0,a=a+Math.imul(C,eo)|0,i=i+Math.imul(P,el)|0,n=(n=n+Math.imul(P,ec)|0)+Math.imul(N,el)|0,a=a+Math.imul(N,ec)|0,i=i+Math.imul(k,eu)|0,n=(n=n+Math.imul(k,ef)|0)+Math.imul(E,eu)|0,a=a+Math.imul(E,ef)|0,i=i+Math.imul(S,ep)|0;var eP=(c+i|0)+((8191&(n=(n=n+Math.imul(S,eb)|0)+Math.imul(M,ep)|0))<<13)|0;c=((a=a+Math.imul(M,eb)|0)+(n>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,i=Math.imul(z,er),n=(n=Math.imul(z,ei))+Math.imul(L,er)|0,a=Math.imul(L,ei),i=i+Math.imul(T,ea)|0,n=(n=n+Math.imul(T,eo)|0)+Math.imul(O,ea)|0,a=a+Math.imul(O,eo)|0,i=i+Math.imul(I,el)|0,n=(n=n+Math.imul(I,ec)|0)+Math.imul(C,el)|0,a=a+Math.imul(C,ec)|0,i=i+Math.imul(P,eu)|0,n=(n=n+Math.imul(P,ef)|0)+Math.imul(N,eu)|0,a=a+Math.imul(N,ef)|0,i=i+Math.imul(k,ep)|0;var eN=(c+i|0)+((8191&(n=(n=n+Math.imul(k,eb)|0)+Math.imul(E,ep)|0))<<13)|0;c=((a=a+Math.imul(E,eb)|0)+(n>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,i=Math.imul(z,ea),n=(n=Math.imul(z,eo))+Math.imul(L,ea)|0,a=Math.imul(L,eo),i=i+Math.imul(T,el)|0,n=(n=n+Math.imul(T,ec)|0)+Math.imul(O,el)|0,a=a+Math.imul(O,ec)|0,i=i+Math.imul(I,eu)|0,n=(n=n+Math.imul(I,ef)|0)+Math.imul(C,eu)|0,a=a+Math.imul(C,ef)|0,i=i+Math.imul(P,ep)|0;var eR=(c+i|0)+((8191&(n=(n=n+Math.imul(P,eb)|0)+Math.imul(N,ep)|0))<<13)|0;c=((a=a+Math.imul(N,eb)|0)+(n>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,i=Math.imul(z,el),n=(n=Math.imul(z,ec))+Math.imul(L,el)|0,a=Math.imul(L,ec),i=i+Math.imul(T,eu)|0,n=(n=n+Math.imul(T,ef)|0)+Math.imul(O,eu)|0,a=a+Math.imul(O,ef)|0,i=i+Math.imul(I,ep)|0;var eI=(c+i|0)+((8191&(n=(n=n+Math.imul(I,eb)|0)+Math.imul(C,ep)|0))<<13)|0;c=((a=a+Math.imul(C,eb)|0)+(n>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,i=Math.imul(z,eu),n=(n=Math.imul(z,ef))+Math.imul(L,eu)|0,a=Math.imul(L,ef),i=i+Math.imul(T,ep)|0;var eC=(c+i|0)+((8191&(n=(n=n+Math.imul(T,eb)|0)+Math.imul(O,ep)|0))<<13)|0;c=((a=a+Math.imul(O,eb)|0)+(n>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,i=Math.imul(z,ep);var eB=(c+i|0)+((8191&(n=(n=Math.imul(z,eb))+Math.imul(L,ep)|0))<<13)|0;return c=((a=Math.imul(L,eb))+(n>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,l[0]=em,l[1]=eg,l[2]=ev,l[3]=ey,l[4]=ex,l[5]=ew,l[6]=e_,l[7]=eS,l[8]=eM,l[9]=ej,l[10]=ek,l[11]=eE,l[12]=eA,l[13]=eP,l[14]=eN,l[15]=eR,l[16]=eI,l[17]=eC,l[18]=eB,0!==c&&(l[19]=c,r.length++),r};function b(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var i=0,n=0,a=0;a<r.length-1;a++){var o=n;n=0;for(var s=0x3ffffff&i,l=Math.min(a,t.length-1),c=Math.max(0,a-e.length+1);c<=l;c++){var d=a-c,u=(0|e.words[d])*(0|t.words[c]),f=0x3ffffff&u;o=o+(u/0x4000000|0)|0,s=0x3ffffff&(f=f+s|0),n+=(o=o+(f>>>26)|0)>>>26,o&=0x3ffffff}r.words[a]=s,i=o,o=n}return 0!==i?r.words[a]=i:r.length--,r.strip()}function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=h),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):r<63?h(this,e,t):r<1024?b(this,e,t):m(this,e,t)},g.prototype.makeRBT=function(e){for(var t=Array(e),r=a.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var i=0,n=0;n<t;n++)i|=(1&e)<<t-n-1,e>>=1;return i},g.prototype.permute=function(e,t,r,i,n,a){for(var o=0;o<a;o++)i[o]=t[e[o]],n[o]=r[e[o]]},g.prototype.transform=function(e,t,r,i,n,a){this.permute(a,e,t,r,i,n);for(var o=1;o<n;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),d=0;d<n;d+=s)for(var u=l,f=c,h=0;h<o;h++){var p=r[d+h],b=i[d+h],m=r[d+h+o],g=i[d+h+o],v=u*m-f*g;g=u*g+f*m,m=v,r[d+h]=p+m,i[d+h]=b+g,r[d+h+o]=p-m,i[d+h+o]=b-g,h!==s&&(v=l*u-c*f,f=l*f+c*u,u=v)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),i=1&r,n=0;for(r=r/2|0;r;r>>>=1)n++;return 1<<n+1+i},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=e[i];e[i]=e[r-i-1],e[r-i-1]=n,n=t[i],t[i]=-t[r-i-1],t[r-i-1]=-n}},g.prototype.normalize13b=function(e,t){for(var r=0,i=0;i<t/2;i++){var n=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+r;e[i]=0x3ffffff&n,r=n<0x4000000?0:n/0x4000000|0}return e},g.prototype.convert13b=function(e,t,r,n){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<n;++o)r[o]=0;i(0===a),i((-8192&a)==0)},g.prototype.stub=function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var i=2*this.guessLen13b(e.length,t.length),n=this.makeRBT(i),a=this.stub(i),o=Array(i),s=Array(i),l=Array(i),c=Array(i),d=Array(i),u=Array(i),f=r.words;f.length=i,this.convert13b(e.words,e.length,o,i),this.convert13b(t.words,t.length,c,i),this.transform(o,a,s,l,i,n),this.transform(c,a,d,u,i,n);for(var h=0;h<i;h++){var p=s[h]*d[h]-l[h]*u[h];l[h]=s[h]*u[h]+l[h]*d[h],s[h]=p}return this.conjugate(s,l,i),this.transform(s,l,f,a,i,n),this.conjugate(f,a,i),this.normalize13b(f,i),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=Array(this.length+e.length),m(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){i("number"==typeof e),i(e<0x4000000);for(var t=0,r=0;r<this.length;r++){var n=(0|this.words[r])*e,a=(0x3ffffff&n)+(0x3ffffff&t);t>>=26,t+=(n/0x4000000|0)+(a>>>26),this.words[r]=0x3ffffff&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=f(e);if(0===t.length)return new a(1);for(var r=this,i=0;i<t.length&&0===t[i];i++,r=r.sqr());if(++i<t.length)for(var n=r.sqr();i<t.length;i++,n=n.sqr())0!==t[i]&&(r=r.mul(n));return r},a.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,r=e%26,n=(e-r)/26,a=0x3ffffff>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==n){for(t=this.length-1;t>=0;t--)this.words[t+n]=this.words[t];for(t=0;t<n;t++)this.words[t]=0;this.length+=n}return this.strip()},a.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){i("number"==typeof e&&e>=0);var n=t?(t-t%26)/26:0,a=e%26,o=Math.min((e-a)/26,this.length),s=0x3ffffff^0x3ffffff>>>a<<a,l=r;if(n-=o,n=Math.max(0,n),l){for(var c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var d=0;for(c=this.length-1;c>=0&&(0!==d||c>=n);c--){var u=0|this.words[c];this.words[c]=d<<26-a|u>>>a,d=u&s}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return i(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,n=1<<t;return!(this.length<=r)&&!!(this.words[r]&n)},a.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=0x3ffffff^0x3ffffff>>>t<<t;this.words[this.length-1]&=n}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return(i("number"==typeof e),i(e<0x4000000),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(i("number"==typeof e),i(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=0x4000000,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var n,a,o=e.length+r;this._expand(o);var s=0;for(n=0;n<e.length;n++){a=(0|this.words[n+r])+s;var l=(0|e.words[n])*t;a-=0x3ffffff&l,s=(a>>26)-(l/0x4000000|0),this.words[n+r]=0x3ffffff&a}for(;n<this.length-r;n++)s=(a=(0|this.words[n+r])+s)>>26,this.words[n+r]=0x3ffffff&a;if(0===s)return this.strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(a=-(0|this.words[n])+s)>>26,this.words[n]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r,i=this.length-e.length,n=this.clone(),o=e,s=0|o.words[o.length-1];0!=(i=26-this._countBits(s))&&(o=o.ushln(i),n.iushln(i),s=0|o.words[o.length-1]);var l=n.length-o.length;if("mod"!==t){(r=new a(null)).length=l+1,r.words=Array(r.length);for(var c=0;c<r.length;c++)r.words[c]=0}var d=n.clone()._ishlnsubmul(o,1,l);0===d.negative&&(n=d,r&&(r.words[l]=1));for(var u=l-1;u>=0;u--){var f=(0|n.words[o.length+u])*0x4000000+(0|n.words[o.length+u-1]);for(f=Math.min(f/s|0,0x3ffffff),n._ishlnsubmul(o,f,u);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(o,1,u),n.isZero()||(n.negative^=1);r&&(r.words[u]=f)}return r&&r.strip(),n.strip(),"div"!==t&&0!==i&&n.iushrn(i),{div:r||null,mod:n}},a.prototype.divmod=function(e,t,r){var n,o,s;return(i(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(n=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:n,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(n=s.div.neg()),{div:n,mod:s.mod}):(this.negative&e.negative)!=0?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),n=e.andln(1),a=r.cmp(i);return a<0||1===n&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){i(e<=0x3ffffff);for(var t=0x4000000%e,r=0,n=this.length-1;n>=0;n--)r=(t*r+(0|this.words[n]))%e;return r},a.prototype.idivn=function(e){i(e<=0x3ffffff);for(var t=0,r=this.length-1;r>=0;r--){var n=(0|this.words[r])+0x4000000*t;this.words[r]=n/e|0,t=n%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new a(1),o=new a(0),s=new a(0),l=new a(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var d=r.clone(),u=t.clone();!t.isZero();){for(var f=0,h=1;(t.words[0]&h)==0&&f<26;++f,h<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(d),o.isub(u)),n.iushrn(1),o.iushrn(1);for(var p=0,b=1;(r.words[0]&b)==0&&p<26;++p,b<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(d),l.isub(u)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),n.isub(s),o.isub(l)):(r.isub(t),s.isub(n),l.isub(o))}return{a:s,b:l,gcd:r.iushln(c)}},a.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t,r=this,n=e.clone();r=0!==r.negative?r.umod(e):r.clone();for(var o=new a(1),s=new a(0),l=n.clone();r.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,d=1;(r.words[0]&d)==0&&c<26;++c,d<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);for(var u=0,f=1;(n.words[0]&f)==0&&u<26;++u,f<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);r.cmp(n)>=0?(r.isub(n),o.isub(s)):(n.isub(r),s.isub(o))}return 0>(t=0===r.cmpn(1)?o:s).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var i=0;t.isEven()&&r.isEven();i++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var n=t.cmp(r);if(n<0){var a=t;t=r,r=a}else if(0===n||0===r.cmpn(1))break;t.isub(r)}return r.iushln(i)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var a=n,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=0x3ffffff,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return -1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),i(e<=0x3ffffff,"Number is too big");var n=0|this.words[0];t=n===e?0:n<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,r=this.length-1;r>=0;r--){var i=0|this.words[r],n=0|e.words[r];if(i!==n){i<n?t=-1:i>n&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new M(e)},a.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function M(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function j(e){M.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength();while(t>this.n)var i=t<this.n?-1:r.ucmp(this.p);return 0===i?(r.words[0]=0,r.length=1):i>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},n(x,y),x.prototype.split=function(e,t){for(var r=4194303,i=Math.min(e.length,9),n=0;n<i;n++)t.words[n]=e.words[n];if(t.length=i,e.length<=9){e.words[0]=0,e.length=1;return}var a=e.words[9];for(n=10,t.words[t.length++]=a&r;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[n-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},x.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var i=0|e.words[r];t+=977*i,e.words[r]=0x3ffffff&t,t=64*i+(t/0x4000000|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(w,y),n(_,y),n(S,y),S.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var i=(0|e.words[r])*19+t,n=0x3ffffff&i;i>>>=26,e.words[r]=n,t=i}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(v[e])return v[e];if("k256"===e)t=new x;else if("p224"===e)t=new w;else if("p192"===e)t=new _;else if("p25519"===e)t=new S;else throw Error("Unknown prime "+e);return v[e]=t,t},M.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},M.prototype._verify2=function(e,t){i((e.negative|t.negative)==0,"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},M.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},M.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},M.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},M.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},M.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r._forceRed(this)},M.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r},M.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},M.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},M.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},M.prototype.isqr=function(e){return this.imul(e,e.clone())},M.prototype.sqr=function(e){return this.mul(e,e)},M.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,c).cmp(l);)d.redIAdd(l);for(var u=this.pow(d,n),f=this.pow(e,n.addn(1).iushrn(1)),h=this.pow(e,n),p=o;0!==h.cmp(s);){for(var b=h,m=0;0!==b.cmp(s);m++)b=b.redSqr();i(m<p);var g=this.pow(u,new a(1).iushln(p-m-1));f=f.redMul(g),u=g.redSqr(),h=h.redMul(u),p=m}return f},M.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},M.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,i=Array(16);i[0]=new a(1).toRed(this),i[1]=e;for(var n=2;n<i.length;n++)i[n]=this.mul(i[n-1],e);var o=i[0],s=0,l=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var d=t.words[n],u=c-1;u>=0;u--){var f=d>>u&1;if(o!==i[0]&&(o=this.sqr(o)),0===f&&0===s){l=0;continue}s<<=1,s|=f,(++l===r||0===n&&0===u)&&(o=this.mul(o,i[s]),l=0,s=0)}c=26}return o},M.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},M.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new j(e)},n(j,M),j.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},j.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},j.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),i=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(i).iushrn(this.shift),a=n;return n.cmp(this.m)>=0?a=n.isub(this.m):0>n.cmpn(0)&&(a=n.iadd(this.m)),a._forceRed(this)},j.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),i=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(i).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):0>n.cmpn(0)&&(o=n.iadd(this.m)),o._forceRed(this)},j.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},1670:function(e,t,r){!function(e,t){"use strict";function i(e,t){if(!e)throw Error(t||"Assertion failed")}function n(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(r=t,t=10),this._init(e||0,t||10,r||"be"))}
vendor: 4,225 bytes, line 1
1"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{d=r(4300).Buffer}catch(e){}function o(e,t,r){for(var n=0,a=Math.min(e.length,r),o=0,s=t;s<a;s++){var l,c=e.charCodeAt(s)-48;n<<=4,n|=l=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,o|=l}return i(!(240&o),"Invalid character in "+e),n}function s(e,t,r,n){for(var a=0,o=0,s=Math.min(e.length,r),l=t;l<s;l++){var c=e.charCodeAt(l)-48;a*=n,o=c>=49?c-49+10:c>=17?c-17+10:c,i(c>=0&&o<n,"Invalid character"),a+=o}return a}function l(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function c(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return 0>e.cmp(t)?e:t},a.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&t<=36);var n=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&n++,16===t?this._parseHex(e,n):this._parseBase(e,t,n),"-"===e[0]&&(this.negative=1),this._strip(),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<0x4000000?(this.words=[0x3ffffff&e],this.length=1):e<0x10000000000000?(this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff],this.length=2):(i(e<0x20000000000000),this.words=[0x3ffffff&e,e/0x4000000&0x3ffffff,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var n,a,o=0;o<this.length;o++)this.words[o]=0;var s=0;if("be"===r)for(o=e.length-1,n=0;o>=0;o-=3)a=e[o]|e[o-1]<<8|e[o-2]<<16,this.words[n]|=a<<s&0x3ffffff,this.words[n+1]=a>>>26-s&0x3ffffff,(s+=24)>=26&&(s-=26,n++);else if("le"===r)for(o=0,n=0;o<e.length;o+=3)a=e[o]|e[o+1]<<8|e[o+2]<<16,this.words[n]|=a<<s&0x3ffffff,this.words[n+1]=a>>>26-s&0x3ffffff,(s+=24)>=26&&(s-=26,n++);return this._strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var r,i,n=0;n<this.length;n++)this.words[n]=0;var a=0;for(n=e.length-6,r=0;n>=t;n-=6)i=o(e,n,n+6),this.words[r]|=i<<a&0x3ffffff,this.words[r+1]|=i>>>26-a&4194303,(a+=24)>=26&&(a-=26,r++);n+6!==t&&(i=o(e,t,n+6),this.words[r]|=i<<a&0x3ffffff,this.words[r+1]|=i>>>26-a&4194303),this._strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var i=0,n=1;n<=0x3ffffff;n*=t)i++;i--,n=n/t|0;for(var a=e.length-r,o=a%i,l=Math.min(a,a-o)+r,c=0,d=r;d<l;d+=i)c=s(e,d,d+i,t),this.imuln(n),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c);if(0!==o){var u=1;for(c=s(e,d,e.length,t),d=0;d<o;d++)u*=t;this.imuln(u),this.words[0]+c<0x4000000?this.words[0]+=c:this._iaddn(c)}},a.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype._move=function(e){l(e,this)},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?a.prototype[Symbol.for("nodejs.util.inspect.custom")]=c:a.prototype.inspect=c;var d,u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,0x2000000,0x290d741,0x1000000,
vendor: 39,475 bytes, line 1
10x2e90edd,0x39aa400,0x267bf47,0x1000000,0x290d741,1e7,0x12959c3,0x222c000,0x3bd7765,7529536,0xadcea1,0x1000000,0x1704f61,0x206fc40,0x2cddcf9,64e6,4084101,5153632,6436343,7962624,9765625,0xb54ba0,0xdaf26b,0x1069c00,0x138f9ad,243e5,0x1b4d89f,0x2000000,0x25528a1,0x2b54a20,0x3216b93,0x39aa400];a.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){for(var r="",n=0,a=0,o=0;o<this.length;o++){var s=this.words[o],l=((s<<n|a)&0xffffff).toString(16);r=0!=(a=s>>>24-n&0xffffff)||o!==this.length-1?u[6-l.length]+l+r:l+r,(n+=2)>=26&&(n-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var c=f[e],d=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var b=p.modrn(d).toString(e);r=(p=p.idivn(d)).isZero()?b+r:u[c-b.length]+b+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?e+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},d&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(d,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var p=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function b(e){for(var t=Array(e.bitLength()),r=0;r<t.length;r++){var i=r/26|0,n=r%26;t[r]=e.words[i]>>>n&1}return t}function m(e,t,r){r.negative=t.negative^e.negative;var i=e.length+t.length|0;r.length=i,i=i-1|0;var n=0|e.words[0],a=0|t.words[0],o=n*a,s=0x3ffffff&o,l=o/0x4000000|0;r.words[0]=s;for(var c=1;c<i;c++){for(var d=l>>>26,u=0x3ffffff&l,f=Math.min(c,t.length-1),h=Math.max(0,c-e.length+1);h<=f;h++){var p=c-h|0;d+=(o=(n=0|e.words[p])*(a=0|t.words[h])+u)/0x4000000|0,u=0x3ffffff&o}r.words[c]=0|u,l=0|d}return 0!==l?r.words[c]=0|l:r.length--,r._strip()}a.prototype.toArrayLike=function(e,t,r){this._strip();var n=this.byteLength(),a=r||Math.max(1,n);i(n<=a,"byte array longer than desired length"),i(a>0,"Requested array length <= 0");var o=p(e,a);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,n),o},a.prototype._toArrayLikeLE=function(e,t){for(var r=0,i=0,n=0,a=0;n<this.length;n++){var o=this.words[n]<<a|i;e[r++]=255&o,r<e.length&&(e[r++]=o>>8&255),r<e.length&&(e[r++]=o>>16&255),6===a?(r<e.length&&(e[r++]=o>>24&255),i=0,a=0):(i=o>>>24,a+=2)}if(r<e.length)for(e[r++]=i;r<e.length;)e[r++]=0},a.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,i=0,n=0,a=0;n<this.length;n++){var o=this.words[n]<<a|i;e[r--]=255&o,r>=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===a?(r>=0&&(e[r--]=o>>24&255),i=0,a=0):(i=o>>>24,a+=2)}if(r>=0)for(e[r--]=i;r>=0;)e[r--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return(8191&t)==0&&(r+=13,t>>>=13),(127&t)==0&&(r+=7,t>>>=7),(15&t)==0&&(r+=4,t>>>=4),(3&t)==0&&(r+=2,t>>>=2),(1&t)==0&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},a.prototype.ior=function(e){return i((this.negative|e.negative)==0),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},a.prototype.iand=function(e){return i((this.negative|e.negative)==0),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){this.length>e.length?(t=this,r=e):(t=e,r=this);for(var t,r,i=0;i<r.length;i++)this.words[i]=t.words[i]^r.words[i];if(this!==t)for(;i<t.length;i++)this.words[i]=t.words[i];return this.length=t.length,this._strip()},a.prototype.ixor=function(e){return i((this.negative|e.negative)==0),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var n=0;n<t;n++)this.words[n]=0x3ffffff&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&0x3ffffff>>26-r),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var r=e/26|0,n=e%26;return this._expand(r+1),t?this.words[r]=this.words[r]|1<<n:this.words[r]=this.words[r]&~(1<<n),this._strip()},a.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,i=e):(r=e,i=this);for(var t,r,i,n=0,a=0;a<i.length;a++)t=(0|r.words[a])+(0|i.words[a])+n,this.words[a]=0x3ffffff&t,n=t>>>26;for(;0!==n&&a<r.length;a++)t=(0|r.words[a])+n,this.words[a]=0x3ffffff&t,n=t>>>26;if(this.length=r.length,0!==n)this.words[this.length]=n,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,r,i=this.iadd(e);return e.negative=1,i._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(t=this,r=e):(t=e,r=this);for(var a=0,o=0;o<r.length;o++)a=(i=(0|t.words[o])-(0|r.words[o])+a)>>26,this.words[o]=0x3ffffff&i;for(;0!==a&&o<t.length;o++)a=(i=(0|t.words[o])+a)>>26,this.words[o]=0x3ffffff&i;if(0===a&&o<t.length&&t!==this)for(;o<t.length;o++)this.words[o]=t.words[o];return this.length=Math.max(this.length,o),t!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,r){var i,n,a,o=e.words,s=t.words,l=r.words,c=0,d=0|o[0],u=8191&d,f=d>>>13,h=0|o[1],p=8191&h,b=h>>>13,m=0|o[2],g=8191&m,v=m>>>13,y=0|o[3],x=8191&y,w=y>>>13,_=0|o[4],S=8191&_,M=_>>>13,j=0|o[5],k=8191&j,E=j>>>13,A=0|o[6],P=8191&A,N=A>>>13,R=0|o[7],I=8191&R,C=R>>>13,B=0|o[8],T=8191&B,O=B>>>13,D=0|o[9],z=8191&D,L=D>>>13,q=0|s[0],F=8191&q,U=q>>>13,W=0|s[1],V=8191&W,K=W>>>13,H=0|s[2],G=8191&H,Z=H>>>13,J=0|s[3],Y=8191&J,X=J>>>13,$=0|s[4],Q=8191&$,ee=$>>>13,et=0|s[5],er=8191&et,ei=et>>>13,en=0|s[6],ea=8191&en,eo=en>>>13,es=0|s[7],el=8191&es,ec=es>>>13,ed=0|s[8],eu=8191&ed,ef=ed>>>13,eh=0|s[9],ep=8191&eh,eb=eh>>>13;r.negative=e.negative^t.negative,r.length=19,i=Math.imul(u,F);var em=(c+i|0)+((8191&(n=(n=Math.imul(u,U))+Math.imul(f,F)|0))<<13)|0;c=((a=Math.imul(f,U))+(n>>>13)|0)+(em>>>26)|0,em&=0x3ffffff,i=Math.imul(p,F),n=(n=Math.imul(p,U))+Math.imul(b,F)|0,a=Math.imul(b,U),i=i+Math.imul(u,V)|0;var eg=(c+i|0)+((8191&(n=(n=n+Math.imul(u,K)|0)+Math.imul(f,V)|0))<<13)|0;c=((a=a+Math.imul(f,K)|0)+(n>>>13)|0)+(eg>>>26)|0,eg&=0x3ffffff,i=Math.imul(g,F),n=(n=Math.imul(g,U))+Math.imul(v,F)|0,a=Math.imul(v,U),i=i+Math.imul(p,V)|0,n=(n=n+Math.imul(p,K)|0)+Math.imul(b,V)|0,a=a+Math.imul(b,K)|0,i=i+Math.imul(u,G)|0;var ev=(c+i|0)+((8191&(n=(n=n+Math.imul(u,Z)|0)+Math.imul(f,G)|0))<<13)|0;c=((a=a+Math.imul(f,Z)|0)+(n>>>13)|0)+(ev>>>26)|0,ev&=0x3ffffff,i=Math.imul(x,F),n=(n=Math.imul(x,U))+Math.imul(w,F)|0,a=Math.imul(w,U),i=i+Math.imul(g,V)|0,n=(n=n+Math.imul(g,K)|0)+Math.imul(v,V)|0,a=a+Math.imul(v,K)|0,i=i+Math.imul(p,G)|0,n=(n=n+Math.imul(p,Z)|0)+Math.imul(b,G)|0,a=a+Math.imul(b,Z)|0,i=i+Math.imul(u,Y)|0;var ey=(c+i|0)+((8191&(n=(n=n+Math.imul(u,X)|0)+Math.imul(f,Y)|0))<<13)|0;c=((a=a+Math.imul(f,X)|0)+(n>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,i=Math.imul(S,F),n=(n=Math.imul(S,U))+Math.imul(M,F)|0,a=Math.imul(M,U),i=i+Math.imul(x,V)|0,n=(n=n+Math.imul(x,K)|0)+Math.imul(w,V)|0,a=a+Math.imul(w,K)|0,i=i+Math.imul(g,G)|0,n=(n=n+Math.imul(g,Z)|0)+Math.imul(v,G)|0,a=a+Math.imul(v,Z)|0,i=i+Math.imul(p,Y)|0,n=(n=n+Math.imul(p,X)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,X)|0,i=i+Math.imul(u,Q)|0;var ex=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ee)|0)+Math.imul(f,Q)|0))<<13)|0;c=((a=a+Math.imul(f,ee)|0)+(n>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,i=Math.imul(k,F),n=(n=Math.imul(k,U))+Math.imul(E,F)|0,a=Math.imul(E,U),i=i+Math.imul(S,V)|0,n=(n=n+Math.imul(S,K)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,K)|0,i=i+Math.imul(x,G)|0,n=(n=n+Math.imul(x,Z)|0)+Math.imul(w,G)|0,a=a+Math.imul(w,Z)|0,i=i+Math.imul(g,Y)|0,n=(n=n+Math.imul(g,X)|0)+Math.imul(v,Y)|0,a=a+Math.imul(v,X)|0,i=i+Math.imul(p,Q)|0,n=(n=n+Math.imul(p,ee)|0)+Math.imul(b,Q)|0,a=a+Math.imul(b,ee)|0,i=i+Math.imul(u,er)|0;var ew=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ei)|0)+Math.imul(f,er)|0))<<13)|0;c=((a=a+Math.imul(f,ei)|0)+(n>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,i=Math.imul(P,F),n=(n=Math.imul(P,U))+Math.imul(N,F)|0,a=Math.imul(N,U),i=i+Math.imul(k,V)|0,n=(n=n+Math.imul(k,K)|0)+Math.imul(E,V)|0,a=a+Math.imul(E,K)|0,i=i+Math.imul(S,G)|0,n=(n=n+Math.imul(S,Z)|0)+Math.imul(M,G)|0,a=a+Math.imul(M,Z)|0,i=i+Math.imul(x,Y)|0,n=(n=n+Math.imul(x,X)|0)+Math.imul(w,Y)|0,a=a+Math.imul(w,X)|0,i=i+Math.imul(g,Q)|0,n=(n=n+Math.imul(g,ee)|0)+Math.imul(v,Q)|0,a=a+Math.imul(v,ee)|0,i=i+Math.imul(p,er)|0,n=(n=n+Math.imul(p,ei)|0)+Math.imul(b,er)|0,a=a+Math.imul(b,ei)|0,i=i+Math.imul(u,ea)|0;var e_=(c+i|0)+((8191&(n=(n=n+Math.imul(u,eo)|0)+Math.imul(f,ea)|0))<<13)|0;c=((a=a+Math.imul(f,eo)|0)+(n>>>13)|0)+(e_>>>26)|0,e_&=0x3ffffff,i=Math.imul(I,F),n=(n=Math.imul(I,U))+Math.imul(C,F)|0,a=Math.imul(C,U),i=i+Math.imul(P,V)|0,n=(n=n+Math.imul(P,K)|0)+Math.imul(N,V)|0,a=a+Math.imul(N,K)|0,i=i+Math.imul(k,G)|0,n=(n=n+Math.imul(k,Z)|0)+Math.imul(E,G)|0,a=a+Math.imul(E,Z)|0,i=i+Math.imul(S,Y)|0,n=(n=n+Math.imul(S,X)|0)+Math.imul(M,Y)|0,a=a+Math.imul(M,X)|0,i=i+Math.imul(x,Q)|0,n=(n=n+Math.imul(x,ee)|0)+Math.imul(w,Q)|0,a=a+Math.imul(w,ee)|0,i=i+Math.imul(g,er)|0,n=(n=n+Math.imul(g,ei)|0)+Math.imul(v,er)|0,a=a+Math.imul(v,ei)|0,i=i+Math.imul(p,ea)|0,n=(n=n+Math.imul(p,eo)|0)+Math.imul(b,ea)|0,a=a+Math.imul(b,eo)|0,i=i+Math.imul(u,el)|0;var eS=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ec)|0)+Math.imul(f,el)|0))<<13)|0;c=((a=a+Math.imul(f,ec)|0)+(n>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,i=Math.imul(T,F),n=(n=Math.imul(T,U))+Math.imul(O,F)|0,a=Math.imul(O,U),i=i+Math.imul(I,V)|0,n=(n=n+Math.imul(I,K)|0)+Math.imul(C,V)|0,a=a+Math.imul(C,K)|0,i=i+Math.imul(P,G)|0,n=(n=n+Math.imul(P,Z)|0)+Math.imul(N,G)|0,a=a+Math.imul(N,Z)|0,i=i+Math.imul(k,Y)|0,n=(n=n+Math.imul(k,X)|0)+Math.imul(E,Y)|0,a=a+Math.imul(E,X)|0,i=i+Math.imul(S,Q)|0,n=(n=n+Math.imul(S,ee)|0)+Math.imul(M,Q)|0,a=a+Math.imul(M,ee)|0,i=i+Math.imul(x,er)|0,n=(n=n+Math.imul(x,ei)|0)+Math.imul(w,er)|0,a=a+Math.imul(w,ei)|0,i=i+Math.imul(g,ea)|0,n=(n=n+Math.imul(g,eo)|0)+Math.imul(v,ea)|0,a=a+Math.imul(v,eo)|0,i=i+Math.imul(p,el)|0,n=(n=n+Math.imul(p,ec)|0)+Math.imul(b,el)|0,a=a+Math.imul(b,ec)|0,i=i+Math.imul(u,eu)|0;var eM=(c+i|0)+((8191&(n=(n=n+Math.imul(u,ef)|0)+Math.imul(f,eu)|0))<<13)|0;c=((a=a+Math.imul(f,ef)|0)+(n>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,i=Math.imul(z,F),n=(n=Math.imul(z,U))+Math.imul(L,F)|0,a=Math.imul(L,U),i=i+Math.imul(T,V)|0,n=(n=n+Math.imul(T,K)|0)+Math.imul(O,V)|0,a=a+Math.imul(O,K)|0,i=i+Math.imul(I,G)|0,n=(n=n+Math.imul(I,Z)|0)+Math.imul(C,G)|0,a=a+Math.imul(C,Z)|0,i=i+Math.imul(P,Y)|0,n=(n=n+Math.imul(P,X)|0)+Math.imul(N,Y)|0,a=a+Math.imul(N,X)|0,i=i+Math.imul(k,Q)|0,n=(n=n+Math.imul(k,ee)|0)+Math.imul(E,Q)|0,a=a+Math.imul(E,ee)|0,i=i+Math.imul(S,er)|0,n=(n=n+Math.imul(S,ei)|0)+Math.imul(M,er)|0,a=a+Math.imul(M,ei)|0,i=i+Math.imul(x,ea)|0,n=(n=n+Math.imul(x,eo)|0)+Math.imul(w,ea)|0,a=a+Math.imul(w,eo)|0,i=i+Math.imul(g,el)|0,n=(n=n+Math.imul(g,ec)|0)+Math.imul(v,el)|0,a=a+Math.imul(v,ec)|0,i=i+Math.imul(p,eu)|0,n=(n=n+Math.imul(p,ef)|0)+Math.imul(b,eu)|0,a=a+Math.imul(b,ef)|0,i=i+Math.imul(u,ep)|0;var ej=(c+i|0)+((8191&(n=(n=n+Math.imul(u,eb)|0)+Math.imul(f,ep)|0))<<13)|0;c=((a=a+Math.imul(f,eb)|0)+(n>>>13)|0)+(ej>>>26)|0,ej&=0x3ffffff,i=Math.imul(z,V),n=(n=Math.imul(z,K))+Math.imul(L,V)|0,a=Math.imul(L,K),i=i+Math.imul(T,G)|0,n=(n=n+Math.imul(T,Z)|0)+Math.imul(O,G)|0,a=a+Math.imul(O,Z)|0,i=i+Math.imul(I,Y)|0,n=(n=n+Math.imul(I,X)|0)+Math.imul(C,Y)|0,a=a+Math.imul(C,X)|0,i=i+Math.imul(P,Q)|0,n=(n=n+Math.imul(P,ee)|0)+Math.imul(N,Q)|0,a=a+Math.imul(N,ee)|0,i=i+Math.imul(k,er)|0,n=(n=n+Math.imul(k,ei)|0)+Math.imul(E,er)|0,a=a+Math.imul(E,ei)|0,i=i+Math.imul(S,ea)|0,n=(n=n+Math.imul(S,eo)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,eo)|0,i=i+Math.imul(x,el)|0,n=(n=n+Math.imul(x,ec)|0)+Math.imul(w,el)|0,a=a+Math.imul(w,ec)|0,i=i+Math.imul(g,eu)|0,n=(n=n+Math.imul(g,ef)|0)+Math.imul(v,eu)|0,a=a+Math.imul(v,ef)|0,i=i+Math.imul(p,ep)|0;var ek=(c+i|0)+((8191&(n=(n=n+Math.imul(p,eb)|0)+Math.imul(b,ep)|0))<<13)|0;c=((a=a+Math.imul(b,eb)|0)+(n>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,i=Math.imul(z,G),n=(n=Math.imul(z,Z))+Math.imul(L,G)|0,a=Math.imul(L,Z),i=i+Math.imul(T,Y)|0,n=(n=n+Math.imul(T,X)|0)+Math.imul(O,Y)|0,a=a+Math.imul(O,X)|0,i=i+Math.imul(I,Q)|0,n=(n=n+Math.imul(I,ee)|0)+Math.imul(C,Q)|0,a=a+Math.imul(C,ee)|0,i=i+Math.imul(P,er)|0,n=(n=n+Math.imul(P,ei)|0)+Math.imul(N,er)|0,a=a+Math.imul(N,ei)|0,i=i+Math.imul(k,ea)|0,n=(n=n+Math.imul(k,eo)|0)+Math.imul(E,ea)|0,a=a+Math.imul(E,eo)|0,i=i+Math.imul(S,el)|0,n=(n=n+Math.imul(S,ec)|0)+Math.imul(M,el)|0,a=a+Math.imul(M,ec)|0,i=i+Math.imul(x,eu)|0,n=(n=n+Math.imul(x,ef)|0)+Math.imul(w,eu)|0,a=a+Math.imul(w,ef)|0,i=i+Math.imul(g,ep)|0;var eE=(c+i|0)+((8191&(n=(n=n+Math.imul(g,eb)|0)+Math.imul(v,ep)|0))<<13)|0;c=((a=a+Math.imul(v,eb)|0)+(n>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,i=Math.imul(z,Y),n=(n=Math.imul(z,X))+Math.imul(L,Y)|0,a=Math.imul(L,X),i=i+Math.imul(T,Q)|0,n=(n=n+Math.imul(T,ee)|0)+Math.imul(O,Q)|0,a=a+Math.imul(O,ee)|0,i=i+Math.imul(I,er)|0,n=(n=n+Math.imul(I,ei)|0)+Math.imul(C,er)|0,a=a+Math.imul(C,ei)|0,i=i+Math.imul(P,ea)|0,n=(n=n+Math.imul(P,eo)|0)+Math.imul(N,ea)|0,a=a+Math.imul(N,eo)|0,i=i+Math.imul(k,el)|0,n=(n=n+Math.imul(k,ec)|0)+Math.imul(E,el)|0,a=a+Math.imul(E,ec)|0,i=i+Math.imul(S,eu)|0,n=(n=n+Math.imul(S,ef)|0)+Math.imul(M,eu)|0,a=a+Math.imul(M,ef)|0,i=i+Math.imul(x,ep)|0;var eA=(c+i|0)+((8191&(n=(n=n+Math.imul(x,eb)|0)+Math.imul(w,ep)|0))<<13)|0;c=((a=a+Math.imul(w,eb)|0)+(n>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,i=Math.imul(z,Q),n=(n=Math.imul(z,ee))+Math.imul(L,Q)|0,a=Math.imul(L,ee),i=i+Math.imul(T,er)|0,n=(n=n+Math.imul(T,ei)|0)+Math.imul(O,er)|0,a=a+Math.imul(O,ei)|0,i=i+Math.imul(I,ea)|0,n=(n=n+Math.imul(I,eo)|0)+Math.imul(C,ea)|0,a=a+Math.imul(C,eo)|0,i=i+Math.imul(P,el)|0,n=(n=n+Math.imul(P,ec)|0)+Math.imul(N,el)|0,a=a+Math.imul(N,ec)|0,i=i+Math.imul(k,eu)|0,n=(n=n+Math.imul(k,ef)|0)+Math.imul(E,eu)|0,a=a+Math.imul(E,ef)|0,i=i+Math.imul(S,ep)|0;var eP=(c+i|0)+((8191&(n=(n=n+Math.imul(S,eb)|0)+Math.imul(M,ep)|0))<<13)|0;c=((a=a+Math.imul(M,eb)|0)+(n>>>13)|0)+(eP>>>26)|0,eP&=0x3ffffff,i=Math.imul(z,er),n=(n=Math.imul(z,ei))+Math.imul(L,er)|0,a=Math.imul(L,ei),i=i+Math.imul(T,ea)|0,n=(n=n+Math.imul(T,eo)|0)+Math.imul(O,ea)|0,a=a+Math.imul(O,eo)|0,i=i+Math.imul(I,el)|0,n=(n=n+Math.imul(I,ec)|0)+Math.imul(C,el)|0,a=a+Math.imul(C,ec)|0,i=i+Math.imul(P,eu)|0,n=(n=n+Math.imul(P,ef)|0)+Math.imul(N,eu)|0,a=a+Math.imul(N,ef)|0,i=i+Math.imul(k,ep)|0;var eN=(c+i|0)+((8191&(n=(n=n+Math.imul(k,eb)|0)+Math.imul(E,ep)|0))<<13)|0;c=((a=a+Math.imul(E,eb)|0)+(n>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,i=Math.imul(z,ea),n=(n=Math.imul(z,eo))+Math.imul(L,ea)|0,a=Math.imul(L,eo),i=i+Math.imul(T,el)|0,n=(n=n+Math.imul(T,ec)|0)+Math.imul(O,el)|0,a=a+Math.imul(O,ec)|0,i=i+Math.imul(I,eu)|0,n=(n=n+Math.imul(I,ef)|0)+Math.imul(C,eu)|0,a=a+Math.imul(C,ef)|0,i=i+Math.imul(P,ep)|0;var eR=(c+i|0)+((8191&(n=(n=n+Math.imul(P,eb)|0)+Math.imul(N,ep)|0))<<13)|0;c=((a=a+Math.imul(N,eb)|0)+(n>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,i=Math.imul(z,el),n=(n=Math.imul(z,ec))+Math.imul(L,el)|0,a=Math.imul(L,ec),i=i+Math.imul(T,eu)|0,n=(n=n+Math.imul(T,ef)|0)+Math.imul(O,eu)|0,a=a+Math.imul(O,ef)|0,i=i+Math.imul(I,ep)|0;var eI=(c+i|0)+((8191&(n=(n=n+Math.imul(I,eb)|0)+Math.imul(C,ep)|0))<<13)|0;c=((a=a+Math.imul(C,eb)|0)+(n>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,i=Math.imul(z,eu),n=(n=Math.imul(z,ef))+Math.imul(L,eu)|0,a=Math.imul(L,ef),i=i+Math.imul(T,ep)|0;var eC=(c+i|0)+((8191&(n=(n=n+Math.imul(T,eb)|0)+Math.imul(O,ep)|0))<<13)|0;c=((a=a+Math.imul(O,eb)|0)+(n>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,i=Math.imul(z,ep);var eB=(c+i|0)+((8191&(n=(n=Math.imul(z,eb))+Math.imul(L,ep)|0))<<13)|0;return c=((a=Math.imul(L,eb))+(n>>>13)|0)+(eB>>>26)|0,eB&=0x3ffffff,l[0]=em,l[1]=eg,l[2]=ev,l[3]=ey,l[4]=ex,l[5]=ew,l[6]=e_,l[7]=eS,l[8]=eM,l[9]=ej,l[10]=ek,l[11]=eE,l[12]=eA,l[13]=eP,l[14]=eN,l[15]=eR,l[16]=eI,l[17]=eC,l[18]=eB,0!==c&&(l[19]=c,r.length++),r};function v(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var i=0,n=0,a=0;a<r.length-1;a++){var o=n;n=0;for(var s=0x3ffffff&i,l=Math.min(a,t.length-1),c=Math.max(0,a-e.length+1);c<=l;c++){var d=a-c,u=(0|e.words[d])*(0|t.words[c]),f=0x3ffffff&u;o=o+(u/0x4000000|0)|0,s=0x3ffffff&(f=f+s|0),n+=(o=o+(f>>>26)|0)>>>26,o&=0x3ffffff}r.words[a]=s,i=o,o=n}return 0!==i?r.words[a]=i:r.length--,r._strip()}function y(e,t,r){return v(e,t,r)}function x(e,t){this.x=e,this.y=t}Math.imul||(g=m),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?m(this,e,t):r<1024?v(this,e,t):y(this,e,t)},x.prototype.makeRBT=function(e){for(var t=Array(e),r=a.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,r,e);return t},x.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var i=0,n=0;n<t;n++)i|=(1&e)<<t-n-1,e>>=1;return i},x.prototype.permute=function(e,t,r,i,n,a){for(var o=0;o<a;o++)i[o]=t[e[o]],n[o]=r[e[o]]},x.prototype.transform=function(e,t,r,i,n,a){this.permute(a,e,t,r,i,n);for(var o=1;o<n;o<<=1)for(var s=o<<1,l=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),d=0;d<n;d+=s)for(var u=l,f=c,h=0;h<o;h++){var p=r[d+h],b=i[d+h],m=r[d+h+o],g=i[d+h+o],v=u*m-f*g;g=u*g+f*m,m=v,r[d+h]=p+m,i[d+h]=b+g,r[d+h+o]=p-m,i[d+h+o]=b-g,h!==s&&(v=l*u-c*f,f=l*f+c*u,u=v)}},x.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),i=1&r,n=0;for(r=r/2|0;r;r>>>=1)n++;return 1<<n+1+i},x.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=e[i];e[i]=e[r-i-1],e[r-i-1]=n,n=t[i],t[i]=-t[r-i-1],t[r-i-1]=-n}},x.prototype.normalize13b=function(e,t){for(var r=0,i=0;i<t/2;i++){var n=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+r;e[i]=0x3ffffff&n,r=n<0x4000000?0:n/0x4000000|0}return e},x.prototype.convert13b=function(e,t,r,n){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<n;++o)r[o]=0;i(0===a),i((-8192&a)==0)},x.prototype.stub=function(e){for(var t=Array(e),r=0;r<e;r++)t[r]=0;return t},x.prototype.mulp=function(e,t,r){var i=2*this.guessLen13b(e.length,t.length),n=this.makeRBT(i),a=this.stub(i),o=Array(i),s=Array(i),l=Array(i),c=Array(i),d=Array(i),u=Array(i),f=r.words;f.length=i,this.convert13b(e.words,e.length,o,i),this.convert13b(t.words,t.length,c,i),this.transform(o,a,s,l,i,n),this.transform(c,a,d,u,i,n);for(var h=0;h<i;h++){var p=s[h]*d[h]-l[h]*u[h];l[h]=s[h]*u[h]+l[h]*d[h],s[h]=p}return this.conjugate(s,l,i),this.transform(s,l,f,a,i,n),this.conjugate(f,a,i),this.normalize13b(f,i),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=Array(this.length+e.length),y(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){var t=e<0;t&&(e=-e),i("number"==typeof e),i(e<0x4000000);for(var r=0,n=0;n<this.length;n++){var a=(0|this.words[n])*e,o=(0x3ffffff&a)+(0x3ffffff&r);r>>=26,r+=(a/0x4000000|0)+(o>>>26),this.words[n]=0x3ffffff&o}return 0!==r&&(this.words[n]=r,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=b(e);if(0===t.length)return new a(1);for(var r=this,i=0;i<t.length&&0===t[i];i++,r=r.sqr());if(++i<t.length)for(var n=r.sqr();i<t.length;i++,n=n.sqr())0!==t[i]&&(r=r.mul(n));return r},a.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,r=e%26,n=(e-r)/26,a=0x3ffffff>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,l=(0|this.words[t])-s<<r;this.words[t]=l|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==n){for(t=this.length-1;t>=0;t--)this.words[t+n]=this.words[t];for(t=0;t<n;t++)this.words[t]=0;this.length+=n}return this._strip()},a.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){i("number"==typeof e&&e>=0);var n=t?(t-t%26)/26:0,a=e%26,o=Math.min((e-a)/26,this.length),s=0x3ffffff^0x3ffffff>>>a<<a,l=r;if(n-=o,n=Math.max(0,n),l){for(var c=0;c<o;c++)l.words[c]=this.words[c];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,c=0;c<this.length;c++)this.words[c]=this.words[c+o];else this.words[0]=0,this.length=1;var d=0;for(c=this.length-1;c>=0&&(0!==d||c>=n);c--){var u=0|this.words[c];this.words[c]=d<<26-a|u>>>a,d=u&s}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,r){return i(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,n=1<<t;return!(this.length<=r)&&!!(this.words[r]&n)},a.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var n=0x3ffffff^0x3ffffff>>>t<<t;this.words[this.length-1]&=n}return this._strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return(i("number"==typeof e),i(e<0x4000000),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=0x4000000;t++)this.words[t]-=0x4000000,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(i("number"==typeof e),i(e<0x4000000),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=0x4000000,this.words[t+1]-=1;return this._strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var n,a,o=e.length+r;this._expand(o);var s=0;for(n=0;n<e.length;n++){a=(0|this.words[n+r])+s;var l=(0|e.words[n])*t;a-=0x3ffffff&l,s=(a>>26)-(l/0x4000000|0),this.words[n+r]=0x3ffffff&a}for(;n<this.length-r;n++)s=(a=(0|this.words[n+r])+s)>>26,this.words[n+r]=0x3ffffff&a;if(0===s)return this._strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(a=-(0|this.words[n])+s)>>26,this.words[n]=0x3ffffff&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var r,i=this.length-e.length,n=this.clone(),o=e,s=0|o.words[o.length-1];0!=(i=26-this._countBits(s))&&(o=o.ushln(i),n.iushln(i),s=0|o.words[o.length-1]);var l=n.length-o.length;if("mod"!==t){(r=new a(null)).length=l+1,r.words=Array(r.length);for(var c=0;c<r.length;c++)r.words[c]=0}var d=n.clone()._ishlnsubmul(o,1,l);0===d.negative&&(n=d,r&&(r.words[l]=1));for(var u=l-1;u>=0;u--){var f=(0|n.words[o.length+u])*0x4000000+(0|n.words[o.length+u-1]);for(f=Math.min(f/s|0,0x3ffffff),n._ishlnsubmul(o,f,u);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(o,1,u),n.isZero()||(n.negative^=1);r&&(r.words[u]=f)}return r&&r._strip(),n._strip(),"div"!==t&&0!==i&&n.iushrn(i),{div:r||null,mod:n}},a.prototype.divmod=function(e,t,r){var n,o,s;return(i(!e.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(n=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:n,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(n=s.div.neg()),{div:n,mod:s.mod}):(this.negative&e.negative)!=0?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||0>this.cmp(e)?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),n=e.andln(1),a=r.cmp(i);return a<0||1===n&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),i(e<=0x3ffffff);for(var r=0x4000000%e,n=0,a=this.length-1;a>=0;a--)n=(r*n+(0|this.words[a]))%e;return t?-n:n},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),i(e<=0x3ffffff);for(var r=0,n=this.length-1;n>=0;n--){var a=(0|this.words[n])+0x4000000*r;this.words[n]=a/e|0,r=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var n=new a(1),o=new a(0),s=new a(0),l=new a(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var d=r.clone(),u=t.clone();!t.isZero();){for(var f=0,h=1;(t.words[0]&h)==0&&f<26;++f,h<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(d),o.isub(u)),n.iushrn(1),o.iushrn(1);for(var p=0,b=1;(r.words[0]&b)==0&&p<26;++p,b<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(d),l.isub(u)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),n.isub(s),o.isub(l)):(r.isub(t),s.isub(n),l.isub(o))}return{a:s,b:l,gcd:r.iushln(c)}},a.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t,r=this,n=e.clone();r=0!==r.negative?r.umod(e):r.clone();for(var o=new a(1),s=new a(0),l=n.clone();r.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,d=1;(r.words[0]&d)==0&&c<26;++c,d<<=1);if(c>0)for(r.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);for(var u=0,f=1;(n.words[0]&f)==0&&u<26;++u,f<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);r.cmp(n)>=0?(r.isub(n),o.isub(s)):(n.isub(r),s.isub(o))}return 0>(t=0===r.cmpn(1)?o:s).cmpn(0)&&t.iadd(e),t},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var i=0;t.isEven()&&r.isEven();i++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var n=t.cmp(r);if(n<0){var a=t;t=r,r=a}else if(0===n||0===r.cmpn(1))break;t.isub(r)}return r.iushln(i)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,r=(e-t)/26,n=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var a=n,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];s+=a,a=s>>>26,s&=0x3ffffff,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return -1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),i(e<=0x3ffffff,"Number is too big");var n=0|this.words[0];t=n===e?0:n<e?-1:1}return 0!==this.negative?0|-t:t},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,r=this.length-1;r>=0;r--){var i=0|this.words[r],n=0|e.words[r];if(i!==n){i<n?t=-1:i>n&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return -1===this.cmpn(e)},a.prototype.lt=function(e){return -1===this.cmp(e)},a.prototype.lten=function(e){return 0>=this.cmpn(e)},a.prototype.lte=function(e){return 0>=this.cmp(e)},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new E(e)},a.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function S(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function E(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){E.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new a(null);return e.words=Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength();while(t>this.n)var i=t<this.n?-1:r.ucmp(this.p);return 0===i?(r.words[0]=0,r.length=1):i>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},n(S,_),S.prototype.split=function(e,t){for(var r=4194303,i=Math.min(e.length,9),n=0;n<i;n++)t.words[n]=e.words[n];if(t.length=i,e.length<=9){e.words[0]=0,e.length=1;return}var a=e.words[9];for(n=10,t.words[t.length++]=a&r;n<e.length;n++){var o=0|e.words[n];e.words[n-10]=(o&r)<<4|a>>>22,a=o}a>>>=22,e.words[n-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},S.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var i=0|e.words[r];t+=977*i,e.words[r]=0x3ffffff&t,t=64*i+(t/0x4000000|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},n(M,_),n(j,_),n(k,_),k.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var i=(0|e.words[r])*19+t,n=0x3ffffff&i;i>>>=26,e.words[r]=n,t=i}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){var t;if(w[e])return w[e];if("k256"===e)t=new S;else if("p224"===e)t=new M;else if("p192"===e)t=new j;else if("p25519"===e)t=new k;else throw Error("Unknown prime "+e);return w[e]=t,t},E.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},E.prototype._verify2=function(e,t){i((e.negative|t.negative)==0,"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},E.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},E.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},E.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},E.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},E.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r._forceRed(this)},E.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return 0>r.cmpn(0)&&r.iadd(this.m),r},E.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},E.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},E.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},E.prototype.isqr=function(e){return this.imul(e,e.clone())},E.prototype.sqr=function(e){return this.mul(e,e)},E.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2==1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),l=s.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new a(2*d*d).toRed(this);0!==this.pow(d,c).cmp(l);)d.redIAdd(l);for(var u=this.pow(d,n),f=this.pow(e,n.addn(1).iushrn(1)),h=this.pow(e,n),p=o;0!==h.cmp(s);){for(var b=h,m=0;0!==b.cmp(s);m++)b=b.redSqr();i(m<p);var g=this.pow(u,new a(1).iushln(p-m-1));f=f.redMul(g),u=g.redSqr(),h=h.redMul(u),p=m}return f},E.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},E.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=4,i=Array(16);i[0]=new a(1).toRed(this),i[1]=e;for(var n=2;n<i.length;n++)i[n]=this.mul(i[n-1],e);var o=i[0],s=0,l=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var d=t.words[n],u=c-1;u>=0;u--){var f=d>>u&1;if(o!==i[0]&&(o=this.sqr(o)),0===f&&0===s){l=0;continue}s<<=1,s|=f,(++l===r||0===n&&0===u)&&(o=this.mul(o,i[s]),l=0,s=0)}c=26}return o},E.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},E.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new A(e)},n(A,E),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),i=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(i).iushrn(this.shift),a=n;return n.cmp(this.m)>=0?a=n.isub(this.m):0>n.cmpn(0)&&(a=n.iadd(this.m)),a._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),i=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=r.isub(i).iushrn(this.shift),o=n;return n.cmp(this.m)>=0?o=n.isub(this.m):0>n.cmpn(0)&&(o=n.iadd(this.m)),o._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},3500:function(e,t,r){var i;function n(e){this.rand=e}
vendor: 7,816 bytes, line 1
1if(e.exports=function(e){return i||(i=new n(null)),i.generate(e)},e.exports.Rand=n,n.prototype.generate=function(e){return this._rand(e)},n.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(n.prototype._rand=function(){throw Error("Not implemented yet")});else try{var a=r(6113);if("function"!=typeof a.randomBytes)throw Error("Not supported");n.prototype._rand=function(e){return a.randomBytes(e)}}catch(e){}},1387:function(e,t,r){var i=r(6911).Buffer;function n(e){i.isBuffer(e)||(e=i.from(e));for(var t=e.length/4|0,r=Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(4*n);return r}function a(e){for(var t=0;t<e.length;e++)e[t]=0}function o(e,t,r,i,n){for(var a,o,s,l,c=r[0],d=r[1],u=r[2],f=r[3],h=e[0]^t[0],p=e[1]^t[1],b=e[2]^t[2],m=e[3]^t[3],g=4,v=1;v<n;v++)a=c[h>>>24]^d[p>>>16&255]^u[b>>>8&255]^f[255&m]^t[g++],o=c[p>>>24]^d[b>>>16&255]^u[m>>>8&255]^f[255&h]^t[g++],s=c[b>>>24]^d[m>>>16&255]^u[h>>>8&255]^f[255&p]^t[g++],l=c[m>>>24]^d[h>>>16&255]^u[p>>>8&255]^f[255&b]^t[g++],h=a,p=o,b=s,m=l;return a=(i[h>>>24]<<24|i[p>>>16&255]<<16|i[b>>>8&255]<<8|i[255&m])^t[g++],o=(i[p>>>24]<<24|i[b>>>16&255]<<16|i[m>>>8&255]<<8|i[255&h])^t[g++],s=(i[b>>>24]<<24|i[m>>>16&255]<<16|i[h>>>8&255]<<8|i[255&p])^t[g++],[a>>>=0,o>>>=0,s>>>=0,l=((i[m>>>24]<<24|i[h>>>16&255]<<16|i[p>>>8&255]<<8|i[255&b])^t[g++])>>>0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=[],i=[],n=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,l=0;l<256;++l){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,r[o]=c,i[c]=o;var d=e[o],u=e[d],f=e[u],h=257*e[c]^0x1010100*c;n[0][o]=h<<24|h>>>8,n[1][o]=h<<16|h>>>16,n[2][o]=h<<8|h>>>24,n[3][o]=h,h=0x1010101*f^65537*u^257*d^0x1010100*o,a[0][c]=h<<24|h>>>8,a[1][c]=h<<16|h>>>16,a[2][c]=h<<8|h>>>24,a[3][c]=h,0===o?o=s=1:(o=d^e[e[e[f^d]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:i,SUB_MIX:n,INV_SUB_MIX:a}}();function c(e){this._key=n(e),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,i=(r+1)*4,n=[],a=0;a<t;a++)n[a]=e[a];for(a=t;a<i;a++){var o=n[a-1];a%t==0?(o=o<<8|o>>>24,o=(l.SBOX[o>>>24]<<24|l.SBOX[o>>>16&255]<<16|l.SBOX[o>>>8&255]<<8|l.SBOX[255&o])^s[a/t|0]<<24):t>6&&a%t==4&&(o=l.SBOX[o>>>24]<<24|l.SBOX[o>>>16&255]<<16|l.SBOX[o>>>8&255]<<8|l.SBOX[255&o]),n[a]=n[a-t]^o}for(var c=[],d=0;d<i;d++){var u=i-d,f=n[u-(d%4?0:4)];d<4||u<=4?c[d]=f:c[d]=l.INV_SUB_MIX[0][l.SBOX[f>>>24]]^l.INV_SUB_MIX[1][l.SBOX[f>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[f>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&f]]}this._nRounds=r,this._keySchedule=n,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(e){return o(e=n(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},c.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=i.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},c.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var r=o(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),a=i.allocUnsafe(16);return a.writeUInt32BE(r[0],0),a.writeUInt32BE(r[3],4),a.writeUInt32BE(r[2],8),a.writeUInt32BE(r[1],12),a},c.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},e.exports.AES=c},6624:function(e,t,r){var i=r(1387),n=r(6911).Buffer,a=r(1043),o=r(3782),s=r(7225),l=r(4734),c=r(598);function d(e,t){var r=0;e.length!==t.length&&r++;for(var i=Math.min(e.length,t.length),n=0;n<i;++n)r+=e[n]^t[n];return r}function u(e,t,r){if(12===t.length)return e._finID=n.concat([t,n.from([0,0,0,1])]),n.concat([t,n.from([0,0,0,2])]);var i=new s(r),a=t.length,o=a%16;i.update(t),o&&(o=16-o,i.update(n.alloc(o,0))),i.update(n.alloc(8,0));var l=8*a,d=n.alloc(8);d.writeUIntBE(l,0,8),i.update(d),e._finID=i.state;var u=n.from(e._finID);return c(u),u}function f(e,t,r,o){a.call(this);var l=n.alloc(4,0);this._cipher=new i.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),r=u(this,r,c),this._prev=n.from(r),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=o,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}o(f,a),f.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=n.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},f.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&d(e,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},f.prototype.getAuthTag=function(){if(this._decrypt||!n.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},f.prototype.setAuthTag=function(e){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=e},f.prototype.setAAD=function(e){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=f},6594:function(e,t,r){var i=r(2),n=r(2598),a=r(5866);function o(){return Object.keys(a)}t.createCipher=t.Cipher=i.createCipher,t.createCipheriv=t.Cipheriv=i.createCipheriv,t.createDecipher=t.Decipher=n.createDecipher,t.createDecipheriv=t.Decipheriv=n.createDecipheriv,t.listCiphers=t.getCiphers=o},2598:function(e,t,r){var i=r(6624),n=r(6911).Buffer,a=r(6370),o=r(126),s=r(1043),l=r(1387),c=r(8368);function d(e,t,r){s.call(this),this._cache=new u,this._last=void 0,this._cipher=new l.AES(t),this._prev=n.from(r),this._mode=e,this._autopadding=!0}function u(){this.cache=n.allocUnsafe(0)}function f(e){var t=e[15];if(t<1||t>16)throw Error("unable to decrypt data");for(var r=-1;++r<t;)if(e[r+(16-t)]!==t)throw Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function h(e,t,r){var s=a[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");if("string"==typeof r&&(r=n.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=n.from(t)),t.length!==s.key/8)throw TypeError("invalid key length "+t.length);return"stream"===s.type?new o(s.module,t,r,!0):"auth"===s.type?new i(s.module,t,r,!0):new d(s.module,t,r)}r(3782)(d,s),d.prototype._update=function(e){this._cache.add(e);for(var t,r,i=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),i.push(r);return n.concat(i)},d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return f(this._mode.decrypt(this,e));if(e)throw Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},u.prototype.add=function(e){this.cache=n.concat([this.cache,e])},u.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=a[e.toLowerCase()];if(!r)throw TypeError("invalid suite type");var i=c(t,!1,r.key,r.iv);
1return h(e,i.key,i.iv)},t.createDecipheriv=h},2:function(e,t,r){var i=r(6370),n=r(6624),a=r(6911).Buffer,o=r(126),s=r(1043),l=r(1387),c=r(8368);function d(e,t,r){s.call(this),this._cache=new f,this._cipher=new l.AES(t),this._prev=a.from(r),this._mode=e,this._autopadding=!0}r(3782)(d,s),d.prototype._update=function(e){this._cache.add(e);for(var t,r,i=[];t=this._cache.get();)r=this._mode.encrypt(this,t),i.push(r);return a.concat(i)};var u=a.alloc(16,16);function f(){this.cache=a.allocUnsafe(0)}function h(e,t,r){var s=i[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");if("string"==typeof t&&(t=a.from(t)),t.length!==s.key/8)throw TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=a.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw TypeError("invalid iv length "+r.length);return"stream"===s.type?new o(s.module,t,r):"auth"===s.type?new n(s.module,t,r):new d(s.module,t,r)}function p(e,t){var r=i[e.toLowerCase()];if(!r)throw TypeError("invalid suite type");var n=c(t,!1,r.key,r.iv);return h(e,n.key,n.iv)}d.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(u))throw this._cipher.scrub(),Error("data not multiple of block length")},d.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},f.prototype.add=function(e){this.cache=a.concat([this.cache,e])},f.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},f.prototype.flush=function(){for(var e=16-this.cache.length,t=a.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return a.concat([this.cache,t])},t.createCipheriv=h,t.createCipher=p},7225:function(e,t,r){var i=r(6911).Buffer,n=i.alloc(16,0);function a(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function o(e){var t=i.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},s.prototype._multiply=function(){for(var e,t,r=a(this.h),i=[0,0,0,0],n=-1;++n<128;){for((this.state[~~(n/8)]&1<<7-n%8)!=0&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),t=(1&r[3])!=0,e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,t&&(r[0]=-0x1f000000^r[0])}this.state=o(i)},s.prototype.update=function(e){var t;for(this.cache=i.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(i.concat([this.cache,n],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=s},598:function(e){e.exports=function(e){for(var t,r=e.length;r--;)if(255===(t=e.readUInt8(r)))e.writeUInt8(0,r);else{t++,e.writeUInt8(t,r);break}}},9825:function(e,t,r){var i=r(4734);t.encrypt=function(e,t){var r=i(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;return e._prev=t,i(e._cipher.decryptBlock(t),r)}},321:function(e,t,r){var i=r(6911).Buffer,n=r(4734);function a(e,t,r){var a=t.length,o=n(t,e._cache);return e._cache=e._cache.slice(a),e._prev=i.concat([e._prev,r?t:o]),o}t.encrypt=function(e,t,r){for(var n,o=i.allocUnsafe(0);t.length;)if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=i.allocUnsafe(0)),e._cache.length<=t.length)n=e._cache.length,o=i.concat([o,a(e,t.slice(0,n),r)]),t=t.slice(n);else{o=i.concat([o,a(e,t,r)]);break}return o}},3147:function(e,t,r){var i=r(6911).Buffer;function n(e,t,r){for(var i,n,o,s=-1,l=8,c=0;++s<l;)i=e._cipher.encryptBlock(e._prev),n=t&1<<7-s?128:0,c+=(128&(o=i[0]^n))>>s%8,e._prev=a(e._prev,r?n:o);return c}function a(e,t){var r=e.length,n=-1,a=i.allocUnsafe(e.length);for(e=i.concat([e,i.from([t])]);++n<r;)a[n]=e[n]<<1|e[n+1]>>7;return a}t.encrypt=function(e,t,r){for(var a=t.length,o=i.allocUnsafe(a),s=-1;++s<a;)o[s]=n(e,t[s],r);return o}},2430:function(e,t,r){var i=r(6911).Buffer;function n(e,t,r){var n=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=i.concat([e._prev.slice(1),i.from([r?t:n])]),n}t.encrypt=function(e,t,r){for(var a=t.length,o=i.allocUnsafe(a),s=-1;++s<a;)o[s]=n(e,t[s],r);return o}},3361:function(e,t,r){var i=r(4734),n=r(6911).Buffer,a=r(598);function o(e){var t=e._cipher.encryptBlockRaw(e._prev);return a(e._prev),t}var s=16;t.encrypt=function(e,t){var r=Math.ceil(t.length/s),a=e._cache.length;e._cache=n.concat([e._cache,n.allocUnsafe(r*s)]);for(var l=0;l<r;l++){var c=o(e),d=a+l*s;e._cache.writeUInt32BE(c[0],d+0),e._cache.writeUInt32BE(c[1],d+4),e._cache.writeUInt32BE(c[2],d+8),e._cache.writeUInt32BE(c[3],d+12)}var u=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,u)}},1590:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},6370:function(e,t,r){var i={ECB:r(1590),CBC:r(9825),CFB:r(321),CFB8:r(2430),CFB1:r(3147),OFB:r(3412),CTR:r(3361),GCM:r(3361)},n=r(5866);for(var a in n)n[a].module=i[n[a].mode];e.exports=n},3412:function(e,t,r){var n=r(4734);function a(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=i.Buffer.concat([e._cache,a(e)]);var r=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,r)}},126:function(e,t,r){var i=r(1387),n=r(6911).Buffer,a=r(1043);function o(e,t,r,o){a.call(this),this._cipher=new i.AES(t),this._prev=n.from(r),this._cache=n.allocUnsafe(0),this._secCache=n.allocUnsafe(0),this._decrypt=o,this._mode=e}r(3782)(o,a),o.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},e.exports=o},8996:function(e,t,r){var i=r(5238),n=r(6594),a=r(6370),o=r(6280),s=r(8368);function l(e,t){if(a[e=e.toLowerCase()])r=a[e].key,i=a[e].iv;else if(o[e])r=8*o[e].key,i=o[e].iv;else throw TypeError("invalid suite type");var r,i,n=s(t,!1,r,i);return d(e,n.key,n.iv)}function c(e,t,r){if(a[e=e.toLowerCase()])return n.createCipheriv(e,t,r);if(o[e])return new i({key:t,iv:r,mode:e});throw TypeError("invalid suite type")}function d(e,t,r){if(a[e=e.toLowerCase()])return n.createDecipheriv(e,t,r);if(o[e])return new i({key:t,iv:r,mode:e,decrypt:!0});throw TypeError("invalid suite type")}function u(){return Object.keys(o).concat(n.getCiphers())}t.createCipher=t.Cipher=function(e,t){if(a[e=e.toLowerCase()])r=a[e].key,i=a[e].iv;else if(o[e])r=8*o[e].key,i=o[e].iv;else throw TypeError("invalid suite type");var r,i,n=s(t,!1,r,i);return c(e,n.key,n.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=l,t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=u},5238:function(e,t,r){var i=r(1043),n=r(9536),a=r(3782),o=r(6911).Buffer,s={"des-ede3-cbc":n.CBC.instantiate(n.EDE),"des-ede3":n.EDE,"des-ede-cbc":n.CBC.instantiate(n.EDE),"des-ede":n.EDE,"des-cbc":n.CBC.instantiate(n.DES),"des-ecb":n.DES};function l(e){i.call(this);var t,r=e.mode.toLowerCase(),n=s[r];t=e.decrypt?"decrypt":"encrypt";var a=e.key;o.isBuffer(a)||(a=o.from(a)),("des-ede"===r||"des-ede-cbc"===r)&&(a=o.c
1oncat([a,a.slice(0,8)]));var l=e.iv;o.isBuffer(l)||(l=o.from(l)),this._des=n.create({key:a,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=l,a(l,i),l.prototype._update=function(e){return o.from(this._des.update(e))},l.prototype._final=function(){return o.from(this._des.final())}},6280:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},7166:function(e,t,r){var n=r(711),a=r(7223);function o(e){var t=l(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}function s(e,t){var r=o(t),a=t.modulus.byteLength();n.mont(t.modulus);var s=new n(e).mul(r.blinder).umod(t.modulus),l=s.toRed(n.mont(t.prime1)),c=s.toRed(n.mont(t.prime2)),d=t.coefficient,u=t.prime1,f=t.prime2,h=l.redPow(t.exponent1),p=c.redPow(t.exponent2);h=h.fromRed(),p=p.fromRed();var b=h.isub(p).imul(d).umod(u);return b.imul(f),p.iadd(b),new i.Buffer(p.imul(r.unblinder).umod(t.modulus).toArray(!1,a))}function l(e){for(var t=e.modulus.byteLength(),r=new n(a(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new n(a(t));return r}e.exports=s,s.getr=l},9276:function(e,t,r){e.exports=r(2908)},4078:function(e,t,r){var i=r(6911).Buffer,n=r(9739),a=r(3726),o=r(3782),s=r(9807),l=r(4013),c=r(2908);function d(e){a.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");
1this._hashType=t.hash,this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){a.Writable.call(this);var t=c[e];if(!t)throw Error("Unknown message digest");this._hash=n(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){return new d(e)}function h(e){return new u(e)}Object.keys(c).forEach(function(e){c[e].id=i.from(c[e].id,"hex"),c[e.toLowerCase()]=c[e]}),o(d,a.Writable),d.prototype._write=function(e,t,r){this._hash.update(e),r()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=i.from(e,t)),this._hash.update(e),this},d.prototype.sign=function(e,t){this.end();var r=s(this._hash.digest(),e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},o(u,a.Writable),u.prototype._write=function(e,t,r){this._hash.update(e),r()},u.prototype.update=function(e,t){return"string"==typeof e&&(e=i.from(e,t)),this._hash.update(e),this},u.prototype.verify=function(e,t,r){return"string"==typeof t&&(t=i.from(t,r)),this.end(),l(t,this._hash.digest(),e,this._signType,this._tag)},e.exports={Sign:f,Verify:h,createSign:f,createVerify:h}},9807:function(e,t,r){var i=r(6911).Buffer,n=r(4873),a=r(7166),o=r(949).ec,s=r(1670),l=r(9902),c=r(9267);function d(e,t){var r=c[t.curve.join(".")];if(!r)throw Error("unknown curve "+t.curve.join("."));var n=new o(r).keyFromPrivate(t.privateKey).sign(e);return i.from(n.toDER())}function u(e,t,r){for(var i,n=t.params.priv_key,a=t.params.p,o=t.params.q,l=t.params.g,c=new s(0),d=p(e,o).mod(o),u=!1,b=h(n,o,e,r);!1===u;)c=g(l,i=m(o,b,r),a,o),0===(u=i.invm(o).imul(d.add(n.mul(c))).mod(o)).cmpn(0)&&(u=!1,c=new s(0));return f(c,u)}function f(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var r=[48,e.length+t.length+4,2,e.length];return r=r.concat(e,[2,t.length],t),i.from(r)}function h(e,t,r,a){if((e=i.from(e.toArray())).length<t.byteLength()){var o=i.alloc(t.byteLength()-e.length);e=i.concat([o,e])}var s=r.length,l=b(r,t),c=i.alloc(s);c.fill(1);var d=i.alloc(s);return d=n(a,d).update(c).update(i.from([0])).update(e).update(l).digest(),c=n(a,d).update(c).digest(),d=n(a,d).update(c).update(i.from([1])).update(e).update(l).digest(),c=n(a,d).update(c).digest(),{k:d,v:c}}function p(e,t){var r=new s(e),i=(e.length<<3)-t.bitLength();return i>0&&r.ishrn(i),r}function b(e,t){e=(e=p(e,t)).mod(t);var r=i.from(e.toArray());if(r.length<t.byteLength()){var n=i.alloc(t.byteLength()-r.length);r=i.concat([n,r])}return r}function m(e,t,r){var a,o;do{for(a=i.alloc(0);8*a.length<e.bitLength();)t.v=n(r,t.k).update(t.v).digest(),a=i.concat([a,t.v]);o=p(a,e),t.k=n(r,t.k).update(t.v).update(i.from([0])).digest(),t.v=n(r,t.k).update(t.v).digest()}while(-1!==o.cmp(e))return o}function g(e,t,r,i){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(i)}e.exports=function(e,t,r,n,o){var s=l(t);if(s.curve){if("ecdsa"!==n&&"ecdsa/rsa"!==n)throw Error("wrong private key type");return d(e,s)}if("dsa"===s.type){if("dsa"!==n)throw Error("wrong private key type");return u(e,s,r)}if("rsa"!==n&&"ecdsa/rsa"!==n)throw Error("wrong private key type");e=i.concat([o,e]);for(var c=s.modulus.byteLength(),f=[0,1];e.length+f.length+1<c;)f.push(255);f.push(0);for(var h=-1;++h<e.length;)f.push(e[h]);return a(f,s)},e.exports.getKey=h,e.exports.makeKey=m},4013:function(e,t,r){var i=r(6911).Buffer,n=r(1670),a=r(949).ec,o=r(9902),s=r(9267);function l(e,t,r){var i=s[r.data.algorithm.curve.join(".")];if(!i)throw Error("unknown curve "+r.data.algorithm.curve.join("."));var n=new a(i),o=r.data.subjectPrivateKey.data;return n.verify(t,e,o)}function c(e,t,r){var i=r.data.p,a=r.data.q,s=r.data.g,l=r.data.pub_key,c=o.signature.decode(e,"der"),u=c.s,f=c.r;d(u,a),d(f,a);var h=n.mont(i),p=u.invm(a);return 0===s.toRed(h).redPow(new n(t).mul(p).mod(a)).fromRed().mul(l.toRed(h).redPow(f.mul(p).mod(a)).fromRed()).mod(i).mod(a).cmp(f)}function d(e,t){if(0>=e.cmpn(0)||e.cmp(t)>=t)throw Error("invalid sig")}e.exports=function(e,t,r,a,s){var d=o(r);if("ec"===d.type){if("ecdsa"!==a&&"ecdsa/rsa"!==a)throw Error("wrong public key type");return l(e,t,d)}if("dsa"===d.type){if("dsa"!==a)throw Error("wrong public key type");return c(e,t,d)}if("rsa"!==a&&"ecdsa/rsa"!==a)throw Error("wrong public key type");t=i.concat([s,t]);for(var u=d.modulus.byteLength(),f=[1],h=0;t.length+f.length+2<u;)f.push(255),h++;f.push(0);for(var p=-1;++p<t.length;)f.push(t[p]);f=i.from(f);var b=n.mont(d.modulus);e=(e=new n(e).toRed(b)).redPow(new n(d.publicExponent));var m=+(h<8);for(u=Math.min((e=i.from(e.fromRed().toArray())).length,f.length),e.length!==f.length&&(m=1),p=-1;++p<u;)m|=e[p]^f[p];return 0===m}},4734:function(e){e.exports=function(e,t){for(var r=Math.min(e.length,t.length),n=new i.Buffer(r),a=0;a<r;++a)n[a]=e[a]^t[a];return n}},1043:function(e,t,r){var i=r(6911).Buffer,n=r(2781).Transform,a=r(1576).StringDecoder;function o(e){n.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(3782)(o,n),o.prototype.update=function(e,t,r){"string"==typeof e&&(e=i.from(e,t));var n=this._update(e);return this.hashMode?this:(r&&(n=this._toString(n,r)),n)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},o.prototype._transform=function(e,t,r){var i;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){i=e}finally{r(i)}},o.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},o.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},o.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new a(t),this._encoding=t),this._encoding!==t)throw Error("can't switch encodings");var i=this._decoder.write(e);return r&&(i+=this._decoder.end()),i},e.exports=o},9942:function(e,t,r){var n=r(949),a=r(711);e.exports=function(e){return new s(e)};var o={secp256k1:{name:"secp256k1",byteLength:32}
vendor: 7,010 bytes, line 1
1,secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function l(e,t,r){Array.isArray(e)||(e=e.toArray());var n=new i.Buffer(e);if(r&&n.length<r){var a=new i.Buffer(r-n.length);a.fill(0),n=i.Buffer.concat([a,n])}return t?n.toString(t):n}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,s.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},s.prototype.computeSecret=function(e,t,r){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),l(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},s.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),l(r,e)},s.prototype.getPrivateKey=function(e){return l(this.keys.getPrivate(),e)},s.prototype.setPublicKey=function(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this.keys._importPublic(e),this},s.prototype.setPrivateKey=function(e,t){t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t));var r=new a(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}},9739:function(e,t,r){"use strict";var i=r(3782),n=r(3533),a=r(3225),o=r(4371),s=r(1043);function l(e){s.call(this,"digest"),this._hash=e}i(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new n:"rmd160"===e||"ripemd160"===e?new a:new l(o(e))}},450:function(e,t,r){var i=r(3533);e.exports=function(e){return(new i).update(e).digest()}},4873:function(e,t,r){"use strict";var i=r(3782),n=r(8119),a=r(1043),o=r(6911).Buffer,s=r(450),l=r(3225),c=r(4371),d=o.alloc(128);function u(e,t){a.call(this,"digest"),"string"==typeof t&&(t=o.from(t));var r="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>r?t=("rmd160"===e?new l:c(e)).update(t).digest():t.length<r&&(t=o.concat([t,d],r));for(var i=this._ipad=o.allocUnsafe(r),n=this._opad=o.allocUnsafe(r),s=0;s<r;s++)i[s]=54^t[s],n[s]=92^t[s];this._hash="rmd160"===e?new l:c(e),this._hash.update(i)}i(u,a),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:c(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new u("rmd160",t):"md5"===e?new n(s,t):new u(e,t)}},8119:function(e,t,r){"use strict";var i=r(3782),n=r(6911).Buffer,a=r(1043),o=n.alloc(128),s=64;function l(e,t){a.call(this,"digest"),"string"==typeof t&&(t=n.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=n.concat([t,o],s));for(var r=this._ipad=n.allocUnsafe(s),i=this._opad=n.allocUnsafe(s),l=0;l<s;l++)r[l]=54^t[l],i[l]=92^t[l];this._hash=[r]}i(l,a),l.prototype._update=function(e){this._hash.push(e)},l.prototype._final=function(){var e=this._alg(n.concat(this._hash));return this._alg(n.concat([this._opad,e]))},e.exports=l},9536:function(e,t,r){"use strict";t.utils=r(5334),t.Cipher=r(9876),t.DES=r(1016),t.CBC=r(8641),t.EDE=r(6159)},8641:function(e,t,r){"use strict";var i=r(3523),n=r(3782),a={};function o(e){i.equal(e.length,8,"Invalid IV length"),this.iv=Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}n(t,e);for(var r=Object.keys(a),i=0;i<r.length;i++){var o=r[i];t.prototype[o]=a[o]}return t.create=function(e){return new t(e)},t},a._cbcInit=function(){var e=new o(this.options.iv);this._cbcState=e},a._update=function(e,t,r,i){var n=this._cbcState,a=this.constructor.super_.prototype,o=n.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)o[s]^=e[t+s];a._update.call(this,o,0,r,i);for(var s=0;s<this.blockSize;s++)o[s]=r[i+s]}else{a._update.call(this,e,t,r,i);for(var s=0;s<this.blockSize;s++)r[i+s]^=o[s];for(var s=0;s<this.blockSize;s++)o[s]=e[t+s]}}},9876:function(e,t,r){"use strict";var i=r(3523);function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}e.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),i=0;i<r;i++)this.buffer[this.bufferOff+i]=e[t+i];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,i=Array(((this.bufferOff+e.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var n=e.length-(e.length-t)%this.blockSize;t<n;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,i=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,n=Array(i*this.blockSize);i>0;i--)t+=this._buffer(e,t),r+=this._flushBuffer(n,r);return t+=this._buffer(e,t),n},n.prototype.final=function(e){var t,r;return(e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t)?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},1016:function(e,t,r){"use strict";var i=r(3523),n=r(3782),a=r(5334),o=r(9876);function s(){this.tmp=[,,],this.keys=null}function l(e){o.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}n(l,o),e.exports=l,l.create=function(e){return new l(e)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=Array(32),i.equal(t.length,this.blockSize,"Invalid key length");var r=a.readUInt32BE(t,0),n=a.readUInt32BE(t,4);a.pc1(r,n,e.tmp,0),r=e.tmp[0],n=e.tmp[1];for(var o=0;o<e.keys.length;o+=2){var s=c[o>>>1];r=a.r28shl(r,s),n=a.r28shl(n,s),a.pc2(r,n,e.keys,o)}},l.prototype._update=function(e,t,r,i){var n=this._desState,o=a.readUInt32BE(e,t),s=a.readUInt32BE(e,t+4);a.ip(o,s,n.tmp,0),o=n.tmp[0],s=n.tmp[1],"encrypt"===this.type?this._encrypt
vendor: 5,079 bytes, line 1
1(n,o,s,n.tmp,0):this._decrypt(n,o,s,n.tmp,0),o=n.tmp[0],s=n.tmp[1],a.writeUInt32BE(r,o,i),a.writeUInt32BE(r,s,i+4)},l.prototype._pad=function(e,t){for(var r=e.length-t,i=t;i<e.length;i++)e[i]=r;return!0},l.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)i.equal(e[r],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,r,i,n){for(var o=t,s=r,l=0;l<e.keys.length;l+=2){var c=e.keys[l],d=e.keys[l+1];a.expand(s,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var u=a.substitute(c,d),f=a.permute(u),h=s;s=(o^f)>>>0,o=h}a.rip(s,o,i,n)},l.prototype._decrypt=function(e,t,r,i,n){for(var o=r,s=t,l=e.keys.length-2;l>=0;l-=2){var c=e.keys[l],d=e.keys[l+1];a.expand(o,e.tmp,0),c^=e.tmp[0],d^=e.tmp[1];var u=a.substitute(c,d),f=a.permute(u),h=o;o=(s^f)>>>0,s=h}a.rip(o,s,i,n)}},6159:function(e,t,r){"use strict";var i=r(3523),n=r(3782),a=r(9876),o=r(1016);function s(e,t){i.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),a=t.slice(16,24);"encrypt"===e?this.ciphers=[o.create({type:"encrypt",key:r}),o.create({type:"decrypt",key:n}),o.create({type:"encrypt",key:a})]:this.ciphers=[o.create({type:"decrypt",key:a}),o.create({type:"encrypt",key:n}),o.create({type:"decrypt",key:r})]}function l(e){a.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}n(l,a),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,r,i){var n=this._edeState;n.ciphers[0]._update(e,t,r,i),n.ciphers[1]._update(r,i,r,i),n.ciphers[2]._update(r,i,r,i)},l.prototype._pad=o.prototype._pad,l.prototype._unpad=o.prototype._unpad},5334:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,i){for(var n=0,a=0,o=6;o>=0;o-=2){for(var s=0;s<=24;s+=8)n<<=1,n|=t>>>s+o&1;for(var s=0;s<=24;s+=8)n<<=1,n|=e>>>s+o&1}for(var o=6;o>=0;o-=2){for(var s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(var s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}r[i+0]=n>>>0,r[i+1]=a>>>0},t.rip=function(e,t,r,i){for(var n=0,a=0,o=0;o<4;o++)for(var s=24;s>=0;s-=8)n<<=1,n|=t>>>s+o&1,n<<=1,n|=e>>>s+o&1;for(var o=4;o<8;o++)for(var s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;r[i+0]=n>>>0,r[i+1]=a>>>0},t.pc1=function(e,t,r,i){for(var n=0,a=0,o=7;o>=5;o--){for(var s=0;s<=24;s+=8)n<<=1,n|=t>>s+o&1;for(var s=0;s<=24;s+=8)n<<=1,n|=e>>s+o&1}for(var s=0;s<=24;s+=8)n<<=1,n|=t>>s+o&1;for(var o=1;o<=3;o++){for(var s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(var s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(var s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;r[i+0]=n>>>0,r[i+1]=a>>>0},t.r28shl=function(e,t){return e<<t&0xfffffff|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,i,n){for(var a=0,o=0,s=r.length>>>1,l=0;l<s;l++)a<<=1,a|=e>>>r[l]&1;for(var l=s;l<r.length;l++)o<<=1,o|=t>>>r[l]&1;i[n+0]=a>>>0,i[n+1]=o>>>0},t.expand=function(e,t,r){var i=0,n=0;i=(1&e)<<5|e>>>27;for(var a=23;a>=15;a-=4)i<<=6,i|=e>>>a&63;for(var a=11;a>=3;a-=4)n|=e>>>a&63,n<<=6;n|=(31&e)<<1|e>>>31,t[r+0]=i>>>0,t[r+1]=n>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,n=0;n<4;n++){var a=e>>>18-6*n&63,o=i[64*n+a];r<<=4,r|=o}for(var n=0;n<4;n++){var a=t>>>18-6*n&63,o=i[256+64*n+a];r<<=4,r|=o}return r>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<n.length;r++)t<<=1,t|=e>>>n[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var i=e.toString(2);i.length<t;)i="0"+i;for(var n=[],a=0;a<t;a+=r)n.push(i.slice(a,a+r));return n.join(" ")}},6587:function(e,t,r){var n=r(296),a=r(7992),o=r(373),s={binary:!0,hex:!0,base64:!0};function l(e,t,r,a){return i.Buffer.isBuffer(t)||void 0===s[t]?l(e,"binary",t,r):(t=t||"b
1inary",a=a||"binary",r=r||new i.Buffer([2]),i.Buffer.isBuffer(r)||(r=new i.Buffer(r,a)),"number"==typeof e)?new o(n(e,r),r,!0):(i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),new o(e,r,!0))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(e){return new o(new i.Buffer(a[e].prime,"hex"),new i.Buffer(a[e].gen,"hex"))},t.createDiffieHellman=t.DiffieHellman=l},373:function(e,t,r){var n=r(711),a=new(r(1354)),o=new n(24),s=new n(11),l=new n(10),c=new n(3),d=new n(7),u=r(296),f=r(7223);function h(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this._pub=new n(e),this}function p(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this._priv=new n(e),this}e.exports=g;var b={};function m(e,t){var r,i=t.toString("hex"),n=[i,e.toString(16)].join("_");if(n in b)return b[n];var f=0;if(e.isEven()||!u.simpleSieve||!u.fermatTest(e)||!a.test(e))return f+=1,"02"===i||"05"===i?f+=8:f+=4,b[n]=f,f;switch(!a.test(e.shrn(1))&&(f+=2),i){case"02":e.mod(o).cmp(s)&&(f+=8);break;case"05":(r=e.mod(l)).cmp(c)&&r.cmp(d)&&(f+=8);break;default:f+=4}return b[n]=f,f}function g(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=h,this.setPrivateKey=p):this._primeCode=8}function v(e,t){var r=new i.Buffer(e.toArray());return t?r.toString(t):r}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=m(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new n(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var t=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new i.Buffer(t.toArray()),a=this.getPrime();if(r.length<a.length){var o=new i.Buffer(a.length-r.length);o.fill(0),r=i.Buffer.concat([o,r])}return r},g.prototype.getPublicKey=function(e){return v(this._pub,e)},g.prototype.getPrivateKey=function(e){return v(this._priv,e)},g.prototype.getPrime=function(e){return v(this.__prime,e)},g.prototype.getGenerator=function(e){return v(this._gen,e)},g.prototype.setGenerator=function(e,t){return t=t||"utf8",i.Buffer.isBuffer(e)||(e=new i.Buffer(e,t)),this.__gen=e,this._gen=new n(e),this}},296:function(e,t,r){var i=r(7223);e.exports=v,v.simpleSieve=m,v.fermatTest=g;var n=r(711),a=new n(24),o=new(r(1354)),s=new n(1),l=new n(2),c=new n(5);new n(16),new n(8);var d=new n(10),u=new n(3);new n(7);var f=new n(11),h=new n(4);new n(12);var p=null;function b(){if(null!==p)return p;var e=1048576,t=[];t[0]=2;for(var r=1,i=3;i<e;i+=2){for(var n=Math.ceil(Math.sqrt(i)),a=0;a<r&&t[a]<=n&&i%t[a]!=0;a++);r!==a&&t[a]<=n||(t[r++]=i)}return p=t,t}function m(e){for(var t=b(),r=0;r<t.length;r++)if(0===e.modn(t[r]))if(0!==e.cmpn(t[r]))return!1;else break;return!0}function g(e){var t=n.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(e,t){var r,p;if(e<16)if(2===t||5===t)return new n([140,123]);else return new n([140,39]);for(t=new n(t);;){for(r=new n(i(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(l),t.cmp(l)){if(!t.cmp(c))for(;r.mod(d).cmp(u);)r.iadd(h)}else for(;r.mod(a).cmp(f);)r.iadd(h);if(m(p=r.shrn(1))&&m(r)&&g(p)&&g(r)&&o.test(p)&&o.test(r))return r}}},949:function(e,t,r){"use strict";var i=t;i.version=r(2531).i8,i.utils=r(4401),i.rand=r(3500),i.curve=r(9359),i.curves=r(6226),i.ec=r(4088),i.eddsa=r(8511)},2727:function(e,t,r){"use strict";var i=r(711),n=r(4401),a=n.getNAF,o=n.getJSF,s=n.assert;function l(e,t){this.type=e,this.p=new i(t.p,16),this.red=t.prime?i.red(t.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=t.n&&new i(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}
vendor: 11,521 bytes, line 1
1function c(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw Error("Not implemented")},l.prototype.validate=function(){throw Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),i=a(t,1,this._bitLength),n=(1<<r.step+1)-(r.step%2==0?2:1);n/=3;for(var o=[],l=0;l<i.length;l+=r.step){for(var c=0,t=l+r.step-1;t>=l;t--)c=(c<<1)+i[t];o.push(c)}for(var d=this.jpoint(null,null,null),u=this.jpoint(null,null,null),f=n;f>0;f--){for(var l=0;l<o.length;l++){var c=o[l];c===f?u=u.mixedAdd(r.points[l]):c===-f&&(u=u.mixedAdd(r.points[l].neg()))}d=d.add(u)}return d.toP()},l.prototype._wnafMul=function(e,t){var r=4,i=e._getNAFPoints(r);r=i.wnd;for(var n=i.points,o=a(t,r,this._bitLength),l=this.jpoint(null,null,null),c=o.length-1;c>=0;c--){for(var t=0;c>=0&&0===o[c];c--)t++;if(c>=0&&t++,l=l.dblp(t),c<0)break;var d=o[c];s(0!==d),l="affine"===e.type?d>0?l.mixedAdd(n[d-1>>1]):l.mixedAdd(n[-d-1>>1].neg()):d>0?l.add(n[d-1>>1]):l.add(n[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,i,n){for(var s=this._wnafT1,l=this._wnafT2,c=this._wnafT3,d=0,u=0;u<i;u++){var f=t[u],h=f._getNAFPoints(e);s[u]=h.wnd,l[u]=h.points}for(var u=i-1;u>=1;u-=2){var p=u-1,b=u;if(1!==s[p]||1!==s[b]){c[p]=a(r[p],s[p],this._bitLength),c[b]=a(r[b],s[b],this._bitLength),d=Math.max(c[p].length,d),d=Math.max(c[b].length,d);continue}var m=[t[p],null,null,t[b]];0===t[p].y.cmp(t[b].y)?(m[1]=t[p].add(t[b]),m[2]=t[p].toJ().mixedAdd(t[b].neg())):0===t[p].y.cmp(t[b].y.redNeg())?(m[1]=t[p].toJ().mixedAdd(t[b]),m[2]=t[p].add(t[b].neg())):(m[1]=t[p].toJ().mixedAdd(t[b]),m[2]=t[p].toJ().mixedAdd(t[b].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=o(r[p],r[b]);d=Math.max(v[0].length,d),c[p]=Array(d),c[b]=Array(d);for(var y=0;y<d;y++){var x=0|v[0][y],w=0|v[1][y];c[p][y]=g[(x+1)*3+(w+1)],c[b][y]=0,l[p]=m}}for(var _=this.jpoint(null,null,null),S=this._wnafT4,u=d;u>=0;u--){for(var M=0;u>=0;){for(var j=!0,y=0;y<i;y++)S[y]=0|c[y][u],0!==S[y]&&(j=!1);if(!j)break;M++,u--}if(u>=0&&M++,_=_.dblp(M),u<0)break;for(var y=0;y<i;y++){var f,k=S[y];0!==k&&(k>0?f=l[y][k-1>>1]:k<0&&(f=l[y][-k-1>>1].neg()),_="affine"===f.type?_.mixedAdd(f):_.add(f))}}for(var u=0;u<i;u++)l[u]=null;return n?_:_.toP()},l.BasePoint=c,c.prototype.eq=function(){throw Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=n.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw Error("Unknown point format")},c.prototype.encodeCompressed=function(e){return this.encode(e,!0)},c.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},c.prototype.encode=function(e,t){return n.encode(this._encode(t),e)},c.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},c.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],i=this,n=0;n<t;n+=e){for(var a=0;a<e;a++)i=i.dbl();r.push(i)}return{step:e,points:r}},c.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,i=1===r?null:this.dbl(),n=1;n<r;n++)t[n]=t[n-1].add(i);return{wnd:e,points:t}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},2705:function(e,t,r){"use strict";var i=r(4401),n=r(711),a=r(3782),o=r(2727),s=i.assert;function l(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,o.call(this,"edwards",e),this.a=new n(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new n(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new n(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|e.c)==1}function c(e,t,r,i,a){o.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new n(t,16),this.y=new n(r,16),this.z=i?new n(i,16):this.curve.one,this.t=a&&new n(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}a(l,o),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,r,i){return this.point(e,t,r,i)},l.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),i=this.c2.redSub(this.a.redMul(r)),a=this.one.redSub(this.c2.redMul(this.d).redMul(r)),o=i.redMul(a.redInvm()),s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),i=r.redSub(this.c2),a=r.redMul(this.d).redMul(this.c2).redSub(this.a),o=i.redMul(a.redInvm());if(0===o.cmp(this.zero))if(!t)return this.point(this.zero,e);else throw Error("invalid point");var s=o.redSqrt();if(0!==s.redSqr().redSub(o).cmp(this.zero))throw Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),i=t.redMul(this.a).redAdd(r),n=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===i.cmp(n)},a(c,o.BasePoint),l.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},l.prototype.point=function(e,t,r,i){return new c(this,e,t,r,i)},c.fromJSON=function(e,t){return new c(e,t[0],t[1],t[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var i=this.curve._mulA(e),n=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=i.redAdd(t),o=a.redSub(r),s=i.redSub(t),l=n.redMul(o),c=a.redMul(s),d=n.redMul(s),u=o.redMul(a);return this.curve.point(l,c,u,d)},c.prototype._projDbl=function(){var e,t,r,i=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=this.curve._mulA(n),s=o.redAdd(a);if(this.zOne)e=i.redSub(n).redSub(a).redMul(s.redSub(this.curve.two)),t=s.redMul(o.redSub(a)),r=s.redSqr().redSub(s).redSub(s);else{var l=this.z.redSqr(),c=s.redSub(l).redISub(l);e=i.redSub(n).redISub(a).redMul(c),t=s.redMul(o.redSub(a)),r=s.redMul(c)}}else{var o=n.redAdd(a),l=this.curve._mulC(this.z).redSqr(),c=o.redSub(l).redSub(l);e=this.curve._mulC(i.redISub(o)).redMul(c),t=this.curve._mulC(o).redMul(n.redISub(a)),r=o.redMul(c)}return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),i=this.t.redMul(this.curve.dd).redMul(e.t),n=this.z.redMul(e.z.redAdd(e.z)),a=r.redSub(t),o=n.redSub(i),s=n.redAdd(i),l=r.redAdd(t),c=a.redMul(o),d=s.redMul(l),u=a.redMul(l),f=o.redMul(s);return this.curve.point(c,d,f,u)},c.prototype._projAdd=function(e){var t,r,i=this.z.redMul(e.z),n=i.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),l=n.redSub(s),c=n.redAdd(s),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),u=i.redMul(l).redMul(d);return this.curve.twisted?(t=i.redMul(c).redMul(o.redSub(this.curve._mulA(a))),r=l.redMul(c)):(t=i.redMul(c).redMul(o.redSub(a)),r=this.curve._mulC(l).redMul(c)),this.curve.point(u,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(i),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},9359:function(e,t,r){"use strict";var i=t;i.base=r(2727),i.short=r(4720),i.mont=r(6653),i.edwards=r(2705)},6653:function(e,t,r){"use strict";var i=r(711),n=r(3782),a=r(2727),o=r(4401);function s(e){a.call(this,"mont",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){a.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(t,16),this.z=new i(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}n(s,a),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),i=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===i.redSqrt().redSqr().cmp(i)},n(l,a.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(o.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>
1":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),i=e.redMul(t),n=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(i,n)},l.prototype.add=function(){throw Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),i=this.x.redSub(this.z),n=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(r),o=n.redMul(i),s=t.z.redMul(a.redAdd(o).redSqr()),l=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(e){for(var t=e.clone(),r=this,i=this.curve.point(null,null),n=this,a=[];0!==t.cmpn(0);t.iushrn(1))a.push(t.andln(1));for(var o=a.length-1;o>=0;o--)0===a[o]?(r=r.diffAdd(i,n),i=i.dbl()):(i=r.diffAdd(i,n),r=r.dbl());return i},l.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4720:function(e,t,r){"use strict";var i=r(4401),n=r(711),a=r(3782),o=r(2727),s=i.assert;function l(e){o.call(this,"short",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function c(e,t,r,i){o.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new n(t,16),this.y=new n(r,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(e,t,r,i){o.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new n(0)):(this.x=new n(t,16),this.y=new n(r,16),this.z=new n(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}a(l,o),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(e.beta)t=new n(e.beta,16).toRed(this.red);else{var t,r,i,a=this._getEndoRoots(this.p);t=(t=0>a[0].cmp(a[1])?a[0]:a[1]).toRed(this.red)}if(e.lambda)r=new n(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return i=e.basis?e.basis.map(function(e){return{a:new n(e.a,16),b:new n(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:i}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:n.mont(e),r=new n(2).toRed(t).redInvm(),i=r.redNeg(),a=new n(3).toRed(t).redNeg().redSqrt().redMul(r);return[i.redAdd(a).fromRed(),i.redSub(a).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,r,i,a,o,s,l,c,d,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,h=this.n.clone(),p=new n(1),b=new n(0),m=new n(0),g=new n(1),v=0;0!==f.cmpn(0);){var y=h.div(f);c=h.sub(y.mul(f)),d=m.sub(y.mul(p));var x=g.sub(y.mul(b));if(!i&&0>c.cmp(u))t=l.neg(),r=p,i=c.neg(),a=d;else if(i&&2==++v)break;l=c,h=f,f=c,m=p,p=d,g=b,b=x}o=c.neg(),s=d;var w=i.sqr().add(a.sqr());return o.sqr().add(s.sqr()).cmp(w)>=0&&(o=t,s=r),i.negative&&(i=i.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:i,b:a},{a:o,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],i=t[1],n=i.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=n.mul(r.a),s=a.mul(i.a),l=n.mul(r.b),c=a.mul(i.b);return{k1:e.sub(o).sub(s),k2:l.add(c).neg()}},l.prototype.pointFromX=function(e,t){(e=new n(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=r.redSqrt();if(0!==i.redSqr().redSub(r).cmp(this.zero))throw Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,i=this.a.redMul(t),n=t.redSqr().redMul(t).redIAdd(i).redIAdd(this.b);return 0===r.redSqr().redISub(n).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var i=this._endoWnafT1,n=this._endoWnafT2,a=0;a<e.length;a++){var o=this._endoSplit(t[a]),s=e[a],l=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),l=l.neg(!0)),i[2*a]=s,i[2*a+1]=l,n[2*a]=o.k1,n[2*a+1]=o.k2}for(var c=this._wnafMulAdd(1,i,n,2*a,r),d=0;d<2*a;d++)i[d]=null,n[d]=null;return c},a(c,o.BasePoint),l.prototype.point=function(e,t,r){return new c(this,e,t,r)},l.prototype.pointFromJSON=function(e,t){return c.fromJSON(this,e,t)},c.prototype._getBeta=function(){if(this.curve.endo){var e=this.prec
vendor: 4,173 bytes, line 1
1omputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,i=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(i)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(i)}}}return t}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var i=e.point(t[0],t[1],r);if(!t[2])return i;function n(t){return e.point(t[0],t[1],r)}var a=t[2];return i.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[i].concat(a.doubles.points.map(n))},naf:a.naf&&{wnd:a.naf.wnd,points:[i].concat(a.naf.points.map(n))}},i},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e)||0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),i=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,i)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),i=e.redInvm(),n=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(i),a=n.redSqr().redISub(this.x.redAdd(this.x)),o=n.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return(e=new n(e,16),this.isInfinity())?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var i=[this,t],n=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(i,n):this.curve._wnafMulAdd(1,i,n,2)},c.prototype.jmulAdd=function(e,t,r){var i=[this,t],n=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(i,n,!0):this.curve._wnafMulAdd(1,i,n,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,i=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(i)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(i)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(d,o.BasePoint),l.prototype.jpoint=function(e,t,r){return new d(this,e,t,r)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),i=this.y.redMul(t).redMul(e);return this.curve.point(r,i)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),i=this.x.redMul(t),n=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=i.redSub(n),l=a.redSub(o);if(0===s.cmpn(0))if(0!==l.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var c=s.redSqr(),d=c.redMul(s),u=i.redMul(c),f=l.redSqr().redIAdd(d).redISub(u).redISub(u),h=l.redMul(u.redISub(f)).redISub(a.redMul(d)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(f,h,p)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;
vendor: 4,077 bytes, line 1
1var t=this.z.redSqr(),r=this.x,i=e.x.redMul(t),n=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(i),s=n.redSub(a);if(0===o.cmpn(0))if(0!==s.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var l=o.redSqr(),c=l.redMul(o),d=r.redMul(l),u=s.redSqr().redIAdd(c).redISub(d).redISub(d),f=s.redMul(d.redISub(u)).redISub(n.redMul(c)),h=this.z.redMul(o);return this.curve.jpoint(u,f,h)},d.prototype.dblp=function(e){if(0===e||this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}for(var i=this.curve.a,n=this.curve.tinv,a=this.x,o=this.y,s=this.z,l=s.redSqr().redSqr(),c=o.redAdd(o),r=0;r<e;r++){var d=a.redSqr(),u=c.redSqr(),f=u.redSqr(),h=d.redAdd(d).redIAdd(d).redIAdd(i.redMul(l)),p=a.redMul(u),b=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(b),g=h.redMul(m);g=g.redIAdd(g).redISub(f);var v=c.redMul(s);r+1<e&&(l=l.redMul(f)),a=b,s=v,c=g}return this.curve.jpoint(a,c.redMul(n),s)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},d.prototype._zeroDbl=function(){if(this.zOne){var e,t,r,i=this.x.redSqr(),n=this.y.redSqr(),a=n.redSqr(),o=this.x.redAdd(n).redSqr().redISub(i).redISub(a);o=o.redIAdd(o);var s=i.redAdd(i).redIAdd(i),l=s.redSqr().redISub(o).redISub(o),c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),e=l,t=s.redMul(o.redISub(l)).redISub(c),r=this.y.redAdd(this.y)}else{var d=this.x.redSqr(),u=this.y.redSqr(),f=u.redSqr(),h=this.x.redAdd(u).redSqr().redISub(d).redISub(f);h=h.redIAdd(h);var p=d.redAdd(d).redIAdd(d),b=p.redSqr(),m=f.redIAdd(f);m=(m=m.redIAdd(m)).redIAdd(m),e=b.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(m),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},d.prototype._threeDbl=function(){if(this.zOne){var e,t,r,i=this.x.redSqr(),n=this.y.redSqr(),a=n.redSqr(),o=this.x.redAdd(n).redSqr().redISub(i).redISub(a);o=o.redIAdd(o);var s=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),l=s.redSqr().redISub(o).redISub(o);e=l;var c=a.redIAdd(a);c=(c=c.redIAdd(c)).redIAdd(c),t=s.redMul(o.redISub(l)).redISub(c),r=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),u=this.y.redSqr(),f=this.x.redMul(u),h=this.x.redSub(d).redMul(this.x.redAdd(d));h=h.redAdd(h).redIAdd(h);var p=f.redIAdd(f),b=(p=p.redIAdd(p)).redAdd(p);e=h.redSqr().redISub(b),r=this.y.redAdd(this.z).redSqr().redISub(u).redISub(d);var m=u.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=h.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,r)},d.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,i=this.z,n=i.redSqr().redSqr(),a=t.redSqr(),o=r.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(n)),l=t.redAdd(t),c=(l=l.redIAdd(l)).redMul(o),d=s.redSqr().redISub(c.redAdd(c)),u=c.redISub(d),f=o.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=s.redMul(u).redISub(f),p=r.redAdd(r).redMul(i);return this.curve.jpoint(d,h,p)},d.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),i=t.redSqr(),n=e.redAdd(e).redIAdd(e),a=n.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(i),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(a)).redSqr(),l=i.redIAdd(i);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var c=n.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(l),d=t.redMul(c);d=(d=d.redIAdd(d)).redIAdd(d);var u=this.x.redMul(s).redISub(d);u=(u=u.redIAdd(u)).redIAdd(u);var f=this.y.redMul(c.redMul(l.redISub(c)).redISub(o.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var h=this.z.redAdd(o).redSqr().redISub(r).redISub(s);return this.curve.jpoint(u,f,h)},d.prototype.mul=function(e,t){return e=new n(e,t),this.curve._wnafMul(this,e)},d.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var i=t.redMul(this.z),n=r.redMul(e.z);return 0===this.y.redMul(n).redISub(e.y.redMul(i)).cmpn(0)}
vendor: 5,347 bytes, line 1
1,d.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var i=e.clone(),n=this.curve.redN.redMul(t);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(n),0===this.x.cmp(r))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},6226:function(e,t,r){"use strict";var i,n=t,a=r(7028),o=r(9359),s=r(4401).assert;function l(e){"short"===e.type?this.curve=new o.short(e):"edwards"===e.type?this.curve=new o.edwards(e):this.curve=new o.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new l(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{i=r(9702)}catch(e){i=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
1,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})},4088:function(e,t,r){"use strict";var i=r(711),n=r(4910),a=r(4401),o=r(6226),s=r(3500),l=a.assert,c=r(4724),d=r(7526);function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(l(o.hasOwnProperty(e),"Unknown curve "+e),e=o[e]),e instanceof o.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new c(this,e)},u.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new n({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),a=this.n.sub(new i(2));;){var o=new i(t.generate(r));if(!(o.cmp(a)>0))return o.iaddn(1),this.keyFromPrivate(o)}},u.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return(r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0)?e.sub(this.n):e},u.prototype.sign=function(e,t,r,a){"object"==typeof r&&(a=r,r=null),a||(a={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new i(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),l=e.toArray("be",o),c=new n({hash:this.hash,entropy:s,nonce:l,pers:a.pers,persEnc:a.persEnc||"utf8"}),u=this.n.sub(new i(1)),f=0;;f++){var h=a.k?a.k(f):new i(c.generate(this.n.byteLength()));if(0>=(h=this._truncateToN(h,!0)).cmpn(1)||h.cmp(u)>=0)continue;var p=this.g.mul(h);if(!p.isInfinity()){var b=p.getX(),m=b.umod(this.n);if(0!==m.cmpn(0)){var g=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var v=!!p.getY().isOdd()|2*(0!==b.cmp(m));return a.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),v^=1),new d({r:m,s:g,recoveryParam:v})}}}}},u.prototype.verify=function(e,t,r,n){e=this._truncateToN(new i(e,16)),r=this.keyFromPublic(r,n);var a=(t=new d(t,"hex")).r,o=t.s;if(0>a.cmpn(1)||a.cmp(this.n)>=0||0>o.cmpn(1)||o.cmp(this.n)>=0)return!1;var s=o.invm(this.n),l=s.mul(e).umod(this.n),c=s.mul(a).umod(this.n);if(!this.curve._maxwellTrick){var u=this.g.mulAdd(l,r.getPublic(),c);return!u.isInfinity()&&0===u.getX().umod(this.n).cmp(a)}var u=this.g.jmulAdd(l,r.getPublic(),c);return!u.isInfinity()&&u.eqXToP(a)},u.prototype.recoverPubKey=function(e,t,r,n){l((3&r)===r,"The recovery param is more than two bits"),t=new d(t,n);var a=this.n,o=new i(e),s=t.r,c=t.s,u=1&r,f=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var h=t.r.invm(a),p=a.sub(o).mul(h).umod(a),b=c.mul(h).umod(a);return this.g.mulAdd(p,s,b)},u.prototype.getKeyRecoveryParam=function(e,t,r,i){if(null!==(t=new d(t,i)).recoveryParam)return t.recoveryParam;for(var n,a=0;a<4;a++){try{n=this.recoverPubKey(e,t,a)}catch(e){continue}if(n.eq(r))return a}throw Error("Unable to find valid recovery factor")}},4724:function(e,t,r){"use strict";var i=r(711),n=r(4401).assert;function a(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=a,a.fromPublic=function(e,t,r){return t instanceof a?t:new a(e,{pub:t,pubEnc:r})},a.fromPrivate=function(e,t,r){return t instanceof a?t:new a(e,{priv:t,privEnc:r})},a.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},a.prototype.getPublic=function(e,t){return("string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t)?this.pub.encode(t,e):this.pub},a.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(e,t){if(e.x||e.y){"mont"===this.ec.curve.type?n(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&n(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)},a.prototype.derive=function(e){return e.mul(this.priv).getX()},a.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},a.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7526:function(e,t,r){"use strict";var i=r(711),n=r(4401),a=n.assert;function o(e,t){if(e instanceof o)return e;this._importDER(e,t)||(a(e.r&&e.s,"Signature without r or s"),this.r=new i(e.r,16),this.s=new i(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;var i=15&r;if(0===i||i>4)return!1;for(var n=0,a=0,o=t.place;a<i;a++,o++)n<<=8,n|=e[o],n>>>=0;return!(n<=127)&&(t.place=o,n)}function c(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function d(e,t){if(t<128)return void e.push(t);var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}e.exports=o,o.prototype._importDER=function(e,t){e=n.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var a=l(e,r);if(!1===a||a+r.place!==e.length||2!==e[r.place++])return!1;var o=l(e,r);if(!1===o)return!1;var c=e.slice(r.place,o+r.place);if(r.place+=o,2!==e[r.place++])return!1;var d=l(e,r);if(!1===d||e.length!==d+r.place)return!1;var u=e.slice(r.place,d+r.place);if(0===c[0])if(!(128&c[1]))return!1;else c=c.slice(1);if(0===u[0])if(!(128&u[1]))return!1;else u=u.slice(1);return this.r=new i(c),this.s=new i(u),this.recoveryParam=null,!0},o.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var i=[2];d(i,t.length),(i=i.concat(t)).push(2),d(i,r.length);var a=i.concat(r),o=[48];return d(o,a.length),o=o.concat(a),n.encode(o,e)}},8511:function(e,t,r){"use strict";var i=r(7028),n=r(6226),a=r(4401),o=a.assert,s=a.parseBytes,l=r(9917),c=r(9314);function d(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof d))return new d(e);var e=n[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}e.exports=d,d.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),i=this.hashInt(r.messagePrefix(),e),n=this.g.mul(i),a=this.encodePoint(n),o=this.hashInt(a,r.pubBytes(),e).mul(r.priv()),l=i.add(o).umod(this.curve.n);return this.makeSignature({R:n,S:l,Rencoded:a})},d.prototype.verify=function(e,t,r){e=s(e),t=this.makeSignature(t);var i=this.keyFromPublic(r),n=this.hashInt(t.Rencoded(),i.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(i.pub().mul(n)).eq(a)},d.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return a.intFromLE(e.digest()).umod(this.curve.n)},d.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},d.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},d.prototype.makeSignature=function(e){return e instanceof c?e:new c(this,e)},d.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=128*!!e.getX().isOdd(),t},d.prototype.decodePoint=function(e){var t=(e=a.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),i=(128&e[t])!=0,n=a.intFromLE(r);return this.curve.pointFromY(n,i)},d.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},d.prototype.decodeInt=function(e){return a.intFromLE(e)},d.prototype.isPoint=function(e){return e instanceof this.pointClass}},9917:function(e,t,r){"use strict";var i=r(4401),n=i.assert,a=i.parseBytes,o=i.cachedProperty;function s(e,t){this.eddsa=e,this._secret=a(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=a(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},o(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),o(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),o(s,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,i=t.slice(0,e.encodingLength);return i[0]&=248,i[r]&=127,i[r]|=64,i}),o(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),o(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),o(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(e){return n(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return n(this._secret,"KeyPair is public only"),i.encode(this.secret(),e)},s.prototype.getPublic=function(e){return i.encode(this.pubBytes(),e)},e.exports=s},9314:function(e,t,r){"use strict";var i=r(711),n=r(4401),a=n.assert,o=n.cachedProperty,s=n.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),a(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}o(l,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),o(l,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),o(l,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),o(l,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return n.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},9702:function(e
vendor: 26,140 bytes, line 1
1){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
14401:function(e,t,r){"use strict";var i=t,n=r(711),a=r(3523),o=r(6545);function s(e){return"string"==typeof e?i.toArray(e,"hex"):e}i.assert=a,i.toArray=o.toArray,i.zero2=o.zero2,i.toHex=o.toHex,i.encode=o.encode,i.getNAF=function(e,t,r){var i=Array(Math.max(e.bitLength(),r)+1);i.fill(0);for(var n=1<<t+1,a=e.clone(),o=0;o<i.length;o++){var s,l=a.andln(n-1);a.isOdd()?(s=l>(n>>1)-1?(n>>1)-l:l,a.isubn(s)):s=0,i[o]=s,a.iushrn(1)}return i},i.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var i=0,n=0;e.cmpn(-i)>0||t.cmpn(-n)>0;){var a,o,s=e.andln(3)+i&3,l=t.andln(3)+n&3;if(3===s&&(s=-1),3===l&&(l=-1),(1&s)==0)a=0;else{var c=e.andln(7)+i&7;a=(3===c||5===c)&&2===l?-s:s}if(r[0].push(a),(1&l)==0)o=0;else{var c=t.andln(7)+n&7;o=(3===c||5===c)&&2===s?-l:l}r[1].push(o),2*i===a+1&&(i=1-i),2*n===o+1&&(n=1-n),e.iushrn(1),t.iushrn(1)}return r},i.cachedProperty=function(e,t,r){var i="_"+t;e.prototype[t]=function(){return void 0!==this[i]?this[i]:this[i]=r.call(this)}},i.parseBytes=s,i.intFromLE=function(e){return new n(e,"hex","le")}},8368:function(e,t,r){var i=r(6911).Buffer,n=r(3533);e.exports=function(e,t,r,a){if(i.isBuffer(e)||(e=i.from(e,"binary")),t&&(i.isBuffer(t)||(t=i.from(t,"binary")),8!==t.length))throw RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=i.alloc(o),l=i.alloc(a||0),c=i.alloc(0);o>0||a>0;){var d=new n;d.update(c),d.update(e),t&&d.update(t),c=d.digest();var u=0;if(o>0){var f=s.length-o;u=Math.min(o,c.length),c.copy(s,f,0,u),o-=u}if(u<c.length&&a>0){var h=l.length-a,p=Math.min(a,c.length-u);c.copy(l,h,u,u+p),a-=p}}return c.fill(0),{key:s,iv:l}}},9029:function(e,t,r){"use strict";var i=r(6911).Buffer,n=r(3726).Transform;function a(e,t){if(!i.isBuffer(e)&&"string"!=typeof e)throw TypeError(t+" must be a string or a buffer")}function o(e){n.call(this),this._block=i.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(3782)(o,n),o.prototype._transform=function(e,t,r){var i=null;try{this.update(e,t)}catch(e){i=e}r(i)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(a(e,"Data"),this._finalized)throw Error("Digest already called");i.isBuffer(e)||(e=i.from(e,t));for(var r=this._block,n=0;this._blockOffset+e.length-n>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[n++];this._update(),this._blockOffset=0}for(;n<e.length;)r[this._blockOffset++]=e[n++];for(var s=0,l=8*e.length;l>0;++s)this._length[s]+=l,(l=this._length[s]/0x100000000|0)>0&&(this._length[s]-=0x100000000*l);return this},o.prototype._update=function(){throw Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw Error("_digest is not implemented")},e.exports=o},7028:function(e,t,r){var i=t;
vendor: 6,735 bytes, line 1
1i.utils=r(263),i.common=r(1330),i.sha=r(301),i.ripemd=r(3079),i.hmac=r(3092),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},1330:function(e,t,r){"use strict";var i=r(263),n=r(3523);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),n(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,i=Array(r+this.padLength);i[0]=128;for(var n=1;n<r;n++)i[n]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)i[n++]=0;i[n++]=0,i[n++]=0,i[n++]=0,i[n++]=0,i[n++]=e>>>24&255,i[n++]=e>>>16&255,i[n++]=e>>>8&255,i[n++]=255&e}else for(a=8,i[n++]=255&e,i[n++]=e>>>8&255,i[n++]=e>>>16&255,i[n++]=e>>>24&255,i[n++]=0,i[n++]=0,i[n++]=0,i[n++]=0;a<this.padLength;a++)i[n++]=0;return i}},3092:function(e,t,r){"use strict";var i=r(263),n=r(3523);function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),n(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(t=0,this.inner=(new this.Hash).update(e);t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},a.prototype.update=function(e,t){return this.inner.update(e,t),this},a.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},3079:function(e,t,r){"use strict";var i=r(263),n=r(1330),a=i.rotl32,o=i.sum32,s=i.sum32_3,l=i.sum32_4,c=n.BlockHash;function d(){if(!(this instanceof d))return new d;c.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.endian="little"}function u(e,t,r,i){return e<=15?t^r^i:e<=31?t&r|~t&i:e<=47?(t|~r)^i:e<=63?t&i|r&~i:t^(r|~i)}function f(e){return e<=15?0:e<=31?0x5a827999:e<=47?0x6ed9eba1:e<=63?0x8f1bbcdc:0xa953fd4e}function h(e){return e<=15?0x50a28be6:e<=31?0x5c4dd124:e<=47?0x6d703ef3:0x7a6d76e9*!!(e<=63)}i.inherits(d,c),t.ripemd160=d,d.blockSize=512,d.outSize=160,d.hmacStrength=192,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.h[0],i=this.h[1],n=this.h[2],c=this.h[3],d=this.h[4],v=r,y=i,x=n,w=c,_=d,S=0;S<80;S++){var M=o(a(l(r,u(S,i,n,c),e[p[S]+t],f(S)),m[S]),d);r=d,d=c,c=a(n,10),n=i,i=M,M=o(a(l(v,u(79-S,y,x,w),e[b[S]+t],h(S)),g[S]),_),v=_,_=w,w=a(x,10),x=y,y=M}M=s(this.h[1],n,w),this.h[1]=s(this.h[2],c,_),this.h[2]=s(this.h[3],d,v),this.h[3]=s(this.h[4],r,y),this.h[4]=s(this.h[0],i,x),this.h[0]=M},d.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],b=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},301:function(e,t,r){"use strict";t.sha1=r(2742),t.sha224=r(7105),t.sha256=r(1525),t.sha384=r(9948),t.sha512=r(1319)},2742:function(e,t,r){"use strict";var i=r(263),n=r(1330),a=r(2975),o=i.rotl32,s=i.sum32,l=i.sum32_5,c=a.ft_1,d=n.BlockHash,u=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function f(){if(!(this instanceof f))return new f;d.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}i.inherits(f,d),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var r=this.W,i=0;i<16;i++)r[i]=e[t+i];for(;i<r.length;i++)r[i]=o(r[i-3]^r[i-8]^r[i-14]^r[i-16],1);var n=this.h[0],a=this.h[1],d=this.h[2],f=this.h[3],h=this.h[4];for(i=0;i<r.length;i++){var p=~~(i/20),b=l(o(n,5),c(p,a,d,f),h,r[i],u[p]);h=f,f=d,d=o(a,30),a=n,n=b}this.h[0]=s(this.h[0],n),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],d),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],h)},f.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},7105:function(e,t,r){"use strict";var i=r(263),n=r(1525);function a(){if(!(this instanceof a))return new a;n.call(this),this.h=[0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]}i.inherits(a,n),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},1525:function(e,t,r){"use strict";var i=r(263),n=r(1330),a=r(2975),o=r(3523),s=i.sum32,l=i.sum32_4,c=i.sum32_5,d=a.ch32,u=a.maj32,f=a.s0_256,h=a.s1_256,p=a.g0_256,b=a.g1_256,m=n.BlockHash,g=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2];function v(){if(!(this instanceof v))return new v;
vendor: 8,491 bytes, line 1
1m.call(this),this.h=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],this.k=g,this.W=Array(64)}i.inherits(v,m),e.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var r=this.W,i=0;i<16;i++)r[i]=e[t+i];for(;i<r.length;i++)r[i]=l(b(r[i-2]),r[i-7],p(r[i-15]),r[i-16]);var n=this.h[0],a=this.h[1],m=this.h[2],g=this.h[3],v=this.h[4],y=this.h[5],x=this.h[6],w=this.h[7];for(o(this.k.length===r.length),i=0;i<r.length;i++){var _=c(w,h(v),d(v,y,x),this.k[i],r[i]),S=s(f(n),u(n,a,m));w=x,x=y,y=v,v=s(g,_),g=m,m=a,a=n,n=s(_,S)}this.h[0]=s(this.h[0],n),this.h[1]=s(this.h[1],a),this.h[2]=s(this.h[2],m),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],v),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],x),this.h[7]=s(this.h[7],w)},v.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},9948:function(e,t,r){"use strict";var i=r(263),n=r(1319);function a(){if(!(this instanceof a))return new a;n.call(this),this.h=[0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]}i.inherits(a,n),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},1319:function(e,t,r){"use strict";var i=r(263),n=r(1330),a=r(3523),o=i.rotr64_hi,s=i.rotr64_lo,l=i.shr64_hi,c=i.shr64_lo,d=i.sum64,u=i.sum64_hi,f=i.sum64_lo,h=i.sum64_4_hi,p=i.sum64_4_lo,b=i.sum64_5_hi,m=i.sum64_5_lo,g=n.BlockHash,v=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[0x6a09e667,0xf3bcc908,0xbb67ae85,0x84caa73b,0x3c6ef372,0xfe94f82b,0xa54ff53a,0x5f1d36f1,0x510e527f,0xade682d1,0x9b05688c,0x2b3e6c1f,0x1f83d9ab,0xfb41bd6b,0x5be0cd19,0x137e2179],this.k=v,this.W=Array(160)}function x(e,t,r,i,n){var a=e&r^~e&n;return a<0&&(a+=0x100000000),a}function w(e,t,r,i,n,a){var o=t&i^~t&a;return o<0&&(o+=0x100000000),o}function _(e,t,r,i,n){var a=e&r^e&n^r&n;return a<0&&(a+=0x100000000),a}function S(e,t,r,i,n,a){var o=t&i^t&a^i&a;return o<0&&(o+=0x100000000),o}function M(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=0x100000000),r}function j(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=0x100000000),r}function k(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=0x100000000),r}function E(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=0x100000000),r}function A(e,t){var r=o(e,t,1)^o(e,t,8)^l(e,t,7);return r<0&&(r+=0x100000000),r}function P(e,t){var r=s(e,t,1)^s(e,t,8)^c(e,t,7);return r<0&&(r+=0x100000000),r}function N(e,t){var r=o(e,t,19)^o(t,e,29)^l(e,t,6);return r<0&&(r+=0x100000000),r}function R(e,t){var r=s(e,t,19)^s(t,e,29)^c(e,t,6);return r<0&&(r+=0x100000000),r}i.inherits(y,g),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var r=this.W,i=0;i<32;i++)r[i]=e[t+i];for(;i<r.length;i+=2){var n=N(r[i-4],r[i-3]),a=R(r[i-4],r[i-3]),o=r[i-14],s=r[i-13],l=A(r[i-30],r[i-29]),c=P(r[i-30],r[i-29]),d=r[i-32],u=r[i-31];r[i]=h(n,a,o,s,l,c,d,u),r[i+1]=p(n,a,o,s,l,c,d,u)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,i=this.h[0],n=this.h[1],o=this.h[2],s=this.h[3],l=this.h[4],c=this.h[5],h=this.h[6],p=this.h[7],g=this.h[8],v=this.h[9],y=this.h[10],A=this.h[11],P=this.h[12],N=this.h[13],R=this.h[14],I=this.h[15];a(this.k.length===r.length);for(var C=0;C<r.length;C+=2){var B=R,T=I,O=k(g,v),D=E(g,v),z=x(g,v,y,A,P,N),L=w(g,v,y,A,P,N),q=this.k[C],F=this.k[C+1],U=r[C],W=r[C+1],V=b(B,T,O,D,z,L,q,F,U,W),K=m(B,T,O,D,z,L,q,F,U,W);B=M(i,n),T=j(i,n);var H=u(B,T,O=_(i,n,o,s,l,c),D=S(i,n,o,s,l,c)),G=f(B,T,O,D);R=P,I=N,P=y,N=A,y=g,A=v,g=u(h,p,V,K),v=f(p,p,V,K),h=l,p=c,l=o,c=s,o=i,s=n,i=u(V,K,H,G),n=f(V,K,H,G)}d(this.h,0,i,n),d(this.h,2,o,s),d(this.h,4,l,c),d(this.h,6,h,p),d(this.h,8,g,v),d(this.h,10,y,A),d(this.h,12,P,N),d(this.h,14,R,I)},y.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},2975:function(e,t,r){"use strict";var i=r(263).rotr32;function n(e,t,r){return e&t^~e&r}function a(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}t.ft_1=function(e,t,r,i){return 0===e?n(t,r,i):1===e||3===e?o(t,r,i):2===e?a(t,r,i):void 0},t.ch32=n,t.maj32=a,t.p32=o,t.s0_256=function(e){return i(e,2)^i(e,13)^i(e,22)},t.s1_256=function(e){return i(e,6)^i(e,11)^i(e,25)},t.g0_256=function(e){return i(e,7)^i(e,18)^e>>>3},t.g1_256=function(e){return i(e,17)^i(e,19)^e>>>10}},263:function(e,t,r){"use strict";var i=r(3523);function n(e,t){return(64512&e.charCodeAt(t))==55296&&!(t<0)&&!(t+1>=e.length)&&(64512&e.charCodeAt(t+1))==56320}function a(e){return(e>>>24|e>>>8&65280|e<<8&0xff0000|(255&e)<<24)>>>0}function o(e){return 1===e.length?"0"+e:e}function s(e){if(7===e.length)return"0"+e;if(6===e.length)return"00"+e;if(5===e.length)return"000"+e;if(4===e.length)return"0000"+e;if(3===e.length)return"00000"+e;else if(2===e.length)return"000000"+e;else if(1===e.length)return"0000000"+e;else return e}t.inherits=r(3782),t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)r.push(parseInt(e[a]+e[a+1],16))}else for(var i=0,a=0;a<e.length;a++){var o=e.charCodeAt(a);o<128?r[i++]=o:(o<2048?r[i++]=o>>6|192:(n(e,a)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++a)),r[i++]=o>>18|240,r[i++]=o>>12&63|128):r[i++]=o>>12|224,r[i++]=o>>6&63|128),r[i++]=63&o|128)}else for(a=0;a<e.length;a++)r[a]=0|e[a];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=o(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e[i];"little"===t&&(n=a(n)),r+=s(n.toString(16))}return r},t.zero2=o,t.zero8=s,t.join32=function(e,t,r,n){var a,o=r-t;i(o%4==0);for(var s=Array(o/4),l=0,c=t;l<s.length;l++,c+=4)a="big"===n?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],s[l]=a>>>0;return s},t.split32=function(e,t){for(var r=Array(4*e.length),i=0,n=0;i<e.length;i++,n+=4){var a=e[i];"big"===t?(r[n]=a>>>24,r[n+1]=a>>>16&255,r[n+2]=a>>>8&255,r[n+3]=255&a):(r[n+3]=a>>>24,r[n+2]=a>>>16&255,r[n+1]=a>>>8&255,r[n]=255&a)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,i){return e+t+r+i>>>0},t.sum32_5=function(e,t,r,i,n){return e+t+r+i+n>>>0},t.sum64=function(e,t,r,i){var n=e[t],a=i+e[t+1]>>>0,o=+(a<i)+r+n;e[t]=o>>>
vendor: 11,704 bytes, line 1
10,e[t+1]=a},t.sum64_hi=function(e,t,r,i){return+(t+i>>>0<t)+e+r>>>0},t.sum64_lo=function(e,t,r,i){return t+i>>>0},t.sum64_4_hi=function(e,t,r,i,n,a,o,s){var l,c=t;return e+r+n+o+(l=0+ +((c=c+i>>>0)<t)+ +((c=c+a>>>0)<a)+ +((c=c+s>>>0)<s))>>>0},t.sum64_4_lo=function(e,t,r,i,n,a,o,s){return t+i+a+s>>>0},t.sum64_5_hi=function(e,t,r,i,n,a,o,s,l,c){var d,u=t;return e+r+n+o+l+(d=0+ +((u=u+i>>>0)<t)+ +((u=u+a>>>0)<a)+ +((u=u+s>>>0)<s)+ +((u=u+c>>>0)<c))>>>0},t.sum64_5_lo=function(e,t,r,i,n,a,o,s,l,c){return t+i+a+s+c>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},4910:function(e,t,r){"use strict";var i=r(7028),n=r(6545),a=r(3523);function o(e){if(!(this instanceof o))return new o(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=n.toArray(e.entropy,e.entropyEnc||"hex"),r=n.toArray(e.nonce,e.nonceEnc||"hex"),i=n.toArray(e.pers,e.persEnc||"hex");a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,i)}e.exports=o,o.prototype._init=function(e,t,r){var i=e.concat(t).concat(r);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var n=0;n<this.V.length;n++)this.K[n]=0,this.V[n]=1;this._update(i),this._reseed=1,this.reseedInterval=0x1000000000000},o.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},o.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(e,t,r,i){"string"!=typeof t&&(i=r,r=t,t=null),e=n.toArray(e,t),r=n.toArray(r,i),a(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},o.prototype.generate=function(e,t,r,i){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof t&&(i=r,r=t,t=null),r&&(r=n.toArray(r,i||"hex"),this._update(r));for(var a=[];a.length<e;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var o=a.slice(0,e);return this._update(r),this._reseed++,n.encode(o,t)}},3782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},3533:function(e,t,r){"use strict";var i=r(3782),n=r(9029),a=r(6911).Buffer,o=Array(16);function s(){n.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476}function l(e,t){return e<<t|e>>>32-t}function c(e,t,r,i,n,a,o){return l(e+(t&r|~t&i)+n+a|0,o)+t|0}function d(e,t,r,i,n,a,o){return l(e+(t&i|r&~i)+n+a|0,o)+t|0}function u(e,t,r,i,n,a,o){return l(e+(t^r^i)+n+a|0,o)+t|0}function f(e,t,r,i,n,a,o){return l(e+(r^(t|~i))+n+a|0,o)+t|0}i(s,n),s.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,i=this._b,n=this._c,a=this._d;r=c(r,i,n,a,e[0],0xd76aa478,7),a=c(a,r,i,n,e[1],0xe8c7b756,12),n=c(n,a,r,i,e[2],0x242070db,17),i=c(i,n,a,r,e[3],0xc1bdceee,22),r=c(r,i,n,a,e[4],0xf57c0faf,7),a=c(a,r,i,n,e[5],0x4787c62a,12),n=c(n,a,r,i,e[6],0xa8304613,17),i=c(i,n,a,r,e[7],0xfd469501,22),r=c(r,i,n,a,e[8],0x698098d8,7),a=c(a,r,i,n,e[9],0x8b44f7af,12),n=c(n,a,r,i,e[10],0xffff5bb1,17),i=c(i,n,a,r,e[11],0x895cd7be,22),r=c(r,i,n,a,e[12],0x6b901122,7),a=c(a,r,i,n,e[13],0xfd987193,12),n=c(n,a,r,i,e[14],0xa679438e,17),i=c(i,n,a,r,e[15],0x49b40821,22),r=d(r,i,n,a,e[1],0xf61e2562,5),a=d(a,r,i,n,e[6],0xc040b340,9),n=d(n,a,r,i,e[11],0x265e5a51,14),i=d(i,n,a,r,e[0],0xe9b6c7aa,20),r=d(r,i,n,a,e[5],0xd62f105d,5),a=d(a,r,i,n,e[10],0x2441453,9),n=d(n,a,r,i,e[15],0xd8a1e681,14),i=d(i,n,a,r,e[4],0xe7d3fbc8,20),r=d(r,i,n,a,e[9],0x21e1cde6,5),a=d(a,r,i,n,e[14],0xc33707d6,9),n=d(n,a,r,i,e[3],0xf4d50d87,14),i=d(i,n,a,r,e[8],0x455a14ed,20),r=d(r,i,n,a,e[13],0xa9e3e905,5),a=d(a,r,i,n,e[2],0xfcefa3f8,9),n=d(n,a,r,i,e[7],0x676f02d9,14),i=d(i,n,a,r,e[12],0x8d2a4c8a,20),r=u(r,i,n,a,e[5],0xfffa3942,4),a=u(a,r,i,n,e[8],0x8771f681,11),n=u(n,a,r,i,e[11],0x6d9d6122,16),i=u(i,n,a,r,e[14],0xfde5380c,23),r=u(r,i,n,a,e[1],0xa4beea44,4),a=u(a,r,i,n,e[4],0x4bdecfa9,11),n=u(n,a,r,i,e[7],0xf6bb4b60,16),i=u(i,n,a,r,e[10],0xbebfbc70,23),r=u(r,i,n,a,e[13],0x289b7ec6,4),a=u(a,r,i,n,e[0],0xeaa127fa,11),n=u(n,a,r,i,e[3],0xd4ef3085,16),i=u(i,n,a,r,e[6],0x4881d05,23),r=u(r,i,n,a,e[9],0xd9d4d039,4),a=u(a,r,i,n,e[12],0xe6db99e5,11),n=u(n,a,r,i,e[15],0x1fa27cf8,16),i=u(i,n,a,r,e[2],0xc4ac5665,23),r=f(r,i,n,a,e[0],0xf4292244,6),a=f(a,r,i,n,e[7],0x432aff97,10),n=f(n,a,r,i,e[14],0xab9423a7,15),i=f(i,n,a,r,e[5],0xfc93a039,21),r=f(r,i,n,a,e[12],0x655b59c3,6),a=f(a,r,i,n,e[3],0x8f0ccc92,10),n=f(n,a,r,i,e[10],0xffeff47d,15),i=f(i,n,a,r,e[1],0x85845dd1,21),r=f(r,i,n,a,e[8],0x6fa87e4f,6),a=f(a,r,i,n,e[15],0xfe2ce6e0,10),n=f(n,a,r,i,e[6],0xa3014314,15),i=f(i,n,a,r,e[13],0x4e0811a1,21),r=f(r,i,n,a,e[4],0xf7537e82,6),a=f(a,r,i,n,e[11],0xbd3af235,10),n=f(n,a,r,i,e[2],0x2ad7d2bb,15),i=f(i,n,a,r,e[9],0xeb86d391,21),this._a=this._a+r|0,this._b=this._b+i|0,this._c=this._c+n|0,this._d=this._d+a|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=a.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},1354:function(e,t,r){var i=r(711),n=r(3500);function a(e){this.rand=e||new n.Rand}e.exports=a,a.create=function(e){return new a(e)},a.prototype._randbelow=function(e){var t=Math.ceil(e.bitLength()/8);do var r=new i(this.rand.generate(t));while(r.cmp(e)>=0)return r},a.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},a.prototype.test=function(e,t,r){var n=e.bitLength(),a=i.mont(e),o=new i(1).toRed(a);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var c=e.shrn(l),d=s.toRed(a),u=!0;t>0;t--){var f=this._randrange(new i(2),s);r&&r(f);var h=f.toRed(a).redPow(c);if(0!==h.cmp(o)&&0!==h.cmp(d)){for(var p=1;p<l;p++){if(0===(h=h.redSqr()).cmp(o))return!1;if(0===h.cmp(d))break}if(p===l)return!1}}return u},a.prototype.getDivisor=function(e,t){var r=e.bitLength(),n=i.mont(e),a=new i(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),s=0;!o.testn(s);s++);for(var l=e.shrn(s),c=o.toRed(n);t>0;t--){var d=this._randrange(new i(2),o),u=e.gcd(d);if(0!==u.cmpn(1))return u;var f=d.toRed(n).redPow(l);if(0!==f.cmp(a)&&0!==f.cmp(c)){for(var h=1;h<s;h++){if(0===(f=f.redSqr()).cmp(a))return f.fromRed().subn(1).gcd(e);if(0===f.cmp(c))break}if(h===s)return(f=f.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},3523:function(e){function t(e,t){if(!e)throw Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw Error(r||"Assertion failed: "+e+" != "+t)}},6545:function(e,t){"use strict";var r=t;function i(e){return 1===e.length?"0"+e:e}function n(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var i=0;i<e.length;i++)r[i]=0|e[i];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(var i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var i=0;i<e.length;i++){var n=e.charCodeAt(i),a=n>>8,o=255&n;a?r.push(a,o):r.push(o)}return r},r.zero2=i,r.toHex=n,r.encode=function(e,t){return"hex"===t?n(e):e}},8687:function(e,t,r){"use strict";var i=r(7160);t.certificate=r(8782),t.RSAPrivateKey=i.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}),t.RSAPublicKey=i.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}),t.PublicKey=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(n),this.key("subjectPublicKey").bitstr())});var n=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())});t.PrivateKey=i.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(n),this.key("subjectPrivateKey").octstr())}),t.EncryptedPrivateKey=i.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}),t.DSAPrivateKey=i.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}),t.DSAparam=i.define("DSAparam",function(){this.int()}),t.ECPrivateKey=i.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(a),this.key("publicKey").optional().explicit(1).bitstr())});var a=i.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=i.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},8782:function(e,t,r){"use strict";var i=r(7160),n=i.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=i.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),s=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),l=i.define("RelativeDistinguishedName",function(){this.setof(a)}),c=i.define("RDNSequence",function(){this.seqof(l)}),d=i.define("Name",function(){this.choice({rdnSequence:this.use(c)})}),u=i.define("Validity",function(){this.seq().obj(this.key("notBefore").use(n),this.key("notAfter").use(n))}),f=i.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),h=i.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(d),this.key("validity").use(u),this.key("subject").use(d),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())});
1e.exports=i.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())})},6501:function(e,t,r){var i=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,n=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,o=r(8368),s=r(6594),l=r(6911).Buffer;e.exports=function(e,t){var r,c=e.toString(),d=c.match(i);if(d){var u="aes"+d[1],f=l.from(d[2],"hex"),h=l.from(d[3].replace(/[\r\n]/g,""),"base64"),p=o(t,f.slice(0,8),parseInt(d[1],10)).key,b=[],m=s.createDecipheriv(u,p,f);b.push(m.update(h)),b.push(m.final()),r=l.concat(b)}else r=new l(c.match(a)[2].replace(/[\r\n]/g,""),"base64");return{tag:c.match(n)[1],data:r}}},9902:function(e,t,r){var i=r(8687),n=r(2510),a=r(6501),o=r(6594),s=r(4978),l=r(6911).Buffer;function c(e){"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var t,r,n,o=a(e,t),s=o.tag,c=o.data;switch(s){case"CERTIFICATE":n=i.certificate.decode(c,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(!n&&(n=i.PublicKey.decode(c,"der")),r=n.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(n.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return n.subjectPrivateKey=n.subjectPublicKey,{type:"ec",data:n};case"1.2.840.10040.4.1":return n.algorithm.params.pub_key=i.DSAparam.decode(n.subjectPublicKey.data,"der"),{type:"dsa",data:n.algorithm.params};default:throw Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":c=d(c=i.EncryptedPrivateKey.decode(c,"der"),t);case"PRIVATE KEY":switch(r=(n=i.PrivateKey.decode(c,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(n.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:n.algorithm.curve,privateKey:i.ECPrivateKey.decode(n.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return n.algorithm.params.priv_key=i.DSAparam.decode(n.subjectPrivateKey,"der"),{type:"dsa",params:n.algorithm.params};default:throw Error("unknown key id "+r)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(c,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(c,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(c,"der")};case"EC PRIVATE KEY":return{curve:(c=i.ECPrivateKey.decode(c,"der")).parameters.value,privateKey:c.privateKey};default:throw Error("unknown key type "+s)}}function d(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=n[e.algorithm.decrypt.cipher.algo.join(".")],c=e.algorithm.decrypt.cipher.iv,d=e.subjectPrivateKey,u=parseInt(a.split("-")[1],10)/8,f=s.pbkdf2Sync(t,r,i,u,"sha1"),h=o.createDecipheriv(a,f,c),p=[];return p.push(h.update(d)),p.push(h.final()),l.concat(p)}e.exports=c,c.signature=i.signature},4978:function(e,t,r){var i=r(6113),n=r(5349),a=r(7007),o=r(5407);function s(e,t,r,s,l,c){if(n(r,s),e=o(e,a,"Password"),t=o(t,a,"Salt"),"function"==typeof l&&(c=l,l="sha1"),"function"!=typeof c)throw Error("No callback provided to pbkdf2");return i.pbkdf2(e,t,r,s,l,c)}function l(e,t,r,s,l){return n(r,s),e=o(e,a,"Password"),t=o(t,a,"Salt"),l=l||"sha1",i.pbkdf2Sync(e,t,r,s,l)}i.pbkdf2Sync&&-1!==i.pbkdf2Sync.toString().indexOf("keylen, digest")?(t.pbkdf2Sync=l,t.pbkdf2=s):(t.pbkdf2Sync=r(2127),t.pbkdf2=r(9601))},9601:function(t,r,i){var a,o=i(6911).Buffer,s=i(5349),l=i(7007),c=i(2127),d=i(5407),u=e.g.crypto&&e.g.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function p(t){if(e.g.process&&!e.g.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==h[t])return h[t];var r=b(a=a||o.alloc(8),a,10,128,t).then(function(){return!0}).catch(function(){return!1});return h[t]=r,r}function b(e,t,r,i,n){return u.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return u.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:n}},e,i<<3)}).then(function(e){return o.from(e)})}function m(e,t){e.then(function(e){n.default.nextTick(function(){t(null,e)})},function(e){n.default.nextTick(function(){t(e)})})}t.exports=function(t,r,i,a,o,u){"function"==typeof o&&(u=o,o=void 0);var h=f[(o=o||"sha1").toLowerCase()];if(!h||"function"!=typeof e.g.Promise)return n.default.nextTick(function(){var e;try{e=c(t,r,i,a,o)}catch(e){return u(e)}u(null,e)});if(s(i,a),t=d(t,l,"Password"),r=d(r,l,"Salt"),"function"!=typeof u)throw Error("No callback provided to pbkdf2");m(p(h).then(function(e){return e?b(t,r,i,a,h):c(t,r,i,a,o)}),u)}},7007:function(e){e.exports="utf-8"},5349:function(e){var t=0x3fffffff;e.exports=function(e,r){if("number"!=typeof e)throw TypeError("Iterations not a number");if(e<0)throw TypeError("Bad iterations");
1if("number"!=typeof r)throw TypeError("Key length not a number");if(r<0||r>t||r!=r)throw TypeError("Bad key length")}},2127:function(e,t,r){var i={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},n=r(4873),a=r(6911).Buffer,o=r(5349),s=r(7007),l=r(5407);e.exports=function(e,t,r,c,d){o(r,c),e=l(e,s,"Password"),t=l(t,s,"Salt"),d=d||"sha1";var u=a.allocUnsafe(c),f=a.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var h=0,p=i[d],b=Math.ceil(c/p),m=1;m<=b;m++){f.writeUInt32BE(m,t.length);for(var g=n(d,e).update(f).digest(),v=g,y=1;y<r;y++){v=n(d,e).update(v).digest();for(var x=0;x<p;x++)g[x]^=v[x]}g.copy(u,h),h+=p}return u}},5407:function(e,t,r){var i=r(6911).Buffer;e.exports=function(e,t,r){if(i.isBuffer(e))return e;if("string"==typeof e)return i.from(e,t);if(ArrayBuffer.isView(e))return i.from(e.buffer);throw TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},9783:function(e,t,r){t.publicEncrypt=r(3995),t.privateDecrypt=r(4366),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},5520:function(e,t,r){var i=r(9739),n=r(6911).Buffer;function a(e){var t=n.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,o=n.alloc(0),s=0;o.length<t;)r=a(s++),o=n.concat([o,i("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},4366:function(e,t,r){var i=r(9902),n=r(5520),a=r(6386),o=r(711),s=r(7166),l=r(9739),c=r(1607),d=r(6911).Buffer;function u(e,t){var r=e.modulus.byteLength(),i=l("sha1").update(d.alloc(0)).digest(),o=i.length;if(0!==t[0])throw Error("decryption error");var s=t.slice(1,o+1),c=t.slice(o+1),u=a(s,n(c,o)),f=a(c,n(u,r-o-1));if(h(i,f.slice(0,o)))throw Error("decryption error");for(var p=o;0===f[p];)p++;if(1!==f[p++])throw Error("decryption error");return f.slice(p)}function f(e,t,r){for(var i=t.slice(0,2),n=2,a=0;0!==t[n++];)if(n>=t.length){a++;break}var o=t.slice(2,n-1);if(("0002"!==i.toString("hex")&&!r||"0001"!==i.toString("hex")&&r)&&a++,o.length<8&&a++,a)throw Error("decryption error");return t.slice(n)}function h(e,t){e=d.from(e),t=d.from(t);var r=0,i=e.length;e.length!==t.length&&(r++,i=Math.min(e.length,t.length));for(var n=-1;++n<i;)r+=e[n]^t[n];return r}e.exports=function(e,t,r){var n,a=e.padding?e.padding:r?1:4,l=i(e),h=l.modulus.byteLength();if(t.length>h||new o(t).cmp(l.modulus)>=0)throw Error("decryption error");n=r?c(new o(t),l):s(t,l);var p=d.alloc(h-n.length);if(n=d.concat([p,n],h),4===a)return u(l,n);if(1===a)return f(l,n,r);if(3===a)return n;throw Error("unknown padding")}},3995:function(e,t,r){var i=r(9902),n=r(7223),a=r(9739),o=r(5520),s=r(6386),l=r(711),c=r(1607),d=r(7166),u=r(6911).Buffer;function f(e,t){var r=e.modulus.byteLength(),i=t.length,c=a("sha1").update(u.alloc(0)).digest(),d=c.length,f=2*d;if(i>r-f-2)throw Error("message too long");var h=u.alloc(r-i-f-2),p=r-d-1,b=n(d),m=s(u.concat([c,h,u.alloc(1,1),t],p),o(b,p)),g=s(b,o(m,d));return new l(u.concat([u.alloc(1),g,m],r))}function h(e,t,r){var i,n=t.length,a=e.modulus.byteLength();if(n>a-11)throw Error("message too long");return i=r?u.alloc(a-n-3,255):p(a-n-3),new l(u.concat([u.from([0,r?1:2]),i,u.alloc(1),t],a))}function p(e){for(var t,r=u.allocUnsafe(e),i=0,a=n(2*e),o=0;i<e;)o===a.length&&(a=n(2*e),o=0),(t=a[o++])&&(r[i++]=t);return r}e.exports=function(e,t,r){var n,a=e.padding?e.padding:r?1:4,o=i(e);if(4===a)n=f(o,t);else if(1===a)n=h(o,t,r);else if(3===a){if((n=new l(t)).cmp(o.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return r?d(n,o):c(n,o)}},1607:function(e,t,r){var i=r(711),n=r(6911).Buffer;e.exports=function(e,t){return n.from(e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed().toArray())}},6386:function(e){e.exports=function(e,t){for(var r=e.length,i=-1;++i<r;)e[i]^=t[i];return e}},7223:function(t,r,i){"use strict";var a=65536,o=0xffffffff;function s(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var l=i(6911).Buffer,c=e.g.crypto||e.g.msCrypto;function d(e,t){if(e>o)throw RangeError("requested too many random bytes");var r=l.allocUnsafe(e);if(e>0)if(e>a)for(var i=0;i<e;i+=a)c.getRandomValues(r.slice(i,i+a));else c.getRandomValues(r);return"function"==typeof t?n.default.nextTick(function(){t(null,r)}
1):r}c&&c.getRandomValues?t.exports=d:t.exports=s},6445:function(t,r,i){"use strict";function a(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=i(6911);i(7223);var s=o.Buffer,l=o.kMaxLength,c=e.g.crypto||e.g.msCrypto,d=0xffffffff;function u(e,t){if("number"!=typeof e||e!=e)throw TypeError("offset must be a number");if(e>d||e<0)throw TypeError("offset must be a uint32");if(e>l||e>t)throw RangeError("offset out of range")}function f(e,t,r){if("number"!=typeof e||e!=e)throw TypeError("size must be a number");if(e>d||e<0)throw TypeError("size must be a uint32");if(e+t>r||e>l)throw RangeError("buffer too small")}function h(t,r,i,n){if(!s.isBuffer(t)&&!(t instanceof e.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)n=r,r=0,i=t.length;else if("function"==typeof i)n=i,i=t.length-r;else if("function"!=typeof n)throw TypeError('"cb" argument must be a function');return u(r,t.length),f(i,r,t.length),p(t,r,i,n)}function p(e,t,r,i){var a=new Uint8Array(e.buffer,t,r);return(c.getRandomValues(a),i)?void n.default.nextTick(function(){i(null,e)}):e}function b(t,r,i){if(void 0===r&&(r=0),!s.isBuffer(t)&&!(t instanceof e.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return u(r,t.length),void 0===i&&(i=t.length-r),f(i,r,t.length),p(t,r,i)}c&&c.getRandomValues?(r.randomFill=h,r.randomFillSync=b):(r.randomFill=a,r.randomFillSync=a)},4646:function(e){"use strict";let t={};function r(e,r,i){function n(e,t,i){return"string"==typeof r?r:r(e,t,i)}i||(i=Error);class a extends i{constructor(e,t,r){super(n(e,t,r))}}a.prototype.name=i.name,a.prototype.code=e,t[e]=a}function i(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));{let r=e.length;return(e=e.map(e=>String(e)),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}}function n(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function a(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}function o(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){let s,l;if("string"==typeof t&&n(t,"not ")?(s="must not be",t=t.replace(/^not /,"")):s="must be",a(e," argument"))l="The ".concat(e," ").concat(s," ").concat(i(t,"type"));else{let r=o(e,".")?"property":"argument";l='The "'.concat(e,'" ').concat(r," ").concat(s," ").concat(i(t,"type"))}return l+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},2403:function(e,t,r){"use strict";var i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=r(1709),o=r(7337);r(3782)(d,a);for(var s=i(o.prototype),l=0;l<s.length;l++){var c=s[l];d.prototype[c]||(d.prototype[c]=o.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||n.default.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},7889:function(e,t,r){"use strict";e.exports=n;var i=r(1170);function n(e){if(!(this instanceof n))return new n(e);
vendor: 7,368 bytes, line 1
1i.call(this,e)}r(3782)(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},1709:function(t,r,i){"use strict";t.exports=P,P.ReadableState=A,i(2361).EventEmitter;var a,o,s,l,c,d=function(e,t){return e.listeners(t).length},u=i(4678),f=i(4300).Buffer,h=e.g.Uint8Array||function(){};function p(e){return f.from(e)}function b(e){return f.isBuffer(e)||e instanceof h}var m=i(3837);o=m&&m.debuglog?m.debuglog("stream"):function(){};var g=i(4379),v=i(7025),y=i(6776).getHighWaterMark,x=i(4646).q,w=x.ERR_INVALID_ARG_TYPE,_=x.ERR_STREAM_PUSH_AFTER_EOF,S=x.ERR_METHOD_NOT_IMPLEMENTED,M=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;i(3782)(P,u);var j=v.errorOrDestroy,k=["error","close","destroy","pause","resume"];function E(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function A(e,t,r){a=a||i(2403),e=e||{},"boolean"!=typeof r&&(r=t instanceof a),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s||(s=i(3704).s),this.decoder=new s(e.encoding),this.encoding=e.encoding)}function P(e){if(a=a||i(2403),!(this instanceof P))return new P(e);var t=this instanceof a;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function N(e,t,r,i,n){o("readableAddChunk",t);var a,s=e._readableState;if(null===t)s.reading=!1,O(e,s);else if(n||(a=I(s,t)),a)j(e,a);else if(s.objectMode||t&&t.length>0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===f.prototype||(t=p(t)),i)s.endEmitted?j(e,new M):R(e,s,t,!0);else if(s.ended)j(e,new _);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(t=s.decoder.write(t),s.objectMode||0!==t.length?R(e,s,t,!1):L(e,s)):R(e,s,t,!1)}else i||(s.reading=!1,L(e,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function R(e,t,r,i){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&D(e)),L(e,t)}function I(e,t){var r;return b(t)||"string"==typeof t||void 0===t||e.objectMode||(r=new w("chunk",["string","Buffer","Uint8Array"],t)),r}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),P.prototype.destroy=v.destroy,P.prototype._undestroy=v.undestroy,P.prototype._destroy=function(e,t){t(e)},P.prototype.push=function(e,t){var r,i=this._readableState;return i.objectMode?r=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=f.from(e,t),t=""),r=!0),N(this,e,t,!1,r)},P.prototype.unshift=function(e){return N(this,e,null,!0,!1)},P.prototype.isPaused=function(){return!1===this._readableState.flowing},P.prototype.setEncoding=function(e){s||(s=i(3704).s);var t=new s(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var C=0x40000000;function B(e){return e>=C?e=C:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function T(e,t){if(e<=0||0===t.length&&t.ended)return 0;if(t.objectMode)return 1;if(e!=e)if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length;return(e>t.highWaterMark&&(t.highWaterMark=B(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function O(e,t){if(o("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?D(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,z(e)))}}function D(e){var t=e._readableState;o("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(o("emitReadable",t.flowing),t.emittedReadable=!0,n.default.nextTick(z,e))}function z(e){var t=e._readableState;o("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,H(e)}function L(e,t){t.readingMore||(t.readingMore=!0,n.default.nextTick(q,e,t))}function q(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(o("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function F(e){return function(){var t=e._readableState;o("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&d(e,"data")&&(t.flowing=!0,H(e))}}function U(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function W(e){o("readable nexttick read 0"),e.read(0)}function V(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.default.nextTick(K,e,t))}function K(e,t){o("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;for(o("flow",t.flowing);t.flowing&&null!==e.read(););}function G(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function Z(e){var t=e._readableState;o("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.default.nextTick(J,t,e))}function J(e,t){if(o("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function Y(e,t){for(var r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return -1}P.prototype.read=function(e){o("read",e),e=parseInt(e,10);var t,r=this._readableState,i=e;if(0!==e&&(r.emittedReadable=!1),0===e&&r.needReadable&&((0!==r.highWaterMark?r.length>=r.highWaterMark:r.length>0)||r.ended))return o("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?Z(this):D(this),null;if(0===(e=T(e,r))&&r.ended)return 0===r.length&&Z(this),null;var n=r.needReadable;return o("need readable",n),(0===r.length||r.length-e<r.highWaterMark)&&o("length less than watermark",n=!0),r.ended||r.reading?o("reading or ended",n=!1):n&&(o("do read"),r.reading=!0,r.sync=!0,0===r.length&&(r.needReadable=!0),this._read(r.highWaterMark),r.sync=!1,r.reading||(e=T(i,r))),null===(t=e>0?G(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),i!==e&&r.ended&&Z(this)),null!==t&&this.emit
vendor: 14,481 bytes, line 1
1("data",t),t},P.prototype._read=function(e){j(this,new S("_read()"))},P.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,t);var a=t&&!1===t.end||e===n.default.stdout||e===n.default.stderr?g:l;function s(e,t){o("onunpipe"),e===r&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,f())}function l(){o("onend"),e.end()}i.endEmitted?n.default.nextTick(a):r.once("end",a),e.on("unpipe",s);var c=F(r);e.on("drain",c);var u=!1;function f(){o("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",p),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",h),u=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}function h(t){o("ondata");var n=e.write(t);o("dest.write",n),!1===n&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Y(i.pipes,e))&&!u&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),r.pause())}function p(t){o("onerror",t),g(),e.removeListener("error",p),0===d(e,"error")&&j(e,t)}function b(){e.removeListener("finish",m),g()}function m(){o("onfinish"),e.removeListener("close",b),g()}function g(){o("unpipe"),r.unpipe(e)}return r.on("data",h),E(e,"error",p),e.once("close",b),e.once("finish",m),e.emit("pipe",r),i.flowing||(o("pipe resume"),r.resume()),e},P.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var i=t.pipes,n=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<n;a++)i[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=Y(t.pipes,e);return -1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},P.prototype.on=function(e,t){var r=u.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"!==e||i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?D(this):i.reading||n.default.nextTick(W,this)),r},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(e,t){var r=u.prototype.removeListener.call(this,e,t);return"readable"===e&&n.default.nextTick(U,this),r},P.prototype.removeAllListeners=function(e){var t=u.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.default.nextTick(U,this),t},P.prototype.resume=function(){var e=this._readableState;return e.flowing||(o("resume"),e.flowing=!e.readableListening,V(this,e)),e.paused=!1,this},P.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},P.prototype.wrap=function(e){var t=this,r=this._readableState,i=!1;for(var n in e.on("end",function(){if(o("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(n){if(o("wrapped data"),r.decoder&&(n=r.decoder.write(n)),!r.objectMode||null!=n)(r.objectMode||n&&n.length)&&(t.push(n)||(i=!0,e.pause()))}),e)void 0===this[n]&&"function"==typeof e[n]&&(this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n));for(var a=0;a<k.length;a++)e.on(k[a],this.emit.bind(this,k[a]));return this._read=function(t){o("wrapped _read",t),i&&(i=!1,e.resume())},this},"function"==typeof Symbol&&(P.prototype[Symbol.asyncIterator]=function(){return void 0===l&&(l=i(6871)),l(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),P._fromList=G,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(P.from=function(e,t){return void 0===c&&(c=i(9727)),c(P,e,t)})},1170:function(e,t,r){"use strict";e.exports=d;var i=r(4646).q,n=i.ERR_METHOD_NOT_IMPLEMENTED,a=i.ERR_MULTIPLE_CALLBACK,o=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=i.ERR_TRANSFORM_WITH_LENGTH_0,l=r(2403);function c(e,t){var r=this._transformState;r.transforming=!1;var i=r.writecb;if(null===i)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),i(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function d(e){if(!(this instanceof d))return new d(e);l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush(function(t,r){f(e,t,r)})}function f(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new o;return e.push(null)}r(3782)(d,l),d.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},d.prototype._transform=function(e,t,r){r(new n("_transform()"))},d.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var n=this._readableState;(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}},d.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},d.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},7337:function(t,r,i){"use strict";function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){K(t,e)}}t.exports=A,A.WritableState=E;var o,s,l={deprecate:i(6769)},c=i(4678),d=i(4300).Buffer,u=e.g.Uint8Array||function(){};function f(e){return d.from(e)}function h(e){return d.isBuffer(e)||e instanceof u}var p=i(7025),b=i(6776).getHighWaterMark,m=i(4646).q,g=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,x=m.ERR_STREAM_CANNOT_PIPE,w=m.ERR_STREAM_DESTROYED,_=m.ERR_STREAM_NULL_VALUES,S=m.ERR_STREAM_WRITE_AFTER_END,M=m.ERR_UNKNOWN_ENCODING,j=p.errorOrDestroy;function k(){}function E(e,t,r){o=o||i(2403),e=e||{},"boolean"!=typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=b(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=!1===e.decodeStrings;this.decodeStrings=!n,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){O(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function A(e){var t=this instanceof(o=o||i(2403));if(!t&&!s.call(A,this))return new A(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function P(e,t){var r=new S;j(e,r),n.default.nextTick(t,r)}function N(e,t,r,i){var a;return null===r?a=new _:"string"==typeof r||t.objectMode||(a=new g("chunk",["string","Buffer"],r)),!a||(j(e,a),n.default.nextTick(i,a),!1)}function R(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,r)),t}function I(e,t,r,i,n,a){if(!r){var o=R(t,i,n);i!==o&&(r=!0,n="buffer",i=o)}var s=t.objectMode?1:i.length;t.length+=s;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:i,encoding:n,isBuf:r,callback:a,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,s,i,n,a);return l}function C(e,t,r,i,n,a,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new w("write")):r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=!1}function B(e,t,r,i,a){--t.pendingcb,r?(n.default.nextTick(a,i),n.default.nextTick(W,e,t),e._writableState.errorEmitted=!0,j(e,i)):(a(i),e._writableState.errorEmitted=!0,j(e,i),W(e,t))}function T(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function O(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if("function"!=typeof a)throw new y;if(T(r),t)B(e,r,i,t,a);else{var o=q(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||L(e,r),i?n.default.nextTick(D,e,r,o,a):D(e,r,o,a)}}function D(e,t,r,i){r||z(e,t),t.pendingcb--,i(),W(e,t)}function z(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function L(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=Array(t.bufferedRequestCount),n=t.corkedRequestsFree;n.entry=r;for(var o=0,s=!0;r;)i[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,C(e,t,!0,t.length,i,"",n.finish),t.pendingcb++,t.lastBufferedRequest=null,n.next?(t.corkedRequestsFree=n.next,n.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,c=r.encoding,d=r.callback,u=t.objectMode?1:l.length;if(C(e,t,!1,u,l,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function q(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function F(e,t){e._final(function(r){t.pendingcb--,r&&j(e,r),t.prefinished=!0,e.emit("prefinish"),W(e,t)})}function U(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.default.nextTick(F,e,t)))}function W(e,t){var r=q(t);if(r&&(U(e,t),0===t.pendingcb)&&(t.finished=!0,e.emit("finish"),t.autoDestroy)){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return r}function V(e,t,r){t.ending=!0,W(e,t),r&&(t.finished?n.default.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function K(e,t,r){var i=e.entry;for(e.entry=null;i;){var n=i.callback;t.pendingcb--,n(r),i=i.next}t.corkedRequestsFree.next=e}i(3782)(A,c),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:l.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!s.call(this,e)||this===A&&e&&e._writableState instanceof E}})):s=function(e){return e instanceof this},A.prototype.pipe=function(){j(this,new x)},A.prototype.write=function(e,t,r){var i=this._writableState,n=!1,a=!i.objectMode&&h(e);return a&&!d.isBuffer(e)&&(e=f(e)),"function"==typeof t&&(r=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=k),i.ending?P(this,r):(a||N(this,i,e,r))&&(i.pendingcb++,n=I(this,i,a,e,t,r)),n},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||L(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new M(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,r){r(new v("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,r){var i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||V(this,i,r),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=p.destroy,A.prototype._undestroy=p.undestroy,A.prototype._destroy=function(e,t){t(e)}},6871:function(e,t,r){"use strict";function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a,o=r(9698),s=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),d=Symbol("ended"),u=Symbol("lastPromise"),f=Symbol("handlePromise"),h=Symbol("stream");function p(e,t){return{value:e,done:t}}function b(e){var t=e[s];if(null!==t){var r=e[h].read();null!==r&&(e[u]=null,e[s]=null,e[l]=null,t(p(r,!1)))}}function m(e){n.default.nextTick(b,e)}function g(e,t){return function(r,i){e.then(function(){if(t[d])return void r(p(void 0,!0));t[f](r,i)},i)}}var v=Object.getPrototypeOf(function(){}
1),y=Object.setPrototypeOf((i(a={get stream(){return this[h]},next:function(){var e,t=this,r=this[c];if(null!==r)return Promise.reject(r);if(this[d])return Promise.resolve(p(void 0,!0));if(this[h].destroyed)return new Promise(function(e,r){n.default.nextTick(function(){t[c]?r(t[c]):e(p(void 0,!0))})});var i=this[u];if(i)e=new Promise(g(i,this));else{var a=this[h].read();if(null!==a)return Promise.resolve(p(a,!1));e=new Promise(this[f])}return this[u]=e,e}},Symbol.asyncIterator,function(){return this}),i(a,"return",function(){var e=this;return new Promise(function(t,r){e[h].destroy(null,function(e){if(e)return void r(e);t(p(void 0,!0))})})}),a),v);e.exports=function(e){var t,r=Object.create(y,(i(t={},h,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,l,{value:null,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,d,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var i=r[h].read();i?(r[u]=null,r[s]=null,r[l]=null,e(p(i,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[u]=null,o(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[u]=null,r[s]=null,r[l]=null,t(e)),r[c]=e;return}var i=r[s];null!==i&&(r[u]=null,r[s]=null,r[l]=null,i(p(void 0,!0))),r[d]=!0}),e.on("readable",m.bind(null,r)),r}},4379:function(e,t,r){"use strict";function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var c=r(4300).Buffer,d=r(3837).inspect,u=d&&d.custom||"inspect";function f(e,t,r){c.prototype.copy.call(e,t,r)}e.exports=function(){function e(){o(this,e),this.head=null,this.tail=null,this.length=0}return l(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t=c.allocUnsafe(e>>>0),r=this.head,i=0;r;)f(r.data,t,i),i+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,i=t.data;for(e-=i.length;t=t.next;){var n=t.data,a=e>n.length?n.length:e;if(a===n.length?i+=n:i+=n.slice(0,e),0==(e-=a)){a===n.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=n.slice(a));break}++r}return this.length-=r,i}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),r=this.head,i=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var n=r.data,a=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,a),0==(e-=a)){a===n.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=n.slice(a));break}++i}return this.length-=i,t}},{key:u,value:function(e,t){return d(this,n({},t,{depth:0,customInspect:!1}))}}]),e}()},7025:function(e){"use strict";function t(e,t){i(e,t),r(e)}function r(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,a){var o=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?a?a(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.default.nextTick(i,this,e)):n.default.nextTick(i,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!a&&e?o._writableState?o._writableState.errorEmitted?n.default.nextTick(r,o):(o._writableState.errorEmitted=!0,n.default.nextTick(t,o,e)):n.default.nextTick(t,o,e):a?(n.default.nextTick(r,o),a(e)):n.default.nextTick(r,o)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,i=e._writableState;r&&r.autoDestroy||i&&i.autoDestroy?e.destroy(t):e.emit("error",t)}}},9698:function(e,t,r){"use strict";var i=r(4646).q.ERR_STREAM_PREMATURE_CLOSE;function n(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,i=Array(r),n=0;n<r;n++)i[n]=arguments[n];e.apply(this,i)}}}function a(){}function o(e){return e.setHeader&&"function"==typeof e.abort}function s(e,t,r){if("function"==typeof t)return s(e,null,t);t||(t={}),r=n(r||a);var l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,d=function(){e.writable||f()},u=e._writableState&&e._writableState.finished,f=function(){c=!1,u=!0,l||r.call(e)},h=e._readableState&&e._readableState.endEmitted,p=function(){l=!1,h=!0,c||r.call(e)},b=function(t){r.call(e,t)},m=function(){var t;return l&&!h?(e._readableState&&e._readableState.ended||(t=new i),r.call(e,t)):c&&!u?(e._writableState&&e._writableState.ended||(t=new i),r.call(e,t)):void 0},g=function(){e.req.on("finish",f)};return o(e)?(e.on("complete",f),e.on("abort",m),e.req?g():e.on("request",g)):c&&!e._writableState&&(e.on("end",d),e.on("close",d)),e.on("end",p),e.on("finish",f),!1!==t.error&&e.on("error",b),e.on("close",m),function(){e.removeListener("complete",f),e.removeListener("abort",m),e.removeListener("request",g),e.req&&e.req.removeListener("finish",f),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",f),e.removeListener("end",p),e.removeListener("error",b),e.removeListener("close",m)}}
1e.exports=s},9727:function(e,t,r){"use strict";function i(e,t,r,i,n,a,o){try{var s=e[a](o),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(i,n)}function n(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var o=e.apply(t,r);function s(e){i(o,n,a,s,l,"next",e)}function l(e){i(o,n,a,s,l,"throw",e)}s(void 0)})}}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=r(4646).q.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){if(t&&"function"==typeof t.next)i=t;else if(t&&t[Symbol.asyncIterator])i=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])i=t[Symbol.iterator]();else throw new l("iterable",["Iterable"],t);var i,a=new e(o({objectMode:!0},r)),s=!1;function c(){return d.apply(this,arguments)}function d(){return(d=n(function*(){try{var e=yield i.next(),t=e.value;e.done?a.push(null):a.push((yield t))?c():s=!1}catch(e){a.destroy(e)}})).apply(this,arguments)}return a._read=function(){s||(s=!0,c())},a}},8442:function(e,t,r){"use strict";function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var n,a=r(4646).q,o=a.ERR_MISSING_ARGS,s=a.ERR_STREAM_DESTROYED;function l(e){if(e)throw e}function c(e){return e.setHeader&&"function"==typeof e.abort}function d(e,t,a,o){o=i(o);var l=!1;e.on("close",function(){l=!0}),void 0===n&&(n=r(9698)),n(e,{readable:t,writable:a},function(e){if(e)return o(e);l=!0,o()});var d=!1;return function(t){if(!l&&!d){if(d=!0,c(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();o(t||new s("pipe"))}}}function u(e){e()}function f(e,t){return e.pipe(t)}function h(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():l}e.exports=function(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var n=h(r);if(Array.isArray(r[0])&&(r=r[0]),r.length<2)throw new o("streams");var a=r.map(function(t,i){var o=i<r.length-1;return d(t,o,i>0,function(t){e||(e=t),t&&a.forEach(u),o||(a.forEach(u),n(e))})});return r.reduce(f)}},6776:function(e,t,r){"use strict";var i=r(4646).q.ERR_INVALID_OPT_VALUE;function n(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}e.exports={getHighWaterMark:function(e,t,r,a){var o=n(t,a,r);if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new i(a?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},4678:function(e,t,r){e.exports=r(2781)},3726:function(e,t,r){var i=r(2781);"disable"===n.default.env.READABLE_STREAM&&i?(e.exports=i.Readable,Object.assign(e.exports,i),e.exports.Stream=i):((t=e.exports=r(1709)).Stream=i||t,t.Readable=t,t.Writable=r(7337),t.Duplex=r(2403),t.Transform=r(1170),t.PassThrough=r(7889),t.finished=r(9698),t.pipeline=r(8442))},3225:function(e,t,r){"use strict";var i=r(4300).Buffer,n=r(3782),a=r(9029),o=Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],d=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e],f=[0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0];function h(){a.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0}function p(e,t){return e<<t|e>>>32-t}function b(e,t,r,i,n,a,o,s){return p(e+(t^r^i)+a+o|0,s)+n|0}function m(e,t,r,i,n,a,o,s){return p(e+(t&r|~t&i)+a+o|0,s)+n|0}function g(e,t,r,i,n,a,o,s){return p(e+((t|~r)^i)+a+o|0,s)+n|0}function v(e,t,r,i,n,a,o,s){return p(e+(t&i|r&~i)+a+o|0,s)+n|0}function y(e,t,r,i,n,a,o,s){return p(e+(t^(r|~i))+a+o|0,s)+n|0}n(h,a),h.prototype._update=function(){for(var e,t,r=o,i=0;i<16;++i)r[i]=this._block.readInt32LE(4*i);for(var n=0|this._a,a=0|this._b,h=0|this._c,x=0|this._d,w=0|this._e,_=0|this._a,S=0|this._b,M=0|this._c,j=0|this._d,k=0|this._e,E=0;E<80;E+=1)E<16?(e=b(n,a,h,x,w,r[s[E]],u[0],c[E]),t=y(_,S,M,j,k,r[l[E]],f[0],d[E])):E<32?(e=m(n,a,h,x,w,r[s[E]],u[1],c[E]),t=v(_,S,M,j,k,r[l[E]],f[1],d[E])):E<48?(e=g(n,a,h,x,w,r[s[E]],u[2],c[E]),t=g(_,S,M,j,k,r[l[E]],f[2],d[E])):E<64?(e=v(n,a,h,x,w,r[s[E]],u[3],c[E]),t=m(_,S,M,j,k,r[l[E]],f[3],d[E])):(e=y(n,a,h,x,w,r[s[E]],u[4],c[E]),t=b(_,S,M,j,k,r[l[E]],f[4],d[E])),n=w,w=x,x=p(h,10),h=a,a=e,_=k,k=j,j=p(M,10),M=S,S=t;var A=this._b+h+j|0;this._b=this._c+x+k|0,this._c=this._d+w+_|0,this._d=this._e+n+S|0,this._e=this._a+a+M|0,this._a=A},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=i.alloc?i.alloc(20):new i(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},5055:function(e,t,r){var i=r(4300),n=i.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(n.prototype),a(n,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},6911:function(e,t,r){var i=r(4300),n=i.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return n(e,t,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=i:(a(i,t),t.Buffer=o),o.prototype=Object.create(n.prototype),a(n,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return n(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var i=n(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i.SlowBuffer(e)}},2858:function(e,t,r){var i=r(6911).Buffer;function n(e,t){this._block=i.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=i.from(e,t));for(var r=this._block,n=this._blockSize,a=e.length,o=this._len,s=0;s<a;){for(var l=o%n,c=Math.min(a-s,n-l),d=0;d<c;d++)r[l+d]=e[s+d];o+=c,s+=c,o%n==0&&this._update(r)}return this._len+=a,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=0xffffffff)this._block.writeUInt32BE(r,this._blockSize-4);else{var i=(0|r)>>>0,n=(r-i)/0x100000000;this._block.writeUInt32BE(n,this._blockSize-8),this._block.writeUInt32BE(i,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},n.prototype._update=function(){throw Error("_update must be implemented by subclass")},e.exports=n},4371:function(e,t,r){var i=e.exports=function(e){var t=i[e=e.toLowerCase()];if(!t)throw Error(e+" is not supported (we accept pull requests)");return new t};i.sha=r(4018),i.sha1=r(4179),i.sha224=r(532),i.sha256=r(1843),i.sha384=r(7455),i.sha512=r(9934)},4018:function(e,t,r){var i=r(3782),n=r(2858),a=r(6911).Buffer,o=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],s=Array(80);function l(){this.init(),this._w=s,n.call(this,64,56)}function c(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}
vendor: 7,817 bytes, line 1
1function u(e,t,r,i){return 0===e?t&r|~t&i:2===e?t&r|t&i|r&i:t^r^i}i(l,n),l.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,i=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var f=0;f<80;++f){var h=~~(f/20),p=c(r)+u(h,i,n,a)+s+t[f]+o[h]|0;s=a,a=n,n=d(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},4179:function(e,t,r){var i=r(3782),n=r(2858),a=r(6911).Buffer,o=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],s=Array(80);function l(){this.init(),this._w=s,n.call(this,64,56)}function c(e){return e<<1|e>>>31}function d(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function f(e,t,r,i){return 0===e?t&r|~t&i:2===e?t&r|t&i|r&i:t^r^i}i(l,n),l.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,i=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=c(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var h=0;h<80;++h){var p=~~(h/20),b=d(r)+f(p,i,n,a)+s+t[h]+o[p]|0;s=a,a=n,n=u(i),i=r,r=b}this._a=r+this._a|0,this._b=i+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=a.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},532:function(e,t,r){var i=r(3782),n=r(1843),a=r(2858),o=r(6911).Buffer,s=Array(64);function l(){this.init(),this._w=s,a.call(this,64,56)}i(l,n),l.prototype.init=function(){return this._a=0xc1059ed8,this._b=0x367cd507,this._c=0x3070dd17,this._d=0xf70e5939,this._e=0xffc00b31,this._f=0x68581511,this._g=0x64f98fa7,this._h=0xbefa4fa4,this},l.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},1843:function(e,t,r){var i=r(3782),n=r(2858),a=r(6911).Buffer,o=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],s=Array(64);function l(){this.init(),this._w=s,n.call(this,64,56)}function c(e,t,r){return r^e&(t^r)}function d(e,t,r){return e&t|r&(e|t)}function u(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function f(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}i(l,n),l.prototype.init=function(){return this._a=0x6a09e667,this._b=0xbb67ae85,this._c=0x3c6ef372,this._d=0xa54ff53a,this._e=0x510e527f,this._f=0x9b05688c,this._g=0x1f83d9ab,this._h=0x5be0cd19,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,i=0|this._b,n=0|this._c,a=0|this._d,s=0|this._e,l=0|this._f,b=0|this._g,m=0|this._h,g=0;g<16;++g)t[g]=e.readInt32BE(4*g);for(;g<64;++g)t[g]=p(t[g-2])+t[g-7]+h(t[g-15])+t[g-16]|0;for(var v=0;v<64;++v){var y=m+f(s)+c(s,l,b)+o[v]+t[v]|0,x=u(r)+d(r,i,n)|0;m=b,b=l,l=s,s=a+y|0,a=n,n=i,i=r,r=y+x|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=n+this._c|0,this._d=a+this._d|0,this._e=s+this._e|0,this._f=l+this._f|0,this._g=b+this._g|0,this._h=m+this._h|0},l.prototype._hash=function(){var e=a.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},7455:function(e,t,r){var i=r(3782),n=r(9934),a=r(2858),o=r(6911).Buffer,s=Array(160);function l(){this.init(),this._w=s,a.call(this,128,112)}i(l,n),l.prototype.init=function(){return this._ah=0xcbbb9d5d,this._bh=0x629a292a,this._ch=0x9159015a,this._dh=0x152fecd8,this._eh=0x67332667,this._fh=0x8eb44a87,this._gh=0xdb0c2e0d,this._hh=0x47b5481d,this._al=0xc1059ed8,this._bl=0x367cd507,this._cl=0x3070dd17,this._dl=0xf70e5939,this._el=0xffc00b31,this._fl=0x68581511,this._gl=0x64f98fa7,this._hl=0xbefa4fa4,this},l.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,i){e.writeInt32BE(t,i),e.writeInt32BE(r,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},9934:function(e,t,r){var i=r(3782),n=r(2858),a=r(6911).Buffer,o=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817],s=Array(160);function l(){this.init(),this._w=s,n.call(this,128,112)}function c(e,t,r){return r^e&(t^r)}function d(e,t,r){return e&t|r&(e|t)}function u(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function f(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return+(e>>>0<t>>>0)}
vendor: 6,027 bytes, line 1
1i(l,n),l.prototype.init=function(){return this._ah=0x6a09e667,this._bh=0xbb67ae85,this._ch=0x3c6ef372,this._dh=0xa54ff53a,this._eh=0x510e527f,this._fh=0x9b05688c,this._gh=0x1f83d9ab,this._hh=0x5be0cd19,this._al=0xf3bcc908,this._bl=0x84caa73b,this._cl=0xfe94f82b,this._dl=0x5f1d36f1,this._el=0xade682d1,this._fl=0x2b3e6c1f,this._gl=0xfb41bd6b,this._hl=0x137e2179,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,i=0|this._bh,n=0|this._ch,a=0|this._dh,s=0|this._eh,l=0|this._fh,v=0|this._gh,y=0|this._hh,x=0|this._al,w=0|this._bl,_=0|this._cl,S=0|this._dl,M=0|this._el,j=0|this._fl,k=0|this._gl,E=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var P=t[A-30],N=t[A-30+1],R=h(P,N),I=p(N,P),C=b(P=t[A-4],N=t[A-4+1]),B=m(N,P),T=t[A-14],O=t[A-14+1],D=t[A-32],z=t[A-32+1],L=I+O|0,q=R+T+g(L,I)|0;q=(q=q+C+g(L=L+B|0,B)|0)+D+g(L=L+z|0,z)|0,t[A]=q,t[A+1]=L}for(var F=0;F<160;F+=2){q=t[F],L=t[F+1];var U=d(r,i,n),W=d(x,w,_),V=u(r,x),K=u(x,r),H=f(s,M),G=f(M,s),Z=o[F],J=o[F+1],Y=c(s,l,v),X=c(M,j,k),$=E+G|0,Q=y+H+g($,E)|0;Q=(Q=(Q=Q+Y+g($=$+X|0,X)|0)+Z+g($=$+J|0,J)|0)+q+g($=$+L|0,L)|0;var ee=K+W|0,et=V+U+g(ee,K)|0;y=v,E=k,v=l,k=j,l=s,j=M,s=a+Q+g(M=S+$|0,S)|0,a=n,S=_,n=i,_=w,i=r,w=x,r=Q+et+g(x=$+ee|0,$)|0}this._al=this._al+x|0,this._bl=this._bl+w|0,this._cl=this._cl+_|0,this._dl=this._dl+S|0,this._el=this._el+M|0,this._fl=this._fl+j|0,this._gl=this._gl+k|0,this._hl=this._hl+E|0,this._ah=this._ah+r+g(this._al,x)|0,this._bh=this._bh+i+g(this._bl,w)|0,this._ch=this._ch+n+g(this._cl,_)|0,this._dh=this._dh+a+g(this._dl,S)|0,this._eh=this._eh+s+g(this._el,M)|0,this._fh=this._fh+l+g(this._fl,j)|0,this._gh=this._gh+v+g(this._gl,k)|0,this._hh=this._hh+y+g(this._hl,E)|0},l.prototype._hash=function(){var e=a.allocUnsafe(64);function t(t,r,i){e.writeInt32BE(t,i),e.writeInt32BE(r,i+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},3704:function(e,t,r){"use strict";var i=r(5055).Buffer,n=i.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=a(e);if("string"!=typeof t&&(i.isEncoding===n||!n(e)))throw Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=o(e),this.encoding){case"utf16le":this.text=p,this.end=b,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=m,this.end=g,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(t)}function l(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function c(e,t,r){var i=t.length-1;if(i<r)return 0;var n=l(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||-2===n?0:(n=l(t[i]))>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||-2===n?0:(n=l(t[i]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}function d(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function u(e){var t=this.lastTotal-this.lastNeed,r=d(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function f(e,t){var r=c(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function p(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function b(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function m(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.s=s,s.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=h,s.prototype.text=f,s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6769:function(t){function r(t){try{if(!e.g.localStorage)return!1}catch(e){return!1}var r=e.g.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function e(e,t){if(r("noDeprecation"))return e;var i=!1;return function(){if(!i){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),i=!0}return e.apply(this,arguments)}}},4300:function(t){"use strict";
1t.exports=e.r(57960)},6113:function(t){"use strict";t.exports=e.r(86914)},2361:function(t){"use strict";t.exports=e.r(19298)},2781:function(t){"use strict";t.exports=e.r(12569)},1576:function(t){"use strict";t.exports=e.r(19049)},3837:function(t){"use strict";t.exports=e.r(77398)},6144:function(t){"use strict";t.exports=e.r(13385)},5866:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2908:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},9267:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},7992:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
107b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},2531:function(e){"use strict";e.exports={i8:"6.5.3"}},2510:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={id:e,loaded:!1,exports:{}},n=!0;try{r[e].call(i.exports,i,i.exports,o),n=!1}finally{n&&delete a[e]}return i.loaded=!0,i.exports}!function(){o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),o.ab="/ROOT/node_modules/next/dist/compiled/crypto-browserify/";var s={};!function(){"use strict";var e=s;e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=o(7223),e.createHash=e.Hash=o(9739),e.createHmac=e.Hmac=o(4873);var t=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(o(9276)));e.getHashes=function(){return t};var r=o(4978);e.pbkdf2=r.pbkdf2,e.pbkdf2Sync=r.pbkdf2Sync;var i=o(8996);e.Cipher=i.Cipher,e.createCipher=i.createCipher,e.Cipheriv=i.Cipheriv,e.createCipheriv=i.createCipheriv,e.Decipher=i.Decipher,e.createDecipher=i.createDecipher,e.Decipheriv=i.Decipheriv,e.createDecipheriv=i.createDecipheriv,e.getCiphers=i.getCiphers,e.listCiphers=i.listCiphers;var n=o(6587);e.DiffieHellmanGroup=n.DiffieHellmanGroup,e.createDiffieHellmanGroup=n.createDiffieHellmanGroup,e.getDiffieHellman=n.getDiffieHellman,e.createDiffieHellman=n.createDiffieHellman,e.DiffieHellman=n.DiffieHellman;var a=o(4078);e.createSign=a.createSign,e.Sign=a.Sign,e.createVerify=a.createVerify,e.Verify=a.Verify,e.createECDH=o(9942);var l=o(9783);e.publicEncrypt=l.publicEncrypt,e.privateEncrypt=l.privateEncrypt,e.publicDecrypt=l.publicDecrypt,e.privateDecrypt=l.privateDecrypt;var c=o(6445);e.randomFill=c.randomFill,e.randomFillSync=c.randomFillSync,e.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}(),t.exports=s}()},13642,32173,13170,52185,32361,41345,26350,44971,e=>{"use strict";e.s(["default",()=>o],13642);var t=e.i(43476),r=e.i(57688),i=e.i(22016),n=e.i(12995),a=e.i(26677);function o(){return(0,t.jsx)("footer",{className:"bg-[url('/images/footer-bg.png')] bg-center bg-cover py-0 md:py-16",children:(0,t.jsxs)("div",{className:"container flex flex-col-reverse justify-between px-6 py-10 mx-auto
1space-y-8 md:flex-row md:space-y-0 ",children:[(0,t.jsxs)("div",{className:"flex flex-col-reverse items-center justify-between space-y-12 md:flex-col md:space-y-0 md:items-start gap-4",children:[(0,t.jsx)("div",{className:"mx-auto mt-6 text-center text-white md:hidden",children:"Copyright © 2023, All Rights Reserved"}),(0,t.jsx)("div",{className:"mx-auto my-0 text-center text-white md:hidden",children:"Registro Sanitario Nº C-15-004815"}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)(r.default,{src:"/logo_centro_clinico.png",width:100,height:100,alt:""})}),(0,t.jsx)("div",{className:"w-full flex justify-center space-x-4",children:n.media.map(e=>(0,t.jsx)(i.default,{href:e.href,rel:"no_follow",target:"_blank",children:(0,t.jsx)(r.default,{className:"mt-4",src:e.img,alt:"",width:30,height:30})},e.name))})]}),(0,t.jsx)("div",{className:" flex justify-center w-1/2 h-[140px] mx-auto relative py-4 md:hidden",children:(0,t.jsx)(r.default,{src:"/cartel_xunta.png",fill:!0,alt:""})}),(0,t.jsxs)("div",{className:"flex mt-4 justify-around space-x-32",children:[(0,t.jsx)("div",{className:"flex flex-col space-y-3 text-white",children:n.navigation.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"font-normal hover:text-hooverLink text-white",children:e.name},e.name))}),(0,t.jsx)("div",{className:"flex flex-col space-y-3 text-white",children:n.navigation_two.map(e=>(0,t.jsx)(i.default,{href:e.href,className:"font-normal hover:text-hooverLink text-white",children:e.name},e.name))})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,t.jsx)(a.default,{}),(0,t.jsx)("div",{className:" hidden w-2/3 md:flex flex-row relative h-[150px] justify-center my-6 mx-auto",children:(0,t.jsx)(r.default,{src:"/cartel_xunta.png",fill:!0,alt:"",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"})}),(0,t.jsx)("div",{className:"hidden text-white mt-auto md:block text-center",children:"Registro Sanitario Nº C-15-004815"}),(0,t.jsx)("div",{className:"hidden text-white md:block text-center",children:"Copyright © 2023, All Rights Reserved"})]})]})})}e.s(["default",()=>l],32173);var s=t;function l(){return(0,s.jsx)("div",{className:"w-full h-40"})}e.s(["default",()=>f],13170);var c=t,d=r,u=e.i(86914);let f=e=>{let{data:t,img:r,bg:i}=e;return(0,c.jsxs)("div",{className:"flex flex-col md:flex-row justify-center gap-4 py-10 px-4 rounded-lg shadow-md ".concat(i&&" bg-primaryExtraLight"),children:[(0,c.jsx)("div",{className:"relative h-80 w-96",children:(0,c.jsx)(d.default,{src:r,alt:"",fill:!0,style:{objectFit:"cover"},className:"rounded-lg"})}),(0,c.jsx)("ul",{className:" pl-10 flex flex-col justify-center w-full md:w-2/3 list-disc",children:t.map(e=>(0,c.jsx)("li",{className:"text-black font-normal text-xl py-4 pl-4",children:e},(0,u.randomUUID)()))})]})};e.s(["default",()=>v],52185);var h=t,p=e.i(54603);e.i(36180);var b=e.i(98925);let m=(0,b.getFirestore)(p.default),g=async(e,t)=>{await (0,b.deleteDoc)((0,b.doc)(m,e,t))},v=e=>{let{date:t,select:r,desc:i,name:n,phone:a,setShowDetails:o,id:s}=e,l=async e=>{o(!1),await g("appoinments",e),window.location.reload()};return(0,h.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0 flex justify-center items-center glass",children:(0,h.jsxs)("div",{className:"h-[600px] w-[600px] p-4 border border-footerBg rounded-2xl bg-white flex flex-col",children:[(0,h.jsxs)("div",{className:"flex justify-between mb-10",children:[(0,h.jsx)("button",{className:"py-1 px-4 bg-redText text-white font-medium text-lg rounded-xl",onClick:()=>l(s),children:"Eliminar"}),(0,h.jsx)("button",{className:"py-1 px-4 bg-primaryLight text-white font-medium text-lg rounded-xl",onClick:()=>o(!1),children:"Cerrar"})]}),(0,h.jsxs)("div",{className:" flex flex-col gap-2 py-2 px-4",children:[(0,h.jsxs)("h1",{className:"text-lg",children:[" ","Nombre: ",(0,h.jsx)("span",{className:"text-footerBg",children:n})]}),(0,h.jsxs)("p",{className:"text-lg",children:["Telf: ",(0,h.jsx)("span",{className:"text-footerBg",children:a})]}),(0,h.jsxs)("p",{className:"text-lg",children:["Fecha: ",(0,h.jsx)("span",{className:"text-footerBg",children:t})]}),(0,h.jsxs)("p",{className:"text-lg",children:["Motivo: ",(0,h.jsx)("span",{className:"text-footerBg",children:i})]}),(0,h.jsxs)("p",{className:"text-lg",children:["Tipo de consulta:"," ",(0,h.jsx)("span",{className:"text-footerBg",children:"eco"===r?"EcografÃa":"maxilo"===r?"Maxilo-facial":"OdontologÃa"})]})]}),(0,h.jsx)("div",{className:"self-end mt-auto"})]})})};e.s(["default",()=>_],32361);var y=t,x=i,w=e.i(13096);let _=e=>{let{href:t,title:r}=e;return(0,y.jsxs)(x.default,{href:t,className:"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-white hover:text-primary bg-primary rounded-4xl hover:bg-primaryExtraLight focus:ring-4 focus:ring-blue-300",children:[r,(0,y.jsx)(w.CursorArrowRaysIcon,{width:24,height:24,className:"ms-2 hover:bg-primary"})]})};e.s(["default",()=>
1k],41345);var S=t;e.i(33999);var M=e.i(73734),M=M,j=r;let k=()=>(0,S.jsxs)("div",{className:" flex justify-center items-strech flex-col lg:flex-row gap-4 max-w-7xl mx-auto",children:[(0,S.jsx)("div",{className:"w-full lg:w-xl bg-primary rounded-2xl",children:(0,S.jsx)(M.default,{})}),(0,S.jsxs)("div",{className:"w-full relative h-[400px] lg:h-auto lg:w-3xl flex justify-center items-center rounded-x rounded-2xl overflow-hidden",children:[(0,S.jsx)(j.default,{src:"/appointment/appointment.png",alt:"imagen de cita previa",fill:!0,className:"object-cover object-left"}),(0,S.jsx)("div",{className:"absolute top-0 right-0 left-0 bottom-0 bg-radial-[at_15%_15%] to-65% from-transparent to-[rgba(0_0_0/0.85)] z-10"}),(0,S.jsxs)("div",{className:"absolute top-0 right-0 left-0 bottom-0 z-30 flex flex-col justify-end items-center px-10 lg:px-20 pb-4",children:[(0,S.jsxs)("h4",{className:"text-lg text-center mb-8 text-white bg-clip-text",children:["Con el objetivo de establecer"," ",(0,S.jsx)("span",{className:"font-bold",children:"vÃas de colaboración con otros profesionales sanitarios"}),", ponemos a tu disposición:"]}),(0,S.jsx)("p",{className:"text-md text-center text-white",children:"EcografÃas diagnósticas con disponibilidad inmediata, y entrega de informe en el mismo dÃa."}),(0,S.jsx)("p",{className:"text-lg font-semibold text-center text-white",children:"Horario de Lunes a Viernes: 09:00 a 14:00 - 16:00 a 19:00"})]})]})]});e.s(["default",()=>C],44971);var E=t;e.s(["CheckBadgeIcon",()=>N],26350);var A=e.i(71645);function P(e,t){let{title:r,titleId:i,...n}=e;return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?A.createElement("title",{id:i},r):null,A.createElement("path",{fillRule:"evenodd",d:"M8.603 3.799A4.49 4.49 0 0 1 12 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 0 1 3.498 1.307 4.491 4.491 0 0 1 1.307 3.497A4.49 4.49 0 0 1 21.75 12a4.49 4.49 0 0 1-1.549 3.397 4.491 4.491 0 0 1-1.307 3.497 4.491 4.491 0 0 1-3.497 1.307A4.49 4.49 0 0 1 12 21.75a4.49 4.49 0 0 1-3.397-1.549 4.49 4.49 0 0 1-3.498-1.306 4.491 4.491 0 0 1-1.307-3.498A4.49 4.49 0 0 1 2.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 0 1 1.307-3.497 4.49 4.49 0 0 1 3.497-1.307Zm7.007 6.387a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"}))}let N=A.forwardRef(P);var R=n,I=r;let C=()=>(0,E.jsxs)("section",{className:"min-h-[600px] flex flex-col py-12 max-w-[86rem] mx-auto mt-12",children:[(0,E.jsxs)("div",{className:"px-6 lg:px-0",children:[(0,E.jsx)("h2",{className:"text-3xl font-bold text-center text-black",children:R.firstSectionData.title}),(0,E.jsx)("p",{className:"text-center text-gray-600 mt-4 max-w-2xl mx-auto",children:R.firstSectionData.subtitle})]}),(0,E.jsxs)("div",{className:"flex-grow flex flex-col-reverse md:flex-row md:gap-8 items-center justify-center md:px-12 mt-12",children:[(0,E.jsxs)("article",{className:"p-8 flex flex-col pr-12",children:[(0,E.jsx)("h4",{className:"text-primary text-xl font-semibold py-6",children:R.firstSectionData.title2}),(0,E.jsx)("h2",{className:"text-black text-2xl font-semibold",children:R.firstSectionData.subtitle2}),(0,E.jsx)("ul",{className:"flex flex-col gap-4 mt-14 text-gray-700 text-lg",children:R.firstSectionData.ul.map((e,t)=>(0,E.jsxs)("li",{className:"text-md flex",children:[(0,E.jsx)(N,{className:"w-6 h-6 text-primary inline-block me-2"}),(0,E.jsx)("p",{children:e})]},t))})]}),(0,E.jsx)("article",{className:"relative w-full md:w-2/3 h-[500px]",children:(0,E.jsx)(I.default,{fill:!0,src:"/section/first.png",alt:"imagen de los servicios-medicos",className:"object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"})})]})]})},32484,e=>{"use strict";e.s(["default",()=>d],32484);var t=e.i(43476),r=e.i(71645);function i(e,t){let{title:i,titleId:n,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},a),i?r.createElement("title",{id:n},i):null,r.createElement("path",{d:"M12 11.993a.75.75 0 0 0-.75.75v.006c0 .414.336.75.75.75h.006a.75.75 0 0 0 .75-.75v-.006a.75.75 0 0 0-.75-.75H12ZM12 16.494a.75.75 0 0 0-.75.75v.005c0 .414.335.75.75.75h.005a.75.75 0 0 0 .75-.75v-.005a.75.75 0 0 0-.75-.75H12ZM8.999 17.244a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.006a.75.75 0 0 1-.75.75h-.006a.75.75 0 0 1-.75-.75v-.006ZM7.499 16.494a.75.75 0 0 0-.75.75v.005c0 .414.336.75.75.75h.005a.75.75 0 0 0 .75-.75v-.005a.75.75 0 0 0-.75-.75H7.5ZM13.499 14.997a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.005a.75.75 0 0 1-.75.75h-.006a.75.75 0 0 1-.75-.75v-.005ZM14.25 16.494a.75.75 0 0 0-.75.75v.006c0 .414.335.75.75.75h.005a.75.75 0 0 0 .75-.75v-.006a.75.75 0 0 0-.75-.75h-.005ZM15.75 14.995a.75.75 0 0 1 .75-.75h.005a.75.75 0 0 1 .75.75v.006a.75.75 0 0 1-.75.75H16.5a.75.75 0 0 1-.75-.75v-.006ZM13.498 12.743a.75.75 0 0 1 .75-.75h2.25a.75.75 0 1 1 0 1.5h-2.25a.75.75 0 0 1-.75-.75ZM6.748 14.993a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"}),r.createElement("path",{fillRule:"evenodd",d:"M18 2.993a.75.75 0 0 0-1.5 0v1.5h-9V2.994a.75.75 0 1 0-1.5 0v1.497h-.752a3 3 0 0 0-3 3v11.252a3 3 0 0 0 3 3h13.5a3 3 0 0 0 3-3V7.492a3 3 0 0 0-3-3H18V2.993ZM3.748 18.743v-7.5a1.5 1.5 0 0 1 1.5-1.5h13.5a1.5 1.5 0 0 1 1.5 1.5v7.5a1.5 1.5 0 0 1-1.5 1.5h-13.5a1.5 1.5 0 0 1-1.5-1.5Z",clipRule:"evenodd"}))}let n=r.forwardRef(i);var a=r;function o(e,t){let{title:r,titleId:i,...n}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},n),r?a.createElement("title",{id:i},r):null,a.createElement("path",{fillRule:"evenodd",d:"M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z",clipRule:"evenodd"}))}let s=a.forwardRef(o);var l=e.i(22016),c=r;let d=()=>{let[e,r]=(0,c.useState)(!0),[i,a]=(0,c.useState)(!0);return(0,c.useEffect)(()=>{let e=setTimeout(()=>{r(!1),a(!1)},4e3);return()=>clearTimeout(e)},[]),(0,t.jsxs)("div",{className:"fixed bottom-40 right-0 z-50 w-60 h-28",children:[(0,t.jsxs)("div",{className:"absolute top-0 bg-primary gap-4 h-12 p-4 text-white rounded-bl-4xl rounded-tl-4xl text-lg tracking-wider flex items-center cursor-pointer transition-all duration-300 ".concat(e?"-right-0":"-right-38"," overflow-hidden"),children:[(0,t.jsx)(n,{width:42,height:42,color:"#fff",onClick:()=>r(e=>!e)}),(0,t.jsx)(l.default,{href:"/#form",className:"flex items-center gap-4 w-full",children:"Pide tu cita!"})]}),(0,t.jsxs)("div",{className:"absolute bottom-0 bg-primary gap-4 h-12 p-4 text-white rounded-bl-4xl rounded-tl-4xl text-lg tracking-wider flex items-center cursor-pointer transition-all duration-300 ".concat(i?"-right-0":"-right-38"," overflow-hidden"),children:[(0,t.jsx)(s,{width:32,height:32,color:"#fff",onClick:()=>a(e=>!e)}),(0,t.jsxs)(l.default,{href:"tel:981356023",className:"flex items-center gap-4 w-full group",children:[(0,t.jsx)("span",{className:"inline group-hover:hidden",children:"LLama ahora"}),(0,t.jsx)("span",{className:"hidden group-hover:inline",children:" 981356023 "})]})]})]})}},25636,e=>{"use strict";e.s(["default",()=>a],25636);var t=e.i(43476),r=e.i(71645);function i(e,t){let{title:i,titleId:n,...a}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},a),i?r.createElement("title",{id:n},i):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}let n=r.forwardRef(i),a=()=>(0,t.jsx)("div",{className:"fixed shadow-2xl z-50 bottom-10 left-5 p-1 bg-[#CC3838] rounded-full cursor-pointer transition-transform duration-300 hover:scale-110",children:(0,t.jsx)(n,{className:"block","aria-hidden":"true",color:"#fff",width:32,height:32})})},54097,e=>{"use strict";e.s(["default",()=>et],54097);var t=e.i(43476),r=e.i(12995),i=e.i(35889),n=e.i(84898),a=e.i(79754),o=(0,n.tv)({base:["relative inline-flex items-center outline-solid outline-transparent tap-highlight-transparent",...a.dataFocusVisibleClasses],variants:{size:{sm:"text-small",md:"text-medium",lg:"text-large"},color:{foreground:"text-foreground",primary:"text-primary",secondary:"text-secondary",success:"text-success",warning:"text-warning",danger:"text-danger"},underline:{none:"no-underline",hover:"hover:underline",always:"underline",active:"active:underline",focu
1s:"focus:underline"},isBlock:{true:["px-2","py-1","hover:after:opacity-100","after:content-['']","after:inset-0","after:opacity-0","after:w-full","after:h-full","after:rounded-xl","after:transition-background","after:absolute"],false:"hover:opacity-hover active:opacity-disabled transition-opacity"},isDisabled:{true:"opacity-disabled cursor-default pointer-events-none"},disableAnimation:{true:"after:transition-none transition-none"}},compoundVariants:[{isBlock:!0,color:"foreground",class:"hover:after:bg-foreground/10"},{isBlock:!0,color:"primary",class:"hover:after:bg-primary/20"},{isBlock:!0,color:"secondary",class:"hover:after:bg-secondary/20"},{isBlock:!0,color:"success",class:"hover:after:bg-success/20"},{isBlock:!0,color:"warning",class:"hover:after:bg-warning/20"},{isBlock:!0,color:"danger",class:"hover:after:bg-danger/20"},{underline:["hover","always","active","focus"],class:"underline-offset-4"}],defaultVariants:{color:"primary",size:"md",isBlock:!1,underline:"none",isDisabled:!1}}),s="flex mx-1 text-current self-center",l=e.i(69080),c=e.i(50179),d=e.i(11458),u=e.i(49962),f=e.i(43027);function h(e,t){let{elementType:r="a",onPress:i,onPressStart:n,onPressEnd:a,onClick:o,isDisabled:s,...h}=e,p={};"a"!==r&&(p={role:"link",tabIndex:s?void 0:0});let{focusableProps:b}=(0,u.useFocusable)(e,t),{pressProps:m,isPressed:g}=(0,f.usePress)({onClick:o,onPress:i,onPressStart:n,onPressEnd:a,isDisabled:s,ref:t}),v=(0,l.filterDOMProps)(h,{labelable:!0,isLink:"a"===r}),y=(0,c.mergeProps)(b,m),x=(0,d.useRouter)(),w=(0,d.useLinkProps)(e);return{isPressed:g,linkProps:(0,c.mergeProps)(v,w,{...y,...p,"aria-disabled":s||void 0,"aria-current":e["aria-current"],onClick:t=>{var r;null==(r=m.onClick)||r.call(m,t),(0,d.handleLinkClick)(t,x,e.href,e.routerOptions)}})}}var p=e.i(73830),b=e.i(95494),m=e.i(20253),g=e.i(29427),v=e.i(75540),y=e.i(71645);function x(e){var t,r,i,n;let a=(0,b.useProviderContext)(),[s,l]=(0,p.mapPropsVariants)(e,o.variantKeys),{ref:c,as:d,children:u,anchorIcon:f,isExternal:x=!1,showAnchorIcon:w=!1,autoFocus:_=!1,className:S,onPress:M,onPressStart:j,onPressEnd:k,onClick:E,...A}=s,P=d||"a",N=(0,m.useDOMRef)(c),R=null!=(r=null!=(t=null==e?void 0:e.disableAnimation)?t:null==a?void 0:a.disableAnimation)&&r,{linkProps:I}=h({...A,onPress:M,onPressStart:j,onPressEnd:k,onClick:E,isDisabled:e.isDisabled,elementType:"".concat(d)},N),{isFocused:C,isFocusVisible:B,focusProps:T}=(0,g.useFocusRing)({autoFocus:_});x&&(A.rel=null!=(i=A.rel)?i:"noopener noreferrer",A.target=null!=(n=A.target)?n:"_blank");let O=(0,y.useMemo)(()=>o({...l,disableAnimation:R,className:S}),[(0,v.objectToDeps)(l),R,S]);return{Component:P,children:u,anchorIcon:f,showAnchorIcon:w,getLinkProps:(0,y.useCallback)(()=>({ref:N,className:O,"data-focus":(0,v.dataAttr)(C),"data-disabled":(0,v.dataAttr)(e.isDisabled),"data-focus-visible":(0,v.dataAttr)(B),...(0,v.mergeProps)(T,I,A)}),[O,C,B,T,I,A])}}var w=t,_=e=>
1(0,w.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,w.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,w.jsx)("path",{d:"M15 3h6v6"}),(0,w.jsx)("path",{d:"M10 14L21 3"})]}),S=t,M=(0,p.forwardRef)((e,t)=>{let{Component:r,children:i,showAnchorIcon:n,anchorIcon:a=(0,S.jsx)(_,{className:s}),getLinkProps:o}=x({ref:t,...e});return(0,S.jsx)(r,{...o(),children:(0,S.jsxs)(S.Fragment,{children:[i,n&&a]})})});M.displayName="HeroUI.Link";var j=M,k=y,E=p,A=b,P=v;function N(e,t){if(null!=e){if((0,P.isFunction)(e))return void e(t);try{e.current=t}catch(r){throw Error("Cannot assign value '".concat(t,"' to ref '").concat(e,"'"))}}}function R(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach(t=>N(t,e))}}var I=e.i(55483),C=e.i(71330),B=a,T=(0,n.tv)({slots:{base:"group relative max-w-fit inline-flex items-center justify-start cursor-pointer touch-none tap-highlight-transparent select-none",wrapper:["px-1","relative","inline-flex","items-center","justify-start","shrink-0","overflow-hidden","bg-default-200","rounded-full",...B.groupDataFocusVisibleClasses],thumb:["z-10","flex","items-center","justify-center","bg-white","shadow-small","rounded-full","origin-right","pointer-events-none"],hiddenInput:B.hiddenInputClasses,startContent:"z-0 absolute start-1.5 text-current",endContent:"z-0 absolute end-1.5 text-default-600",thumbIcon:"text-black",label:"relative text-foreground select-none ms-2"},variants:{color:{default:{wrapper:["group-data-[selected=true]:bg-default-400","group-data-[selected=true]:text-default-foreground"]},primary:{wrapper:["group-data-[selected=true]:bg-primary","group-data-[selected=true]:text-primary-foreground"]},secondary:{wrapper:["group-data-[selected=true]:bg-secondary","group-data-[selected=true]:text-secondary-foreground"]},success:{wrapper:["group-data-[selected=true]:bg-success","group-data-[selected=true]:text-success-foreground"]},warning:{wrapper:["group-data-[selected=true]:bg-warning","group-data-[selected=true]:text-warning-foreground"]},danger:{wrapper:["group-data-[selected=true]:bg-danger","data-[selected=true]:text-danger-foreground"]}},size:{sm:{wrapper:"w-10 h-6",thumb:["w-4 h-4 text-tiny","group-data-[selected=true]:ms-4"],endContent:"text-tiny",startContent:"text-tiny",label:"text-small"},md:{wrapper:"w-12 h-7",thumb:["w-5 h-5 text-small","group-data-[selected=true]:ms-5"],endContent:"text-small",startContent:"text-small",label:"text-medium"},lg:{wrapper:"w-14 h-8",thumb:["w-6 h-6 text-medium","group-data-[selected=true]:ms-6"],endContent:"text-medium",startContent:"text-medium",label:"text-large"}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{wrapper:"transition-none",thumb:"transition-none"},false:{wrapper:"transition-background",thumb:"transition-all",startContent:["opacity-0","scale-50","transition-transform-opacity","group-data-[selected=true]:scale-100","group-data-[selected=true]:opacity-100"],endContent:["opacity-100","transition-transform-opacity","group-data-[selected=true]:translate-x-3","group-data-[selected=true]:opacity-0"]}}},defaultVariants:{color:"primary",size:"md",isDisabled:!1},compoundVariants:[{disableAnimation:!1,size:"sm",class:{thumb:["group-data-[pressed=true]:w-5","group-data-[selected]:group-data-[pressed]:ml-3"]}},{disableAnimation:!1,size:"md",class:{thumb:["group-data-[pressed=true]:w-6","group-data-[selected]:group-data-[pressed]:ml-4"]}},{disableAnimation:!1,size:"lg",class:{thumb:["group-data-[pressed=true]:w-7","group-data-[selected]:group-data-[pressed]:ml-5"]}}]}),O=v;e.i(47167);var D=c,z=l,L=e.i(14279),q=f,F=u;function U(e,t,r){let{isDisabled:i=!1,isReadOnly:n=!1,value:a,name:o,form:s,children:l,"aria-label":c,"aria-labelledby":d,validationState:u="valid",isInvalid:f,onPressStart:h,onPressEnd:p,onPressChange:b,onPress:m,onPressUp:g,onClick:v}=e,y=e=>{e.stopPropagation(),t.setSelected(e.target.checked)},{pressProps:x,isPressed:w}=(0,q.usePress)({onPressStart:h,onPressEnd:p,onPressChange:b,onPress:m,onPressUp:g,onClick:v,isDisabled:i}),{pressProps:_,isPressed:S}=(0,q.usePress)({onPressStart:h,onPressEnd:p,onPressChange:b,onPressUp:g,onClick:v,onPress(e){var i;
1null==m||m(e),t.toggle(),null==(i=r.current)||i.focus()},isDisabled:i||n}),{focusableProps:M}=(0,F.useFocusable)(e,r),j=(0,D.mergeProps)(x,M),k=(0,z.filterDOMProps)(e,{labelable:!0});return(0,L.useFormReset)(r,t.defaultSelected,t.setSelected),{labelProps:(0,D.mergeProps)(_,{onClick:e=>e.preventDefault()}),inputProps:(0,D.mergeProps)(k,{"aria-invalid":f||"invalid"===u||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":n||void 0,onChange:y,disabled:i,...null==a?{}:{value:a},name:o,form:s,type:"checkbox",...j}),isSelected:t.isSelected,isPressed:w||S,isDisabled:i,isReadOnly:n,isInvalid:f||"invalid"===u}}function W(e,t,r){let{labelProps:i,inputProps:n,isSelected:a,isPressed:o,isDisabled:s,isReadOnly:l}=U(e,t,r);return{labelProps:i,inputProps:{...n,role:"switch",checked:a},isSelected:a,isPressed:o,isDisabled:s,isReadOnly:l}}var V=e.i(35190),K=y;function H(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isReadOnly:r}=t,[i,n]=(0,V.useControlledState)(t.isSelected,t.defaultSelected||!1,t.onChange),[a]=(0,K.useState)(i);function o(e){r||n(e)}function s(){r||n(!i)}return{isSelected:i,defaultSelected:null!=(e=t.defaultSelected)?e:a,setSelected:o,toggle:s}}var G=g;function Z(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,A.useProviderContext)(),[n,a]=(0,E.mapPropsVariants)(r,T.variantKeys),{ref:o,as:s,name:l,value:c="",isReadOnly:d=!1,autoFocus:u=!1,startContent:f,endContent:h,defaultSelected:p,isSelected:b,children:m,thumbIcon:g,className:v,classNames:y,onChange:x,onValueChange:w,..._}=n,S=s||"label",M=(0,k.useRef)(null),j=(0,k.useRef)(null),P=null!=(t=null!=(e=r.disableAnimation)?e:null==i?void 0:i.disableAnimation)&&t,N=(0,k.useId)(),B=(0,k.useMemo)(()=>{let e=_["aria-label"]||"string"==typeof m?m:void 0;return{name:l,value:c,children:m,autoFocus:u,defaultSelected:p,isSelected:b,isDisabled:!!r.isDisabled,isReadOnly:d,"aria-label":e,"aria-labelledby":_["aria-labelledby"]||N,onChange:w}},[c,l,N,m,u,d,b,p,r.isDisabled,_["aria-label"],_["aria-labelledby"],w]),D=H(B);(0,I.useSafeLayoutEffect)(()=>{if(!j.current)return;let e=!!j.current.checked;D.setSelected(e)},[j.current]);let{inputProps:z,isPressed:L,isReadOnly:q}=W(B,D,j),{focusProps:F,isFocused:U,isFocusVisible:V}=(0,G.useFocusRing)({autoFocus:z.autoFocus}),{hoverProps:K,isHovered:Z}=(0,C.useHover)({isDisabled:z.disabled}),J=!(B.isDisabled||q)&&L,Y=z.checked,X=z.disabled,$=(0,k.useMemo)(()=>T({...a,disableAnimation:P}),[(0,O.objectToDeps)(a),P]),Q=(0,O.clsx)(null==y?void 0:y.base,v),ee=e=>({...(0,O.mergeProps)(K,_,e),ref:M,className:$.base({class:(0,O.clsx)(Q,null==e?void 0:e.className)}),"data-disabled":(0,O.dataAttr)(X),"data-selected":(0,O.dataAttr)(Y),"data-readonly":(0,O.dataAttr)(q),"data-focus":(0,O.dataAttr)(U),"data-focus-visible":(0,O.dataAttr)(V),"data-hover":(0,O.dataAttr)(Z),"data-pressed":(0,O.dataAttr)(J)}),et=(0,k.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"aria-hidden":!0,className:(0,O.clsx)($.wrapper({class:(0,O.clsx)(null==y?void 0:y.wrapper,null==e?void 0:e.className)}))}},[$,null==y?void 0:y.wrapper]),er=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,O.mergeProps)(z,F,e),ref:R(j,o),id:z.id,className:$.hiddenInput({class:null==y?void 0:y.hiddenInput}),onChange:(0,O.chain)(x,z.onChange)}},ei=(0,k.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,className:$.thumb({class:(0,O.clsx)(null==y?void 0:y.thumb,null==e?void 0:e.className)})}},[$,null==y?void 0:y.thumb]),en=(0,k.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,id:N,className:$.label({class:(0,O.clsx)(null==y?void 0:y.label,null==e?void 0:e.className)})}},[$,null==y?void 0:y.label,X,Y]),ea=(0,k.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeStateProps:!1};return(0,O.mergeProps)({width:"1em",height:"1em",className:$.thumbIcon({class:(0,O.clsx)(null==y?void 0:y.thumbIcon)})},e.includeStateProps?{isSelected:Y}:{})},[$,null==y?void 0:y.thumbIcon,Y]),eo=(0,k.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:"1em",height:"1em",...e,className:$.startContent({class:(0,O.clsx)(null==y?void 0:y.startContent,null==e?void 0:e.className)})}},[$,null==y?void 0:y.startContent,Y]),es=(0,k.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:"1em",height:"1em",...e,className:$.endContent({class:(0,O.clsx)(null==y?void 0:y.endContent,null==e?void 0:e.className)})}},[$,null==y?void 0:y.endContent,Y]);return{Component:S,slots:$,classNames:y,domRef:M,children:m,thumbIcon:g,startContent:f,endContent:h,isHovered:Z,isSelected:Y,isPressed:J,isFocused:U,isFocusVisible:V,isDisabled:X,getBaseProps:ee,getWrapperProps:et,getInputProps:er,getLabelProps:en,getThumbProps:ei,getThumbIconProps:ea,getStartContentProps:eo,getEndContentProps:es}}var J=y,Y=t,X=(0,p.forwardRef)((e,t)=>{let{Component:r,children:i,startContent:n,endContent:a,thumbIcon:o,getBaseProps:s,getInputProps:l,getWrapperProps:c,getThumbProps:d,getThumbIconProps:u,getLabelProps:f,getStartContentProps:h,getEndContentProps:p}=Z({...e,ref:t}),b="function"==typeof o?o(u({includeStateProps:!0})):o&&(0,J.cloneElement)(o,u()),m=n&&(0,J.cloneElement)(n,h()),g=a&&(0,J.cloneElement)(a,p());return(0,Y.jsxs)(r,{...s(),children:[(0,Y.jsx)("input",{...l()}),(0,Y.jsxs)("span",{...c(),children:[n&&m,(0,Y.jsx)("span",{...d(),children:o&&b}),a&&g]}),i&&(0,Y.jsx)("span",{...f(),children:i})]})});X.displayName="HeroUI.Switch";var $=X,Q=y;function ee(e){let{setShowCookieConsent:n}=e,[a,o]=(0,Q.useState)(!0),[s,l]=(0,Q.useState)(!0);function c(){window.localStorage.setItem("cookie-consent",JSON.stringify({cookieAnalytics:a,cookieFollow:s})),window.dispatchEvent(new Event("cookie-consent-change")),n(!1)}return(0,t.jsxs)("div",{className:" w-[80%] h-[50%] md:w-[60%] bg-[#000] px-2 py-4 max-w-md flex flex-col z-50",children:[(0,t.jsxs)("div",{className:"w-full flex-1 px-4 py-2 space-y-5",children:[(0,t.jsxs)("div",{className:" flex flex-row p-2 w-full justify-between ",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)("p",{className:"text-white md:text-lg",children:"Cookies de AnalÃtica"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)($,{classNames:{thumb:"bg-[#000] group-data-[selected=true]:bg-white"},isSelected:a,onValueChange:e=>o(e),color:"success"})})]}),(0,t.jsxs)("div",{className:" flex flex-row p-2 w-full justify-between",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)("p",{className:"text-white md:text-lg",children:"Cookies de Seguimiento"})}),(0,t.jsx)("div",{className:"",children:(0,t.jsx)($,{classNames:{thumb:"bg-[#000] group-data-[selected=true]:bg-white"},isSelected:s,onValueChange:e=>l(e),color:"success"})})]}),(0,t.jsx)("div",{className:"w-full h-[160px] bg-white border border-pink-600 overflow-y-scroll text-black text-sm p-2",children:r.cookiePolicy.cookie_description})]}),(0,t.jsx)("div",{className:"self-end px-4",children:(0,t.jsx)(i.Button,{size:"md",color:"success",className:"font-semibold",onPress:c,children:"Aceptar"})})]})}function et(){let[e,r]=(0,Q.useState)(!1),[n,a]=(0,Q.useState)(!1),[o,s]=(0,Q.useState)(!1),[l,c]=(0,Q.useState)(!1);function d(){window.localStorage.setItem("cookie-consent","all"),window.dispatchEvent(new Event("cookie-consent-change")),r(!0),s(!1)}function u(){a(!0)}function f(){s(!0)}return((0,Q.useEffect)(()=>{!function(){window.localStorage.getItem("cookie-consent")||c(!0)}()},[]),l)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"z-50 fixed bottom-0 left-0 items-center right-0 py-5 px-4 bg-[#000] flex flex-col md:flex-row space-x-6 justify-center ".concat(e&&"hidden"," ").concat(n&&"hidden"," \n transition-all ease-in duration-1000\n "),children:[(0,t.jsxs)("p",{className:"text-white py-4 lg:py-0",children:["Esta pagina usa co
1okies para mejorar la experiencia de usuario consulta nuestras",(0,t.jsx)(j,{className:"px-2",href:"/politicas",children:"polÃticas"}),"para más información"]}),(0,t.jsxs)("div",{className:"flex flex-row space-x-2 lg:space-x-4",children:[(0,t.jsx)(i.Button,{size:"sm",variant:"flat",color:"danger",onPress:u,children:"Rechazar"}),(0,t.jsx)(i.Button,{size:"sm",color:"warning",variant:"flat",onPress:f,children:"Configurar"}),(0,t.jsx)(i.Button,{size:"sm",color:"success",className:"font-semibold",onPress:d,children:"Aceptar"})]})]}),(0,t.jsx)("div",{className:"z-50 fixed top-0 bottom-0 left-0 right-0 px-4 py-4 bg-[#000]/20 flex justify-center items-center ".concat(o?"inline-flex":"hidden"),children:(0,t.jsx)(ee,{setShowCookieConsent:c})})]}):null}},11870,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(43476),r=e.i(71645),i=e.i(18566),n=e.i(32341);function a(e){let{children:a}=e,{user:o,loading:s}=(0,n.useAuth)(),l=(0,i.useRouter)();return((0,r.useEffect)(()=>{s||o||l.push("/login")},[o,s,l]),s)?(0,t.jsx)("div",{className:"h-screen flex items-center justify-center",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-primary border-r-transparent"}),(0,t.jsx)("p",{className:"mt-4 text-gray-600",children:"Cargando..."})]})}):o?(0,t.jsx)(t.Fragment,{children:a}):null}},34984,e=>{"use strict";e.s(["default",()=>i]);var t=e.i(43476);e.i(74780);var r=e.i(42554);function i(e){if(!e)return null;let i=e.split("\n");return(0,t.jsx)(r.View,{children:i.map((e,i)=>{let n=[],a="",o="normal",s=e.trimStart();for(let e=0;e<s.length;e++){if(s.startsWith("**",e)){""!==a&&n.push({text:a,mode:o}),a="",o="bold"===o?"normal":"bold",e++;continue}if(s.startsWith("*",e)){""!==a&&n.push({text:a,mode:o}),a="",o="italic"===o?"normal":"italic";continue}a+=s[e]}return""!==a&&n.push({text:a,mode:o}),(0,t.jsx)(r.View,{style:{marginBottom:2},children:(0,t.jsx)(r.Text,{style:{fontSize:10,lineHeight:1.1},children:n.map((e,i)=>(0,t.jsx)(r.Text,{style:{fontWeight:"bold"===e.mode?"bold":"normal",fontStyle:"italic"===e.mode?"italic":"normal"},children:e.text},i))})},i)})})}},32621,22542,e=>{"use strict";e.s(["default",()=>f],32621);var t=e.i(43476);e.s(["default",()=>l],22542);var r=t,i=e.i(74780),n=e.i(42554),a=e.i(57760),o=e.i(34984);let s=i.StyleSheet.create({container:{paddingTop:50,paddingLeft:30,paddingRight:30,display:"flex",flexDirection:"row"},logo:{width:80,height:120},divider:{borderBottom:1,borderBottomColor:"black",marginHorizontal:30},body:{padding:10},bold:{fontWeight:"bold",fontSize:10,lineHeight:1.2},italic:{fontStyle:"italic"}});function l(e){var t,i,l,c,d,u,f,h,p;let{data:b}=e;if(!b)return null;function m(e){if(e){let t=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],[r,i,n]=null==e?void 0:e.split("/");return"".concat(r," de ").concat(t[Number(i)-1]," de ").concat(n)}}return(0,r.jsx)(n.Document,{children:(0,r.jsxs)(n.Page,{size:"A4",style:{paddingTop:60,paddingBottom:20,paddingHorizontal:60},children:[(0,r.jsxs)(n.View,{style:{display:"flex",flexDirection:"row",width:"100%"},children:[(0,r.jsxs)(n.View,{style:{display:"flex",flexDirection:"column",gap:4},children:[(0,r.jsx)(n.Text,{style:{fontSize:10},children:"Paciente:"}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:"NHC:"}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:"EDAD:"}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:"Servicio peticionario:"}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:"Médico peticionario:"}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:"Fecha de exploración:"})]}),(0,r.jsxs)(n.View,{style:{display:"flex",flexDirection:"column",gap:4,marginLeft:4},children:[(0,r.jsx)(n.Text,{style:{fontSize:10},children:b.nombre.toUpperCase()}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:b.numHistoria.replace(/-/g,"")}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:(0,a.calcularEdadDesdeString)(b.edad)+" AÃOS."}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:b.informes&&(null==(t=b.informes[0])?void 0:t.servicioPeticionario)}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:b.informes&&(null==(i=b.informes[0])?void 0:i.medicoPeticionario)}),(0,r.jsx)(n.Text,{style:{fontSize:10},children:b.informes&&m(null==(l=b.informes[0])?void 0:l.fecha)||""})]}),(0,r.jsx)(n.View,{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",flexDirection:"column",marginLeft:"auto"},children:(0,r.jsx)(n.Image,{src:"/logo_centro_clinico.png",style:s.logo})})]}),(0,r.jsxs)(n.View,{style:{marginTop:40},children:[(0,r.jsx)(n.Text,{style:{fontSize:14,textAlign:"center",fontWeight:"bold"},children:"INFORME RADIOLÃGICO"}),(0,r.jsx)(n.View,{style:[s.divider,{width:"40%",marginHorizontal:"auto"}]}),b.informes&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(n.View,{style:{width:"100%",paddingTop:20,marginTop:30},children:[(0,r.jsx)(n.View,{style:{marginBottom:4}}),(0,r.jsxs)(n.View,{style:{marginVertical:10},children:[(0,r.jsx)(n.Text,{style:{fontSize:11,fontWeight:"bold",marginBottom:4},children:"INFORMACIÃN CLÃNICA:"}),(0,r.jsx)(n.View,{style:{fontSize:10,lineHeight:1.2},children:(0,o.default)((null==b||null==(d=b.informes)||null==(c=d[0])?void 0:c.informacionClinica)||"")})]}),(0,r.jsxs)(n.View,{style:{marginVertical:10},children:[(0,r.jsx)(n.Text,{style:{fontSize:11,fontWeight:"bold",marginBottom:4},children:"INFORMACIÃN TÃCNICA:"}),(0,r.jsx)(n.View,{style:{fontSize:10,lineHeight:1.2},children:(0,o.default)(null==(u=b.informes[0])?void 0:u.informacionTecnica)})]}),(0,r.jsxs)(n.View,{style:{marginVertical:10},children:[(0,r.jsx)(n.Text,{style:{fontSize:11,fontWeight:"bold",marginBottom:4},children:"COMENTARIO:"}),(0,r.jsx)(n.View,{style:{fontSize:10,lineHeight:1.2},children:(0,o.default)(null==(f=b.informes[0])?void 0:f.comentario)})]}),(0,r.jsxs)(n.View,{style:{marginVertical:10},children:[(0,r.jsx)(n.Text,{style:{fontSize:11,fontWeight:"bold",marginBottom:4},children:"CONCLUSIONES:"}),(0,r.jsx)(n.View,{style:{fontSize:10,lineHeight:1.2},children:(0,o.default)(null==(h=b.informes[0])?void 0:h.conclusiones)})]})]})})]}),(0,r.jsxs)(n.View,{style:{width:"100%",display:"flex",flexDirection:"row"},children:[(0,r.jsx)(n.View,{style:{marginRight:"auto"}}),(0,r.jsxs)(n.View,{style:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:4},children:[(0,r.jsx)(n.View,{style:{padding:4},children:(0,r.jsx)(n.Image,{src:"/image2.jpg",style:{width:90,height:90}})}),(0,r.jsxs)(n.View,{style:{textAlign:"center",width:180},children:[(0,r.jsx)(n.Text,{style:{fontSize:8,textAlign:"center"},children:b.informes&&m(null==(p=b.informes[0])?void 0:p.fecha)||""}),(0,r.jsx)(n.Text,{style:{fontSize:8,textAlign:"center"},children:"Fdo. REYES MARQUEZ JOSUà DANIEL"}),(0,r.jsx)(n.Text,{style:{fontSize:8,textAlign:"center"},children:"RADIÃLOGO"}),(0,r.jsx)(n.Text,{style:{fontSize:8,textAlign:"center"},children:"Colegio M. n* 3007"})]})]})]})]})})}var c=i,d=e.i(78631),u=e.i(71645);function f(e){let{inf:r,data:i,handleChange:n}=e,[a,o]=(0,u.useState)(""),[s,f]=(0,u.useState)([]);async function h(e){var n,o;e.preventDefault();let[s,u]=a.split(" "),f=null==r?void 0:r.filter(e=>e.fecha===s&&e.hora===u);if(!f||0===f.length)return;let h=(0,t.jsx)(l,{data:{...i,informes:f}},"".concat(f[0].fecha,"-").concat(f[0].hora)),p=await (0,c.pdf)(h).toBlob();(0,d.saveAs)(p,"informe_".concat(i.nombre,"_").concat(null==(n=f[0])?void 0:n.fecha,"_").concat(null==(o=f[0])?void 0:o.hora,".pdf"))}return(0,u.useEffect)(()=>
1{if(r&&r.length>0){let e=r.slice().reverse();f(e);let t=e[0];o("".concat(t.fecha," ").concat(t.hora)),n(t)}},[r]),(0,t.jsx)("div",{className:"w-full max-w-2xl mx-auto px-4 py-6",children:(0,t.jsxs)("form",{onSubmit:h,children:[(0,t.jsx)("select",{name:"ttoSelect",value:a,className:"bg-white",onChange:e=>{let t=e.target.value;o(t);let[i,a]=t.split(" "),s=null==r?void 0:r.find(e=>e.fecha===i&&e.hora===a);s&&n(s)},children:null==s?void 0:s.map(e=>(0,t.jsxs)("option",{className:"cursor-pointer",value:"".concat(e.fecha," ").concat(e.hora),children:["Informe: ",e.fecha," - ",e.hora]},"".concat(e.fecha,"-").concat(e.hora)))}),(0,t.jsx)("button",{type:"submit",className:"px-2 py-1 text-white bg-primary ml-4 rounded-lg",children:"Imprimir"})]})})}},6115,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(43476),r=e.i(79565),i=e.i(57196);function n(){return(0,t.jsxs)("div",{className:"my-6 flex flex-col gap-6",children:[(0,t.jsx)("p",{children:"El objetivo de esta polÃtica es informar a los interesados acerca de los distintos tratamientos realizados por esta organización mediante la página web y que afecten a sus datos personales, de conformidad con lo establecido en el Reglamento (UE) 2016/679 del Parlamento Europeo y del Consejo de 27 de abril de 2016 y en la Ley Orgánica 3/2018, de 5 de diciembre, de Protección de Datos Personales y garantÃa de los derechos digitales."}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"1. Identificación y datos de contacto del responsable y delegado de protección de datos"}),(0,t.jsxs)("p",{children:[(0,t.jsx)("strong",{children:"Reyes-Diaz Servicios Sanitarios S.L.P."})," (nombre comercial:"," ",(0,t.jsx)("strong",{children:"Reyes Centro ClÃnico"}),"), con NIF ",(0,t.jsx)("strong",{children:"B10526226"}),", domiciliada en calle Concepción Arenal 19, 2do, 15401 Ferrol, España, con teléfono de contacto ",(0,t.jsx)("strong",{children:"+34 981 356 023"})," y correo electrónico"," ",(0,t.jsx)("strong",{children:"[email protected]"}),"."]}),(0,t.jsx)("h3",{className:"text-lg font-medium",children:"Delegado de protección de datos"}),(0,t.jsx)("p",{children:"Reyes Centro ClÃnico actúa como responsable del tratamiento de datos y no cuenta con delegado de protección de datos externo designado. Para cualquier consulta relacionada con la protección de datos, puede contactar directamente con la clÃnica a través de los medios indicados anteriormente."}),(0,t.jsxs)(r.Accordion,{children:[(0,t.jsxs)(i.AccordionItem,{"aria-label":"finalidades del tratamiento de sus datos personales",title:"2. Finalidades del tratamiento de sus datos personales",classNames:{title:"font-bold, text-xl "},children:[(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Usuarios/navegantes de la página web del responsable"})}),(0,t.jsx)("p",{children:"Trataremos los datos de carácter personal facilitados para:"}),(0,t.jsxs)("ul",{className:"list-disc pl-6",children:[(0,t.jsx)("li",{children:"Atender a las solicitudes, quejas e incidencias trasladadas a través de nuestros canales de contacto incorporados en la página web."}),(0,t.jsx)("li",{children:"Entender el comportamiento del navegante dentro de la web con el fin de detectar posibles ataques informáticos a nuestra web."}),(0,t.jsx)("li",{children:"Cumplir con las obligaciones legales que nos resulten directamente aplicables y regulen nuestra actividad."}),(0,t.jsx)("li",{children:"Proteger y ejercer nuestros derechos o responder ante reclamaciones de cualquier Ãndole."}),(0,t.jsx)("li",{children:"En su caso, envÃo de comunicaciones comerciales relativas a los bienes o servicios que conforman nuestra actividad y/o noticias o boletines relacionados con nuestro sector. Su negativa a facilitarnos la autorización implicará la imposibilidad de enviarle información por parte de la entidad."}),(0,t.jsx)("li",{children:"En su caso, gestionar su participación en concursos y promociones que realice la entidad. Su negativa a facilitarnos la autorización implicará la imposibilidad de participar."}),(0,t.jsx)("li",{children:"En su caso, enviar encuestas de satisfacción y/o calidad. Su negativa a facilitarnos la autorización implicará la imposibilidad de evaluar el servicio prestado."}),(0,t.jsx)("li",{children:"Gestionar su registro en la plataforma web de la entidad y generar un usuario y contraseña. Su negativa a facilitarnos la autorización implicará la imposibilidad de efectuar su registro en la plataforma."}),(0,t.jsx)("li",{children:"Gestionar la programación de la cita solicitada. Su negativa a facilitarnos la autorización implicará la imposibilidad de agendar su cita."})]})]},"1"),(0,t.jsxs)(i.AccordionItem,{"aria-label":"Base jur´jurÃdica del tratamiento",title:"3. Base jurÃdica del tratamiento",classNames:{title:"font-bold, text-xl "},children:[(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Usuarios/navegantes de la página web del responsable"})}),(0,t.jsxs)("ul",{className:"list-disc pl-6",children:[(0,t.jsx)("li",{children:"En el consentimiento que nos has prestado para tratar tus datos con las finalidades indicadas. La negativa a facilitar sus datos personales conllevará la imposibilidad de tratar sus datos con las finalidades mencionadas."}),(0,t.jsx)("li",{children:"Para cumplir con las obligaciones legales que se nos a
1plican. En este caso, el interesado no podrá negarse al tratamiento de los datos personales."}),(0,t.jsx)("li",{children:'En nuestro interés legÃtimo de proteger nuestra imagen, negocio y trayectoria evitando ataques a nuestra página web. En este caso, el interesado no podrá negarse al tratamiento de los datos personales, aunque podrá ejercer, en su caso, los derechos reconocidos en el apartado "derechos" de la presente polÃtica.'})]})]},"2"),(0,t.jsx)(i.AccordionItem,{"aria-label":"Base jurÃdica del tratamiento",title:"4. Complementos y herramientas del sitio web",classNames:{title:"font-bold, text-xl "},children:(0,t.jsxs)(r.Accordion,{children:[(0,t.jsx)(i.AccordionItem,{"aria-label":"Pop-up WhatsApp",title:"Pop-up WhatsApp",classNames:{title:"font-bold, text-xl "},children:(0,t.jsx)("p",{children:"La página web cuenta con un canal de WhatsApp con la finalidad de permitir la comunicación con atención al cliente. No obstante, debe tener en cuenta que nuestro proveedor aplica su propia polÃtica de privacidad, por lo que le recomendamos que revise su configuración en el servicio y que lea detenidamente la polÃtica de privacidad."})},"1"),(0,t.jsx)(i.AccordionItem,{"aria-label":"Google reCAPTCHA",title:"Google reCAPTCHA",classNames:{title:"font-bold, text-xl "},children:(0,t.jsx)("p",{children:"Utilizamos el servicio Google reCAPTCHA para detectar, en base al interés legÃtimo, si el sitio web está siendo utilizado por bots, con la finalidad de proteger el portal y prevenir prácticas abusivas y fraudulentas, como el envÃo de spam."})},"2"),(0,t.jsxs)(i.AccordionItem,{"aria-label":"Google Maps",title:"Google Maps",classNames:{title:"font-bold, text-xl "},children:[(0,t.jsx)("h3",{className:"text-lg font-medium"}),(0,t.jsx)("p",{children:"Utilizamos Google Maps (API) con la finalidad de mostrarle mapas interactivos directamente en nuestro sitio web y permitirle utilizar sus funciones. A estos efectos, debe tener en cuenta que, al utilizar el servicio, Google recabará y almacenará información sobre su uso."})]},"3")]})},"3")]}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"5. Plazos o criterios de conservación de los datos"}),(0,t.jsx)("p",{children:"Los datos personales proporcionados se conservarán durante el tiempo necesario para cumplir con las finalidades para los que fueron recopilados inicialmente."}),(0,t.jsx)("p",{children:"Una vez que los datos dejen de ser necesarios para el tratamiento en cuestión, estos se mantendrán debidamente bloqueados para, en su caso, ponerlos a disposición de las Administraciones y Organismos Públicos competentes, Jueces y Tribunales o el Ministerio Fiscal, durante el plazo de prescripción de las acciones que pudieran derivarse de la relación mantenida con el cliente y/o los plazos de conservación previstos legalmente."}),(0,t.jsx)("p",{children:"En el caso de que nos haya facilitado su currÃculum, conservaremos sus datos durante un periodo máximo de dos años desde la recepción del mismo, momento en el que procederemos a su supresión, salvo que haya procedido a actualizar sus datos o nos haya autorizado a mantenerlos por un periodo de conservación mayor al indicado. A los efectos oportunos, le informamos que puede revocar su consentimiento en cualquier momento."}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"6. Decisiones automatizadas y elaboración de perfiles"}),(0,t.jsx)("p",{children:"La página web no toma decisiones automatizadas ni elabora perfiles."}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"7. Destinatarios"}),(0,t.jsx)("p",{children:"Durante el periodo de duración del tratamiento de sus datos personales, la organización podrá ceder sus datos a los siguientes destinatarios:"}),(0,t.jsxs)("ul",{className:"list-disc pl-6",children:[(0,t.jsx)("li",{children:"Jueces y Tribunales."}),(0,t.jsx)("li",{children:"Fuerzas y Cuerpos de Seguridad del Estado."}),(0,t.jsx)("li",{children:"Otras autoridades u organismos públicos competentes, cuando el responsable tenga la obligación legal de facilitar los datos personales."}),(0,t.jsx)("li",{children:"En su caso, a aquellos Encargados de Tratamiento que nos brinden servicios."})]}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"8. Transferencias internacionales de datos"}),(0,t.jsx)("p",{children:"La organización no realiza Transferencia Internacional de Datos alguna. En caso de que posteriormente fuera necesario realizar transferencias internacionales de datos, se verificará el grado de protección del paÃs de destino y se adoptarán las garantÃas exigidas por la normativa."}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"9. Redes sociales"}),(0,t.jsx)("p",{children:"Con la finalidad de hacerle partÃcipe de nuestra actividad, y de que pueda estar al tanto de nuestras novedades, le informamos de que Reyes Centro ClÃnico tiene creado perfiles en las Redes Sociales."}),(0,t.jsx)("p",{children:"Todos los usuarios tienen la oportunidad de unirse a nuestras redes sociales o grupos. Sin embargo, debe tener en cuenta que, salvo que le solicitemos sus datos directamente (por ejemplo, mediante acciones de marketing, concursos, promociones, o cualquier otra forma válida), sus datos pertenecerán a la Red Social correspondiente, por lo que le recomendamos que lea detenidamente sus condiciones de uso y polÃticas de privacidad, asà como, se asegure de configurar sus preferencias en cuanto al tratamiento de los datos."}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"10. Derechos"}),(0,t.jsx)("p",{children:"Los interesados podrán solicitar más información acerca del tratamiento de sus datos personales asà como ejercer en cualquier momento y, de forma gratuita, los derechos de acceso, rectificación y supresión, asà como solicitar que se limite el tratamiento de sus datos personales, oponerse al mismo, solicitar la portabilidad de estos (siempre que sea técnicamente posible) o retirar el consentimiento prestado y, en su caso, a no ser objeto de una decisión basada únicamente en un tratamiento automatizado, incluido la elaboración de perfiles."}),(0,t.jsxs)("p",{children:["Para ello podrá emplear los formularios habilitados por la organización, o bien dirigir un escrito a ",(0,t.jsx)("strong",{children:"Reyes-Diaz Servicios Sanitarios S.L.P."})," ","(Reyes Centro ClÃnico) a la dirección postal o correo electrónico referenciados en el encabezamiento. A los efectos oportunos, le informamos que se le podrá solicitar su DNI o cualquier otro documento análogo, con la finalidad de acreditar su identidad, siempre que ello no pueda realizarse por otros medios menos intrusivos."]}),(0,t.jsxs)("p",{children:["En caso de que sienta vulnerados sus derechos en lo concerniente a la protección de sus datos personales, especialmente cuando no haya obtenido s
1atisfacción en el ejercicio de sus derechos, puede presentar una reclamación ante la Autoridad de Control en materia de Protección de Datos competente (Agencia Española de Protección de Datos), a través de su sitio web"," ",(0,t.jsx)("a",{href:"http://www.aepd.es",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"www.aepd.es"}),"."]}),(0,t.jsxs)("p",{children:["En cumplimiento de lo dispuesto en el artÃculo 21 de la Ley 34/2002 de servicios de la sociedad de la información y comercio electrónico, si usted no desea recibir más información sobre nuestros servicios, puede darse de baja enviando un correo electrónico a la dirección"," ",(0,t.jsx)("strong",{children:"[email protected]"}),", con asunto"," ",(0,t.jsx)("strong",{children:'"BAJAS"'}),"."]}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"11. Veracidad de los datos"}),(0,t.jsx)("p",{children:"El interesado garantiza que los datos aportados son verdaderos, exactos, completos y se encuentran actualizados; comprometiéndose a informar de cualquier cambio respecto de los datos que aportara, por los canales habilitados al efecto e indicados en el punto uno de la presente polÃtica. Será responsable de cualquier daño o perjuicio, tanto directo como indirecto, que pudiera ocasionar como consecuencia del incumplimiento de la presente obligación."}),(0,t.jsx)("p",{children:"En el supuesto de que el usuario facilite datos de terceros, declara que cuenta con el consentimiento de los interesados y se compromete a trasladarle la información contenida en esta cláusula, eximiendo a la organización de cualquier responsabilidad derivada por la falta de cumplimiento de la presente obligación."}),(0,t.jsx)("h2",{className:"text-xl font-medium",children:"12. Modificaciones y actualización"}),(0,t.jsx)("p",{children:"La presente polÃtica de privacidad puede verse modificada/actualizada en función de las exigencias legales establecidas o con la finalidad de adaptar dicha polÃtica a las instrucciones dictadas por la Agencia Española de Protección de Datos, o a consecuencia de cambios en nuestro sitio web. Por esta razón, aconsejamos a los usuarios que visiten periódicamente nuestra PolÃtica de Privacidad."}),(0,t.jsxs)("p",{children:["Si tiene dudas acerca de esta polÃtica, puede contactar con"," ",(0,t.jsx)("strong",{children:"Reyes-Diaz Servicios Sanitarios S.L.P."})," (Reyes Centro ClÃnico) a través de los formularios habilitados por la organización, o bien dirigir un escrito a la dirección postal o correo electrónico referenciados en el encabezamiento."]})]})}},21764,e=>{"use strict";e.s(["default",()=>u]);var t=e.i(43476),r=e.i(71645),i=e.i(54909);function n(e){let t=new Date-new Date(e);if(t<0)return"recién publicado";let r=Math.floor(t/1e3),i=Math.floor(r/60),n=Math.floor(i/60),a=Math.floor(n/24),o=Math.floor(a/7),s=Math.floor(a/30),l=Math.floor(a/365);return r<60?"hace menos de un minuto":i<60?"hace ".concat(i," ").concat(1===i?"minuto":"minutos"):n<24?"hace ".concat(n," ").concat(1===n?"hora":"horas"):a<7?"hace ".concat(a," ").concat(1===a?"dÃa":"dÃas"):o<5?"hace ".concat(o," ").concat(1===o?"semana":"semanas"):s<12?"hace ".concat(s," ").concat(1===s?"mes":"meses"):"hace ".concat(l," ").concat(1===l?"año":"años")}function a(e){return e.split(/\s+/).slice(0,2).map(e=>e[0].toUpperCase()).join("")}let o=["#3b82f6","#8b5cf6","#ec4899","#f43f5e","#f97316","#eab308","#22c55e","#14b8a6","#06b6d4","#6366f1","#a855f7","#d946ef"];function s(e){let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);return o[Math.abs(t)%o.length]}function l(e){let{name:r,photo:i,size:n=32}=e;return i?(0,t.jsx)("img",{src:i,alt:r,width:n,height:n,className:"rounded-full shrink-0 object-cover"}):(0,t.jsx)("div",{className:"rounded-full shrink-0 flex items-center justify-center text-white font-semibold",style:{width:n,height:n,fontSize:.38*n,background:s(r)},children:a(r)})}function c(e){let{count:r}=e;return(0,t.jsx)("div",{className:"flex gap-[2px] mt-1.5",children:[1,2,3,4,5].map(e=>(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:e<=r?"#facc15":"#d1d5db",children:(0,t.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})},e))})}function d(e){let{review:r}=e,i=n(r.date);return(0,t.jsxs)("div",{className:"\n shrink-0 w-full sm:w-auto\n bg-white rounded-xl shadow-md\n px-5 py-5 pb-4 mb-4\n relative flex flex-col\n transition-shadow hover:shadow-lg \n ",style:{minWidth:0,maxWidth:360},children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#3b82f6",opacity:"0.15",className:"absolute top-2.5 left-3",children:(0,t.jsx)("path",{d:"M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10H14.017zM0 21v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151C7.563 6.068 6 8.789 6 11h4v10H0z"})}),(0,t.jsx)("p",{className:"mt-4 text-sm leading-relaxed text-slate-700 flex-1 line-clamp-6",children:r.text}),(0,t.jsx)(c,{count:r.rating}),(0,t.jsx)("div",{className:"border-t border-slate-100 pt-2.5 mt-2.5 mb-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(l,{name:r.author,photo:r.photo,size:32}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("strong",{className:"text-sm text-slate-900 block leading-tight truncate",children:r.author}),(0,t.jsx)("span",{className:"text-xs text-slate-400",children:i})]})]})})]})}function u(e){let{interval:n=4e3}=e,[a,o]=(0,r.useState)(0),[s,l]=(0,r.useState)(!1),c=(0,r.useCallback)(()=>o(e=>(e+1)%i.default.length),[]),u=(0,r.useCallback)(()=>o(e=>(e-1+i.default.length)%i.default.length),[]);return(0,r.useEffect)(()=>
1{if(s)return;let e=setInterval(c,n);return()=>clearInterval(e)},[s,n,c]),(0,t.jsxs)("div",{className:"max-w-[1000px] mx-auto px-4 py-8 font-sans mt-30",children:[(0,t.jsx)("h2",{className:"text-center text-2xl font-bold text-slate-900 mb-1",children:"Opiniones de nuestros pacientes"}),(0,t.jsxs)("p",{className:"text-center text-sm text-slate-400 mb-6",children:["Basado en más de ",i.default.length," reseñas verificadas"]}),(0,t.jsxs)("div",{onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:"relative overflow-hidden rounded-xl",children:[(0,t.jsx)("div",{className:"flex justify-center sm:hidden",children:(0,t.jsx)(d,{review:i.default[a]})}),(0,t.jsx)("div",{className:"hidden sm:flex gap-4 transition-transform duration-500 ease-out px-0.5 py-1.5",style:{transform:"translateX(".concat(-(316*a),"px)")},children:i.default.map((e,r)=>(0,t.jsx)(d,{review:e},r))})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3.5 mt-5",children:[(0,t.jsx)("button",{onClick:u,"aria-label":"Anterior",className:"bg-slate-200 hover:bg-slate-300 rounded-full w-9 h-9 flex items-center justify-center transition-colors cursor-pointer border-none",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"#334155",children:(0,t.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})})}),(0,t.jsxs)("div",{className:"flex gap-1.5 flex-wrap justify-center",children:[i.default.slice(0,15).map((e,r)=>(0,t.jsx)("button",{onClick:()=>o(r),"aria-label":"Ir a reseña ".concat(r+1),className:"border-none rounded-sm cursor-pointer transition-all duration-300 p-0 ".concat(r===a?"bg-blue-500":"bg-slate-300"),style:{width:r===a?20:8,height:8}},r)),i.default.length>15&&(0,t.jsxs)("span",{className:"text-xs text-slate-400 ml-0.5",children:["+",i.default.length-15," más"]})]}),(0,t.jsx)("button",{onClick:c,"aria-label":"Siguiente",className:"bg-slate-200 hover:bg-slate-300 rounded-full w-9 h-9 flex items-center justify-center transition-colors cursor-pointer border-none",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"#334155",children:(0,t.jsx)("path",{d:"M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z"})})})]}),s&&(0,t.jsx)("p",{className:"text-center text-xs text-slate-400 mt-1.5",children:"⸠Reproducción en pausa"})]})}},86222,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(71645);let r="G-2XDGHVCYRJ";function i(){let e=window.localStorage.getItem("cookie-consent");if(!e)return!1;if("all"===e)return!0;try{let t=JSON.parse(e);return!!(null==t?void 0:t.cookieAnalytics)}catch(e){return!1}}function n(e){if("undefined"==typeof document||!e||document.getElementById("ga-script"))return;let t=document.createElement("script");t.src="https://www.googletagmanager.com/gtag/js?id=".concat(e),t.async=!0,t.id="ga-script",document.head.appendChild(t);let r=document.createElement("script");r.id="ga-inline-script",r.innerHTML="window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', '".concat(e,"');"),document.head.appendChild(r)}function a(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=()=>{a(i())};return e(),window.addEventListener("cookie-consent-change",e),()=>{window.removeEventListener("cookie-consent-change",e)}},[]),(0,t.useEffect)(()=>{e&&r&&n(r)},[e]),null}},33999,93377,83366,e=>{"use strict";e.s([],33999),e.i(69488),e.i(13642),e.i(32177),e.i(26677),e.i(45678),e.i(32173),e.i(13170),e.i(85426),e.i(52185),e.i(91449),e.i(55516),e.i(94151),e.i(32361),e.i(41345),e.i(44971),e.i(73734),e.i(18672);var t=e.i(43476);e.i(12995),e.i(26350),e.i(57688),e.i(22016),e.i(32484),e.i(25636),e.i(54097),e.i(11870),e.i(32621),e.i(34984),e.s(["default",()=>i],93377);var r=t;function i(){return(0,r.jsxs)("div",{className:"my-6 flex flex-col gap-6",children:[(0,r.jsx)("p",{children:"De conformidad con lo establecido en la Ley 34/2002, de 11 de julio, de servicios de la sociedad de la información y de comercio electrónico, se facilita la siguiente información:"}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Datos identificativos"}),(0,r.jsxs)("p",{children:["Usted está visitando la página web reyescentroclinico.com titularidad de",(0,r.jsx)("strong",{children:" Reyes-Diaz Servicios Sanitarios S.L.P."})," (nombre comercial:"," ",(0,r.jsx)("strong",{children:"Reyes Centro ClÃnico"}),"), con NIF ",(0,r.jsx)("strong",{children:"B10526226"})," y domicilio social en calle Concepción Arenal 19, 2do, 15401 Ferrol, España. En adelante, el TITULAR."]}),(0,r.jsx)("p",{children:"Puede contactar con el Titular por cualquiera de los siguientes medios:"}),(0,r.jsxs)("ul",{className:"list-disc pl-6",children:[(0,r.jsx)("li",{children:"Teléfono: +34 981 356 023"}),(0,r.jsx)("li",{children:"Correo electrónico de contacto: [email protected]"})]}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Usuarios"}),(0,r.jsx)("p",{children:"Mediante el presente documento ponemos en su conocimiento los términos y condiciones que regulan el uso del sitio web del Titular, asà como de los servicios y contenidos asociados. Dicho uso implica la adquisición de la condición de 'usuario' y, con dicha condición, una serie de derechos y obligaciones."}),(0,r.jsx)("p",{children:"A los efectos anteriormente descritos, le informamos que es de su responsabilidad acceder a las condiciones legales insertas en la presente web, asà como, a las polÃticas de privacidad, cookies o en su caso, condiciones de venta y leerlas detenidamente. Recomendamos:"}),(0,r.jsxs)("ul",{className:"list-disc pl-6",children:[(0,r.jsx)("li",{children:"Que visite las mismas cada vez que pretenda acceder o utilizar los servicios y contenidos del sitio"}),(0,r.jsx)("li",{children:"Que imprima o almacene en su sistema una copia."})]}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Uso del portal"}),(0,r.jsx)("p",{children:"Esta web proporciona el acceso a multitud de información, servicios, programas o datos (en adelante, 'los contenidos') en Internet pertenecientes al Titular o a sus licenciantes a los que el Usuario puede tener acceso."}),(0,r.jsx)("p",{children:"El Usuario asume la responsabilidad del uso del portal en los términos que mediante la presente se establecen. Dicha responsabilidad se extiende al registro que fuese necesario para acceder a determinados servicios o contenidos. En dicho registro, el Usuario será responsable de aportar información veraz y lÃcita. Como consecuencia de este registro, al Usuario se le puede proporcionar una contraseña de la que será asimismo responsable, comprometiéndose a hacer un uso diligente y confidencial de la misma."}),(0,r.jsx)("p",{children:"El Usuario se compromete a hacer un uso adecuado de los contenidos y servicios que el Titular ofrece a través de su portal y, con carácter enunciativo, pero no limitativo, a no emplearlos para:"}),(0,r.jsxs)("ul",{className:"list-disc pl-6",children:[(0,r.jsx)("li",{children:"Incurrir en actividades ilÃcitas, ilegales o contrarias a la buena fe y al orden público."}),(0,r.jsx)("li",{children:"Difundir contenidos o propaganda racista, xenófoba, pornográfico-ilegal, de apologÃa del terrorismo o atentatoria contra los derechos humanos."}),(0,r.jsx)("li",{children:"Provocar daños en los sistemas fÃsicos y lógicos del Titular, de sus proveedores o de terceras personas, introducir o difundir en la red virus informáticos o cualesquiera otros sistemas fÃsicos o lógicos que sean susceptibles de provocar los daños anteriormente mencionados."}),(0,r.jsx)("li",{children:"Intentar acceder y, en su caso, utilizar las cuentas de correo electrónico de otros usuarios y modificar o manipular sus mensajes."}),(0,r.jsx)("li",{children:"Utilizar el sitio web ni las informaciones que en él se contienen con fines comerciales, polÃticos, publicitarios y para cualquier uso comercial, sobre todo en el envÃo de correos electrónicos no solicitados."})]}),(0,r.jsx)("p",{children:"El Titular se reserva el derecho a retirar todos aquellos comentarios y aportaciones que vulneren el respeto a la dignidad de la persona, que sean discriminatorios, xenófobos, racistas, pornográficos, que atenten contra la juventud o la infancia, el orden o la seguridad pública o que, a su juicio, no resultarán adecuados para su publicación."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Protección de datos"}),(0,r.jsx)("p",{children:"Todo lo relativo al tratamiento de sus datos personales se encuentra recogido en la PolÃtica de privacidad."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Contenidos. Propiedad intelectual e industrial"}),(0,r.jsx)("p",{children:"El Titular es propietario de todos los derechos de propiedad intelectual e industrial de su página web, asà como de los elementos contenidos en la misma (a tÃtulo enunciativo: imágenes, fotografÃas, sonido, audio, vÃdeo, software o textos, marcas o logotipos, combinaciones de colores, estructura y diseño, selección de materiales usados, programas de ordena
1dor necesarios para su funcionamiento, acceso y uso, etc.), titularidad del Titular o bien de sus licenciantes."}),(0,r.jsx)("p",{children:"Todos los derechos reservados. En virtud de lo dispuesto en los artÃculos 8 y 32.1, párrafo segundo, de la Ley de Propiedad Intelectual, quedan expresamente prohibidas la reproducción, la distribución y la comunicación pública, incluida su modalidad de puesta a disposición, de la totalidad o parte de los contenidos de esta página web, con fines comerciales, en cualquier soporte y por cualquier medio técnico, sin la autorización del Titular."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Exclusión de garantÃas y responsabilidad"}),(0,r.jsx)("p",{children:"El Usuario reconoce que la utilización de la página web y de sus contenidos y servicios se desarrolla bajo su exclusiva responsabilidad. En concreto, a tÃtulo meramente enunciativo, el Titular no asume ninguna responsabilidad en los siguientes ámbitos:"}),(0,r.jsxs)("ul",{className:"list-disc pl-6",children:[(0,r.jsx)("li",{children:"La disponibilidad del funcionamiento de la página web, sus servicios y contenidos y su calidad o interoperabilidad."}),(0,r.jsx)("li",{children:"La finalidad para la que la página web sirva a los objetivos del Usuario."}),(0,r.jsx)("li",{children:"La infracción de la legislación vigente por parte del Usuario o terceros y, en concreto, de los derechos de propiedad intelectual e industrial que sean titularidad de otras personas o entidades."}),(0,r.jsx)("li",{children:"La existencia de códigos maliciosos o cualquier otro elemento informático dañino que pudiera causar el sistema informático del Usuario o de terceros. La entidad toma medidas para proteger el sitio web frente a ciberataques. No obstante, no puede garantizar que no se vayan a producir accesos no autorizados por parte de terceros. Por ello, corresponde al Usuario disponer de herramientas adecuadas para la detección y desinfección de estos elementos."}),(0,r.jsx)("li",{children:"El acceso fraudulento a los contenidos o servicios por terceros no autorizados o, en su caso, la captura, eliminación, alteración, modificación o manipulación de los mensajes y comunicaciones de cualquier clase que dichos terceros pudiera realizar."}),(0,r.jsx)("li",{children:"Los daños producidos a equipos informáticos durante el acceso a la página web y los daños producidos a los Usuarios cuando tengan su origen en fallos o desconexiones en las redes de telecomunicaciones que interrumpan el servicio."}),(0,r.jsx)("li",{children:"Los daños o perjuicios que se deriven de circunstancias acaecidas por caso fortuito o fuerza mayor."})]}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Modificación de este aviso legal y duración"}),(0,r.jsx)("p",{children:"El Titular se reserva el derecho de efectuar sin previo aviso las modificaciones que considere oportunas en su portal, pudiendo cambiar, suprimir o añadir tantos contenidos y servicios que se presten a través de esta, como la forma en la que estos aparezcan representados o localizados en su portal."}),(0,r.jsx)("p",{children:"La vigencia de las citadas condiciones irá en función de su exposición y estarán vigentes hasta que sean modificadas por otras debidamente publicadas."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Enlaces"}),(0,r.jsx)("p",{children:"En el caso de que en reyescentroclinico.com se incluyesen enlaces o hipervÃnculos hacia otros sitios de Internet, el Titular no ejercerá ningún tipo de control sobre dichos sitios y contenidos ni asumirá responsabilidad alguna por los contenidos de algún enlace perteneciente a un sitio web ajeno, ni garantizará la disponibilidad técnica, calidad, fiabilidad, exactitud, amplitud, veracidad, validez y constitucionalidad de cualquier materia o información contenida en ninguno de dichos hipervÃnculos y otros sitios en Internet. Igualmente, la inclusión de estas conexiones externas no implicará ningún tipo de asociación, fusión o participación con las entidades conectadas."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Derechos de exclusión"}),(0,r.jsx)("p",{children:"El Titular se reserva el derecho a denegar o retirar el acceso al portal y/o los servicios ofrecidos sin necesidad de advertencia previa, a instancia propia o de un tercero, a aquellos usuarios que incumplan el contenido de este Aviso Legal."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Generalidades"}),(0,r.jsx)("p",{children:"El Titular perseguirá el incumplimiento de las presentes condiciones, asà como cualquier utilización indebida de su portal ejerciendo todas las acciones civiles y penales que le puedan corresponder en derecho."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Legislación aplicable y jurisdicción"}),(0,r.jsx)("p",{children:"La relación entre el Titular y el Usuario se regirá por la normativa española vigente. Todas las disputas y reclamaciones derivadas de este aviso legal se resolverán por los juzgados y tribunales españoles del consumidor y usuario que resulten competentes."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Menores de edad"}),(0,r.jsx)("p",{children:"Esta web dirige sus servicios a usuarios mayores de 14 años. Los menores de esta edad no están autorizados a utilizar nuestros servicios y no deberán, por tanto, enviarnos sus datos personales. Informamos de que, si se da tal circunstancia, el Titular no se hace responsable de las posibles consecuencias que pudieran derivarse del incumplimiento del aviso que en esta misma cláusula se establece."}),(0,r.jsx)("h2",{className:"text-xl font-medium",children:"Medidas de seguridad - SSL"}),(0,r.jsx)("p",{children:"El Titular ha contratado para su sitio web un certificado SSL ('Secure Sockets Layer'). Dicho certificado SSL permite proteger toda la información personal y confidencial que se pueda manejar en un sitio web, independientemente de la información que se esté transmitiendo, como, por ejemplo, desde cualquiera de los formularios de contacto del sitio web hasta el servidor o los datos introducidos para la suscripción de boletines de noticias, accesos a las áreas protegidas, etc. La dirección del sitio web aparecerá en color verde, activándose el protocolo 'https' que permite conexiones seguras desde un servidor web al navegador del usuario."})]})}e.i(6115),e.s(["default",()=>a],83366);var n=t;function a(){return(0,n.jsxs)("div",{className:"my-6 flex flex-col gap-6",children:[(0,n.jsx)("p",{children:"El objetivo de esta polÃtica es informar a los interesados acerca de las cookies que emplea esta página web, de conformidad con lo establecido en la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de la Información y de Comercio Electrónico, y el Reglamento (UE) 2016/679 del Parlamento
1Europeo y del Consejo de 27 de abril de 2016."}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"1. Uso de cookies. ¿Qué son las cookies?"}),(0,n.jsx)("p",{children:"Las cookies son ficheros que se descargan en su Ordenador, Smartphone o Tablet al acceder a determinadas páginas web, que almacenan y recuperan información cuando navegas. La utilización de cookies ofrece numerosas ventajas en la prestación de servicios de la Sociedad de la Información, puesto que, entre otras:"}),(0,n.jsxs)("ul",{className:"list-disc pl-6",children:[(0,n.jsx)("li",{children:"facilita la navegación del usuario en el Sitio Web;"}),(0,n.jsx)("li",{children:"facilita al usuario el acceso a los diferentes servicios que ofrece el Sitio Web;"}),(0,n.jsx)("li",{children:"evita al usuario volver a configurar las caracterÃsticas generales predefinidas cada vez que accede al Sitio Web;"}),(0,n.jsx)("li",{children:"favorece la mejora del funcionamiento y de los servicios prestados a través del Sitio Web, tras el correspondiente análisis de la información obtenida a través de las cookies instaladas;"}),(0,n.jsx)("li",{children:"permiten a un Sitio Web, entre otras cosas, almacenar y recuperar información sobre los hábitos de navegación de un usuario o de su equipo y, dependiendo de la información que contengan y de la forma en que utilice su equipo, pueden utilizarse para reconocer al usuario."})]}),(0,n.jsx)("p",{children:"La mayorÃa de los navegadores aceptan como estándar las cookies y, con independencia de las mismas, permiten o impiden en los ajustes de seguridad las cookies temporales o memorizadas. Tenga en cuenta que, para poder utilizar y contar con una mejor experiencia de navegación, es necesario que tenga habilitadas las cookies, especialmente aquellas de carácter técnico que resultan necesarias para que puedan identificarle como usuario registrado cada vez que acceda a la presente web. En caso de no querer recibir cookies, puede, configure su navegador de internet, para que las borre del disco duro de su ordenador, las bloquee o le avise en su caso de instalación de las mismas."}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"2. ¿Qué tipos de cookies utiliza esta página web?"}),(0,n.jsx)("p",{children:"Con el fin de proporcionarle la máxima información posible, en primer lugar, procedemos a realizar una clasificación de las cookies, en función de una serie de categorÃas:"}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Tipos de cookies según la entidad que las gestione"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"a) Cookies propias:"}),(0,n.jsx)("br",{}),"Son aquellas de las que es responsable el propio editor y que, generalmente, se envÃan al equipo terminal del usuario desde un equipo o dominio gestionado por el propio editor y desde el que se presta el servicio solicitado por el usuario."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"b) Cookies de terceros:"}),(0,n.jsx)("br",{}),"Son aquellas de las que es responsable una entidad distinta del editor y que, generalmente, se envÃan al equipo terminal del usuario desde un equipo o dominio que no es gestionado por el editor, sino por otra entidad que trata los datos obtenidos a través de las cookies."]}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Tipos de cookies según su finalidad"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"a) Cookies técnicas:"}),(0,n.jsx)("br",{}),"Son aquellas que permiten al usuario la navegación a través de una página web, plataforma o aplicación y la utilización de las diferentes opciones o servicios que en ella existan, incluyendo aquellas que el editor utiliza para permitir la gestión y operativa de la página web y habilitar sus funciones y servicios."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"b) Cookies de preferencias o personalización:"}),(0,n.jsx)("br",{}),"Son aquellas que permiten recordar información para que el usuario acceda al servicio con determinadas caracterÃsticas que pueden diferenciar su experiencia de la de otros usuarios, como, por ejemplo, el idioma, el número de resultados a mostrar cuando el usuario realiza una búsqueda, etc."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"c) Cookies de análisis o medición:"}),(0,n.jsx)("br",{}),"Son aquellas que permiten al responsable de las mismas el seguimiento y análisis del comportamiento de los usuarios de los sitios web a los que están vinculadas, incluida la cuantificación de los impactos de los anuncios."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"d) Cookies de publicidad comportamental:"}),(0,n.jsx)("br",{}),"Son aquellas que almacenan información del comportamiento de los usuarios obtenida a través de la observación continuada de sus hábitos de navegación, lo que permite desarrollar un perfil especÃfico para mostrar publicidad en función del mismo."]}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Tipos de cookies según el plazo de tiempo que permanecen activadas"}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"a) Cookies de sesión:"}),(0,n.jsx)("br",{}
vendor: 15,814 bytes, line 1
1),"Son aquellas diseñadas para recabar y almacenar datos mientras el usuario accede a una página web. Se suelen emplear para almacenar información que solo interesa conservar para la prestación del servicio solicitado por el usuario en una sola ocasión y desaparecen al terminar la sesión."]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("strong",{children:"b) Cookies persistentes:"}),(0,n.jsx)("br",{}),"Son aquellas en las que los datos siguen almacenados en el terminal y pueden ser accedidos y tratados durante un periodo definido por el responsable de la cookie, y que puede ir de unos minutos a varios años."]}),(0,n.jsx)("p",{children:"A continuación, detallamos la lista de las cookies que utilizamos:"}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Necesaria"}),(0,n.jsx)("p",{children:"Las cookies necesarias son cruciales para las funciones básicas del sitio web y el sitio web no funcionará de la forma prevista sin ellas. Estas cookies no almacenan ningún dato de identificación personal."}),(0,n.jsx)("div",{className:"overflow-x-auto",children:(0,n.jsxs)("table",{className:"min-w-full border border-gray-300",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{className:"bg-gray-100",children:[(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Cookie"}),(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Duración"}),(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Descripción"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"wp-wpml_current_language"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"sesión"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Esta cookie almacena la configuración del idioma actual.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://www.weglot.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://www.weglot.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"cookieyes-consent"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"1 año"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["CookieYes establece esta cookie para recordar las preferencias de consentimiento de los usuarios, de modo que se respeten sus preferencias en las siguientes visitas a este sitio. No recoge ni almacena ninguna información personal sobre los visitantes del sitio.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://www.cookieyes.com/privacy-policy/",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://www.cookieyes.com/privacy-policy/"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"elementor"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"Nunca caduca"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["El tema de WordPress del sitio web establece esta cookie. Permite al propietario del sitio web implementar o cambiar el contenido del sitio web en tiempo real.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://elementor.com/about/privacy/",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://elementor.com/about/privacy/"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"firstReferrer"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"sesión"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["firstReferrer guarda el primer origen desde el que llegó el usuario al sitio.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"/politicas",className:"text-blue-600 hover:underline",children:"PolÃtica de privacidad de Reyes Centro ClÃnico"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"PHPSESSID"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"sesión"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"Almacena e identifica el ID de sesión único de un usuario para gestionar las sesiones de los usuarios en el sitio web. La cookie es de sesión y se borrará cuando se cierren todas las ventanas del navegador."})]})]})]})}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"AnalÃtica"}),(0,n.jsx)("p",{children:"Las cookies analÃticas se utilizan para comprender cómo interactúan los visitantes con el sitio web. Estas cookies ayudan a proporcionar información sobre métricas el número de visitantes, el porcentaje de rebote, la fuente de tráfico, etc."}),(0,n.jsx)("div",{className:"overflow-x-auto",children:(0,n.jsxs)("table",{className:"min-w-full border border-gray-300",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{className:"bg-gray-100",children:[(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Cookie"}),(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Duración"}),(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Descripción"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"_gcl_au"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"3 meses"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Google Tag Manager establece la cookie para experimentar la eficacia publicitaria de los sitios web que utilizan sus servicios.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"_ga"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"1 año 1 mes 4 dÃas"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Google Analytics establece esta cookie para calcular los datos de los visitantes, de las sesiones y de las campañas y para hacer un seguimiento del uso del sitio para el informe de análisis del sitio. La cookie almacena la información de forma anónima y asigna un número generado aleatoriamente para reconocer a los visitantes únicos.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"_ga_*"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"1 año 1 mes 4 dÃas"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Google Analytics establece esta cookie para almacenar y contar las visitas a la página.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"FPGSID"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"1 hora"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Almacena un identificador de sesión o de usuario para rastrear cómo interactúan los visitantes con un sitio web. Esto ayuda a Google Analytics a medir el rendimiento del sitio web, la interacción del usuario y los patrones de uso.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"__Secure-ROLLOUT_TOKEN"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"6 meses"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Es una cookie especial de YouTube/Google que se utiliza para administrar el lanzamiento de funciones, asignar usuarios a grupos de prueba para nuevas funciones (como cambios en la interfaz de usuario) para recopilar comentarios antes del lanzamiento general, garantizar pruebas consistentes y ayudar a medir el impacto, y está configurada para ser segura (HTTPS) por diseño.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"VISITOR_INFO1_LIVE"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"6 meses"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["YouTube establece esta cookie para medir el ancho de banda y determinar si el usuario recibe la nueva o la antigua interfaz del reproductor.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]})]})]})}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Publicidad"}),(0,n.jsx)("p",{children:"Las cookies publicitarias se utilizan para entregar a los visitantes anuncios personalizados basados en las páginas que visitaron antes y analizar la efectividad de la campaña publicitaria."}),(0,n.jsx)("div",{className:"overflow-x-auto",children:(0,n.jsxs)("table",{className:"min-w-full border border-gray-300",children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{className:"bg-gray-100",children:[(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Cookie"}),(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Duración"}),(0,n.jsx)("th",{className:"border border-gray-300 px-4 py-2",children:"Descripción"})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"gclid"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"sesión"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Permite el seguimiento detallado de campañas, la atribución y la medición de conversiones en plataformas como Google Analytics, al vincular la información del clic con el comportamiento del usuario.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"GCL_AW_P"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"3 meses"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Google utiliza esta cookie para publicidad, lo que incluye publicar y renderizar anuncios, personalizar anuncios (según su configuración de anuncios en g.co/adsettings), limitar la cantidad de veces que se muestra un anuncio a un usuario, silenciar los anuncios que ha decidido dejar de ver y medir la eficacia de los anuncios.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"IDE"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"1 año 24 dÃas"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Las cookies de Google DoubleClick IDE almacenan información sobre el uso que el usuario hace del sitio web para presentarle anuncios relevantes según su perfil.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"YSC"}),(0,n.jsx)("td",{className:"border border-gray-300 px-4 py-2",children:"sesión"}),(0,n.jsxs)("td",{className:"border border-gray-300 px-4 py-2",children:["Youtube establece esta cookie para hacer un seguimiento de las visualizaciones de los vÃdeos incrustados en las páginas de Youtube.",(0,n.jsx)("br",{}),(0,n.jsx)("strong",{children:"PolÃtica de privacidad del tercero:"})," ",(0,n.jsx)("a",{href:"https://policies.google.com/privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://policies.google.com/privacy"})]})]})]})]})}),(0,n.jsxs)("p",{children:["El portal del que es titular ",(0,n.jsx)("strong",{children:"Reyes Centro ClÃnico"})," puede contener enlaces a sitios web de terceros, cuyas polÃticas de privacidad son ajenas a la de ",(0,n.jsx)("strong",{children:"Reyes Centro ClÃnico"}),". Al acceder a tales sitios web usted puede decidir si acepta sus polÃticas de privacidad y de cookies. Con carácter general, si navega por internet usted puede aceptar o rechazar las cookies de terceros desde las opciones de configuración de su navegador."," ",(0,n.jsx)("strong",{children:"Reyes Centro ClÃnico"})," no se hace responsable, en ningún caso, ni del contenido ni de la veracidad de las polÃticas y/o condiciones de uso y privacidad de los terceros."]}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"3. Consentimiento"}),(0,n.jsx)("p",{children:"En relación con la utilización de cookies de este sitio web, el usuario autoriza y consiente su uso de la siguiente forma:"}),(0,n.jsx)("p",{children:"Cuando el usuario accede a cualquier página de la web, verá un aviso donde se indica que la página web de Reyes Centro ClÃnico utiliza cookies, pudiendo el usuario aceptar o rechazar o configurarlas mismas. Al hacer clic en aceptar, usted acepta el uso de nuestras cookies y, en su caso, las de terceros. A estos efectos, le indicamos que el panel de configuración permite la posibilidad de aceptarlas o rechazarlas por tipologÃa."}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"4. Plazos o criterios de conservación de los datos"}),(0,n.jsx)("p",{children:"Los datos obtenidos a través del uso de las cookies por usted seleccionad
1as, serán conservados durante el tiempo necesario para cumplir con las finalidades para los que fueron recopilados y durante el periodo de tiempo establecido para cada una de las cookies instaladas en el dispositivo."}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"5. Cómo bloquear, revocar o eliminar las cookies instaladas"}),(0,n.jsx)("p",{children:"Puede usted permitir, bloquear o eliminar las cookies instaladas en su equipo mediante la configuración de las opciones de su navegador. Puede encontrar información sobre cómo hacerlo, en relación con los navegadores más comunes en los links que se incluyen a continuación:"}),(0,n.jsxs)("ul",{className:"list-disc pl-6 overflow-scroll",children:[(0,n.jsxs)("li",{children:["Microsoft Edge:"," ",(0,n.jsx)("a",{href:"https://privacy.microsoft.com/es-es/windows-10-microsoft-edge-and-privacy",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://privacy.microsoft.com/es-es/windows-10-microsoft-edge-and-privacy"})]}),(0,n.jsxs)("li",{children:["Chrome:"," ",(0,n.jsx)("a",{href:"https://support.google.com/chrome/answer/95647",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://support.google.com/chrome/answer/95647"})]}),(0,n.jsxs)("li",{children:["Firefox:"," ",(0,n.jsx)("a",{href:"http://support.mozilla.org/es/kb/Borrar%20cookies",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"http://support.mozilla.org/es/kb/Borrar%20cookies"})]}),(0,n.jsxs)("li",{children:["Safari:"," ",(0,n.jsx)("a",{href:"http://support.apple.com/kb/ph5042",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"http://support.apple.com/kb/ph5042"})]}),(0,n.jsxs)("li",{children:["Opera:"," ",(0,n.jsx)("a",{href:"https://help.opera.com/en/latest/web-preferences/#cookies",className:"text-blue-600 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://help.opera.com/en/latest/web-preferences/#cookies"})]})]}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"6. Herramientas del sitio web"}),(0,n.jsx)("h3",{className:"text-lg font-medium",children:"Google Analytics"}),(0,n.jsx)("p",{children:"Siempre que contemos con su consentimiento, utilizaremos Google Analytics con fines estadÃsticos a efectos de comprender como interactúa con nuestro sitio web sin que Google identifique personalmente a cada visitante. A estos efectos, debe tener en cuenta que Google Analytics no registra ni almacena direcciones IP en ningún servidor, sino que emplea un modelo de medición basado en eventos y parámetros."}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"7. Destinatarios de la información"}),(0,n.jsx)("p",{children:"Le informamos de que los proveedores detallados en la presente polÃtica tienen acceso a la información obtenida a través de las cookies del sitio web. Asimismo, le informamos de que algunos de nuestros proveedores, y/o empresas colaboradoras pueden realizar transferencias a terceros paÃses. A estos efectos, le recomendamos que visite sus respectivas polÃticas de privacidad."}),(0,n.jsx)("h2",{className:"text-xl font-medium",children:"8. Modificaciones y actualización"}),(0,n.jsx)("p",{children:"La presente polÃtica de cookies puede verse modificada/actualizada en función de las exigencias legales establecidas o con la finalidad de adaptar dicha polÃtica a las instrucciones dictadas por la Agencia Española de Protección de Datos o por actualización de nuestro sitio web. Por esta razón, aconsejamos a los usuarios que visiten periódicamente nuestra polÃtica de cookies."}),(0,n.jsxs)("p",{children:["Si tiene dudas acerca de esta polÃtica de cookies, puede contactar con"," ",(0,n.jsx)("strong",{children:"Reyes Centro ClÃnico"})," a través del siguiente correo electrónico ",(0,n.jsx)("strong",{children:"[email protected]"}),"."]}),(0,n.jsxs)("p",{children:["Para obtener información adicional sobre el tratamiento de sus datos personales acuda a nuestra"," ",(0,n.jsx)("a",{href:"/politicas",className:"text-blue-600 hover:underline",children:"PolÃtica de Privacidad"}),"."]})]})}e.i(4942),e.i(21764),e.i(86222)},18672,e=>{"use strict";e.s(["default",()=>a],18672);var t=e.i(43476),r=e.i(12995);e.i(33999);var i=e.i(94151),i=i,n=e.i(32361),n=n;function a(){return(0,t.jsxs)("section",{id:"tratamientos",className:"max-w-7xl mx-auto flex-col my-24 justify-center",children:[(0,t.jsxs)("div",{className:"w-full flex flex-col lg:flex-row justify-between items-end",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("p",{className:"text-lg ml-18 font-semibold text-primary",children:"Nuestros servicios"}),(0,t.jsx)("h2",{className:"text-3xl font-bold text-center text-black ml-8 lg:ml-12 mb-20 mt-4 pr-2",children:"Descubre nuestras especialidades"})]}),(0,t.jsx)("div",{className:"pb-12 pr-4 lg:pr-0",children:(0,t.jsx)(n.default,{title:"Ver todos los servicios",href:"/tratamientos"})})]}),(0,t.jsx)("div",{className:"w-full grid grid-cols-1 lg:grid-cols-3 gap-8 lg:gap-12 mt-4",children:r.cardsData.map((e,r)=>{let{Svg:n,href:a,img:o,imgAlt:s,ptitle:l,title:c}=e;return(0,t.jsx)("div",{className:"h-full mx-auto",children:(0,t.jsx)(i.default,{ptitle:l,title:c,img:o,imgAlt:s,Svg:n,href:a})},r)})})]})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.