1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78457,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(71645);let o=(0,n.createContext)(!1);function a(t){let n,a=(0,i.c)(3),{children:s,draftMode:f}=t;return a[0]!==s||a[1]!==f?(n=(0,r.jsx)(o.Provider,{value:f,children:s}),a[0]=s,a[1]=f,a[2]=n):n=a[2],n}function s(){return(0,n.useContext)(o)}t.s(["DraftModeProvider",0,a,"useDraftMode",0,s])},48609,11564,49747,39815,t=>{"use strict";var r=t.i(43476);function i(t){return"contactModule"===t.sys.contentType.sys.id}var n=r,o=t.i(932),a=t.i(37950),s=t.i(19056),f=t.i(92652),c=t.i(5109),u=t.i(40697),l=r,d=o,h=a,p=t.i(98038),b=c,g=t.i(76405),m=r,y=o,v=a,x=t.i(57688),w=s,_=c,S=u,E=t.i(14786);let M=t=>{let r,i,n,o,a,s,f,c,u,l,d,h,p,b,g,M,A=(0,y.c)(47),{entrySysId:T,position:k,name:R,image:I,description:L,children:O,isLightBackground:j,index:N,itemsAmount:C,context:B}=t;A[0]!==T?(r={entryId:T},A[0]=T,A[1]=r):r=A[1];let P=(0,v.useContentfulInspectorMode)(r),D=B?.website==="olb",U=j?"text-fg-primary":"text-fg-on-emphasis",z=j?"text-bg-accent":"text-fg-accentOnEmphasis",H=`relative ${3===C&&2===N?"md:col-span-2 md:w-1/2 md:my-0 md:mx-auto xl:col-span-1 xl:w-full":4===C&&3===N?"xl:col-span-3 xl:w-1/3 xl:my-0 xl:mx-auto":""}`,Y=I?.src?"pt-[84px]":"pt-0";A[2]!==H||A[3]!==Y?(i=(0,w.twMerge)(H,Y),A[2]=H,A[3]=Y,A[4]=i):i=A[4],A[5]!==P?(n=P({fieldId:"none"}),A[5]=P,A[6]=n):n=A[6],A[7]!==I||A[8]!==D||A[9]!==C?(o=I?.src&&(0,m.jsx)("div",{className:(0,w.twJoin)("rounded-full w-fit absolute top-0 left-1/2 -translate-x-1/2",D?"border-fg-accentOnEmphasis border-8":""),children:(0,m.jsx)(x.default,{src:(0,E.transformContentfulAssetUrl)(I.src),...I.size,height:5,width:5,alt:I.description,sizes:(0,_.getImageSizes)(C),className:"object-cover aspect-square w-[160px] rounded-full"})}),A[7]=I,A[8]=D,A[9]=C,A[10]=o):o=A[10];let q=`${j?"bg-bg-primary":"bg-image-text-bg"}`,F=I?.src?"pt-[104px] md:pt-[124px]":"pt-6";return A[11]!==q||A[12]!==F?(a=(0,w.twMerge)(q,"h-full p-6 md:p-10 rounded-[20px] flex flex-col items-center gap-1 lg:gap-2",F),A[11]=q,A[12]=F,A[13]=a):a=A[13],A[14]!==z?(s=(0,w.twJoin)(S.TYPO_STYLES.topline(),z),A[14]=z,A[15]=s):s=A[15],A[16]!==k||A[17]!==s?(f=(0,m.jsx)("p",{className:s,children:k}),A[16]=k,A[17]=s,A[18]=f):f=A[18],A[19]!==U?(c=(0,w.twJoin)(S.TYPO_STYLES.headline5(),U),A[19]=U,A[20]=c):c=A[20],A[21]!==R||A[22]!==c?(u=(0,m.jsx)("h5",{className:c,children:R}),A[21]=R,A[22]=c,A[23]=u):u=A[23],A[24]!==U?(l=(0,w.twJoin)(S.TYPO_STYLES.copyM(),U),A[24]=U,A[25]=l):l=A[25],A[26]!==L||A[27]!==l?(d=(0,m.jsx)("p",{className:l,children:L}),A[26]=L,A[27]=l,A[28]=d):d=A[28],A[29]!==z?(h=(0,w.twJoin)(S.TYPO_STYLES.copyMHighlight(),z),A[29]=z,A[30]=h):h=A[30],A[31]!==O||A[32]!==h?(p=(0,m.jsx)("div",{className:h,children:O}),A[31]=O,A[32]=h,A[33]=p):p=A[33],A[34]!==u||A[35]!==d||A[36]!==p?(b=(0,m.jsxs)("div",{className:"flex flex-col gap-6 text-center",children:[u,d,p]}),A[34]=u,A[35]=d,A[36]=p,A[37]=b):b=A[37],A[38]!==f||A[39]!==b||A[40]!==a?(g=(0,m.jsxs)("div",{className:a,children:[f,b]}),A[38]=f,A[39]=b,A[40]=a,A[41]=g):g=A[41],A[42]!==g||A[43]!==i||A[44]!==n||A[45]!==o?(M=(0,m.jsxs)("div",{className:i,...n,children:[o,g]}),A[42]=g,A[43]=i,A[44]=n,A[45]=o,A[46]=M):M=A[46],M},A=t=>{let r,i,n,o=(0,d.c)(17),{entry:a,locale:s,context:f,isLightBackgroun
1d:c,index:u,itemsAmount:m}=t,y=(0,h.useContentfulLiveUpdates)(a);return o[0]!==y.fields.image?(r=y.fields.image?.fields?.file?.details.image&&{description:y.fields.image?.fields.description??"",size:y.fields.image.fields.file.details.image,src:(0,b.fetchContentfulImage)(y.fields.image?.fields.file.url)},o[0]=y.fields.image,o[1]=r):r=o[1],o[2]!==f||o[3]!==s||o[4]!==y.fields.contact?(i=y.fields.contact&&(0,p.documentToReactComponents)(y.fields.contact,{renderNode:(0,g.renderNode)(s,f),renderText:g.renderText}),o[2]=f,o[3]=s,o[4]=y.fields.contact,o[5]=i):i=o[5],o[6]!==f||o[7]!==a.sys.id||o[8]!==u||o[9]!==c||o[10]!==m||o[11]!==r||o[12]!==i||o[13]!==y.fields.description||o[14]!==y.fields.name||o[15]!==y.fields.position?(n=(0,l.jsx)(M,{context:f,entrySysId:a.sys.id,itemsAmount:m,index:u,isLightBackground:c,position:y.fields.position,description:y.fields.description,image:r,name:y.fields.name,children:i}),o[6]=f,o[7]=a.sys.id,o[8]=u,o[9]=c,o[10]=m,o[11]=r,o[12]=i,o[13]=y.fields.description,o[14]=y.fields.name,o[15]=y.fields.position,o[16]=n):n=o[16],n},T=t=>{let r,i,l,d,h,p,b,g,m=(0,o.c)(34),{entry:y,locale:v,context:x}=t,w=(0,f.useWebsitePredicate)(x.website);m[0]!==y.sys.id?(r={entryId:y.sys.id},m[0]=y.sys.id,m[1]=r):r=m[1];let _=(0,a.useContentfulInspectorMode)(r),S=(0,a.useContentfulLiveUpdates)(y);if(m[2]!==x||m[3]!==_||m[4]!==v||m[5]!==S.fields.contactItems||m[6]!==S.fields.headline||m[7]!==S.fields.isLightBackgroun
1d||m[8]!==S.fields.spaceBottom||m[9]!==S.fields.spaceTop||m[10]!==w){let t,r=(S.fields.contactItems||[]).filter(w);if(m[16]!==S.fields.spaceBottom||m[17]!==S.fields.spaceTop){let t=(0,c.getSpaceTopClass)((0,c.getEnumValue)(S.fields.spaceTop,c.SPACE,c.SPACE.xl)),r=(0,c.getSpaceBottomClass)((0,c.getEnumValue)(S.fields.spaceBottom,c.SPACE,c.SPACE.xl));d=(0,s.twMerge)(c.VIEWPORT_STYLES.viewport(),"flex gap-10 lg:gap-16 flex-col",r,t),m[16]=S.fields.spaceBottom,m[17]=S.fields.spaceTop,m[18]=d}else d=m[18];m[19]!==_?(h=_({fieldId:"none"}),m[19]=_,m[20]=h):h=m[20],m[21]===Symbol.for("react.memo_cache_sentinel")?(t=(0,s.twJoin)(u.TYPO_STYLES.headline3(),"text-fg-primary text-center"),m[21]=t):t=m[21],m[22]!==S.fields.headline?(p=(0,n.jsx)("h3",{className:t,children:S.fields.headline}),m[22]=S.fields.headline,m[23]=p):p=m[23];let o=2===r.length?"md:grid-cols-2":r.length>=3?"md:grid-cols-2 xl:grid-cols-3":"";m[24]!==o?(i=(0,s.twMerge)("grid grid-cols-1 gap-y-10 gap-x-6 lg:gap-y-10",o),m[24]=o,m[25]=i):i=m[25],l=r.map((t,i)=>
1(0,n.jsx)(A,{context:x,entry:t,locale:v,isLightBackground:S.fields.isLightBackground,index:i,itemsAmount:r.length},i)),m[2]=x,m[3]=_,m[4]=v,m[5]=S.fields.contactItems,m[6]=S.fields.headline,m[7]=S.fields.isLightBackground,m[8]=S.fields.spaceBottom,m[9]=S.fields.spaceTop,m[10]=w,m[11]=i,m[12]=l,m[13]=d,m[14]=h,m[15]=p}else i=m[11],l=m[12],d=m[13],h=m[14],p=m[15];return m[26]!==i||m[27]!==l?(b=(0,n.jsx)("div",{className:i,children:l}),m[26]=i,m[27]=l,m[28]=b):b=m[28],m[29]!==d||m[30]!==h||m[31]!==p||m[32]!==b?(g=(0,n.jsxs)("section",{className:d,...h,children:[p,b]}),m[29]=d,m[30]=h,m[31]=p,m[32]=b,m[33]=g):g=m[33],g},k={component:({context:t,moduleEntry:i,locale:n})=>(0,r.jsx)(T,{locale:n,entry:i,context:t}),supports:i};t.s(["contactModule",0,k],48609);var R=r;function I(t){return"highlightedInfoBoxModule"===t.sys.contentType.sys.id}var L=r,O=o,j=a,N=p,C=s,B=t.i(44411),P=t.i(40228),D=c,U=g,z=r,H=o,Y=x,q=t.i(22016),F=s,V=c,K=t.i(58720),$=t.i(50729),W=u,G=E;let J=t=>{let r,i,n,o,a,s,f,c,u,l=(0,H.c)(22),{children:d,headline:h,image:p,primaryButton:b,secondaryButton:g,context:m}=t,y="olb"===m.website;return l[0]!==p?(r=p?.src&&(0,z.jsx)(Y.default,{src:(0,G.transformContentfulAssetUrl)(p.src),...p.size,alt:p.description,sizes:(0,V.getImageSizes)(),className:"h-full max-w-[240px] xl:max-w-[300px] lg:order-last flex-1 aspect-square object-cover"}),l[0]=p,l[1]=r):r=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,F.twJoin)(W.TYPO_STYLES.headline5(),"text-text-highlightedinfo text-center lg:text-left"),l[2]=i):i=l[2],l[3]!==h?(n=(0,z.jsx)("h2",{className:i,children:h}),l[3]=h,l[4]=n):n=l[4],l[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,F.twMerge)(W.TYPO_STYLES.copyL(),"[&>p:last-child_br]:hidden comparison-rich-text text-text-highlightedinfo [&>p>a]:underline [&>p>a]:text-highlighted-richtext"),l[5]=o):o=l[5],l[6]!==d?(a=(0,z.jsx)("div",{className:o,children:d}),l[6]=d,l[7]=a):a=l[7],l[8]!==n||l[9]!==a?(s=(0,z.jsxs)("div",{className:"flex flex-col gap-6",children:[n,a]}),l[8]=n,l[9]=a,l[10]=s):s=l[10],l[11]!==m||l[12]!==y||l[13]!==b||l[14]!==g?(f=(b?.label||g?.label)&&(0,z.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row",children:[b?.label&&(0,z.jsxs)(q.default,{target:(0,V.getLinkTarget)(b.href),rel:(0,V.getLinkRel)(b.href),href:b.href,className:(0,F.twMerge)(y?K.BUTTON_STYLES.primary(m):K.BUTTON_STYLES.secondaryBig(m),!y&&"text-comp-action-sec-onEmphasis-foreground border-comp-action-sec-onEmphasis-foreground","flex gap-2"),prefetch:!1,children:[b.label,(0,z.jsx)("span",{className:W.TYPO_STYLES.icon(),children:(0,$.toHTMLCode)($.ICONS.arrowRight)})]}),g?.label&&(0,z.jsxs)(q.default,{target:(0,V.getLinkTarget)(g.href),rel:(0,V.getLinkRel)(g.href),href:g.href,className:(0,F.twMerge)(K.BUTTON_STYLES.primaryHighlightBig(m),"flex gap-2"),prefetch:!1,children:[g.label,(0,z.jsx)("span",{className:W.TYPO_STYLES.icon(),children:(0,$.toHTMLCode)($.ICONS.arrowRight)})]})]}),l[11]=m,l[12]=y,l[13]=b,l[14]=g,l[15]=f):f=l[15],l[16]!==s||l[17]!==f?(c=(0,z.jsxs)("div",{className:"flex flex-col gap-10 flex-2 items-center lg:items-start",children:[s,f]}),l[16]=s,l[17]=f,l[18]=c):c=l[18],l[19]!==r||l[20]!==c?(u=(0,z.jsxs)("div",{className:"bg-highlightedinfo rounded-4xl items-center pt-2 px-6 pb-10 md:pt-4 md:px-20 md:pb-10 lg:py-10 lg:pr-6 lg:pl-10 xl:p-10 xl:pr-16 flex flex-col gap-4 md:gap-5 lg:gap-10 lg:flex-row xl:gap-20",children:[r,c]}),l[19]=r,l[20]=c,l[21]=u):u=l[21],u},Z=t=>{let r,i,n,o,a,s,f,c,u,l,d,h,p,b=(0,O.c)(55),{locale:g,entry:m,context:y}=t,v=(0,j.useContentfulLiveUpdates)(m);b[0]!==m.sys.id?(r={entryId:m.sys.id},b[0]=m.sys.id,b[1]=r):r=b[1];let x=(0,j.useContentfulInspectorMode)(r);if(b[2]!==y||b[3]!==x||b[4]!==g||b[5]!==v.fields.background||b[6]!==v.fields.primaryLinkHref||b[7]!==v.fields.primaryLinkRef||b[8]!==v.fields.secondaryLinkHref||b[9]!==v.fields.secondaryLinkRef||b[10]!==v.fields.spaceBottom||b[11]!==v.fields.spaceTop){let t,r,f=(0,D.getSpaceTopClass)((0,D.getEnumValue)(v.fields.spaceTop,D.SPACE,D.SPACE.xl)),c=(0,D.getSpaceBottomClass)((0,D.getEnumValue)(v.fields.spaceBottom,D.SPACE,D.SPACE.xl));b[17]!==y||b[18]!==g||b[19]!==v.fields.primaryLinkHref||b[20]!==v.fields.primaryLinkRef?(t=(0,B.getLinkURL)(g,y,{...(0,P.getLinkTargetPageId)(v.fields.primaryLinkRef,y.website),href:v.fields.primaryLinkHref}),b[17]=y,b[18]=g,b[19]=v.fields.primaryLinkHref,b[20]=v.fields.primaryLinkRef,b[21]=t):t=b[21],i=t,b[22]!==y||b[23]!==g||b[24]!==v.fields.secondaryLinkHref||b[25]!==v.fields.secondaryLinkRef?(r=(0,B.getLinkURL)(g,y,{...(0,P.getLinkTargetPageId)(v.fields.secondaryLinkRef,y.website),href:v.fields.secondaryLinkHref}),b[22]=y,b[23]=g,b[24]=v.fields.secondaryLinkHref,b[25]=v.fields.secondaryLinkRef,b[26]=r):r=b[26],n=r,a=`${v.fields.background?"bg-bg-primary":"bg-bg-secondary"} w-full`,b[27]!==x?(s=x({fieldId:"none"}),b[27]=x,b[28]=s):s=b[28],o=(0,C.twJoin)(D.VIEWPORT_STYLES.viewport(),c,f),b[2]=y,b[3]=x,b[4]=g,b[5]=v.fields.background,b[6]=v.fields.primaryLinkHref,b[7]=v.fields.primaryLinkRef,b[8]=v.fields.secondaryLinkHref,b[9]=v.fields.secondaryLinkRef,b[10]=v.f
1ields.spaceBottom,b[11]=v.fields.spaceTop,b[12]=i,b[13]=n,b[14]=o,b[15]=a,b[16]=s}else i=b[12],n=b[13],o=b[14],a=b[15],s=b[16];return b[29]!==v.fields.image?(f=v.fields.image?.fields?.file?.details.image&&{description:v.fields.image.fields.description??"",size:v.fields.image.fields.file.details.image,src:(0,D.fetchContentfulImage)(v.fields.image.fields.file.url)},b[29]=v.fields.image,b[30]=f):f=b[30],b[31]!==i||b[32]!==v.fields.primaryLinkLabel?(c=i?{href:i,label:v.fields.primaryLinkLabel||"what?"}:void 0,b[31]=i,b[32]=v.fields.primaryLinkLabel,b[33]=c):c=b[33],b[34]!==n||b[35]!==v.fields.secondaryLinkLabel?(u=n?{href:n,label:v.fields.secondaryLinkLabel||"what?"}:void 0,b[34]=n,b[35]=v.fields.secondaryLinkLabel,b[36]=u):u=b[36],b[37]!==y||b[38]!==g||b[39]!==v.fields.description?(l=v.fields.description&&(0,N.documentToReactComponents)(v.fields.description,{renderNode:(0,U.renderNode)(g,y),renderText:U.renderText}),b[37]=y,b[38]=g,b[39]=v.fields.description,b[40]=l):l=b[40],b[41]!==y||b[42]!==f||b[43]!==c||b[44]!==u||b[45]!==l||b[46]!==v.fields.headline?(d=(0,L.jsx)(J,{headline:v.fields.headline,image:f,primaryButton:c,secondaryButton:u,context:y,children:l}),b[41]=y,b[42]=f,b[43]=c,b[44]=u,b[45]=l,b[46]=v.fields.headline,b[47]=d):d=b[47],b[48]!==o||b[49]!==d?(h=(0,L.jsx)("div",{className:o,children:d}),b[48]=o,b[49]=d,b[50]=h):h=b[50],b[51]!==h||b[52]!==a||b[53]!==s?(p=(0,L.jsx)("section",{className:a,...s,children:h}),b[51]=h,b[52]=a,b[53]=s,b[54]=p):p=b[54],p},X={component:({context:t,moduleEntry:r,locale:i})=>(0,R.jsx)(Z,{locale:i,entry:r,context:t}),supports:I};t.s(["highlightedInfoBoxModule",0,X],11564);var Q=t.i(33706);let ee=Q.pageLogger.child({module:"entities/module-switch"}),et=({moduleEntry:t,pageId:r,locale:i,context:n,ignoredModules:o,supportedModules:a})=>{if(!t)return(0,Q.logError)(ee,"Undefined module entry",{pageId:r}),null;try{if(t.sys.contentType){if(o?.find(r=>r(t)))return null;for(let o of a)if(o.supports(t))return o.component({context:n,locale:i,moduleEntry:t,pageId:r});return(0,Q.logWarn)(ee,"Invalid Module Type",{moduleType:t.sys.contentType.sys.id}),null}return(0,Q.logWarn)(ee,"Page has invalid field modules",{pageId:r}),null}catch(r){return(0,Q.logError)(ee,"Invalid type reference of page",{moduleType:t.sys.contentType.sys.id},r),null}};t.s(["ModuleSwitch",0,et],49747);var er=r;function ei(t){return"videoModule"===t.sys.contentType.sys.id}var en=t.i(36127);let eo={component:({context:t,moduleEntry:r,locale:i})=>(0,er.jsx)(en.VideoModulePreview,{locale:i,entry:r,context:t}),supports:ei};t.s(["videoModule",0,eo],39815)},8444,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(22016),o=t.i(19056),a=t.i(30731),s=t.i(24307),f=t.i(40228),c=t.i(5109),u=t.i(58720),l=t.i(40697),d=t.i(77319);let h=t=>{let f,h,g,m,y,v,x,w,_,S,E,M=(0,i.c)(23),{links:A,context:T,locale:k,buttonToShow:R,econButton:I}=t,L=T?.website==="olb",O=T?.website==="neelmeyer";M[0]===Symbol.for("react.memo_cache_sentinel")?(f=new Date().getFullYear(),M[0]=f):f=M[0];let j=f,N=k===c.LOCALES.en?s.default:a.default;M[1]===Symbol.for("react.memo_cache_sentinel")?(h=(0,o.twMerge)(c.VIEWPORT_STYLES.footerViewport(),"flex flex-col gap-4 lg:gap-2"),g=(0,o.twJoin)(l.TYPO_STYLES.copyS(),"text-text-footer text-14"),M[1]=h,M[2]=g):(h=M[1],g=M[2]);let C=L?N.footer.OLBBank:O?N.footer.NeelmeyerBank:"";return M[3]!==C?(m=(0,r.jsxs)("p",{className:g,children:["©",C," ",j]}),M[3]=C,M[4]=m):m=M[4],M[5]!==A?(y=A?.map(p),M[5]=A,M[6]=y):y=M[6],M[7]===Symbol.for("react.memo_cache_sentinel")?(v=(0,o.twJoin)(l.TYPO_STYLES.copySLink(),"text-comp-link-onPrim-enabled text-14 cursor-pointer"),M[7]=v):v=M[7],M[8]!==N.footer.privacySettings?(x=(0,r.jsx)("li",{className:"after:border-r-1 after:pl-4 last:after:border-0",children:(0,r.jsx)("button",{type:"button",onClick:b,className:v,children:N.footer.privacySettings})}),M[8]=N.footer.privacySettings,M[9]=x):x=M[9],M[10]!==y||M[11]!==x?(w=(0,r.jsxs)("ul",{className:"flex gap-2 flex-wrap relative",children:[y,x]}),M[10]=y,M[11]=x,M[12]=w):w=M[12],M[13]!==R||M[14]!==T||M[15]!==I||M[16]!==O?(_=R&&I&&(0,r.jsx)(n.default,{target:(0,c.getLinkTarget)(I.href),rel:(0,c.getLinkRel)(I.href),href:I.href,className:(0,o.twMerge)(u.BUTTON_STYLES.secondary(T),"flex gap-2 max-w-none w-fit h-8 font-bold mt-2",O&&"text-white border-white"),prefetch:!1,children:I.label}),M[13]=R,M[14]=T,M[15]=I,M[16]=O,M[17]=_):_=M[17],M[18]===Symbol.for("react.memo_cache_sentinel")?(S=(0,r.jsx)(d.ScrollButtonView,{}),M[18]=S):S=M[18],M[19]!==_||M[20]!==m||M[21]!==w?(E=(0,r.jsxs)("div",{className:h,children:[m,w,_,S]}),M[19]=_,M[20]=m,M[21]=w,M[22]=E):E=M[22],E};function p(t){return(0,r.jsx)("li",{className:"after:border-r-1 after:pl-4 last:after:border-0",children:(0,r.jsx)(n.default,{target:(0,c.getLinkTarget)(t.href),rel:(0,c.getLinkRel)(t.href),href:t.href,className:(0,o.twJoin)(l.TYPO_STYLES.copySLink(),"text-comp-link-onPrim-enabled text-14"),prefetch:!1,children:t.label})},t.id)}function b(t){(0,f.openPrivacySettingsDialog)(t)}t.s(["FooterLinksView",0,h])},53288,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(22016),o=t.i(71645),a=t.i(19056),s=t.i(5109),f=t.i(36720),c=t.i(50729),u=t.i(40697);let l=t=>{let n,l,h,p,b,g,m=(0,i.c)(14),{linkBlock:y}=t;m[0]===Symbol.for("react.memo_cache_sentinel")?(n={},m[0]=n):n=m[0];let[v,x]=(0,o.useState)(n),[w,_]=(0,o.useState)(!1),S=(0,f.useWindowSize)();m[1]!==S.width?(l=()=>{_(S.width<s.BREAKPOINTS.md)},m[1]=S.width,m[2]=l):l=m[2],m[3]!==S?(h=[S],m[3]=S,m[4]=h):h=m[4],(0,o.useEffect)(l,h),m[5]!==w?(p=t=>{w&&x(r=>({...r,[t]:!r[t]}))},m[5]=w,m[6]=p):p=m[6];let E=p;
1return m[7]!==w||m[8]!==y||m[9]!==v||m[10]!==E?(b=y?.map(t=>(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>E(t.id),className:"flex justify-between items-center",children:[(0,r.jsx)("span",{className:(0,a.twJoin)(u.TYPO_STYLES.headline7(),"text-text-footer text-20"),children:t.label}),w&&(0,r.jsx)("span",{className:(0,a.twJoin)(u.TYPO_STYLES.icon(),"text-16"),children:(0,c.toHTMLCode)(v[t.id]?c.ICONS.chevronUp:c.ICONS.chevronDown)})]}),(v[t.id]||!w)&&(0,r.jsx)("ul",{className:"flex flex-col gap-4",children:t.items.map(d)})]},t.id)),m[7]=w,m[8]=y,m[9]=v,m[10]=E,m[11]=b):b=m[11],m[12]!==b?(g=(0,r.jsx)("div",{className:"flex flex-col md:flex-row w-full gap-10",children:b}),m[12]=b,m[13]=g):g=m[13],g};function d(t){return(0,r.jsx)("li",{className:(0,a.twJoin)(u.TYPO_STYLES.copyM(),"text-text-footer text-16"),children:(0,r.jsxs)(n.default,{href:t.href,target:(0,s.getLinkTarget)(t.href),rel:(0,s.getLinkRel)(t.href),prefetch:!1,className:"flex flex-row items-center gap-2 group relative justify-start",children:[(0,r.jsx)("p",{children:t.label}),(0,r.jsx)("span",{className:(0,a.twJoin)(u.TYPO_STYLES.icon(),"text-16 pt-0.5 lg:opacity-0 lg:group-hover:opacity-100 lg:group-hover:translate-x-1 lg:transition-all duration-700 ease-in-out"),children:(0,c.toHTMLCode)(c.ICONS.arrowRight)})]})},t.id)}t.s(["FooterSecondaryModuleView",0,l])},75545,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(57688),o=t.i(22016),a=t.i(71645),s=t.i(19056),f=t.i(5109),c=t.i(36720),u=t.i(58720),l=t.i(50729),d=t.i(40697),h=t.i(46543);let p=t=>{let p,g,m,y,v,x,w,_,S,E,M,A,T,k,R,I,L,O,j,N,C,B,P,D,U,z,H,Y=(0,i.c)(76),{secondaryButton:q,aiSearchButton:F,navItems:V,children:K,primaryButton:$,locale:W,context:G}=t,[J,Z]=(0,a.useState)(!1),X=(0,c.useWindowSize)(),[Q,ee]=(0,a.useState)(0);Y[0]===Symbol.for("react.memo_cache_sentinel")?(p=t=>{ee(t)},Y[0]=p):p=Y[0];let et=p,er=()=>{eo(b)};Y[1]!==X.width?(g=()=>{Z(X.width<f.BREAKPOINTS.xl)},Y[1]=X.width,Y[2]=g):g=Y[2],Y[3]!==X?(m=[X],Y[3]=X,Y[4]=m):m=Y[4],(0,a.useEffect)(g,m);let[ei,en]=(0,a.useState)(!1),eo=en,[ea,es]=(0,a.useState)(),[ef,ec]=(0,a.useState)(!1);Y[5]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{let t=t=>{("Tab"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"ArrowLeft"===t.key||"ArrowRight"===t.key)&&ec(!0)},r=()=>{ec(!1)};return window.addEventListener("keydown",t),window.addEventListener("mousedown",r),()=>{window.removeEventListener("keydown",t),window.removeEventListener("mousedown",r)}},v=[],Y[5]=y,Y[6]=v):(y=Y[5],v=Y[6]),(0,a.useEffect)(y,v),Y[7]===Symbol.for("react.memo_cache_sentinel")?(x=(0,s.twMerge)("sticky top-0 w-full z-20 flex justify-center"),Y[7]=x):x=Y[7];let eu=ei?"":"header-box-shadow";Y[8]!==eu?(w=(0,s.twMerge)("h-[96px] relative w-full flex items-center justify-between xl:justify-start gap-4 xl:gap-10 px-4 xl:px-14 bg-bg-primary",eu),Y[8]=eu,Y[9]=w):w=Y[9];let el=W===f.DEFAULT_LOCALE?"/":`/${W}`;Y[10]!==J?(_=!J&&(0,r.jsx)(n.default,{src:"/neelmeyer_logo.svg",alt:"logo",title:"logo",width:71,height:64}),Y[10]=J,Y[11]=_):_=Y[11],Y[12]!==J?(S=J&&(0,r.jsx)(n.default,{src:"/neelmeyer_logo_mobile.svg",alt:"logo",title:"logo",width:24,height:40}),Y[12]=J,Y[13]=S):S=Y[13],Y[14]!==el||Y[15]!==_||Y[16]!==S?(E=(0,r.jsxs)(o.default,{href:el,className:"p-2 xl:static",prefetch:!1,children:[_,S]}),Y[14]=el,Y[15]=_,Y[16]=S,Y[17]=E):E=Y[17];let ed=ei?"flex":"hidden",eh=1===Q?"-left-[100%]":2===Q?"-left-[200%]":2===Q?"-left-[300%]":"left-0";return Y[18]!==ed||Y[19]!==eh?(M=(0,s.twJoin)(ed,"transition-[left] duration-500 ease-in-out absolute -z-1 top-0 h-dvh pt-28 w-full bg-bg-primary flex-col px-12 pb-12","xl:h-full xl:flex xl:z-auto xl:flex-row xl:static xl:bg-transparent xl:gap-0 xl:pt-0 justify-between xl:p-0",eh),Y[18]=ed,Y[19]=eh,Y[20]=M):M=Y[20],Y[21]===Symbol.for("react.memo_cache_sentinel")?(A=(0,s.twMerge)("flex flex-col xl:flex-row xl:gap-10 gap-6 [&>div.switcher]:items-center text-fg-primary [&>div.switcher>div>div]:bg-border-switcher"),Y[21]=A):A=Y[21],Y[22]!==G||Y[23]!==ef||Y[24]!==J||Y[25]!==ei||Y[26]!==V||Y[27]!==ea||Y[28]!==eo?(T=(0,r.jsx)(h.NavigationView,{hasScrollTop:!1,isMobile:J,navItems:V,onLevelClick:et,isKeyboardUser:ef,isSubmenuVisible:ei,setIsSubmenuVisible:eo,selectedItem:ea,setSelectedItem:es,context:G}),Y[22]=G,Y[23]=ef,Y[24]=J,Y[25]=ei,Y[26]=V,Y[27]=ea,Y[28]=eo,Y[29]=T):T=Y[29],Y[30]!==K||Y[31]!==T?(k=(0,r.jsxs)("div",{className:A,children:[K,T]}),Y[30]=K,Y[31]=T,Y[32]=k):k=Y[32],Y[33]!==F||Y[34]!==J?(R=F?.href&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(F.href),rel:(0,f.getLinkRel)(F.href),prefetch:!1,className:(0,s.twJoin)("flex items-center gap-2 xl:py-0 rounded-[8px] focus:outline-2 focus:outline-border-focus p-2 min-h-9 text-20 leading-140 font-bold"," xl:font-medium xl:text-16 xl:px-2",`${!J?"xl:text-fg-primary xl:hover:text-bg-accent":"text-fg-on-accent xl:hover:text-fg-accentOnEmphasis"}`),href:F.href,children:[!J&&(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-20"),children:String.fromCharCode(Number(`0x${F.icon}`))}),J&&(0,r.jsxs)(r.Fragment,{children:[F.label,(0,r.jsx)("span",{className:(0,s.twMerge)(d.TYPO_STYLES.icon(),"text-24 mt-1"),children:(0,l.toHTMLCode)(l.ICONS.arrowRight)})]})]}),Y[33]=F,Y[34]=J,Y[35]=R):R=Y[35],Y[36]!==R?(I=(0,r.jsx)("div",{className:"flex items-center",children:R}),Y[36]=R,Y[37]=I):I=Y[37],Y[38]!==G||Y[39]!==J||Y[40]!==$?(L=$?.label&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)($.href),rel:(0,f.getLinkRel)($.href),className:(0,s.twMerge)(u.BUTTON_STYLES.secondaryBig(G),"max-w-none w-full md:max-w-[297px] flex gap-2"),href:$.href,prefetch:!1,children:[$.icon&&J&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${$.icon}`))}),(0,r.jsx)("span",{children:$.label})]}),Y[38]=G,Y[39]=J,Y[40]=$,Y[41]=L):L=Y[41],Y[42]!==G||Y[43]!==J||Y[44]!==q?(O=q?.label&&!J&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(q.href),rel:(0,f.getLinkRel)(q.href),className:(0,s.twMerge)(u.BUTTON_STYLES.primaryHighlightBig(G),"max-w-none w-full md:max-w-[297px] flex gap-2"),href:q.href,prefetch:!1,children:[q.icon&&J&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${q.icon}`))}),(0,r.jsx)("span",{children:q.label})]}),Y[42]=G,Y[43]=J,Y[44]=q,Y[45]=O):O=Y[45],Y[46]!==L||Y[47]!==O?(j=(0,r.jsxs)("div",{className:"flex flex-col gap-2 xl:flex-row xl:gap-4 xl:items-center md:items-start",children:[L,O]}),Y[46]=L,Y[47]=O,Y[48]=j):j=Y[48],Y[49]!==I||Y[50]!==j?(N=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between gap-4 h-full",children:[I,j]}),Y[49]=I,Y[50]=j,Y[51]=N):N=Y[51],Y[52]!==M||Y[53]!==k||Y[54]!==N?(C=(0,r.jsxs)("nav",{className:M,children:[k,N]}),Y[52]=M,Y[53]=k,Y[54]=N,Y[55]=C):C=Y[55],Y[56]!==G||Y[57]!==q?(B=q?.label&&(0,r.jsx)(o.default,{target:(0,f.getLinkTarget)(q.href),rel:(0,f.getLinkRel)(q.href),className:(0,s.twMerge)(u.BUTTON_STYLES.primaryHighlightBig(G),"max-w-none w-full md:w-auto md:max-w-[297px] border-0"),href:q.href,prefetch:!1,children:(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[q.icon&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${q.icon}`))}),(0,r.jsx)("span",{className:"hidden sm:block",children:q.label})]})}),Y[56]=G,Y[57]=q,Y[58]=B):B=Y[58],Y[59]!==er||Y[60]!==ei?(P=!ei&&
1(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:er,children:(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-40 text-fg-primary"),children:(0,l.toHTMLCode)(l.ICONS.menu)})}),Y[59]=er,Y[60]=ei,Y[61]=P):P=Y[61],Y[62]!==er||Y[63]!==ei?(D=ei&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:er,children:(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-40 text-fg-primary"),children:(0,l.toHTMLCode)(l.ICONS.close)})}),Y[62]=er,Y[63]=ei,Y[64]=D):D=Y[64],Y[65]!==P||Y[66]!==D?(U=(0,r.jsxs)("div",{className:" bg-bg-primary p-2 block",children:[P,D]}),Y[65]=P,Y[66]=D,Y[67]=U):U=Y[67],Y[68]!==B||Y[69]!==U?(z=(0,r.jsxs)("div",{className:"flex flex-row gap-4 items-center xl:hidden",children:[B,U]}),Y[68]=B,Y[69]=U,Y[70]=z):z=Y[70],Y[71]!==E||Y[72]!==C||Y[73]!==z||Y[74]!==w?(H=(0,r.jsx)("header",{className:x,children:(0,r.jsxs)("div",{className:w,children:[E,C,z]})}),Y[71]=E,Y[72]=C,Y[73]=z,Y[74]=w,Y[75]=H):H=Y[75],H};function b(t){return!t}t.s(["HeaderNeelmeyerView",0,p])},77352,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(57688),o=t.i(22016),a=t.i(71645),s=t.i(19056),f=t.i(5109),c=t.i(54620),u=t.i(36720),l=t.i(58720),d=t.i(50729),h=t.i(40697),p=t.i(25270),b=t.i(46543);let g=t=>{let g,y,v,x,w,_,S,E,M,A,T,k,R,I,L,O,j,N,C,B,P,D,U,z,H,Y,q,F,V,K,$,W=(0,i.c)(95),{plainButton:G,secondaryButton:J,primaryButton:Z,navItems:X,quickLinks:Q,children:ee,locale:et,context:er,aiSearchButton:ei}=t,[en,eo]=(0,a.useState)(!1),[ea,es]=(0,a.useState)(!1),ef=(0,c.useWindowScroll)(),ec=(0,u.useWindowSize)(),[eu,el]=(0,a.useState)(0);W[0]===Symbol.for("react.memo_cache_sentinel")?(g=t=>{el(t)},W[0]=g):g=W[0];let ed=g,eh=()=>{eg(m)};W[1]!==ec.width?(y=()=>{let t=ec.width<f.BREAKPOINTS.xl,r=0!==ec.width&&ec.width<f.BREAKPOINTS.lg;eo(t),es(r)},W[1]=ec.width,W[2]=y):y=W[2],W[3]!==ec?(v=[ec],W[3]=ec,W[4]=v):v=W[4],(0,a.useEffect)(y,v);let[ep,eb]=(0,a.useState)(!1),eg=eb,[em,ey]=(0,a.useState)(),[ev,ex]=(0,a.useState)(!1);W[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>{let t=t=>{("Tab"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"ArrowLeft"===t.key||"ArrowRight"===t.key)&&ex(!0)},r=()=>{ex(!1)};return window.addEventListener("keydown",t),window.addEventListener("mousedown",r),()=>{window.removeEventListener("keydown",t),window.removeEventListener("mousedown",r)}},w=[],W[5]=x,W[6]=w):(x=W[5],w=W[6]),(0,a.useEffect)(x,w),W[7]===Symbol.for("react.memo_cache_sentinel")?(_=(0,s.twMerge)("sticky top-0 w-full z-20 flex justify-center"),S=f.VIEWPORT_STYLES.headerViewport(),W[7]=_,W[8]=S):(_=W[7],S=W[8]);let ew=!en&&ef?"bg-bg-primary":"bg-bg-accent",e_=ep?"":"header-box-shadow";W[9]!==e_||W[10]!==ew?(E=(0,s.twMerge)("h-[80px] relative mx-auto flex items-center justify-between xl:justify-start gap-4 xl:gap-10 xl:mt-4 xl:rounded-[40px] pr-4 pl-4 xl:pl-[22px]",ew,e_),W[9]=e_,W[10]=ew,W[11]=E):E=W[11];let eS=et===f.DEFAULT_LOCALE?"/":`/${et}`;W[12]!==ef||W[13]!==en?(M=!en&&ef&&(0,r.jsx)(n.default,{src:"/logo.svg",alt:"logo",title:"logo",width:106,height:36,className:"h-[36px] w-[106px] min-w-[106px]"}),W[12]=ef,W[13]=en,W[14]=M):M=W[14],W[15]!==ef||W[16]!==en?(A=(en||!ef)&&(0,r.jsx)(n.default,{src:"/logo_dark.svg",alt:"logo",title:"logo",width:106,height:40,className:"h-[36px] w-[106px] min-w-[106px]"}),W[15]=ef,W[16]=en,W[17]=A):A=W[17],W[18]!==eS||W[19]!==M||W[20]!==A?(T=(0,r.jsxs)(o.default,{href:eS,className:"p-2 xl:static",prefetch:!1,children:[M,A]}),W[18]=eS,W[19]=M,W[20]=A,W[21]=T):T=W[21];let eE=ep?"flex":"hidden",eM=1===eu?"-left-[100%]":2===eu?"-left-[200%]":2===eu?"-left-[300%]":"left-0";W[22]!==eE||W[23]!==eM?(k=(0,s.twJoin)(eE,"transition-[left] duration-500 ease-in-out absolute -z-1 top-0 h-dvh pt-28 w-full bg-bg-accent flex-col px-12 pb-12","xl:h-full xl:flex xl:z-auto xl:flex-row xl:static xl:bg-transparent xl:gap-0 xl:pt-0 xl:justify-between xl:p-0",eM),W[22]=eE,W[23]=eM,W[24]=k):k=W[24];let eA=!en&&ef?"text-fg-primary [&>div.switcher>div>div]:bg-border-primary":"text-fg-on-accent [&>div.switcher>div>div]:bg-border-on-accent";W[25]!==eA?(R=(0,s.twMerge)("flex flex-col xl:flex-row xl:gap-10 gap-6 [&>div.switcher]:items-center",eA),W[25]=eA,W[26]=R):R=W[26],W[27]!==er||W[28]!==et||W[29]!==Q||W[30]!==ea?(I=ea&&Q&&(0,r.jsx)(p.QuickLinksModuleView,{entry:Q,locale:et,context:er}),W[27]=er,W[28]=et,W[29]=Q,W[30]=ea,W[31]=I):I=W[31],W[32]!==ef||W[33]!==ev||W[34]!==en||W[35]!==ep||W[36]!==X||W[37]!==em||W[38]!==eg?
1(L=(0,r.jsx)(b.NavigationView,{isMobile:en,hasScrollTop:ef,navItems:X,onLevelClick:ed,isKeyboardUser:ev,isSubmenuVisible:ep,setIsSubmenuVisible:eg,selectedItem:em,setSelectedItem:ey}),W[32]=ef,W[33]=ev,W[34]=en,W[35]=ep,W[36]=X,W[37]=em,W[38]=eg,W[39]=L):L=W[39],W[40]!==ee||W[41]!==R||W[42]!==I||W[43]!==L?(O=(0,r.jsxs)("div",{className:R,children:[I,ee,L]}),W[40]=ee,W[41]=R,W[42]=I,W[43]=L,W[44]=O):O=W[44],W[45]!==ef||W[46]!==en||W[47]!==G?(j=G?.label&&(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(G.href),rel:(0,f.getLinkRel)(G.href),prefetch:!1,className:(0,s.twJoin)("flex items-center gap-2 xl:py-0 rounded-[8px] focus:outline-2 focus:outline-border-focus p-2 min-h-9 text-fg-on-accent text-20 leading-140 font-bold"," xl:font-medium xl:text-16 xl:hover:underline xl:px-1.5",`${!en&&ef?"xl:text-fg-primary xl:hover:text-bg-accent":"text-fg-on-accent xl:hover:text-fg-accentOnEmphasis"}`),href:G.href,children:[G.icon&&(0,r.jsx)("span",{className:(0,s.twMerge)(h.TYPO_STYLES.icon(),"hidden xl:block"),children:String.fromCharCode(Number(`0x${G.icon}`))}),G.label,(0,r.jsx)("span",{className:(0,s.twMerge)(h.TYPO_STYLES.icon(),"text-24 xl:hidden"),children:(0,d.toHTMLCode)(d.ICONS.arrowRight)})]})}),W[45]=ef,W[46]=en,W[47]=G,W[48]=j):j=W[48],W[49]!==ei||W[50]!==ef||W[51]!==en?(N=ei?.href&&(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(ei.href),rel:(0,f.getLinkRel)(ei.href),prefetch:!1,className:(0,s.twJoin)("flex items-center gap-2 xl:py-0 rounded-[8px] focus:outline-2 focus:outline-border-focus p-2 min-h-9 text-fg-on-accent text-20 leading-140 font-bold"," xl:font-medium xl:text-16 xl:px-2",`${!en&&ef?"xl:text-fg-primary xl:hover:text-bg-accent":"text-fg-on-accent xl:hover:text-fg-accentOnEmphasis"}`),href:ei.href,children:[!en&&(0,r.jsx)("span",{className:(0,s.twJoin)(h.TYPO_STYLES.icon(),"text-20"),children:String.fromCharCode(Number(`0x${ei.icon}`))}),en&&(0,r.jsxs)(r.Fragment,{children:[ei.label,(0,r.jsx)("span",{className:(0,s.twMerge)(h.TYPO_STYLES.icon(),"text-24"),children:(0,d.toHTMLCode)(d.ICONS.arrowRight)})]})]})}),W[49]=ei,W[50]=ef,W[51]=en,W[52]=N):N=W[52],W[53]!==j||W[54]!==N?(C=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row xl:gap-4",children:[j,N]}),W[53]=j,W[54]=N,W[55]=C):C=W[55];let eT=en&&"pb-14";return W[56]!==eT?(B=(0,s.twJoin)("flex flex-col gap-2 xl:flex-row xl:gap-4 xl:items-center md:items-start",eT),W[56]=eT,W[57]=B):B=W[57],W[58]!==ef||W[59]!==en||W[60]!==Z?(P=Z?.label&&!en&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(Z.href),rel:(0,f.getLinkRel)(Z.href),className:(0,s.twMerge)(!en&&ef?l.BUTTON_STYLES.secondaryBig():l.BUTTON_STYLES.secondaryDark(),"max-w-none w-full md:w-auto md:max-w-[297px] flex gap-2"),href:Z.href,prefetch:!1,children:[Z.icon&&en&&(0,r.jsx)("span",{className:h.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${Z.icon}`))}),Z.label]}),W[58]=ef,W[59]=en,W[60]=Z,W[61]=P):P=W[61],W[62]!==en||W[63]!==J?(D=J?.label&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(J.href),rel:(0,f.getLinkRel)(J.href),className:(0,s.twMerge)(l.BUTTON_STYLES.primaryHighlightBig(),"max-w-none w-full md:w-auto md:max-w-[297px] flex gap-2"),href:J.href,prefetch:!1,children:[J.icon&&en&&(0,r.jsx)("span",{className:h.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${J.icon}`))}),J.label]}),W[62]=en,W[63]=J,W[64]=D):D=W[64],W[65]!==B||W[66]!==P||W[67]!==D?(U=(0,r.jsxs)("div",{className:B,children:[P,D]}),W[65]=B,W[66]=P,W[67]=D,W[68]=U):U=W[68],W[69]!==C||W[70]!==U?(z=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between gap-4 h-full",children:[C,U]}),W[69]=C,W[70]=U,W[71]=z):z=W[71],W[72]!==k||W[73]!==O||W[74]!==z?(H=(0,r.jsxs)("nav",{className:k,children:[O,z]}),W[72]=k,W[73]=O,W[74]=z,W[75]=H):H=W[75],W[76]!==Z?(Y=Z?.label&&(0,r.jsx)(o.default,{target:(0,f.getLinkTarget)(Z.href),rel:(0,f.getLinkRel)(Z.href),className:(0,s.twMerge)(l.BUTTON_STYLES.primaryHighlightBig(),"max-w-none w-full md:w-auto md:max-w-[297px] border-0"),href:Z.href,prefetch:!1,children:(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[Z.icon&&(0,r.jsx)("span",{className:h.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${Z.icon}`))}),(0,r.jsx)("span",{className:"hidden sm:block",children:Z.label})]})}),W[76]=Z,W[77]=Y):Y=W[77],W[78]!==eh||W[79]!==ep?(q=!ep&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:eh,children:(0,r.jsx)("span",{className:(0,s.twJoin)(h.TYPO_STYLES.icon(),"text-40 text-bg-primary"),children:(0,d.toHTMLCode)(d.ICONS.menu)})}),W[78]=eh,W[79]=ep,W[80]=q):q=W[80],W[81]!==eh||W[82]!==ep?(F=ep&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:eh,children:(0,r.jsx)("span",{className:(0,s.twJoin)(h.TYPO_STYLES.icon(),"text-40 text-bg-primary"),children:(0,d.toHTMLCode)(d.ICONS.close)})}),W[81]=eh,W[82]=ep,W[83]=F):F=W[83],W[84]!==q||W[85]!==F?(V=(0,r.jsxs)("div",{className:"bg-bg-accent p-2 block",children:[q,F]}
1),W[84]=q,W[85]=F,W[86]=V):V=W[86],W[87]!==Y||W[88]!==V?(K=(0,r.jsxs)("div",{className:"flex flex-row gap-4 items-center xl:hidden",children:[Y,V]}),W[87]=Y,W[88]=V,W[89]=K):K=W[89],W[90]!==E||W[91]!==T||W[92]!==H||W[93]!==K?($=(0,r.jsx)("header",{className:_,children:(0,r.jsx)("div",{className:S,children:(0,r.jsxs)("div",{className:E,children:[T,H,K]})})}),W[90]=E,W[91]=T,W[92]=H,W[93]=K,W[94]=$):$=W[94],$};function m(t){return!t}t.s(["HeaderOLBView",0,g])},56316,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(57688),o=t.i(22016),a=t.i(71645),s=t.i(19056),f=t.i(5109),c=t.i(36720),u=t.i(58720),l=t.i(50729),d=t.i(40697),h=t.i(46543);let p=t=>{let p,g,m,y,v,x,w,_,S,E,M,A,T,k,R,I,L,O,j,N,C,B,P,D,U,z=(0,i.c)(68),{secondaryButton:H,primaryButton:Y,aiSearchButton:q,navItems:F,children:V,locale:K}=t,[$,W]=(0,a.useState)(!1),G=(0,c.useWindowSize)(),[J,Z]=(0,a.useState)(0);z[0]===Symbol.for("react.memo_cache_sentinel")?(p=t=>{Z(t)},z[0]=p):p=z[0];let X=p,Q=()=>{er(b)};z[1]!==G.width?(g=()=>{W(G.width<f.BREAKPOINTS.xl)},z[1]=G.width,z[2]=g):g=z[2],z[3]!==G?(m=[G],z[3]=G,z[4]=m):m=z[4],(0,a.useEffect)(g,m);let[ee,et]=(0,a.useState)(!1),er=et,[ei,en]=(0,a.useState)(),[eo,ea]=(0,a.useState)(!1);z[5]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{let t=t=>{("Tab"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"ArrowLeft"===t.key||"ArrowRight"===t.key)&&ea(!0)},r=()=>{ea(!1)};return window.addEventListener("keydown",t),window.addEventListener("mousedown",r),()=>{window.removeEventListener("keydown",t),window.removeEventListener("mousedown",r)}},v=[],z[5]=y,z[6]=v):(y=z[5],v=z[6]),(0,a.useEffect)(y,v),z[7]===Symbol.for("react.memo_cache_sentinel")?(x=(0,s.twMerge)("sticky top-0 w-full z-20 flex justify-center"),z[7]=x):x=z[7];let es=ee?"":"white-header-box-shadow";z[8]!==es?(w=(0,s.twMerge)("h-[97px] relative w-full flex items-start justify-between xl:justify-start gap-4 xl:gap-10 px-4 xl:px-14 bg-bg-primary",es),z[8]=es,z[9]=w):w=z[9];let ef=K===f.DEFAULT_LOCALE?"/":`/${K}`;z[10]!==$?(_=$?(0,r.jsx)(n.default,{src:"/logo_wuestenrot_mobile.svg",alt:"logo",title:"logo",width:303,height:32,className:"w-[303px] min-w-[210px] sm:min-w-[303px] h-[32px]"}):(0,r.jsx)(n.default,{src:"/logo_wuestenrot.svg",alt:"logo",title:"logo",width:303,height:32}),z[10]=$,z[11]=_):_=z[11],z[12]!==ef||z[13]!==_?(S=(0,r.jsx)(o.default,{href:ef,className:"p-2 xl:static mt-4",prefetch:!1,children:_}),z[12]=ef,z[13]=_,z[14]=S):S=z[14];let ec=ee?"flex":"hidden",eu=1===J?"-left-[100%]":2===J?"-left-[200%]":2===J?"-left-[300%]":"left-0";return z[15]!==ec||z[16]!==eu?(E=(0,s.twJoin)(ec,"transition-[left] duration-500 ease-in-out absolute -z-1 top-0 h-dvh pt-28 w-full bg-bg-primary flex-col px-12 pb-12","xl:h-full xl:flex xl:z-auto xl:flex-row xl:static xl:bg-transparent xl:gap-0 xl:pt-0 justify-between xl:p-0",eu),z[15]=ec,z[16]=eu,z[17]=E):E=z[17],z[18]!==eo||z[19]!==$||z[20]!==ee||z[21]!==F||z[22]!==ei||z[23]!==er?(M=(0,r.jsx)(h.NavigationView,{hasScrollTop:!1,isMobile:$,navItems:F,onLevelClick:X,isKeyboardUser:eo,isSubmenuVisible:ee,setIsSubmenuVisible:er,selectedItem:ei,setSelectedItem:en}),z[18]=eo,z[19]=$,z[20]=ee,z[21]=F,z[22]=ei,z[23]=er,z[24]=M):M=z[24],z[25]!==V||z[26]!==M?(A=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row xl:gap-10 gap-6 xl:[&>ul>li]:justify-end xl:[&>ul>li]:pb-[22px] text-fg-primary [&>div.switcher>div>div]:bg-border-primary xl:[&>div.switcher>div]:p-0 [&>div.switcher]:items-end xl:[&>div.switcher]:pb-[30px]",children:[V,M]}),z[25]=V,z[26]=M,z[27]=A):A=z[27],z[28]!==q||z[29]!==$?(T=q?.href&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(q.href),rel:(0,f.getLinkRel)(q.href),prefetch:!1,className:(0,s.twJoin)("flex items-center gap-2 xl:py-0 rounded-[8px] focus:outline-2 focus:outline-border-focus p-2 min-h-9 text-20 leading-140 font-bold"," xl:font-medium xl:text-16 xl:px-2",`${!$?"xl:text-fg-primary xl:hover:text-bg-accent":"text-fg-on-accent xl:hover:text-fg-accentOnEmphasis"}`),href:q.href,children:[!$&&(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-20"),children:String.fromCharCode(Number(`0x${q.icon}`))}),$&&(0,r.jsxs)(r.Fragment,{children:[q.label,(0,r.jsx)("span",{className:(0,s.twMerge)(d.TYPO_STYLES.icon(),"text-24"),children:(0,l.toHTMLCode)(l.ICONS.arrowRight)})]})]}),z[28]=q,z[29]=$,z[30]=T):T=z[30],z[31]!==T?(k=(0,r.jsx)("div",{className:"flex items-center",children:T}),z[31]=T,z[32]=k):k=z[32],z[33]!==$||z[34]!==Y?(R=Y?.label&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(Y.href),rel:(0,f.getLinkRel)(Y.href),className:(0,s.twMerge)(u.BUTTON_STYLES.secondaryBig(),"max-w-none w-full md:max-w-[297px] p-3 flex gap-2"),href:Y.href,prefetch:!1,children:[Y.icon&&$&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${Y.icon}`))}),Y.label]}),z[33]=$,z[34]=Y,z[35]=R):R=z[35],z[36]!==$||z[37]!==H?(I=H?.label&&!$&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(H.href),rel:(0,f.getLinkRel)(H.href),className:(0,s.twMerge)(u.BUTTON_STYLES.primaryHighlightBig(),"max-w-none w-full md:max-w-[297px] flex gap-2"),href:H.href,prefetch:!1,children:[H.icon&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${H.icon}`))}),H.label]}),z[36]=$,z[37]=H,z[38]=I):I=z[38],z[39]!==R||z[40]!==I?(L=(0,r.jsxs)("div",{className:"flex flex-col gap-2 xl:flex-row xl:gap-4 xl:items-center md:items-start xl:mt-[20px]",children:[R,I]}),z[39]=R,z[40]=I,z[41]=L):L=z[41],z[42]!==k||z[43]!==L?(O=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between gap-4 h-full",children:[k,L]}),z[42]=k,z[43]=L,z[44]=O):O=z[44],z[45]!==E||z[46]!==A||z[47]!==O?(j=(0,r.jsxs)("nav",{className:E,
1children:[A,O]}),z[45]=E,z[46]=A,z[47]=O,z[48]=j):j=z[48],z[49]!==H?(N=H?.label&&(0,r.jsx)(o.default,{target:(0,f.getLinkTarget)(H.href),rel:(0,f.getLinkRel)(H.href),className:(0,s.twMerge)(u.BUTTON_STYLES.primaryHighlightBig(),"max-w-none w-full md:w-auto md:max-w-[297px] border-0 hidden min-[496px]:flex"),href:H.href,prefetch:!1,children:(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[H.icon&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${H.icon}`))}),(0,r.jsx)("span",{className:"hidden md:block",children:H.label})]})}),z[49]=H,z[50]=N):N=z[50],z[51]!==Q||z[52]!==ee?(C=!ee&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:Q,children:(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-40 text-fg-primary"),children:(0,l.toHTMLCode)(l.ICONS.menu)})}),z[51]=Q,z[52]=ee,z[53]=C):C=z[53],z[54]!==Q||z[55]!==ee?(B=ee&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:Q,children:(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-40 text-fg-primary"),children:(0,l.toHTMLCode)(l.ICONS.close)})}),z[54]=Q,z[55]=ee,z[56]=B):B=z[56],z[57]!==C||z[58]!==B?(P=(0,r.jsxs)("div",{className:" bg-bg-primary p-2 block",children:[C,B]}),z[57]=C,z[58]=B,z[59]=P):P=z[59],z[60]!==N||z[61]!==P?(D=(0,r.jsxs)("div",{className:"flex flex-row gap-4 items-center xl:hidden",children:[N,P]}),z[60]=N,z[61]=P,z[62]=D):D=z[62],z[63]!==S||z[64]!==j||z[65]!==D||z[66]!==w?(U=(0,r.jsx)("header",{className:x,children:(0,r.jsxs)("div",{className:w,children:[S,j,D]})}),z[63]=S,z[64]=j,z[65]=D,z[66]=w,z[67]=U):U=z[67],U};function b(t){return!t}t.s(["HeaderWuerstenrotView",0,p])},75596,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(57688),o=t.i(22016),a=t.i(71645),s=t.i(19056),f=t.i(5109),c=t.i(36720),u=t.i(58720),l=t.i(50729),d=t.i(40697),h=t.i(46543);let p=t=>{let p,g,m,y,v,x,w,_,S,E,M,A,T,k,R,I,L,O,j,N,C,B,P,D,U,z,H=(0,i.c)(71),{secondaryButton:Y,aiSearchButton:q,navItems:F,children:V,locale:K,primaryButton:$}=t,[W,G]=(0,a.useState)(!1),J=(0,c.useWindowSize)(),[Z,X]=(0,a.useState)(0);H[0]===Symbol.for("react.memo_cache_sentinel")?(p=t=>{X(t)},H[0]=p):p=H[0];let Q=p,ee=()=>{ei(b)};H[1]!==J.width?(g=()=>{G(J.width<f.BREAKPOINTS.xl)},H[1]=J.width,H[2]=g):g=H[2],H[3]!==J?(m=[J],H[3]=J,H[4]=m):m=H[4],(0,a.useEffect)(g,m);let[et,er]=(0,a.useState)(!1),ei=er,[en,eo]=(0,a.useState)(),[ea,es]=(0,a.useState)(!1);H[5]===Symbol.for("react.memo_cache_sentinel")?(y=()=>{let t=t=>{("Tab"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"ArrowLeft"===t.key||"ArrowRight"===t.key)&&es(!0)},r=()=>{es(!1)};return window.addEventListener("keydown",t),window.addEventListener("mousedown",r),()=>{window.removeEventListener("keydown",t),window.removeEventListener("mousedown",r)}},v=[],H[5]=y,H[6]=v):(y=H[5],v=H[6]),(0,a.useEffect)(y,v),H[7]===Symbol.for("react.memo_cache_sentinel")?(x=(0,s.twMerge)("sticky top-0 w-full z-20 flex justify-center"),H[7]=x):x=H[7];let ef=et?"":"white-header-box-shadow";H[8]!==ef?(w=(0,s.twMerge)("h-[97px] relative w-full flex items-start justify-between xl:justify-start gap-4 xl:gap-10 px-4 xl:px-14 bg-bg-primary",ef),H[8]=ef,H[9]=w):w=H[9];let ec=K===f.DEFAULT_LOCALE?"/":`/${K}`;H[10]!==W?(_=!W&&(0,r.jsx)(n.default,{src:"/logo_wuerttembergische.svg",alt:"logo",title:"logo",width:363,height:32}),H[10]=W,H[11]=_):_=H[11],H[12]!==W?(S=W&&(0,r.jsx)(n.default,{src:"/logo_wuerttembergische_mobile.svg",alt:"logo",title:"logo",width:249,height:49,className:"w-[249px] h-[49px] min-w-[210px] sm:min-w-[249px]"}),H[12]=W,H[13]=S):S=H[13],H[14]!==ec||H[15]!==_||H[16]!==S?(E=(0,r.jsxs)(o.default,{href:ec,className:"p-2 xl:static mt-4",prefetch:!1,children:[_,S]}),H[14]=ec,H[15]=_,H[16]=S,H[17]=E):E=H[17];let eu=et?"flex":"hidden",el=1===Z?"-left-[100%]":2===Z?"-left-[200%]":2===Z?"-left-[300%]":"left-0";return H[18]!==eu||H[19]!==el?(M=(0,s.twJoin)(eu,"transition-[left] duration-500 ease-in-out absolute -z-1 top-0 h-dvh pt-28 w-full bg-bg-primary flex-col px-12 pb-12","xl:h-full xl:flex xl:z-auto xl:flex-row xl:static xl:bg-transparent xl:gap-0 xl:pt-0 justify-between xl:p-0",el),H[18]=eu,H[19]=el,H[20]=M):M=H[20],H[21]!==ea||H[22]!==W||H[23]!==et||H[24]!==F||H[25]!==en||H[26]!==ei?(A=(0,r.jsx)(h.NavigationView,{hasScrollTop:!1,isMobile:W,navItems:F,onLevelClick:Q,isKeyboardUser:ea,isSubmenuVisible:et,setIsSubmenuVisible:ei,selectedItem:en,setSelectedItem:eo}),H[21]=ea,H[22]=W,H[23]=et,H[24]=F,H[25]=en,H[26]=ei,H[27]=A):A=H[27],H[28]!==V||H[29]!==A?(T=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row xl:gap-10 gap-6 xl:[&>ul>li]:justify-end xl:[&>ul>li]:pb-[22px] text-fg-primary [&>div.switcher>div>div]:bg-border-primary xl:[&>div.switcher>div]:p-0 [&>div.switcher]:items-end xl:[&>div.switcher]:pb-[30px]",children:[V,A]}),H[28]=V,H[29]=A,H[30]=T):T=H[30],H[31]!==q||H[32]!==W?(k=q?.href&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(q.href),rel:(0,f.getLinkRel)(q.href),prefetch:!1,className:(0,s.twJoin)("flex items-center gap-2 xl:py-0 rounded-[8px] focus:outline-2 focus:outline-border-focus p-2 min-h-9 text-20 leading-140 font-bold"," xl:font-medium xl:text-16 xl:px-2",`${!W?"xl:text-fg-primary xl:hover:text-bg-accent":"text-fg-on-accent xl:hover:text-fg-accentOnEmphasis"}`),href:q.href,children:[!W&&(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-20"),children:String.fromCharCode(Number(`0x${q.icon}`))}),W&&(0,r.jsxs)(r.Fragment,{children:[q.label,(0,r.jsx)("span",{className:(0,s.twMerge)(d.TYPO_STYLES.icon(),"text-24"),children:(0,l.toHTMLCode)(l.ICONS.arrowRight)})]})]}),H[31]=q,H[32]=W,H[33]=k):k=H[33],H[34]!==k?(R=(0,r.jsx)("div",{className:"flex items-center",children:k}),H[34]=k,H[35]=R):R=H[35],H[36]!==W||H[37]!==$?(I=$?.label&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)($.href),rel:(0,f.getLinkRel)($.href),className:(0,s.twMerge)(u.BUTTON_STYLES.secondaryBig(),"max-w-none w-full md:max-w-[297px] p-3 flex gap-2"),href:$.href,prefetch:!1,children:[$.icon&&W&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${$.icon}`))}),$.label]}),H[36]=W,H[37]=$,H[38]=I):I=H[38],H[39]!==W||H[40]!==Y?(L=Y?.label&&!W&&(0,r.jsxs)(o.default,{target:(0,f.getLinkTarget)(Y.href),rel:(0,f.getLinkRel)(Y.href),className:(0,s.twMerge)(u.BUTTON_STYLES.primaryHighlightBig(),"max-w-none w-full md:max-w-[297px] flex gap-2"),href:Y.href,prefetch:!1,children:[Y.icon&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${Y.icon}`))}),Y.label]}),H[39]=W,H[40]=Y,H[41]=L):L=H[41],H[42]!==I||H[43]!==L?(O=(0,r.jsxs)("div",{className:"flex flex-col gap-2 xl:flex-row xl:gap-4 xl:items-center md:items-start lg:mt-[20px]",children:[I,L]}),H[42]=I,H[43]=L,H[44]=O):O=H[44],H[45]!==R||H[46]!==O?(j=(0,r.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between gap-4 h-full xl:items-end pb-4",children:[R,O]}),H[45]=R,H[46]=O,H[47]=j):j=H[47],H[48]!==M||H[49]!==T||H[50]!==j?(N=(0,r.jsxs)("nav",{className:M,children:[T,j]}),H[48]=M,H[49]=T,H[50]=j,H[51]=N):N=H[51],H[52]!==Y?(C=Y?.label&&(0,r.jsx)(o.default,{target:(0,f.getLinkTarget)(Y.href),rel:(0,f.getLinkRel)(Y.href),className:(0,s.twMerge)(u.BUTTON_STYLES.primaryHighlightBig(),"max-w-none w-full md:w-auto md:max-w-[297px] border-0 hidden sm:flex"),href:Y.href,prefetch:!1,children:(0,r.jsxs)("div",{className:"flex gap-2 items-center",children:[Y.icon&&(0,r.jsx)("span",{className:d.TYPO_STYLES.icon(),children:String.fromCharCode(Number(`0x${Y.icon}`))}),(0,r.jsx)("span",{className:"hidden md:block",children:Y.label})]})}),H[52]=Y,H[53]=C):C=H[53],H[54]!==ee||H[55]!==et?(B=!et&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:ee,children:(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-40 text-fg-primary"),children:(0,l.toHTMLCode)(l.ICONS.menu)})}),H[54]=ee,H[55]=et,H[56]=B):B=H[56],H[57]!==ee||H[58]!==et?(P=et&&(0,r.jsx)("button",{type:"button",className:"cursor-pointer",onClick:ee,children:(0,r.jsx)("span",{className:(0,s.twJoin)(d.TYPO_STYLES.icon(),"text-40 text-fg-primary"),children:(0,l.toHTMLCode)(l.ICONS.close)})}),H[57]=ee,H[58]=et,H[59]=P):P=H[59],H[60]!==B||H[61]!==P?(D=(0,r.jsxs)("div",{className:" bg-bg-primary p-2 block",children:[B,P]}),H[60]=B,H[61]=P,H[62]=D):D=H[62],H[63]!==C||H[64]!==D?(U=(0,r.jsxs)("div",{className:"flex flex-row gap-4 items-center xl:hidden",children:[C,D]}),H[63]=C,H[64]=D,H[65]=U):U=H[65],H[66]!==E||H[67]!==N||H[68]!==U||H[69]!==w?(z=(0,r.jsx)("header",{className:x,children:(0,r.jsxs)("div",{className:w,children:[E,N,U]})}),H[66]=E,H[67]=N,H[68]=U,H[69]=w,H[70]=z):z=H[70],z};function b(t){return!t}t.s(["HeaderWuertembergischeView",0,p])},46543,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(57688),o=t.i(22016),a=t.i(71645),s=t.i(19056),f=t.i(5109),c=t.i(50729),u=t.i(40697),l=t.i(13199),d=t.i(14786);function h(t){return t?.type==="block"}function p(t){return t?.type==="item"}let b=t=>{let g,m,y,v,x,w,_,S,E,M,A,T=(0,i.c)(61),{navItems:k,hasScrollTop:R,isMobile:I,level:L,depth:O,onLevelClick:j,parentNavItem:N,parentItem:C,isKeyboardUser:B,setIsSubmenuVisible:P,isSubmenuVisible:D,selectedItem:U,setSelectedItem:z,context:H}=t,Y=void 0===L?0:L,q=void 0===O?0:O,F=(0,a.useRef)(null),[V,K]=(0,a.useState)(!1);T[0]!==V||T[1]!==I||T[2]!==D||T[3]!==Y||T[4]!==j||T[5]!==U||T[6]!==P||T[7]!==z?(g=t=>{var r,i;(r={})[r.MobileView=0]="MobileView",r[r.DesktopMenuExpanded=1]="DesktopMenuExpanded",r[r.DesktopMenuCollapsed=2]="DesktopMenuCollapsed";let n=0;I||(n=D?1:2),(i={})[i.Outside=0]="Outside",i[i.MainLevelSameItem=1]="MainLevelSameItem",i[i.MainLevelOtherItem=2]="MainLevelOtherItem",i[i.MenuSameItem=3]="MenuSameItem",i[i.MenuOtherItem=4]="MenuOtherItem";let o=0;V||(0===Y?(o=1,U!==t&&(o=2)):(o=3,U!==t&&(o=4))),0===n&&2===o||1===n&&2===o||2===n&&2===o?(P(!0),z(t),j(Y+1)):(j(0),z(void 0),P(!1)),K(!1)},T[0]=V,T[1]=I,T[2]=D,T[3]=Y,T[4]=j,T[5]=U,T[6]=P,T[7]=z,T[8]=g):g=T[8];let $=g;
1T[9]!==P||T[10]!==z||T[11]!==$?(m=(t,r)=>{"Enter"===t.key||" "===t.key?(t.stopPropagation(),t.preventDefault(),$(r)):"Escape"===t.key&&(P(!1),z(void 0))},T[9]=P,T[10]=z,T[11]=$,T[12]=m):m=T[12];let W=m;T[13]!==I||T[14]!==D||T[15]!==$?(y=()=>{let t=t=>{D&&F.current&&!F.current.contains(t.target)?(t.preventDefault(),t.stopPropagation(),K(!0),$()):K(!1)};return D&&!I&&document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}},v=[D,$,I],T[13]=I,T[14]=D,T[15]=$,T[16]=y,T[17]=v):(y=T[16],v=T[17]),(0,a.useEffect)(y,v);let G=H?.website==="neelmeyer";T[18]!==R||T[19]!==G||T[20]!==Y||T[21]!==j||T[22]!==N||T[23]!==$?(x=N&&(0,r.jsxs)("button",{type:"button",onClick:()=>{K(!1),$(),j(Y-1)},onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.stopPropagation(),t.preventDefault(),K(!1),$(),j(Y-1))},className:(0,s.twJoin)("xl:hidden",u.TYPO_STYLES.copyM(),"p-6 flex gap-2 text-fg-on-accent -ml-12",R?"xl:text-fg-primary":"text-fg-on-accent"),children:[(0,r.jsx)("span",{className:(0,s.twJoin)(u.TYPO_STYLES.icon(),"text-18",G&&"mt-px"),children:(0,c.toHTMLCode)(c.ICONS.arrowLeft)}),"Zurück"]}),T[18]=R,T[19]=G,T[20]=Y,T[21]=j,T[22]=N,T[23]=$,T[24]=x):x=T[24],T[25]!==R||T[26]!==N||T[27]!==$?(w=N&&(N.href?(0,r.jsxs)(o.default,{className:(0,s.twJoin)(u.TYPO_STYLES.leadHighlight(),"p-6 flex gap-2 text-fg-on-accent -ml-6 mb-2","xl:p-2 xl:mb-10 xl:w-fit xl:-ml-2",R?"xl:text-fg-primary":"text-fg-on-accent"),href:N.href,target:(0,f.getLinkTarget)(N.href),rel:(0,f.getLinkRel)(N.href),prefetch:!1,onClick:t=>{t.stopPropagation(),$(N.id)},children:[N.label,(0,r.jsx)("span",{className:(0,s.twJoin)(u.TYPO_STYLES.icon(),"text-28"),children:(0,c.toHTMLCode)(c.ICONS.arrowRight)})]}):(0,r.jsxs)("span",{className:(0,s.twJoin)(u.TYPO_STYLES.leadHighlight(),"p-6 flex gap-2 text-fg-on-accent -ml-6 mb-2","xl:p-2 xl:mb-10 xl:w-fit xl:-ml-2",R?"xl:text-fg-primary":"text-fg-on-accent"),children:[N.label,(0,r.jsx)("span",{className:(0,s.twJoin)(u.TYPO_STYLES.icon(),"text-28"),children:(0,c.toHTMLCode)(c.ICONS.arrowRight)})]})),T[25]=R,T[26]=N,T[27]=$,T[28]=w):w=T[28];let J=`flex xl:items-center justify-start flex-col xl:flex-row items-start level-${q} xl:h-full`;T[29]!==C?(_=h(C)?"navigation-block-items xl:flex-col xl:items-start xl:gap-3 [&>li>a]:text-16 [&>li>span]:text-16 [&>li>button]:text-16 [&>li>a]:font-medium [&>li>span]:font-medium [&>li>button]:font-medium":"navigation-items xl:gap-6 xl:items-start",T[29]=C,T[30]=_):_=T[30];let Z=0===q?"[&>li>a]:px-2 [&>li>span]:px-2 [&>li>button]:px-2":"",X=1===q?"gap-12":"xl:gap-0",Q=2===q?"[&>li>a]:-ml-6 [&>li>span]:-ml-6 [&>li>button]:-ml-6":"",ee=G&&"isNeelmeyer";return T[31]!==_||T[32]!==Z||T[33]!==X||T[34]!==Q||T[35]!==ee||T[36]!==J?(S=(0,s.twMerge)(J,_,Z,X,Q,ee),T[31]=_,T[32]=Z,T[33]=X,T[34]=Q,T[35]=ee,T[36]=J,T[37]=S):S=T[37],T[38]!==H||T[39]!==q||T[40]!==W||T[41]!==R||T[42]!==B||T[43]!==I||T[44]!==G||T[45]!==D||T[46]!==Y||T[47]!==k||T[48]!==j||T[49]!==U||T[50]!==P||T[51]!==z||T[52]!==$?(E=k.map((t,i)=>{if(p(t))if(t.items.length)return(0,r.jsxs)("li",{className:(0,s.twJoin)("navigation-item flex flex-col group",0===q?D&&U===t.id?"header-icon-chevron-up":"header-icon-chevron-down":"",0===q?"xl:h-full xl:flex xl:flex-col xl:justify-center xl:items-center ":"",G&&"isNeelmeyer"),children:[t.href&&(0,r.jsx)(o.default,{onClick:r=>{r.stopPropagation(),r.preventDefault(),$(t.id)},onKeyDown:r=>W(r,t.id),href:t.href,target:(0,f.getLinkTarget)(t.href),className:(0,s.twJoin)(u.TYPO_STYLES.headerTab(),"px-2 py-2 flex text-fg-on-accent",R?"xl:text-fg-primary":"text-fg-on-accent"),prefetch:!1,children:t.label}),!t.href&&(0,r.jsx)("button",{type:"button",onClick:r=>{r.stopPropagation(),r.preventDefault(),$(t.id)},className:(0,s.twJoin)(u.TYPO_STYLES.headerTab(),"px-2 py-2 flex text-fg-on-accent",R?"xl:text-fg-primary":"text-fg-on-accent"),children:t.label}),(0,r.jsx)("div",{ref:D&&U===t.id?F:null,className:(0,s.twJoin)("navigation-item header-box-shadow absolute left-full -z-10 w-full top-0 h-dvh pt-28 px-12 pb-14","xl:h-auto xl:left-0 xl:pt-32 xl:rounded-[40px] xl:pl-45 xl:pr-14 xl:pb-16",D&&U===t.id?"block":"hidden",0===q?"xl:pl-5 overflow-scroll xl:overflow-auto":"",!I&&R?"bg-bg-primary":"bg-bg-header"),children:(0,r.jsx)(b,{isMobile:I,hasScrollTop:R,navItems:t.items,level:Y+1,onLevelClick:j,parentNavItem:t,parentItem:t,depth:q+1,isKeyboardUser:B,setIsSubmenuVisible:P,isSubmenuVisible:D,selectedItem:U,setSelectedItem:z,context:H})})]},i);else return(0,r.jsxs)("li",{className:"flex flex-col xl:h-full xl:justify-center xl:items-center ",children:[t.href&&(0,r.jsx)(o.default,{onClick:r=>{r.stopPropagation(),$(t.id)},href:t.href,target:(0,f.getLinkTarget)(t.href),className:(0,s.twJoin)(u.TYPO_STYLES.headerTab(),"px-6 py-2 flex text-fg-on-accent",R?"xl:text-fg-primary":"text-fg-on-accent"),prefetch:!1,children:t.label}),!t.href&&(0,r.jsx)("span",{className:(0,s.twJoin)(u.TYPO_STYLES.headerTab(),"px-6 py-2 flex text-fg-on-accent",R?"xl:text-fg-primary":"text-fg-on-accent"),children:t.label})]},i);return h(t)?(0,r.jsxs)("li",{className:"navigation-block xl:flex-1",children:[t.icon?.src&&(0,r.jsx)(n.default,{className:"h-14 w-auto mb-2 xl:m-0",src:(0,d.transformContentfulAssetUrl)(t.icon.src),...t.icon.size,alt:t.icon.description}),t.href&&(0,r.jsx)(o.default,{onClick:r=>{r.stopPropagation(),$(t.id)},href:t.href,target:(0,f.getLinkTarget)(t.href),className:(0,s.twJoin)(u.TYPO_STYLES.copyMHighlight(),"p-2 flex -ml-2 text-fg-on-accent",R?"xl:text-fg-primary":"text-fg-on-accent"),prefetch:!1,children:t.label}),!t.href&&(0,r.jsx)("button",{type:"button",onClick:r=>{r.stopPropagation(),r.preventDefault(),$(t.id)},className:(0,s.twJoin)(u.TYPO_STYLES.copyMHighlight(),"p-2 flex -ml-2 text-fg-on-accent",R?"xl:text-fg-primary":"text-fg-on-accent"),children:t.label}),(0,r.jsx)(b,{context:H,isMobile:I,hasScrollTop:R,navItems:t.items,level:Y,onLevelClick:j,depth:q+1,parentItem:t,isKeyboardUser:B,setIsSubmenuVisible:P,isSubmenuVisible:D,selectedItem:U,setSelectedItem:z})]},i):(0,r.jsx)(l.ErrorView,{children:"Unknown Menu Item Type"},i)}),T[38]=H,T[39]=q,T[40]=W,T[41]=R,T[42]=B,T[43]=I,T[44]=G,T[45]=D,T[46]=Y,T[47]=k,T[48]=j,T[49]=U,T[50]=P,T[51]=z,T[52]=$,T[53]=E):E=T[53],T[54]!==S||T[55]!==E?(M=(0,r.jsx)("ul",{className:S,children:E}),T[54]=S,T[55]=E,T[56]=M):M=T[56],T[57]!==M||T[58]!==x||T[59]!==w?(A=(0,r.jsxs)(r.Fragment,{children:[x,w,M]}),T[57]=M,T[58]=x,T[59]=w,T[60]=A):A=T[60],A};t.s(["NavigationView",0,b])},44163,t=>{"use strict";var r=t.i(43476),i=t.i(92320),n=t.i(98038),o=t.i(86914),a=t.i(57688),s=t.i(71645),f=t.i(19056),c=t.i(5109),u=t.i(58720),l=t.i(50729),d=t.i(40697),h=t.i(7969),p=t.i(51984),b=t.i(76405);let g=({context:t,entry:g,locale:m})=>
1{let y=g.fields.amountOfDisplay,[v,x]=(0,s.useState)(0),[w,_]=(0,s.useState)(!1),S=(...t)=>o.default.createHash("sha256").update(t.filter(Boolean).join("")).digest("hex"),E=g.fields.description?(0,i.documentToHtmlString)(g.fields.description):"",M=S(g.fields.headline,E,g.fields.buttonLabel,g.fields.image?.fields.file?.url,String(g.fields.amountOfDisplay));(0,s.useEffect)(()=>{(0,p.removeLegacyLocalStorageEntries)(h.CONTENT_TYPES.popUpModule);let t=`${h.CONTENT_TYPES.popUpModule}-${g.sys.id}`,r=sessionStorage.getItem(t);if(r){let i=JSON.parse(r);if(i.hash===M)x(i.clicks);else{let r={clicks:0,hash:M};sessionStorage.setItem(t,JSON.stringify(r)),x(0)}}else{let r={clicks:0,hash:M};sessionStorage.setItem(t,JSON.stringify(r)),x(0)}_(!0)},[M,g.sys.id]),(0,s.useEffect)(()=>{let t=`${h.CONTENT_TYPES.popUpModule}-${g.sys.id}`,r={clicks:v,hash:M};sessionStorage.setItem(t,JSON.stringify(r))},[g.sys.id,v,M]);let A=()=>{v<y&&x(t=>t+1),_(!1)};return w&&v<y?(0,r.jsx)("div",{className:"bg-background-popup fixed h-dvh w-full z-50 py-10 px-6 md:p-10 lg:p-20 2xl:px-40",children:(0,r.jsx)("div",{className:"flex items-center h-full justify-center",children:(0,r.jsx)("div",{className:"",children:(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row bg-bg-secondary w-full h-full max-h-[calc(100dvh-80px)] lg:max-h-[calc(100dvh-160px)] rounded-[20px] md:rounded-[40px] p-6 md:p-10 lg:p-16 relative gap-10 max-w-[1120px] overflow-y-scroll scroll-bar",children:[(0,r.jsx)("button",{className:(0,f.twJoin)("absolute right-4 top-4 md:right-6 md:top-6 bg-bg-primary w-10 h-10 rounded-full cursor-pointer"),type:"button",onClick:A,children:(0,r.jsx)("span",{className:(0,f.twJoin)(d.TYPO_STYLES.icon(),"text-fg-primary text-24"),children:(0,l.toHTMLCode)(l.ICONS.close)})}),g.fields.image?.fields?.file?.details.image&&(0,r.jsx)("div",{children:(0,r.jsx)(a.default,{src:(0,c.fetchContentfulImage)(g.fields.image?.fields.file.url),width:g.fields.image.fields.file.details.image.width,height:g.fields.image.fields.file.details.image.height,alt:g.fields.image?.fields.description??"",sizes:(0,c.getImageSizes)(),className:"object-cover w-full aspect-square sm:aspect-auto rounded-[20px] h-[297px] md:h-[405px] lg:w-[320px] lg:h-full lg:max-w-[320px]"})}),(0,r.jsxs)("div",{className:"flex flex-col gap-6 max-w-[720px]",children:[(0,r.jsxs)("div",{className:(0,f.twMerge)("flex flex-col gap-2",!g.fields.image?.fields?.file?.details.image&&"pt-9 lg:pt-0"),children:[(0,r.jsx)("h4",{className:(0,f.twJoin)(d.TYPO_STYLES.headline4(),"text-fg-primary"),children:g.fields.headline}),(0,r.jsx)("div",{className:(0,f.twJoin)(d.TYPO_STYLES.copyM(),"text-fg-primary"),children:g.fields.description&&(0,n.documentToReactComponents)(g.fields.description,{renderNode:(0,b.renderNode)(m,t),renderText:b.renderText})})]}),(0,r.jsx)("button",{className:(0,f.twJoin)(u.BUTTON_STYLES.primaryHighlightBig(t),"max-w-none w-full md:max-w-[297px] md:w-fit"),type:"button",onClick:A,children:g.fields.buttonLabel})]})]})})})}):null};t.s(["PopupModuleView",0,g])},25270,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(22016),o=t.i(71645),a=t.i(19056),s=t.i(44411),f=t.i(40228),c=t.i(5109),u=t.i(36720),l=t.i(58720),d=t.i(50729),h=t.i(40697);let p=t=>{let n,o=(0,i.c)(11),{locale:c,context:u,entry:l}=t;o[0]!==u||o[1]!==c?(n=t=>(0,s.getLinkURL)(c,u,{...(0,f.getLinkTargetPageId)(t.fields?.linkPage,u.website),href:t.fields?.externalUrl}),o[0]=u,o[1]=c,o[2]=n):n=o[2];let d=n;if(l){let t,i,n;if(o[3]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.twJoin)("flex flex-row lg:flex-col justify-center md:justify-start lg:justify-center","py-4 px-2 gap-4","bg-bg-accent rounded-l-xl"),o[3]=t):t=o[3],o[4]!==l||o[5]!==d){let t;o[7]!==d?(t=t=>t?(0,r.jsx)(b,{link:d(t),icon:t.fields?.icon},t.sys.id):null,o[7]=d,o[8]=t):t=o[8],i=l.map(t),o[4]=l,o[5]=d,o[6]=i}else i=o[6];return o[9]!==i?(n=(0,r.jsx)("section",{className:t,children:i}),o[9]=i,o[10]=n):n=o[10],n}return null},b=t=>{let s,f,p,b,g,m,y,v,x,w=(0,i.c)(22),{link:_,icon:S}=t,[E,M]=(0,o.useState)(!1),A=(0,d.findIconByHex)(S),T=(0,u.useWindowSize)();if(w[0]!==T.width?(s=()=>{M(T.width<c.BREAKPOINTS.lg)},w[0]=T.width,w[1]=s):s=w[1],w[2]!==T?(f=[T],w[2]=T,w[3]=f):f=w[3],(0,o.useEffect)(s,f),!_||!A)return null;w[4]!==_?(p=(0,c.getLinkTarget)(_),w[4]=_,w[5]=p):p=w[5],w[6]!==_?(b=(0,c.getLinkRel)(_),w[6]=_,w[7]=b):b=w[7],w[8]!==E?(g=(0,a.twMerge)(E?l.BUTTON_STYLES.secondary
1Dark():l.BUTTON_STYLES.ghost(),!E&&"text-comp-action-prim-brightGreen-enabled bg-comp-quicklinks-bg hover:bg-comp-quicklinks-bg-hover focus:bg-comp-quicklinks-bg-hover","p-3"),w[8]=E,w[9]=g):g=w[9],w[10]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.twMerge)(h.TYPO_STYLES.icon(),"text-24"),w[10]=m):m=w[10];let k=d.ICONS[A];return w[11]!==k?(y=(0,d.toHTMLCode)(k),w[11]=k,w[12]=y):y=w[12],w[13]!==m||w[14]!==y?(v=(0,r.jsx)("span",{className:m,children:y}),w[13]=m,w[14]=y,w[15]=v):v=w[15],w[16]!==_||w[17]!==p||w[18]!==b||w[19]!==g||w[20]!==v?(x=(0,r.jsx)(n.default,{prefetch:!1,target:p,rel:b,href:_,className:g,children:v}),w[16]=_,w[17]=p,w[18]=b,w[19]=g,w[20]=v,w[21]=x):x=w[21],x};t.s(["QuickLink",0,b,"QuickLinksModuleView",0,p])},79427,t=>{"use strict";var r,i=t.i(43476),n=t.i(92320),o=t.i(98038),a=t.i(86914),s=t.i(71645),f=t.i(19056),c=t.i(50729),u=t.i(40697),l=t.i(7969),d=t.i(51984),h=t.i(76405),p=((r=p||{}).primary="Primary",r.error="Error",r.warning="Warning",r);let b=({context:t,entry:r,locale:p})=>{let b=(...t)=>a.default.createHash("sha256").update(t.filter(Boolean).join("")).digest("hex"),g=r.fields.description?(0,n.documentToHtmlString)(r.fields.description):"",m=b(r.fields.background,g,String(r.fields.amountOfDisplay)),y=r.fields.amountOfDisplay,v="Primary"===r.fields.background,x="Error"===r.fields.background,w=v?"bg-bg-statusbar":x?"bg-bg-error":"bg-bg-warning",_=v?"text-text-statusbar":x?"text-fg-error":"text-fg-warning",[S,E]=(0,s.useState)(0),[M,A]=(0,s.useState)(!1);(0,s.useEffect)(()=>{(0,d.removeLegacyLocalStorageEntries)(l.CONTENT_TYPES.statusBarModule);let t=`${l.CONTENT_TYPES.statusBarModule}-${r.sys.id}`,i=sessionStorage.getItem(t);if(i){let r=JSON.parse(i);if(r.hash===m)E(r.clicks);else{let r={clicks:0,hash:m};sessionStorage.setItem(t,JSON.stringify(r)),E(0)}}else{let r={clicks:0,hash:m};sessionStorage.setItem(t,JSON.stringify(r)),E(0)}A(!0)},[m,r.sys.id]),(0,s.useEffect)(()=>{let t=`${l.CONTENT_TYPES.statusBarModule}-${r.sys.id}`,i={clicks:S,hash:m};sessionStorage.setItem(t,JSON.stringify(i))},[r.sys.id,S,m]);let T=()=>{S<y&&E(t=>t+1),A(!1)};return M&&S<y?(0,i.jsxs)("div",{className:`${w} min-h-[40px] py-2 pl-4 pr-2 md:pl-6 md:pr-4 xl:pl-14 flex flex-row items-center justify-between gap-4 md:gap-6 lg:gap-14`,children:[(0,i.jsx)("div",{className:(0,f.twJoin)(u.TYPO_STYLES.copyM(),`${_}`,"[&>p>a]:underline"),children:r.fields.description&&(0,o.documentToReactComponents)(r.fields.description,{renderNode:(0,h.renderNode)(p,t),renderText:h.renderText})}),(0,i.jsx)("button",{className:(0,f.twJoin)(u.TYPO_STYLES.icon(),_,"text-24 -mt-[5px] cursor-pointer"),type:"button",onClick:T,children:(0,c.toHTMLCode)(c.ICONS.close)})]}):null};t.s(["StatusBarModuleView",0,b])},36127,33378,22329,63306,65594,t=>{"use strict";var r,i=t.i(43476),n=t.i(932),o=t.i(37950),a=t.i(19056),s=t.i(5109),f=i,c=n,u=t.i(57688),l=t.i(71645),d=a,h=s,p=i,b=n,g=u;let m=t=>{let r,i,n=(0,b.c)(6),{context:o,locale:a,onClick:s}=t,f="neelmeyer"===o.website?"/play_button_neelmeyer.svg":"/play_button.svg",c=o.content[a];return n[0]!==f||n[1]!==c.video.playButtonLabel?(r=(0,p.jsx)(g.default,{src:f,alt:c.video.playButtonLabel,width:80,height:80}),n[0]=f,n[1]=c.video.playButtonLabel,n[2]=r):r=n[2],n[3]!==s||n[4]!==r?(i=(0,p.jsx)("button",{type:"button",onClick:s,className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 cursor-pointer focus-visible:outline-2 focus-visible:outline-offset-3 focus-visible:outline-border-focus",children:r}),n[3]=s,n[4]=r,n[5]=i):i=n[5],i};t.s(["PlayButtonOverlay",0,m],33378);var y=i,v=n,x=t.i(50729),w=t.i(40697);let _=t=>{let r,i,n,o=(0,v.c)(6),{onClose:a,children:s}=t;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,y.jsx)("span",{className:w.TYPO_STYLES.icon(),children:(0,x.toHTMLCode)(x.ICONS.close)}),o[0]=r):r=o[0],o[1]!==a?(i=(0,y.jsx)("button",{type:"button",className:"flex items-center justify-center w-10 h-10 bg-bg-primary rounded-full cursor-pointer absolute ",onClick:a,children:r}),o[1]=a,o[2]=i):i=o[2],o[3]!==s||o[4]!==i?(n=(0,y.jsx)("div",{className:"fixed top-0 left-0 size-full bg-background-popup z-20",children:(0,y.jsx)("div",{className:"absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 w-full",children:(0,y.jsx)("div",{className:"py-10 px-6 md:px-10 lg:py-20 lg:px-40",children:(0,y.jsxs)("div",{className:"relative lg:max-w-[720px] mx-auto text-fg-primary flex flex-col items-end gap-4 bg-bg-secondary rounded-[20px] md:rounded-4xl lg:rou
1nded-[40px] popup-component",children:[i,s]})})})}),o[3]=s,o[4]=i,o[5]=n):n=o[5],n};t.s(["PopupView",0,_],22329);var S=i,E=i,M=n,A=l,T=a,k=t.i(40228),R=t.i(58720),I=w,L=t.i(13199),O=((r={}).CONTENT_MANAGEMENT="CONTENT_MANAGEMENT",r.GENESYS_LIVECHAT="GENESYS_LIVECHAT",r.GOOGLE_MAPS="GOOGLE_MAPS",r.INFRONT="INFRONT",r.RECAPTCHA="RECAPTCHA",r.USERCENTRICS="USERCENTRICS",r.YOUTUBE="YOUTUBE",r);let j={CONTENT_MANAGEMENT:"L-5we61hz",GENESYS_LIVECHAT:"XxpTTlSqoPewCD",GOOGLE_MAPS:"S1pcEj_jZX",INFRONT:"U22ZPz6M_12lpM",RECAPTCHA:"Hko_qNsui-Q",USERCENTRICS:"H1Vl5NidjWX",YOUTUBE:"BJz7qNsdj-7"};function N(t,r){let i=j[r];return n=>{let o,a,s,f,c,u=(0,M.c)(24),[l,d]=(0,A.useState)(void 0);u[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let t=t=>{t?.detail?.serviceConsents&&i?d(t.detail.serviceConsents[i]):console.warn("Unable to read consent info for serviceId: ",t,i)};return window.addEventListener("onConsentChange",t),()=>window.removeEventListener("onConsentChange",t)},a=[],u[0]=o,u[1]=a):(o=u[0],a=u[1]),(0,A.useEffect)(o,a),u[2]!==l?(s=()=>{void 0===l&&"function"==typeof window.IsConsentIsGiven&&window.IsConsentIsGiven(i,t=>{d(t)})},f=[l],u[2]=l,u[3]=s,u[4]=f):(s=u[3],f=u[4]),(0,A.useEffect)(s,f);let h=C;if(void 0===l){let t,i=n.context.content[n.locale].consent[r];return u[5]!==i.waiting?(t=(0,E.jsx)(L.MessageView,{children:i.waiting}),u[5]=i.waiting,u[6]=t):t=u[6],t}if(!l){let t,i,o,a,s,f,c;u[7]===Symbol.for("react.memo_cache_sentinel")?(t=I.TYPO_STYLES.headline4(),u[7]=t):t=u[7];let l=n.context.content[n.locale].consent[r];u[8]!==l.denied.headline?(i=(0,E.jsx)("h4",{className:t,children:l.denied.headline}),u[8]=l.denied.headline,u[9]=i):i=u[9],u[10]===Symbol.for("react.memo_cache_sentinel")?(o=(0,T.twMerge)(I.TYPO_STYLES.copyM()," lg:text-center lg:max-w-[1120px]"),u[10]=o):o=u[10];let d=n.context.content[n.locale].consent[r];u[11]!==o||u[12]!==d.denied.description?(a=(0,E.jsx)("p",{className:o,children:d.denied.description}),u[11]=o,u[12]=d.denied.description,u[13]=a):a=u[13],u[14]===Symbol.for("react.memo_cache_sentinel")?(s=(0,T.twMerge)(R.BUTTON_STYLES.primaryHighlight(),"mt-6 max-w-none md:max-w-[297px] w-full"),u[14]=s):s=u[14];let p=n.context.content[n.locale].consent[r];return u[15]!==s||u[16]!==p.denied.button?(f=(0,E.jsx)("button",{type:"button",onClick:h,className:s,children:p.denied.button}),u[15]=s,u[16]=p.denied.button,u[17]=f):f=u[17],u[18]!==f||u[19]!==i||u[20]!==a?(c=(0,E.jsxs)(L.MessageView,{children:[i,a,f]}),u[18]=f,u[19]=i,u[20]=a,u[21]=c):c=u[21],c}return u[22]!==n?(c=(0,E.jsx)(t,{...n}),u[22]=n,u[23]=c):c=u[23],c}}function C(t){(0,k.openPrivacySettingsDialog)(t)}t.s(["CONSENT_SERVICE_ITEMS",()=>O,"withConsent",0,N],63306);let B=N(({youtubeId:t})=>(0,S.jsx)("iframe",{className:"rounded-[20px] md:rounded-4xl lg:rounded-[40px] aspect-video w-full",src:`https://www.youtube.com/embed/${t}`,title:"YouTube video player",allow:"accelerometer; picture-in-picture",allowFullScreen:!0}),O.YOUTUBE);t.s(["YoutubeVideoView",0,B],65594);var P=t.i(14786);let D=t=>{let r,i,n,o=(0,c.c)(13),{image:a,youtubeId:s,locale:p,context:b}=t,[g,y]=(0,l.useState)(!1);return o[0]!==b||o[1]!==a||o[2]!==p||o[3]!==s?(r=a&&(0,f.jsxs)("div",{className:"flex flex-col items-center relative h-full w-full",children:[(0,f.jsx)(u.default,{src:(0,P.transformContentfulAssetUrl)(a.src),...a.size,alt:a.description,sizes:(0,h.getImageSizes)(),className:(0,d.twMerge)("max-w-[640px] aspect-[3/2] h-[214px] w-full object-cover lg:h-[420px]",s&&"brightness-75")}),s&&(0,f.jsx)(m,{context:b,locale:p,onClick:()=>y(!0)})]}),o[0]=b,o[1]=a,o[2]=p,o[3]=s,o[4]=r):r=o[4],o[5]!==b||o[6]!==p||o[7]!==g||o[8]!==s?(i=g&&(0,f.jsx)(_,{onClose:t=>{y(!1),t.stopPropagation()},children:(0,f.jsx)(B,{youtubeId:s,locale:p,context:b})}),o[5]=b,o[6]=p,o[7]=g,o[8]=s,o[9]=i):i=o[9],o[10]!==r||o[11]!==i?(n=(0,f.jsxs)("div",{children:[r,i]}),o[10]=r,o[11]=i,o[12]=n):n=o[12],n},U=t=>{let r,f,c,u,l,d,h=(0,n.c)(18),{locale:p,entry:b,context:g}=t,m=(0,o.useContentfulLiveUpdates)(b);h[0]!==b.sys.id?(r={entryId:b.sys.id},h[0]=b.sys.id,h[1]=r):r=h[1];let y=(0,o.useContentfulInspectorMode)(r);if(h[2]!==m.fields.spaceBottom||h[3]!==m.fields.spaceTop){let t=(0,s.getSpaceTopClass)((0,s.getEnumValue)(m.fields.spaceTop,s.SPACE,s.SPACE.xl)),r=(0,s.getSpaceBottomClass)((0,s.getEnumValue)(m.fields.spaceBottom,s.SPACE,s.SPACE.xl));f=(0,a.twJoin)(s.VIEWPORT_STYLES.viewport(),r,t,"w-full"),h[2]=m.fields.spaceBottom,h[3]=m.fields.spaceTop,h[4]=f}else f=h[4];return h[5]!==y?(c=y({fieldId:"none"}),h[5]=y,h[6]=c):c=h[6],h[7]!==m.fields.image?(u=m.fields.image?.fields?.file?.details.image&&{description:m.fields.image.fields.description??"",size:m.fields.image.fields.file.details.image,src:(0,s.fetchContentfulImage)(m.fields.image.fields.file.url)},h[7]=m.fields.image,h[8]=u):u=h[8],h[9]!==g||h[10]!==p||h[11]!==u||h[12]!==m.fields.youtubeId?(l=(0,i.jsx)(D,{image:u,youtubeId:m.fields.youtubeId,locale:p,context:g}),h[9]=g,h[10]=p,h[11]=u,h[12]=m.fields.youtubeId,h[13]=l):l=h[13],h[14]!==f||h[15]!==c||h[16]!==l?(d=(0,i.jsx)("section",{className:f,...c,children:l}),h[14]=f,h[15]=c,h[16]=l,h[17]=d):d=h[17],d};t.s(["VideoModulePreview",0,U],36127)},92652,t=>{"use strict";var r=t.i(932),i=t.i(78457),n=t.i(22219),n=n;let o=n.object({"@odata.context":n.string().optional(),"@odata.count":n.number().optional(),"@search.answers":n.array(n.object({highlights:n.string().optional(),key:n.string().optional(),score:n.number().optional(),text:n.string().optional()})).optional(),value:n.array(n.object({"@search.captions":n.array(n.object({highlights:n.string().optional(),text:n.string().optional()})).optional(),"@search.highlights":n.object({content:n.array(n.string().optional())}),"@search.rerankerScore":n.number().optional(),"@search.score":n.number().optional(),breadcrumbs:n.array(n.string()).optional(),content:n.string().optional(),id:n.string().optional(),language:n.literal("de").or(n.literal("en")),last_changed:n.null().or(n.string().optional()),meta_description:n.null().or(n.string().optional()),pdf_url:n.string().optional().or(n.literal("None")),referrer_urls:n.array(n.string()).optional(),title:n.null(
1).or(n.string().optional()),url:n.string().optional().or(n.literal("None"))})).optional(),summary:n.string().optional()}).strip();var n=n;let a=n.object({documents:n.array(n.object({documentDate:n.string(),documentId:n.string(),title:n.string()})),isin:n.string(),wkn:n.string().optional()}).strip();n.object({document:n.object({content:n.string(),deeplink:n.string(),document_id:n.string()})}).strip();var s=t.i(33706),f=t.i(81307);let c=f.z.object({redemtion:f.z.string(),redemtionInCent:f.z.string(),remainingDept:f.z.string(),remainingDeptInCent:f.z.string(),text_DE:f.z.string(),text_EN:f.z.string()}),u=f.z.object({annuity:f.z.string(),annuityInCent:f.z.string(),effectiveRate:f.z.string(),financingAmountTotal:f.z.string(),financingAmountTotalInCent:f.z.string(),initialRepaymentRate:f.z.string(),initialRepaymentRateInCent:f.z.string(),interestRate:f.z.string(),redemptionAfterFixedInterestRateDuration:f.z.string(),redemptionAfterFixedInterestRateDurationInCent:f.z.string(),redemptionPlan:f.z.array(c).nullable(),remainingDeptAfterFixedInterestRateDuration:f.z.string(),remainingDeptAfterFixedInterestRateDurationInCent:f.z.string()}),l=f.z.object({annuityCount:f.z.string(),best:u,code:f.z.number(),decimalSeparator:f.z.string(),example:u,financingAmount:f.z.string(),financingAmountInCent:f.z.string(),fixedInterestRateDuration:f.z.string(),max:u,message:f.z.string(),totalDuration:f.z.string()});f.z.object({Eigenkapital:f.z.coerce.number(),Laufzeit:f.z.coerce.number(),Objektwert:f.z.coerce.number(),Sollzinsbindung:f.z.coerce.number()}).strip();var d=f;let h=d.z.object({code:d.z.number(),gesamtzinsen:d.z.string(),message:d.z.string().nullable(),zinssatz:d.z.string()});d.z.object({Betrag:d.z.coerce.number(),Laufzeit:d.z.coerce.number()}).strip();var p=f;let b=p.z.array(p.z.string());var g=t.i(34563);let m=s.logger.child({module:"globals.client"});async function y({eigenkapital:t,laufzeit:r,objektwert:i,sollzinsbindung:n}){let o=new URLSearchParams({Eigenkapital:t,Laufzeit:r,Objektwert:i,Sollzinsbindung:n}).toString();try{let t=await fetch(`/api/calculator?${o}`);if(t.ok){let r=l.safeParse(await t.json());if(r.success)return r.data;throw r.error}throw t}catch(t){(0,s.logError)(m,"Error fetching financing calculator",{},t);return}}async function v({id:t}){try{let r=await fetch(`/api/docfinder/${t}`);if(r.ok){let t=await r.json(),i=a.safeParse(t);if(i.success)return i.data;throw i.error}throw r}catch(r){(0,s.logError)(m,"Error fetching docfinder data",{id:t},r);return}}async function x(){try{let t=await fetch("/api/fixed-deposit-terms");if(t.ok){let r=await t.json(),i=b.safeParse(r);if(i.success)return i.data;throw i.error}throw t}catch(t){(0,s.logError)(m,"Error fetching fixed deposit calculator data",{},t);return}}async function w({betrag:t,laufzeit:r}){let i=new URLSearchParams({Betrag:t,Laufzeit:r}).toString();try{let t=await fetch(`/api/fixed-deposit?${i}`);if(t.ok){let r=h.safeParse(await t.json());if(r.success)return r.data;throw r.error}throw t}catch(t){(0,s.logError)(m,"Error fetching fixed deposit data",{},t);return}}async function _(t){let r=new URLSearchParams({search:t}).toString();try{let t=await fetch(`/api/search?${r}`);if(t.ok){let r=await t.json(),i=o.safeParse(r);if(i.success)return i.data;throw i.error}throw t}catch(r){(0,s.logError)(m,"Error fetching search data",{queryString:t},r);return}}async function S(t,r){let i=new URLSearchParams({search:t}).toString();try{let t=await fetch(`/api/search/summary?${i}`,{signal:r});if(t.ok)return(await t.json()).summary??null;throw t}catch(r){if(r instanceof Error&&"AbortError"===r.name)throw r;(0,s.logError)(m,"Error fetching search summary",{queryString:t},r);return}}function E(t){let n,o=(0,r.c)(2);return(0,i.useDraftMode)()?M:(o[0]!==t?(n=r=>(0,g.hasWebsiteTag)(r,t),o[0]=t,o[1]=n):n=o[1],n)}function M(t){return void 0!==t}t.s(["fetchAiSearch",0,_,"fetchAiSearchSummary",0,S,"fetchDocuments",0,v,"fetchFinancing",0,y,"fetchFixedDeposit",0,w,"fetchFixedDepositTerms",0,x,"useWebsitePredicate",0,E],92652)},54620,t=>{"use strict";var r=t.i(932),i=t.i(71645);let n=()=>{let t,n,o=(0,r.c)(2),[a,s]=(0,i.useState)(!1);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let t=()=>{s(window.scrollY>0)};return t(),window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},n=[],o[0]=t,o[1]=n):(t=o[0],n=o[1]),(0,i.useEffect)(t,n),a};t.s(["useWindowScroll",0,n])},36720,t=>{"use strict";var r=t.i(932),i=t.i(71645);let n=()=>{let t,n,o,a=(0,r.c)(3);a[0]===Symbol.for("react.memo_cache_sentinel")?(t={height:0,width:0},a[0]=t):t=a[0];let[s,f]=(0,i.useState)(t);return a[1]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{let t=()=>{f({height:window.innerHeight,width:window.innerWidth})};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},o=[],a[1]=n,a[2]=o):(n=a[1],o=a[2]),(0,i.useEffect)(n,o),s};t.s(["useWindowSize",0,n])},19461,t=>{"use strict";var r,i,n=t.i(19056),o=t.i(5109);(r={}).HBottomAround="HBottomAround",r.HBottomBetween="HBottomBetween",r.HBottomCenter="HBottomCenter",r.HBottomLeft="HBottomLeft",r.HBottomRight="HBottomRight",r.HCenterAround="HCenterAround",r.HCenterBetween="HCenterBetween",r.HCenterCenter="HCenterCenter",r.HCenterLeft="HCenterLeft",r.HCenterRight="HCenterRight",r.HCenterStretch="HCenterStretch",r.HLeftStretch="HLeftStretch",r.HRightStretch="HRightStretch",r.HTopAround="HTopAround",r.HTopBetween="HTopBetween",r.HTopCenter="HTopCenter",r.HTopLeft="HTo
1pLeft",r.HTopRight="HTopRight",r.VBottomCenter="VBottomCenter",r.VBottomLeft="VBottomLeft",r.VBottomRight="VBottomRight",r.VBottomStretch="VBottomStretch",r.VCenterAround="VCenterAround",r.VCenterBetween="VCenterBetween",r.VCenterCenter="VCenterCenter",r.VCenterLeft="VCenterLeft",r.VCenterRight="VCenterRight",r.VCenterStretch="VCenterStretch",r.VLeftAround="VLeftAround",r.VLeftBetween="VLeftBetween",r.VRightAround="VRightAround",r.VRightBetween="VRightBetween",r.VTopCenter="VTopCenter",r.VTopLeft="VTopLeft",r.VTopRight="VTopRight",r.VTopStretch="VTopStretch";let a={base:()=>"flex",HLeftStretch:()=>(0,n.twMerge)(a.base(),"flex-row justify-start"),HCenterStretch:()=>(0,n.twMerge)(a.base(),"flex-row justify-center"),HRightStretch:()=>(0,n.twMerge)(a.base(),"flex-row justify-end"),HTopBetween:()=>(0,n.twMerge)(a.base(),"flex-row justify-between items-start"),HCenterBetween:()=>(0,n.twMerge)(a.base(),"flex-row justify-between items-center"),HBottomBetween:()=>(0,n.twMerge)(a.base(),"flex-row justify-between items-end"),HTopAround:()=>(0,n.twMerge)(a.base(),"flex-row justify-around items-start"),HCenterAround:()=>(0,n.twMerge)(a.base(),"flex-row justify-around items-center"),HBottomAround:()=>(0,n.twMerge)(a.base(),"flex-row justify-around items-end"),VTopStretch:()=>(0,n.twMerge)(a.base(),"flex-col justify-start"),VCenterStretch:()=>(0,n.twMerge)(a.base(),"flex-col justify-center items-stretch"),VBottomStretch:()=>(0,n.twMerge)(a.base(),"flex-col justify-end"),VLeftBetween:()=>(0,n.twMerge)(a.base(),"flex-col justify-between items-start"),VCenterBetween:()=>(0,n.twMerge)(a.base(),"flex-col justify-between items-center"),VRightBetween:()=>(0,n.twMerge)(a.base(),"flex-col justify-between items-end"),VLeftAround:()=>(0,n.twMerge)(a.base(),"flex-col justify-around items-start"),VCenterAround:()=>(0,n.twMerge)(a.base(),"flex-col justify-around items-center"),VRightAround:()=>(0,n.twMerge)(a.base(),"flex-col justify-around items-end"),HCenterLeft:t=>(0,n.twMerge)(a.base(),(0,n.twMerge)(a.base(),t===o.BREAKPOINTS.md?"md:flex-row md:justify-start md:items-center":"flex-row justify-start items-center")),VTopCenter:()=>(0,n.twMerge)(a.base(),"flex-col justify-start items-center"),HCenterRight:t=>(0,n.twMerge)(a.base(),(0,n.twMerge)(a.base(),t===o.BREAKPOINTS.md?"md:flex-row md:justify-end md:items-center":"flex-row justify-end items-center")),VTopLeft:()=>(0,n.twMerge)(a.base(),"flex-col items-start"),VTopRight:t=>(0,n.twMerge)(a.base(),t===o.BREAKPOINTS.md?"md:flex-col md:items-end":"flex-col items-end"),VCenterLeft:()=>(0,n.twMerge)(a.base(),"flex-col items-start justify-center"),VCenterCenter:()=>(0,n.twMerge)(a.base(),"flex-col justify-center items-center "),VCenterRight:()=>(0,n.twMerge)(a.base(),"flex-col justify-center items-end"),VBottomLeft:()=>(0,n.twMerge)(a.base(),"flex-col justify-end items-start"),VBottomCenter:()=>(0,n.twMerge)(a.base(),"flex-col justify-end items-center"),VBottomRight:()=>(0,n.twMerge)(a.base(),"flex-col justify-end items-end"),HTopLeft:t=>(0,n.twMerge)(a.base(),t===o.BREAKPOINTS.md?"md:flex-row md:items-start md:justify-start":t===o.BREAKPOINTS.lg?"lg:flex-row lg:items-start lg:justify-start":"flex-row items-start justify-start"),HTopCenter:()=>(0,n.twMerge)(a.base(),"flex-row items-start justify-center"),HTopRight:()=>(0,n.twMerge)(a.base(),"flex-row items-start justify-end"),HCenterCenter:t=>(0,n.twMerge)(a.base(),t===o.BREAKPOINTS.md?"md:flex-row md:items-center md:items-center":"flex-row items-center justify-center"),HBottomLeft:()=>(0,n.twMerge)(a.base(),"flex-row items-end justify-start"),HBottomCenter:()=>(0,n.twMerge)(a.base(),"flex-row items-end justify-center"),HBottomRight:()=>(0,n.twMerge)(a.base(),"flex-row items-end justify-end")};var s=((i={}).white="WHITE",i.grey="GREY",i);t.s(["WRAPPER_COLOR",()=>s,"WRAPPER_STYLES",0,a])},28235,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(5109);function o(t){let o,s,f,c=(0,i.c)(10),{href:u,children:l,className:d}=t;return c[0]!==u?(o=(0,n.getLinkTarget)(u),c[0]=u,c[1]=o):o=c[1],c[2]!==u?(s=(0,n.getLinkRel)(u),c[2]=u,c[3]=s):s=c[3],c[4]!==l||c[5]!==d||c[6]!==u||c[7]!==o||c[8]!==s?(f=(0,r.jsx)("a",{onClick:a,href:u,target:o,rel:s,
1className:d,children:l}),c[4]=l,c[5]=d,c[6]=u,c[7]=o,c[8]=s,c[9]=f):f=c[9],f}function a(t){return t.stopPropagation()}t.s(["ContentLink",0,o])},28503,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(37950),o=t.i(78457);let a=t=>{let a,s,f=(0,i.c)(7),{locale:c,draftMode:u,children:l}=t;return f[0]!==l||f[1]!==u||f[2]!==c?(a=(0,r.jsx)(n.ContentfulLivePreviewProvider,{locale:c,targetOrigin:"https://app.eu.contentful.com",enableLiveUpdates:u,debugMode:u,enableInspectorMode:u,children:l}),f[0]=l,f[1]=u,f[2]=c,f[3]=a):a=f[3],f[4]!==u||f[5]!==a?(s=(0,r.jsx)(o.DraftModeProvider,{draftMode:u,children:a}),f[4]=u,f[5]=a,f[6]=s):s=f[6],s};t.s(["PreviewProviderView",0,a])},77319,t=>{"use strict";var r=t.i(43476),i=t.i(932),n=t.i(71645),o=t.i(19056),a=t.i(50729),s=t.i(40697);let f=()=>{let t,f,u,l,d,h=(0,i.c)(7),[p,b]=(0,n.useState)(!1),g=c;h[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let t=()=>{window.pageYOffset>300?b(!0):b(!1)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},f=[],h[0]=t,h[1]=f):(t=h[0],f=h[1]),(0,n.useEffect)(t,f);let m=p?"opacity-100":"opacity-0 pointer-events-none";return h[2]!==m?(u=(0,o.twJoin)("fixed bottom-6 right-4 sm:right-6 lg:right-14 z-10 w-14 h-14","cursor-pointer rounded-full transition-opacity duration-300","bg-comp-action-prim-darkGreen-enabled shadow-sm shadow-black/60",m),h[2]=m,h[3]=u):u=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.jsx)("span",{className:(0,o.twMerge)(s.TYPO_STYLES.icon()," text-white text-2xl"),children:(0,a.toHTMLCode)(a.ICONS.arrowUp)}),h[4]=l):l=h[4],h[5]!==u?(d=(0,r.jsx)("button",{type:"button",onClick:g,className:u,children:l}),h[5]=u,h[6]=d):d=h[6],d};function c(){window.scrollTo({behavior:"smooth",top:0})}t.s(["ScrollButtonView",0,f])},76405,52703,51483,57119,t=>{"use strict";t.s(["renderNode",()=>eI,"renderText",()=>eR],76405),t.s(["StepsModulePreview",()=>I],52703),t.s(["TableModulePreview",()=>ef],51483),t.s(["TableOverviewModulePreview",()=>em],57119);var r=t.i(43476);t.i(89472);var i=t.i(65218),n=t.i(35825),o=t.i(57688),a=t.i(71645),s=t.i(19056),f=r,c=t.i(932),u=t.i(37950),l=t.i(22016),d=s,h=t.i(44411),p=t.i(92652),b=t.i(40228),g=t.i(5109),m=t.i(58720),y=t.i(40697),v=t.i(19461),x=r,w=c,_=u,S=t.i(98038),E=r,M=c,A=s,T=y;let k=t=>{let r,i,n,o,a,s,f,c,u,l,d,h,p=(0,M.c)(23);p[0]!==t?({headline:n,context:i,step:a,children:r,...o}=t,p[0]=t,p[1]=r,p[2]=i,p[3]=n,p[4]=o,p[5]=a):(r=p[1],i=p[2],n=p[3],o=p[4],a=p[5]);let b=i?.website==="neelmeyer";return p[6]!==b?(s=(0,A.twJoin)("text-text-step text-center",T.TYPO_STYLES.copyLHighlight(),b?"pb-1.5":""),p[6]=b,p[7]=s):s=p[7],p[8]!==a||p[9]!==s?(f=(0,E.jsx)("div",{children:(0,E.jsx)("div",{className:"flex items-center justify-center w-10 h-10 rounded-full bg-fg-accent",children:(0,E.jsx)("p",{className:s,children:a})})}),p[8]=a,p[9]=s,p[10]=f):f=p[10],p[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,A.twJoin)(T.TYPO_STYLES.headline6()),p[11]=c):c=p[11],p[12]!==n?(u=(0,E.jsx)("div",{className:"flex items-center",children:(0,E.jsx)("p",{className:c,children:n})}),p[12]=n,p[13]=u):u=p[13],p[14]!==f||p[15]!==u?(l=(0,E.jsxs)("div",{className:"flex flex-row gap-4",children:[f,u]}),p[14]=f,p[15]=u,p[16]=l):l=p[16],p[17]!==r?(d=(0,E.jsx)("div",{className:"rich-text",children:r}),p[17]=r,p[18]=d):d=p[18],p[19]!==o||p[20]!==l||p[21]!==d?(h=(0,E.jsxs)("div",{...o,className:"flex flex-col gap-4 lg:gap-6 text-fg-primary flex-1 max-w-[320px]",children:[l,d]}),p[19]=o,p[20]=l,p[21]=d,p[22]=h):h=p[22],h},R=t=>{let r,i,n,o,a=(0,w.c)(14),{entry:s,step:f,context:c,locale:u}=t,l=(0,_.useContentfulLiveUpdates)(s);a[0]!==s.sys.id?(r={entryId:s.sys.id},a[0]=s.sys.id,a[1]=r):r=a[1];let d=(0,_.useContentfulInspectorMode)(r),h=l.fields.headline;return a[2]!==d?(i=d({fieldId:"none"}),a[2]=d,a[3]=i):i=a[3],a[4]!==c||a[5]!==u||a[6]!==l.fields.descriptionRichtext?(n=l.fields.descriptionRichtext&&(0,S.documentToReactComponents)(l.fields.descriptionRichtext,{renderNode:eI(u,c),renderText:eR}),a[4]=c,a[5]=u,a[6]=l.fields.descriptionRichtext,a[7]=n):n=a[7],a[8]!==c||a[9]!==f||a[10]!==i||a[11]!==n||a[12]!==l.fields.headline?(o=(0,x.jsx)(k,{context:c,step:f,headline:h,...i,children:n}),a[8]=c,a[9]=f,a[10]=i,a[11]=n,a[12]=l.fields.headline,a[13]=o):o=a[13],o},I=t=>{let r,i,n=(0,c.c)(27),{entry:o,locale:a,context:s}=t,x=(0,p.useWebsitePredicate)(s.website),w=(0,u.useContentfulLiveUpdates)(o);n[0]!==o.sys.id?(r={entryId:o.sys.id},n[0]=o.sys.id,n[1]=r):r=n[1];let _=(0,u.useContentfulInspectorMode)(r);if(n[2]!==s||n[3]!==_||n[4]!==a||n[5]!==w.fields.background||n[6]!==w.fields.headline||n[7]!==w.fields.label||n[8]!==w.fields.linkHref||n[9]!==w.fields.linkRef||n[10]!==w.fields.spaceBottom||n[11]!==w.fields.spaceTop||n[12]!==w.fields.stepItems||n[13]!==x){i=Symbol.for("react.early_return_sentinel");e:{let t=(w.fields.stepItems??[]).filter(x),r=(0,h.getLinkURL)(a,s,{...(0,b.getLinkTargetPageId)(w.fields.linkRef,s.website),href:w.fields.linkHref}),o=(0,g.getSpaceTopClass)((0,g.getEnumValue)(w.fields.spaceTop,g.SPACE,g.SPACE.xl)),c=(0,g.getSpaceBottomClass)((0,g.getEnumValue)(w.fields.spaceBottom,g.SPACE,g.SPACE.xl)),u=(0,g.getEnumValue)(w.fields.background,v.WRAPPER_COLOR,v.WRAPPER_COLOR.white)===v.WRAPPER_COLOR.white?"bg-bg-primary":"bg-bg-secondary";if(t){let h,p,b,v,x;
1n[15]!==_?(h=_({fieldId:"none"}),n[15]=_,n[16]=h):h=n[16];let S=(0,d.twMerge)(g.VIEWPORT_STYLES.viewport(),"flex flex-col gap-10 lg:gap-16 md:max-w-[560px] md:m-0 lg:mx-auto lg:max-w-(--w-viewport)",c,o);n[17]===Symbol.for("react.memo_cache_sentinel")?(p=(0,d.twJoin)(y.TYPO_STYLES.headline3(),"text-fg-primary max-w-235"),n[17]=p):p=n[17],n[18]!==p||n[19]!==w.fields.headline?(b=(0,f.jsx)("h3",{className:p,children:w.fields.headline}),n[18]=p,n[19]=w.fields.headline,n[20]=b):b=n[20],n[21]!==s||n[22]!==a?(v=(t,r)=>(0,f.jsx)(R,{entry:t,locale:a,step:r+1,context:s},r),n[21]=s,n[22]=a,n[23]=v):v=n[23];let E=(0,f.jsxs)("div",{...h,className:S,children:[b,(0,f.jsx)("div",{className:"flex flex-col lg:flex-row gap-10 xl:gap-16",children:t.map(v)}),r?(0,f.jsx)(l.default,{className:m.BUTTON_STYLES.primaryHighlightBig(s),href:r,target:(0,g.getLinkTarget)(r),rel:(0,g.getLinkRel)(r),prefetch:!1,children:w.fields.label}):void 0]});n[24]!==u||n[25]!==E?(x=(0,f.jsx)("section",{className:u,children:E}),n[24]=u,n[25]=E,n[26]=x):x=n[26],i=x;break e}}n[2]=s,n[3]=_,n[4]=a,n[5]=w.fields.background,n[6]=w.fields.headline,n[7]=w.fields.label,n[8]=w.fields.linkHref,n[9]=w.fields.linkRef,n[10]=w.fields.spaceBottom,n[11]=w.fields.spaceTop,n[12]=w.fields.stepItems,n[13]=x,n[14]=i}else i=n[14];return i!==Symbol.for("react.early_return_sentinel")?i:null};var L=r,O=c,j=u,N=i,C=s,B=g,P=r,D=c,U=r,z=c,H=S,Y=a,q=s,F=y;let V=t=>{let r,i,n,o=(0,z.c)(13),{title:a,tableRows:s,locale:f,context:c}=t;if(!s||0===s.length)return null;let u=s[0].content.length;if(o[0]!==u||o[1]!==a?(r=a&&(0,U.jsx)("tr",{children:(0,U.jsx)("th",{className:(0,q.twJoin)(F.TYPO_STYLES.headline6(),"!p-6"),colSpan:u,children:a})}),o[0]=u,o[1]=a,o[2]=r):r=o[2],o[3]!==c||o[4]!==f||o[5]!==s){let t;o[7]!==c||o[8]!==f?(t=(t,r)=>(0,U.jsx)(Y.Fragment,{children:(0,H.documentToReactComponents)(t,{renderNode:eI(f,c),renderText:eR})},`row-${r}`),o[7]=c,o[8]=f,o[9]=t):t=o[9],i=s.map(t),o[3]=c,o[4]=f,o[5]=s,o[6]=i}else i=o[6];return o[10]!==r||o[11]!==i?(n=(0,U.jsx)("div",{className:"w-full bg-bg-primary rounded-[16px] border-1 border-border-subtle overflow-hidden",children:(0,U.jsx)("table",{className:"table-module-table",children:(0,U.jsxs)("tbody",{children:[r,i]})})}),o[10]=r,o[11]=i,o[12]=n):n=o[12],n};var K=r,$=c,W=S,G=a,J=s,Z=r,X=c,Q=s,ee=y;let et=t=>{let r,i,n,o,a,s,f=(0,X.c)(17),{item:c,index:u,isVisible:l,handleTab:d,isNeelmeyer:h}=t;f[0]!==d||f[1]!==u?(r=()=>d(u+1),f[0]=d,f[1]=u,f[2]=r):r=f[2];let p=l?"bg-highlightedinfo":"bg-bg-primary";return f[3]!==p?(i=(0,Q.twJoin)("flex items-center px-5 h-[37px] rounded-[100px]","transition-all duration-300 ease-in-out",p),f[3]=p,f[4]=i):i=f[4],f[5]!==h||f[6]!==l?(n=(0,Q.twJoin)(ee.TYPO_STYLES.base(),h&&l?"text-text-step":"text-fg-primary","font-bold text-16 leading-140","transition-colors duration-300"),f[5]=h,f[6]=l,f[7]=n):n=f[7],f[8]!==c||f[9]!==n?(o=(0,Z.jsx)("span",{className:n,children:c}),f[8]=c,f[9]=n,f[10]=o):o=f[10],f[11]!==i||f[12]!==o?(a=(0,Z.jsx)("div",{className:i,children:o}),f[11]=i,f[12]=o,f[13]=a):a=f[13],f[14]!==r||f[15]!==a?(s=(0,Z.jsx)("button",{type:"button",onClick:r,className:"cursor-pointer transition-transform duration-200",children:a}),f[14]=r,f[15]=a,f[16]=s):s=f[16],s},er=t=>{let r,i,n,o,a,s,f,c,u,l,d,h=(0,$.c)(41),{context:p,tableRows:b,title:g,locale:m}=t,[y,v]=(0,G.useState)(1);if(h[0]!==y||h[1]!==p||h[2]!==b){let t,f,c,u=ei(b),l=""===u[0];if(h[9]!==y||h[10]!==l||h[11]!==b){let r;h[13]!==y||h[14]!==l?(r=t=>({...t,content:t.content.filter((t,r)=>
1!l||0===r||r===y)}),h[13]=y,h[14]=l,h[15]=r):r=h[15],t=b.map(r).filter(eo),h[9]=y,h[10]=l,h[11]=b,h[12]=t}else t=h[12];r=t,h[16]===Symbol.for("react.memo_cache_sentinel")?(f=t=>{v(t)},h[16]=f):f=h[16];let d=f;h[17]===Symbol.for("react.memo_cache_sentinel")?(s=(0,J.twMerge)("bg-bg-secondary"),a=(0,J.twMerge)("flex flex-col gap-10 xl:gap-16"),o=(0,J.twMerge)("flex flex-col gap-10 w-full","-mr-4 md:-mr-6 lg:-mr-14 xl:-mr-28","overflow-x-auto"),h[17]=o,h[18]=a,h[19]=s):(o=h[17],a=h[18],s=h[19]),i="flex bg-comp-tabs-focus rounded-[100px] w-max p-1 gap-2",h[20]!==y||h[21]!==p?(c=(t,r)=>{let i=y===r+1;return(0,K.jsx)(et,{item:t,index:r,isVisible:i,handleTab:d,isNeelmeyer:"neelmeyer"===p.website},r)},h[20]=y,h[21]=p,h[22]=c):c=h[22],n=u.filter(ea).map(c),h[0]=y,h[1]=p,h[2]=b,h[3]=r,h[4]=i,h[5]=n,h[6]=o,h[7]=a,h[8]=s}else r=h[3],i=h[4],n=h[5],o=h[6],a=h[7],s=h[8];return h[23]!==i||h[24]!==n?(f=(0,K.jsx)("div",{className:i,children:n}),h[23]=i,h[24]=n,h[25]=f):f=h[25],h[26]!==o||h[27]!==f?(c=(0,K.jsx)("div",{className:o,children:f}),h[26]=o,h[27]=f,h[28]=c):c=h[28],h[29]!==r||h[30]!==p||h[31]!==m||h[32]!==g?(u=(0,K.jsx)("div",{className:"w-full bg-bg-primary rounded-[16px] border-1 border-border-subtle overflow-hidden",children:(0,K.jsx)(V,{title:g,tableRows:r,locale:m,context:p})}),h[29]=r,h[30]=p,h[31]=m,h[32]=g,h[33]=u):u=h[33],h[34]!==a||h[35]!==c||h[36]!==u?(l=(0,K.jsxs)("div",{className:a,children:[c,u]}),h[34]=a,h[35]=c,h[36]=u,h[37]=l):l=h[37],h[38]!==s||h[39]!==l?(d=(0,K.jsx)("section",{className:s,children:l}),h[38]=s,h[39]=l,h[40]=d):d=h[40],d};function ei(t){if(!t||0===t.length)return[];let r=(0,W.documentToReactComponents)(t[0],{renderText:eR}),i=G.default.Children.toArray(r)[0].props.children;return G.default.Children.toArray(i).map(en)}function en(t){return t?"string"==typeof t?t.trim():Array.isArray(t)?t.map(en).join(" ").trim():G.default.isValidElement(t)?en(t.props.children):"":""}function eo(t,r){return 0!==r}function ea(t){return t&&""!==t}let es=t=>{let r,i,n,o=(0,D.c)(13),{title:a,tableRows:s,locale:f,context:c}=t;return o[0]!==c||o[1]!==f||o[2]!==s||o[3]!==a?(r=(0,P.jsx)("div",{className:"hidden lg:block",children:(0,P.jsx)(V,{title:a,tableRows:s,locale:f,context:c})}),o[0]=c,o[1]=f,o[2]=s,o[3]=a,o[4]=r):r=o[4],o[5]!==c||o[6]!==f||o[7]!==s||o[8]!==a?(i=(0,P.jsx)("div",{className:"block lg:hidden",children:(0,P.jsx)(er,{context:c,tableRows:s,locale:f,title:a})}),o[5]=c,o[6]=f,o[7]=s,o[8]=a,o[9]=i):i=o[9],o[10]!==r||o[11]!==i?(n=(0,P.jsxs)("section",{children:[r,i]}),o[10]=r,o[11]=i,o[12]=n):n=o[12],n},ef=t=>{let r,i,n,o,a,s,f,c=(0,O.c)(19),{entry:u,locale:l,context:d}=t,h=(0,j.useContentfulLiveUpdates)(u);c[0]!==u.sys.id?(r={entryId:u.sys.id},c[0]=u.sys.id,c[1]=r):r=c[1];let p=(0,j.useContentfulInspectorMode)(r),b=h.fields.title;c[2]!==h.fields.content?.content?(i=h.fields.content?.content.find(ec)?.content,c[2]=h.fields.content?.content,c[3]=i):i=c[3];let g=i,m=h.fields.paddingWrapper??!1;return g?(c[4]!==m?(n=m&&B.VIEWPORT_STYLES.viewport(),c[4]=m,c[5]=n):n=c[5],c[6]!==n?(o=(0,C.twJoin)(n,"w-full"),c[6]=n,c[7]=o):o=c[7],c[8]!==p?(a=p({fieldId:"none"}),c[8]=p,c[9]=a):a=c[9],c[10]!==d||c[11]!==l||c[12]!==g||c[13]!==b?(s=(0,L.jsx)(es,{title:b,tableRows:g,locale:l,context:d}),c[10]=d,c[11]=l,c[12]=g,c[13]=b,c[14]=s):s=c[14],c[15]!==o||c[16]!==a||c[17]!==s?(f=(0,L.jsx)("div",{className:o,...a,children:s}),c[15]=o,c[16]=a,c[17]=s,c[18]=f):f=c[18],f):null};function ec(t){return t.nodeType===N.BLOCKS.TABLE}var eu=r,el=c,ed=u,eh=s,ep=p,eb=g,eg=y;let em=t=>{let r,i,n,o,a,s,f,c,u=(0,el.c)(37),{entry:l,locale:d,context:h}=t,p=(0,ep.useWebsitePredicate)(h.website),b=(0,ed.useContentfulLiveUpdates)(l);u[0]!==l.sys.id?(r={entryId:l.sys.id},u[0]=l.sys.id,u[1]=r):r=u[1];let g=(0,ed.useContentfulInspectorMode)(r),m=b.fields.title;if(u[2]!==h||u[3]!==l.sys.id||u[4]!==g||u[5]!==d||u[6]!==m||u[7]!==b.fields.paddingWrapper||u[8]!==b.fields.spaceBottom||u[9]!==b.fields.spaceTop||u[10]!==b.fields.tables||u[11]!==p){let t,r=(b.fields.tables||[]).filter(p),f=b.fields.paddingWrapper??!1;if(u[17]!==f||u[18]!==b.fields.spaceBottom||u[19]!==b.fields.spaceTop){let t=(0,eb.getSpaceTopClass)((0,eb.getEnumValue)(b.fields.spaceTop,eb.SPACE,eb.SPACE.xl)),r=(0,eb.getSpaceBottomClass)((0,eb.getEnumValue)(b.fields.spaceBottom,eb.SPACE,eb.SPACE.xl));o=f?(0,eh.twJoin)(eb.VIEWPORT_STYLES.viewport(),t,r):"",u[17]=f,u[18]=b.fields.spaceBottom,u[19]=b.fields.spaceTop,u[20]=o}else o=u[20];u[21]!==g?(a=g({fieldId:"none"}),u[21]=g,u[22]=a):a=u[22],u[23]!==m?(s=m&&(0,eu.jsx)("div",{className:(0,eh.twJoin)(eg.TYPO_STYLES.headline3(),"text-[var(--color-fg-primary)]","pb-10 lg:pb-16"),children:m}),u[23]=m,u[24]=s):s=u[24],i="flex flex-col w-full gap-10",u[25]!==h||u[26]!==l.sys.id||u[27]!==d?(t=(t,r)=>(0,eu.jsx)(ef,{entry:t,locale:d,context:h},`${l.sys.id}-${r}`),u[25]=h,u[26]=l.sys.id,u[27]=d,u[28]=t):t=u[28],n=r.map(t),u[2]=h,u[3]=l.sys.id,u[4]=g,u[5]=d,u[6]=m,u[7]=b.fields.paddingWrapper,u[8]=b.fields.spaceBottom,u[9]=b.fields.spaceTop,u[10]=b.fields.tables,u[11]=p,u[12]=i,u[13]=n,u[14]=o,u[15]=a,u[16]=s}else i=u[12],n=u[13],o=u[14],a=u[15],s=u[16];return u[29]!==i||u[30]!==n?(f=(0,eu.jsx)("div",{className:i,children:n}),u[29]=i,u[30]=n,u[31]=f):f=u[31],u[32]!==o||u[33]!==a||u[34]!==s||u[35]!==f?(c=(0,eu.jsxs)("section",{className:o,...a,children:[s,f]}),u[32]=o,u[33]=a,u[34]=s,u[35]=f,u[36]=c):c=u[36],c};var ey=t.i(36127),ev=h,ex=b,ew=g,e_=t.i(33706),eS=t.i(50729),eE=y,eM=t.i(
17969),eA=t.i(28235),eT=t.i(13199);let ek=e_.pageLogger.child({module:"views/text-renderer.view"});function eR(t,i){return t.split("\n").flatMap((t,n)=>{let o=n>0?(0,r.jsx)("br",{},`br-${n}`):null,s=t=>{let i=/\/icon\/([0-9a-fA-F]+)/g;return t.split(i).map((t,i)=>{if(i%2==0)return t?(0,r.jsx)(a.Fragment,{children:t},`text-part-${i}`):null;let n=Number(`0x${t}`);return(0,r.jsx)("span",{className:eE.TYPO_STYLES.icon(),children:String.fromCharCode(n)},`icon-${i}`)})};return[o,i?"no"===t.toLowerCase()?(0,r.jsx)("span",{className:eE.TYPO_STYLES.icon(),children:(0,eS.toHTMLCode)(eS.ICONS.minus)},`span-no-${n}`):"yes"===t.toLowerCase()?(0,r.jsx)("span",{className:eE.TYPO_STYLES.icon(),children:(0,eS.toHTMLCode)(eS.ICONS.check)},`span-yes-${n}`):t.includes("/icon/")?(0,r.jsx)(a.Fragment,{children:s(t)},`text-${n}`):(0,r.jsx)(a.Fragment,{children:t},`text-${n}`):t.includes("/icon/")?(0,r.jsx)(a.Fragment,{children:s(t)},`text-${n}`):(0,r.jsx)(a.Fragment,{children:t},`text-${n}`)]})}function eI(t,a,f){return{[n.INLINES.HYPERLINK]:(t,i)=>{let n=t.data?.uri;if(!n)return i;let o=(0,ex.isHrefAnchor)(n)?`?target=${(0,ex.purgeAnchor)(n)}`:n;return(0,r.jsx)("a",{href:o,target:(0,ew.getLinkTarget)(o),rel:(0,ew.getLinkRel)(o),children:i})},[n.INLINES.ENTRY_HYPERLINK]:(r,i)=>{let n=eL(r,a.website);return eO((0,ev.getLinkURL)(t,a,n),i)},[n.INLINES.ASSET_HYPERLINK]:(i,n)=>eO((0,ev.getLinkURL)(t,a,{media:i.data.target}),(0,r.jsxs)(r.Fragment,{children:[n,(0,r.jsx)("span",{className:(0,s.twMerge)(eE.TYPO_STYLES.icon(),"pl-1"),children:(0,eS.toHTMLCode)(eS.ICONS.download)})]})),[i.BLOCKS.EMBEDDED_ASSET]:t=>{if(t.data.target.fields?.file){let i=(0,ew.fetchContentfulImage)(t.data.target.fields.file.url);if(!i)return null;let n=t.data.target.fields.file.details.image??{height:0,width:0};return(0,r.jsx)("div",{className:(0,s.twJoin)("max-w-[640px] w-full h-auto"),children:(0,r.jsx)(o.default,{src:i,alt:t.data.target.fields.description??"",...n,sizes:(0,ew.getImageSizes)()})})}return null},[i.BLOCKS.EMBEDDED_ENTRY]:i=>{if(i.data.target.sys.contentType){let n=i.data.target.sys.contentType.sys.id;switch(n){case eM.CONTENT_TYPES.tableModule:return(0,r.jsx)(ef,{entry:i.data.target,locale:t,context:a});case eM.CONTENT_TYPES.tableOverviewModule:return(0,r.jsx)(em,{entry:i.data.target,locale:t,context:a});case eM.CONTENT_TYPES.videoModule:return(0,r.jsx)(ey.VideoModulePreview,{entry:i.data.target,locale:t,context:a});case eM.CONTENT_TYPES.stepsModule:return(0,r.jsx)("div",{className:(0,s.twJoin)(f?"[&>p]:text-fg-on-emphasis [&_*_h3]:text-fg-on-emphasis [&>section>div>div]:text-fg-on-emphasis":"[&>p]:text-fg-primary [&_*_h3]:text-fg-primary [&>section>div>div]:text-fg-primary","[&>section]:p-0 [&>section>div]:lg:flex-col [&>section>a]:!no-underline"),children:(0,r.jsx)(I,{entry:i.data.target,locale:t,context:a})});default:return(0,r.jsxs)(eT.ErrorView,{className:"inline-block",children:["Unknown embedded entry of type ",n]})}}},[i.BLOCKS.PARAGRAPH]:(t,i)=>{let n=!t.content||0===t.content.length||t.content.every(t=>"text"===t.nodeType&&""===t.value.trim());return(0,r.jsx)("p",{children:n?(0,r.jsx)("br",{}):i})}}}function eL(t,r){let i=t.data.target;return i||(0,e_.logWarn)(ek,"Entry link target not found",{node:t,website:r}),(0,ex.getLinkTargetPageId)(i,r)}function eO(t,i){return t?(0,r.jsx)(eA.ContentLink,{href:t,className:"break-all",children:i}):(0,r.jsx)(eT.ErrorView,{className:"inline-block",children:"Not Found"})}},37950,t=>{"use strict";var r,i,n,o=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,c=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,l=(t,r)=>()=>(r||(t((r={exports:{}}).exports,r),t=null),r.exports),d=(t,r,i,n)=>{if(r&&"object"==typeof r||"function"==typeof r)for(var o,c=f(r),l=0,d=c.length;l<d;l++)o=c[l],u.call(t,o)||o===i||a(t,o,{get:(t=>r[t]).bind(null,o),enumerable:!(n=s(r,o))||n.enumerable});return t},h=(t,r,i)=>(i=null==t?{}:o(c(t)),d(!r&&t&&t.__esModule?i:a(i,"default",{value:t,enumerable:!0}),t)),p=(t,r)=>()=>(r||(t((r={exports:{}}).exports,r),t=null),r.exports),b={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},g={0:8203,1:8204,2:8205,3:65279},m={0:String.fromCodePoint(g[0]),1:String.fromCodePoint(g[1]),2:String.fromCodePoint(g[2]),3:String.fromCodePoint(g[3])},y=[,,,,].fill(String.fromCodePoint(g[0])).join(""),v="\0",x=Object.fromEntries(Object.entries(m).map(t=>[t[1],+t[0]])),w=Object.fromEntries(Object.entries(b).map(t=>t.reverse())),_=`${Object.values(b).map(t=>`\\u{${t.toString(16)}}`).join("")}`,S=RegExp(`[${_}]{4,}`,"gu");function E(t){let r=t.match(S);if(r)return M(r[0],!0)[0]}function M(t,r=!1){let i=Array.from(t),n=1/0,o=-1;for(let t=0;t<i.length;++t)i[t]===y[0]&&i[t+1]===y[1]&&i[t+2]===y[2]&&i[t+3]===y[3]&&(n=Math.min(n,t),o=Math.max(o,t));if(-1===o)return A(i,r);for(let t=n;t<=o;++t)if(!((i.length-t)%4))try{let n=i.slice(t+4),o=new Uint8Array(n.length/4);for(let t=0;t<o.length;t++)o[t]=x[n[4*t]]<<6|x[n[4*t+1]]<<4|x[n[4*t+2]]<<2|x[n[4*t+3]];let a=new TextDecoder().decode(o);if(r){let t=a.indexOf(v);return -1===t&&(t=a.length),[JSON.parse(a.slice(0,t))]}
1return a.split(v).filter(Boolean).map(t=>JSON.parse(t))}catch{}return[]}function A(t,r){let i=[];for(let r=.5*t.length;r--;){let n=`${w[t[2*r].codePointAt(0)]}${w[t[2*r+1].codePointAt(0)]}`;i.unshift(String.fromCharCode(parseInt(n,16)))}let n=[],o=[i.join("")],a=10;for(;o.length;){let t=o.shift();try{if(n.push(JSON.parse(t)),r)break}catch(i){if(!a--)throw i;let r=+i.message.match(/\sposition\s(\d+)$/)?.[1];if(!r)throw i;o.unshift(t.substring(0,r),t.substring(r))}}return n}function T(t){return E(t)}var k=p((t,r)=>{var i=Object.prototype.hasOwnProperty,n=Object.prototype.toString;r.exports=function(t,r,o){if("[object Function]"!==n.call(r))throw TypeError("iterator must be a function");var a=t.length;if(a===+a)for(var s=0;s<a;s++)r.call(o,t[s],s,t);else for(var f in t)i.call(t,f)&&r.call(o,t[f],f,t)}});var R=["nt_experiences","nt_name","nt_description","nt_audience_id","nt_rules","nt_metadata","nt_experience_id","nt_type","nt_config","nt_audience","nt_variants"],I=R.map(t=>t.replace(/_([a-z])/g,(t,r)=>r.toUpperCase()));[...R,...I];var L="4.10.19",O=!1;function j(t){O=t}var N=t=>(...r)=>{O&&console[t](...r)},C={error:N("error"),warn:N("warn"),log:N("log")};function B(t,r=500){let i=window.location.href,n=setInterval(()=>{let r=window.location.href;r!==i&&(i=r,t(r))},r);return()=>clearInterval(n)}var P="live-preview-sdk",D=new Set(["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"]);function U(t,r,i){let n={...r,method:t,source:P,location:window.location.href,version:L};C.log("Send message",n),i.forEach(t=>{window.top?.postMessage(n,t)})}function z(t,r=100){let i;return(...n)=>{clearTimeout(i),i=setTimeout(()=>{t.apply(this,n)},r)}}function H(){try{return window.top?.location.href!==window.location.href}catch{return!0}}function Y(){return`${performance.now()}-${Math.random().toString(36).slice(2)}`}function q(t){return"object"==typeof t.data&&!!t.data&&"source"in t.data&&"live-preview-editor"===t.data.source}var F=l((r,i)=>{var n,o="__lodash_hash_undefined__",a=0x1fffffffffffff,s="[object Arguments]",f="[object Array]",c="[object Boolean]",u="[object Date]",l="[object Error]",d="[object Function]",h="[object Map]",p="[object Number]",b="[object Object]",g="[object Promise]",m="[object RegExp]",y="[object Set]",v="[object String]",x="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",S="[object Float64Array]",E="[object Int8Array]",M="[object Int16Array]",A="[object Int32Array]",T="[object Uint8Array]",k="[object Uint8ClampedArray]",R="[object Uint16Array]",I="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,O=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,N={};N["[object Float32Array]"]=N[S]=N[E]=N[M]=N[A]=N[T]=N[k]=N[R]=N[I]=!0,N[s]=N[f]=N[w]=N[c]=N[_]=N[u]=N[l]=N[d]=N[h]=N[p]=N[b]=N[m]=N[y]=N[v]=N[x]=!1;var C=t.g&&t.g.Object===Object&&t.g,B="object"==typeof self&&self&&self.Object===Object&&self,P=C||B||Function("return this")(),D="object"==typeof r&&r&&!r.nodeType&&r,U=D&&"object"==typeof i&&i&&!i.nodeType&&i,z=U&&U.exports===D,H=z&&C.process,Y=function(){try{return H&&H.binding&&H.binding("util")}catch{}}(),q=Y&&Y.isTypedArray;function F(t,r){for(var i=-1,n=null==t?0:t.length,o=0,a=[];++i<n;){var s=t[i];r(s,i,t)&&(a[o++]=s)}return a}function V(t,r){for(var i=-1,n=r.length,o=t.length;++i<n;)t[o+i]=r[i];return t}function K(t,r){for(var i=-1,n=null==t?0:t.length;++i<n;)if(r(t[i],i,t))return!0;return!1}function $(t,r){for(var i=-1,n=Array(t);++i<t;)n[i]=r(i);return n}function W(t){return function(r){return t(r)}}function G(t,r){return t.has(r)}function J(t,r){return t?.[r]}function Z(t){var r=-1,i=Array(t.size);return t.forEach(function(t,n){i[++r]=[n,t]}),i}function X(t,r){return function(i){return t(r(i))}}function Q(t){var r=-1,i=Array(t.size);return t.forEach(function(t){i[++r]=t}),i}var ee=Array.prototype,et=Function.prototype,er=Object.prototype,ei=P["__core-js_shared__"],en=et.toString,eo=er.hasOwnProperty,ea=(n=/[^.]+$/.exec(ei&&ei.keys&&ei.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",es=er.toString,ef=RegExp("^"+en.call(eo).replace(L,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ec=z?P.Buffer:void 0,eu=P.Symbol,el=P.Uint8Array,ed=er.propertyIsEnumerable,eh=ee.splice,ep=eu?eu.toStringTag:void 0,eb=Object.getOwnPropertySymbols,eg=ec?ec.isBuffer:void 0,em=X(Object.keys,Object),ey=tc(P,"DataView"),ev=tc(P,"Map"),ex=tc(P,"Promise"),ew=tc(P,"Set"),e_=tc(P,"WeakMap"),eS=tc(Object,"create"),eE=ty(ey),eM=ty(ev),eA=ty(ex),eT=ty(ew),ek=ty(e_),eR=eu?eu.prototype:void 0,eI=eR?eR.valueOf
1:void 0;function eL(t){var r=-1,i=null==t?0:t.length;for(this.clear();++r<i;){var n=t[r];this.set(n[0],n[1])}}function eO(){this.__data__=eS?eS(null):{},this.size=0}function ej(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=!!r,r}function eN(t){var r=this.__data__;if(eS){var i=r[t];return i===o?void 0:i}return eo.call(r,t)?r[t]:void 0}function eC(t){var r=this.__data__;return eS?void 0!==r[t]:eo.call(r,t)}function eB(t,r){var i=this.__data__;return this.size+=+!this.has(t),i[t]=eS&&void 0===r?o:r,this}function eP(t){var r=-1,i=null==t?0:t.length;for(this.clear();++r<i;){var n=t[r];this.set(n[0],n[1])}}function eD(){this.__data__=[],this.size=0}function eU(t){var r=this.__data__,i=e4(r,t);return!(i<0)&&(i==r.length-1?r.pop():eh.call(r,i,1),--this.size,!0)}function ez(t){var r=this.__data__,i=e4(r,t);return i<0?void 0:r[i][1]}function eH(t){return e4(this.__data__,t)>-1}function eY(t,r){var i=this.__data__,n=e4(i,t);return n<0?(++this.size,i.push([t,r])):i[n][1]=r,this}function eq(t){var r=-1,i=null==t?0:t.length;for(this.clear();++r<i;){var n=t[r];this.set(n[0],n[1])}}function eF(){this.size=0,this.__data__={hash:new eL,map:new(ev||eP),string:new eL}}function eV(t){var r=tf(this,t).delete(t);return this.size-=!!r,r}function eK(t){return tf(this,t).get(t)}function e$(t){return tf(this,t).has(t)}function eW(t,r){var i=tf(this,t),n=i.size;return i.set(t,r),this.size+=+(i.size!=n),this}function eG(t){var r=-1,i=null==t?0:t.length;for(this.__data__=new eq;++r<i;)this.add(t[r])}function eJ(t){return this.__data__.set(t,o),this}function eZ(t){return this.__data__.has(t)}function eX(t){var r=this.__data__=new eP(t);this.size=r.size}function eQ(){this.__data__=new eP,this.size=0}function e0(t){var r=this.__data__,i=r.delete(t);return this.size=r.size,i}function e1(t){return this.__data__.get(t)}function e2(t){return this.__data__.has(t)}function e6(t,r){var i=this.__data__;if(i instanceof eP){var n=i.__data__;if(!ev||n.length<199)return n.push([t,r]),this.size=++i.size,this;i=this.__data__=new eq(n)}return i.set(t,r),this.size=i.size,this}function e3(t,r){var i=tw(t),n=!i&&tx(t),o=!i&&!n&&tS(t),a=!i&&!n&&!o&&tR(t),s=i||n||o||a,f=s?$(t.length,String):[],c=f.length;for(var u in t)(r||eo.call(t,u))&&!(s&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||th(u,c)))&&f.push(u);return f}function e4(t,r){for(var i=t.length;i--;)if(tv(t[i][0],r))return i;return -1}function e5(t,r,i){var n=r(t);return tw(t)?n:V(n,i(t))}function e8(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":ep&&ep in Object(t)?tu(t):tm(t)}function e9(t){return tk(t)&&e8(t)==s}function e7(t,r,i,n,o){return t===r||(null!=t&&null!=r&&(tk(t)||tk(r))?te(t,r,i,n,e7,o):t!=t&&r!=r)}function te(t,r,i,n,o,a){var c=tw(t),u=tw(r),l=c?f:td(t),d=u?f:td(r);l=l==s?b:l,d=d==s?b:d;var h=l==b,p=d==b,g=l==d;if(g&&tS(t)){if(!tS(r))return!1;c=!0,h=!1}if(g&&!h)return a||=new eX,c||tR(t)?tn(t,r,i,n,o,a):to(t,r,l,i,n,o,a);if(!(1&i)){var m=h&&eo.call(t,"__wrapped__"),y=p&&eo.call(r,"__wrapped__");
1if(m||y)return o(m?t.value():t,y?r.value():r,i,n,a||=new eX)}return!!g&&ta(t,r,i,n,o,a||=new eX)}function tt(t){return!(!tT(t)||tb(t))&&(tM(t)?ef:O).test(ty(t))}function tr(t){return tk(t)&&tA(t.length)&&!!N[e8(t)]}function ti(t){if(!tg(t))return em(t);var r=[];for(var i in Object(t))eo.call(t,i)&&"constructor"!=i&&r.push(i);return r}function tn(t,r,i,n,o,a){var s=1&i,f=t.length,c=r.length;if(f!=c&&!(s&&c>f))return!1;var u=a.get(t);if(u&&a.get(r))return u==r;var l=-1,d=!0,h=2&i?new eG:void 0;for(a.set(t,r),a.set(r,t);++l<f;){var p=t[l],b=r[l];if(n)var g=s?n(b,p,l,r,t,a):n(p,b,l,t,r,a);if(void 0!==g){if(g)continue;d=!1;break}if(h){if(!K(r,function(t,r){if(!G(h,r)&&(p===t||o(p,t,i,n,a)))return h.push(r)})){d=!1;break}}else if(!(p===b||o(p,b,i,n,a))){d=!1;break}}return a.delete(t),a.delete(r),d}function to(t,r,i,n,o,a,s){switch(i){case _:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case w:return!(t.byteLength!=r.byteLength||!a(new el(t),new el(r)));case c:case u:case p:return tv(+t,+r);case l:return t.name==r.name&&t.message==r.message;case m:case v:return t==r+"";case h:var f=Z;case y:var d=1&n;if(f||=Q,t.size!=r.size&&!d)break;var b=s.get(t);if(b)return b==r;n|=2,s.set(t,r);var g=tn(f(t),f(r),n,o,a,s);return s.delete(t),g;case"[object Symbol]":if(eI)return eI.call(t)==eI.call(r)}return!1}function ta(t,r,i,n,o,a){var s=1&i,f=ts(t),c=f.length;if(c!=ts(r).length&&!s)return!1;for(var u=c;u--;){var l=f[u];if(!(s?l in r:eo.call(r,l)))return!1}var d=a.get(t);if(d&&a.get(r))return d==r;var h=!0;a.set(t,r),a.set(r,t);for(var p=s;++u<c;){var b=t[l=f[u]],g=r[l];if(n)var m=s?n(g,b,l,r,t,a):n(b,g,l,t,r,a);if(!(void 0===m?b===g||o(b,g,i,n,a):m)){h=!1;break}p||="constructor"==l}if(h&&!p){var y=t.constructor,v=r.constructor;y!=v&&"constructor"in t&&"constructor"in r&&!("function"==typeof y&&y instanceof y&&"function"==typeof v&&v instanceof v)&&(h=!1)}return a.delete(t),a.delete(r),h}function ts(t){return e5(t,tI,tl)}function tf(t,r){var i=t.__data__;return tp(r)?i["string"==typeof r?"string":"hash"]:i.map}function tc(t,r){var i=J(t,r);return tt(i)?i:void 0}function tu(t){var r=eo.call(t,ep),i=t[ep];try{t[ep]=void 0;var n=!0}catch{}var o=es.call(t);return n&&(r?t[ep]=i:delete t[ep]),o}eL.prototype.clear=eO,eL.prototype.delete=ej,eL.prototype.get=eN,eL.prototype.has=eC,eL.prototype.set=eB,eP.prototype.clear=eD,eP.prototype.delete=eU,eP.prototype.get=ez,eP.prototype.has=eH,eP.prototype.set=eY,eq.prototype.clear=eF,eq.prototype.delete=eV,eq.prototype.get=eK,eq.prototype.has=e$,eq.prototype.set=eW,eG.prototype.add=eG.prototype.push=eJ,eG.prototype.has=eZ,eX.prototype.clear=eQ,eX.prototype.delete=e0,eX.prototype.get=e1,eX.prototype.has=e2,eX.prototype.set=e6;var tl=eb?function(t){return null==t?[]:F(eb(t=Object(t)),function(r){return ed.call(t,r)})}:tL,td=e8;function th(t,r){return!!(r??=a)&&("number"==typeof t||j.test(t))&&t>-1&&t%1==0&&t<r}function tp(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}function tb(t){return!!ea&&ea in t}function tg(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||er)}function tm(t){return es.call(t)}function ty(t){if(null!=t){try{return en.call(t)}catch{}try{return t+""}catch{}}return""}function tv(t,r){return t===r||t!=t&&r!=r}(ey&&td(new ey(new ArrayBuffer(1)))!=_||ev&&td(new ev)!=h||ex&&td(ex.resolve())!=g||ew&&td(new ew)!=y||e_&&td(new e_)!=x)&&(td=function(t){var r=e8(t),i=r==b?t.constructor:void 0,n=i?ty(i):"";if(n)switch(n){case eE:return _;case eM:return h;case eA:return g;case eT:return y;case ek:return x}return r});var tx=e9(function(){return arguments}())?e9:function(t){return tk(t)&&eo.call(t,"callee")&&!ed.call(t,"callee")},tw=Array.isArray;function t_(t){return null!=t&&tA(t.length)&&!tM(t)}var tS=eg||tO;function tE(t,r){return e7(t,r)}function tM(t){if(!tT(t))return!1;var r=e8(t);return r==d||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}function tA(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function tT(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}function tk(t){return"object"==typeof t&&!!t}var tR=q?W(q):tr;function tI(t){return t_(t)?e3(t):ti(t)}function tL(){return[]}function tO(){return!1}i.exports=tE}),V=h(F(),1),K=((r={}).FIELD_ID="data-contentful-field-id",r.ENTRY_ID="data-contentful-entry-id",r.ASSET_ID="data-contentful-asset-id",r.LOCALE="data-contentful-locale",r.SPACE="data-contentful-space",r.ENVIRONMENT="data-contentful-environment",r),$=((i={}).MOUSE_MOVE="MOUSE_MOVE",i.SCROLL_START="SCROLL_START",i.SCROLL_END="SCROLL_END",i.RESIZE_START="RESIZE_START",i.RESIZE_END="RESIZE_END",i.TAGGED_ELEMENTS="TAGGED_ELEMENTS",i.INSPECTOR_MODE_CHANGED="INSPECTOR_MODE_CHANGED",i),W={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},G={0:8203,1:8204,2:8205,3:65279},J={0:String.fromCodePoint(G[0]),1:String.fromCodePoint(G[1]),2:String.fromCodePoint(G[2]),3:String.fromCodePoint(G[3])};
vendor: 4,229 bytes, line 1
1[,,,,].fill(String.fromCodePoint(G[0])).join(""),Object.fromEntries(Object.entries(J).map(t=>[t[1],+t[0]])),Object.fromEntries(Object.entries(W).map(t=>t.reverse()));var Z=`${Object.values(W).map(t=>`\\u{${t.toString(16)}}`).join("")}`,X=RegExp(`[${Z}]{4,}`,"gu"),Q=t=>{if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;let r=t;return!(!r.hasAttribute(K.FIELD_ID)||!r.hasAttribute(K.ENTRY_ID)&&!r.hasAttribute(K.ASSET_ID))};function ee(t,r){if(!Q(t))return null;let i={fieldId:t.getAttribute(K.FIELD_ID),locale:t.getAttribute(K.LOCALE)??r.locale,environment:t.getAttribute(K.ENVIRONMENT)??r.environment,space:t.getAttribute(K.SPACE)??r.space,manuallyTagged:!0};if(!i.fieldId)return C.warn("Element is missing field ID attribute and cannot be tagged",{id:t.getAttribute(K.ENTRY_ID)??t.getAttribute(K.ASSET_ID),sharedProps:i}),null;let n=t.getAttribute(K.ENTRY_ID);if(n)return{...i,entryId:n};let o=t.getAttribute(K.ASSET_ID);return o?{...i,assetId:o}:null}function et(t,r){return t.href===r.href}function er(t,r){return!(!et(t.sourceMap,r.sourceMap)||t.element!==r.element)}function ei(t){let r=[];return"function"==typeof t.matches&&t.matches("*")&&(r=[t]),[...r,...Array.from(t.querySelectorAll("*:not(script,style,meta,title)"))].map(t=>({node:t,text:en(t)})).filter(({text:t})=>!!(t&&t.match(X)))}function en(t){return t.matches("input[type=submit], input[type=button], input[type=reset]")?t.value:t.matches("img, video")?t.alt:Array.from(t.childNodes).filter(t=>t.nodeType===Node.TEXT_NODE&&!!t.textContent).map(t=>t.textContent).join("")}function eo(t,r){for(let i of r)if(i.element===t||i.element.contains(t))return!0;return!1}function ea({root:t=window.document,options:r}){let i=[...r.ignoreManuallyTaggedElements?[]:t.querySelectorAll(`[${K.ASSET_ID}][${K.FIELD_ID}], [${K.ENTRY_ID}][${K.FIELD_ID}]`)].map(t=>({element:t,attributes:ee(t,r)})).filter(({attributes:t})=>null!==t),n=[];for(let{node:r,text:o}of ei("body"in t?t.body:t)){let t=T(o);if(!t||!t.origin.includes("contentful.com")){C.warn("Element has missing or invalid ContentSourceMap, please check if you have correctly enabled ContentSourceMaps and that the element's data originates from Contentful",{node:r,sourceMap:t});continue}if(!(eo(r,i)||n.some(i=>i.element.contains(r)&&et(i.sourceMap,t)))){if(r.matches("img")){let i=r.closest("figure")||r.closest("picture")||r;n.push({element:i,sourceMap:t});continue}n.push({element:r,sourceMap:t})}}let o=n.filter((t,r)=>n.findIndex(r=>er(t,r))===r);for(let{element:t,sourceMap:r}of o){let n=null;if(r.href){let i=ed(r.href);if(!i)continue;if("Asset"===i.entityType)n={fieldId:i.fieldId,locale:i.locale,space:i.space,environment:i.environment,assetId:i.entityId};else if("Entry"===i.entityType)n={fieldId:i.fieldId,locale:i.locale,space:i.space,environment:i.environment,entryId:i.entityId};else{C.warn("Unknown entityType",{element:t,sourceMap:r});continue}}else if(r.contentful&&eh(r.contentful)){let i=r.contentful;if(!i.entity||!i.field||!i.locale||!i.space||!i.environment){C.warn("Element has missing information in their ContentSourceMap, please check if you have restricted the platform for the encoding. (Missing parameters in `contentful`)",{element:t,sourceMap:r});continue}let o={fieldId:i.field,locale:i.locale,space:i.space,environment:i.environment};if("Asset"===i.entityType)o.assetId=i.entity,n=o;else if("Entry"===i.entityType)o.entryId=i.entity,n=o;else{C.warn("Unknown entityType in contentful data",{element:t,sourceMap:r});continue}}else{C.warn("Element has neither href nor contentful data in their ContentSourceMap, unable to extract attributes.",{element:t,sourceMap:r});continue}i.push({element:t,attributes:n})}let a=i.filter(({attributes:t})=>t?.manuallyTagged===!1||!t?.manuallyTagged).length;return{taggedElements:i,manuallyTaggedCount:i.length-a,automaticallyTaggedCount:a,autoTaggedElements:o}}function es({options:t}){return[...new Set(ea({options:t}).taggedElements.map(t=>t.attributes&&"entryId"in t.attributes?t.attributes.entryId:null).filter(Boolean))]}var ef=(t,r,i=window.document)=>{let{top:n,right:o,bottom:a,left:s}=r,f=i.elementFromPoint(s+1,n+1),c=i.elementFromPoint(o-1,n+1),u=i.elementFromPoint(s+1,a-1),l=i.elementFromPoint(o-1,a-1),d=r=>!!r&&(t===r||t.contains(r));
1return[d(f),d(c),d(u),d(l)].filter(Boolean).length<2},ec=(t,r=window.document)=>t.map(t=>({...t,isVisible:t.element.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}),isCoveredByOtherElement:ef(t.element,t.coordinates,r)})),eu=t=>t.map(({element:t,attributes:r})=>({element:t,coordinates:t.getBoundingClientRect(),attributes:r})),el=(t,r=window.document)=>ec(eu(t),r);function ed(t){try{let r=new URL(t),i=r.searchParams.get("focusedField"),n=r.searchParams.get("focusedLocale"),o=r.pathname.split("/").filter(Boolean),a=o.indexOf("spaces"),s=o.indexOf("environments"),f=-1===a?void 0:o[a+1],c=-1===s?void 0:o[s+1],u,l,d=o.indexOf("entries"),h=o.indexOf("assets");return -1===d?-1!==h&&(u="Asset",l=o[h+1]):(u="Entry",l=o[d+1]),u&&l?i?n?f&&c?{entityId:l,entityType:u,fieldId:i,locale:n,space:f,environment:c}:(console.warn("Missing space or environment in href path",{href:t}),null):(console.warn("Missing focusedLocale query parameter in href",{href:t}),null):(console.warn("Missing focusedField query parameter in href",{href:t}),null):(console.warn("Unable to determine entityType or entityId from href",{href:t}),null)}catch(r){return console.warn("Invalid href URL",{href:t,error:r}),null}}function eh(t){return t&&"string"==typeof t.entity&&"string"==typeof t.field&&"string"==typeof t.locale&&"string"==typeof t.space&&"string"==typeof t.environment&&("Asset"===t.entityType||"Entry"===t.entityType)}function ep(t){return D.has(t.element.tagName.toUpperCase())?{[t.element.tagName.toLowerCase()]:Array.from(t.element.attributes).map(t=>`${t.name}="${t.value}"`).join(" ")}:{[t.element.tagName.toLowerCase()]:t.element.innerHTML}}var eb=class{options;delay=300;isScrolling=!1;scrollTimeout;isResizing=!1;resizeTimeout;hoveredElement;taggedElements=[];manuallyTaggedCount=0;automaticallyTaggedCount=0;releaseId;intersectionObserver;observersCB=[];cleanupCB=[];constructor(t){this.options=t,this.intersectionObserver=new IntersectionObserver(t=>{let r=this.taggedElements;for(let i of t)if(i.isIntersecting)for(let t of r)t.element===i.target&&(t.coordinates=i.intersectionRect,t.isVisible=i.target.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}));this.taggedElements=r,this.sendTaggedElements()},{threshold:.15})}init=()=>{this.cleanupCB=[this.addScrollListener(),this.addMutationListener(document.body),this.addResizeListener(),this.addHoverListener()],this.updateElements()};cleanup=()=>{this.observersCB.forEach(t=>
vendor: 6,059 bytes, line 1
1t()),this.cleanupCB.forEach(t=>t())};receiveMessage=t=>{if(t.method===$.INSPECTOR_MODE_CHANGED){let{isInspectorActive:r,releaseId:i}=t;this.releaseId=i,r?this.init():this.cleanup()}};observe=t=>{this.intersectionObserver.observe(t);let r=this.addMutationListener(t);this.observersCB.push(r,()=>this.intersectionObserver.unobserve(t))};addScrollListener=()=>{let{targetOrigin:t}=this.options,r=()=>{this.isScrolling||(this.isScrolling=!0,U($.SCROLL_START,{},t)),this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isScrolling=!1,U($.SCROLL_END,{},t),this.updateElements()},this.delay)},i={capture:!0,passive:!0};return window.addEventListener("scroll",r,i),()=>window.removeEventListener("scroll",r,i)};addMutationListener=t=>{let r=new MutationObserver(()=>{this.updateElements()});return r.observe(t,{characterData:!0,attributes:!0,attributeFilter:[K.ENTRY_ID,K.FIELD_ID,K.LOCALE,K.SPACE,K.ENVIRONMENT,"class","style"],childList:!0,subtree:!0}),()=>r.disconnect()};addResizeListener=()=>{let{targetOrigin:t}=this.options,r=new ResizeObserver(()=>{this.isResizing||(this.isResizing=!0,U($.RESIZE_START,{},t)),this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{this.isResizing=!1,U($.RESIZE_END,{},t),this.updateElements()},this.delay)});return r.observe(document.body),()=>r.disconnect()};addHoverListener=()=>{let t=z(t=>{let r;for(let i of t){let t=i;if("BODY"===t.nodeName)break;let n=this.taggedElements.find(r=>r.element===t);if(n){r=n;break}}this.hoveredElement=r?.element,this.updateElements()},this.delay),r=r=>{t(r.composedPath())};return window.addEventListener("mouseover",r,{passive:!0}),()=>window.removeEventListener("mouseover",r)};sendTaggedElements=()=>{U($.TAGGED_ELEMENTS,{elements:this.taggedElements.map(t=>({coordinates:t.coordinates,isVisible:!!t.isVisible,attributes:t.attributes,isHovered:this.hoveredElement===t.element,isCoveredByOtherElement:!!t.isCoveredByOtherElement,snapshot:ep(t)})),automaticallyTaggedCount:this.automaticallyTaggedCount,manuallyTaggedCount:this.manuallyTaggedCount,...void 0!==this.releaseId&&{releaseId:this.releaseId}},this.options.targetOrigin)};updateElements=()=>{let{taggedElements:t,manuallyTaggedCount:r,automaticallyTaggedCount:i}=ea({options:this.options}),n=el(t);(0,V.default)(n,this.taggedElements)||(this.observersCB.forEach(t=>t()),this.observersCB=[],this.taggedElements=n,t.forEach(({element:t})=>this.observe(t)),this.manuallyTaggedCount=r,this.automaticallyTaggedCount=i)}},{parse:eg,stringify:em}=JSON,{keys:ey}=Object,ev=String,ex="string",ew="object",e_=(t,r)=>r,eS=(t,r,i)=>{let n=ev(r.push(i)-1);return t.set(i,n),n},eE=(t,r,i)=>{let n=r&&typeof r===ew?(t,i)=>""===t||-1<r.indexOf(t)?i:void 0:r||e_,o=new Map,a=[],s=[],f=+eS(o,a,n.call({"":t},"",t)),c=!f;for(;f<a.length;)c=!0,s[f]=em(a[f++],u,i);return"["+s.join(",")+"]";function u(t,r){if(c)return c=!c,r;let i=n.call(this,t,r);switch(typeof i){case ew:if(null===i)break;case ex:return o.get(i)||eS(o,a,i)}return i}},eM=((n=eM||{}).CONNECTED="CONNECTED",n.DISCONNECTED="DISCONNECTED",n.ERROR="ERROR",n.TAGGED_FIELD_CLICKED="TAGGED_FIELD_CLICKED",n.URL_CHANGED="URL_CHANGED",n.SUBSCRIBED="SUBSCRIBED",n.UNSUBSCRIBED="UNSUBSCRIBED",n.ENTRY_UPDATED="ENTRY_UPDATED",n.ENTRY_SAVED="ENTRY_SAVED",n.DEBUG_MODE_ENABLED="DEBUG_MODE_ENABLED",n);function eA(t,r){U("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...t},r)}function eT(t,r){U("TAGGED_FIELD_CLICKED",{action:"TAGGED_FIELD_CLICKED",...t},r)}var ek=class{subscriptions=new Map;defaultLocale;sendMessage;constructor({locale:t,targetOrigin:r}){this.defaultLocale=t,this.sendMessage=(t,i)=>U(t,i,r)}async receiveMessage(t){if(t.method===eM.ENTRY_UPDATED){let{data:r,subscriptionId:i}=t,n=this.subscriptions.get(i);n?(n.callback(r),n.data=r,this.subscriptions.set(i,n)):C.error("Received an update for an unknown subscription",{subscriptionId:i,data:r,subscriptions:this.subscriptions})}}subscribe(t){let r=Y(),i=t.locale??this.defaultLocale;this.subscriptions.set(r,{...t});let n={locale:i,event:"edit",id:r,config:eE(t)};return this.sendMessage(eM.SUBSCRIBED,n),()=>{this.sendMessage(eM.UNSUBSCRIBED,n),this.subscriptions.delete(r)}}},eR=class{locale;options;inspectorModeEnabled;subscription;constructor({locale:t,options:r,inspectorModeEnabled:i}){this.locale=t,this.options=r,this.inspectorModeEnabled=i}subscribe(t){return this.subscription&&C.log("There is already a subscription for the save event, the existing one will be replaced."),this.subscription=t,()=>{this.subscription=void 0}}receiveMessage(t){if(t.method===eM.ENTRY_SAVED&&this.subscription){let{entity:r}=t;this.inspectorModeEnabled?es({options:this.options}).includes(r.sys.id)&&this.subscription(r):this.subscription(r)}}},eI=["https://app.contentful.com","https://app.eu.contentful.com","http://localhost:3001"],eL=class t{static initialized=!1;static inspectorMode=null;static liveUpdates=null;static saveEvent=null;static inspectorModeEnabled=!0;static liveUpdatesEnabled=!0;static locale;static space;static environment;static sendMessage;static targetOrigin;static init(r){if("object"!=typeof r||!r?.locale)throw Error("Init function has to be called with a locale configuration (for example: `ContentfulLivePreview.init({ locale: 'en-US'})`)");let{debugMode:i,enableInspectorMode:n,enableLiveUpdates:o,locale:a,environment:s,space:f,targetOrigin:c}=r;if("u">typeof window){if(!H())return this.liveUpdatesEnabled=!1,Promise.resolve(null);if(i&&j(i),"boolean"==typeof n&&(this.inspectorModeEnabled=n),"boolean"==typeof o&&(this.liveUpdatesEnabled=o),this.locale=a,this.space=f,this.environment=s,this.initTargetOrigin(c),this.initialized)return C.log("You have already initialized the Live Preview SDK."),Promise.resolve(t.inspectorMode);this.inspectorModeEnabled&&(this.inspectorMode=new eb({locale:a,space:f,environment:s,targetOrigin:this.targetOrigin,ignoreManuallyTaggedElements:r.experimental?.ignoreManuallyTaggedElements})),this.liveUpdatesEnabled&&(this.liveUpdates=new ek({locale:a,targetOrigin:this.targetOrigin}
1),this.saveEvent=new eR({locale:a,options:{locale:this.locale,space:this.space,environment:this.environment,targetOrigin:this.targetOrigin},inspectorModeEnabled:this.inspectorModeEnabled})),window.addEventListener("message",t=>{if(q(t)){if(C.log("Received message",t.data),t.data.method===eM.DEBUG_MODE_ENABLED)return void j(!0);this.inspectorModeEnabled&&this.inspectorMode?.receiveMessage(t.data),this.liveUpdatesEnabled&&(this.liveUpdates?.receiveMessage(t.data),this.saveEvent?.receiveMessage(t.data))}}),B(()=>{U(eM.URL_CHANGED,{action:eM.URL_CHANGED,taggedElementCount:document.querySelectorAll(`[${K.ENTRY_ID}]`).length},this.targetOrigin)});let{taggedElements:u,manuallyTaggedCount:l,automaticallyTaggedCount:d}=this.inspectorModeEnabled?ea({options:{locale:this.locale,space:this.space,environment:this.environment}}):{taggedElements:[],manuallyTaggedCount:0,automaticallyTaggedCount:0},h=u.length;return U(eM.CONNECTED,{action:eM.CONNECTED,connected:!0,tags:h,taggedElementCount:h,locale:this.locale,isInspectorEnabled:this.inspectorModeEnabled,isLiveUpdatesEnabled:this.liveUpdatesEnabled,manuallyTaggedElementCount:l,automaticallyTaggedElementCount:d,hideCoveredElementOutlines:r.experimental?.hideCoveredElementOutlines,version:L},this.targetOrigin),this.initialized=!0,Promise.resolve(t.inspectorMode)}}static initTargetOrigin(t){if(t)this.targetOrigin=Array.isArray(t)?t:[t];else{let t=window.location.ancestorOrigins,r=t?eI.find(r=>t.contains(r)):eI.find(t=>document.referrer.includes(t));if(!r)throw Error("The current origin is not supported. Please provide a targetOrigin in the live preview configuration.");this.targetOrigin=[r]}}static subscribe(t,r){if(!this.liveUpdatesEnabled)return()=>{};let i="string"==typeof t?t:"edit",n="object"==typeof t?t:r;if("save"===i){if(!this.saveEvent)throw Error("Save event is not initialized, please call `ContentfulLivePreview.init()` first.");return this.saveEvent.subscribe(n.callback)}if(!this.liveUpdates)throw Error("Live updates are not initialized, please call `ContentfulLivePreview.init()` first.");return this.liveUpdates.subscribe(n)}static getProps(t){let{fieldId:r,locale:i,environment:n,space:o}=t;if(!this.inspectorModeEnabled)return null;if(r){let a={...i?{[K.LOCALE]:i}:{},...n?{[K.ENVIRONMENT]:n}:{},...o?{[K.SPACE]:o}:{},[K.FIELD_ID]:r};if(i&&(a[K.LOCALE]=i),void 0!==t.assetId)return{...a,[K.ASSET_ID]:t.assetId};if(void 0!==t.entryId)return{...a,[K.ENTRY_ID]:t.entryId}}return C.warn("Missing property for inspector mode",{...t}),null}static toggleInspectorMode(){return this.inspectorModeEnabled=!this.inspectorModeEnabled,this.inspectorModeEnabled}static toggleLiveUpdatesMode(){return this.liveUpdatesEnabled=!this.liveUpdatesEnabled,this.liveUpdatesEnabled}static openEntryInEditor(t){let r={locale:this.locale,environment:this.environment,space:this.space};void 0!==t.assetId&&t.fieldId?eT({...r,...t},this.targetOrigin):void 0!==t.entryId&&t.fieldId?eA({...r,...t},this.targetOrigin):C.error("Please provide field id and entry/asset id to openEntryInEditor.",{...t})}static getEntryList(){return es({options:{locale:this.locale,space:this.space,environment:this.environment}})}},eO=t.i(71645),ej=t.i(43476),eN=h(F(),1);function eC(t){let r=(0,eO.useRef)(t),i=(0,eO.useRef)(0);return(0,eN.default)(t,r.current)||(r.current=t,i.current+=1),(0,eO.useMemo)(()=>r.current,[i.current])}function eB(t,r){return(0,eO.useEffect)(t,eC(r))}var eP=(0,eO.createContext)(null);function eD({children:t,locale:r,space:i,environment:n,debugMode:o=!1,enableInspectorMode:a=!0,enableLiveUpdates:s=!0,targetOrigin:f,experimental:c}){if(!r)throw Error('ContentfulLivePreviewProvider has to be called with a locale property (for example: `<ContentfulLivePreviewProvider locale="en-US">{children}</ContentfulLivePreviewProvider>`');eL.init({locale:r,space:i,environment:n,debugMode:o,enableInspectorMode:a,enableLiveUpdates:s,targetOrigin:f,experimental:c});let u=(0,eO.useMemo)(()=>({locale:r,space:i,environment:n,debugMode:o,enableInspectorMode:a,enableLiveUpdates:s,targetOrigin:f}),[r,i,n,o,a,s,f]);return(0,ej.jsx)(eP.Provider,{value:u,children:t})}function eU(t,r,i=!1){let[n,o]=(0,eO.useState)({data:t,version:1}),a=(0,eO.useRef)(t),s=(0,eO.useRef)(z(o)),f=(0,eO.useContext)(eP),c="object"==typeof r?r:{locale:r,skip:i},u=(0,eO.useMemo)(()=>(!f||!!f.enableLiveUpdates)&&!c.skip&&!!(Array.isArray(t)&&t.length||t&&"object"==typeof t&&Object.keys(t).length),[f,c.skip,t]);return eB(()=>
1{if(a.current!==t&&(o({data:t,version:1}),a.current=t),u)return eL.subscribe("edit",{data:t,locale:c.locale,query:c.query,callback:t=>{s.current(r=>({data:t,version:r.version+1}))}})},[t,u,c.locale,c.query]),n.data}function ez(t){let r=(0,eO.useContext)(eP);return(0,eO.useCallback)(i=>r?.enableInspectorMode?eL.getProps({...t,...i}):null,[r?.enableInspectorMode,t])}t.s(["ContentfulLivePreviewProvider",0,eD,"useContentfulInspectorMode",0,ez,"useContentfulLiveUpdates",0,eU],37950)},92320,51984,t=>{"use strict";t.i(89472);var r=t.i(35825),i=t.i(65218),n=t.i(52888),o=t.i(20646);let a=/["'&<>]/g,s={'"':""","&":"&","'":"'","<":"<",">":">"};function f(t){return t.replace(a,t=>s[t])}let c=t=>`"${t.replace(/"/g,""")}"`,u={[i.BLOCKS.PARAGRAPH]:(t,r)=>`<p>${r(t.content)}</p>`,[i.BLOCKS.HEADING_1]:(t,r)=>`<h1>${r(t.content)}</h1>`,[i.BLOCKS.HEADING_2]:(t,r)=>`<h2>${r(t.content)}</h2>`,[i.BLOCKS.HEADING_3]:(t,r)=>`<h3>${r(t.content)}</h3>`,[i.BLOCKS.HEADING_4]:(t,r)=>`<h4>${r(t.content)}</h4>`,[i.BLOCKS.HEADING_5]:(t,r)=>`<h5>${r(t.content)}</h5>`,[i.BLOCKS.HEADING_6]:(t,r)=>`<h6>${r(t.content)}</h6>`,[i.BLOCKS.EMBEDDED_ENTRY]:(t,r)=>`<div>${r(t.content)}</div>`,[i.BLOCKS.EMBEDDED_RESOURCE]:(t,r)=>`<div>${r(t.content)}</div>`,[i.BLOCKS.EMBEDDED_ASSET]:t=>d(t),[i.BLOCKS.UL_LIST]:(t,r)=>`<ul>${r(t.content)}</ul>`,[i.BLOCKS.OL_LIST]:(t,r)=>`<ol>${r(t.content)}</ol>`,[i.BLOCKS.LIST_ITEM]:(t,r)=>`<li>${r(t.content)}</li>`,[i.BLOCKS.QUOTE]:(t,r)=>`<blockquote>${r(t.content)}</blockquote>`,[i.BLOCKS.HR]:()=>"<hr/>",[i.BLOCKS.TABLE]:(t,r)=>`<table>${r(t.content)}</table>`,[i.BLOCKS.TABLE_ROW]:(t,r)=>`<tr>${r(t.content)}</tr>`,[i.BLOCKS.TABLE_HEADER_CELL]:(t,r)=>`<th>${r(t.content)}</th>`,[i.BLOCKS.TABLE_CELL]:(t,r)=>`<td>${r(t.content)}</td>`,[r.INLINES.ASSET_HYPERLINK]:t=>h(r.INLINES.ASSET_HYPERLINK,t),[r.INLINES.ENTRY_HYPERLINK]:t=>h(r.INLINES.ENTRY_HYPERLINK,t),[r.INLINES.RESOURCE_HYPERLINK]:t=>p(r.INLINES.RESOURCE_HYPERLINK,t),[r.INLINES.EMBEDDED_ENTRY]:t=>h(r.INLINES.EMBEDDED_ENTRY,t),[r.INLINES.EMBEDDED_RESOURCE]:t=>p(r.INLINES.EMBEDDED_RESOURCE,t),[r.INLINES.HYPERLINK]:(t,r)=>{let i="string"==typeof t.data.uri?t.data.uri:"";return`<a href=${c(i)}>${r(t.content)}</a>`}},l={[n.MARKS.BOLD]:t=>`<b>${t}</b>`,[n.MARKS.ITALIC]:t=>`<i>${t}</i>`,[n.MARKS.UNDERLINE]:t=>`<u>${t}</u>`,[n.MARKS.CODE]:t=>`<code>${t}</code>`,[n.MARKS.SUPERSCRIPT]:t=>`<sup>${t}</sup>`,[n.MARKS.SUBSCRIPT]:t=>`<sub>${t}</sub>`,[n.MARKS.STRIKETHROUGH]:t=>`<s>${t}</s>`},d=t=>{var r,i,n,o,a,s,c,u,l;let d=null!=(r=null==(s=t.data)||null==(a=s.target)||null==(o=a.fields)||null==(n=o.file)?void 0:n.url)?r:"",h=d.startsWith("//")?`https:${d}`:d,p=null!=(i=null==(l=t.data)||null==(u=l.target)||null==(c=u.fields)?void 0:c.description)?i:"";return`<img src="${f(h)}" alt="${f(p)}" loading="lazy" />`},h=(t,r)=>`<span>type: ${f(t)} id: ${f(r.data.target.sys.id)}</span>`,p=(t,r)=>{var i,n,o,a;return`<span>type: ${f(t)} urn: ${f(null!=(i=null==(a=r.data)||null==(o=a.target)||null==(n=o.sys)?void 0:n.urn)?i:"")}</span>`};function b(t,r={}){if(!t||!t.content)return"";let i=t;return r.stripEmptyTrailingParagraph&&(i=o.helpers.stripEmptyTrailingParagraphFromDocument(t)),g(i.content,{renderNode:{...u,...r.renderNode},renderMark:{...l,...r.renderMark},preserveWhitespace:r.preserveWhitespace})}function g(t,{renderNode:r,renderMark:i,preserveWhitespace:n}){return t.map(t=>m(t,{renderNode:r,renderMark:i,preserveWhitespace:n})).join("")}function m(t,{renderNode:r,renderMark:i,preserveWhitespace:n}){if(o.helpers.isText(t)){let r=f(t.value);return(n&&(r=r.replace(/\n/g,"<br/>").replace(/ {2,}/g,t=>" ".repeat(t.length))),t.marks.length>0)?t.marks.reduce((t,r)=>i[r.type]?i[r.type](t):t,r):r}{let o=t=>g(t,{renderMark:i,renderNode:r,preserveWhitespace:n});return t.nodeType&&r[t.nodeType]?r[t.nodeType](t,o):""}}function y(t){let r=[];for(let i=0;i<localStorage.length;i++){let n=localStorage.key(i);n?.startsWith(`${t}-`)&&r.push(n)}for(let t of r)localStorage.removeItem(t)}t.s(["documentToHtmlString",0,b],92320),t.s(["removeLegacyLocalStorageEntries",0,y],51984)},98038,65218,35825,52888,89472,20646,t=>{"use strict";var r,i,n,o=t.i(71645),a=((r={}).DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell",r);t.s(["BLOCKS",0,a],65218);var s=((i={}).ASSET_HYPERLINK="asset-hyperlink",i.EMBEDDED_ENTRY="embedded-entry-inline",i.EMBEDDED_RESOURCE="embedded-resource-inline",i.ENTRY_HYPERLINK="entry-hyperlink",i.HYPERLINK="hyperlink",i.RESOURCE_HYPERLINK="resource-hyperlink",i);function f(t,r){for(let i of Object.keys(t))if(r===t[i])return!0;return!1}function c(t){return f(s,t.nodeType)}function u(t){return f(a,t.nodeType)}function l(t){return"text"===t.nodeType}
1function d(t){if(t.nodeType!==a.PARAGRAPH||1!==t.content.length)return!1;let r=t.content[0];return"text"===r.nodeType&&""===r.value}function h(t){return null!=t&&"object"==typeof t&&"content"in t&&Array.isArray(t.content)}t.s(["INLINES",0,s],35825);let p=2;function b(t){return!h(t)||t.content.length<p?t:d(t.content[t.content.length-1])?{...t,content:t.content.slice(0,-1)}:t}t.s(["isBlock",0,u,"isEmptyParagraph",0,d,"isInline",0,c,"isText",0,l,"stripEmptyTrailingParagraphFromDocument",0,b],37584);var g=t.i(37584),m=((n={}).BOLD="bold",n.ITALIC="italic",n.UNDERLINE="underline",n.CODE="code",n.SUPERSCRIPT="superscript",n.SUBSCRIPT="subscript",n.STRIKETHROUGH="strikethrough",n);t.s(["MARKS",0,m],52888);let y=[a.PARAGRAPH,a.HEADING_1,a.HEADING_2,a.HEADING_3,a.HEADING_4,a.HEADING_5,a.HEADING_6,a.OL_LIST,a.UL_LIST,a.HR,a.QUOTE,a.EMBEDDED_ENTRY,a.EMBEDDED_ASSET,a.EMBEDDED_RESOURCE,a.TABLE],v=[a.PARAGRAPH,a.HEADING_1,a.HEADING_2,a.HEADING_3,a.HEADING_4,a.HEADING_5,a.HEADING_6,a.OL_LIST,a.UL_LIST,a.HR,a.QUOTE,a.EMBEDDED_ENTRY,a.EMBEDDED_ASSET,a.EMBEDDED_RESOURCE];a.TABLE,a.TABLE_ROW,a.TABLE_CELL,a.TABLE_HEADER_CELL,a.HR,a.EMBEDDED_ENTRY,a.EMBEDDED_ASSET,a.EMBEDDED_RESOURCE;let x={[a.OL_LIST]:[a.LIST_ITEM],[a.UL_LIST]:[a.LIST_ITEM],[a.LIST_ITEM]:v,[a.QUOTE]:[a.PARAGRAPH],[a.TABLE]:[a.TABLE_ROW],[a.TABLE_ROW]:[a.TABLE_CELL,a.TABLE_HEADER_CELL],[a.TABLE_CELL]:[a.PARAGRAPH,a.UL_LIST,a.OL_LIST],[a.TABLE_HEADER_CELL]:[a.PARAGRAPH]},w=[a.HEADING_1,a.HEADING_2,a.HEADING_3,a.HEADING_4,a.HEADING_5,a.HEADING_6];[a.PARAGRAPH,...w],a.DOCUMENT,a.PARAGRAPH,a.HEADING_1,a.HEADING_2,a.HEADING_3,a.HEADING_4,a.HEADING_5,a.HEADING_6,a.OL_LIST,a.UL_LIST,a.LIST_ITEM,a.HR,a.QUOTE,a.EMBEDDED_ENTRY,a.EMBEDDED_ASSET,s.HYPERLINK,s.ENTRY_HYPERLINK,s.ASSET_HYPERLINK,s.EMBEDDED_ENTRY,m.BOLD,m.CODE,m.ITALIC,m.UNDERLINE;let _=({path:t,property:r,typeName:i,value:n})=>({details:`The type of "${r}" is incorrect, expected type: ${i}`,name:"type",path:t.toArray(),type:i,value:n}),S=({min:t,value:r,path:i})=>({name:"size",min:t,path:i.toArray(),details:`Size must be at least ${t}`,value:r}),E=({max:t,value:r,path:i})=>({name:"size",max:t,path:i.toArray(),details:`Size must be at most ${t}`,value:r}),M=({expected:t,value:r,path:i})=>({details:"Value must be one of expected values",name:"in",expected:[...t].sort(),path:i.toArray(),value:r}),A=({property:t,path:r})=>({details:`The property "${t}" is not expected`,name:"unexpected",path:r.toArray()}),T=({property:t,path:r})=>({details:`The property "${t}" is required here`,name:"required",path:r.toArray()});class k{obj;path;_errors=[];constructor(t,r){this.obj=t,this.path=r}catch=(...t)=>{this._errors.push(...t)};get errors(){let t=t=>JSON.stringify({details:t.details,path:t.path});return this._errors.filter((r,i)=>this._errors.findIndex(i=>t(r)===t(i))===i)}exists=t=>t in this.obj||(this.catch(T({property:t,path:this.path.of(t)})),!1);object=t=>{let r=t?this.obj[t]:this.obj;if(t&&!this.exists(t))return!1;if("object"==typeof r&&!Array.isArray(r)&&null!==r)return!0;let i=t?this.path.of(t):this.path,n=t??this.path.last()??"value";return this.catch(_({typeName:"Object",property:n,path:i,value:r})),!1};string=t=>{let r=this.obj[t];return(!t||!!this.exists(t))&&("string"==typeof r||(this.catch(_({typeName:"String",property:t,path:this.path.of(t),value:r})),!1))};number=(t,r)=>{let i=this.obj[t];return!!r&&!(t in this.obj)||!!this.exists(t)&&(!("number"!=typeof i||Number.isNaN(i))||(this.catch(_({typeName:"Number",property:t,path:this.path.of(t),value:i})),!1))};array=t=>{let r=this.obj[t];return(!t||!!this.exists(t))&&(!!Array.isArray(r)||(this.catch(_({typeName:"Array",property:t,path:this.path.of(t),value:r})),!1))};enum=(t,r)=>{let i=this.obj[t];return!!("string"==typeof i&&r.includes(i))||(this.catch(M({expected:r,value:i,path:this.path.of(t)})),!1)};empty=t=>{if(!this.array(t))return!1;let r=this.obj[t];return 0===r.length||(this.catch(E({max:0,value:r,path:this.path.of(t)})),!1)};minLength=(t,r)=>{if(!this.array(t))return!1;let i=this.obj[t];return i.length>=r||(this.catch(S({min:r,value:i,path:this.path.of(t)})),!1)};noAdditionalProperties=t=>{let r=Object.keys(this.obj).sort().filter(r=>!t.includes(r));return r.forEach(t=>this.catch(A({property:t,path:this.path.of(t)}))),0===r.length};each=(t,r)=>{if(!this.array(t))return;let i=this.obj[t],n=!1;
1i.forEach((i,o)=>{if(n)return;let a=r(i,this.path.of(t).of(o));a.length>0&&(n=!0),this.catch(...a)})}}let R=[];class I{contentRule;validateData;constructor(t,r){this.contentRule=t,this.validateData=r}assert(t,r){let i=new k(t,r);if(!i.object())return i.errors;i.noAdditionalProperties(["nodeType","data","content"]);let{nodeTypes:n,min:o=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(t,r);if(0===n.length&&o>0)throw Error(`Invalid content rule. Cannot have enforce a 'min' of ${o} with no nodeTypes`);if(i.minLength("content",o),0===n.length?i.empty("content"):i.each("content",(t,r)=>{let i=new k(t,r);return i.object()&&i.enum("nodeType",n),i.errors}),i.object("data")){let n=this.validateData?.(t.data,r.of("data"))??[];i.catch(...n)}return i.errors}}class L extends I{linkType;type;constructor(t,r){super(r,(t,r)=>this.assertLink(t,r)),this.linkType=t,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(t,r)=>{let i=new k(t,r);if(i.object("target")){let n=new k(t.target.sys,r.of("target").of("sys"));n.object()&&(n.enum("type",[this.type]),n.enum("linkType",[this.linkType]),"Link"===this.type?(n.string("id"),n.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(n.string("urn"),n.noAdditionalProperties(["type","linkType","urn"]))),i.catch(...n.errors)}return i.noAdditionalProperties(["target"]),i.errors}}class O extends I{constructor(){super(["text"],(t,r)=>this.assertLink(t,r))}assertLink=(t,r)=>{let i=new k(t,r);return i.string("uri"),i.noAdditionalProperties(["uri"]),i.errors}}let j=(t,r)=>new I(t,r),N=(t,r)=>new L(t,r);j([...Object.values(s),"text"].sort()),j([a.LIST_ITEM]),N("Entry",R),j(()=>({nodeTypes:[a.PARAGRAPH],min:1}),(t,r)=>{let i=new k(t,r);return i.noAdditionalProperties(["colspan","rowspan"]),i.number("colspan",!0),i.number("rowspan",!0),i.errors}),a.DOCUMENT,j(y),a.PARAGRAPH,a.HEADING_1,a.HEADING_2,a.HEADING_3,a.HEADING_4,a.HEADING_5,a.HEADING_6,a.QUOTE,j(x[a.QUOTE]),a.EMBEDDED_ENTRY,a.EMBEDDED_ASSET,N("Asset",R),a.EMBEDDED_RESOURCE,N("Contentful:Entry",R),a.HR,j(R),a.OL_LIST,a.UL_LIST,a.LIST_ITEM,j([...v].sort()),a.TABLE,j(()=>({nodeTypes:[a.TABLE_ROW],min:1})),a.TABLE_ROW,j(()=>({nodeTypes:[a.TABLE_CELL,a.TABLE_HEADER_CELL],min:1})),a.TABLE_CELL,a.TABLE_HEADER_CELL,s.HYPERLINK,new O,s.EMBEDDED_ENTRY,s.EMBEDDED_RESOURCE,N("Contentful:Entry",R),s.ENTRY_HYPERLINK,N("Entry",["text"]),s.ASSET_HYPERLINK,N("Asset",["text"]),s.RESOURCE_HYPERLINK,N("Contentful:Entry",["text"]),t.s([],89472);var C=g;t.s(["helpers",0,C],20646);var C=g;function B(t,r){return(0,o.isValidElement)(t)&&null===t.key?(0,o.cloneElement)(t,{key:r}):t}function P(t,r){return t.map((t,i)=>B(D(t,r),i))}function D(t,r){let{renderNode:i,renderMark:n,renderText:a,preserveWhitespace:s}=r;if(C.isText(t)){let r=a?a(t.value):t.value;if(s&&!a){let t=(r=r.replace(/ {2,}/g,t=>"Â ".repeat(t.length))).split("\n"),i=[];t.forEach((r,n)=>{i.push(r),n!==t.length-1&&i.push(o.default.createElement("br",null))}),r=i}return t.marks.reduce((t,r)=>n[r.type]?n[r.type](t):t,r)}{let n=P(t.content,r);return t.nodeType&&i[t.nodeType]?i[t.nodeType](t,n):o.default.createElement(o.default.Fragment,null,n)}}let U={[a.DOCUMENT]:(t,r)=>r,[a.PARAGRAPH]:(t,r)=>o.default.createElement("p",null,r),[a.HEADING_1]:(t,r)=>o.default.createElement("h1",null,r),[a.HEADING_2]:(t,r)=>o.default.createElement("h2",null,r),[a.HEADING_3]:(t,r)=>o.default.createElement("h3",null,r),[a.HEADING_4]:(t,r)=>o.default.createElement("h4",null,r),[a.HEADING_5]:(t,r)=>o.default.createElement("h5",null,r),[a.HEADING_6]:(t,r)=>o.default.createElement("h6",null,r),[a.EMBEDDED_ENTRY]:(t,r)=>o.default.createElement("div",null,r),[a.EMBEDDED_RESOURCE]:(t,r)=>o.default.createElement("div",null,r),[a.UL_LIST]:(t,r)=>o.default.createElement("ul",null,r),[a.OL_LIST]:(t,r)=>o.default.createElement("ol",null,r),[a.LIST_ITEM]:(t,r)=>o.default.createElement("li",null,r),[a.QUOTE]:(t,r)=>o.default.createElement("blockquote",null,r),[a.HR]:()=>o.default.createElement("hr",null),[a.TABLE]:(t,r)=>o.default.createElement("table",null,o.default.createElement("tbody",null,r)),[a.TABLE_ROW]:(t,r)=>o.default.createElement("tr",null,r),[a.TABLE_HEADER_CELL]:(t,r)=>
1o.default.createElement("th",null,r),[a.TABLE_CELL]:(t,r)=>o.default.createElement("td",null,r),[s.ASSET_HYPERLINK]:t=>H(s.ASSET_HYPERLINK,t),[s.ENTRY_HYPERLINK]:t=>H(s.ENTRY_HYPERLINK,t),[s.RESOURCE_HYPERLINK]:t=>Y(s.RESOURCE_HYPERLINK,t),[s.EMBEDDED_ENTRY]:t=>H(s.EMBEDDED_ENTRY,t),[s.EMBEDDED_RESOURCE]:(t,r)=>Y(s.EMBEDDED_RESOURCE,t),[s.HYPERLINK]:(t,r)=>o.default.createElement("a",{href:t.data.uri},r)},z={[m.BOLD]:t=>o.default.createElement("b",null,t),[m.ITALIC]:t=>o.default.createElement("i",null,t),[m.UNDERLINE]:t=>o.default.createElement("u",null,t),[m.CODE]:t=>o.default.createElement("code",null,t),[m.SUPERSCRIPT]:t=>o.default.createElement("sup",null,t),[m.SUBSCRIPT]:t=>o.default.createElement("sub",null,t),[m.STRIKETHROUGH]:t=>o.default.createElement("s",null,t)};function H(t,r){return o.default.createElement("span",{key:r.data.target.sys.id},"type: ",r.nodeType," id: ",r.data.target.sys.id)}function Y(t,r){return o.default.createElement("span",{key:r.data.target.sys.urn},"type: ",r.nodeType," urn: ",r.data.target.sys.urn)}function q(t,r={}){if(!t)return null;let i=t;return r.stripEmptyTrailingParagraph&&(i=C.stripEmptyTrailingParagraphFromDocument(t)),D(i,{renderNode:{...U,...r.renderNode},renderMark:{...z,...r.renderMark},renderText:r.renderText,preserveWhitespace:r.preserveWhitespace})}t.s(["documentToReactComponents",0,q],98038)},34582,(t,r,i)=>{"use strict";i.byteLength=l,i.toByteArray=h,i.fromByteArray=g;for(var n=[],o=[],a="u">typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,c=s.length;f<c;++f)n[f]=s[f],o[s.charCodeAt(f)]=f;function u(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=r);var n=i===r?0:4-i%4;return[i,n]}function l(t){var r=u(t),i=r[0],n=r[1];return(i+n)*3/4-n}function d(t,r,i){return(r+i)*3/4-i}function h(t){var r,i,n=u(t),s=n[0],f=n[1],c=new a(d(t,s,f)),l=0,h=f>0?s-4:s;for(i=0;i<h;i+=4)r=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],c[l++]=r>>16&255,c[l++]=r>>8&255,c[l++]=255&r;return 2===f&&(r=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,c[l++]=255&r),1===f&&(r=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,c[l++]=r>>8&255,c[l++]=255&r),c}function p(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function b(t,r,i){for(var n=[],o=r;o<i;o+=3)n.push(p((t[o]<<16&0xff0000)+(t[o+1]<<8&65280)+(255&t[o+2])));return n.join("")}function g(t){for(var r,i=t.length,o=i%3,a=[],s=16383,f=0,c=i-o;f<c;f+=s)a.push(b(t,f,f+s>c?c:f+s));return 1===o?a.push(n[(r=t[i-1])>>2]+n[r<<4&63]+"=="):2===o&&a.push(n[(r=(t[i-2]<<8)+t[i-1])>>10]+n[r>>4&63]+n[r<<2&63]+"="),a.join("")}o[45]=62,o[95]=63},38492,(t,r,i)=>{i.read=function(t,r,i,n,o){var a,s,f=8*o-n-1,c=(1<<f)-1,u=c>>1,l=-7,d=i?o-1:0,h=i?-1:1,p=t[r+d];for(d+=h,a=p&(1<<-l)-1,p>>=-l,l+=f;l>0;a=256*a+t[r+d],d+=h,l-=8);for(s=a&(1<<-l)-1,a>>=-l,l+=n;l>0;s=256*s+t[r+d],d+=h,l-=8);if(0===a)a=1-u;else{if(a===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),a-=u}return(p?-1:1)*s*Math.pow(2,a-n)},i.write=function(t,r,i,n,o,a){var s,f,c,u=8*a-o-1,l=(1<<u)-1,d=l>>1,h=5960464477539062e-23*(23===o),p=n?0:a-1,b=n?1:-1,g=+(r<0||0===r&&1/r<0);for(isNaN(r=Math.abs(r))||r===1/0?(f=+!!isNaN(r),s=l):(s=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+d>=1?r+=h/c:r+=h*Math.pow(2,1-d),r*c>=2&&(s++,c/=2),s+d>=l?(f=0,s=l):s+d>=1?(f=(r*c-1)*Math.pow(2,o),s+=d):(f=r*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;t[i+p]=255&f,p+=b,f/=256,o-=8);for(s=s<<o|f,u+=o;u>0;t[i+p]=255&s,p+=b,s/=256,u-=8);t[i+p-b]|=128*g}},43943,(t,r,i)=>{"use strict";var n=t.r(34582),o=t.r(38492),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=u,i.SlowBuffer=w,i.INSPECT_MAX_BYTES=50;var s=0x7fffffff;function f(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(t){return!1}}function c(t){if(t>
vendor: 18,772 bytes, line 1
1s)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,u.prototype),r}function u(t,r,i){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return p(t)}return l(t,r,i)}function l(t,r,i){if("string"==typeof t)return b(t,r);if(ArrayBuffer.isView(t))return m(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return y(t,r,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,r,i);var o=v(t);if(o)return o;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),r,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function d(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t,r,i){return(d(t),t<=0)?c(t):void 0!==r?"string"==typeof i?c(t).fill(r,i):c(t).fill(r):c(t)}function p(t){return d(t),c(t<0?0:0|x(t))}function b(t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!u.isEncoding(r))throw TypeError("Unknown encoding: "+r);var i=0|_(t,r),n=c(i),o=n.write(t,r);return o!==i&&(n=n.slice(0,o)),n}function g(t){for(var r=t.length<0?0:0|x(t.length),i=c(r),n=0;n<r;n+=1)i[n]=255&t[n];return i}function m(t){if(X(t,Uint8Array)){var r=new Uint8Array(t);return y(r.buffer,r.byteOffset,r.byteLength)}return g(t)}function y(t,r,i){var n;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===r&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,r):new Uint8Array(t,r,i),u.prototype),n}function v(t){if(u.isBuffer(t)){var r=0|x(t.length),i=c(r);return 0===i.length||t.copy(i,0,0,r),i}return void 0!==t.length?"number"!=typeof t.length||Q(t.length)?c(0):g(t):"Buffer"===t.type&&Array.isArray(t.data)?g(t.data):void 0}function x(t){if(t>=s)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function w(t){return+t!=t&&(t=0),u.alloc(+t)}function _(t,r){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return J(t).length;default:if(o)return n?-1:$(t).length;r=(""+r).toLowerCase(),o=!0}}function S(t,r,i){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(r>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,r,i);case"utf8":case"utf-8":return j(this,r,i);case"ascii":return B(this,r,i);case"latin1":case"binary":return P(this,r,i);case"base64":return O(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,r,i);default:if(n)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function E(t,r,i){var n=t[r];t[r]=t[i],t[i]=n}function M(t,r,i,n,o){if(0===t.length)return -1;if("string"==typeof i?(n=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),Q(i*=1)&&(i=o?0:t.length-1),i<0&&(i=t.length+i),i>=t.length)if(o)return -1;else i=t.length-1;else if(i<0)if(!o)return -1;else i=0;if("string"==typeof r&&(r=u.from(r,n)),u.isBuffer(r))return 0===r.length?-1:A(t,r,i,n,o);if("number"==typeof r){if(r&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(t,r,i);else return Uint8Array.prototype.lastIndexOf.call(t,r,i);return A(t,[r],i,n,o)}throw TypeError("val must be string, number or Buffer")}function A(t,r,i,n,o){var a,s=1,f=t.length,c=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return -1;s=2,f/=2,c/=2,i/=2}function u(t,r){return 1===s?t[r]:t.readUInt16BE(r*s)}if(o){var l=-1;for(a=i;a<f;a++)if(u(t,a)===u(r,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*s}else -1!==l&&(a-=a-l),l=-1}else for(i+c>f&&(i=f-c),a=i;a>=0;a--){for(var d=!0,h=0;h<c;h++)if(u(t,a+h)!==u(r,h)){d=!1;break}if(d)return a}return -1}function T(t,r,i,n){i=Number(i)||0;var o=t.length-i;n?(n=Number(n))>o&&(n=o):n=o;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var f=parseInt(r.substr(2*s,2),16);if(Q(f))break;t[i+s]=f}return s}function k(t,r,i,n){return Z($(r,t.length-i),t,i,n)}function R(t,r,i,n){return Z(W(r),t,i,n)}function I(t,r,i,n){return Z(J(r),t,i,n)}function L(t,r,i,n){return Z(G(r,t.length-i),t,i,n)}function O(t,r,i){return 0===r&&i===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(r,i))}function j(t,r,i){i=Math.min(t.length,i);for(var n=[],o=r;o<i;){var a,s,f,c,u=t[o],l=null,d=u>239?4:u>223?3:u>191?2:1;if(o+d<=i)switch(d){case 1:u<128&&(l=u);break;case 2:(192&(a=t[o+1]))==128&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:a=t[o+1],s=t[o+2],(192&a)==128&&(192&s)==128&&(c=(15&u)<<12|(63&a)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:a=t[o+1],s=t[o+2],f=t[o+3],(192&a)==128&&(192&s)==128&&(192&f)==128&&(c=(15&u)<<18|(63&a)<<12|(63&s)<<6|63&f)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=d}return C(n)}i.kMaxLength=0x7fffffff,u.TYPED_ARRAY_SUPPORT=f(),!u.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,r,i){return l(t,r,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,r,i){return h(t,r,i)},u.allocUnsafe=function(t){return p(t)},u.allocUnsafeSlow=function(t){return p(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,r){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var i=t.length,n=r.length,o=0,a=Math.min(i,n);o<a;++o)if(t[o]!==r[o]){i=t[o],n=r[o];break}return i<n?-1:+(n<i)},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);if(void 0===r)for(i=0,r=0;i<t.length;++i)r+=t[i].length;var i,n=u.allocUnsafe(r),o=0;for(i=0;i<t.length;++i){var a=t[i];if(X(a,Uint8Array))o+a.length>n.length?u.from(a).copy(n,o):Uint8Array.prototype.set.call(n,a,o);else if(u.isBuffer(a))a.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=a.length}return n},u.byteLength=_,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)E(this,r,r+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)E(this,r,r+3),E(this,r+1,r+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)E(this,r,r+7),E(this,r+1,r+6),E(this,r+2,r+5),E(this,r+3,r+4);return this},u.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?j(this,0,t):S.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=i.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(t,r,i,n,o){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||i>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&r>=i)return 0;if(n>=o)return -1;if(r>=i)return 1;if(r>>>=0,i>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var a=o-n,s=i-r,f=Math.min(a,s),c=this.slice(n,o),l=t.slice(r,i),d=0;d<f;++d)if(c[d]!==l[d]){a=c[d],s=l[d];break}return a<s?-1:+(s<a)},u.prototype.includes=function(t,r,i){return -1!==this.indexOf(t,r,i)},u.prototype.indexOf=function(t,r,i){return M(this,t,r,i,!0)},u.prototype.lastIndexOf=function(t,r,i){return M(this,t,r,i,!1)},u.prototype.write=function(t,r,i,n){if(void 0===r)n="utf8",i=this.length,r=0;else if(void 0===i&&"string"==typeof r)n=r,i=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((void 0===i||i>o)&&(i=o),t.length>0&&(i<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return T(this,t,r,i);case"utf8":case"utf-8":return k(this,t,r,i);case"ascii":case"latin1":case"binary":return R(this,t,r,i);case"base64":return I(this,t,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,r,i);default:if(a)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var N=4096;function C(t){var r=t.length;if(r<=N)return String.fromCharCode.apply(String,t);for(var i="",n=0;n<r;)i+=String.fromCharCode.apply(String,t.slice(n,n+=N));return i}function B(t,r,i){var n="";i=Math.min(t.length,i);for(var o=r;o<i;++o)n+=String.fromCharCode(127&t[o]);return n}function P(t,r,i){var n="";i=Math.min(t.length,i);for(var o=r;o<i;++o)n+=String.fromCharCode(t[o]);return n}function D(t,r,i){var n=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>n)&&(i=n);for(var o="",a=r;a<i;++a)o+=ee[t[a]];return o}function U(t,r,i){for(var n=t.slice(r,i),o="",a=0;a<n.length-1;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}function z(t,r,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>i)throw RangeError("Trying to access beyond buffer length")}function H(t,r,i,n,o,a){if(!u.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<a)throw RangeError('"value" argument is out of bounds');if(i+n>t.length)throw RangeError("Index out of range")}function Y(t,r,i,n,o,a){if(i+n>t.length||i<0)throw RangeError("Index out of range")}function q(t,r,i,n,a){return r*=1,i>>>=0,a||Y(t,r,i,4,34028234663852886e22,-34028234663852886e22),o.write(t,r,i,n,23,4),i+4}function F(t,r,i,n,a){return r*=1,i>>>=0,a||Y(t,r,i,8,17976931348623157e292,-17976931348623157e292),o.write(t,r,i,n,52,8),i+8}u.prototype.slice=function(t,r){var i=this.length;t=~~t,r=void 0===r?i:~~r,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),r<0?(r+=i)<0&&(r=0):r>i&&(r=i),r<t&&(r=t);var n=this.subarray(t,r);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=this[t],o=1,a=0;++a<r&&(o*=256);)n+=this[t+a]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t>>>=0,r||z(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t>>>=0,r||z(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t>>>=0,r||z(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t>>>=0,r||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t>>>=0,r||z(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=this[t],o=1,a=0;++a<r&&(o*=256);)n+=this[t+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*r)),n},u.prototype.readIntBE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=r,o=1,a=this[t+--n];n>0&&(o*=256);)a+=this[t+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*r)),a},u.prototype.readInt8=function(t,r){return(t>>>=0,r||z(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},u.prototype.readInt16LE=function(t,r){t>>>=0,r||z(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?0xffff0000|i:i},u.prototype.readInt16BE=function(t,r){t>>>=0,r||z(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?0xffff0000|i:i},u.prototype.readInt32LE=function(t,r){return t>>>=0,r||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,r){return t>>>=0,r||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,r){return t>>>=0,r||z(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,r){return t>>>=0,r||z(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,r){return t>>>=0,r||z(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,r){return t>>>=0,r||z(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,i,n){if(t*=1,r>>>=0,i>>>=0,!n){var o=Math.pow(2,8*i)-1;H(this,t,r,i,o,0)}var a=1,s=0;for(this[r]=255&t;++s<i&&(a*=256);)this[r+s]=t/a&255;return r+i},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,i,n){if(t*=1,r>>>=0,i>>>=0,!n){var o=Math.pow(2,8*i)-1;H(this,t,r,i,o,0)}var a=i-1,s=1;for(this[r+a]=255&t;--a>=0&&(s*=256);)this[r+a]=t/s&255;return r+i},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,1,255,0),this[r]=255&t,r+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0xffffffff,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0xffffffff,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},u.prototype.writeIntLE=function(t,r,i,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*i-1);H(this,t,r,i,o-1,-o)}var a=0,s=1,f=0;for(this[r]=255&t;++a<i&&(s*=256);)t<0&&0===f&&0!==this[r+a-1]&&(f=1),this[r+a]=(t/s|0)-f&255;return r+i},u.prototype.writeIntBE=function(t,r,i,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*i-1);H(this,t,r,i,o-1,-o)}var a=i-1,s=1,f=0;for(this[r+a]=255&t;--a>=0&&(s*=256);)t<0&&0===f&&0!==this[r+a+1]&&(f=1),this[r+a]=(t/s|0)-f&255;return r+i},u.prototype.writeInt8=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},u.prototype.writeInt16LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},u.prototype.writeInt16BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},u.prototype.writeInt32LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0x7fffffff,-0x80000000),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},u.prototype.writeInt32BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},u.prototype.writeFloatLE=function(t,r,i){return q(this,t,r,!0,i)},u.prototype.writeFloatBE=function(t,r,i){return q(this,t,r,!1,i)},u.prototype.writeDoubleLE=function(t,r,i){return F(this,t,r,!0,i)},u.prototype.writeDoubleBE=function(t,r,i){return F(this,t,r,!1,i)},u.prototype.copy=function(t,r,i,n){if(!u.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<i&&(n=i),n===i||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-i&&(n=t.length-r+i);var o=n-i;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(r,i,n):Uint8Array.prototype.set.call(t,this.subarray(i,n),r),o},u.prototype.fill=function(t,r,i,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,a=t.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(t=a)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(r<0||this.length<r||this.length<i)throw RangeError("Out of range index");if(i<=r)return this;if(r>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(o=r;o<i;++o)this[o]=t;else{var s=u.isBuffer(t)?t:u.from(t,n),f=s.length;
1if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<i-r;++o)this[o+r]=s[o%f]}return this};var V=/[^+/0-9A-Za-z-_]/g;function K(t){if((t=(t=t.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function $(t,r){r=r||1/0;for(var i,n=t.length,o=null,a=[],s=0;s<n;++s){if((i=t.charCodeAt(s))>55295&&i<57344){if(!o){if(i>56319||s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}o=i;continue}if(i<56320){(r-=3)>-1&&a.push(239,191,189),o=i;continue}i=(o-55296<<10|i-56320)+65536}else o&&(r-=3)>-1&&a.push(239,191,189);if(o=null,i<128){if((r-=1)<0)break;a.push(i)}else if(i<2048){if((r-=2)<0)break;a.push(i>>6|192,63&i|128)}else if(i<65536){if((r-=3)<0)break;a.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((r-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return a}function W(t){for(var r=[],i=0;i<t.length;++i)r.push(255&t.charCodeAt(i));return r}function G(t,r){for(var i,n,o=[],a=0;a<t.length&&!((r-=2)<0);++a)n=(i=t.charCodeAt(a))>>8,o.push(i%256),o.push(n);return o}function J(t){return n.toByteArray(K(t))}function Z(t,r,i,n){for(var o=0;o<n&&!(o+i>=r.length)&&!(o>=t.length);++o)r[o+i]=t[o];return o}function X(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function Q(t){return t!=t}var ee=function(){for(var t="0123456789abcdef",r=Array(256),i=0;i<16;++i)for(var n=16*i,o=0;o<16;++o)r[n+o]=t[i]+t[o];return r}()},30662,(t,r,i)=>{!function(){"use strict";var t={294:function(t){var r,i="object"==typeof Reflect?Reflect:null,n=i&&"function"==typeof i.apply?i.apply:function(t,r,i){return Function.prototype.apply.call(t,r,i)};function o(t){console&&console.warn&&console.warn(t)}r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,t.exports.once=v,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var f=10;function c(t){if("function"!=typeof t)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function l(t,r,i,n){if(c(i),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",r,i.listener?i.listener:i),s=t._events),f=s[r]),void 0===f)f=s[r]=i,++t._eventsCount;else if("function"==typeof f?f=s[r]=n?[i,f]:[f,i]:n?f.unshift(i):f.push(i),(a=u(t))>0&&f.length>a&&!f.warned){f.warned=!0;var a,s,f,l=Error("Possible EventEmitter memory leak detected. "+f.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=r,l.count=f.length,o(l)}return t}function d(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,r,i){var n={fired:!1,wrapFn:void 0,target:t,type:r,listener:i},o=d.bind(n);return o.listener=i,n.wrapFn=o,o}function p(t,r,i){var n=t._events;if(void 0===n)return[];var o=n[r];return void 0===o?[]:"function"==typeof o?i?[o.listener||o]:[o]:i?y(o):g(o,o.length)}function b(t){var r=this._events;if(void 0!==r){var i=r[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function g(t,r){for(var i=Array(r),n=0;n<r;++n)i[n]=t[n];return i}function m(t,r){for(;r+1<t.length;r++)t[r]=t[r+1];t.pop()}function y(t){for(var r=Array(t.length),i=0;i<r.length;++i)r[i]=t[i].listener||t[i];return r}function v(t,r){return new Promise(function(i,n){function o(i){t.removeListener(r,a),n(i)}function a(){"function"==typeof t.removeListener&&t.removeListener("error",o),i([].slice.call(arguments))}w(t,r,a,{once:!0}),"error"!==r&&x(t,o,{once:!0})})}function x(t,r,i){"function"==typeof t.on&&w(t,"error",r,i)}function w(t,r,i,n){if("function"==typeof t.on)n.once?t.once(r,i):t.on(r,i);else if("function"==typeof t.addEventListener)t.addEventListener(r,function o(a){n.once&&t.removeEventListener(r,o),i(a)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(t){if("number"!=typeof t||t<0||a(t))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");f=t}}),s.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||a(t))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(t){for(var r=[],i=1;i<arguments.length;i++)r.push(arguments[i]);var o="error"===t,a=this._events;if(void 0!==a)o=o&&void 0===a.error;else if(!o)return!1;if(o){if(r.length>0&&(s=r[0]),s instanceof Error)throw s;var s,f=Error("Unhandled error."+(s?" ("+s.message+")":""));throw f.context=s,f}var c=a[t];if(void 0===c)return!1;if("function"==typeof c)n(c,this,r);else for(var u=c.length,l=g(c,u),i=0;i<u;++i)n(l[i],this,r);return!0},s.prototype.addListener=function(t,r){return l(this,t,r,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,r){return l(this,t,r,!0)},s.prototype.once=function(t,r){return c(r),this.on(t,h(this,t,r)),this},s.prototype.prependOnceListener=function(t,r){return c(r),this.prependListener(t,h(this,t,r)),this},s.prototype.removeListener=function(t,r){var i,n,o,a,s;if(c(r),void 0===(n=this._events)||void 0===(i=n[t]))return this;if(i===r||i.listener===r)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit
1("removeListener",t,i.listener||r));else if("function"!=typeof i){for(o=-1,a=i.length-1;a>=0;a--)if(i[a]===r||i[a].listener===r){s=i[a].listener,o=a;break}if(o<0)return this;0===o?i.shift():m(i,o),1===i.length&&(n[t]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",t,s||r)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var r,i,n;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0==arguments.length){var o,a=Object.keys(i);for(n=0;n<a.length;++n)"removeListener"!==(o=a[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(r=i[t]))this.removeListener(t,r);else if(void 0!==r)for(n=r.length-1;n>=0;n--)this.removeListener(t,r[n]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,r){return"function"==typeof t.listenerCount?t.listenerCount(r):b.call(t,r)},s.prototype.listenerCount=b,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}}},i={};function n(r){var o=i[r];if(void 0!==o)return o.exports;var a=i[r]={exports:{}},s=!0;try{t[r](a,a.exports,n),s=!1}finally{s&&delete i[r]}return a.exports}n.ab="/ROOT/node_modules/next/dist/compiled/events/",r.exports=n(294)}()},77398,(t,r,i)=>{var n=t.i(67034),o=t.i(47167),a={7492:function(t){t.exports=function(t,i,n){if(t.filter)return t.filter(i,n);if(null==t||"function"!=typeof i)throw TypeError();for(var o=[],a=0;a<t.length;a++)if(r.call(t,a)){var s=t[a];i.call(n,s,a,t)&&o.push(s)}return o};var r=Object.prototype.hasOwnProperty},1648:function(t,r,i){"use strict";var n=i(7797),o=i(4834),a=i(8772);t.exports=i(9095)||n.call(a,o)},4757:function(t,r,i){"use strict";var n=i(7797),o=i(4834),a=i(1648);t.exports=function(){return a(n,o,arguments)}},4834:function(t){"use strict";t.exports=Function.prototype.apply},8772:function(t){"use strict";t.exports=Function.prototype.call},2462:function(t,r,i){"use strict";var n=i(7797),o=i(4785),a=i(8772),s=i(1648);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new o("a function is required");return s(n,a,t)}},9095:function(t){"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},2982:function(t,r,i){"use strict";var n=i(1893),o=i(5494),a=o(n("String.prototype.indexOf"));t.exports=function(t,r){var i=n(t,!!r);return"function"==typeof i&&a(t,".prototype.")>-1?o(i):i}},5494:function(t,r,i){"use strict";var n=i(3798),o=i(871),a=i(2462),s=i(4757);t.exports=function(t){var r=a(arguments),i=t.length-(arguments.length-1);return n(r,1+(i>0?i:0),!0)},o?o(t.exports,"apply",{value:s}):t.exports.apply=s},2071:function(t,r,i){"use strict";var n=i(871),o=i(9546),a=i(4785),s=i(8322);t.exports=function(t,r,i){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new a("`obj` must be an object or a function`");if("string"!=typeof r&&"symbol"!=typeof r)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],d=!!s&&s(t,r);if(n)n(t,r,{configurable:null===u&&d?d.configurable:!u,enumerable:null===f&&d?d.enumerable:!f,value:i,writable:null===c&&d?d.writable:!c});else if(!l&&(f||c||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[r]=i}},3859:function(t,r,i){"use strict";var n,o=i(2462),a=i(8322);try{n=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var s=!!n&&a&&a(Object.prototype,"__proto__"),f=Object,c=f.getPrototypeOf;t.exports=s&&"function"==typeof s.get?o([s.get]):"function"==typeof c&&function(t){return c(null==t?t:f(t))}},871:function(t){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(t){r=!1}t.exports=r},1247:function(t){"use strict";
1t.exports=EvalError},6621:function(t){"use strict";t.exports=Error},6136:function(t){"use strict";t.exports=RangeError},252:function(t){"use strict";t.exports=ReferenceError},9546:function(t){"use strict";t.exports=SyntaxError},4785:function(t){"use strict";t.exports=TypeError},1223:function(t){"use strict";t.exports=URIError},8300:function(t){"use strict";t.exports=Object},4680:function(t){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(t,n,o){if("[object Function]"!==i.call(n))throw TypeError("iterator must be a function");var a=t.length;if(a===+a)for(var s=0;s<a;s++)n.call(o,t[s],s,t);else for(var f in t)r.call(t,f)&&n.call(o,t[f],f,t)}},6555:function(t){"use strict";var r="Function.prototype.bind called on incompatible ",i=Object.prototype.toString,n=Math.max,o="[object Function]",a=function(t,r){for(var i=[],n=0;n<t.length;n+=1)i[n]=t[n];for(var o=0;o<r.length;o+=1)i[o+t.length]=r[o];return i},s=function(t,r){for(var i=[],n=r||0,o=0;n<t.length;n+=1,o+=1)i[o]=t[n];return i},f=function(t,r){for(var i="",n=0;n<t.length;n+=1)i+=t[n],n+1<t.length&&(i+=r);return i};t.exports=function(t){var c,u=this;if("function"!=typeof u||i.apply(u)!==o)throw TypeError(r+u);for(var l=s(arguments,1),d=function(){if(this instanceof c){var r=u.apply(this,a(l,arguments));return Object(r)===r?r:this}return u.apply(t,a(l,arguments))},h=n(0,u.length-l.length),p=[],b=0;b<h;b++)p[b]="$"+b;if(c=Function("binder","return function ("+f(p,",")+"){ return binder.apply(this,arguments); }")(d),u.prototype){var g=function(){};g.prototype=u.prototype,c.prototype=new g,g.prototype=null}return c}},7797:function(t,r,i){"use strict";var n=i(6555);t.exports=Function.prototype.bind||n},1893:function(t,r,i){"use strict";var n,o=i(8300),a=i(6621),s=i(1247),f=i(6136),c=i(252),u=i(9546),l=i(4785),d=i(1223),h=i(4197),p=i(4455),b=i(1295),g=i(6949),m=i(2943),y=i(1721),v=i(3536),x=Function,w=function(t){try{return x('"use strict"; return ('+t+").constructor;")()}catch(t){}},_=i(8322),S=i(871),E=function(){throw new l},M=_?function(){try{return arguments.callee,E}catch(t){try{return _(arguments,"callee").get}catch(t){return E}}}():E,A=i(9131)(),T=i(9717),k=i(45),R=i(7767),I=i(4834),L=i(8772),O={},j="u">typeof Uint8Array&&T?T(Uint8Array):n,N={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":A&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":O,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":A&&T?T(T([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&A&&T?T((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":f,"%ReferenceError%":c,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&A&&T?T((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&T?T(""[Symbol.iterator]()):n,"%Symbol%":A?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":M,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":I,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":k,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":b,"%Math.min%":g,"%Math.pow%":m,"%Math.round%":y,"%Math.sign%":v,"%Reflect.getPrototypeOf%":R};if(T)try{null.error}catch(t){var C=T(T(t));N["%Error.prototype%"]=C}var B=function t(r){var i;if("%AsyncFunction%"===r)i=w("async function () {}");else if("%GeneratorFunction%"===r)i=w("function* () {}");else if("%AsyncGeneratorFunction%"===r)i=w("async function* () {}");else if("%AsyncGenerator%"===r){var n=t("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if("%AsyncIteratorPrototype%"===r){var o=t("%AsyncGenerator%");o&&T&&(i=T(o.prototype))}return N[r]=i,i},P={__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"]},D=i(7797),U=i(3383),z=D.call(L,Array.prototype.concat),H=D.call(I,Array.prototype.splice),Y=D.call(L,Str
1ing.prototype.replace),q=D.call(L,String.prototype.slice),F=D.call(L,RegExp.prototype.exec),V=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,K=/\\(\\)?/g,$=function(t){var r=q(t,0,1),i=q(t,-1);if("%"===r&&"%"!==i)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==r)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return Y(t,V,function(t,r,i,o){n[n.length]=i?Y(o,K,"$1"):r||t}),n},W=function(t,r){var i,n=t;if(U(P,n)&&(n="%"+(i=P[n])[0]+"%"),U(N,n)){var o=N[n];if(o===O&&(o=B(n)),void 0===o&&!r)throw new l("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new u("intrinsic "+t+" does not exist!")};t.exports=function(t,r){if("string"!=typeof t||0===t.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof r)throw new l('"allowMissing" argument must be a boolean');if(null===F(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=$(t),n=i.length>0?i[0]:"",o=W("%"+n+"%",r),a=o.name,s=o.value,f=!1,c=o.alias;c&&(n=c[0],H(i,z([0,1],c)));for(var d=1,h=!0;d<i.length;d+=1){var p=i[d],b=q(p,0,1),g=q(p,-1);if(('"'===b||"'"===b||"`"===b||'"'===g||"'"===g||"`"===g)&&b!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&h||(f=!0),n+="."+p,U(N,a="%"+n+"%"))s=N[a];else if(null!=s){if(!(p in s)){if(!r)throw new l("base intrinsic for "+t+" exists, but the property is not available.");return}if(_&&d+1>=i.length){var m=_(s,p);s=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:s[p]}else h=U(s,p),s=s[p];h&&!f&&(N[a]=s)}}return s}},45:function(t,r,i){"use strict";t.exports=i(8300).getPrototypeOf||null},7767:function(t){"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},9717:function(t,r,i){"use strict";var n=i(7767),o=i(45),a=i(3859);t.exports=n?function(t){return n(t)}:o?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return o(t)}:a?function(t){return a(t)}:null},8422:function(t){"use strict";t.exports=Object.getOwnPropertyDescriptor},8322:function(t,r,i){"use strict";var n=i(8422);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},8122:function(t,r,i){"use strict";var n=i(871),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},8564:function(t,r,i){"use strict";var n="u">typeof Symbol&&Symbol,o=i(9094);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},9094:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),i=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;var n=42;for(r in t[r]=n,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==n||!0!==a.enumerable)return!1}return!0}},9131:function(t,r,i){"use strict";var n="u">typeof Symbol&&Symbol,o=i(6313);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},6313:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},r=Symbol("test"),i=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;var n=42;for(var o in t[r]=n,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var a=Object.getOwnPropertySymbols(t);if(1!==a.length||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(t,r);
1if(s.value!==n||!0!==s.enumerable)return!1}return!0}},3383:function(t,r,i){"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty;t.exports=i(7797).call(n,o)},1638:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}},6960:function(t){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.prototype.toString,n=function(t){return(!r||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===i.call(t)},o=function(t){return!!n(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==i.call(t)&&"[object Function]"===i.call(t.callee)},a=function(){return n(arguments)}();n.isLegacyArguments=o,t.exports=a?n:o},8979:function(t){"use strict";var r=Object.prototype.toString,i=Function.prototype.toString,n=/^\s*(?:function)?\*/,o="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=Object.getPrototypeOf,s=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch(t){}}(),f=s?a(s):{};t.exports=function(t){return"function"==typeof t&&(!!n.test(i.call(t))||(o?a(t)===f:"[object GeneratorFunction]"===r.call(t)))}},9572:function(r,i,n){"use strict";var o=n(4680),a=n(3147),s=n(2982),f=s("Object.prototype.toString"),c=n(8564)()&&"symbol"==typeof Symbol.toStringTag,u=a(),l=s("Array.prototype.indexOf",!0)||function(t,r){for(var i=0;i<t.length;i+=1)if(t[i]===r)return i;return -1},d=s("String.prototype.slice"),h={},p=n(9745),b=Object.getPrototypeOf;c&&p&&b&&o(u,function(r){var i=new t.g[r];if(!(Symbol.toStringTag in i))throw EvalError("this engine has support for Symbol.toStringTag, but "+r+" does not have the property! Please report this.");var n=b(i),o=p(n,Symbol.toStringTag);o||(o=p(b(n),Symbol.toStringTag)),h[r]=o.get});var g=function(t){var r=!1;return o(h,function(i,n){if(!r)try{r=i.call(t)===n}catch(t){}}),r};r.exports=function(t){return!!t&&"object"==typeof t&&(c?!!p&&g(t):l(u,d(f(t),8,-1))>-1)}},4197:function(t){"use strict";t.exports=Math.abs},4455:function(t){"use strict";t.exports=Math.floor},6128:function(t){"use strict";t.exports=Number.isNaN||function(t){return t!=t}},1295:function(t){"use strict";t.exports=Math.max},6949:function(t){"use strict";t.exports=Math.min},2943:function(t){"use strict";t.exports=Math.pow},1721:function(t){"use strict";t.exports=Math.round},3536:function(t,r,i){"use strict";var n=i(6128);t.exports=function(t){return n(t)||0===t?t:t<0?-1:1}},3798:function(t,r,i){"use strict";var n=i(1893),o=i(2071),a=i(8122)(),s=i(8322),f=i(4785),c=n("%Math.floor%");t.exports=function(t,r){if("function"!=typeof t)throw new f("`fn` is not a function");if("number"!=typeof r||r<0||r>0xffffffff||c(r)!==r)throw new f("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in t&&s){var l=s(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(u=!1)}return(n||u||!i)&&(a?o(t,"length",r,!0,!0):o(t,"length",r)),t}},3614:function(t){t.exports=function(t){return t instanceof n.Buffer}},7551:function(t,r,i){"use strict";var n=i(6960),o=i(8979),a=i(3051),s=i(9572);function f(t){return t.call.bind(t)}var c="u">typeof BigInt,u="u">typeof Symbol,l=f(Object.prototype.toString),d=f(Number.prototype.valueOf),h=f(String.prototype.valueOf),p=f(Boolean.prototype.valueOf);if(c)var b=f(BigInt.prototype.valueOf);if(u)var g=f(Symbol.prototype.valueOf);function m(t,r){if("object"!=typeof t)return!1;try{return r(t),!0}catch(t){return!1}}function y(t){return"[object Map]"===l(t)}function v(t){return"[object Set]"===l(t)}function x(t){return"[object WeakMap]"===l(t)}function w(t){return"[object WeakSet]"===l(t)}function _(t){return"[object ArrayBuffer]"===l(t)}function S(t){return!("u"<typeof ArrayBuffer)&&(_.working?_(t):t instanceof ArrayBuffer)}function E(t){return"[object DataView]"===l(t)}function M(t){return!("u"<typeof DataView)&&(E.working?E(t):t instanceof DataView)}r.isArgumentsObject=n,r.isGeneratorFunction=o,r.isTypedArray=s,r.isPromise=function(t){return"u">typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},r.isArrayBufferView=function(t){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||M(t)},r.isUint8Array=function(t){return"Uint8Array"===a(t)},r.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===a(t)},r.isUint16Array=function(t){return"Uint16Array"===a(t)},r.isUint32Array=function(t){return"Uint32Array"===a(t)},r.isInt8Array=function(t){return"Int8Array"===a(t)},r.isInt16Array=function(t){return"Int16Array"===a(t)},r.isInt32Array=function(t){return"Int32Array"===a(t)},r.isFloat32Array=function(t){return"Float32Array"===a(t)},r.isFloat64Array=function(t){return"Float64Array"===a(t)},r.isBigInt64Array=function(t){return"BigInt64Array"===a(t)},r.isBigUint64Array=function(t){return"BigUint64Array"===a(t)},y.working="u">typeof Map&&y(new Map),r.isMap=function(t){return!("u"<typeof Map)&&(y.working?y(t):t instanceof Map)}
1,v.working="u">typeof Set&&v(new Set),r.isSet=function(t){return!("u"<typeof Set)&&(v.working?v(t):t instanceof Set)},x.working="u">typeof WeakMap&&x(new WeakMap),r.isWeakMap=function(t){return!("u"<typeof WeakMap)&&(x.working?x(t):t instanceof WeakMap)},w.working="u">typeof WeakSet&&w(new WeakSet),r.isWeakSet=function(t){return w(t)},_.working="u">typeof ArrayBuffer&&_(new ArrayBuffer),r.isArrayBuffer=S,E.working="u">typeof ArrayBuffer&&"u">typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),r.isDataView=M;var A="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function T(t){return"[object SharedArrayBuffer]"===l(t)}function k(t){return void 0!==A&&(void 0===T.working&&(T.working=T(new A)),T.working?T(t):t instanceof A)}function R(t){return m(t,d)}function I(t){return m(t,h)}function L(t){return m(t,p)}function O(t){return c&&m(t,b)}function j(t){return u&&m(t,g)}r.isSharedArrayBuffer=k,r.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},r.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},r.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},r.isGeneratorObject=function(t){return"[object Generator]"===l(t)},r.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},r.isNumberObject=R,r.isStringObject=I,r.isBooleanObject=L,r.isBigIntObject=O,r.isSymbolObject=j,r.isBoxedPrimitive=function(t){return R(t)||I(t)||L(t)||O(t)||j(t)},r.isAnyArrayBuffer=function(t){return"u">typeof Uint8Array&&(S(t)||k(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(r,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},4268:function(t,r,i){var n=Object.getOwnPropertyDescriptors||function(t){for(var r=Object.keys(t),i={},n=0;n<r.length;n++)i[r[n]]=Object.getOwnPropertyDescriptor(t,r[n]);return i},a=/%[sdj%]/g;r.format=function(t){if(!E(t)){for(var r=[],i=0;i<arguments.length;i++)r.push(u(arguments[i]));return r.join(" ")}for(var i=1,n=arguments,o=n.length,s=String(t).replace(a,function(t){if("%%"===t)return"%";if(i>=o)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}),f=n[i];i<o;f=n[++i])_(f)||!T(f)?s+=" "+f:s+=" "+u(f);return s},r.deprecate=function(t,i){if(void 0!==o.default&&!0===o.default.noDeprecation)return t;if(void 0===o.default)return function(){return r.deprecate(t,i).apply(this,arguments)};var n=!1;return function(){if(!n){if(o.default.throwDeprecation)throw Error(i);o.default.traceDeprecation?console.trace(i):console.error(i),n=!0}return t.apply(this,arguments)}};var s={},f=/^$/;if(o.default.env.NODE_DEBUG){var c=o.default.env.NODE_DEBUG;f=RegExp("^"+(c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function u(t,i){var n={seen:[],stylize:d};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),w(i)?n.showHidden=i:i&&r._extend(n,i),M(n.showHidden)&&(n.showHidden=!1),M(n.depth)&&(n.depth=2),M(n.colors)&&(n.colors=!1),M(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,t,n.depth)}function l(t,r){var i=u.styles[r];return i?"\x1b["+u.colors[i][0]+"m"+t+"\x1b["+u.colors[i][1]+"m":t}function d(t,r){return t}function h(t){var r={};return t.forEach(function(t,i){r[t]=!0}),r}function p(t,i,n){if(t.customInspect&&i&&I(i.inspect)&&i.inspect!==r.inspect&&!(i.constructor&&i.constructor.prototype===i)){var o,a=i.inspect(n,t);return E(a)||(a=p(t,a,n)),a}var s=b(t,i);if(s)return s;var f=Object.keys(i),c=h(f);if(t.showHidden&&(f=Object.getOwnPropertyNames(i)),R(i)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return g(i);if(0===f.length){if(I(i)){var u=i.name?": "+i.name:"";return t.stylize("[Function"+u+"]","special")}if(A(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(k(i))return t.stylize(Date.prototype.toString.call(i),"date");if(R(i))return g(i)}var l="",d=!1,w=["{","}"];if(x(i)&&(d=!0,w=["[","]"]),I(i)&&(l=" [Function"+(i.name?": "+i.name:"")+"]"),A(i)&&(l=" "+RegExp.prototype.toString.call(i)),k(i)&&(l=" "+Date.prototype.toUTCString.call(i)),R(i)&&(l=" "+g(i)),0===f.length&&(!d||0==i.length))return w[0]+l+w[1];if(n<0)if(A(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");else return t.stylize("[Object]","special");return t.seen.push(i),o=d?m(t,i,n,c,f):f.map(function(r){return y(t,i,n,c,r,d)}),t.seen.pop(),v(o,l,w)}function b(t,r){if(M(r))return t.stylize("undefined","undefined");if(E(r)){var i="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return S(r)?t.stylize(""+r,"number"):w(r)?t.stylize(""+r,"boolean"):_(r)?t.stylize("null","null"):void 0}function g(t){return"["+Error.prototype.toString.call(t)+"]"}function m(t,r,i,n,o){for(var a=[],s=0,f=r.length;s<f;++s)C(r,String(s))?a.push(y(t,r,i,n,String(s),!0)):a.push("");return o.forEach(function(o){o.match(/^\d+$/)||a.push(y(t,r,i,n,o,!0))}),a}function y(t,r,i,n,o,a){var s,f,c;if((c=Object.getOwnPropertyDescriptor(r,o)||{value:r[o]}).get?f=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(f=t.stylize("[
1Setter]","special")),C(n,o)||(s="["+o+"]"),!f&&(0>t.seen.indexOf(c.value)?(f=_(i)?p(t,c.value,null):p(t,c.value,i-1)).indexOf("\n")>-1&&(f=a?f.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+f.split("\n").map(function(t){return" "+t}).join("\n")):f=t.stylize("[Circular]","special")),M(s)){if(a&&o.match(/^\d+$/))return f;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+f}function v(t,r,i){var n=0;return t.reduce(function(t,r){return n++,r.indexOf("\n")>=0&&n++,t+r.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?i[0]+(""===r?"":r+"\n ")+" "+t.join(",\n ")+" "+i[1]:i[0]+r+" "+t.join(", ")+" "+i[1]}function x(t){return Array.isArray(t)}function w(t){return"boolean"==typeof t}function _(t){return null===t}function S(t){return"number"==typeof t}function E(t){return"string"==typeof t}function M(t){return void 0===t}function A(t){return T(t)&&"[object RegExp]"===L(t)}function T(t){return"object"==typeof t&&null!==t}function k(t){return T(t)&&"[object Date]"===L(t)}function R(t){return T(t)&&("[object Error]"===L(t)||t instanceof Error)}function I(t){return"function"==typeof t}function L(t){return Object.prototype.toString.call(t)}function O(t){return t<10?"0"+t.toString(10):t.toString(10)}r.debuglog=function(t){if(!s[t=t.toUpperCase()])if(f.test(t)){var i=o.default.pid;s[t]=function(){var n=r.format.apply(r,arguments);console.error("%s %d: %s",t,i,n)}}else s[t]=function(){};return s[t]},r.inspect=u,u.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]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.types=i(7551),r.isArray=x,r.isBoolean=w,r.isNull=_,r.isNullOrUndefined=function(t){return null==t},r.isNumber=S,r.isString=E,r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=M,r.isRegExp=A,r.types.isRegExp=A,r.isObject=T,r.isDate=k,r.types.isDate=k,r.isError=R,r.types.isNativeError=R,r.isFunction=I,r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=i(3614);var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var t=new Date,r=[O(t.getHours()),O(t.getMinutes()),O(t.getSeconds())].join(":");return[t.getDate(),j[t.getMonth()],r].join(" ")}function C(t,r){return Object.prototype.hasOwnProperty.call(t,r)}r.log=function(){console.log("%s - %s",N(),r.format.apply(r,arguments))},r.inherits=i(1638),r._extend=function(t,r){if(!r||!T(r))return t;for(var i=Object.keys(r),n=i.length;n--;)t[i[n]]=r[i[n]];return t};var B="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(t,r){if(!t){var i=Error("Promise was rejected with a falsy value");i.reason=t,t=i}return r(t)}r.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(B&&t[B]){var r=t[B];if("function"!=typeof r)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,B,{value:r,enumerable:!1,writable:!1,configurable:!0}),r}function r(){for(var r,i,n=new Promise(function(t,n){r=t,i=n}),o=[],a=0;a<arguments.length;a++)o.push(arguments[a]);o.push(function(t,n){t?i(t):r(n)});try{t.apply(this,o)}catch(t){i(t)}return n}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),B&&Object.defineProperty(r,B,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,n(t))},r.promisify.custom=B,r.callbackify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');function r(){for(var r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);var n=r.pop();if("function"!=typeof n)throw TypeError("The last argument must be of type Function");var a=this,s=function(){return n.apply(a,arguments)};t.apply(this,r).then(function(t){o.default.nextTick(s.bind(null,null,t))},function(t){o.default.nextTick(P.bind(null,t,s))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}},3051:function(r,i,n){"use strict";var o=n(4680),a=n(3147),s=n(2982),f=s("Object.prototype.toString"),c=n(8564)()&&"symbol"==typeof Symbol.toStringTag,u=a(),l=s("String.prototype.slice"),d={},h=n(9745),p=Object.getPrototypeOf;c&&h&&p&&o(u,function(r){if("function"==typeof t.g[r]){var i=new t.g[r];if(!(Symbol.toStringTag in i))throw EvalError("this engine has support for Symbol.toStringTag, but "+r+" does not have the property! Please report this.");var n=p(i),o=h(n,Symbol.toStringTag);o||(o=h(p(n),Symbol.toStringTag)),d[r]=o.get}});var b=function(t){var r=!1;return o(d,function(i,n){if(!r)try{var o=i.call(t);
1o===n&&(r=o)}catch(t){}}),r},g=n(9572);r.exports=function(t){return!!g(t)&&(c?b(t):l(f(t),8,-1))}},3147:function(r,i,n){"use strict";var o=n(7492);r.exports=function(){return o(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(r){return"function"==typeof t.g[r]})}},9745:function(t,r,i){"use strict";t.exports=i(8322)}},s={};function f(t){var r=s[t];if(void 0!==r)return r.exports;var i=s[t]={exports:{}},n=!0;try{a[t](i,i.exports,f),n=!1}finally{n&&delete s[t]}return i.exports}f.ab="/ROOT/node_modules/next/dist/compiled/util/",r.exports=f(4268)},12569,(t,r,i)=>{var n=t.i(47167),o={638:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}},329:function(t){"use strict";let r={};function i(t,i,n){function o(t,r,n){return"string"==typeof i?i:i(t,r,n)}n||(n=Error);class a extends n{constructor(t,r,i){super(o(t,r,i))}}a.prototype.name=n.name,a.prototype.code=t,r[t]=a}function n(t,r){if(!Array.isArray(t))return`of ${r} ${String(t)}`;{let i=t.length;return(t=t.map(t=>String(t)),i>2)?`one of ${r} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:2===i?`one of ${r} ${t[0]} or ${t[1]}`:`of ${r} ${t[0]}`}}function o(t,r,i){return t.substr(!i||i<0?0:+i,r.length)===r}function a(t,r,i){return(void 0===i||i>t.length)&&(i=t.length),t.substring(i-r.length,i)===r}function s(t,r,i){return"number"!=typeof i&&(i=0),!(i+r.length>t.length)&&-1!==t.indexOf(r,i)}i("ERR_INVALID_OPT_VALUE",function(t,r){return'The value "'+r+'" is invalid for option "'+t+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(t,r,i){let f,c;if("string"==typeof r&&o(r,"not ")?(f="must not be",r=r.replace(/^not /,"")):f="must be",a(t," argument"))c=`The ${t} ${f} ${n(r,"type")}`;else{let i=s(t,".")?"property":"argument";c=`The "${t}" ${i} ${f} ${n(r,"type")}`}return c+`. Received type ${typeof i}`},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=r},686:function(t,r,i){"use strict";var o=Object.keys||function(t){var r=[];for(var i in t)r.push(i);return r};t.exports=l;var a=i(276),s=i(732);i(638)(l,a);for(var f=o(s.prototype),c=0;c<f.length;c++){var u=f[c];l.prototype[u]||(l.prototype[u]=s.prototype[u])}function l(t){if(!(this instanceof l))return new l(t);a.call(this,t),s.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||n.default.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},512:function(t,r,i){"use strict";
vendor: 7,431 bytes, line 1
1t.exports=o;var n=i(586);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i(638)(o,n),o.prototype._transform=function(t,r,i){i(null,t)}},276:function(r,i,o){"use strict";r.exports=I,I.ReadableState=R,o(434).EventEmitter;var a,s,f,c,u,l=function(t,r){return t.listeners(r).length},d=o(120),h=o(181).Buffer,p=t.g.Uint8Array||function(){};function b(t){return h.from(t)}function g(t){return h.isBuffer(t)||t instanceof p}var m=o(23);s=m&&m.debuglog?m.debuglog("stream"):function(){};var y=o(137),v=o(528),x=o(771).getHighWaterMark,w=o(329).F,_=w.ERR_INVALID_ARG_TYPE,S=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,M=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;o(638)(I,d);var A=v.errorOrDestroy,T=["error","close","destroy","pause","resume"];function k(t,r,i){if("function"==typeof t.prependListener)return t.prependListener(r,i);t._events&&t._events[r]?Array.isArray(t._events[r])?t._events[r].unshift(i):t._events[r]=[i,t._events[r]]:t.on(r,i)}function R(t,r,i){a=a||o(686),t=t||{},"boolean"!=typeof i&&(i=r instanceof a),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=x(this,t,"readableHighWaterMark",i),this.buffer=new y,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=o(319).I),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function I(t){if(a=a||o(686),!(this instanceof I))return new I(t);var r=this instanceof a;this._readableState=new R(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),d.call(this)}function L(t,r,i,n,o){s("readableAddChunk",r);var a,f=t._readableState;if(null===r)f.reading=!1,P(t,f);else if(o||(a=j(f,r)),a)A(t,a);else if(f.objectMode||r&&r.length>0)if("string"==typeof r||f.objectMode||Object.getPrototypeOf(r)===h.prototype||(r=b(r)),n)f.endEmitted?A(t,new M):O(t,f,r,!0);else if(f.ended)A(t,new S);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!i?(r=f.decoder.write(r),f.objectMode||0!==r.length?O(t,f,r,!1):z(t,f)):O(t,f,r,!1)}else n||(f.reading=!1,z(t,f));return!f.ended&&(f.length<f.highWaterMark||0===f.length)}function O(t,r,i,n){r.flowing&&0===r.length&&!r.sync?(r.awaitDrain=0,t.emit("data",i)):(r.length+=r.objectMode?1:i.length,n?r.buffer.unshift(i):r.buffer.push(i),r.needReadable&&D(t)),z(t,r)}function j(t,r){var i;return g(r)||"string"==typeof r||void 0===r||t.objectMode||(i=new _("chunk",["string","Buffer","Uint8Array"],r)),i}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),I.prototype.destroy=v.destroy,I.prototype._undestroy=v.undestroy,I.prototype._destroy=function(t,r){r(t)},I.prototype.push=function(t,r){var i,n=this._readableState;return n.objectMode?i=!0:"string"==typeof t&&((r=r||n.defaultEncoding)!==n.encoding&&(t=h.from(t,r),r=""),i=!0),L(this,t,r,!1,i)},I.prototype.unshift=function(t){return L(this,t,null,!0,!1)},I.prototype.isPaused=function(){return!1===this._readableState.flowing},I.prototype.setEncoding=function(t){f||(f=o(319).I);var r=new f(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;for(var i=this._readableState.buffer.head,n="";null!==i;)n+=r.write(i.data),i=i.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var N=0x40000000;function C(t){return t>=N?t=N:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function B(t,r){if(t<=0||0===r.length&&r.ended)return 0;if(r.objectMode)return 1;if(t!=t)if(r.flowing&&r.length)return r.buffer.head.data.length;else return r.length;return(t>r.highWaterMark&&(r.highWaterMark=C(t)),t<=r.length)?t:r.ended?r.length:(r.needReadable=!0,0)}function P(t,r){if(s("onEofChunk"),!r.ended){if(r.decoder){var i=r.decoder.end();i&&i.length&&(r.buffer.push(i),r.length+=r.objectMode?1:i.length)}r.ended=!0,r.sync?D(t):(r.needReadable=!1,r.emittedReadable||(r.emittedReadable=!0,U(t)))}}function D(t){var r=t._readableState;s("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(s("emitReadable",r.flowing),r.emittedReadable=!0,n.default.nextTick(U,t))}function U(t){var r=t._readableState;s("emitReadable_",r.destroyed,r.length,r.ended),!r.destroyed&&(r.length||r.ended)&&(t.emit("readable"),r.emittedReadable=!1),r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,$(t)}function z(t,r){r.readingMore||(r.readingMore=!0,n.default.nextTick(H,t,r))}function H(t,r){for(;!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&0===r.length);){var i=r.length;if(s("maybeReadMore read 0"),t.read(0),i===r.length)break}r.readingMore=!1}function Y(t){return function(){var r=t._readableState;s("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&l(t,"data")&&(r.flowing=!0,$(t))}}function q(t){var r=t._readableState;r.readableListening=t.listenerCount("readable")>0,r.resumeScheduled&&!r.paused?r.flowing=!0:t.listenerCount("data")>0&&t.resume()}function F(t){s("readable nexttick read 0"),t.read(0)}function V(t,r){r.resumeScheduled||(r.resumeScheduled=!0,n.default.nextTick(K,t,r))}function K(t,r){s("resume",r.reading),r.reading||t.read(0),r.resumeScheduled=!1,t.emit("resume"),$(t),r.flowing&&!r.reading&&t.read(0)}function $(t){var r=t._readableState;for(s("flow",r.flowing);r.flowing&&null!==t.read(););}function W(t,r){var i;return 0===r.length?null:(r.objectMode?i=r.buffer.shift():!t||t>=r.length?(i=r.decoder?r.buffer.join(""):1===r.buffer.length?r.buffer.first():r.buffer.concat(r.length),r.buffer.clear()):i=r.buffer.consume(t,r.decoder),i)}function G(t){var r=t._readableState;s("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,n.default.nextTick(J,r,t))}function J(t,r){if(s("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,r.readable=!1,r.emit("end"),t.autoDestroy)){var i=r._writableState;(!i||i.autoDestroy&&i.finished)&&r.destroy()}}function Z(t,r){for(var i=0,n=t.length;i<n;i++)if(t[i]===r)return i;return -1}I.prototype.read=function(t){s("read",t),t=parseInt(t,10);var r,i=this._readableState,n=t;if(0!==t&&(i.emittedReadable=!1),0===t&&i.needReadable&&((0!==i.highWaterMark?i.length>=i.highWaterMark:i.length>0)||i.ended))return s("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?G(this):D(this),null;if(0===(t=B(t,i))&&i.ended)return 0===i.length&&G(this),null;var o=i.needReadable;return s("need readable",o),(0===i.length||i.length-t<i.highWaterMark)&&s("length less than watermark",o=!0),i.ended||i.reading?s("reading or ended",o=!1):o&&(s("do read"),i.reading=!0,i.sync=!0,0===i.length&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,i.reading||(t=B(n,i))),null===(r=t>0?W(t,i):null)?(i.needReadable=i.length<=i.highWaterMark,t=0):(i.length-=t,i.awaitDrain=0),0===i.length&&(i.ended||(i.needReadable=!0),n!==t&&i.ended&&G(this)),null!==r&&this.emit
vendor: 4,538 bytes, line 1
1("data",r),r},I.prototype._read=function(t){A(this,new E("_read()"))},I.prototype.pipe=function(t,r){var i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,s("pipe count=%d opts=%j",o.pipesCount,r);var a=r&&!1===r.end||t===n.default.stdout||t===n.default.stderr?y:c;function f(t,r){s("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h())}function c(){s("onend"),t.end()}o.endEmitted?n.default.nextTick(a):i.once("end",a),t.on("unpipe",f);var u=Y(i);t.on("drain",u);var d=!1;function h(){s("cleanup"),t.removeListener("close",g),t.removeListener("finish",m),t.removeListener("drain",u),t.removeListener("error",b),t.removeListener("unpipe",f),i.removeListener("end",c),i.removeListener("end",y),i.removeListener("data",p),d=!0,o.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&u()}function p(r){s("ondata");var n=t.write(r);s("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==Z(o.pipes,t))&&!d&&(s("false write response, pause",o.awaitDrain),o.awaitDrain++),i.pause())}function b(r){s("onerror",r),y(),t.removeListener("error",b),0===l(t,"error")&&A(t,r)}function g(){t.removeListener("finish",m),y()}function m(){s("onfinish"),t.removeListener("close",g),y()}function y(){s("unpipe"),i.unpipe(t)}return i.on("data",p),k(t,"error",b),t.once("close",g),t.once("finish",m),t.emit("pipe",i),o.flowing||(s("pipe resume"),i.resume()),t},I.prototype.unpipe=function(t){var r=this._readableState,i={hasUnpiped:!1};if(0===r.pipesCount)return this;if(1===r.pipesCount)return t&&t!==r.pipes||(t||(t=r.pipes),r.pipes=null,r.pipesCount=0,r.flowing=!1,t&&t.emit("unpipe",this,i)),this;if(!t){var n=r.pipes,o=r.pipesCount;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var a=0;a<o;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Z(r.pipes,t);return -1===s||(r.pipes.splice(s,1),r.pipesCount-=1,1===r.pipesCount&&(r.pipes=r.pipes[0]),t.emit("unpipe",this,i)),this},I.prototype.on=function(t,r){var i=d.prototype.on.call(this,t,r),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"!==t||o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,s("on readable",o.length,o.reading),o.length?D(this):o.reading||n.default.nextTick(F,this)),i},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(t,r){var i=d.prototype.removeListener.call(this,t,r);return"readable"===t&&n.default.nextTick(q,this),i},I.prototype.removeAllListeners=function(t){var r=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&n.default.nextTick(q,this),r},I.prototype.resume=function(){var t=this._readableState;return t.flowing||(s("resume"),t.flowing=!t.readableListening,V(this,t)),t.paused=!1,this},I.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(t){var r=this,i=this._readableState,n=!1;for(var o in t.on("end",function(){if(s("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(o){s("wrapped data"),i.decoder&&(o=i.decoder.write(o)),i.objectMode&&null==o||(i.objectMode||o&&o.length)&&(r.push(o)||(n=!0,t.pause()))}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(r){return function(){return t[r].apply(t,arguments)}}(o));for(var a=0;a<T.length;a++)t.on(T[a],this.emit.bind(this,T[a]));return this._read=function(r){s("wrapped _read",r),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(I.prototype[Symbol.asyncIterator]=function(){return void 0===c&&(c=o(531)),c(this)}),Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),I._fromList=W,Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(I.from=function(t,r){return void 0===u&&(u=
vendor: 5,378 bytes, line 1
1o(812)),u(I,t,r)})},586:function(t,r,i){"use strict";t.exports=l;var n=i(329).F,o=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,f=n.ERR_TRANSFORM_WITH_LENGTH_0,c=i(686);function u(t,r){var i=this._transformState;i.transforming=!1;var n=i.writecb;if(null===n)return this.emit("error",new a);i.writechunk=null,i.writecb=null,null!=r&&this.push(r),n(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",d)}function d(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(r,i){h(t,r,i)})}function h(t,r,i){if(r)return t.emit("error",r);if(null!=i&&t.push(i),t._writableState.length)throw new f;if(t._transformState.transforming)throw new s;return t.push(null)}i(638)(l,c),l.prototype.push=function(t,r){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,r)},l.prototype._transform=function(t,r,i){i(new o("_transform()"))},l.prototype._write=function(t,r,i){var n=this._transformState;if(n.writecb=i,n.writechunk=t,n.writeencoding=r,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},l.prototype._read=function(t){var r=this._transformState;null===r.writechunk||r.transforming?r.needTransform=!0:(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform))},l.prototype._destroy=function(t,r){c.prototype._destroy.call(this,t,function(t){r(t)})}},732:function(r,i,o){"use strict";function a(t){var r=this;this.next=null,this.entry=null,this.finish=function(){K(r,t)}}r.exports=R,R.WritableState=k;var s,f,c={deprecate:o(774)},u=o(120),l=o(181).Buffer,d=t.g.Uint8Array||function(){};function h(t){return l.from(t)}function p(t){return l.isBuffer(t)||t instanceof d}var b=o(528),g=o(771).getHighWaterMark,m=o(329).F,y=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,x=m.ERR_MULTIPLE_CALLBACK,w=m.ERR_STREAM_CANNOT_PIPE,_=m.ERR_STREAM_DESTROYED,S=m.ERR_STREAM_NULL_VALUES,E=m.ERR_STREAM_WRITE_AFTER_END,M=m.ERR_UNKNOWN_ENCODING,A=b.errorOrDestroy;function T(){}function k(t,r,i){s=s||o(686),t=t||{},"boolean"!=typeof i&&(i=r instanceof s),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=g(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var n=!1===t.decodeStrings;this.decodeStrings=!n,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){P(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}o(638)(R,u),k.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};try{Object.defineProperty(k.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}function R(t){var r=this instanceof(s=s||o(686));if(!r&&!f.call(R,this))return new R(t);this._writableState=new k(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),u.call(this)}function I(t,r){var i=new E;A(t,i),n.default.nextTick(r,i)}function L(t,r,i,o){var a;return null===i?a=new S:"string"==typeof i||r.objectMode||(a=new y("chunk",["string","Buffer"],i)),!a||(A(t,a),n.default.nextTick(o,a),!1)}function O(t,r,i){return t.objectMode||!1===t.decodeStrings||"string"!=typeof r||(r=l.from(r,i)),r}function j(t,r,i,n,o,a){if(!i){var s=O(r,n,o);n!==s&&(i=!0,o="buffer",n=s)}var f=r.objectMode?1:n.length;r.length+=f;var c=r.length<r.highWaterMark;if(c||(r.needDrain=!0),r.writing||r.corked){var u=r.lastBufferedRequest;r.lastBufferedRequest={chunk:n,encoding:o,isBuf:i,callback:a,next:null},u?u.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else N(t,r,!1,f,n,o,a);return c}function N(t,r,i,n,o,a,s){r.writelen=n,r.writecb=s,r.writing=!0,r.sync=!0,r.destroyed?r.onwrite(new _("write")):i?t._writev(o,r.onwrite):t._write(o,a,r.onwrite),r.sync=!1}function C(t,r,i,o,a){--r.pendingcb,i?(n.default.nextTick(a,o),n.default.nextTick(F,t,r),t._writableState.errorEmitted=!0,A(t,o)):(a(o),t._writableState.errorEmitted=!0,A(t,o),F(t,r))}function B(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function P(t,r){var i=t._writableState,o=i.sync,a=i.writecb;if("function"!=typeof a)throw new x;if(B(i),r)C(t,i,o,r,a);else{var s=H(i)||t.destroyed;
vendor: 4,514 bytes, line 1
1s||i.corked||i.bufferProcessing||!i.bufferedRequest||z(t,i),o?n.default.nextTick(D,t,i,s,a):D(t,i,s,a)}}function D(t,r,i,n){i||U(t,r),r.pendingcb--,n(),F(t,r)}function U(t,r){0===r.length&&r.needDrain&&(r.needDrain=!1,t.emit("drain"))}function z(t,r){r.bufferProcessing=!0;var i=r.bufferedRequest;if(t._writev&&i&&i.next){var n=Array(r.bufferedRequestCount),o=r.corkedRequestsFree;o.entry=i;for(var s=0,f=!0;i;)n[s]=i,i.isBuf||(f=!1),i=i.next,s+=1;n.allBuffers=f,N(t,r,!0,r.length,n,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new a(r),r.bufferedRequestCount=0}else{for(;i;){var c=i.chunk,u=i.encoding,l=i.callback,d=r.objectMode?1:c.length;if(N(t,r,!1,d,c,u,l),i=i.next,r.bufferedRequestCount--,r.writing)break}null===i&&(r.lastBufferedRequest=null)}r.bufferedRequest=i,r.bufferProcessing=!1}function H(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function Y(t,r){t._final(function(i){r.pendingcb--,i&&A(t,i),r.prefinished=!0,t.emit("prefinish"),F(t,r)})}function q(t,r){r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,n.default.nextTick(Y,t,r)))}function F(t,r){var i=H(r);if(i&&(q(t,r),0===r.pendingcb)&&(r.finished=!0,t.emit("finish"),r.autoDestroy)){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return i}function V(t,r,i){r.ending=!0,F(t,r),i&&(r.finished?n.default.nextTick(i):t.once("finish",i)),r.ended=!0,t.writable=!1}function K(t,r,i){var n=t.entry;for(t.entry=null;n;){var o=n.callback;r.pendingcb--,o(i),n=n.next}r.corkedRequestsFree.next=t}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(R,Symbol.hasInstance,{value:function(t){return!!f.call(this,t)||this===R&&t&&t._writableState instanceof k}})):f=function(t){return t instanceof this},R.prototype.pipe=function(){A(this,new w)},R.prototype.write=function(t,r,i){var n=this._writableState,o=!1,a=!n.objectMode&&p(t);return a&&!l.isBuffer(t)&&(t=h(t)),"function"==typeof r&&(i=r,r=null),a?r="buffer":r||(r=n.defaultEncoding),"function"!=typeof i&&(i=T),n.ending?I(this,i):(a||L(this,n,t,i))&&(n.pendingcb++,o=j(this,n,a,t,r,i)),o},R.prototype.cork=function(){this._writableState.corked++},R.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||z(this,t))},R.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new M(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(t,r,i){i(new v("_write()"))},R.prototype._writev=null,R.prototype.end=function(t,r,i){var n=this._writableState;return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),null!=t&&this.write(t,r),n.corked&&(n.corked=1,this.uncork()),n.ending||V(this,n,i),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),R.prototype.destroy=b.destroy,R.prototype._undestroy=b.undestroy,R.prototype._destroy=function(t,r){r(t)}},531:function(t,r,i){"use strict";function o(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var a,s=i(134),f=Symbol("lastResolve"),c=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),d=Symbol("lastPromise"),h=Symbol("handlePromise"),p=Symbol("stream");function b(t,r){return{value:t,done:r}}function g(t){var r=t[f];if(null!==r){var i=t[p].read();null!==i&&(t[d]=null,t[f]=null,t[c]=null,r(b(i,!1)))}}function m(t){n.default.nextTick(g,t)}function y(t,r){return function(i,n){t.then(function(){r[l]?i(b(void 0,!0)):r[h](i,n)},n)}}var v=Object.getPrototypeOf(function(){}
1),x=Object.setPrototypeOf((o(a={get stream(){return this[p]},next:function(){var t,r=this,i=this[u];if(null!==i)return Promise.reject(i);if(this[l])return Promise.resolve(b(void 0,!0));if(this[p].destroyed)return new Promise(function(t,i){n.default.nextTick(function(){r[u]?i(r[u]):t(b(void 0,!0))})});var o=this[d];if(o)t=new Promise(y(o,this));else{var a=this[p].read();if(null!==a)return Promise.resolve(b(a,!1));t=new Promise(this[h])}return this[d]=t,t}},Symbol.asyncIterator,function(){return this}),o(a,"return",function(){var t=this;return new Promise(function(r,i){t[p].destroy(null,function(t){t?i(t):r(b(void 0,!0))})})}),a),v);t.exports=function(t){var r,i=Object.create(x,(o(r={},p,{value:t,writable:!0}),o(r,f,{value:null,writable:!0}),o(r,c,{value:null,writable:!0}),o(r,u,{value:null,writable:!0}),o(r,l,{value:t._readableState.endEmitted,writable:!0}),o(r,h,{value:function(t,r){var n=i[p].read();n?(i[d]=null,i[f]=null,i[c]=null,t(b(n,!1))):(i[f]=t,i[c]=r)},writable:!0}),r));return i[d]=null,s(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var r=i[c];null!==r&&(i[d]=null,i[f]=null,i[c]=null,r(t)),i[u]=t;return}var n=i[f];null!==n&&(i[d]=null,i[f]=null,i[c]=null,n(b(void 0,!0))),i[l]=!0}),t.on("readable",m.bind(null,i)),i}},137:function(t,r,i){"use strict";function n(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function o(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?n(Object(i),!0).forEach(function(r){a(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function a(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function s(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}function f(t,r){for(var i=0;i<r.length;i++){var n=r[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,r,i){return r&&f(t.prototype,r),i&&f(t,i),t}var u=i(181).Buffer,l=i(23).inspect,d=l&&l.custom||"inspect";function h(t,r,i){u.prototype.copy.call(t,r,i)}t.exports=function(){function t(){s(this,t),this.head=null,this.tail=null,this.length=0}return c(t,[{key:"push",value:function(t){var r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function(t){var r={data:t,next:this.head};0===this.length&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var r=this.head,i=""+r.data;r=r.next;)i+=t+r.data;return i}},{key:"concat",value:function(t){if(0===this.length)return u.alloc(0);for(var r=u.allocUnsafe(t>>>0),i=this.head,n=0;i;)h(i.data,r,n),n+=i.data.length,i=i.next;return r}},{key:"consume",value:function(t,r){var i;return t<this.head.data.length?(i=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):i=t===this.head.data.length?this.shift():r?this._getString(t):this._getBuffer(t),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var r=this.head,i=1,n=r.data;for(t-=n.length;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(a===o.length?n+=o:n+=o.slice(0,t),0==(t-=a)){a===o.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(a));break}++i}return this.length-=i,n}},{key:"_getBuffer",value:function(t){var r=u.allocUnsafe(t),i=this.head,n=1;for(i.data.copy(r),t-=i.data.length;i=i.next;){var o=i.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0==(t-=a)){a===o.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++n}return this.length-=n,r}},{key:d,value:function(t,r){return l(this,o({},r,{depth:0,customInspect:!1}))}}]),t}()},528:function(t){"use strict";function r(t,r){o(t,r),i(t)}function i(t){t._writableState&&!t._writableState.emitClose||(!t._readableState||t._readableState.emitClose)&&t.emit("close")}function o(t,r){t.emit("error",r)}t.exports={destroy:function(t,a){var s=this,f=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return f||c?a?a(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.default.nextTick(o,this,t)):n.default.nextTick(o,this,t)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!a&&t?s._writableState?s._writableState.errorEmitted?n.default.nextTick(i,s):(s._writableState.errorEmitted=!0,n.default.nextTick(r,s,t)):n.default.nextTick(r,s,t):a?(n.default.nextTick(i,s),a(t)):n.default.nextTick(i,s)})),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(t,r){var i=t._readableState,n=t._writableState;i&&i.autoDestroy||n&&n.autoDestroy?t.destroy(r):t.emit("error",r)}}},134:function(t,r,i){"use strict";var n=i(329).F.ERR_STREAM_PREMATURE_CLOSE;function o(t){var r=!1;return function(){if(!r){r=!0;for(var i=arguments.length,n=Array(i),o=0;o<i;o++)n[o]=arguments[o];t.apply(this,n)}}}function a(){}function s(t){return t.setHeader&&"function"==typeof t.abort}function f(t,r,i){if("function"==typeof r)return f(t,null,r);r||(r={}),i=o(i||a);var c=r.readable||!1!==r.readable&&t.readable,u=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||h()},d=t._writableState&&t._writableState.finished,h=function(){u=!1,d=!0,c||i.call(t)},p=t._readableState&&t._readableState.endEmitted,b=function(){c=!1,p=!0,u||i.call(t)},g=function(r){i.call(t,r)},m=function(){var r;return c&&!p?(t._readableState&&t._readableState.ended||(r=new n),i.call(t,r)):u&&!d?(t._writableState&&t._writableState.ended||(r=new n),i.call(t,r)):void 0},y=function(){t.req.on("finish",h)};return s(t)?(t.on("complete",h),t.on("abort",m),t.req?y():t.on("request",y)):u&&!t._writableState&&(t.on("end",l),t.on("close",l)),t.on("end",b),t.on("finish",h),!1!==r.error&&t.on("error",g),t.on("close",m),function(){t.removeListener("complete",h),t.removeListener("abort",m),t.removeListener("request",y),t.req&&t.req.removeListener("finish",h),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",h),t.removeListener("end",b),t.removeListener("error",g),t.removeListener("close",m)}}t.exports=f},812:function(t,r,i){"use strict";function n(t,r,i,n,o,a,s){try{var f=t[a](s),c=f.value}catch(t){i(t);return}f.done?r(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var r=this,i=arguments;return new Promise(function(o,a){var s=t.apply(r,i);function f(t){n(s,o,a,f,c,"next",t)}function c(t){n(s,o,a,f,c,"throw",t)}f(void 0)})}}function a(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function s(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};
1r%2?a(Object(i),!0).forEach(function(r){f(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function f(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var c=i(329).F.ERR_INVALID_ARG_TYPE;t.exports=function(t,r,i){if(r&&"function"==typeof r.next)n=r;else if(r&&r[Symbol.asyncIterator])n=r[Symbol.asyncIterator]();else if(r&&r[Symbol.iterator])n=r[Symbol.iterator]();else throw new c("iterable",["Iterable"],r);var n,a=new t(s({objectMode:!0},i)),f=!1;function u(){return l.apply(this,arguments)}function l(){return(l=o(function*(){try{var t=yield n.next(),r=t.value;t.done?a.push(null):a.push((yield r))?u():f=!1}catch(t){a.destroy(t)}})).apply(this,arguments)}return a._read=function(){f||(f=!0,u())},a}},694:function(t,r,i){"use strict";function n(t){var r=!1;return function(){r||(r=!0,t.apply(void 0,arguments))}}var o,a=i(329).F,s=a.ERR_MISSING_ARGS,f=a.ERR_STREAM_DESTROYED;function c(t){if(t)throw t}function u(t){return t.setHeader&&"function"==typeof t.abort}function l(t,r,a,s){s=n(s);var c=!1;t.on("close",function(){c=!0}),void 0===o&&(o=i(134)),o(t,{readable:r,writable:a},function(t){if(t)return s(t);c=!0,s()});var l=!1;return function(r){if(!c&&!l){if(l=!0,u(t))return t.abort();if("function"==typeof t.destroy)return t.destroy();s(r||new f("pipe"))}}}function d(t){t()}function h(t,r){return t.pipe(r)}function p(t){return t.length&&"function"==typeof t[t.length-1]?t.pop():c}t.exports=function(){for(var t,r=arguments.length,i=Array(r),n=0;n<r;n++)i[n]=arguments[n];var o=p(i);if(Array.isArray(i[0])&&(i=i[0]),i.length<2)throw new s("streams");var a=i.map(function(r,n){var s=n<i.length-1;return l(r,s,n>0,function(r){t||(t=r),r&&a.forEach(d),s||(a.forEach(d),o(t))})});return i.reduce(h)}},771:function(t,r,i){"use strict";var n=i(329).F.ERR_INVALID_OPT_VALUE;function o(t,r,i){return null!=t.highWaterMark?t.highWaterMark:r?t[i]:null}t.exports={getHighWaterMark:function(t,r,i,a){var s=o(r,a,i);if(null!=s){if(!(isFinite(s)&&Math.floor(s)===s)||s<0)throw new n(a?i:"highWaterMark",s);return Math.floor(s)}return t.objectMode?16:16384}}},120:function(t,r,i){t.exports=i(203)},56:function(t,r,i){var n=i(181),o=n.Buffer;function a(t,r){for(var i in t)r[i]=t[i]}function s(t,r,i){return o(t,r,i)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(a(n,r),r.Buffer=s),s.prototype=Object.create(o.prototype),a(o,s),s.from=function(t,r,i){if("number"==typeof t)throw TypeError("Argument must not be a number");return o(t,r,i)},s.alloc=function(t,r,i){if("number"!=typeof t)throw TypeError("Argument must be a number");var n=o(t);return void 0!==r?"string"==typeof i?n.fill(r,i):n.fill(r):n.fill(0),n},s.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return o(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return n.SlowBuffer(t)}},854:function(t,r,i){t.exports=o;var n=i(434).EventEmitter;function o(){n.call(this)}i(638)(o,n),o.Readable=i(276),o.Writable=i(732),o.Duplex=i(686),o.Transform=i(586),o.PassThrough=i(512),o.finished=i(134),o.pipeline=i(694),o.Stream=o,o.prototype.pipe=function(t,r){var i=this;function o(r){t.writable&&!1===t.write(r)&&i.pause&&i.pause()}function a(){i.readable&&i.resume&&i.resume()}i.on("data",o),t.on("drain",a),t._isStdio||r&&!1===r.end||(i.on("end",f),i.on("close",c));var s=!1;function f(){s||(s=!0,t.end())}function c(){s||(s=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(l(),0===n.listenerCount(this,"error"))throw t}function l(){i.removeListener("data",o),t.removeListener("drain",a),i.removeListener("end",f),i.removeListener("close",c),i.removeListener("error",u),t.removeListener("error",u),i.removeListener("end",l),i.removeListener("close",l),t.removeListener("close",l)}return i.on("error",u),t.on("error",u),i.on("end",l),i.on("close",l),t.on("close",l),t.emit("pipe",i),t}},319:function(t,r,i){"use strict";var n=i(56).Buffer,o=n.isEncoding||function(t){switch((t=""+t)&&t.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(t){var r;if(!t)return"utf8";for(;;)switch(t){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 t;default:if(r)return;t=(""+t).toLowerCase(),r=!0}}function s(t){var r=a(t);if("string"!=typeof r&&(n.isEncoding===o||!o(t)))throw Error("Unknown encoding: "+t);return r||t}function f(t){var r;switch(this.encoding=s(t),this.encoding){case"utf16le":this.text=b,this.end=g,r=4;break;case"utf8":this.fillLast=d,r=4;break;case"base64":this.text=m,this.end=y,r=3;break;default:this.write=v,this.end=x;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(r)}function c(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function u(t,r,i){var n=r.length-1;if(n<i)return 0;var o=c(r[n]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--n<i||-2===o?0:(o=c(r[n]))>=0?(o>0&&(t.lastNeed=o-2),o):--n<i||-2===o?0:(o=c(r[n]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}function l(t,r,i){if((192&r[0])!=128)return t.lastNeed=0,"�";if(t.lastNeed>1&&r.length>1){if((192&r[1])!=128)return t.lastNeed=1,"�";if(t.lastNeed>2&&r.length>2&&(192&r[2])!=128)return t.lastNeed=2,"�"}}function d(t){var r=this.lastTotal-this.lastNeed,i=l(this,t,r);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,r,0,t.length),this.lastNeed-=t.length)}function h(t,r){var i=u(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var n=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",r,n)}function p(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+"�":r}function b(t,r){if((t.length-r)%2==0){var i=t.toString("utf16le",r);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function g(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function m(t,r){var i=(t.length-r)%3;return 0===i?t.toString("base64",r):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-i))}function y(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function v(t){return t.toString(this.encoding)}function x(t){return t&&t.length?this.write(t):""}r.I=f,f.prototype.write=function(t){var r,i;if(0===t.length)return"";if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?r?r+this.text(t,i):this.text(t,i):r||""},f.prototype.end=p,f.prototype.text=h,f.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},774:function(r){function i(r){try{if(!t.g.localStorage)return!1}catch(t){return!1}var i=t.g.localStorage[r];return null!=i&&"true"===String(i).toLowerCase()}r.exports=function t(t,r){if(i("noDeprecation"))return t;var n=!1;return function(){if(!n){if(i("throwDeprecation"))throw Error(r);i("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return t.apply(this,arguments)}}},181:function(r){"use strict";r.exports=t.r(43943)},434:function(r){"use strict";r.exports=t.r(30662)},203:function(r){"use strict";r.exports=t.r(30662).EventEmitter},23:function(r){"use strict";r.exports=t.r(77398)}},a={};function s(t){var r=a[t];if(void 0!==r)return r.exports;var i=a[t]={exports:{}},n=!0;try{o[t](i,i.exports,s),n=!1}finally{n&&delete a[t]}return i.exports}s.ab="/ROOT/node_modules/next/dist/compiled/stream-browserify/",r.exports=s(854)},52706,(t,r,i)=>{var n={56:function(t,r,i){var n=i(181),o=n.Buffer;function a(t,r){for(var i in t)r[i]=t[i]}function s(t,r,i){return o(t,r,i)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(a(n,r),r.Buffer=s),s.prototype=Object.create(o.prototype),a(o,s),s.from=function(t,r,i){if("number"==typeof t)throw TypeError("Argument must not be a number");return o(t,r,i)},s.alloc=function(t,r,i){if("number"!=typeof t)throw TypeError("Argument must be a number");var n=o(t);return void 0!==r?"string"==typeof i?n.fill(r,i):n.fill(r):n.fill(0),n},s.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return o(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return n.SlowBuffer(t)}},181:function(r){"use strict";r.exports=t.r(43943)}},o={};function a(t){var r=o[t];
1if(void 0!==r)return r.exports;var i=o[t]={exports:{}},s=!0;try{n[t](i,i.exports,a),s=!1}finally{s&&delete o[t]}return i.exports}a.ab="/ROOT/node_modules/next/dist/compiled/string_decoder/";var s={};!function(){"use strict";var t=s,r=a(56).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.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 n(t){var r;if(!t)return"utf8";for(;;)switch(t){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 t;default:if(r)return;t=(""+t).toLowerCase(),r=!0}}function o(t){var o=n(t);if("string"!=typeof o&&(r.isEncoding===i||!i(t)))throw Error("Unknown encoding: "+t);return o||t}function f(t){var i;switch(this.encoding=o(t),this.encoding){case"utf16le":this.text=b,this.end=g,i=4;break;case"utf8":this.fillLast=d,i=4;break;case"base64":this.text=m,this.end=y,i=3;break;default:this.write=v,this.end=x;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(i)}function c(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function u(t,r,i){var n=r.length-1;if(n<i)return 0;var o=c(r[n]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--n<i||-2===o?0:(o=c(r[n]))>=0?(o>0&&(t.lastNeed=o-2),o):--n<i||-2===o?0:(o=c(r[n]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}function l(t,r,i){if((192&r[0])!=128)return t.lastNeed=0,"�";if(t.lastNeed>1&&r.length>1){if((192&r[1])!=128)return t.lastNeed=1,"�";if(t.lastNeed>2&&r.length>2&&(192&r[2])!=128)return t.lastNeed=2,"�"}}function d(t){var r=this.lastTotal-this.lastNeed,i=l(this,t,r);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,r,0,t.length),this.lastNeed-=t.length)}function h(t,r){var i=u(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var n=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",r,n)}function p(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+"�":r}function b(t,r){if((t.length-r)%2==0){var i=t.toString("utf16le",r);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function g(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function m(t,r){var i=(t.length-r)%3;return 0===i?t.toString("base64",r):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-i))}function y(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function v(t){return t.toString(this.encoding)}function x(t){return t&&t.length?this.write(t):""}t.StringDecoder=f,f.prototype.write=function(t){var r,i;if(0===t.length)return"";if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?r?r+this.text(t,i):this.text(t,i):r||""},f.prototype.end=p,f.prototype.text=h,f.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}}(),r.exports=s},13385,(__turbopack_context__,module,exports)=>{!function(){var __webpack_modules__={285:function(__unused_webpack_module,exports){var indexOf=function(t,r){if(t.indexOf)return t.indexOf(r);for(var i=0;i<t.length;i++)if(t[i]===r)return i;return -1},Object_keys=function(t){if(Object.keys)return Object.keys(t);var r=[];for(var i in t)r.push(i);return r},forEach=function(t,r){if(t.forEach)return t.forEach(r);for(var i=0;i<t.length;i++)r(t[i],i,t)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(t,r,i){Object.defineProperty(t,r,{writable:!0,enumerable:!1,
vendor: 6,404 bytes, line 1
1configurable:!0,value:i})}}catch(t){return function(t,r,i){t[r]=i}}}(),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(t){if(!(this instanceof Script))return new Script(t);this.code=t};Script.prototype.runInContext=function(t){if(!(t instanceof Context))throw TypeError("needs a 'context' argument.");var r=document.createElement("iframe");r.style||(r.style={}),r.style.display="none",document.body.appendChild(r);var i=r.contentWindow,n=i.eval,o=i.execScript;!n&&o&&(o.call(i,"null"),n=i.eval),forEach(Object_keys(t),function(r){i[r]=t[r]}),forEach(globals,function(r){t[r]&&(i[r]=t[r])});var a=Object_keys(i),s=n.call(i,this.code);return forEach(Object_keys(i),function(r){(r in t||-1===indexOf(a,r))&&(t[r]=i[r])}),forEach(globals,function(r){r in t||defineProp(t,r,i[r])}),document.body.removeChild(r),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(t){var r=Script.createContext(t),i=this.runInContext(r);return t&&forEach(Object_keys(r),function(i){t[i]=r[i]}),i},forEach(Object_keys(Script.prototype),function(t){exports[t]=Script[t]=function(r){var i=Script(r);return i[t].apply(i,[].slice.call(arguments,1))}}),exports.isContext=function(t){return t instanceof Context},exports.createScript=function(t){return exports.Script(t)},exports.createContext=Script.createContext=function(t){var r=new Context;return"object"==typeof t&&forEach(Object_keys(t),function(i){r[i]=t[i]}),r}}};"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="/ROOT/node_modules/next/dist/compiled/vm-browserify/");var __webpack_exports__={};__webpack_modules__[285](0,__webpack_exports__),module.exports=__webpack_exports__}()},86914,(t,r,i)=>{var n=t.i(67034),o=t.i(47167),a={9186:function(t,r,i){var n=r;n.bignum=i(5944),n.define=i(5673).define,n.base=i(8747),n.constants=i(8063),n.decoders=i(2455),n.encoders=i(5555)},5673:function(t,r,i){var n=i(9186),o=i(1638);function a(t,r){this.name=t,this.body=r,this.decoders={},this.encoders={}}r.define=function(t,r){return new a(t,r)},a.prototype._createNamed=function(t){var r;try{r=i(9154).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(t){r=function(t){this._initNamed(t)}}return o(r,t),r.prototype._initNamed=function(r){t.call(this,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(n.decoders[t])),this.decoders[t]},a.prototype.decode=function(t,r,i){return this._getDecoder(r).decode(t,i)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n.encoders[t])),this.encoders[t]},a.prototype.encode=function(t,r,i){return this._getEncoder(r).encode(t,i)}},5781:function(t,r,i){var n=i(1638),o=i(8747).Reporter,a=i(181).Buffer;function s(t,r){(o.call(this,r),a.isBuffer(t))?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function f(t,r){if(Array.isArray(t))this.length=0,this.value=t.map(function(t){return t instanceof f||(t=new f(t,r)),this.length+=t.length,t},this);else if("number"==typeof t){if(!(0<=t&&t<=255))return r.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=a.byteLength(t);else{if(!a.isBuffer(t))return r.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(s,o),r.t=s,s.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},s.prototype.restore=function(t){var r=new s(this.base);return r.offset=t.offset,r.length=this.offset,this.offset=t.offset,o.prototype.restore.call(this,t.reporter),r},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,r){if(!(this.offset+t<=this.length))return this.error(r||"DecoderBuffer overrun");var i=new s(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+t,this.offset+=t,i},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},r.d=f,f.prototype.join=function(t,r){return t||(t=new a(this.length)),r||(r=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(i){i.join(t,r),r+=i.length}):("number"==typeof this.value?t[r]=this.value:"string"==typeof this.value?t.write(this.value,r):a.isBuffer(this.value)&&this.value.copy(t,r),r+=this.length)),t}},8747:function(t,r,i){var n=r;n.Reporter=i(9257).a,n.DecoderBuffer=i(5781).t,n.EncoderBuffer=i(5781).d,n.Node=i(763)},763:function(t,r,i){var n=i(8747).Reporter,o=i(8747).EncoderBuffer,a=i(8747).DecoderBuffer,s=i(7551),f=["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"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(f),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function l(t,r){var i={};this._baseState=i,i.enc=t,i.parent=r||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}t.exports=l;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var t=this._baseState,r={};d.forEach(function(i){r[i]=t[i]});var i=new this.constructor(r.parent);return i._baseState=r,i},l.prototype._wrap=function(){var t=this._baseState;
1c.forEach(function(r){this[r]=function(){var i=new this.constructor(this);return t.children.push(i),i[r].apply(i,arguments)}},this)},l.prototype._init=function(t){var r=this._baseState;s(null===r.parent),t.call(this),r.children=r.children.filter(function(t){return t._baseState.parent===this},this),s.equal(r.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(t){var r=this._baseState,i=t.filter(function(t){return t instanceof this.constructor},this);t=t.filter(function(t){return!(t instanceof this.constructor)},this),0!==i.length&&(s(null===r.children),r.children=i,i.forEach(function(t){t._baseState.parent=this},this)),0!==t.length&&(s(null===r.args),r.args=t,r.reverseArgs=t.map(function(t){if("object"!=typeof t||t.constructor!==Object)return t;var r={};return Object.keys(t).forEach(function(i){i==(0|i)&&(i|=0),r[t[i]]=i}),r}))},u.forEach(function(t){l.prototype[t]=function(){throw Error(t+" not implemented for encoding: "+this._baseState.enc)}}),f.forEach(function(t){l.prototype[t]=function(){var r=this._baseState,i=Array.prototype.slice.call(arguments);return s(null===r.tag),r.tag=t,this._useArgs(i),this}}),l.prototype.use=function(t){s(t);var r=this._baseState;return s(null===r.use),r.use=t,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(t){var r=this._baseState;return s(null===r.default),r.default=t,r.optional=!0,this},l.prototype.explicit=function(t){var r=this._baseState;return s(null===r.explicit&&null===r.implicit),r.explicit=t,this},l.prototype.implicit=function(t){var r=this._baseState;return s(null===r.explicit&&null===r.implicit),r.implicit=t,this},l.prototype.obj=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return t.obj=!0,0!==r.length&&this._useArgs(r),this},l.prototype.key=function(t){var r=this._baseState;return s(null===r.key),r.key=t,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(t){var r=this._baseState;return s(null===r.choice),r.choice=t,this._useArgs(Object.keys(t).map(function(r){return t[r]})),this},l.prototype.contains=function(t){var r=this._baseState;return s(null===r.use),r.contains=t,this},l.prototype._decode=function(t,r){var i,n=this._baseState;if(null===n.parent)return t.wrapResult(n.children[0]._decode(t,r));var o=n.default,s=!0,f=null;if(null!==n.key&&(f=t.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(s=this._peekTag(t,c,n.any),t.isError(s))return s}else{var u=t.save();try{null===n.choice?this._decodeGeneric(n.tag,t,r):this._decodeChoice(t,r),s=!0}catch(t){s=!1}t.restore(u)}}if(n.obj&&s&&(i=t.enterObject()),s){if(null!==n.explicit){var l=this._decodeTag(t,n.explicit);if(t.isError(l))return l;t=l}var d=t.offset;if(null===n.use&&null===n.choice){if(n.any)var u=t.save();var h=this._decodeTag(t,null!==n.implicit?n.implicit:n.tag,n.any);if(t.isError(h))return h;n.any?o=t.raw(u):t=h}if(r&&r.track&&null!==n.tag&&r.track(t.path(),d,t.length,"tagged"),r&&r.track&&null!==n.tag&&r.track(t.path(),t.offset,t.length,"content"),n.any||(o=null===n.choice?this._decodeGeneric(n.tag,t,r):this._decodeChoice(t,r)),t.isError(o))return o;if(n.any||null!==n.choice||null===n.children||n.children.forEach(function(i){i._decode(t,r)}),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var p=new a(o);o=this._getUse(n.contains,t._reporterState.obj)._decode(p,r)}}return n.obj&&s&&(o=t.leaveObject(i)),null!==n.key&&(null!==o||!0===s)?t.leaveKey(f,n.key,o):null!==f&&t.exitKey(f),o},l.prototype._decodeGeneric=function(t,r,i){var n=this._baseState;if("seq"===t||"set"===t)return null;if("seqof"===t||"setof"===t)return this._decodeList(r,t,n.args[0],i);if(/str$/.test(t))return this._decodeStr(r,t,i);if("objid"===t&&n.args)return this._decodeObjid(r,n.args[0],n.args[1],i);if("objid"===t)return this._decodeObjid(r,null,null,i);if("gentime"===t||"utctime"===t)return this._decodeTime(r,t,i);else if("null_"===t)return this._decodeNull(r,i);else if("bool"===t)return this._decodeBool(r,i);else if("objDesc"===t)return this._decodeStr(r,t,i);else if("int"===t||"enum"===t)return this._decodeInt(r,n.args&&n.args[0],i);return null!==n.use?this._getUse(n.use,r._reporterState.obj)._decode(r,i):r.error("unknown tag: "+t)},l.prototype._getUse=function(t,r){var i=this._baseState;return i.useDecoder=this._use(t,r),s(null===i.useDecoder._baseState.parent),i.useDecoder=i.useDecoder._baseState.children[0],i.implicit!==i.useDecoder._baseState.implicit&&(i.useDecoder=i.useDecoder.clone(),i.useDecoder._baseState.implicit=i.implicit),i.useDecoder},l.prototype._decodeChoice=function(t,r){var i=this._baseState,n=null,o=!1;return(Object.keys(i.choice).some(function(a){var s=t.save(),f=i.choice[a];try{var c=f._decode(t,r);
vendor: 6,787 bytes, line 1
1if(t.isError(c))return!1;n={type:a,value:c},o=!0}catch(r){return t.restore(s),!1}return!0},this),o)?n:t.error("Choice not matched")},l.prototype._createEncoderBuffer=function(t){return new o(t,this.reporter)},l.prototype._encode=function(t,r,i){var n=this._baseState;if(null===n.default||n.default!==t){var o=this._encodeValue(t,r,i);if(void 0!==o&&!this._skipDefault(o,r,i))return o}},l.prototype._encodeValue=function(t,r,i){var o,a=this._baseState;if(null===a.parent)return a.children[0]._encode(t,r||new n);var o=null;if(this.reporter=r,a.optional&&void 0===t)if(null===a.default)return;else t=a.default;var s=null,f=!1;if(a.any)o=this._createEncoderBuffer(t);else if(a.choice)o=this._encodeChoice(t,r);else if(a.contains)s=this._getUse(a.contains,i)._encode(t,r),f=!0;else if(a.children)s=a.children.map(function(i){if("null_"===i._baseState.tag)return i._encode(null,r,t);if(null===i._baseState.key)return r.error("Child should have a key");var n=r.enterKey(i._baseState.key);if("object"!=typeof t)return r.error("Child expected, but input is not object");var o=i._encode(t[i._baseState.key],r,t);return r.leaveKey(n),o},this).filter(function(t){return t}),s=this._createEncoderBuffer(s);else if("seqof"===a.tag||"setof"===a.tag){if(!(a.args&&1===a.args.length))return r.error("Too many args for : "+a.tag);if(!Array.isArray(t))return r.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,s=this._createEncoderBuffer(t.map(function(i){var n=this._baseState;return this._getUse(n.args[0],t)._encode(i,r)},c))}else null!==a.use?o=this._getUse(a.use,i)._encode(t,r):(s=this._encodePrimitive(a.tag,t),f=!0);if(!a.any&&null===a.choice){var u=null!==a.implicit?a.implicit:a.tag,l=null===a.implicit?"universal":"context";null===u?null===a.use&&r.error("Tag could be omitted only for .use()"):null===a.use&&(o=this._encodeComposite(u,f,l,s))}return null!==a.explicit&&(o=this._encodeComposite(a.explicit,!1,"context",o)),o},l.prototype._encodeChoice=function(t,r){var i=this._baseState,n=i.choice[t.type];return n||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(i.choice))),n._encode(t.value,r)},l.prototype._encodePrimitive=function(t,r){var i=this._baseState;if(/str$/.test(t))return this._encodeStr(r,t);if("objid"===t&&i.args)return this._encodeObjid(r,i.reverseArgs[0],i.args[1]);if("objid"===t)return this._encodeObjid(r,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(r,t);if("null_"===t)return this._encodeNull();else if("int"===t||"enum"===t)return this._encodeInt(r,i.args&&i.reverseArgs[0]);else if("bool"===t)return this._encodeBool(r);else if("objDesc"===t)return this._encodeStr(r,t);else throw Error("Unsupported tag: "+t)},l.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},l.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)}},9257:function(t,r,i){var n=i(1638);function o(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function a(t,r){this.path=t,this.rethrow(r)}r.a=o,o.prototype.isError=function(t){return t instanceof a},o.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},o.prototype.restore=function(t){var r=this._reporterState;r.obj=t.obj,r.path=r.path.slice(0,t.pathLen)},o.prototype.enterKey=function(t){return this._reporterState.path.push(t)},o.prototype.exitKey=function(t){var r=this._reporterState;r.path=r.path.slice(0,t-1)},o.prototype.leaveKey=function(t,r,i){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[r]=i)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){var t=this._reporterState,r=t.obj;return t.obj={},r},o.prototype.leaveObject=function(t){var r=this._reporterState,i=r.obj;return r.obj=t,i},o.prototype.error=function(t){var r,i=this._reporterState,n=t instanceof a;if(r=n?t:new a(i.path.map(function(t){return"["+JSON.stringify(t)+"]"}).join(""),t.message||t,t.stack),!i.options.partial)throw r;return n||i.errors.push(r),r},o.prototype.wrapResult=function(t){var r=this._reporterState;return r.options.partial?{result:this.isError(t)?null:t,errors:r.errors}:t},n(a,Error),a.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw Error(this.message)}catch(t){this.stack=t.stack}return this}},8060:function(t,r,i){var n=i(8063);r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.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"},r.tagByName=n._reverse(r.tag)},8063:function(t,r,i){var n=r;n._reverse=function(t){var r={};return Object.keys(t).forEach(function(i){(0|i)==i&&(i|=0),r[t[i]]=i}),r},n.der=i(8060)},8788:function(t,r,i){var n=i(1638),o=i(9186),a=o.base,s=o.bignum,f=o.constants.der;function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){a.Node.call(this,"der",t)}function l(t,r){var i=t.readUInt8(r);if(t.isError(i))return i;var n=f.tagClass[i>>6],o=(32&i)==0;if((31&i)==31){var a=i;for(i=0;(128&a)==128;){if(a=t.readUInt8(r),t.isError(a))return a;i<<=7,i|=127&a}}else i&=31;var s=f.tag[i];return{cls:n,primitive:o,tag:i,tagStr:s}}function d(t,r,i){var n=t.readUInt8(i);if(t.isError(n))return n;if(!r&&128===n)return null;if((128&n)==0)return n;var o=127&n;if(o>4)return t.error("length octect is too long");n=0;for(var a=0;a<o;a++){n<<=8;var s=t.readUInt8(i);if(t.isError(s))return s;n|=s}return n}t.exports=c,c.prototype.decode=function(t,r){return t instanceof a.DecoderBuffer||(t=new a.DecoderBuffer(t,r)),this.tree._decode(t,r)},n(u,a.Node),u.prototype._peekTag=function(t,r,i){if(t.isEmpty())return!1;var n=t.save(),o=l(t,'Failed to peek tag: "'+r+'"');return t.isError(o)?o:(t.restore(n),o.tag===r||o.tagStr===r||o.tagStr+"of"===r||i)},u.prototype._decodeTag=function(t,r,i){var n=l(t,'Failed to decode tag of "'+r+'"');if(t.isError(n))return n;var o=d(t,n.primitive,'Failed to get length of "'+r+'"');if(t.isError(o))return o;if(!i&&n.tag!==r&&n.tagStr!==r&&n.tagStr+"of"!==r)return t.error('Failed to match tag: "'+r+'"');if(n.primitive||null!==o)return t.skip(o,'Failed to match body of: "'+r+'"');var a=t.save(),s=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(s)?s:(o=t.offset-a.offset,t.restore(a),t.skip(o,'Failed to match body of: "'+r+'"'))},u.prototype._skipUntilEnd=function(t,r){for(;;){var i,n=l(t,r);
1if(t.isError(n))return n;var o=d(t,n.primitive,r);if(t.isError(o))return o;if(i=n.primitive||null!==o?t.skip(o):this._skipUntilEnd(t,r),t.isError(i))return i;if("end"===n.tagStr)break}},u.prototype._decodeList=function(t,r,i,n){for(var o=[];!t.isEmpty();){var a=this._peekTag(t,"end");if(t.isError(a))return a;var s=i.decode(t,"der",n);if(t.isError(s)&&a)break;o.push(s)}return o},u.prototype._decodeStr=function(t,r){if("bitstr"===r){var i=t.readUInt8();return t.isError(i)?i:{unused:i,data:t.raw()}}if("bmpstr"===r){var n=t.raw();if(n.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var o="",a=0;a<n.length/2;a++)o+=String.fromCharCode(n.readUInt16BE(2*a));return o}if("numstr"===r){var s=t.raw().toString("ascii");return this._isNumstr(s)?s:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===r)return t.raw();if("objDesc"===r)return t.raw();else if("printstr"===r){var f=t.raw().toString("ascii");return this._isPrintstr(f)?f:t.error("Decoding of string type: printstr unsupported characters")}else if(/str$/.test(r))return t.raw().toString();else return t.error("Decoding of string type: "+r+" unsupported")},u.prototype._decodeObjid=function(t,r,i){for(var n,o=[],a=0;!t.isEmpty();){var s=t.readUInt8();a<<=7,a|=127&s,(128&s)==0&&(o.push(a),a=0)}128&s&&o.push(a);var f=o[0]/40|0,c=o[0]%40;if(n=i?o:[f,c].concat(o.slice(1)),r){var u=r[n.join(" ")];void 0===u&&(u=r[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(t,r){var i=t.raw().toString();if("gentime"===r)var n=0|i.slice(0,4),o=0|i.slice(4,6),a=0|i.slice(6,8),s=0|i.slice(8,10),f=0|i.slice(10,12),c=0|i.slice(12,14);else{if("utctime"!==r)return t.error("Decoding "+r+" time is not supported yet");var n=0|i.slice(0,2),o=0|i.slice(2,4),a=0|i.slice(4,6),s=0|i.slice(6,8),f=0|i.slice(8,10),c=0|i.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,o-1,a,s,f,c,0)},u.prototype._decodeNull=function(t){return null},u.prototype._decodeBool=function(t){var r=t.readUInt8();return t.isError(r)?r:0!==r},u.prototype._decodeInt=function(t,r){var i=new s(t.raw());return r&&(i=r[i.toString(10)]||i),i},u.prototype._use=function(t,r){return"function"==typeof t&&(t=t(r)),t._getDecoder("der").tree}},2455:function(t,r,i){var n=r;n.der=i(8788),n.pem=i(3093)},3093:function(t,r,i){var n=i(1638),o=i(181).Buffer,a=i(8788);function s(t){a.call(this,t),this.enc="pem"}n(s,a),t.exports=s,s.prototype.decode=function(t,r){for(var i=t.toString().split(/[\r\n]+/g),n=r.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,f=-1,c=-1,u=0;u<i.length;u++){var l=i[u].match(s);if(null!==l&&l[2]===n)if(-1===f){if("BEGIN"!==l[1])break;f=u}else{if("END"!==l[1])break;c=u;break}}if(-1===f||-1===c)throw Error("PEM section not found for: "+n);var d=i.slice(f+1,c).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new o(d,"base64");return a.prototype.decode.call(this,h,r)}},5640:function(t,r,i){var n=i(1638),o=i(181).Buffer,a=i(9186),s=a.base,f=a.constants.der;function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){s.Node.call(this,"der",t)}function l(t){return t<10?"0"+t:t}function d(t,r,i,n){var o;if("seqof"===t?t="seq":"setof"===t&&(t="set"),f.tagByName.hasOwnProperty(t))o=f.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);o=t}return o>=31?n.error("Multi-octet tag encoding unsupported"):(r||(o|=32),o|=f.tagClassByName[i||"universal"]<<6)}t.exports=c,c.prototype.encode=function(t,r){return this.tree._encode(t,r).join()},n(u,s.Node),u.prototype._encodeComposite=function(t,r,i,n){var a=d(t,r,i,this.reporter);if(n.length<128){var s=new o(2);return s[0]=a,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var f=1,c=n.length;c>=256;c>>=8)f++;var s=new o(2+f);s[0]=a,s[1]=128|f;for(var c=1+f,u=n.length;u>0;c--,u>>=8)s[c]=255&u;return this._createEncoderBuffer([s,n])},u.prototype._encodeStr=function(t,r){if("bitstr"===r)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===r){for(var i=new o(2*t.length),n=0;n<t.length;n++)i.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(i)}if("numstr"===r)return this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space");if("printstr"===r)return this._isPrintstr(t)?this._createEncoderBuffer(t):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(r))return this._createEncoderBuffer(t);else if("objDesc"===r)return this._createEncoderBuffer(t);
vendor: 5,123 bytes, line 1
1else return this.reporter.error("Encoding of string type: "+r+" unsupported")},u.prototype._encodeObjid=function(t,r,i){if("string"==typeof t){if(!r)return this.reporter.error("string objid given, but no values map found");if(!r.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=r[t].split(/[\s\.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var n=0;n<t.length;n++)t[n]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!i){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,n=0;n<t.length;n++){var s=t[n];for(a++;s>=128;s>>=7)a++}for(var f=new o(a),c=f.length-1,n=t.length-1;n>=0;n--){var s=t[n];for(f[c--]=127&s;(s>>=7)>0;)f[c--]=128|127&s}return this._createEncoderBuffer(f)},u.prototype._encodeTime=function(t,r){var i,n=new Date(t);return"gentime"===r?i=[l(n.getFullYear()),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):"utctime"===r?i=[l(n.getFullYear()%100),l(n.getUTCMonth()+1),l(n.getUTCDate()),l(n.getUTCHours()),l(n.getUTCMinutes()),l(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+r+" time is not supported yet"),this._encodeStr(i,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(t,r){if("string"==typeof t){if(!r)return this.reporter.error("String int or enum given, but no values map");if(!r.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=r[t]}if("number"!=typeof t&&!o.isBuffer(t)){var i=t.toArray();!t.sign&&128&i[0]&&i.unshift(0),t=new o(i)}if(o.isBuffer(t)){var n=t.length;0===t.length&&n++;var a=new o(n);return t.copy(a),0===t.length&&(a[0]=0),this._createEncoderBuffer(a)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var n=1,s=t;s>=256;s>>=8)n++;for(var a=Array(n),s=a.length-1;s>=0;s--)a[s]=255&t,t>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new o(a))},u.prototype._encodeBool=function(t){return this._createEncoderBuffer(255*!!t)},u.prototype._use=function(t,r){return"function"==typeof t&&(t=t(r)),t._getEncoder("der").tree},u.prototype._skipDefault=function(t,r,i){var n,o=this._baseState;if(null===o.default)return!1;var a=t.join();if(void 0===o.defaultBuffer&&(o.defaultBuffer=this._encodeValue(o.default,r,i).join()),a.length!==o.defaultBuffer.length)return!1;for(n=0;n<a.length;n++)if(a[n]!==o.defaultBuffer[n])return!1;return!0}},5555:function(t,r,i){var n=r;n.der=i(5640),n.pem=i(969)},969:function(t,r,i){var n=i(1638),o=i(5640);function a(t){o.call(this,t),this.enc="pem"}n(a,o),t.exports=a,a.prototype.encode=function(t,r){for(var i=o.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+r.label+"-----"],a=0;a<i.length;a+=64)n.push(i.slice(a,a+64));return n.push("-----END "+r.label+"-----"),n.join("\n")}},5944:function(t,r,i){!function(t,r){"use strict";function n(t,r){if(!t)throw Error(r||"Assertion failed")}function o(t,r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}function a(t,r,i){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&(("le"===r||"be"===r)&&(i=r,r=10),this._init(t||0,r||10,i||"be"))}"object"==typeof t?t.exports=a:r.BN=a,a.BN=a,a.wordSize=26;try{c=i(181).Buffer}catch(t){}function s(t,r,i){for(var n=0,o=Math.min(t.length,i),a=r;a<o;a++){var s=t.charCodeAt(a)-48;n<<=4,s>=49&&s<=54?n|=s-49+10:s>=17&&s<=22?n|=s-17+10:n|=15&s}return n}function f(t,r,i,n){for(var o=0,a=Math.min(t.length,i),s=r;s<a;s++){var f=t.charCodeAt(s)-48;o*=n,f>=49?o+=f-49+10:f>=17?o+=f-17+10:o+=f}return o}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,r){return t.cmp(r)>0?t:r},a.min=function(t,r){return 0>t.cmp(r)?t:r},a.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),n(r===(0|r)&&r>=2&&r<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&o++,16===r?this._parseHex(t,o):this._parseBase(t,r,o),"-"===t[0]&&(this.negative=1),this.strip(),"le"===i&&this._initArray(this.toArray(),r,i)},a.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<0x4000000?(this.words=[0x3ffffff&t],this.length=1):t<0x10000000000000?(this.words=[0x3ffffff&t,t/0x4000000&0x3ffffff],this.length=2):(n(t<0x20000000000000),this.words=[0x3ffffff&t,t/0x4000000&0x3ffffff,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},a.prototype._initArray=function(t,r,i){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var o,a,s=0;s<this.length;s++)this.words[s]=0;var f=0;if("be"===i)for(s=t.length-1,o=0;s>=0;s-=3)a=t[s]|t[s-1]<<8|t[s-2]<<16,this.words[o]|=a<<f&0x3ffffff,this.words[o+1]=a>>>
vendor: 4,451 bytes, line 1
126-f&0x3ffffff,(f+=24)>=26&&(f-=26,o++);else if("le"===i)for(s=0,o=0;s<t.length;s+=3)a=t[s]|t[s+1]<<8|t[s+2]<<16,this.words[o]|=a<<f&0x3ffffff,this.words[o+1]=a>>>26-f&0x3ffffff,(f+=24)>=26&&(f-=26,o++);return this.strip()},a.prototype._parseHex=function(t,r){this.length=Math.ceil((t.length-r)/6),this.words=Array(this.length);for(var i,n,o=0;o<this.length;o++)this.words[o]=0;var a=0;for(o=t.length-6,i=0;o>=r;o-=6)n=s(t,o,o+6),this.words[i]|=n<<a&0x3ffffff,this.words[i+1]|=n>>>26-a&4194303,(a+=24)>=26&&(a-=26,i++);o+6!==r&&(n=s(t,r,o+6),this.words[i]|=n<<a&0x3ffffff,this.words[i+1]|=n>>>26-a&4194303),this.strip()},a.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var n=0,o=1;o<=0x3ffffff;o*=r)n++;n--,o=o/r|0;for(var a=t.length-i,s=a%n,c=Math.min(a,a-s)+i,u=0,l=i;l<c;l+=n)u=f(t,l,l+n,r),this.imuln(o),this.words[0]+u<0x4000000?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=f(t,l,t.length,r),l=0;l<s;l++)d*=r;this.imuln(d),this.words[0]+u<0x4000000?this.words[0]+=u:this._iaddn(u)}},a.prototype.copy=function(t){t.words=Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)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 c,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"],l=[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],d=[0,0,0x2000000,0x290d741,0x1000000,0x2e90edd,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 h(t){for(var r=Array(t.bitLength()),i=0;i<r.length;i++){var n=i/26|0,o=i%26;r[i]=(t.words[n]&1<<o)>>>o}return r}function p(t,r,i){i.negative=r.negative^t.negative;var n=t.length+r.length|0;i.length=n,n=n-1|0;var o=0|t.words[0],a=0|r.words[0],s=o*a,f=0x3ffffff&s,c=s/0x4000000|0;i.words[0]=f;for(var u=1;u<n;u++){for(var l=c>>>26,d=0x3ffffff&c,h=Math.min(u,r.length-1),p=Math.max(0,u-t.length+1);p<=h;p++){var b=u-p|0;l+=(s=(o=0|t.words[b])*(a=0|r.words[p])+d)/0x4000000|0,d=0x3ffffff&s}i.words[u]=0|d,c=0|l}return 0!==c?i.words[u]=0|c:i.length--,i.strip()}a.prototype.toString=function(t,r){if(r=0|r||1,16===(t=t||10)||"hex"===t){for(var i="",o=0,a=0,s=0;s<this.length;s++){var f=this.words[s],c=((f<<o|a)&0xffffff).toString(16);i=0!=(a=f>>>24-o&0xffffff)||s!==this.length-1?u[6-c.length]+c+i:c+i,(o+=2)>=26&&(o-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var h=l[t],p=d[t];i="";var b=this.clone();for(b.negative=0;!b.isZero();){var g=b.modn(p).toString(t);i=(b=b.idivn(p)).isZero()?g+i:u[h-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?t+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(t,r){return n(void 0!==c),this.toArrayLike(c,t,r)},a.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)},a.prototype.toArrayLike=function(t,r,i){var o,a,s=this.byteLength(),f=i||Math.max(1,s);n(s<=f,"byte array longer than desired length"),n(f>0,"Requested array length <= 0"),this.strip();var c="le"===r,u=new t(f),l=this.clone();if(c){for(a=0;!l.isZero();
vendor: 36,951 bytes, line 1
1a++)o=l.andln(255),l.iushrn(8),u[a]=o;for(;a<f;a++)u[a]=0}else{for(a=0;a<f-s;a++)u[a]=0;for(a=0;!l.isZero();a++)o=l.andln(255),l.iushrn(8),u[f-a-1]=o}return u},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},a.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return(8191&r)==0&&(i+=13,r>>>=13),(127&r)==0&&(i+=7,r>>>=7),(15&r)==0&&(i+=4,r>>>=4),(3&r)==0&&(i+=2,r>>>=2),(1&r)==0&&i++,i},a.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return(this.length-1)*26+r},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).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(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this.strip()},a.prototype.ior=function(t){return n((this.negative|t.negative)==0),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this.strip()},a.prototype.iand=function(t){return n((this.negative|t.negative)==0),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){this.length>t.length?(r=this,i=t):(r=t,i=this);for(var r,i,n=0;n<i.length;n++)this.words[n]=r.words[n]^i.words[n];if(this!==r)for(;n<r.length;n++)this.words[n]=r.words[n];return this.length=r.length,this.strip()},a.prototype.ixor=function(t){return n((this.negative|t.negative)==0),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var o=0;o<r;o++)this.words[o]=0x3ffffff&~this.words[o];return i>0&&(this.words[o]=~this.words[o]&0x3ffffff>>26-i),this.strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,r){n("number"==typeof t&&t>=0);var i=t/26|0,o=t%26;return this._expand(i+1),r?this.words[i]=this.words[i]|1<<o:this.words[i]=this.words[i]&~(1<<o),this.strip()},a.prototype.iadd=function(t){if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,n=t):(i=t,n=this);for(var r,i,n,o=0,a=0;a<n.length;a++)r=(0|i.words[a])+(0|n.words[a])+o,this.words[a]=0x3ffffff&r,o=r>>>26;for(;0!==o&&a<i.length;a++)r=(0|i.words[a])+o,this.words[a]=0x3ffffff&r,o=r>>>26;if(this.length=i.length,0!==o)this.words[this.length]=o,this.length++;else if(i!==this)for(;a<i.length;a++)this.words[a]=i.words[a];return this},a.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r,i,n=this.iadd(t);return t.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var o=this.cmp(t);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,i=t):(r=t,i=this);for(var a=0,s=0;s<i.length;s++)a=(n=(0|r.words[s])-(0|i.words[s])+a)>>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s<r.length;s++)a=(n=(0|r.words[s])+a)>>26,this.words[s]=0x3ffffff&n;if(0===a&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var b=function(t,r,i){var n,o,a,s=t.words,f=r.words,c=i.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,p=0|s[1],b=8191&p,g=p>>>13,m=0|s[2],y=8191&m,v=m>>>13,x=0|s[3],w=8191&x,_=x>>>13,S=0|s[4],E=8191&S,M=S>>>13,A=0|s[5],T=8191&A,k=A>>>13,R=0|s[6],I=8191&R,L=R>>>13,O=0|s[7],j=8191&O,N=O>>>13,C=0|s[8],B=8191&C,P=C>>>13,D=0|s[9],U=8191&D,z=D>>>13,H=0|f[0],Y=8191&H,q=H>>>13,F=0|f[1],V=8191&F,K=F>>>13,$=0|f[2],W=8191&$,G=$>>>13,J=0|f[3],Z=8191&J,X=J>>>13,Q=0|f[4],ee=8191&Q,et=Q>>>13,er=0|f[5],ei=8191&er,en=er>>>13,eo=0|f[6],ea=8191&eo,es=eo>>>13,ef=0|f[7],ec=8191&ef,eu=ef>>>13,el=0|f[8],ed=8191&el,eh=el>>>13,ep=0|f[9],eb=8191&ep,eg=ep>>>13;i.negative=t.negative^r.negative,i.length=19,n=Math.imul(d,Y);var em=(u+n|0)+((8191&(o=(o=Math.imul(d,q))+Math.imul(h,Y)|0))<<13)|0;u=((a=Math.imul(h,q))+(o>>>13)|0)+(em>>>26)|0,em&=0x3ffffff,n=Math.imul(b,Y),o=(o=Math.imul(b,q))+Math.imul(g,Y)|0,a=Math.imul(g,q),n=n+Math.imul(d,V)|0;var ey=(u+n|0)+((8191&(o=(o=o+Math.imul(d,K)|0)+Math.imul(h,V)|0))<<13)|0;u=((a=a+Math.imul(h,K)|0)+(o>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(y,Y),o=(o=Math.imul(y,q))+Math.imul(v,Y)|0,a=Math.imul(v,q),n=n+Math.imul(b,V)|0,o=(o=o+Math.imul(b,K)|0)+Math.imul(g,V)|0,a=a+Math.imul(g,K)|0,n=n+Math.imul(d,W)|0;var ev=(u+n|0)+((8191&(o=(o=o+Math.imul(d,G)|0)+Math.imul(h,W)|0))<<13)|0;u=((a=a+Math.imul(h,G)|0)+(o>>>13)|0)+(ev>>>26)|0,ev&=0x3ffffff,n=Math.imul(w,Y),o=(o=Math.imul(w,q))+Math.imul(_,Y)|0,a=Math.imul(_,q),n=n+Math.imul(y,V)|0,o=(o=o+Math.imul(y,K)|0)+Math.imul(v,V)|0,a=a+Math.imul(v,K)|0,n=n+Math.imul(b,W)|0,o=(o=o+Math.imul(b,G)|0)+Math.imul(g,W)|0,a=a+Math.imul(g,G)|0,n=n+Math.imul(d,Z)|0;var ex=(u+n|0)+((8191&(o=(o=o+Math.imul(d,X)|0)+Math.imul(h,Z)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(o>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(E,Y),o=(o=Math.imul(E,q))+Math.imul(M,Y)|0,a=Math.imul(M,q),n=n+Math.imul(w,V)|0,o=(o=o+Math.imul(w,K)|0)+Math.imul(_,V)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(y,W)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(v,W)|0,a=a+Math.imul(v,G)|0,n=n+Math.imul(b,Z)|0,o=(o=o+Math.imul(b,X)|0)+Math.imul(g,Z)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(d,ee)|0;var ew=(u+n|0)+((8191&(o=(o=o+Math.imul(d,et)|0)+Math.imul(h,ee)|0))<<13)|0;u=((a=a+Math.imul(h,et)|0)+(o>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(T,Y),o=(o=Math.imul(T,q))+Math.imul(k,Y)|0,a=Math.imul(k,q),n=n+Math.imul(E,V)|0,o=(o=o+Math.imul(E,K)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,W)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,W)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(y,Z)|0,o=(o=o+Math.imul(y,X)|0)+Math.imul(v,Z)|0,a=a+Math.imul(v,X)|0,n=n+Math.imul(b,ee)|0,o=(o=o+Math.imul(b,et)|0)+Math.imul(g,ee)|0,a=a+Math.imul(g,et)|0,n=n+Math.imul(d,ei)|0;var e_=(u+n|0)+((8191&(o=(o=o+Math.imul(d,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(o>>>13)|0)+(e_>>>26)|0,e_&=0x3ffffff,n=Math.imul(I,Y),o=(o=Math.imul(I,q))+Math.imul(L,Y)|0,a=Math.imul(L,q),n=n+Math.imul(T,V)|0,o=(o=o+Math.imul(T,K)|0)+Math.imul(k,V)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(E,W)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(M,W)|0,a=a+Math.imul(M,G)|0,n=n+Math.imul(w,Z)|0,o=(o=o+Math.imul(w,X)|0)+Math.imul(_,Z)|0,a=a+Math.imul(_,X)|0,n=n+Math.imul(y,ee)|0,o=(o=o+Math.imul(y,et)|0)+Math.imul(v,ee)|0,a=a+Math.imul(v,et)|0,n=n+Math.imul(b,ei)|0,o=(o=o+Math.imul(b,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(d,ea)|0;var eS=(u+n|0)+((8191&(o=(o=o+Math.imul(d,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(o>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(j,Y),o=(o=Math.imul(j,q))+Math.imul(N,Y)|0,a=Math.imul(N,q),n=n+Math.imul(I,V)|0,o=(o=o+Math.imul(I,K)|0)+Math.imul(L,V)|0,a=a+Math.imul(L,K)|0,n=n+Math.imul(T,W)|0,o=(o=o+Math.imul(T,G)|0)+Math.imul(k,W)|0,a=a+Math.imul(k,G)|0,n=n+Math.imul(E,Z)|0,o=(o=o+Math.imul(E,X)|0)+Math.imul(M,Z)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(w,ee)|0,o=(o=o+Math.imul(w,et)|0)+Math.imul(_,ee)|0,a=a+Math.imul(_,et)|0,n=n+Math.imul(y,ei)|0,o=(o=o+Math.imul(y,en)|0)+Math.imul(v,ei)|0,a=a+Math.imul(v,en)|0,n=n+Math.imul(b,ea)|0,o=(o=o+Math.imul(b,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(d,ec)|0;var eE=(u+n|0)+((8191&(o=(o=o+Math.imul(d,eu)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(o>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(B,Y),o=(o=Math.imul(B,q))+Math.imul(P,Y)|0,a=Math.imul(P,q),n=n+Math.imul(j,V)|0,o=(o=o+Math.imul(j,K)|0)+Math.imul(N,V)|0,a=a+Math.imul(N,K)|0,n=n+Math.imul(I,W)|0,o=(o=o+Math.imul(I,G)|0)+Math.imul(L,W)|0,a=a+Math.imul(L,G)|0,n=n+Math.imul(T,Z)|0,o=(o=o+Math.imul(T,X)|0)+Math.imul(k,Z)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(E,ee)|0,o=(o=o+Math.imul(E,et)|0)+Math.imul(M,ee)|0,a=a+Math.imul(M,et)|0,n=n+Math.imul(w,ei)|0,o=(o=o+Math.imul(w,en)|0)+Math.imul(_,ei)|0,a=a+Math.imul(_,en)|0,n=n+Math.imul(y,ea)|0,o=(o=o+Math.imul(y,es)|0)+Math.imul(v,ea)|0,a=a+Math.imul(v,es)|0,n=n+Math.imul(b,ec)|0,o=(o=o+Math.imul(b,eu)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(d,ed)|0;var eM=(u+n|0)+((8191&(o=(o=o+Math.imul(d,eh)|0)+Math.imul(h,ed)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(o>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(U,Y),o=(o=Math.imul(U,q))+Math.imul(z,Y)|0,a=Math.imul(z,q),n=n+Math.imul(B,V)|0,o=(o=o+Math.imul(B,K)|0)+Math.imul(P,V)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(j,W)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(N,W)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(I,Z)|0,o=(o=o+Math.imul(I,X)|0)+Math.imul(L,Z)|0,a=a+Math.imul(L,X)|0,n=n+Math.imul(T,ee)|0,o=(o=o+Math.imul(T,et)|0)+Math.imul(k,ee)|0,a=a+Math.imul(k,et)|0,n=n+Math.imul(E,ei)|0,o=(o=o+Math.imul(E,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(w,ea)|0,o=(o=o+Math.imul(w,es)|0)+Math.imul(_,ea)|0,a=a+Math.imul(_,es)|0,n=n+Math.imul(y,ec)|0,o=(o=o+Math.imul(y,eu)|0)+Math.imul(v,ec)|0,a=a+Math.imul(v,eu)|0,n=n+Math.imul(b,ed)|0,o=(o=o+Math.imul(b,eh)|0)+Math.imul(g,ed)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(d,eb)|0;var eA=(u+n|0)+((8191&(o=(o=o+Math.imul(d,eg)|0)+Math.imul(h,eb)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(o>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(U,V),o=(o=Math.imul(U,K))+Math.imul(z,V)|0,a=Math.imul(z,K),n=n+Math.imul(B,W)|0,o=(o=o+Math.imul(B,G)|0)+Math.imul(P,W)|0,a=a+Math.imul(P,G)|0,n=n+Math.imul(j,Z)|0,o=(o=o+Math.imul(j,X)|0)+Math.imul(N,Z)|0,a=a+Math.imul(N,X)|0,n=n+Math.imul(I,ee)|0,o=(o=o+Math.imul(I,et)|0)+Math.imul(L,ee)|0,a=a+Math.imul(L,et)|0,n=n+Math.imul(T,ei)|0,o=(o=o+Math.imul(T,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(E,ea)|0,o=(o=o+Math.imul(E,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(w,ec)|0,o=(o=o+Math.imul(w,eu)|0)+Math.imul(_,ec)|0,a=a+Math.imul(_,eu)|0,n=n+Math.imul(y,ed)|0,o=(o=o+Math.imul(y,eh)|0)+Math.imul(v,ed)|0,a=a+Math.imul(v,eh)|0,n=n+Math.imul(b,eb)|0;var eT=(u+n|0)+((8191&(o=(o=o+Math.imul(b,eg)|0)+Math.imul(g,eb)|0))<<13)|0;u=((a=a+Math.imul(g,eg)|0)+(o>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(U,W),o=(o=Math.imul(U,G))+Math.imul(z,W)|0,a=Math.imul(z,G),n=n+Math.imul(B,Z)|0,o=(o=o+Math.imul(B,X)|0)+Math.imul(P,Z)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(j,ee)|0,o=(o=o+Math.imul(j,et)|0)+Math.imul(N,ee)|0,a=a+Math.imul(N,et)|0,n=n+Math.imul(I,ei)|0,o=(o=o+Math.imul(I,en)|0)+Math.imul(L,ei)|0,a=a+Math.imul(L,en)|0,n=n+Math.imul(T,ea)|0,o=(o=o+Math.imul(T,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(E,ec)|0,o=(o=o+Math.imul(E,eu)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(w,ed)|0,o=(o=o+Math.imul(w,eh)|0)+Math.imul(_,ed)|0,a=a+Math.imul(_,eh)|0,n=n+Math.imul(y,eb)|0;var ek=(u+n|0)+((8191&(o=(o=o+Math.imul(y,eg)|0)+Math.imul(v,eb)|0))<<13)|0;u=((a=a+Math.imul(v,eg)|0)+(o>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(U,Z),o=(o=Math.imul(U,X))+Math.imul(z,Z)|0,a=Math.imul(z,X),n=n+Math.imul(B,ee)|0,o=(o=o+Math.imul(B,et)|0)+Math.imul(P,ee)|0,a=a+Math.imul(P,et)|0,n=n+Math.imul(j,ei)|0,o=(o=o+Math.imul(j,en)|0)+Math.imul(N,ei)|0,a=a+Math.imul(N,en)|0,n=n+Math.imul(I,ea)|0,o=(o=o+Math.imul(I,es)|0)+Math.imul(L,ea)|0,a=a+Math.imul(L,es)|0,n=n+Math.imul(T,ec)|0,o=(o=o+Math.imul(T,eu)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(E,ed)|0,o=(o=o+Math.imul(E,eh)|0)+Math.imul(M,ed)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(w,eb)|0;var eR=(u+n|0)+((8191&(o=(o=o+Math.imul(w,eg)|0)+Math.imul(_,eb)|0))<<13)|0;u=((a=a+Math.imul(_,eg)|0)+(o>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,n=Math.imul(U,ee),o=(o=Math.imul(U,et))+Math.imul(z,ee)|0,a=Math.imul(z,et),n=n+Math.imul(B,ei)|0,o=(o=o+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(j,ea)|0,o=(o=o+Math.imul(j,es)|0)+Math.imul(N,ea)|0,a=a+Math.imul(N,es)|0,n=n+Math.imul(I,ec)|0,o=(o=o+Math.imul(I,eu)|0)+Math.imul(L,ec)|0,a=a+Math.imul(L,eu)|0,n=n+Math.imul(T,ed)|0,o=(o=o+Math.imul(T,eh)|0)+Math.imul(k,ed)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(E,eb)|0;var eI=(u+n|0)+((8191&(o=(o=o+Math.imul(E,eg)|0)+Math.imul(M,eb)|0))<<13)|0;u=((a=a+Math.imul(M,eg)|0)+(o>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(U,ei),o=(o=Math.imul(U,en))+Math.imul(z,ei)|0,a=Math.imul(z,en),n=n+Math.imul(B,ea)|0,o=(o=o+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(j,ec)|0,o=(o=o+Math.imul(j,eu)|0)+Math.imul(N,ec)|0,a=a+Math.imul(N,eu)|0,n=n+Math.imul(I,ed)|0,o=(o=o+Math.imul(I,eh)|0)+Math.imul(L,ed)|0,a=a+Math.imul(L,eh)|0,n=n+Math.imul(T,eb)|0;var eL=(u+n|0)+((8191&(o=(o=o+Math.imul(T,eg)|0)+Math.imul(k,eb)|0))<<13)|0;u=((a=a+Math.imul(k,eg)|0)+(o>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(U,ea),o=(o=Math.imul(U,es))+Math.imul(z,ea)|0,a=Math.imul(z,es),n=n+Math.imul(B,ec)|0,o=(o=o+Math.imul(B,eu)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(j,ed)|0,o=(o=o+Math.imul(j,eh)|0)+Math.imul(N,ed)|0,a=a+Math.imul(N,eh)|0,n=n+Math.imul(I,eb)|0;var eO=(u+n|0)+((8191&(o=(o=o+Math.imul(I,eg)|0)+Math.imul(L,eb)|0))<<13)|0;u=((a=a+Math.imul(L,eg)|0)+(o>>>13)|0)+(eO>>>26)|0,eO&=0x3ffffff,n=Math.imul(U,ec),o=(o=Math.imul(U,eu))+Math.imul(z,ec)|0,a=Math.imul(z,eu),n=n+Math.imul(B,ed)|0,o=(o=o+Math.imul(B,eh)|0)+Math.imul(P,ed)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(j,eb)|0;var ej=(u+n|0)+((8191&(o=(o=o+Math.imul(j,eg)|0)+Math.imul(N,eb)|0))<<13)|0;u=((a=a+Math.imul(N,eg)|0)+(o>>>13)|0)+(ej>>>26)|0,ej&=0x3ffffff,n=Math.imul(U,ed),o=(o=Math.imul(U,eh))+Math.imul(z,ed)|0,a=Math.imul(z,eh),n=n+Math.imul(B,eb)|0;var eN=(u+n|0)+((8191&(o=(o=o+Math.imul(B,eg)|0)+Math.imul(P,eb)|0))<<13)|0;u=((a=a+Math.imul(P,eg)|0)+(o>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(U,eb);var eC=(u+n|0)+((8191&(o=(o=Math.imul(U,eg))+Math.imul(z,eb)|0))<<13)|0;return u=((a=Math.imul(z,eg))+(o>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,c[0]=em,c[1]=ey,c[2]=ev,c[3]=ex,c[4]=ew,c[5]=e_,c[6]=eS,c[7]=eE,c[8]=eM,c[9]=eA,c[10]=eT,c[11]=ek,c[12]=eR,c[13]=eI,c[14]=eL,c[15]=eO,c[16]=ej,c[17]=eN,c[18]=eC,0!==u&&(c[19]=u,i.length++),i};function g(t,r,i){i.negative=r.negative^t.negative,i.length=t.length+r.length;for(var n=0,o=0,a=0;a<i.length-1;a++){var s=o;o=0;for(var f=0x3ffffff&n,c=Math.min(a,r.length-1),u=Math.max(0,a-t.length+1);u<=c;u++){var l=a-u,d=(0|t.words[l])*(0|r.words[u]),h=0x3ffffff&d;s=s+(d/0x4000000|0)|0,f=0x3ffffff&(h=h+f|0),o+=(s=s+(h>>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=f,n=s,s=o}return 0!==n?i.words[a]=n:i.length--,i.strip()}function m(t,r,i){return(new y).mulp(t,r,i)}function y(t,r){this.x=t,this.y=r}Math.imul||(b=p),a.prototype.mulTo=function(t,r){var i=this.length+t.length;return 10===this.length&&10===t.length?b(this,t,r):i<63?p(this,t,r):i<1024?g(this,t,r):m(this,t,r)},y.prototype.makeRBT=function(t){for(var r=Array(t),i=a.prototype._countBits(t)-1,n=0;n<t;n++)r[n]=this.revBin(n,i,t);return r},y.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var n=0,o=0;o<r;o++)n|=(1&t)<<r-o-1,t>>=1;return n},y.prototype.permute=function(t,r,i,n,o,a){for(var s=0;s<a;s++)n[s]=r[t[s]],o[s]=i[t[s]]},y.prototype.transform=function(t,r,i,n,o,a){this.permute(a,t,r,i,n,o);for(var s=1;s<o;s<<=1)for(var f=s<<1,c=Math.cos(2*Math.PI/f),u=Math.sin(2*Math.PI/f),l=0;l<o;l+=f)for(var d=c,h=u,p=0;p<s;p++){var b=i[l+p],g=n[l+p],m=i[l+p+s],y=n[l+p+s],v=d*m-h*y;y=d*y+h*m,m=v,i[l+p]=b+m,n[l+p]=g+y,i[l+p+s]=b-m,n[l+p+s]=g-y,p!==f&&(v=c*d-u*h,h=c*h+u*d,d=v)}},y.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),n=1&i,o=0;for(i=i/2|0;i;i>>>=1)o++;return 1<<o+1+n},y.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var n=0;n<i/2;n++){var o=t[n];t[n]=t[i-n-1],t[i-n-1]=o,o=r[n],r[n]=-r[i-n-1],r[i-n-1]=-o}},y.prototype.normalize13b=function(t,r){for(var i=0,n=0;n<r/2;n++){var o=8192*Math.round(t[2*n+1]/r)+Math.round(t[2*n]/r)+i;t[n]=0x3ffffff&o,i=o<0x4000000?0:o/0x4000000|0}return t},y.prototype.convert13b=function(t,r,i,o){for(var a=0,s=0;s<r;s++)a+=0|t[s],i[2*s]=8191&a,a>>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*r;s<o;++s)i[s]=0;n(0===a),n((-8192&a)==0)},y.prototype.stub=function(t){for(var r=Array(t),i=0;i<t;i++)r[i]=0;return r},y.prototype.mulp=function(t,r,i){var n=2*this.guessLen13b(t.length,r.length),o=this.makeRBT(n),a=this.stub(n),s=Array(n),f=Array(n),c=Array(n),u=Array(n),l=Array(n),d=Array(n),h=i.words;h.length=n,this.convert13b(t.words,t.length,s,n),this.convert13b(r.words,r.length,u,n),this.transform(s,a,f,c,n,o),this.transform(u,a,l,d,n,o);for(var p=0;p<n;p++){var b=f[p]*l[p]-c[p]*d[p];c[p]=f[p]*d[p]+c[p]*l[p],f[p]=b}return this.conjugate(f,c,n),this.transform(f,c,h,a,n,o),this.conjugate(h,a,n),this.normalize13b(h,n),i.negative=t.negative^r.negative,i.length=t.length+r.length,i.strip()},a.prototype.mul=function(t){var r=new a(null);return r.words=Array(this.length+t.length),this.mulTo(t,r)},a.prototype.mulf=function(t){var r=new a(null);return r.words=Array(this.length+t.length),m(this,t,r)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){n("number"==typeof t),n(t<0x4000000);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,a=(0x3ffffff&o)+(0x3ffffff&r);r>>=26,r+=(o/0x4000000|0)+(a>>>26),this.words[i]=0x3ffffff&a}return 0!==r&&(this.words[i]=r,this.length++),this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var r=h(t);if(0===r.length)return new a(1);for(var i=this,n=0;n<r.length&&0===r[n];n++,i=i.sqr());if(++n<r.length)for(var o=i.sqr();n<r.length;n++,o=o.sqr())0!==r[n]&&(i=i.mul(o));return i},a.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var r,i=t%26,o=(t-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(r=0;r<this.length;r++){var f=this.words[r]&a,c=(0|this.words[r])-f<<i;this.words[r]=c|s,s=f>>>26-i}s&&(this.words[r]=s,this.length++)}if(0!==o){for(r=this.length-1;r>=0;r--)this.words[r+o]=this.words[r];for(r=0;r<o;r++)this.words[r]=0;this.length+=o}return this.strip()},a.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,r,i){n("number"==typeof t&&t>=0);var o=r?(r-r%26)/26:0,a=t%26,s=Math.min((t-a)/26,this.length),f=0x3ffffff^0x3ffffff>>>a<<a,c=i;if(o-=s,o=Math.max(0,o),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=o);u--){var d=0|this.words[u];this.words[u]=l<<26-a|d>>>a,l=d&f}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(t,r,i){return n(0===this.negative),this.iushrn(t,r,i)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){n("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26,o=1<<r;return!(this.length<=i)&&!!(this.words[i]&o)},a.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==r&&i++,this.length=Math.min(i,this.length),0!==r){var o=0x3ffffff^0x3ffffff>>>r<<r;this.words[this.length-1]&=o}return this.strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return(n("number"==typeof t),n(t<0x4000000),t<0)?this.isubn(-t):0!==this.negative?(1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(t),this.negative=1),this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var r=0;r<this.length&&this.words[r]>=0x4000000;r++)this.words[r]-=0x4000000,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},a.prototype.isubn=function(t){if(n("number"==typeof t),n(t<0x4000000),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=0x4000000,this.words[r+1]-=1;return this.strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,r,i){var o,a,s=t.length+i;this._expand(s);var f=0;for(o=0;o<t.length;o++){a=(0|this.words[o+i])+f;var c=(0|t.words[o])*r;a-=0x3ffffff&c,f=(a>>26)-(c/0x4000000|0),this.words[o+i]=0x3ffffff&a}for(;o<this.length-i;o++)f=(a=(0|this.words[o+i])+f)>>26,this.words[o+i]=0x3ffffff&a;if(0===f)return this.strip();for(n(-1===f),f=0,o=0;o<this.length;o++)f=(a=-(0|this.words[o])+f)>>26,this.words[o]=0x3ffffff&a;return this.negative=1,this.strip()},a.prototype._wordDiv=function(t,r){var i,n=this.length-t.length,o=this.clone(),s=t,f=0|s.words[s.length-1];0!=(n=26-this._countBits(f))&&(s=s.ushln(n),o.iushln(n),f=0|s.words[s.length-1]);var c=o.length-s.length;if("mod"!==r){(i=new a(null)).length=c+1,i.words=Array(i.length);for(var u=0;u<i.length;u++)i.words[u]=0}var l=o.clone()._ishlnsubmul(s,1,c);0===l.negative&&(o=l,i&&(i.words[c]=1));for(var d=c-1;d>=0;d--){var h=(0|o.words[s.length+d])*0x4000000+(0|o.words[s.length+d-1]);for(h=Math.min(h/f|0,0x3ffffff),o._ishlnsubmul(s,h,d);0!==o.negative;)h--,o.negative=0,o._ishlnsubmul(s,1,d),o.isZero()||(o.negative^=1);i&&(i.words[d]=h)}return i&&i.strip(),o.strip(),"div"!==r&&0!==n&&o.iushrn(n),{div:i||null,mod:o}},a.prototype.divmod=function(t,r,i){var o,s,f;return(n(!t.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(f=this.neg().divmod(t,r),"mod"!==r&&(o=f.div.neg()),"div"!==r&&(s=f.mod.neg(),i&&0!==s.negative&&s.iadd(t)),{div:o,mod:s}):0===this.negative&&0!==t.negative?(f=this.divmod(t.neg(),r),"mod"!==r&&(o=f.div.neg()),{div:o,mod:f.mod}):(this.negative&t.negative)!=0?(f=this.neg().divmod(t.neg(),r),"div"!==r&&(s=f.mod.neg(),i&&0!==s.negative&&s.isub(t)),{div:f.div,mod:s}):t.length>this.length||0>this.cmp(t)?{div:new a(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new a(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modn(t.words[0]))}:this._wordDiv(t,r)},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,n=t.ushrn(1),o=t.andln(1),a=i.cmp(n);return a<0||1===o&&0===a?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},a.prototype.modn=function(t){n(t<=0x3ffffff);for(var r=0x4000000%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return i},a.prototype.idivn=function(t){n(t<=0x3ffffff);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+0x4000000*r;this.words[i]=o/t|0,r=o%t}return this.strip()},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var o=new a(1),s=new a(0),f=new a(0),c=new a(1),u=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++u;for(var l=i.clone(),d=r.clone();!r.isZero();){for(var h=0,p=1;(r.words[0]&p)==0&&h<26;++h,p<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var b=0,g=1;(i.words[0]&g)==0&&b<26;++b,g<<=1);if(b>0)for(i.iushrn(b);b-- >0;)(f.isOdd()||c.isOdd())&&(f.iadd(l),c.isub(d)),f.iushrn(1),c.iushrn(1);r.cmp(i)>=0?(r.isub(i),o.isub(f),s.isub(c)):(i.isub(r),f.isub(o),c.isub(s))}return{a:f,b:c,gcd:i.iushln(u)}},a.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var r,i=this,o=t.clone();i=0!==i.negative?i.umod(t):i.clone();for(var s=new a(1),f=new a(0),c=o.clone();i.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;(i.words[0]&l)==0&&u<26;++u,l<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;(o.words[0]&h)==0&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(c),f.iushrn(1);i.cmp(o)>=0?(i.isub(o),s.isub(f)):(o.isub(i),f.isub(s))}return 0>(r=0===i.cmpn(1)?s:f).cmpn(0)&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var n=0;r.isEven()&&i.isEven();n++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var o=r.cmp(i);if(o<0){var a=r;r=i,i=a}else if(0===o||0===i.cmpn(1))break;r.isub(i)}return i.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){n("number"==typeof t);var r=t%26,i=(t-r)/26,o=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=o,this;for(var a=o,s=i;0!==a&&s<this.length;s++){var f=0|this.words[s];f+=a,a=f>>>26,f&=0x3ffffff,this.words[s]=f}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var r,i=t<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this.strip(),this.length>1)r=1;else{i&&(t=-t),n(t<=0x3ffffff,"Number is too big");var o=0|this.words[0];r=o===t?0:o<t?-1:1}return 0!==this.negative?0|-r:r},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return -1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return -1;for(var r=0,i=this.length-1;i>=0;i--){var n=0|this.words[i],o=0|t.words[i];if(n!==o){n<o?r=-1:n>o&&(r=1);break}}return r},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return -1===this.cmpn(t)},a.prototype.lt=function(t){return -1===this.cmp(t)},a.prototype.lten=function(t){return 0>=this.cmpn(t)},a.prototype.lte=function(t){return 0>=this.cmp(t)},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new M(t)},a.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function x(t,r){this.name=t,this.p=new a(r,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function M(t){if("string"==typeof t){var r=a._prime(t);this.m=r.p,this.prime=r}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function A(t){M.call(this,t),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)}x.prototype._tmp=function(){var t=new a(null);return t.words=Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var r,i=t;do this.split(i,this.tmp),r=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(r>this.n)var n=r<this.n?-1:i.ucmp(this.p);return 0===n?(i.words[0]=0,i.length=1):n>0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},x.prototype.split=function(t,r){t.iushrn(this.n,0,r)},x.prototype.imulK=function(t){return t.imul(this.k)},o(w,x),w.prototype.split=function(t,r){for(var i=4194303,n=Math.min(t.length,9),o=0;o<n;o++)r.words[o]=t.words[o];if(r.length=n,t.length<=9){t.words[0]=0,t.length=1;return}var a=t.words[9];for(r.words[r.length++]=a&i,o=10;o<t.length;o++){var s=0|t.words[o];t.words[o-10]=(s&i)<<4|a>>>22,a=s}a>>>=22,t.words[o-10]=a,0===a&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var n=0|t.words[i];r+=977*n,t.words[i]=0x3ffffff&r,r=64*n+(r/0x4000000|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(_,x),o(S,x),o(E,x),E.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var n=(0|t.words[i])*19+r,o=0x3ffffff&n;n>>>=26,t.words[i]=o,r=n}return 0!==r&&(t.words[t.length++]=r),t},a._prime=function(t){var r;if(v[t])return v[t];if("k256"===t)r=new w;else if("p224"===t)r=new _;else if("p192"===t)r=new S;else if("p25519"===t)r=new E;else throw Error("Unknown prime "+t);return v[t]=r,r},M.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},M.prototype._verify2=function(t,r){n((t.negative|r.negative)==0,"red works only with positives"),n(t.red&&t.red===r.red,"red works only with red numbers")},M.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},M.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},M.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},M.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},M.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},M.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return 0>i.cmpn(0)&&i.iadd(this.m),i},M.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},M.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},M.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},M.prototype.isqr=function(t){return this.imul(t,t.clone())},M.prototype.sqr=function(t){return this.mul(t,t)},M.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(n(r%2==1),3===r){var i=this.m.add(new a(1)).iushrn(2);return this.pow(t,i)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var f=new a(1).toRed(this),c=f.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(t,o.addn(1).iushrn(1)),p=this.pow(t,o),b=s;0!==p.cmp(f);){for(var g=p,m=0;0!==g.cmp(f);m++)g=g.redSqr();n(m<b);var y=this.pow(d,new a(1).iushln(b-m-1));h=h.redMul(y),d=y.redSqr(),p=p.redMul(d),b=m}return h},M.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},M.prototype.pow=function(t,r){if(r.isZero())return new a(1).toRed(this);if(0===r.cmpn(1))return t.clone();var i=4,n=Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var o=2;o<n.length;o++)n[o]=this.mul(n[o-1],t);var s=n[0],f=0,c=0,u=r.bitLength()%26;for(0===u&&(u=26),o=r.length-1;o>=0;o--){for(var l=r.words[o],d=u-1;d>=0;d--){var h=l>>d&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===f){c=0;continue}f<<=1,f|=h,(++c===i||0===o&&0===d)&&(s=this.mul(s,n[f]),c=0,f=0)}u=26}return s},M.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},M.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},a.mont=function(t){return new A(t)},o(A,M),A.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},A.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},A.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=i.isub(n).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):0>o.cmpn(0)&&(a=o.iadd(this.m)),a._forceRed(this)},A.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new a(0)._forceRed(this);var i=t.mul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=i.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):0>o.cmpn(0)&&(s=o.iadd(this.m)),s._forceRed(this)},A.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=i.nmd(t),this)},1315:function(t,r,i){!function(t,r){"use strict";function n(t,r){if(!t)throw Error(r||"Assertion failed")}function o(t,r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}function a(t,r,i){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&(("le"===r||"be"===r)&&(i=r,r=10),this._init(t||0,r||10,i||"be"))}
vendor: 4,215 bytes, line 1
1"object"==typeof t?t.exports=a:r.BN=a,a.BN=a,a.wordSize=26;try{l=i(181).Buffer}catch(t){}function s(t,r,i){for(var o=0,a=Math.min(t.length,i),s=0,f=r;f<a;f++){var c,u=t.charCodeAt(f)-48;o<<=4,o|=c=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,s|=c}return n(!(240&s),"Invalid character in "+t),o}function f(t,r,i,o){for(var a=0,s=0,f=Math.min(t.length,i),c=r;c<f;c++){var u=t.charCodeAt(c)-48;a*=o,s=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s<o,"Invalid character"),a+=s}return a}function c(t,r){t.words=r.words,t.length=r.length,t.negative=r.negative,t.red=r.red}function u(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}a.isBN=function(t){return t instanceof a||null!==t&&"object"==typeof t&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,r){return t.cmp(r)>0?t:r},a.min=function(t,r){return 0>t.cmp(r)?t:r},a.prototype._init=function(t,r,i){if("number"==typeof t)return this._initNumber(t,r,i);if("object"==typeof t)return this._initArray(t,r,i);"hex"===r&&(r=16),n(r===(0|r)&&r>=2&&r<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&o++,16===r?this._parseHex(t,o):this._parseBase(t,r,o),"-"===t[0]&&(this.negative=1),this._strip(),"le"===i&&this._initArray(this.toArray(),r,i)},a.prototype._initNumber=function(t,r,i){t<0&&(this.negative=1,t=-t),t<0x4000000?(this.words=[0x3ffffff&t],this.length=1):t<0x10000000000000?(this.words=[0x3ffffff&t,t/0x4000000&0x3ffffff],this.length=2):(n(t<0x20000000000000),this.words=[0x3ffffff&t,t/0x4000000&0x3ffffff,1],this.length=3),"le"===i&&this._initArray(this.toArray(),r,i)},a.prototype._initArray=function(t,r,i){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var o,a,s=0;s<this.length;s++)this.words[s]=0;var f=0;if("be"===i)for(s=t.length-1,o=0;s>=0;s-=3)a=t[s]|t[s-1]<<8|t[s-2]<<16,this.words[o]|=a<<f&0x3ffffff,this.words[o+1]=a>>>26-f&0x3ffffff,(f+=24)>=26&&(f-=26,o++);else if("le"===i)for(s=0,o=0;s<t.length;s+=3)a=t[s]|t[s+1]<<8|t[s+2]<<16,this.words[o]|=a<<f&0x3ffffff,this.words[o+1]=a>>>26-f&0x3ffffff,(f+=24)>=26&&(f-=26,o++);return this._strip()},a.prototype._parseHex=function(t,r){this.length=Math.ceil((t.length-r)/6),this.words=Array(this.length);for(var i,n,o=0;o<this.length;o++)this.words[o]=0;var a=0;for(o=t.length-6,i=0;o>=r;o-=6)n=s(t,o,o+6),this.words[i]|=n<<a&0x3ffffff,this.words[i+1]|=n>>>26-a&4194303,(a+=24)>=26&&(a-=26,i++);o+6!==r&&(n=s(t,r,o+6),this.words[i]|=n<<a&0x3ffffff,this.words[i+1]|=n>>>26-a&4194303),this._strip()},a.prototype._parseBase=function(t,r,i){this.words=[0],this.length=1;for(var n=0,o=1;o<=0x3ffffff;o*=r)n++;n--,o=o/r|0;for(var a=t.length-i,s=a%n,c=Math.min(a,a-s)+i,u=0,l=i;l<c;l+=n)u=f(t,l,l+n,r),this.imuln(o),this.words[0]+u<0x4000000?this.words[0]+=u:this._iaddn(u);if(0!==s){var d=1;for(u=f(t,l,t.length,r),l=0;l<s;l++)d*=r;this.imuln(d),this.words[0]+u<0x4000000?this.words[0]+=u:this._iaddn(u)}},a.prototype.copy=function(t){t.words=Array(this.length);for(var r=0;r<this.length;r++)t.words[r]=this.words[r];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype._move=function(t){c(t,this)},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)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},"u">typeof Symbol&&"function"==typeof Symbol.for?a.prototype[Symbol.for("nodejs.util.inspect.custom")]=u:a.prototype.inspect=u;var l,d=["","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"],h=[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],p=[0,0,0x2000000,0x290d741,0x1000000,
vendor: 39,715 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(t,r){if(r=0|r||1,16===(t=t||10)||"hex"===t){for(var i="",o=0,a=0,s=0;s<this.length;s++){var f=this.words[s],c=((f<<o|a)&0xffffff).toString(16);i=0!=(a=f>>>24-o&0xffffff)||s!==this.length-1?d[6-c.length]+c+i:c+i,(o+=2)>=26&&(o-=26,s--)}for(0!==a&&(i=a.toString(16)+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(t===(0|t)&&t>=2&&t<=36){var u=h[t],l=p[t];i="";var b=this.clone();for(b.negative=0;!b.isZero();){var g=b.modrn(l).toString(t);i=(b=b.idivn(l)).isZero()?g+i:d[u-g.length]+g+i}for(this.isZero()&&(i="0"+i);i.length%r!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=0x4000000*this.words[1]:3===this.length&&1===this.words[2]?t+=0x10000000000000+0x4000000*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16,2)},l&&(a.prototype.toBuffer=function(t,r){return this.toArrayLike(l,t,r)}),a.prototype.toArray=function(t,r){return this.toArrayLike(Array,t,r)};var b=function(t,r){return t.allocUnsafe?t.allocUnsafe(r):new t(r)};function g(t){for(var r=Array(t.bitLength()),i=0;i<r.length;i++){var n=i/26|0,o=i%26;r[i]=t.words[n]>>>o&1}return r}function m(t,r,i){i.negative=r.negative^t.negative;var n=t.length+r.length|0;i.length=n,n=n-1|0;var o=0|t.words[0],a=0|r.words[0],s=o*a,f=0x3ffffff&s,c=s/0x4000000|0;i.words[0]=f;for(var u=1;u<n;u++){for(var l=c>>>26,d=0x3ffffff&c,h=Math.min(u,r.length-1),p=Math.max(0,u-t.length+1);p<=h;p++){var b=u-p|0;l+=(s=(o=0|t.words[b])*(a=0|r.words[p])+d)/0x4000000|0,d=0x3ffffff&s}i.words[u]=0|d,c=0|l}return 0!==c?i.words[u]=0|c:i.length--,i._strip()}a.prototype.toArrayLike=function(t,r,i){this._strip();var o=this.byteLength(),a=i||Math.max(1,o);n(o<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0");var s=b(t,a);return this["_toArrayLike"+("le"===r?"LE":"BE")](s,o),s},a.prototype._toArrayLikeLE=function(t,r){for(var i=0,n=0,o=0,a=0;o<this.length;o++){var s=this.words[o]<<a|n;t[i++]=255&s,i<t.length&&(t[i++]=s>>8&255),i<t.length&&(t[i++]=s>>16&255),6===a?(i<t.length&&(t[i++]=s>>24&255),n=0,a=0):(n=s>>>24,a+=2)}if(i<t.length)for(t[i++]=n;i<t.length;)t[i++]=0},a.prototype._toArrayLikeBE=function(t,r){for(var i=t.length-1,n=0,o=0,a=0;o<this.length;o++){var s=this.words[o]<<a|n;t[i--]=255&s,i>=0&&(t[i--]=s>>8&255),i>=0&&(t[i--]=s>>16&255),6===a?(i>=0&&(t[i--]=s>>24&255),n=0,a=0):(n=s>>>24,a+=2)}if(i>=0)for(t[i--]=n;i>=0;)t[i--]=0},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var r=t,i=0;return r>=4096&&(i+=13,r>>>=13),r>=64&&(i+=7,r>>>=7),r>=8&&(i+=4,r>>>=4),r>=2&&(i+=2,r>>>=2),i+r},a.prototype._zeroBits=function(t){if(0===t)return 26;var r=t,i=0;return(8191&r)==0&&(i+=13,r>>>=13),(127&r)==0&&(i+=7,r>>>=7),(15&r)==0&&(i+=4,r>>>=4),(3&r)==0&&(i+=2,r>>>=2),(1&r)==0&&i++,i},a.prototype.bitLength=function(){var t=this.words[this.length-1],r=this._countBits(t);return(this.length-1)*26+r},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,r=0;r<this.length;r++){var i=this._zeroBits(this.words[r]);if(t+=i,26!==i)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).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(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]|t.words[r];return this._strip()},a.prototype.ior=function(t){return n((this.negative|t.negative)==0),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var r;r=this.length>t.length?t:this;for(var i=0;i<r.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=r.length,this._strip()},a.prototype.iand=function(t){return n((this.negative|t.negative)==0),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){this.length>t.length?(r=this,i=t):(r=t,i=this);for(var r,i,n=0;n<i.length;n++)this.words[n]=r.words[n]^i.words[n];if(this!==r)for(;n<r.length;n++)this.words[n]=r.words[n];return this.length=r.length,this._strip()},a.prototype.ixor=function(t){return n((this.negative|t.negative)==0),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var r=0|Math.ceil(t/26),i=t%26;this._expand(r),i>0&&r--;for(var o=0;o<r;o++)this.words[o]=0x3ffffff&~this.words[o];return i>0&&(this.words[o]=~this.words[o]&0x3ffffff>>26-i),this._strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,r){n("number"==typeof t&&t>=0);var i=t/26|0,o=t%26;return this._expand(i+1),r?this.words[i]=this.words[i]|1<<o:this.words[i]=this.words[i]&~(1<<o),this._strip()},a.prototype.iadd=function(t){if(0!==this.negative&&0===t.negative)return this.negative=0,r=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,r=this.isub(t),t.negative=1,r._normSign();this.length>t.length?(i=this,n=t):(i=t,n=this);for(var r,i,n,o=0,a=0;a<n.length;a++)r=(0|i.words[a])+(0|n.words[a])+o,this.words[a]=0x3ffffff&r,o=r>>>26;for(;0!==o&&a<i.length;a++)r=(0|i.words[a])+o,this.words[a]=0x3ffffff&r,o=r>>>26;if(this.length=i.length,0!==o)this.words[this.length]=o,this.length++;else if(i!==this)for(;a<i.length;a++)this.words[a]=i.words[a];return this},a.prototype.add=function(t){var r;return 0!==t.negative&&0===this.negative?(t.negative=0,r=this.sub(t),t.negative^=1,r):0===t.negative&&0!==this.negative?(this.negative=0,r=t.sub(this),this.negative=1,r):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var r,i,n=this.iadd(t);return t.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var o=this.cmp(t);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(r=this,i=t):(r=t,i=this);for(var a=0,s=0;s<i.length;s++)a=(n=(0|r.words[s])-(0|i.words[s])+a)>>26,this.words[s]=0x3ffffff&n;for(;0!==a&&s<r.length;s++)a=(n=(0|r.words[s])+a)>>26,this.words[s]=0x3ffffff&n;if(0===a&&s<r.length&&r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this.length=Math.max(this.length,s),r!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var y=function(t,r,i){var n,o,a,s=t.words,f=r.words,c=i.words,u=0,l=0|s[0],d=8191&l,h=l>>>13,p=0|s[1],b=8191&p,g=p>>>13,m=0|s[2],y=8191&m,v=m>>>13,x=0|s[3],w=8191&x,_=x>>>13,S=0|s[4],E=8191&S,M=S>>>13,A=0|s[5],T=8191&A,k=A>>>13,R=0|s[6],I=8191&R,L=R>>>13,O=0|s[7],j=8191&O,N=O>>>13,C=0|s[8],B=8191&C,P=C>>>13,D=0|s[9],U=8191&D,z=D>>>13,H=0|f[0],Y=8191&H,q=H>>>13,F=0|f[1],V=8191&F,K=F>>>13,$=0|f[2],W=8191&$,G=$>>>13,J=0|f[3],Z=8191&J,X=J>>>13,Q=0|f[4],ee=8191&Q,et=Q>>>13,er=0|f[5],ei=8191&er,en=er>>>13,eo=0|f[6],ea=8191&eo,es=eo>>>13,ef=0|f[7],ec=8191&ef,eu=ef>>>13,el=0|f[8],ed=8191&el,eh=el>>>13,ep=0|f[9],eb=8191&ep,eg=ep>>>13;i.negative=t.negative^r.negative,i.length=19,n=Math.imul(d,Y);var em=(u+n|0)+((8191&(o=(o=Math.imul(d,q))+Math.imul(h,Y)|0))<<13)|0;u=((a=Math.imul(h,q))+(o>>>13)|0)+(em>>>26)|0,em&=0x3ffffff,n=Math.imul(b,Y),o=(o=Math.imul(b,q))+Math.imul(g,Y)|0,a=Math.imul(g,q),n=n+Math.imul(d,V)|0;var ey=(u+n|0)+((8191&(o=(o=o+Math.imul(d,K)|0)+Math.imul(h,V)|0))<<13)|0;u=((a=a+Math.imul(h,K)|0)+(o>>>13)|0)+(ey>>>26)|0,ey&=0x3ffffff,n=Math.imul(y,Y),o=(o=Math.imul(y,q))+Math.imul(v,Y)|0,a=Math.imul(v,q),n=n+Math.imul(b,V)|0,o=(o=o+Math.imul(b,K)|0)+Math.imul(g,V)|0,a=a+Math.imul(g,K)|0,n=n+Math.imul(d,W)|0;var ev=(u+n|0)+((8191&(o=(o=o+Math.imul(d,G)|0)+Math.imul(h,W)|0))<<13)|0;u=((a=a+Math.imul(h,G)|0)+(o>>>13)|0)+(ev>>>26)|0,ev&=0x3ffffff,n=Math.imul(w,Y),o=(o=Math.imul(w,q))+Math.imul(_,Y)|0,a=Math.imul(_,q),n=n+Math.imul(y,V)|0,o=(o=o+Math.imul(y,K)|0)+Math.imul(v,V)|0,a=a+Math.imul(v,K)|0,n=n+Math.imul(b,W)|0,o=(o=o+Math.imul(b,G)|0)+Math.imul(g,W)|0,a=a+Math.imul(g,G)|0,n=n+Math.imul(d,Z)|0;var ex=(u+n|0)+((8191&(o=(o=o+Math.imul(d,X)|0)+Math.imul(h,Z)|0))<<13)|0;u=((a=a+Math.imul(h,X)|0)+(o>>>13)|0)+(ex>>>26)|0,ex&=0x3ffffff,n=Math.imul(E,Y),o=(o=Math.imul(E,q))+Math.imul(M,Y)|0,a=Math.imul(M,q),n=n+Math.imul(w,V)|0,o=(o=o+Math.imul(w,K)|0)+Math.imul(_,V)|0,a=a+Math.imul(_,K)|0,n=n+Math.imul(y,W)|0,o=(o=o+Math.imul(y,G)|0)+Math.imul(v,W)|0,a=a+Math.imul(v,G)|0,n=n+Math.imul(b,Z)|0,o=(o=o+Math.imul(b,X)|0)+Math.imul(g,Z)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(d,ee)|0;var ew=(u+n|0)+((8191&(o=(o=o+Math.imul(d,et)|0)+Math.imul(h,ee)|0))<<13)|0;u=((a=a+Math.imul(h,et)|0)+(o>>>13)|0)+(ew>>>26)|0,ew&=0x3ffffff,n=Math.imul(T,Y),o=(o=Math.imul(T,q))+Math.imul(k,Y)|0,a=Math.imul(k,q),n=n+Math.imul(E,V)|0,o=(o=o+Math.imul(E,K)|0)+Math.imul(M,V)|0,a=a+Math.imul(M,K)|0,n=n+Math.imul(w,W)|0,o=(o=o+Math.imul(w,G)|0)+Math.imul(_,W)|0,a=a+Math.imul(_,G)|0,n=n+Math.imul(y,Z)|0,o=(o=o+Math.imul(y,X)|0)+Math.imul(v,Z)|0,a=a+Math.imul(v,X)|0,n=n+Math.imul(b,ee)|0,o=(o=o+Math.imul(b,et)|0)+Math.imul(g,ee)|0,a=a+Math.imul(g,et)|0,n=n+Math.imul(d,ei)|0;var e_=(u+n|0)+((8191&(o=(o=o+Math.imul(d,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((a=a+Math.imul(h,en)|0)+(o>>>13)|0)+(e_>>>26)|0,e_&=0x3ffffff,n=Math.imul(I,Y),o=(o=Math.imul(I,q))+Math.imul(L,Y)|0,a=Math.imul(L,q),n=n+Math.imul(T,V)|0,o=(o=o+Math.imul(T,K)|0)+Math.imul(k,V)|0,a=a+Math.imul(k,K)|0,n=n+Math.imul(E,W)|0,o=(o=o+Math.imul(E,G)|0)+Math.imul(M,W)|0,a=a+Math.imul(M,G)|0,n=n+Math.imul(w,Z)|0,o=(o=o+Math.imul(w,X)|0)+Math.imul(_,Z)|0,a=a+Math.imul(_,X)|0,n=n+Math.imul(y,ee)|0,o=(o=o+Math.imul(y,et)|0)+Math.imul(v,ee)|0,a=a+Math.imul(v,et)|0,n=n+Math.imul(b,ei)|0,o=(o=o+Math.imul(b,en)|0)+Math.imul(g,ei)|0,a=a+Math.imul(g,en)|0,n=n+Math.imul(d,ea)|0;var eS=(u+n|0)+((8191&(o=(o=o+Math.imul(d,es)|0)+Math.imul(h,ea)|0))<<13)|0;u=((a=a+Math.imul(h,es)|0)+(o>>>13)|0)+(eS>>>26)|0,eS&=0x3ffffff,n=Math.imul(j,Y),o=(o=Math.imul(j,q))+Math.imul(N,Y)|0,a=Math.imul(N,q),n=n+Math.imul(I,V)|0,o=(o=o+Math.imul(I,K)|0)+Math.imul(L,V)|0,a=a+Math.imul(L,K)|0,n=n+Math.imul(T,W)|0,o=(o=o+Math.imul(T,G)|0)+Math.imul(k,W)|0,a=a+Math.imul(k,G)|0,n=n+Math.imul(E,Z)|0,o=(o=o+Math.imul(E,X)|0)+Math.imul(M,Z)|0,a=a+Math.imul(M,X)|0,n=n+Math.imul(w,ee)|0,o=(o=o+Math.imul(w,et)|0)+Math.imul(_,ee)|0,a=a+Math.imul(_,et)|0,n=n+Math.imul(y,ei)|0,o=(o=o+Math.imul(y,en)|0)+Math.imul(v,ei)|0,a=a+Math.imul(v,en)|0,n=n+Math.imul(b,ea)|0,o=(o=o+Math.imul(b,es)|0)+Math.imul(g,ea)|0,a=a+Math.imul(g,es)|0,n=n+Math.imul(d,ec)|0;var eE=(u+n|0)+((8191&(o=(o=o+Math.imul(d,eu)|0)+Math.imul(h,ec)|0))<<13)|0;u=((a=a+Math.imul(h,eu)|0)+(o>>>13)|0)+(eE>>>26)|0,eE&=0x3ffffff,n=Math.imul(B,Y),o=(o=Math.imul(B,q))+Math.imul(P,Y)|0,a=Math.imul(P,q),n=n+Math.imul(j,V)|0,o=(o=o+Math.imul(j,K)|0)+Math.imul(N,V)|0,a=a+Math.imul(N,K)|0,n=n+Math.imul(I,W)|0,o=(o=o+Math.imul(I,G)|0)+Math.imul(L,W)|0,a=a+Math.imul(L,G)|0,n=n+Math.imul(T,Z)|0,o=(o=o+Math.imul(T,X)|0)+Math.imul(k,Z)|0,a=a+Math.imul(k,X)|0,n=n+Math.imul(E,ee)|0,o=(o=o+Math.imul(E,et)|0)+Math.imul(M,ee)|0,a=a+Math.imul(M,et)|0,n=n+Math.imul(w,ei)|0,o=(o=o+Math.imul(w,en)|0)+Math.imul(_,ei)|0,a=a+Math.imul(_,en)|0,n=n+Math.imul(y,ea)|0,o=(o=o+Math.imul(y,es)|0)+Math.imul(v,ea)|0,a=a+Math.imul(v,es)|0,n=n+Math.imul(b,ec)|0,o=(o=o+Math.imul(b,eu)|0)+Math.imul(g,ec)|0,a=a+Math.imul(g,eu)|0,n=n+Math.imul(d,ed)|0;var eM=(u+n|0)+((8191&(o=(o=o+Math.imul(d,eh)|0)+Math.imul(h,ed)|0))<<13)|0;u=((a=a+Math.imul(h,eh)|0)+(o>>>13)|0)+(eM>>>26)|0,eM&=0x3ffffff,n=Math.imul(U,Y),o=(o=Math.imul(U,q))+Math.imul(z,Y)|0,a=Math.imul(z,q),n=n+Math.imul(B,V)|0,o=(o=o+Math.imul(B,K)|0)+Math.imul(P,V)|0,a=a+Math.imul(P,K)|0,n=n+Math.imul(j,W)|0,o=(o=o+Math.imul(j,G)|0)+Math.imul(N,W)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(I,Z)|0,o=(o=o+Math.imul(I,X)|0)+Math.imul(L,Z)|0,a=a+Math.imul(L,X)|0,n=n+Math.imul(T,ee)|0,o=(o=o+Math.imul(T,et)|0)+Math.imul(k,ee)|0,a=a+Math.imul(k,et)|0,n=n+Math.imul(E,ei)|0,o=(o=o+Math.imul(E,en)|0)+Math.imul(M,ei)|0,a=a+Math.imul(M,en)|0,n=n+Math.imul(w,ea)|0,o=(o=o+Math.imul(w,es)|0)+Math.imul(_,ea)|0,a=a+Math.imul(_,es)|0,n=n+Math.imul(y,ec)|0,o=(o=o+Math.imul(y,eu)|0)+Math.imul(v,ec)|0,a=a+Math.imul(v,eu)|0,n=n+Math.imul(b,ed)|0,o=(o=o+Math.imul(b,eh)|0)+Math.imul(g,ed)|0,a=a+Math.imul(g,eh)|0,n=n+Math.imul(d,eb)|0;var eA=(u+n|0)+((8191&(o=(o=o+Math.imul(d,eg)|0)+Math.imul(h,eb)|0))<<13)|0;u=((a=a+Math.imul(h,eg)|0)+(o>>>13)|0)+(eA>>>26)|0,eA&=0x3ffffff,n=Math.imul(U,V),o=(o=Math.imul(U,K))+Math.imul(z,V)|0,a=Math.imul(z,K),n=n+Math.imul(B,W)|0,o=(o=o+Math.imul(B,G)|0)+Math.imul(P,W)|0,a=a+Math.imul(P,G)|0,n=n+Math.imul(j,Z)|0,o=(o=o+Math.imul(j,X)|0)+Math.imul(N,Z)|0,a=a+Math.imul(N,X)|0,n=n+Math.imul(I,ee)|0,o=(o=o+Math.imul(I,et)|0)+Math.imul(L,ee)|0,a=a+Math.imul(L,et)|0,n=n+Math.imul(T,ei)|0,o=(o=o+Math.imul(T,en)|0)+Math.imul(k,ei)|0,a=a+Math.imul(k,en)|0,n=n+Math.imul(E,ea)|0,o=(o=o+Math.imul(E,es)|0)+Math.imul(M,ea)|0,a=a+Math.imul(M,es)|0,n=n+Math.imul(w,ec)|0,o=(o=o+Math.imul(w,eu)|0)+Math.imul(_,ec)|0,a=a+Math.imul(_,eu)|0,n=n+Math.imul(y,ed)|0,o=(o=o+Math.imul(y,eh)|0)+Math.imul(v,ed)|0,a=a+Math.imul(v,eh)|0,n=n+Math.imul(b,eb)|0;var eT=(u+n|0)+((8191&(o=(o=o+Math.imul(b,eg)|0)+Math.imul(g,eb)|0))<<13)|0;u=((a=a+Math.imul(g,eg)|0)+(o>>>13)|0)+(eT>>>26)|0,eT&=0x3ffffff,n=Math.imul(U,W),o=(o=Math.imul(U,G))+Math.imul(z,W)|0,a=Math.imul(z,G),n=n+Math.imul(B,Z)|0,o=(o=o+Math.imul(B,X)|0)+Math.imul(P,Z)|0,a=a+Math.imul(P,X)|0,n=n+Math.imul(j,ee)|0,o=(o=o+Math.imul(j,et)|0)+Math.imul(N,ee)|0,a=a+Math.imul(N,et)|0,n=n+Math.imul(I,ei)|0,o=(o=o+Math.imul(I,en)|0)+Math.imul(L,ei)|0,a=a+Math.imul(L,en)|0,n=n+Math.imul(T,ea)|0,o=(o=o+Math.imul(T,es)|0)+Math.imul(k,ea)|0,a=a+Math.imul(k,es)|0,n=n+Math.imul(E,ec)|0,o=(o=o+Math.imul(E,eu)|0)+Math.imul(M,ec)|0,a=a+Math.imul(M,eu)|0,n=n+Math.imul(w,ed)|0,o=(o=o+Math.imul(w,eh)|0)+Math.imul(_,ed)|0,a=a+Math.imul(_,eh)|0,n=n+Math.imul(y,eb)|0;var ek=(u+n|0)+((8191&(o=(o=o+Math.imul(y,eg)|0)+Math.imul(v,eb)|0))<<13)|0;u=((a=a+Math.imul(v,eg)|0)+(o>>>13)|0)+(ek>>>26)|0,ek&=0x3ffffff,n=Math.imul(U,Z),o=(o=Math.imul(U,X))+Math.imul(z,Z)|0,a=Math.imul(z,X),n=n+Math.imul(B,ee)|0,o=(o=o+Math.imul(B,et)|0)+Math.imul(P,ee)|0,a=a+Math.imul(P,et)|0,n=n+Math.imul(j,ei)|0,o=(o=o+Math.imul(j,en)|0)+Math.imul(N,ei)|0,a=a+Math.imul(N,en)|0,n=n+Math.imul(I,ea)|0,o=(o=o+Math.imul(I,es)|0)+Math.imul(L,ea)|0,a=a+Math.imul(L,es)|0,n=n+Math.imul(T,ec)|0,o=(o=o+Math.imul(T,eu)|0)+Math.imul(k,ec)|0,a=a+Math.imul(k,eu)|0,n=n+Math.imul(E,ed)|0,o=(o=o+Math.imul(E,eh)|0)+Math.imul(M,ed)|0,a=a+Math.imul(M,eh)|0,n=n+Math.imul(w,eb)|0;var eR=(u+n|0)+((8191&(o=(o=o+Math.imul(w,eg)|0)+Math.imul(_,eb)|0))<<13)|0;u=((a=a+Math.imul(_,eg)|0)+(o>>>13)|0)+(eR>>>26)|0,eR&=0x3ffffff,n=Math.imul(U,ee),o=(o=Math.imul(U,et))+Math.imul(z,ee)|0,a=Math.imul(z,et),n=n+Math.imul(B,ei)|0,o=(o=o+Math.imul(B,en)|0)+Math.imul(P,ei)|0,a=a+Math.imul(P,en)|0,n=n+Math.imul(j,ea)|0,o=(o=o+Math.imul(j,es)|0)+Math.imul(N,ea)|0,a=a+Math.imul(N,es)|0,n=n+Math.imul(I,ec)|0,o=(o=o+Math.imul(I,eu)|0)+Math.imul(L,ec)|0,a=a+Math.imul(L,eu)|0,n=n+Math.imul(T,ed)|0,o=(o=o+Math.imul(T,eh)|0)+Math.imul(k,ed)|0,a=a+Math.imul(k,eh)|0,n=n+Math.imul(E,eb)|0;var eI=(u+n|0)+((8191&(o=(o=o+Math.imul(E,eg)|0)+Math.imul(M,eb)|0))<<13)|0;u=((a=a+Math.imul(M,eg)|0)+(o>>>13)|0)+(eI>>>26)|0,eI&=0x3ffffff,n=Math.imul(U,ei),o=(o=Math.imul(U,en))+Math.imul(z,ei)|0,a=Math.imul(z,en),n=n+Math.imul(B,ea)|0,o=(o=o+Math.imul(B,es)|0)+Math.imul(P,ea)|0,a=a+Math.imul(P,es)|0,n=n+Math.imul(j,ec)|0,o=(o=o+Math.imul(j,eu)|0)+Math.imul(N,ec)|0,a=a+Math.imul(N,eu)|0,n=n+Math.imul(I,ed)|0,o=(o=o+Math.imul(I,eh)|0)+Math.imul(L,ed)|0,a=a+Math.imul(L,eh)|0,n=n+Math.imul(T,eb)|0;var eL=(u+n|0)+((8191&(o=(o=o+Math.imul(T,eg)|0)+Math.imul(k,eb)|0))<<13)|0;u=((a=a+Math.imul(k,eg)|0)+(o>>>13)|0)+(eL>>>26)|0,eL&=0x3ffffff,n=Math.imul(U,ea),o=(o=Math.imul(U,es))+Math.imul(z,ea)|0,a=Math.imul(z,es),n=n+Math.imul(B,ec)|0,o=(o=o+Math.imul(B,eu)|0)+Math.imul(P,ec)|0,a=a+Math.imul(P,eu)|0,n=n+Math.imul(j,ed)|0,o=(o=o+Math.imul(j,eh)|0)+Math.imul(N,ed)|0,a=a+Math.imul(N,eh)|0,n=n+Math.imul(I,eb)|0;var eO=(u+n|0)+((8191&(o=(o=o+Math.imul(I,eg)|0)+Math.imul(L,eb)|0))<<13)|0;u=((a=a+Math.imul(L,eg)|0)+(o>>>13)|0)+(eO>>>26)|0,eO&=0x3ffffff,n=Math.imul(U,ec),o=(o=Math.imul(U,eu))+Math.imul(z,ec)|0,a=Math.imul(z,eu),n=n+Math.imul(B,ed)|0,o=(o=o+Math.imul(B,eh)|0)+Math.imul(P,ed)|0,a=a+Math.imul(P,eh)|0,n=n+Math.imul(j,eb)|0;var ej=(u+n|0)+((8191&(o=(o=o+Math.imul(j,eg)|0)+Math.imul(N,eb)|0))<<13)|0;u=((a=a+Math.imul(N,eg)|0)+(o>>>13)|0)+(ej>>>26)|0,ej&=0x3ffffff,n=Math.imul(U,ed),o=(o=Math.imul(U,eh))+Math.imul(z,ed)|0,a=Math.imul(z,eh),n=n+Math.imul(B,eb)|0;var eN=(u+n|0)+((8191&(o=(o=o+Math.imul(B,eg)|0)+Math.imul(P,eb)|0))<<13)|0;u=((a=a+Math.imul(P,eg)|0)+(o>>>13)|0)+(eN>>>26)|0,eN&=0x3ffffff,n=Math.imul(U,eb);var eC=(u+n|0)+((8191&(o=(o=Math.imul(U,eg))+Math.imul(z,eb)|0))<<13)|0;return u=((a=Math.imul(z,eg))+(o>>>13)|0)+(eC>>>26)|0,eC&=0x3ffffff,c[0]=em,c[1]=ey,c[2]=ev,c[3]=ex,c[4]=ew,c[5]=e_,c[6]=eS,c[7]=eE,c[8]=eM,c[9]=eA,c[10]=eT,c[11]=ek,c[12]=eR,c[13]=eI,c[14]=eL,c[15]=eO,c[16]=ej,c[17]=eN,c[18]=eC,0!==u&&(c[19]=u,i.length++),i};function v(t,r,i){i.negative=r.negative^t.negative,i.length=t.length+r.length;for(var n=0,o=0,a=0;a<i.length-1;a++){var s=o;o=0;for(var f=0x3ffffff&n,c=Math.min(a,r.length-1),u=Math.max(0,a-t.length+1);u<=c;u++){var l=a-u,d=(0|t.words[l])*(0|r.words[u]),h=0x3ffffff&d;s=s+(d/0x4000000|0)|0,f=0x3ffffff&(h=h+f|0),o+=(s=s+(h>>>26)|0)>>>26,s&=0x3ffffff}i.words[a]=f,n=s,s=o}return 0!==n?i.words[a]=n:i.length--,i._strip()}function x(t,r,i){return v(t,r,i)}function w(t,r){this.x=t,this.y=r}Math.imul||(y=m),a.prototype.mulTo=function(t,r){var i=this.length+t.length;return 10===this.length&&10===t.length?y(this,t,r):i<63?m(this,t,r):i<1024?v(this,t,r):x(this,t,r)},w.prototype.makeRBT=function(t){for(var r=Array(t),i=a.prototype._countBits(t)-1,n=0;n<t;n++)r[n]=this.revBin(n,i,t);return r},w.prototype.revBin=function(t,r,i){if(0===t||t===i-1)return t;for(var n=0,o=0;o<r;o++)n|=(1&t)<<r-o-1,t>>=1;return n},w.prototype.permute=function(t,r,i,n,o,a){for(var s=0;s<a;s++)n[s]=r[t[s]],o[s]=i[t[s]]},w.prototype.transform=function(t,r,i,n,o,a){this.permute(a,t,r,i,n,o);for(var s=1;s<o;s<<=1)for(var f=s<<1,c=Math.cos(2*Math.PI/f),u=Math.sin(2*Math.PI/f),l=0;l<o;l+=f)for(var d=c,h=u,p=0;p<s;p++){var b=i[l+p],g=n[l+p],m=i[l+p+s],y=n[l+p+s],v=d*m-h*y;y=d*y+h*m,m=v,i[l+p]=b+m,n[l+p]=g+y,i[l+p+s]=b-m,n[l+p+s]=g-y,p!==f&&(v=c*d-u*h,h=c*h+u*d,d=v)}},w.prototype.guessLen13b=function(t,r){var i=1|Math.max(r,t),n=1&i,o=0;for(i=i/2|0;i;i>>>=1)o++;return 1<<o+1+n},w.prototype.conjugate=function(t,r,i){if(!(i<=1))for(var n=0;n<i/2;n++){var o=t[n];t[n]=t[i-n-1],t[i-n-1]=o,o=r[n],r[n]=-r[i-n-1],r[i-n-1]=-o}},w.prototype.normalize13b=function(t,r){for(var i=0,n=0;n<r/2;n++){var o=8192*Math.round(t[2*n+1]/r)+Math.round(t[2*n]/r)+i;t[n]=0x3ffffff&o,i=o<0x4000000?0:o/0x4000000|0}return t},w.prototype.convert13b=function(t,r,i,o){for(var a=0,s=0;s<r;s++)a+=0|t[s],i[2*s]=8191&a,a>>>=13,i[2*s+1]=8191&a,a>>>=13;for(s=2*r;s<o;++s)i[s]=0;n(0===a),n((-8192&a)==0)},w.prototype.stub=function(t){for(var r=Array(t),i=0;i<t;i++)r[i]=0;return r},w.prototype.mulp=function(t,r,i){var n=2*this.guessLen13b(t.length,r.length),o=this.makeRBT(n),a=this.stub(n),s=Array(n),f=Array(n),c=Array(n),u=Array(n),l=Array(n),d=Array(n),h=i.words;h.length=n,this.convert13b(t.words,t.length,s,n),this.convert13b(r.words,r.length,u,n),this.transform(s,a,f,c,n,o),this.transform(u,a,l,d,n,o);for(var p=0;p<n;p++){var b=f[p]*l[p]-c[p]*d[p];c[p]=f[p]*d[p]+c[p]*l[p],f[p]=b}return this.conjugate(f,c,n),this.transform(f,c,h,a,n,o),this.conjugate(h,a,n),this.normalize13b(h,n),i.negative=t.negative^r.negative,i.length=t.length+r.length,i._strip()},a.prototype.mul=function(t){var r=new a(null);return r.words=Array(this.length+t.length),this.mulTo(t,r)},a.prototype.mulf=function(t){var r=new a(null);return r.words=Array(this.length+t.length),x(this,t,r)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){var r=t<0;r&&(t=-t),n("number"==typeof t),n(t<0x4000000);for(var i=0,o=0;o<this.length;o++){var a=(0|this.words[o])*t,s=(0x3ffffff&a)+(0x3ffffff&i);i>>=26,i+=(a/0x4000000|0)+(s>>>26),this.words[o]=0x3ffffff&s}return 0!==i&&(this.words[o]=i,this.length++),r?this.ineg():this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var r=g(t);if(0===r.length)return new a(1);for(var i=this,n=0;n<r.length&&0===r[n];n++,i=i.sqr());if(++n<r.length)for(var o=i.sqr();n<r.length;n++,o=o.sqr())0!==r[n]&&(i=i.mul(o));return i},a.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var r,i=t%26,o=(t-i)/26,a=0x3ffffff>>>26-i<<26-i;if(0!==i){var s=0;for(r=0;r<this.length;r++){var f=this.words[r]&a,c=(0|this.words[r])-f<<i;this.words[r]=c|s,s=f>>>26-i}s&&(this.words[r]=s,this.length++)}if(0!==o){for(r=this.length-1;r>=0;r--)this.words[r+o]=this.words[r];for(r=0;r<o;r++)this.words[r]=0;this.length+=o}return this._strip()},a.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,r,i){n("number"==typeof t&&t>=0);var o=r?(r-r%26)/26:0,a=t%26,s=Math.min((t-a)/26,this.length),f=0x3ffffff^0x3ffffff>>>a<<a,c=i;if(o-=s,o=Math.max(0,o),c){for(var u=0;u<s;u++)c.words[u]=this.words[u];c.length=s}if(0===s);else if(this.length>s)for(this.length-=s,u=0;u<this.length;u++)this.words[u]=this.words[u+s];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=o);u--){var d=0|this.words[u];this.words[u]=l<<26-a|d>>>a,l=d&f}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(t,r,i){return n(0===this.negative),this.iushrn(t,r,i)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){n("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26,o=1<<r;return!(this.length<=i)&&!!(this.words[i]&o)},a.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var r=t%26,i=(t-r)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)return this;if(0!==r&&i++,this.length=Math.min(i,this.length),0!==r){var o=0x3ffffff^0x3ffffff>>>r<<r;this.words[this.length-1]&=o}return this._strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return(n("number"==typeof t),n(t<0x4000000),t<0)?this.isubn(-t):0!==this.negative?(1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(t),this.negative=1),this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var r=0;r<this.length&&this.words[r]>=0x4000000;r++)this.words[r]-=0x4000000,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},a.prototype.isubn=function(t){if(n("number"==typeof t),n(t<0x4000000),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=0x4000000,this.words[r+1]-=1;return this._strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,r,i){var o,a,s=t.length+i;this._expand(s);var f=0;for(o=0;o<t.length;o++){a=(0|this.words[o+i])+f;var c=(0|t.words[o])*r;a-=0x3ffffff&c,f=(a>>26)-(c/0x4000000|0),this.words[o+i]=0x3ffffff&a}for(;o<this.length-i;o++)f=(a=(0|this.words[o+i])+f)>>26,this.words[o+i]=0x3ffffff&a;if(0===f)return this._strip();for(n(-1===f),f=0,o=0;o<this.length;o++)f=(a=-(0|this.words[o])+f)>>26,this.words[o]=0x3ffffff&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(t,r){var i,n=this.length-t.length,o=this.clone(),s=t,f=0|s.words[s.length-1];0!=(n=26-this._countBits(f))&&(s=s.ushln(n),o.iushln(n),f=0|s.words[s.length-1]);var c=o.length-s.length;if("mod"!==r){(i=new a(null)).length=c+1,i.words=Array(i.length);for(var u=0;u<i.length;u++)i.words[u]=0}var l=o.clone()._ishlnsubmul(s,1,c);0===l.negative&&(o=l,i&&(i.words[c]=1));for(var d=c-1;d>=0;d--){var h=(0|o.words[s.length+d])*0x4000000+(0|o.words[s.length+d-1]);for(h=Math.min(h/f|0,0x3ffffff),o._ishlnsubmul(s,h,d);0!==o.negative;)h--,o.negative=0,o._ishlnsubmul(s,1,d),o.isZero()||(o.negative^=1);i&&(i.words[d]=h)}return i&&i._strip(),o._strip(),"div"!==r&&0!==n&&o.iushrn(n),{div:i||null,mod:o}},a.prototype.divmod=function(t,r,i){var o,s,f;return(n(!t.isZero()),this.isZero())?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(f=this.neg().divmod(t,r),"mod"!==r&&(o=f.div.neg()),"div"!==r&&(s=f.mod.neg(),i&&0!==s.negative&&s.iadd(t)),{div:o,mod:s}):0===this.negative&&0!==t.negative?(f=this.divmod(t.neg(),r),"mod"!==r&&(o=f.div.neg()),{div:o,mod:f.mod}):(this.negative&t.negative)!=0?(f=this.neg().divmod(t.neg(),r),"div"!==r&&(s=f.mod.neg(),i&&0!==s.negative&&s.isub(t)),{div:f.div,mod:s}):t.length>this.length||0>this.cmp(t)?{div:new a(0),mod:this}:1===t.length?"div"===r?{div:this.divn(t.words[0]),mod:null}:"mod"===r?{div:null,mod:new a(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modrn(t.words[0]))}:this._wordDiv(t,r)},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var r=this.divmod(t);if(r.mod.isZero())return r.div;var i=0!==r.div.negative?r.mod.isub(t):r.mod,n=t.ushrn(1),o=t.andln(1),a=i.cmp(n);return a<0||1===o&&0===a?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},a.prototype.modrn=function(t){var r=t<0;r&&(t=-t),n(t<=0x3ffffff);for(var i=0x4000000%t,o=0,a=this.length-1;a>=0;a--)o=(i*o+(0|this.words[a]))%t;return r?-o:o},a.prototype.modn=function(t){return this.modrn(t)},a.prototype.idivn=function(t){var r=t<0;r&&(t=-t),n(t<=0x3ffffff);for(var i=0,o=this.length-1;o>=0;o--){var a=(0|this.words[o])+0x4000000*i;this.words[o]=a/t|0,i=a%t}return this._strip(),r?this.ineg():this},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var r=this,i=t.clone();r=0!==r.negative?r.umod(t):r.clone();for(var o=new a(1),s=new a(0),f=new a(0),c=new a(1),u=0;r.isEven()&&i.isEven();)r.iushrn(1),i.iushrn(1),++u;for(var l=i.clone(),d=r.clone();!r.isZero();){for(var h=0,p=1;(r.words[0]&p)==0&&h<26;++h,p<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(o.isOdd()||s.isOdd())&&(o.iadd(l),s.isub(d)),o.iushrn(1),s.iushrn(1);for(var b=0,g=1;(i.words[0]&g)==0&&b<26;++b,g<<=1);if(b>0)for(i.iushrn(b);b-- >0;)(f.isOdd()||c.isOdd())&&(f.iadd(l),c.isub(d)),f.iushrn(1),c.iushrn(1);r.cmp(i)>=0?(r.isub(i),o.isub(f),s.isub(c)):(i.isub(r),f.isub(o),c.isub(s))}return{a:f,b:c,gcd:i.iushln(u)}},a.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var r,i=this,o=t.clone();i=0!==i.negative?i.umod(t):i.clone();for(var s=new a(1),f=new a(0),c=o.clone();i.cmpn(1)>0&&o.cmpn(1)>0;){for(var u=0,l=1;(i.words[0]&l)==0&&u<26;++u,l<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);for(var d=0,h=1;(o.words[0]&h)==0&&d<26;++d,h<<=1);if(d>0)for(o.iushrn(d);d-- >0;)f.isOdd()&&f.iadd(c),f.iushrn(1);i.cmp(o)>=0?(i.isub(o),s.isub(f)):(o.isub(i),f.isub(s))}return 0>(r=0===i.cmpn(1)?s:f).cmpn(0)&&r.iadd(t),r},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var r=this.clone(),i=t.clone();r.negative=0,i.negative=0;for(var n=0;r.isEven()&&i.isEven();n++)r.iushrn(1),i.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;i.isEven();)i.iushrn(1);var o=r.cmp(i);if(o<0){var a=r;r=i,i=a}else if(0===o||0===i.cmpn(1))break;r.isub(i)}return i.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return(1&this.words[0])==0},a.prototype.isOdd=function(){return(1&this.words[0])==1},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){n("number"==typeof t);var r=t%26,i=(t-r)/26,o=1<<r;if(this.length<=i)return this._expand(i+1),this.words[i]|=o,this;for(var a=o,s=i;0!==a&&s<this.length;s++){var f=0|this.words[s];f+=a,a=f>>>26,f&=0x3ffffff,this.words[s]=f}return 0!==a&&(this.words[s]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var r,i=t<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this._strip(),this.length>1)r=1;else{i&&(t=-t),n(t<=0x3ffffff,"Number is too big");var o=0|this.words[0];r=o===t?0:o<t?-1:1}return 0!==this.negative?0|-r:r},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return -1;if(0===this.negative&&0!==t.negative)return 1;var r=this.ucmp(t);return 0!==this.negative?0|-r:r},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return -1;for(var r=0,i=this.length-1;i>=0;i--){var n=0|this.words[i],o=0|t.words[i];if(n!==o){n<o?r=-1:n>o&&(r=1);break}}return r},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return -1===this.cmpn(t)},a.prototype.lt=function(t){return -1===this.cmp(t)},a.prototype.lten=function(t){return 0>=this.cmpn(t)},a.prototype.lte=function(t){return 0>=this.cmp(t)},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new k(t)},a.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var _={k256:null,p224:null,p192:null,p25519:null};function S(t,r){this.name=t,this.p=new a(r,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){S.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){S.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function A(){S.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function T(){S.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"==typeof t){var r=a._prime(t);this.m=r.p,this.prime=r}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function R(t){k.call(this,t),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)}S.prototype._tmp=function(){var t=new a(null);return t.words=Array(Math.ceil(this.n/13)),t},S.prototype.ireduce=function(t){var r,i=t;do this.split(i,this.tmp),r=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(r>this.n)var n=r<this.n?-1:i.ucmp(this.p);return 0===n?(i.words[0]=0,i.length=1):n>0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},S.prototype.split=function(t,r){t.iushrn(this.n,0,r)},S.prototype.imulK=function(t){return t.imul(this.k)},o(E,S),E.prototype.split=function(t,r){for(var i=4194303,n=Math.min(t.length,9),o=0;o<n;o++)r.words[o]=t.words[o];if(r.length=n,t.length<=9){t.words[0]=0,t.length=1;return}var a=t.words[9];for(r.words[r.length++]=a&i,o=10;o<t.length;o++){var s=0|t.words[o];t.words[o-10]=(s&i)<<4|a>>>22,a=s}a>>>=22,t.words[o-10]=a,0===a&&t.length>10?t.length-=10:t.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var r=0,i=0;i<t.length;i++){var n=0|t.words[i];r+=977*n,t.words[i]=0x3ffffff&r,r=64*n+(r/0x4000000|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(M,S),o(A,S),o(T,S),T.prototype.imulK=function(t){for(var r=0,i=0;i<t.length;i++){var n=(0|t.words[i])*19+r,o=0x3ffffff&n;n>>>=26,t.words[i]=o,r=n}return 0!==r&&(t.words[t.length++]=r),t},a._prime=function(t){var r;if(_[t])return _[t];if("k256"===t)r=new E;else if("p224"===t)r=new M;else if("p192"===t)r=new A;else if("p25519"===t)r=new T;else throw Error("Unknown prime "+t);return _[t]=r,r},k.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,r){n((t.negative|r.negative)==0,"red works only with positives"),n(t.red&&t.red===r.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,r){this._verify2(t,r);var i=t.add(r);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},k.prototype.iadd=function(t,r){this._verify2(t,r);var i=t.iadd(r);return i.cmp(this.m)>=0&&i.isub(this.m),i},k.prototype.sub=function(t,r){this._verify2(t,r);var i=t.sub(r);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},k.prototype.isub=function(t,r){this._verify2(t,r);var i=t.isub(r);return 0>i.cmpn(0)&&i.iadd(this.m),i},k.prototype.shl=function(t,r){return this._verify1(t),this.imod(t.ushln(r))},k.prototype.imul=function(t,r){return this._verify2(t,r),this.imod(t.imul(r))},k.prototype.mul=function(t,r){return this._verify2(t,r),this.imod(t.mul(r))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var r=this.m.andln(3);if(n(r%2==1),3===r){var i=this.m.add(new a(1)).iushrn(2);return this.pow(t,i)}for(var o=this.m.subn(1),s=0;!o.isZero()&&0===o.andln(1);)s++,o.iushrn(1);n(!o.isZero());var f=new a(1).toRed(this),c=f.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,o),h=this.pow(t,o.addn(1).iushrn(1)),p=this.pow(t,o),b=s;0!==p.cmp(f);){for(var g=p,m=0;0!==g.cmp(f);m++)g=g.redSqr();n(m<b);var y=this.pow(d,new a(1).iushln(b-m-1));h=h.redMul(y),d=y.redSqr(),p=p.redMul(d),b=m}return h},k.prototype.invm=function(t){var r=t._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},k.prototype.pow=function(t,r){if(r.isZero())return new a(1).toRed(this);if(0===r.cmpn(1))return t.clone();var i=4,n=Array(16);n[0]=new a(1).toRed(this),n[1]=t;for(var o=2;o<n.length;o++)n[o]=this.mul(n[o-1],t);var s=n[0],f=0,c=0,u=r.bitLength()%26;for(0===u&&(u=26),o=r.length-1;o>=0;o--){for(var l=r.words[o],d=u-1;d>=0;d--){var h=l>>d&1;if(s!==n[0]&&(s=this.sqr(s)),0===h&&0===f){c=0;continue}f<<=1,f|=h,(++c===i||0===o&&0===d)&&(s=this.mul(s,n[f]),c=0,f=0)}u=26}return s},k.prototype.convertTo=function(t){var r=t.umod(this.m);return r===t?r.clone():r},k.prototype.convertFrom=function(t){var r=t.clone();return r.red=null,r},a.mont=function(t){return new R(t)},o(R,k),R.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},R.prototype.convertFrom=function(t){var r=this.imod(t.mul(this.rinv));return r.red=null,r},R.prototype.imul=function(t,r){if(t.isZero()||r.isZero())return t.words[0]=0,t.length=1,t;var i=t.imul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=i.isub(n).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):0>o.cmpn(0)&&(a=o.iadd(this.m)),a._forceRed(this)},R.prototype.mul=function(t,r){if(t.isZero()||r.isZero())return new a(0)._forceRed(this);var i=t.mul(r),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=i.isub(n).iushrn(this.shift),s=o;return o.cmp(this.m)>=0?s=o.isub(this.m):0>o.cmpn(0)&&(s=o.iadd(this.m)),s._forceRed(this)},R.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=i.nmd(t),this)},4259:function(t,r,i){var n;function o(t){this.rand=t}if(t.exports=function(t){return n||(n=new o(null)),n.generate(t)},t.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);
vendor: 5,791 bytes, line 1
1for(var r=new Uint8Array(t),i=0;i<r.length;i++)r[i]=this.rand.getByte();return r},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var r=new Uint8Array(t);return self.crypto.getRandomValues(r),r}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var r=new Uint8Array(t);return self.msCrypto.getRandomValues(r),r}:"object"==typeof window&&(o.prototype._rand=function(){throw Error("Not implemented yet")});else try{var a=i(6982);if("function"!=typeof a.randomBytes)throw Error("Not supported");o.prototype._rand=function(t){return a.randomBytes(t)}}catch(t){}},6313:function(t,r,i){var n=i(5725).Buffer;function o(t){n.isBuffer(t)||(t=n.from(t));for(var r=t.length/4|0,i=Array(r),o=0;o<r;o++)i[o]=t.readUInt32BE(4*o);return i}function a(t){for(var r=0;r<t.length;t++)t[r]=0}function s(t,r,i,n,o){for(var a,s,f,c,u=i[0],l=i[1],d=i[2],h=i[3],p=t[0]^r[0],b=t[1]^r[1],g=t[2]^r[2],m=t[3]^r[3],y=4,v=1;v<o;v++)a=u[p>>>24]^l[b>>>16&255]^d[g>>>8&255]^h[255&m]^r[y++],s=u[b>>>24]^l[g>>>16&255]^d[m>>>8&255]^h[255&p]^r[y++],f=u[g>>>24]^l[m>>>16&255]^d[p>>>8&255]^h[255&b]^r[y++],c=u[m>>>24]^l[p>>>16&255]^d[b>>>8&255]^h[255&g]^r[y++],p=a,b=s,g=f,m=c;return a=(n[p>>>24]<<24|n[b>>>16&255]<<16|n[g>>>8&255]<<8|n[255&m])^r[y++],s=(n[b>>>24]<<24|n[g>>>16&255]<<16|n[m>>>8&255]<<8|n[255&p])^r[y++],f=(n[g>>>24]<<24|n[m>>>16&255]<<16|n[p>>>8&255]<<8|n[255&b])^r[y++],[a>>>=0,s>>>=0,f>>>=0,c=((n[m>>>24]<<24|n[p>>>16&255]<<16|n[b>>>8&255]<<8|n[255&g])^r[y++])>>>0]}var f=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var t=Array(256),r=0;r<256;r++)r<128?t[r]=r<<1:t[r]=r<<1^283;for(var i=[],n=[],o=[[],[],[],[]],a=[[],[],[],[]],s=0,f=0,c=0;c<256;++c){var u=f^f<<1^f<<2^f<<3^f<<4;u=u>>>8^255&u^99,i[s]=u,n[u]=s;var l=t[s],d=t[l],h=t[d],p=257*t[u]^0x1010100*u;o[0][s]=p<<24|p>>>8,o[1][s]=p<<16|p>>>16,o[2][s]=p<<8|p>>>24,o[3][s]=p,p=0x1010101*h^65537*d^257*l^0x1010100*s,a[0][u]=p<<24|p>>>8,a[1][u]=p<<16|p>>>16,a[2][u]=p<<8|p>>>24,a[3][u]=p,0===s?s=f=1:(s=l^t[t[t[h^l]]],f^=t[t[f]])}return{SBOX:i,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:a}}();function u(t){this._key=o(t),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var t=this._key,r=t.length,i=r+6,n=(i+1)*4,o=[],a=0;a<r;a++)o[a]=t[a];for(a=r;a<n;a++){var s=o[a-1];a%r==0?(s=s<<8|s>>>24,s=(c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s])^f[a/r|0]<<24):r>6&&a%r==4&&(s=c.SBOX[s>>>24]<<24|c.SBOX[s>>>16&255]<<16|c.SBOX[s>>>8&255]<<8|c.SBOX[255&s]),o[a]=o[a-r]^s}for(var u=[],l=0;l<n;l++){var d=n-l,h=o[d-(l%4?0:4)];l<4||d<=4?u[l]=h:u[l]=c.INV_SUB_MIX[0][c.SBOX[h>>>24]]^c.INV_SUB_MIX[1][c.SBOX[h>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[h>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&h]]}this._nRounds=i,this._keySchedule=o,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(t){return s(t=o(t),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},u.prototype.encryptBlock=function(t){var r=this.encryptBlockRaw(t),i=n.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[1],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[3],12),i},u.prototype.decryptBlock=function(t){var r=(t=o(t))[1];t[1]=t[3],t[3]=r;var i=s(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),a=n.allocUnsafe(16);return a.writeUInt32BE(i[0],0),a.writeUInt32BE(i[3],4),a.writeUInt32BE(i[2],8),a.writeUInt32BE(i[1],12),a},u.prototype.scrub=function(){a(this._keySchedule),a(this._invKeySchedule),a(this._key)},t.exports.AES=u},1725:function(t,r,i){var n=i(6313),o=i(5725).Buffer,a=i(1888),s=i(1638),f=i(1267),c=i(6481),u=i(1995);function l(t,r){var i=0;t.length!==r.length&&i++;for(var n=Math.min(t.length,r.length),o=0;o<n;++o)i+=t[o]^r[o];return i}function d(t,r,i){if(12===r.length)return t._finID=o.concat([r,o.from([0,0,0,1])]),o.concat([r,o.from([0,0,0,2])]);var n=new f(i),a=r.length,s=a%16;n.update(r),s&&(s=16-s,n.update(o.alloc(s,0))),n.update(o.alloc(8,0));var c=8*a,l=o.alloc(8);l.writeUIntBE(c,0,8),n.update(l),t._finID=n.state;var d=o.from(t._finID);return u(d),d}function h(t,r,i,s){a.call(this);var c=o.alloc(4,0);this._cipher=new n.AES(r);var u=this._cipher.encryptBlock(c);this._ghash=new f(u),i=d(this,i,u),this._prev=o.from(i),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}s(h,a),h.prototype._update=function(t){if(!this._called&&this._alen){var r=16-this._alen%16;r<16&&(r=o.alloc(r,0),this._ghash.update(r))}this._called=!0;var i=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(i),this._len+=t.length,i},h.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var t=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&l(t,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},h.prototype.setAuthTag=function(t){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=t},h.prototype.setAAD=function(t){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=h},8642:function(t,r,i){var n=i(9780),o=i(7984),a=i(3349);function s(){return Object.keys(a)}r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=o.createDecipher,r.createDecipheriv=r.Decipheriv=o.createDecipheriv,r.listCiphers=r.getCiphers=s}
vendor: 16,384 bytes, line 1
1,7984:function(t,r,i){var n=i(1725),o=i(5725).Buffer,a=i(8597),s=i(959),f=i(1888),c=i(6313),u=i(689);function l(t,r,i){f.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(r),this._prev=o.from(i),this._mode=t,this._autopadding=!0}function d(){this.cache=o.allocUnsafe(0)}function h(t){var r=t[15];if(r<1||r>16)throw Error("unable to decrypt data");for(var i=-1;++i<r;)if(t[i+(16-r)]!==r)throw Error("unable to decrypt data");if(16!==r)return t.slice(0,16-r)}function p(t,r,i){var f=a[t.toLowerCase()];if(!f)throw TypeError("invalid suite type");if("string"==typeof i&&(i=o.from(i)),"GCM"!==f.mode&&i.length!==f.iv)throw TypeError("invalid iv length "+i.length);if("string"==typeof r&&(r=o.from(r)),r.length!==f.key/8)throw TypeError("invalid key length "+r.length);return"stream"===f.type?new s(f.module,r,i,!0):"auth"===f.type?new n(f.module,r,i,!0):new l(f.module,r,i)}i(1638)(l,f),l.prototype._update=function(t){this._cache.add(t);for(var r,i,n=[];r=this._cache.get(this._autopadding);)i=this._mode.decrypt(this,r),n.push(i);return o.concat(n)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return h(this._mode.decrypt(this,t));if(t)throw Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},d.prototype.add=function(t){this.cache=o.concat([this.cache,t])},d.prototype.get=function(t){var r;if(t){if(this.cache.length>16)return r=this.cache.slice(0,16),this.cache=this.cache.slice(16),r}else if(this.cache.length>=16)return r=this.cache.slice(0,16),this.cache=this.cache.slice(16),r;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(t,r){var i=a[t.toLowerCase()];if(!i)throw TypeError("invalid suite type");var n=u(r,!1,i.key,i.iv);return p(t,n.key,n.iv)},r.createDecipheriv=p},9780:function(t,r,i){var n=i(8597),o=i(1725),a=i(5725).Buffer,s=i(959),f=i(1888),c=i(6313),u=i(689);function l(t,r,i){f.call(this),this._cache=new h,this._cipher=new c.AES(r),this._prev=a.from(i),this._mode=t,this._autopadding=!0}i(1638)(l,f),l.prototype._update=function(t){this._cache.add(t);for(var r,i,n=[];r=this._cache.get();)i=this._mode.encrypt(this,r),n.push(i);return a.concat(n)};var d=a.alloc(16,16);function h(){this.cache=a.allocUnsafe(0)}function p(t,r,i){var f=n[t.toLowerCase()];if(!f)throw TypeError("invalid suite type");if("string"==typeof r&&(r=a.from(r)),r.length!==f.key/8)throw TypeError("invalid key length "+r.length);if("string"==typeof i&&(i=a.from(i)),"GCM"!==f.mode&&i.length!==f.iv)throw TypeError("invalid iv length "+i.length);return"stream"===f.type?new s(f.module,r,i):"auth"===f.type?new o(f.module,r,i):new l(f.module,r,i)}function b(t,r){var i=n[t.toLowerCase()];if(!i)throw TypeError("invalid suite type");var o=u(r,!1,i.key,i.iv);return p(t,o.key,o.iv)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(d))throw this._cipher.scrub(),Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=a.concat([this.cache,t])},h.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},h.prototype.flush=function(){for(var t=16-this.cache.length,r=a.allocUnsafe(t),i=-1;++i<t;)r.writeUInt8(t,i);return a.concat([this.cache,r])},r.createCipheriv=p,r.createCipher=b},1267:function(t,r,i){var n=i(5725).Buffer,o=n.alloc(16,0);function a(t){return[t.readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)]}function s(t){var r=n.allocUnsafe(16);return r.writeUInt32BE(t[0]>>>0,0),r.writeUInt32BE(t[1]>>>0,4),r.writeUInt32BE(t[2]>>>0,8),r.writeUInt32BE(t[3]>>>0,12),r}function f(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}f.prototype.ghash=function(t){for(var r=-1;++r<t.length;)this.state[r]^=t[r];this._multiply()},f.prototype._multiply=function(){for(var t,r,i=a(this.h),n=[0,0,0,0],o=-1;++o<128;){for((this.state[~~(o/8)]&1<<7-o%8)!=0&&(n[0]^=i[0],n[1]^=i[1],n[2]^=i[2],n[3]^=i[3]),r=(1&i[3])!=0,t=3;t>0;t--)i[t]=i[t]>>>1|(1&i[t-1])<<31;i[0]=i[0]>>>1,r&&(i[0]=-0x1f000000^i[0])}this.state=s(n)},f.prototype.update=function(t){var r;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)r=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(r)},f.prototype.final=function(t,r){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(s([0,t,0,r])),this.state},t.exports=f},1995:function(t){t.exports=function(t){for(var r,i=t.length;i--;)if(255===(r=t.readUInt8(i)))t.writeUInt8(0,i);else{r++,t.writeUInt8(r,i);break}}},1635:function(t,r,i){var n=i(6481);r.encrypt=function(t,r){var i=n(r,t._prev);return t._prev=t._cipher.encryptBlock(i),t._prev},r.decrypt=function(t,r){var i=t._prev;return t._prev=r,n(t._cipher.decryptBlock(r),i)}},4312:function(t,r,i){var n=i(5725).Buffer,o=i(6481);function a(t,r,i){var a=r.length,s=o(r,t._cache);return t._cache=t._cache.slice(a),t._prev=n.concat([t._prev,i?r:s]),s}r.encrypt=function(t,r,i){for(var o,s=n.allocUnsafe(0);r.length;)if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),t._cache.length<=r.length)o=t._cache.length,s=n.concat([s,a(t,r.slice(0,o),i)]),r=r.slice(o);else{s=n.concat([s,a(t,r,i)]);break}return s}},9225:function(t,r,i){var n=i(5725).Buffer;function o(t,r,i){for(var n,o,s,f=-1,c=8,u=0;++f<c;)n=t._cipher.encryptBlock(t._prev),o=r&1<<7-f?128:0,u+=(128&(s=n[0]^o))>>f%8,t._prev=a(t._prev,i?o:s);return u}function a(t,r){var i=t.length,o=-1,a=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([r])]);++o<i;)a[o]=t[o]<<1|t[o+1]>>7;return a}r.encrypt=function(t,r,i){for(var a=r.length,s=n.allocUnsafe(a),f=-1;++f<a;)s[f]=o(t,r[f],i);return s}},610:function(t,r,i){var n=i(5725).Buffer;function o(t,r,i){var o=t._cipher.encryptBlock(t._prev)[0]^r;return t._prev=n.concat([t._prev.slice(1),n.from([i?r:o])]),o}r.encrypt=function(t,r,i){for(var a=r.length,s=n.allocUnsafe(a),f=-1;++f<a;)s[f]=o(t,r[f],i);return s}},8714:function(t,r,i){var n=i(6481),o=i(5725).Buffer,a=i(1995);function s(t){var r=t._cipher.encryptBlockRaw(t._prev);return a(t._prev),r}var f=16;r.encrypt=function(t,r){var i=Math.ceil(r.length/f),a=t._cache.length;t._cache=o.concat([t._cache,o.allocUnsafe(i*f)]);for(var c=0;c<i;c++){var u=s(t),l=a+c*f;t._cache.writeUInt32BE(u[0],l+0),t._cache.writeUInt32BE(u[1],l+4),t._cache.writeUInt32BE(u[2],l+8),t._cache.writeUInt32BE(u[3],l+12)}var d=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,d)}},6083:function(t,r){r.encrypt=function(t,r){return t._cipher.encryptBlock(r)},r.decrypt=function(t,r){return t._cipher.decryptBlock(r)}},8597:function(t,r,i){var n={ECB:i(6083),CBC:i(1635),CFB:i(4312),CFB8:i(610),CFB1:i(9225),OFB:i(4076),CTR:i(8714),GCM:i(8714)},o=i(3349);for(var a in o)o[a].module=n[o[a].mode];t.exports=o},4076:function(t,r,i){var o=i(6481);function a(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}r.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=n.Buffer.concat([t._cache,a(t)]);var i=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),o(r,i)}},959:function(t,r,i){var n=i(6313),o=i(5725).Buffer,a=i(1888);function s(t,r,i,s){a.call(this),this._cipher=new n.AES(r),this._prev=o.from(i),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=s,this._mode=t}i(1638)(s,a),s.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},t.exports=s},9131:function(t,r,i){var n=i(1862),o=i(8642),a=i(8597),s=i(1730),f=i(689);function c(t,r){if(a[t=t.toLowerCase()])i=a[t].key,n=a[t].iv;else if(s[t])i=8*s[t].key,n=s[t].iv;else throw TypeError("invalid suite type");var i,n,o=f(r,!1,i,n);return l(t,o.key,o.iv)}function u(t,r,i){if(a[t=t.toLowerCase()])return o.createCipheriv(t,r,i);if(s[t])return new n({key:r,iv:i,mode:t});throw TypeError("invalid suite type")}function l(t,r,i){if(a[t=t.toLowerCase()])return o.createDecipheriv(t,r,i);if(s[t])return new n({key:r,iv:i,mode:t,decrypt:!0});throw TypeError("invalid suite type")}function d(){return Object.keys(s).concat(o.getCiphers())}r.createCipher=r.Cipher=function(t,r){if(a[t=t.toLowerCase()])i=a[t].key,n=a[t].iv;else if(s[t])i=8*s[t].key,n=s[t].iv;else throw TypeError("invalid suite type");var i,n,o=f(r,!1,i,n);return u(t,o.key,o.iv)},r.createCipheriv=r.Cipheriv=u,r.createDecipher=r.Decipher=c,r.createDecipheriv=r.Decipheriv=l,r.listCiphers=r.getCiphers=d},1862:function(t,r,i){var n=i(1888),o=i(55),a=i(1638),s=i(5725).Buffer,f={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function c(t){n.call(this);var r,i=t.mode.toLowerCase(),o=f[i];r=t.decrypt?"decrypt":"encrypt";var a=t.key;s.isBuffer(a)||(a=s.from(a)),("des-ede"===i||"des-ede-cbc"===i)&&(a=s.concat([a,a.slice(0,8)]));var c=t.iv;s.isBuffer(c)||(c=s.from(c)),this._des=o.create({key:a,iv:c,type:r})}f.des=f["des-cbc"],f.des3=f["des-ede3-cbc"],t.exports=c,a(c,n),c.prototype._update=function(t){return s.from(this._des.update(t))},c.prototype._final=function(){return s.from(this._des.final())}},1730:function(t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},640:function(t,r,i){var o=i(5944),a=i(376);function s(t){var r=c(t);return{blinder:r.toRed(o.mont(t.modulus)).redPow(new o(t.publicExponent)).fromRed(),unblinder:r.invm(t.modulus)}}function f(t,r){var i=s(r),a=r.modulus.byteLength();o.mont(r.modulus);var f=new o(t).mul(i.blinder).umod(r.modulus),c=f.toRed(o.mont(r.prime1)),u=f.toRed(o.mont(r.prime2)),l=r.coefficient,d=r.prime1,h=r.prime2,p=c.redPow(r.exponent1),b=u.redPow(r.exponent2);p=p.fromRed(),b=b.fromRed();var g=p.isub(b).imul(l).umod(d);return g.imul(h),b.iadd(g),new n.Buffer(b.imul(i.unblinder).umod(r.modulus).toArray(!1,a))}function c(t){for(var r=t.modulus.byteLength(),i=new o(a(r));i.cmp(t.modulus)>=0||!i.umod(t.prime1)||!i.umod(t.prime2);)i=new o(a(r));return i}t.exports=f,f.getr=c},6713:function(t,r,i){t.exports=i(3678)},2926:function(t,r,i){var n=i(5725).Buffer,o=i(762),a=i(5486),s=i(1638),f=i(261),c=i(1541),u=i(3678);function l(t){a.Writable.call(this);var r=u[t];if(!r)throw Error("Unknown message digest");this._hashType=r.hash,this._hash=o(r.hash),this._tag=r.id,this._signType=r.sign}function d(t){a.Writable.call(this);var r=u[t];if(!r)throw Error("Unknown message digest");this._hash=o(r.hash),this._tag=r.id,this._signType=r.sign}function h(t){return new l(t)}function p(t){return new d(t)}Object.keys(u).forEach(function(t){u[t].id=n.from(u[t].id,"hex"),u[t.toLowerCase()]=u[t]}),s(l,a.Writable),l.prototype._write=function(t,r,i){this._hash.update(t),i()},l.prototype.update=function(t,r){return"string"==typeof t&&(t=n.from(t,r)),this._hash.update(t),this},l.prototype.sign=function(t,r){this.end();var i=f(this._hash.digest(),t,this._hashType,this._signType,this._tag);return r?i.toString(r):i},s(d,a.Writable),d.prototype._write=function(t,r,i){this._hash.update(t),i()},d.prototype.update=function(t,r){return"string"==typeof t&&(t=n.from(t,r)),this._hash.update(t),this},d.prototype.verify=function(t,r,i){return"string"==typeof r&&(r=n.from(r,i)),this.end(),c(r,this._hash.digest(),t,this._signType,this._tag)},t.exports={Sign:h,Verify:p,createSign:h,createVerify:p}},261:function(t,r,i){var n=i(5725).Buffer,o=i(3256),a=i(640),s=i(2049).ec,f=i(1315),c=i(8012),u=i(6456);function l(t,r){var i=u[r.curve.join(".")];if(!i)throw Error("unknown curve "+r.curve.join("."));var o=new s(i).keyFromPrivate(r.privateKey).sign(t);return n.from(o.toDER())}function d(t,r,i){for(var n,o=r.params.priv_key,a=r.params.p,s=r.params.q,c=r.params.g,u=new f(0),l=b(t,s).mod(s),d=!1,g=p(o,s,t,i);!1===d;)u=y(c,n=m(s,g,i),a,s),0===(d=n.invm(s).imul(l.add(o.mul(u))).mod(s)).cmpn(0)&&(d=!1,u=new f(0));return h(u,d)}function h(t,r){t=t.toArray(),r=r.toArray(),128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r));var i=[48,t.length+r.length+4,2,t.length];return i=i.concat(t,[2,r.length],r),n.from(i)}function p(t,r,i,a){if((t=n.from(t.toArray())).length<r.byteLength()){var s=n.alloc(r.byteLength()-t.length);t=n.concat([s,t])}var f=i.length,c=g(i,r),u=n.alloc(f);u.fill(1);var l=n.alloc(f);return l=o(a,l).update(u).update(n.from([0])).update(t).update(c).digest(),u=o(a,l).update(u).digest(),l=o(a,l).update(u).update(n.from([1])).update(t).update(c).digest(),u=o(a,l).update(u).digest(),{k:l,v:u}}function b(t,r){var i=new f(t),n=(t.length<<3)-r.bitLength();return n>0&&i.ishrn(n),i}function g(t,r){t=(t=b(t,r)).mod(r);var i=n.from(t.toArray());if(i.length<r.byteLength()){var o=n.alloc(r.byteLength()-i.length);i=n.concat([o,i])}return i}function m(t,r,i){var a,s;do{for(a=n.alloc(0);8*a.length<t.bitLength();)r.v=o(i,r.k).update(r.v).digest(),a=n.concat([a,r.v]);s=b(a,t),r.k=o(i,r.k).update(r.v).update(n.from([0])).digest(),r.v=o(i,r.k).update(r.v).digest()}while(-1!==s.cmp(t))return s}function y(t,r,i,n){return t.toRed(f.mont(i)).redPow(r).fromRed().mod(n)}t.exports=function(t,r,i,o,s){var f=c(r);if(f.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw Error("wrong private key type");return l(t,f)}if("dsa"===f.type){if("dsa"!==o)throw Error("wrong private key type");return d(t,f,i)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw Error("wrong private key type");t=n.concat([s,t]);for(var u=f.modulus.byteLength(),h=[0,1];t.length+h.length+1<u;)h.push(255);h.push(0);for(var p=-1;++p<t.length;)h.push(t[p]);return a(h,f)},t.exports.getKey=p,t.exports.makeKey=m},1541:function(t,r,i){var n=i(5725).Buffer,o=i(1315),a=i(2049).ec,s=i(8012),f=i(6456);function c(t,r,i){var n=f[i.data.algorithm.curve.join(".")];if(!n)throw Error("unknown curve "+i.data.algorithm.curve.join("."));var o=new a(n),s=i.data.subjectPrivateKey.data;return o.verify(r,t,s)}function u(t,r,i){var n=i.data.p,a=i.data.q,f=i.data.g,c=i.data.pub_key,u=s.signature.decode(t,"der"),d=u.s,h=u.r;l(d,a),l(h,a);var p=o.mont(n),b=d.invm(a);return 0===f.toRed(p).redPow(new o(r).mul(b).mod(a)).fromRed().mul(c.toRed(p).redPow(h.mul(b).mod(a)).fromRed()).mod(n).mod(a).cmp(h)}function l(t,r){if(0>=t.cmpn(0)||t.cmp(r)>=r)throw Error("invalid sig")}t.exports=function(t,r,i,a,f){var l=s(i);if("ec"===l.type){if("ecdsa"!==a&&"ecdsa/rsa"!==a)throw Error("wrong public key type");return c(t,r,l)}if("dsa"===l.type){if("dsa"!==a)throw Error("wrong public key type");return u(t,r,l)}if("rsa"!==a&&"ecdsa/rsa"!==a)throw Error("wrong public key type");r=n.concat([f,r]);for(var d=l.modulus.byteLength(),h=[1],p=0;r.length+h.length+2<d;)h.push(255),p++;h.push(0);for(var b=-1;++b<r.length;)h.push(r[b]);h=n.from(h);var g=o.mont(l.modulus);t=(t=new o(t).toRed(g)).redPow(new o(l.publicExponent));var m=+(p<8);for(d=Math.min((t=n.from(t.fromRed().toArray())).length,h.length),t.length!==h.length&&(m=1),b=-1;++b<d;)m|=t[b]^h[b];return 0===m}},6481:function(t){t.exports=function(t,r){for(var i=Math.min(t.length,r.length),o=new n.Buffer(i),a=0;a<i;++a)o[a]=t[a]^r[a];return o}},1888:function(t,r,i){var n=i(5725).Buffer,o=i(2203).Transform,a=i(3193).StringDecoder;function s(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}i(1638)(s,o),s.prototype.update=function(t,r,i){"string"==typeof t&&(t=n.from(t,r));var o=this._update(t);return this.hashMode?this:(i&&(o=this._toString(o,i)),o)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},s.prototype._transform=function(t,r,i){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{i(n)}},s.prototype._flush=function(t){var r;try{this.push(this.__final())}catch(t){r=t}t(r)},s.prototype._finalOrDigest=function(t){var r=this.__final()||n.alloc(0);return t&&(r=this._toString(r,t,!0)),r},s.pro
vendor: 7,368 bytes, line 1
1totype._toString=function(t,r,i){if(this._decoder||(this._decoder=new a(r),this._encoding=r),this._encoding!==r)throw Error("can't switch encodings");var n=this._decoder.write(t);return i&&(n+=this._decoder.end()),n},t.exports=s},8814:function(t,r,i){var o=i(2049),a=i(5944);t.exports=function(t){return new f(t)};var s={secp256k1:{name:"secp256k1",byteLength:32},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 f(t){this.curveType=s[t],this.curveType||(this.curveType={name:t}),this.curve=new o.ec(this.curveType.name),this.keys=void 0}function c(t,r,i){Array.isArray(t)||(t=t.toArray());var o=new n.Buffer(t);if(i&&o.length<i){var a=new n.Buffer(i-o.length);a.fill(0),o=n.Buffer.concat([a,o])}return r?o.toString(r):o}s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,f.prototype.generateKeys=function(t,r){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,r)},f.prototype.computeSecret=function(t,r,i){return r=r||"utf8",n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r)),c(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),i,this.curveType.byteLength)},f.prototype.getPublicKey=function(t,r){var i=this.keys.getPublic("compressed"===r,!0);return"hybrid"===r&&(i[i.length-1]%2?i[0]=7:i[0]=6),c(i,t)},f.prototype.getPrivateKey=function(t){return c(this.keys.getPrivate(),t)},f.prototype.setPublicKey=function(t,r){return r=r||"utf8",n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r)),this.keys._importPublic(t),this},f.prototype.setPrivateKey=function(t,r){r=r||"utf8",n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r));var i=new a(t);return i=i.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(i),this}},762:function(t,r,i){"use strict";var n=i(1638),o=i(3858),a=i(8987),s=i(3251),f=i(1888);function c(t){f.call(this,"digest"),this._hash=t}n(c,f),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new o:"rmd160"===t||"ripemd160"===t?new a:new c(s(t))}},1334:function(t,r,i){var n=i(3858);t.exports=function(t){return(new n).update(t).digest()}},3256:function(t,r,i){"use strict";var n=i(1638),o=i(9189),a=i(1888),s=i(5725).Buffer,f=i(1334),c=i(8987),u=i(3251),l=s.alloc(128);function d(t,r){a.call(this,"digest"),"string"==typeof r&&(r=s.from(r));var i="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=r,r.length>i?r=("rmd160"===t?new c:u(t)).update(r).digest():r.length<i&&(r=s.concat([r,l],i));for(var n=this._ipad=s.allocUnsafe(i),o=this._opad=s.allocUnsafe(i),f=0;f<i;f++)n[f]=54^r[f],o[f]=92^r[f];this._hash="rmd160"===t?new c:u(t),this._hash.update(n)}n(d,a),d.prototype._update=function(t){this._hash.update(t)},d.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new c:u(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,r){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new d("rmd160",r):"md5"===t?new o(f,r):new d(t,r)}},9189:function(t,r,i){"use strict";var n=i(1638),o=i(5725).Buffer,a=i(1888),s=o.alloc(128),f=64;function c(t,r){a.call(this,"digest"),"string"==typeof r&&(r=o.from(r)),this._alg=t,this._key=r,r.length>f?r=t(r):r.length<f&&(r=o.concat([r,s],f));for(var i=this._ipad=o.allocUnsafe(f),n=this._opad=o.allocUnsafe(f),c=0;c<f;c++)i[c]=54^r[c],n[c]=92^r[c];this._hash=[i]}n(c,a),c.prototype._update=function(t){this._hash.push(t)},c.prototype._final=function(){var t=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,t]))},t.exports=c},55:function(t,r,i){"use strict";r.utils=i(4569),r.Cipher=i(4309),r.DES=i(8992),r.CBC=i(42),r.EDE=i(4960)},42:function(t,r,i){"use strict";var n=i(7551),o=i(1638),a={};function s(t){n.equal(t.length,8,"Invalid IV length"),this.iv=Array(8);for(var r=0;r<this.iv.length;r++)this.iv[r]=t[r]}r.instantiate=function(t){function r(r){t.call(this,r),this._cbcInit()}o(r,t);for(var i=Object.keys(a),n=0;n<i.length;n++){var s=i[n];r.prototype[s]=a[s]}return r.create=function(t){return new r(t)},r},a._cbcInit=function(){var t=new s(this.options.iv);this._cbcState=t},a._update=function(t,r,i,n){var o=this._cbcState,a=this.constructor.super_.prototype,s=o.iv;if("encrypt"===this.type){for(var f=0;f<this.blockSize;f++)s[f]^=t[r+f];a._update.call(this,s,0,i,n);for(var f=0;f<this.blockSize;f++)s[f]=i[n+f]}else{a._update.call(this,t,r,i,n);for(var f=0;f<this.blockSize;f++)i[n+f]^=s[f];for(var f=0;f<this.blockSize;f++)s[f]=t[r+f]}}},4309:function(t,r,i){"use strict";var n=i(7551);function o(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}t.exports=o,o.prototype._init=function(){},o.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},o.prototype._buffer=function(t,r){for(var i=Math.min(this.buffer.length-this.bufferOff,t.length-r),n=0;n<i;n++)this.buffer[this.bufferOff+n]=t[r+n];return this.bufferOff+=i,i},o.prototype._flushBuffer=function(t,r){return this._update(this.buffer,0,t,r),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(t){var r=0,i=0,n=Array(((this.bufferOff+t.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(r+=this._buffer(t,r),this.bufferOff===this.buffer.length&&(i+=this._flushBuffer(n,i)));for(var o=t.length-(t.length-r)%this.blockSize;r<o;r+=this.blockSize)this._update(t,r,n,i),i+=this.blockSize;for(;r<t.length;r++,this.bufferOff++)this.buffer[this.bufferOff]=t[r];return n},o.prototype._updateDecrypt=function(t){for(var r=0,i=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,o=Array(n*this.blockSize);n>0;n--)r+=this._buffer(t,r),i+=this._flushBuffer(o,i);return r+=this._buffer(t,r),o},o.prototype.final=function(t){var r,i;return(t&&(r=this.update(t)),i="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),r)?r.concat(i):i},o.prototype._pad=function(t,r){if(0===r)return!1;for(;r<t.length;)t[r++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=Array(this.blockSize);return this._update(this.buffer,0,t,0),t},o.prototype._unpad=function(t){return t},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},8992:function(t,r,i){"use strict";var n=i(7551),o=i(1638),a=i(4569),s=i(4309);function f(){this.tmp=[,,],this.keys=null}function c(t){s.call(this,t);var r=new f;this._desState=r,this.deriveKeys(r,t.key)}o(c,s),t.exports=c,c.create=function(t){return new c(t)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(t,r){t.keys=Array(32),n.equal(r.length,this.blockSize,"Invalid key length");var i=a.readUInt32BE(r,0),o=a.readUInt32BE(r,4);a.pc1(i,o,t.tmp,0),i=t.tmp[0],o=t.tmp[1];for(var s=0;s<t.keys.length;s+=2){var f=u[s>>>1];i=a.r28shl(i,f),o=a.r28shl(o,f),a.pc2(i,o,t.keys,s)}},c.prototype._update=function(t,r,i,n){var o=this._desState,s=a.readUInt32BE(t,r),f=a.readUInt32BE(t,r+4);a.ip(s,f,o.tmp,0),s=o.tmp[0],f=o.tmp[1],"encrypt"===this.type?this._encrypt
1(o,s,f,o.tmp,0):this._decrypt(o,s,f,o.tmp,0),s=o.tmp[0],f=o.tmp[1],a.writeUInt32BE(i,s,n),a.writeUInt32BE(i,f,n+4)},c.prototype._pad=function(t,r){for(var i=t.length-r,n=r;n<t.length;n++)t[n]=i;return!0},c.prototype._unpad=function(t){for(var r=t[t.length-1],i=t.length-r;i<t.length;i++)n.equal(t[i],r);return t.slice(0,t.length-r)},c.prototype._encrypt=function(t,r,i,n,o){for(var s=r,f=i,c=0;c<t.keys.length;c+=2){var u=t.keys[c],l=t.keys[c+1];a.expand(f,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var d=a.substitute(u,l),h=a.permute(d),p=f;f=(s^h)>>>0,s=p}a.rip(f,s,n,o)},c.prototype._decrypt=function(t,r,i,n,o){for(var s=i,f=r,c=t.keys.length-2;c>=0;c-=2){var u=t.keys[c],l=t.keys[c+1];a.expand(s,t.tmp,0),u^=t.tmp[0],l^=t.tmp[1];var d=a.substitute(u,l),h=a.permute(d),p=s;s=(f^h)>>>0,f=p}a.rip(s,f,n,o)}},4960:function(t,r,i){"use strict";var n=i(7551),o=i(1638),a=i(4309),s=i(8992);function f(t,r){n.equal(r.length,24,"Invalid key length");var i=r.slice(0,8),o=r.slice(8,16),a=r.slice(16,24);"encrypt"===t?this.ciphers=[s.create({type:"encrypt",key:i}),s.create({type:"decrypt",key:o}),s.create({type:"encrypt",key:a})]:this.ciphers=[s.create({type:"decrypt",key:a}),s.create({type:"encrypt",key:o}),s.create({type:"decrypt",key:i})]}function c(t){a.call(this,t);var r=new f(this.type,this.options.key);this._edeState=r}o(c,a),t.exports=c,c.create=function(t){return new c(t)},c.prototype._update=function(t,r,i,n){var o=this._edeState;o.ciphers[0]._update(t,r,i,n),o.ciphers[1]._update(i,n,i,n),o.ciphers[2]._update(i,n,i,n)},c.prototype._pad=s.prototype._pad,c.prototype._unpad=s.prototype._unpad},4569:function(t,r){"use strict";r.readUInt32BE=function(t,r){return(t[0+r]<<24|t[1+r]<<16|t[2+r]<<8|t[3+r])>>>0},r.writeUInt32BE=function(t,r,i){t[0+i]=r>>>24,t[1+i]=r>>>16&255,t[2+i]=r>>>8&255,t[3+i]=255&r},r.ip=function(t,r,i,n){for(var o=0,a=0,s=6;s>=0;s-=2){for(var f=0;f<=24;f+=8)o<<=1,o|=r>>>f+s&1;for(var f=0;f<=24;f+=8)o<<=1,o|=t>>>f+s&1}for(var s=6;s>=0;s-=2){for(var f=1;f<=25;f+=8)a<<=1,a|=r>>>f+s&1;for(var f=1;f<=25;f+=8)a<<=1,a|=t>>>f+s&1}i[n+0]=o>>>0,i[n+1]=a>>>0},r.rip=function(t,r,i,n){for(var o=0,a=0,s=0;s<4;s++)for(var f=24;f>=0;f-=8)o<<=1,o|=r>>>f+s&1,o<<=1,o|=t>>>f+s&1;for(var s=4;s<8;s++)for(var f=24;f>=0;f-=8)a<<=1,a|=r>>>f+s&1,a<<=1,a|=t>>>f+s&1;i[n+0]=o>>>0,i[n+1]=a>>>0},r.pc1=function(t,r,i,n){for(var o=0,a=0,s=7;s>=5;s--){for(var f=0;f<=24;f+=8)o<<=1,o|=r>>f+s&1;for(var f=0;f<=24;f+=8)o<<=1,o|=t>>f+s&1}for(var f=0;f<=24;f+=8)o<<=1,o|=r>>f+s&1;for(var s=1;s<=3;s++){for(var f=0;f<=24;f+=8)a<<=1,a|=r>>f+s&1;for(var f=0;f<=24;f+=8)a<<=1,a|=t>>f+s&1}for(var f=0;f<=24;f+=8)a<<=1,a|=t>>f+s&1;i[n+0]=o>>>0,i[n+1]=a>>>0},r.r28shl=function(t,r){return t<<r&0xfffffff|t>>>28-r};var i=[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];r.pc2=function(t,r,n,o){for(var a=0,s=0,f=i.length>>>1,c=0;c<f;c++)a<<=1,a|=t>>>i[c]&1;for(var c=f;c<i.length;c++)s<<=1,s|=r>>>i[c]&1;n[o+0]=a>>>0,n[o+1]=s>>>0},r.expand=function(t,r,i){var n=0,o=0;n=(1&t)<<5|t>>>27;for(var a=23;a>=15;a-=4)n<<=6,n|=t>>>a&63;for(var a=11;a>=3;a-=4)o|=t>>>a&63,o<<=6;o|=(31&t)<<1|t>>>31,r[i+0]=n>>>0,r[i+1]=o>>>0};var n=[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];r.substitute=function(t,r){for(var i=0,o=0;o<4;o++){var a=t>>>18-6*o&63,s=n[64*o+a];i<<=4,i|=s}for(var o=0;o<4;o++){var a=r>>>18-6*o&63,s=n[256+64*o+a];i<<=4,i|=s}return i>>>0};var o=[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];r.permute=function(t){for(var r=0,i=0;i<o.length;i++)r<<=1,r|=t>>>o[i]&1;return r>>>0},r.padSplit=function(t,r,i){for(var n=t.toString(2);n.length<r;)n="0"+n;for(var o=[],a=0;a<r;a+=i)o.push(n.slice(a,a+i));return o.join(" ")}},857:function(t,r,i){var o=i(3895),a=i(7821),s=i(2913),f={binary:!0,hex:!0,base64:!0};function c(t,r,i,a){return n.Buffer.isBuffer(r)||void 0===f[r]?c(t,"binary",r,i):(r=r||"binary",a=a||"binary",i=i||new n.Buffer([2]),n.Buffer.isBuffer(i)||(i=new n.Buffer(i,a)),"number"==typeof t)?new s(o(t,i),i,!0):(n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r)),new s(t,i,!0))}r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(t){return new s(new n.Buffer(a[t].prime,"hex"),new n.Buffer(a[t].gen,"hex"))},r.createDiffieHellman=r.DiffieHellman=c},2913:function(t,r,i){var o=i(5944),a=new(i(6821)),s=new o(24),f=new o(11),c=new o(10),u=new o(3),l=new o(7),d=i(3895),h=i(376);function p(t,r){return r=r||"utf8",n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r)),this._pub=new o(t),this}function b(t,r){return r=r||"utf8",n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r)),this._priv=new o(t),this}t.exports=y;var g={};function m(t,r){var i,n=r.toString("hex"),o=[n,t.toString(16)].join("_");if(o in g)return g[o];var h=0;if(t.isEven()||!d.simpleSieve||!d.fermatTest(t)||!a.test(t))return h+=1,"02"===n||"05"===n?h+=8:h+=4,g[o]=h,h;switch(!a.test(t.shrn(1))&&(h+=2),n){case"02":t.mod(s).cmp(f)&&(h+=8);break;case"05":(i=t.mod(c)).cmp(u)&&i.cmp(l)&&(h+=8);break;default:h+=4}return g[o]=h,h}function y(t,r,i){this.setGenerator(r),this.__prime=new o(t),this._prime=o.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,i?(this.setPublicKey=p,this.setPrivateKey=b):this._primeCode=8}function v(t,r){var i=new n.Buffer(t.toArray());return r?i.toString(r):i}Object.defineProperty(y.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=m(this.__prime,this.__gen)),this._primeCode}}),y.prototype.generateKeys=function(){return this._priv||(this._priv=new o(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},y.prototype.computeSecret=function(t){var r=(t=(t=new o(t)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new n.Buffer(r.toArray()),a=this.getPrime();if(i.length<a.length){var s=new n.Buffer(a.length-i.length);s.fill(0),i=n.Buffer.concat([s,i])}return i},y.prototype.getPublicKey=function(t){return v(this._pub,t)},y.prototype.getPrivateKey=function(t){return v(this._priv,t)},y.prototype.getPrime=function(t){return v(this.__prime,t)},y.prototype.getGenerator=function(t){return v(this._gen,t)},y.prototype.setGenerator=function(t,r){return r=r||"utf8",n.Buffer.isBuffer(t)||(t=new n.Buffer(t,r)),this.__gen=t,this._gen=new o(t),this}},3895:function(t,r,i){var n=i(376);t.exports=v,v.simpleSieve=m,v.fermatTest=y;var o=i(5944),a=new o(24),s=new(i(6821)),f=new o(1),c=new o(2),u=new o(5);new o(16),new o(8);var l=new o(10),d=new o(3);new o(7);var h=new o(11),p=new o(4);new o(12);var b=null;function g(){if(null!==b)return b;var t=1048576,r=[];r[0]=2;
1for(var i=1,n=3;n<t;n+=2){for(var o=Math.ceil(Math.sqrt(n)),a=0;a<i&&r[a]<=o&&n%r[a]!=0;a++);i!==a&&r[a]<=o||(r[i++]=n)}return b=r,r}function m(t){for(var r=g(),i=0;i<r.length;i++)if(0===t.modn(r[i]))if(0!==t.cmpn(r[i]))return!1;else break;return!0}function y(t){var r=o.mont(t);return 0===c.toRed(r).redPow(t.subn(1)).fromRed().cmpn(1)}function v(t,r){var i,b;if(t<16)if(2===r||5===r)return new o([140,123]);else return new o([140,39]);for(r=new o(r);;){for(i=new o(n(Math.ceil(t/8)));i.bitLength()>t;)i.ishrn(1);if(i.isEven()&&i.iadd(f),i.testn(1)||i.iadd(c),r.cmp(c)){if(!r.cmp(u))for(;i.mod(l).cmp(d);)i.iadd(p)}else for(;i.mod(a).cmp(h);)i.iadd(p);if(m(b=i.shrn(1))&&m(i)&&y(b)&&y(i)&&s.test(b)&&s.test(i))return i}}},2049:function(t,r,i){"use strict";var n=r;n.version=i(4497).rE,n.utils=i(3355),n.rand=i(4259),n.curve=i(7942),n.curves=i(7736),n.ec=i(1039),n.eddsa=i(4226)},4285:function(t,r,i){"use strict";var n=i(5944),o=i(3355),a=o.getNAF,s=o.getJSF,f=o.assert;function c(t,r){this.type=t,this.p=new n(r.p,16),this.red=r.prime?n.red(r.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=r.n&&new n(r.n,16),this.g=r.g&&this.pointFromJSON(r.g,r.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var i=this.n&&this.p.div(this.n);!i||i.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(t,r){this.curve=t,this.type=r,this.precomputed=null}t.exports=c,c.prototype.point=function(){throw Error("Not implemented")},c.prototype.validate=function(){throw Error("Not implemented")},c.prototype._fixedNafMul=function(t,r){f(t.precomputed);var i=t._getDoubles(),n=a(r,1,this._bitLength),o=(1<<i.step+1)-(i.step%2==0?2:1);o/=3;for(var s=[],c=0;c<n.length;c+=i.step){for(var u=0,r=c+i.step-1;r>=c;r--)u=(u<<1)+n[r];s.push(u)}for(var l=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=o;h>0;h--){for(var c=0;c<s.length;c++){var u=s[c];u===h?d=d.mixedAdd(i.points[c]):u===-h&&(d=d.mixedAdd(i.points[c].neg()))}l=l.add(d)}return l.toP()},c.prototype._wnafMul=function(t,r){var i=4,n=t._getNAFPoints(i);i=n.wnd;for(var o=n.points,s=a(r,i,this._bitLength),c=this.jpoint(null,null,null),u=s.length-1;u>=0;u--){for(var r=0;u>=0&&0===s[u];u--)r++;if(u>=0&&r++,c=c.dblp(r),u<0)break;var l=s[u];f(0!==l),c="affine"===t.type?l>0?c.mixedAdd(o[l-1>>1]):c.mixedAdd(o[-l-1>>1].neg()):l>0?c.add(o[l-1>>1]):c.add(o[-l-1>>1].neg())}return"affine"===t.type?c.toP():c},c.prototype._wnafMulAdd=function(t,r,i,n,o){for(var f=this._wnafT1,c=this._wnafT2,u=this._wnafT3,l=0,d=0;d<n;d++){var h=r[d],p=h._getNAFPoints(t);f[d]=p.wnd,c[d]=p.points}for(var d=n-1;d>=1;d-=2){var b=d-1,g=d;if(1!==f[b]||1!==f[g]){u[b]=a(i[b],f[b],this._bitLength),u[g]=a(i[g],f[g],this._bitLength),l=Math.max(u[b].length,l),l=Math.max(u[g].length,l);continue}
vendor: 13,672 bytes, line 1
1var m=[r[b],null,null,r[g]];0===r[b].y.cmp(r[g].y)?(m[1]=r[b].add(r[g]),m[2]=r[b].toJ().mixedAdd(r[g].neg())):0===r[b].y.cmp(r[g].y.redNeg())?(m[1]=r[b].toJ().mixedAdd(r[g]),m[2]=r[b].add(r[g].neg())):(m[1]=r[b].toJ().mixedAdd(r[g]),m[2]=r[b].toJ().mixedAdd(r[g].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=s(i[b],i[g]);l=Math.max(v[0].length,l),u[b]=Array(l),u[g]=Array(l);for(var x=0;x<l;x++){var w=0|v[0][x],_=0|v[1][x];u[b][x]=y[(w+1)*3+(_+1)],u[g][x]=0,c[b]=m}}for(var S=this.jpoint(null,null,null),E=this._wnafT4,d=l;d>=0;d--){for(var M=0;d>=0;){for(var A=!0,x=0;x<n;x++)E[x]=0|u[x][d],0!==E[x]&&(A=!1);if(!A)break;M++,d--}if(d>=0&&M++,S=S.dblp(M),d<0)break;for(var x=0;x<n;x++){var h,T=E[x];0!==T&&(T>0?h=c[x][T-1>>1]:T<0&&(h=c[x][-T-1>>1].neg()),S="affine"===h.type?S.mixedAdd(h):S.add(h))}}for(var d=0;d<n;d++)c[d]=null;return o?S:S.toP()},c.BasePoint=u,u.prototype.eq=function(){throw Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(t,r){t=o.toArray(t,r);var i=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*i)return 6===t[0]?f(t[t.length-1]%2==0):7===t[0]&&f(t[t.length-1]%2==1),this.point(t.slice(1,1+i),t.slice(1+i,1+2*i));if((2===t[0]||3===t[0])&&t.length-1===i)return this.pointFromX(t.slice(1,1+i),3===t[0]);throw Error("Unknown point format")},u.prototype.encodeCompressed=function(t){return this.encode(t,!0)},u.prototype._encode=function(t){var r=this.curve.p.byteLength(),i=this.getX().toArray("be",r);return t?[this.getY().isEven()?2:3].concat(i):[4].concat(i,this.getY().toArray("be",r))},u.prototype.encode=function(t,r){return o.encode(this._encode(r),t)},u.prototype.precompute=function(t){if(this.precomputed)return this;var r={doubles:null,naf:null,beta:null};return r.naf=this._getNAFPoints(8),r.doubles=this._getDoubles(4,t),r.beta=this._getBeta(),this.precomputed=r,this},u.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var r=this.precomputed.doubles;return!!r&&r.points.length>=Math.ceil((t.bitLength()+1)/r.step)},u.prototype._getDoubles=function(t,r){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var i=[this],n=this,o=0;o<r;o+=t){for(var a=0;a<t;a++)n=n.dbl();i.push(n)}return{step:t,points:i}},u.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var r=[this],i=(1<<t)-1,n=1===i?null:this.dbl(),o=1;o<i;o++)r[o]=r[o-1].add(n);return{wnd:t,points:r}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(t){for(var r=this,i=0;i<t;i++)r=r.dbl();return r}},3546:function(t,r,i){"use strict";var n=i(3355),o=i(5944),a=i(1638),s=i(4285),f=n.assert;function c(t){this.twisted=(0|t.a)!=1,this.mOneA=this.twisted&&(0|t.a)==-1,this.extended=this.mOneA,s.call(this,"edwards",t),this.a=new o(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),f(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|t.c)==1}function u(t,r,i,n,a){s.BasePoint.call(this,t,"projective"),null===r&&null===i&&null===n?(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 o(r,16),this.y=new o(i,16),this.z=n?new o(n,16):this.curve.one,this.t=a&&new o(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(c,s),t.exports=c,c.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},c.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},c.prototype.jpoint=function(t,r,i,n){return this.point(t,r,i,n)},c.prototype.pointFromX=function(t,r){(t=new o(t,16)).red||(t=t.toRed(this.red));var i=t.redSqr(),n=this.c2.redSub(this.a.redMul(i)),a=this.one.redSub(this.c2.redMul(this.d).redMul(i)),s=n.redMul(a.redInvm()),f=s.redSqrt();if(0!==f.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");var c=f.fromRed().isOdd();return(r&&!c||!r&&c)&&(f=f.redNeg()),this.point(t,f)},c.prototype.pointFromY=function(t,r){(t=new o(t,16)).red||(t=t.toRed(this.red));var i=t.redSqr(),n=i.redSub(this.c2),a=i.redMul(this.d).redMul(this.c2).redSub(this.a),s=n.redMul(a.redInvm());if(0===s.cmp(this.zero))if(!r)return this.point(this.zero,t);else throw Error("invalid point");var f=s.redSqrt();if(0!==f.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");return f.fromRed().isOdd()!==r&&(f=f.redNeg()),this.point(f,t)},c.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var r=t.x.redSqr(),i=t.y.redSqr(),n=r.redMul(this.a).redAdd(i),o=this.c2.redMul(this.one.redAdd(this.d.redMul(r).redMul(i)));return 0===n.cmp(o)},a(u,s.BasePoint),c.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},c.prototype.point=function(t,r,i,n){return new u(this,t,r,i,n)},u.fromJSON=function(t,r){return new u(t,r[0],r[1],r[2])},u.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)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var t=this.x.redSqr(),r=this.y.redSqr(),i=this.z.redSqr();i=i.redIAdd(i);var n=this.curve._mulA(t),o=this.x.redAdd(this.y).redSqr().redISub(t).redISub(r),a=n.redAdd(r),s=a.redSub(i),f=n.redSub(r),c=o.redMul(s),u=a.redMul(f),l=o.redMul(f),d=s.redMul(a);return this.curve.point(c,u,d,l)},u.prototype._projDbl=function(){var t,r,i,n=this.x.redAdd(this.y).redSqr(),o=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var s=this.curve._mulA(o),f=s.redAdd(a);if(this.zOne)t=n.redSub(o).redSub(a).redMul(f.redSub(this.curve.two)),r=f.redMul(s.redSub(a)),i=f.redSqr().redSub(f).redSub(f);else{var c=this.z.redSqr(),u=f.redSub(c).redISub(c);t=n.redSub(o).redISub(a).redMul(u),r=f.redMul(s.redSub(a)),i=f.redMul(u)}}else{var s=o.redAdd(a),c=this.curve._mulC(this.z).redSqr(),u=s.redSub(c).redSub(c);t=this.curve._mulC(n.redISub(s)).redMul(u),r=this.curve._mulC(s).redMul(o.redISub(a)),i=s.redMul(u)}return this.curve.point(t,r,i)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(t){var r=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),i=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),o=this.z.redMul(t.z.redAdd(t.z)),a=i.redSub(r),s=o.redSub(n),f=o.redAdd(n),c=i.redAdd(r),u=a.redMul(s),l=f.redMul(c),d=a.redMul(c),h=s.redMul(f);return this.curve.point(u,l,h,d)},u.prototype._projAdd=function(t){var r,i,n=this.z.redMul(t.z),o=n.redSqr(),a=this.x.redMul(t.x),s=this.y.redMul(t.y),f=this.curve.d.redMul(a).redMul(s),c=o.redSub(f),u=o.redAdd(f),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(a).redISub(s),d=n.redMul(c).redMul(l);return this.curve.twisted?(r=n.redMul(u).redMul(s.redSub(this.curve._mulA(a))),i=c.redMul(u)):(r=n.redMul(u).redMul(s.redSub(a)),i=this.curve._mulC(c).redMul(u)),this.curve.point(d,r,i)},u.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},u.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,r,i){return this.curve._wnafMulAdd(1,[this,r],[t,i],2,!1)},u.prototype.jmulAdd=function(t,r,i){return this.curve._wnafMulAdd(1,[this,r],[t,i],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},u.prototype.eqXToP=function(t){var r=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(r))return!0;for(var i=t.clone(),n=this.curve.redN.redMul(this.z);;){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}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},7942:function(t,r,i){"use strict";var n=r;n.base=i(4285),n.short=i(2252),n.mont=i(5274),n.edwards=i(3546)},5274:function(t,r,i){"use strict";var n=i(5944),o=i(1638),a=i(4285),s=i(3355);function f(t){a.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(t,r,i){a.BasePoint.call(this,t,"projective"),null===r&&null===i?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(r,16),this.z=new n(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(f,a),t.exports=f,f.prototype.validate=function(t){var r=t.normalize().x,i=r.redSqr(),n=i.redMul(r).redAdd(i.redMul(this.a)).redAdd(r);return 0===n.redSqrt().redSqr().cmp(n)},o(c,a.BasePoint),f.prototype.decodePoint=function(t,r){return this.point(s.toArray(t,r),1)},f.prototype.point=function(t,r){return new c(this,t,r)},f.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(t,r){return new c(t,r[0],r[1]||t.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),r=this.x.redSub(this.z).redSqr(),i=t.redSub(r),n=t.redMul(r),o=i.redMul(r.redAdd(this.curve.a24.redMul(i)));return this.curve.point(n,o)},c.prototype.add=function(){throw Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(t,r){var i=this.x.redAdd(this.z),n=this.x.redSub(this.z),o=t.x.redAdd(t.z),a=t.x.redSub(t.z).redMul(i),s=o.redMul(n),f=r.z.redMul(a.redAdd(s).redSqr()),c=r.x.redMul(a.redISub(s).redSqr());return this.curve.point(f,c)},c.prototype.mul=function(t){for(var r=t.clone(),i=this,n=this.curve.point(null,null),o=this,a=[];0!==r.cmpn(0);r.iushrn(1))a.push(r.andln(1));for(var s=a.length-1;s>=0;s--)0===a[s]?(i=i.diffAdd(n,o),n=n.dbl()):(n=i.diffAdd(n,o),i=i.dbl());return n},c.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},c.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},2252:function(t,r,i){"use strict";var n=i(3355),o=i(5944),a=i(1638),s=i(4285),f=n.assert;function c(t){s.call(this,"short",t),this.a=new o(t.a,16).toRed(this.red),this.b=new o(t.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(t),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function u(t,r,i,n){s.BasePoint.call(this,t,"affine"),null===r&&null===i?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(r,16),this.y=new o(i,16),n&&(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 l(t,r,i,n){s.BasePoint.call(this,t,"jacobian"),null===r&&null===i&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(r,16),this.y=new o(i,16),this.z=new o(n,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(c,s),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(t.beta)r=new o(t.beta,16).toRed(this.red);else{var r,i,n,a=this._getEndoRoots(this.p);r=(r=0>a[0].cmp(a[1])?a[0]:a[1]).toRed(this.red)}if(t.lambda)i=new o(t.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(r))?i=s[0]:(i=s[1],f(0===this.g.mul(i).x.cmp(this.g.x.redMul(r))))}return n=t.basis?t.basis.map(function(t){return{a:new o(t.a,16),b:new o(t.b,16)}}):this._getEndoBasis(i),{beta:r,lambda:i,basis:n}}},c.prototype._getEndoRoots=function(t){var r=t===this.p?this.red:o.mont(t),i=new o(2).toRed(r).redInvm(),n=i.redNeg(),a=new o(3).toRed(r).redNeg().redSqrt().redMul(i);return[n.redAdd(a).fromRed(),n.redSub(a).fromRed()]},c.prototype._getEndoBasis=function(t){for(var r,i,n,a,s,f,c,u,l,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=t,p=this.n.clone(),b=new o(1),g=new o(0),m=new o(0),y=new o(1),v=0;0!==h.cmpn(0);){var x=p.div(h);u=p.sub(x.mul(h)),l=m.sub(x.mul(b));var w=y.sub(x.mul(g));if(!n&&0>u.cmp(d))r=c.neg(),i=b,n=u.neg(),a=l;else if(n&&2==++v)break;
vendor: 4,333 bytes, line 1
1c=u,p=h,h=u,m=b,b=l,y=g,g=w}s=u.neg(),f=l;var _=n.sqr().add(a.sqr());return s.sqr().add(f.sqr()).cmp(_)>=0&&(s=r,f=i),n.negative&&(n=n.neg(),a=a.neg()),s.negative&&(s=s.neg(),f=f.neg()),[{a:n,b:a},{a:s,b:f}]},c.prototype._endoSplit=function(t){var r=this.endo.basis,i=r[0],n=r[1],o=n.b.mul(t).divRound(this.n),a=i.b.neg().mul(t).divRound(this.n),s=o.mul(i.a),f=a.mul(n.a),c=o.mul(i.b),u=a.mul(n.b);return{k1:t.sub(s).sub(f),k2:c.add(u).neg()}},c.prototype.pointFromX=function(t,r){(t=new o(t,16)).red||(t=t.toRed(this.red));var i=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=i.redSqrt();if(0!==n.redSqr().redSub(i).cmp(this.zero))throw Error("invalid point");var a=n.fromRed().isOdd();return(r&&!a||!r&&a)&&(n=n.redNeg()),this.point(t,n)},c.prototype.validate=function(t){if(t.inf)return!0;var r=t.x,i=t.y,n=this.a.redMul(r),o=r.redSqr().redMul(r).redIAdd(n).redIAdd(this.b);return 0===i.redSqr().redISub(o).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,r,i){for(var n=this._endoWnafT1,o=this._endoWnafT2,a=0;a<t.length;a++){var s=this._endoSplit(r[a]),f=t[a],c=f._getBeta();s.k1.negative&&(s.k1.ineg(),f=f.neg(!0)),s.k2.negative&&(s.k2.ineg(),c=c.neg(!0)),n[2*a]=f,n[2*a+1]=c,o[2*a]=s.k1,o[2*a+1]=s.k2}for(var u=this._wnafMulAdd(1,n,o,2*a,i),l=0;l<2*a;l++)n[l]=null,o[l]=null;return u},a(u,s.BasePoint),c.prototype.point=function(t,r,i){return new u(this,t,r,i)},c.prototype.pointFromJSON=function(t,r){return u.fromJSON(this,t,r)},u.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var r=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var i=this.curve,n=function(t){return i.point(t.x.redMul(i.endo.beta),t.y)};t.beta=r,r.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return r}},u.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]},u.fromJSON=function(t,r,i){"string"==typeof r&&(r=JSON.parse(r));var n=t.point(r[0],r[1],i);if(!r[2])return n;function o(r){return t.point(r[0],r[1],i)}var a=r[2];return n.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[n].concat(a.doubles.points.map(o))},naf:a.naf&&{wnd:a.naf.wnd,points:[n].concat(a.naf.points.map(o))}},n},u.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)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t)||0===this.x.cmp(t.x))return this.curve.point(null,null);var r=this.y.redSub(t.y);0!==r.cmpn(0)&&(r=r.redMul(this.x.redSub(t.x).redInvm()));var i=r.redSqr().redISub(this.x).redISub(t.x),n=r.redMul(this.x.redSub(i)).redISub(this.y);return this.curve.point(i,n)},u.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var r=this.curve.a,i=this.x.redSqr(),n=t.redInvm(),o=i.redAdd(i).redIAdd(i).redIAdd(r).redMul(n),a=o.redSqr().redISub(this.x.redAdd(this.x)),s=o.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,s)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(t){return(t=new o(t,16),this.isInfinity())?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},u.prototype.mulAdd=function(t,r,i){var n=[this,r],o=[t,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},u.prototype.jmulAdd=function(t,r,i){var n=[this,r],o=[t,i];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},u.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},u.prototype.neg=function(t){if(this.inf)return this;var r=this.curve.point(this.x,this.y.redNeg());
vendor: 4,252 bytes, line 1
1if(t&&this.precomputed){var i=this.precomputed,n=function(t){return t.neg()};r.precomputed={naf:i.naf&&{wnd:i.naf.wnd,points:i.naf.points.map(n)},doubles:i.doubles&&{step:i.doubles.step,points:i.doubles.points.map(n)}}}return r},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},a(l,s.BasePoint),c.prototype.jpoint=function(t,r,i){return new l(this,t,r,i)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),r=t.redSqr(),i=this.x.redMul(r),n=this.y.redMul(r).redMul(t);return this.curve.point(i,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var r=t.z.redSqr(),i=this.z.redSqr(),n=this.x.redMul(r),o=t.x.redMul(i),a=this.y.redMul(r.redMul(t.z)),s=t.y.redMul(i.redMul(this.z)),f=n.redSub(o),c=a.redSub(s);if(0===f.cmpn(0))if(0!==c.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var u=f.redSqr(),l=u.redMul(f),d=n.redMul(u),h=c.redSqr().redIAdd(l).redISub(d).redISub(d),p=c.redMul(d.redISub(h)).redISub(a.redMul(l)),b=this.z.redMul(t.z).redMul(f);return this.curve.jpoint(h,p,b)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var r=this.z.redSqr(),i=this.x,n=t.x.redMul(r),o=this.y,a=t.y.redMul(r).redMul(this.z),s=i.redSub(n),f=o.redSub(a);if(0===s.cmpn(0))if(0!==f.cmpn(0))return this.curve.jpoint(null,null,null);else return this.dbl();var c=s.redSqr(),u=c.redMul(s),l=i.redMul(c),d=f.redSqr().redIAdd(u).redISub(l).redISub(l),h=f.redMul(l.redISub(d)).redISub(o.redMul(u)),p=this.z.redMul(s);return this.curve.jpoint(d,h,p)},l.prototype.dblp=function(t){if(0===t||this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var r=this,i=0;i<t;i++)r=r.dbl();return r}for(var n=this.curve.a,o=this.curve.tinv,a=this.x,s=this.y,f=this.z,c=f.redSqr().redSqr(),u=s.redAdd(s),i=0;i<t;i++){var l=a.redSqr(),d=u.redSqr(),h=d.redSqr(),p=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),b=a.redMul(d),g=p.redSqr().redISub(b.redAdd(b)),m=b.redISub(g),y=p.redMul(m);y=y.redIAdd(y).redISub(h);var v=u.redMul(f);i+1<t&&(c=c.redMul(h)),a=g,f=v,u=y}return this.curve.jpoint(a,u.redMul(o),f)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){if(this.zOne){var t,r,i,n=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(a);s=s.redIAdd(s);var f=n.redAdd(n).redIAdd(n),c=f.redSqr().redISub(s).redISub(s),u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),t=c,r=f.redMul(s.redISub(c)).redISub(u),i=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),p=this.x.redAdd(d).redSqr().redISub(l).redISub(h);p=p.redIAdd(p);var b=l.redAdd(l).redIAdd(l),g=b.redSqr(),m=h.redIAdd(h);m=(m=m.redIAdd(m)).redIAdd(m),t=g.redISub(p).redISub(p),r=b.redMul(p.redISub(t)).redISub(m),i=(i=this.y.redMul(this.z)).redIAdd(i)}return this.curve.jpoint(t,r,i)},l.prototype._threeDbl=function(){if(this.zOne){var t,r,i,n=this.x.redSqr(),o=this.y.redSqr(),a=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(a);s=s.redIAdd(s);var f=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=f.redSqr().redISub(s).redISub(s);t=c;var u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),r=f.redMul(s.redISub(c)).redISub(u),i=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),p=this.x.redSub(l).redMul(this.x.redAdd(l));p=p.redAdd(p).redIAdd(p);var b=h.redIAdd(h),g=(b=b.redIAdd(b)).redAdd(b);t=p.redSqr().redISub(g),i=this.y.redAdd(this.z).redSqr().redISub(d).redISub(l);var m=d.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),r=p.redMul(b.redISub(t)).redISub(m)}return this.curve.jpoint(t,r,i)},l.prototype._dbl=function(){var t=this.curve.a,r=this.x,i=this.y,n=this.z,o=n.redSqr().redSqr(),a=r.redSqr(),s=i.redSqr(),f=a.redAdd(a).redIAdd(a).redIAdd(t.redMul(o)),c=r.redAdd(r),u=(c=c.redIAdd(c)).redMul(s),l=f.redSqr().redISub(u.redAdd(u)),d=u.redISub(l),h=s.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);
vendor: 4,377 bytes, line 1
1var p=f.redMul(d).redISub(h),b=i.redAdd(i).redMul(n);return this.curve.jpoint(l,p,b)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),r=this.y.redSqr(),i=this.z.redSqr(),n=r.redSqr(),o=t.redAdd(t).redIAdd(t),a=o.redSqr(),s=this.x.redAdd(r).redSqr().redISub(t).redISub(n),f=(s=(s=(s=s.redIAdd(s)).redAdd(s).redIAdd(s)).redISub(a)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=o.redIAdd(s).redSqr().redISub(a).redISub(f).redISub(c),l=r.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var d=this.x.redMul(f).redISub(l);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.y.redMul(u.redMul(c.redISub(u)).redISub(s.redMul(f)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var p=this.z.redAdd(s).redSqr().redISub(i).redISub(f);return this.curve.jpoint(d,h,p)},l.prototype.mul=function(t,r){return t=new o(t,r),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var r=this.z.redSqr(),i=t.z.redSqr();if(0!==this.x.redMul(i).redISub(t.x.redMul(r)).cmpn(0))return!1;var n=r.redMul(this.z),o=i.redMul(t.z);return 0===this.y.redMul(o).redISub(t.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(t){var r=this.z.redSqr(),i=t.toRed(this.curve.red).redMul(r);if(0===this.x.cmp(i))return!0;for(var n=t.clone(),o=this.curve.redN.redMul(r);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(i.redIAdd(o),0===this.x.cmp(i))return!0}},l.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)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},7736:function(t,r,i){"use strict";var n,o=r,a=i(8044),s=i(7942),f=i(3355).assert;function c(t){"short"===t.type?this.curve=new s.short(t):"edwards"===t.type?this.curve=new s.edwards(t):this.curve=new s.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,f(this.g.validate(),"Invalid curve"),f(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(t,r){Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:function(){var i=new c(r);return Object.defineProperty(o,t,{configurable:!0,enumerable:!0,value:i}),i}})}o.PresetCurve=c,u("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"]}),u("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"]}),u("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"]}),u("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"]}
1),u("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"]}),u("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"]}),u("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{n=i(5827)}catch(t){n=void 0}u("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"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},1039:function(t,r,i){"use strict";var n=i(5944),o=i(3730),a=i(3355),s=i(7736),f=i(4259),c=a.assert,u=i(2632),l=i(4233);function d(t){if(!(this instanceof d))return new d(t);"string"==typeof t&&(c(s.hasOwnProperty(t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=d,d.prototype.keyPair=function(t){return new u(this,t)},d.prototype.keyFromPrivate=function(t,r){return u.fromPrivate(this,t,r)},d.prototype.keyFromPublic=function(t,r){return u.fromPublic(this,t,r)},d.prototype.genKeyPair=function(t){t||(t={});for(var r=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||f(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),i=this.n.byteLength(),a=this.n.sub(new n(2));;){var s=new n(r.generate(i));if(!(s.cmp(a)>0))return s.iaddn(1),this.keyFromPrivate(s)}},d.prototype._truncateToN=function(t,r){var i=8*t.byteLength()-this.n.bitLength();return(i>0&&(t=t.ushrn(i)),!r&&t.cmp(this.n)>=0)?t.sub(this.n):t},d.prototype.sign=function(t,r,i,a){"object"==typeof i&&(a=i,i=null),a||(a={}),r=this.keyFromPrivate(r,i),t=this._truncateToN(new n(t,16));for(var s=this.n.byteLength(),f=r.getPrivate().toArray("be",s),c=t.toArray("be",s),u=new o({hash:this.hash,entropy:f,nonce:c,pers:a.pers,persEnc:a.persEnc||"utf8"}),d=this.n.sub(new n(1)),h=0;;h++){var p=a.k?a.k(h):new n(u.generate(this.n.byteLength()));if(0>=(p=this._truncateToN(p,!0)).cmpn(1)||p.cmp(d)>=0)continue;var b=this.g.mul(p);if(!b.isInfinity()){var g=b.getX(),m=g.umod(this.n);if(0!==m.cmpn(0)){var y=p.invm(this.n).mul(m.mul(r.getPrivate()).iadd(t));if(0!==(y=y.umod(this.n)).cmpn(0)){var v=!!b.getY().isOdd()|2*(0!==g.cmp(m));return a.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),v^=1),new l({r:m,s:y,recoveryParam:v})}}}}},d.prototype.verify=function(t,r,i,o){t=this._truncateToN(new n(t,16)),i=this.keyFromPublic(i,o);var a=(r=new l(r,"hex")).r,s=r.s;if(0>a.cmpn(1)||a.cmp(this.n)>=0||0>s.cmpn(1)||s.cmp(this.n)>=0)return!1;var f=s.invm(this.n),c=f.mul(t).umod(this.n),u=f.mul(a).umod(this.n);if(!this.curve._maxwellTrick){var d=this.g.mulAdd(c,i.getPublic(),u);return!d.isInfinity()&&0===d.getX().umod(this.n).cmp(a)}var d=this.g.jmulAdd(c,i.getPublic(),u);return!d.isInfinity()&&d.eqXToP(a)},d.prototype.recoverPubKey=function(t,r,i,o){c((3&i)===i,"The recovery param is more than two bits"),r=new l(r,o);var a=this.n,s=new n(t),f=r.r,u=r.s,d=1&i,h=i>>1;
1if(f.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw Error("Unable to find sencond key candinate");f=h?this.curve.pointFromX(f.add(this.curve.n),d):this.curve.pointFromX(f,d);var p=r.r.invm(a),b=a.sub(s).mul(p).umod(a),g=u.mul(p).umod(a);return this.g.mulAdd(b,f,g)},d.prototype.getKeyRecoveryParam=function(t,r,i,n){if(null!==(r=new l(r,n)).recoveryParam)return r.recoveryParam;for(var o,a=0;a<4;a++){try{o=this.recoverPubKey(t,r,a)}catch(t){continue}if(o.eq(i))return a}throw Error("Unable to find valid recovery factor")}},2632:function(t,r,i){"use strict";var n=i(5944),o=i(3355).assert;function a(t,r){this.ec=t,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}t.exports=a,a.fromPublic=function(t,r,i){return r instanceof a?r:new a(t,{pub:r,pubEnc:i})},a.fromPrivate=function(t,r,i){return r instanceof a?r:new a(t,{priv:r,privEnc:i})},a.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.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(t,r){return("string"==typeof t&&(r=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),r)?this.pub.encode(r,t):this.pub},a.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},a.prototype._importPrivate=function(t,r){this.priv=new n(t,r||16),this.priv=this.priv.umod(this.ec.curve.n)},a.prototype._importPublic=function(t,r){if(t.x||t.y){"mont"===this.ec.curve.type?o(t.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&o(t.x&&t.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(t.x,t.y);return}this.pub=this.ec.curve.decodePoint(t,r)},a.prototype.derive=function(t){return t.mul(this.priv).getX()},a.prototype.sign=function(t,r,i){return this.ec.sign(t,this,r,i)},a.prototype.verify=function(t,r){return this.ec.verify(t,r,this)},a.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},4233:function(t,r,i){"use strict";var n=i(5944),o=i(3355),a=o.assert;function s(t,r){if(t instanceof s)return t;this._importDER(t,r)||(a(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function f(){this.place=0}function c(t,r){var i=t[r.place++];if(!(128&i))return i;var n=15&i;if(0===n||n>4)return!1;for(var o=0,a=0,s=r.place;a<n;a++,s++)o<<=8,o|=t[s],o>>>=0;return!(o<=127)&&(r.place=s,o)}function u(t){for(var r=0,i=t.length-1;!t[r]&&!(128&t[r+1])&&r<i;)r++;return 0===r?t:t.slice(r)}function l(t,r){if(r<128)return void t.push(r);var i=1+(Math.log(r)/Math.LN2>>>3);for(t.push(128|i);--i;)t.push(r>>>(i<<3)&255);t.push(r)}t.exports=s,s.prototype._importDER=function(t,r){t=o.toArray(t,r);var i=new f;if(48!==t[i.place++])return!1;var a=c(t,i);if(!1===a||a+i.place!==t.length||2!==t[i.place++])return!1;var s=c(t,i);if(!1===s)return!1;var u=t.slice(i.place,s+i.place);if(i.place+=s,2!==t[i.place++])return!1;var l=c(t,i);if(!1===l||t.length!==l+i.place)return!1;var d=t.slice(i.place,l+i.place);if(0===u[0])if(!(128&u[1]))return!1;else u=u.slice(1);if(0===d[0])if(!(128&d[1]))return!1;else d=d.slice(1);return this.r=new n(u),this.s=new n(d),this.recoveryParam=null,!0},s.prototype.toDER=function(t){var r=this.r.toArray(),i=this.s.toArray();for(128&r[0]&&(r=[0].concat(r)),128&i[0]&&(i=[0].concat(i)),r=u(r),i=u(i);!i[0]&&!(128&i[1]);)i=i.slice(1);var n=[2];l(n,r.length),(n=n.concat(r)).push(2),l(n,i.length);var a=n.concat(i),s=[48];return l(s,a.length),s=s.concat(a),o.encode(s,t)}},4226:function(t,r,i){"use strict";var n=i(8044),o=i(7736),a=i(3355),s=a.assert,f=a.parseBytes,c=i(1101),u=i(2164);function l(t){if(s("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);var t=o[t].curve;this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=l,l.prototype.sign=function(t,r){t=f(t);var i=this.keyFromSecret(r),n=this.hashInt(i.messagePrefix(),t),o=this.g.mul(n),a=this.encodePoint(o),s=this.hashInt(a,i.pubBytes(),t).mul(i.priv()),c=n.add(s).umod(this.curve.n);return this.makeSignature({R:o,S:c,Rencoded:a})},l.prototype.verify=function(t,r,i){t=f(t),r=this.makeSignature(r);var n=this.keyFromPublic(i),o=this.hashInt(r.Rencoded(),n.pubBytes(),t),a=this.g.mul(r.S());return r.R().add(n.pub().mul(o)).eq(a)},l.prototype.hashInt=function(){for(var t=this.hash(),r=0;r<arguments.length;r++)t.update(arguments[r]);return a.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return c.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return c.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof u?t:new u(this,t)},l.prototype.encodePoint=function(t){var r=t.getY().toArray("le",this.encodingLength);return r[this.encodingLength-1]|=128*!!t.getX().isOdd(),r},l.prototype.decodePoint=function(t){var r=(t=a.parseBytes(t)).length-1,i=t.slice(0,r).concat(-129&t[r]),n=(128&t[r])!=0,o=a.intFromLE(i);return this.curve.pointFromY(o,n)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return a.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},1101:function(t,r,i){"use strict";var n=i(3355),o=n.assert,a=n.parseBytes,s=n.cachedProperty;
vendor: 2,137 bytes, line 1
1function f(t,r){this.eddsa=t,this._secret=a(r.secret),t.isPoint(r.pub)?this._pub=r.pub:this._pubBytes=a(r.pub)}f.fromPublic=function(t,r){return r instanceof f?r:new f(t,{pub:r})},f.fromSecret=function(t,r){return r instanceof f?r:new f(t,{secret:r})},f.prototype.secret=function(){return this._secret},s(f,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),s(f,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),s(f,"privBytes",function(){var t=this.eddsa,r=this.hash(),i=t.encodingLength-1,n=r.slice(0,t.encodingLength);return n[0]&=248,n[i]&=127,n[i]|=64,n}),s(f,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),s(f,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),s(f,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),f.prototype.sign=function(t){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},f.prototype.verify=function(t,r){return this.eddsa.verify(t,r,this)},f.prototype.getSecret=function(t){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},f.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=f},2164:function(t,r,i){"use strict";var n=i(5944),o=i(3355),a=o.assert,s=o.cachedProperty,f=o.parseBytes;function c(t,r){this.eddsa=t,"object"!=typeof r&&(r=f(r)),Array.isArray(r)&&(r={R:r.slice(0,t.encodingLength),S:r.slice(t.encodingLength)}),a(r.R&&r.S,"Signature without R or S"),t.isPoint(r.R)&&(this._R=r.R),r.S instanceof n&&(this._S=r.S),this._Rencoded=Array.isArray(r.R)?r.R:r.Rencoded,this._Sencoded=Array.isArray(r.S)?r.S:r.Sencoded}s(c,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),s(c,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),s(c,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),s(c,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c},5827:function(t){t
vendor: 26,137 bytes, line 1
1.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"]]}}},
13355:function(t,r,i){"use strict";var n=r,o=i(5944),a=i(7551),s=i(7356);function f(t){return"string"==typeof t?n.toArray(t,"hex"):t}n.assert=a,n.toArray=s.toArray,n.zero2=s.zero2,n.toHex=s.toHex,n.encode=s.encode,n.getNAF=function(t,r,i){var n=Array(Math.max(t.bitLength(),i)+1);n.fill(0);for(var o=1<<r+1,a=t.clone(),s=0;s<n.length;s++){var f,c=a.andln(o-1);a.isOdd()?(f=c>(o>>1)-1?(o>>1)-c:c,a.isubn(f)):f=0,n[s]=f,a.iushrn(1)}return n},n.getJSF=function(t,r){var i=[[],[]];t=t.clone(),r=r.clone();for(var n=0,o=0;t.cmpn(-n)>0||r.cmpn(-o)>0;){var a,s,f=t.andln(3)+n&3,c=r.andln(3)+o&3;if(3===f&&(f=-1),3===c&&(c=-1),(1&f)==0)a=0;else{var u=t.andln(7)+n&7;a=(3===u||5===u)&&2===c?-f:f}if(i[0].push(a),(1&c)==0)s=0;else{var u=r.andln(7)+o&7;s=(3===u||5===u)&&2===f?-c:c}i[1].push(s),2*n===a+1&&(n=1-n),2*o===s+1&&(o=1-o),t.iushrn(1),r.iushrn(1)}return i},n.cachedProperty=function(t,r,i){var n="_"+r;t.prototype[r]=function(){return void 0!==this[n]?this[n]:this[n]=i.call(this)}},n.parseBytes=f,n.intFromLE=function(t){return new o(t,"hex","le")}},689:function(t,r,i){var n=i(5725).Buffer,o=i(3858);t.exports=function(t,r,i,a){if(n.isBuffer(t)||(t=n.from(t,"binary")),r&&(n.isBuffer(r)||(r=n.from(r,"binary")),8!==r.length))throw RangeError("salt should be Buffer with 8 byte length");for(var s=i/8,f=n.alloc(s),c=n.alloc(a||0),u=n.alloc(0);s>0||a>0;){var l=new o;l.update(u),l.update(t),r&&l.update(r),u=l.digest();var d=0;if(s>0){var h=f.length-s;d=Math.min(s,u.length),u.copy(f,h,0,d),s-=d}if(d<u.length&&a>0){var p=c.length-a,b=Math.min(a,u.length-d);u.copy(c,p,d,d+b),a-=b}}return u.fill(0),{key:f,iv:c}}},2321:function(t,r,i){"use strict";var n=i(5725).Buffer,o=i(5486).Transform;function a(t,r){if(!n.isBuffer(t)&&"string"!=typeof t)throw TypeError(r+" must be a string or a buffer")}function s(t){o.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}i(1638)(s,o),s.prototype._transform=function(t,r,i){var n=null;try{this.update(t,r)}catch(t){n=t}i(n)},s.prototype._flush=function(t){var r=null;try{this.push(this.digest())}catch(t){r=t}t(r)},s.prototype.update=function(t,r){if(a(t,"Data"),this._finalized)throw Error("Digest already called");n.isBuffer(t)||(t=n.from(t,r));for(var i=this._block,o=0;this._blockOffset+t.length-o>=this._blockSize;){for(var s=this._blockOffset;s<this._blockSize;)i[s++]=t[o++];this._update(),this._blockOffset=0}for(;o<t.length;)i[this._blockOffset++]=t[o++];for(var f=0,c=8*t.length;c>0;++f)this._length[f]+=c,(c=this._length[f]/0x100000000|0)>0&&(this._length[f]-=0x100000000*c);return this},s.prototype._update=function(){throw Error("_update is not implemented")},s.prototype.digest=function(t){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var r=this._digest();void 0!==t&&(r=r.toString(t)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return r},s.prototype._digest=function(){throw Error("_digest is not implemented")},t.exports=s},8044:function(t,r,i){var n=r;n.utils=i(6302),n.common=i(1226),n.sha=i(4857),n.ripemd=i(9956),n.hmac=i(2184),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},1226:function(t,r,i){"use strict";var n=i(6302),o=i(7551);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}
vendor: 9,648 bytes, line 1
1r.BlockHash=a,a.prototype.update=function(t,r){if(t=n.toArray(t,r),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var i=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-i,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-i,this.endian);for(var o=0;o<t.length;o+=this._delta32)this._update(t,o,o+this._delta32)}return this},a.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},a.prototype._pad=function(){var t=this.pendingTotal,r=this._delta8,i=r-(t+this.padLength)%r,n=Array(i+this.padLength);n[0]=128;for(var o=1;o<i;o++)n[o]=0;if(t<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)n[o++]=0;n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=t>>>24&255,n[o++]=t>>>16&255,n[o++]=t>>>8&255,n[o++]=255&t}else for(n[o++]=255&t,n[o++]=t>>>8&255,n[o++]=t>>>16&255,n[o++]=t>>>24&255,n[o++]=0,n[o++]=0,n[o++]=0,n[o++]=0,a=8;a<this.padLength;a++)n[o++]=0;return n}},2184:function(t,r,i){"use strict";var n=i(6302),o=i(7551);function a(t,r,i){if(!(this instanceof a))return new a(t,r,i);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(r,i))}t.exports=a,a.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),o(t.length<=this.blockSize);for(var r=t.length;r<this.blockSize;r++)t.push(0);for(r=0;r<t.length;r++)t[r]^=54;for(this.inner=(new this.Hash).update(t),r=0;r<t.length;r++)t[r]^=106;this.outer=(new this.Hash).update(t)},a.prototype.update=function(t,r){return this.inner.update(t,r),this},a.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},9956:function(t,r,i){"use strict";var n=i(6302),o=i(1226),a=n.rotl32,s=n.sum32,f=n.sum32_3,c=n.sum32_4,u=o.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.endian="little"}function d(t,r,i,n){return t<=15?r^i^n:t<=31?r&i|~r&n:t<=47?(r|~i)^n:t<=63?r&n|i&~n:r^(i|~n)}function h(t){return t<=15?0:t<=31?0x5a827999:t<=47?0x6ed9eba1:t<=63?0x8f1bbcdc:0xa953fd4e}function p(t){return t<=15?0x50a28be6:t<=31?0x5c4dd124:t<=47?0x6d703ef3:0x7a6d76e9*!!(t<=63)}n.inherits(l,u),r.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,r){for(var i=this.h[0],n=this.h[1],o=this.h[2],u=this.h[3],l=this.h[4],v=i,x=n,w=o,_=u,S=l,E=0;E<80;E++){var M=s(a(c(i,d(E,n,o,u),t[b[E]+r],h(E)),m[E]),l);i=l,l=u,u=a(o,10),o=n,n=M,M=s(a(c(v,d(79-E,x,w,_),t[g[E]+r],p(E)),y[E]),S),v=S,S=_,_=a(w,10),w=x,x=M}M=f(this.h[1],o,_),this.h[1]=f(this.h[2],u,S),this.h[2]=f(this.h[3],l,v),this.h[3]=f(this.h[4],i,x),this.h[4]=f(this.h[0],n,w),this.h[0]=M},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var b=[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],g=[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],y=[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]},4857:function(t,r,i){"use strict";r.sha1=i(2953),r.sha224=i(5334),r.sha256=i(5563),r.sha384=i(4811),r.sha512=i(5978)},2953:function(t,r,i){"use strict";var n=i(6302),o=i(1226),a=i(9101),s=n.rotl32,f=n.sum32,c=n.sum32_5,u=a.ft_1,l=o.BlockHash,d=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function h(){if(!(this instanceof h))return new h;l.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}n.inherits(h,l),t.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(t,r){for(var i=this.W,n=0;n<16;n++)i[n]=t[r+n];for(;n<i.length;n++)i[n]=s(i[n-3]^i[n-8]^i[n-14]^i[n-16],1);var o=this.h[0],a=this.h[1],l=this.h[2],h=this.h[3],p=this.h[4];for(n=0;n<i.length;n++){var b=~~(n/20),g=c(s(o,5),u(b,a,l,h),p,i[n],d[b]);p=h,h=l,l=s(a,30),a=o,o=g}this.h[0]=f(this.h[0],o),this.h[1]=f(this.h[1],a),this.h[2]=f(this.h[2],l),this.h[3]=f(this.h[3],h),this.h[4]=f(this.h[4],p)},h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},5334:function(t,r,i){"use strict";var n=i(6302),o=i(5563);function a(){if(!(this instanceof a))return new a;o.call(this),this.h=[0xc1059ed8,0x367cd507,0x3070dd17,0xf70e5939,0xffc00b31,0x68581511,0x64f98fa7,0xbefa4fa4]}n.inherits(a,o),t.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},5563:function(t,r,i){"use strict";var n=i(6302),o=i(1226),a=i(9101),s=i(7551),f=n.sum32,c=n.sum32_4,u=n.sum32_5,l=a.ch32,d=a.maj32,h=a.s0_256,p=a.s1_256,b=a.g0_256,g=a.g1_256,m=o.BlockHash,y=[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;m.call(this),this.h=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],this.k=y,this.W=Array(64)}n.inherits(v,m),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,r){for(var i=this.W,n=0;n<16;n++)i[n]=t[r+n];for(;n<i.length;n++)i[n]=c(g(i[n-2]),i[n-7],b(i[n-15]),i[n-16]);var o=this.h[0],a=this.h[1],m=this.h[2],y=this.h[3],v=this.h[4],x=this.h[5],w=this.h[6],_=this.h[7];for(s(this.k.length===i.length),n=0;n<i.length;n++){var S=u(_,p(v),l(v,x,w),this.k[n],i[n]),E=f(h(o),d(o,a,m));_=w,w=x,x=v,v=f(y,S),y=m,m=a,a=o,o=f(S,E)}this.h[0]=f(this.h[0],o),this.h[1]=f(this.h[1],a),this.h[2]=f(this.h[2],m),this.h[3]=f(this.h[3],y),this.h[4]=f(this.h[4],v),this.h[5]=f(this.h[5],x),this.h[6]=f(this.h[6],w),this.h[7]=f(this.h[7],_)},v.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},4811:function(t,r,i){"use strict";var n=i(6302),o=i(5978);function a(){if(!(this instanceof a))return new a;o.call(this),this.h=[0xcbbb9d5d,0xc1059ed8,0x629a292a,0x367cd507,0x9159015a,0x3070dd17,0x152fecd8,0xf70e5939,0x67332667,0xffc00b31,0x8eb44a87,0x68581511,0xdb0c2e0d,0x64f98fa7,0x47b5481d,0xbefa4fa4]}n.inherits(a,o),t.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},5978:function(t,r,i){"use strict";var n=i(6302),o=i(1226),a=i(7551),s=n.rotr64_hi,f=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,d=n.sum64_hi,h=n.sum64_lo,p=n.sum64_4_hi,b=n.sum64_4_lo,g=n.sum64_5_hi,m=n.sum64_5_lo,y=o.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 x(){if(!(this instanceof x))return new x;
1y.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 w(t,r,i,n,o){var a=t&i^~t&o;return a<0&&(a+=0x100000000),a}function _(t,r,i,n,o,a){var s=r&n^~r&a;return s<0&&(s+=0x100000000),s}function S(t,r,i,n,o){var a=t&i^t&o^i&o;return a<0&&(a+=0x100000000),a}function E(t,r,i,n,o,a){var s=r&n^r&a^n&a;return s<0&&(s+=0x100000000),s}function M(t,r){var i=s(t,r,28)^s(r,t,2)^s(r,t,7);return i<0&&(i+=0x100000000),i}function A(t,r){var i=f(t,r,28)^f(r,t,2)^f(r,t,7);return i<0&&(i+=0x100000000),i}function T(t,r){var i=s(t,r,14)^s(t,r,18)^s(r,t,9);return i<0&&(i+=0x100000000),i}function k(t,r){var i=f(t,r,14)^f(t,r,18)^f(r,t,9);return i<0&&(i+=0x100000000),i}function R(t,r){var i=s(t,r,1)^s(t,r,8)^c(t,r,7);return i<0&&(i+=0x100000000),i}function I(t,r){var i=f(t,r,1)^f(t,r,8)^u(t,r,7);return i<0&&(i+=0x100000000),i}function L(t,r){var i=s(t,r,19)^s(r,t,29)^c(t,r,6);return i<0&&(i+=0x100000000),i}function O(t,r){var i=f(t,r,19)^f(r,t,29)^u(t,r,6);return i<0&&(i+=0x100000000),i}n.inherits(x,y),t.exports=x,x.blockSize=1024,x.outSize=512,x.hmacStrength=192,x.padLength=128,x.prototype._prepareBlock=function(t,r){for(var i=this.W,n=0;n<32;n++)i[n]=t[r+n];for(;n<i.length;n+=2){var o=L(i[n-4],i[n-3]),a=O(i[n-4],i[n-3]),s=i[n-14],f=i[n-13],c=R(i[n-30],i[n-29]),u=I(i[n-30],i[n-29]),l=i[n-32],d=i[n-31];i[n]=p(o,a,s,f,c,u,l,d),i[n+1]=b(o,a,s,f,c,u,l,d)}},x.prototype._update=function(t,r){this._prepareBlock(t,r);var i=this.W,n=this.h[0],o=this.h[1],s=this.h[2],f=this.h[3],c=this.h[4],u=this.h[5],p=this.h[6],b=this.h[7],y=this.h[8],v=this.h[9],x=this.h[10],R=this.h[11],I=this.h[12],L=this.h[13],O=this.h[14],j=this.h[15];a(this.k.length===i.length);for(var N=0;N<i.length;N+=2){var C=O,B=j,P=T(y,v),D=k(y,v),U=w(y,v,x,R,I),z=_(y,v,x,R,I,L),H=this.k[N],Y=this.k[N+1],q=i[N],F=i[N+1],V=g(C,B,P,D,U,z,H,Y,q,F),K=m(C,B,P,D,U,z,H,Y,q,F);C=M(n,o),B=A(n,o);var $=d(C,B,P=S(n,o,s,f,c),D=E(n,o,s,f,c,u)),W=h(C,B,P,D);O=I,j=L,I=x,L=R,x=y,R=v,y=d(p,b,V,K),v=h(b,b,V,K),p=c,b=u,c=s,u=f,s=n,f=o,n=d(V,K,$,W),o=h(V,K,$,W)}l(this.h,0,n,o),l(this.h,2,s,f),l(this.h,4,c,u),l(this.h,6,p,b),l(this.h,8,y,v),l(this.h,10,x,R),l(this.h,12,I,L),l(this.h,14,O,j)},x.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},9101:function(t,r,i){"use strict";var n=i(6302).rotr32;function o(t,r,i){return t&r^~t&i}function a(t,r,i){return t&r^t&i^r&i}function s(t,r,i){return t^r^i}r.ft_1=function(t,r,i,n){return 0===t?o(r,i,n):1===t||3===t?s(r,i,n):2===t?a(r,i,n):void 0},r.ch32=o,r.maj32=a,r.p32=s,r.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},r.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},r.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},r.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},6302:function(t,r,i){"use strict";var n=i(7551);function o(t,r){return(64512&t.charCodeAt(r))==55296&&!(r<0)&&!(r+1>=t.length)&&(64512&t.charCodeAt(r+1))==56320}function a(t){return(t>>>24|t>>>8&65280|t<<8&0xff0000|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function f(t){if(7===t.length)return"0"+t;if(6===t.length)return"00"+t;if(5===t.length)return"000"+t;if(4===t.length)return"0000"+t;if(3===t.length)return"00000"+t;else if(2===t.length)return"000000"+t;else if(1===t.length)return"0000000"+t;else return t}r.inherits=i(1638),r.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var i=[];if("string"==typeof t)if(r){if("hex"===r)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),a=0;a<t.length;a+=2)i.push(parseInt(t[a]+t[a+1],16))}else for(var n=0,a=0;a<t.length;a++){var s=t.charCodeAt(a);s<128?i[n++]=s:(s<2048?i[n++]=s>>6|192:(o(t,a)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++a)),i[n++]=s>>18|240,i[n++]=s>>12&63|128):i[n++]=s>>12|224,i[n++]=s>>6&63|128),i[n++]=63&s|128)}else for(a=0;a<t.length;a++)i[a]=0|t[a];return i},r.toHex=function(t){for(var r="",i=0;i<t.length;i++)r+=s(t[i].toString(16));return r},r.htonl=a,r.toHex32=function(t,r){for(var i="",n=0;n<t.length;n++){var o=t[n];
vendor: 6,852 bytes, line 1
1"little"===r&&(o=a(o)),i+=f(o.toString(16))}return i},r.zero2=s,r.zero8=f,r.join32=function(t,r,i,o){var a,s=i-r;n(s%4==0);for(var f=Array(s/4),c=0,u=r;c<f.length;c++,u+=4)a="big"===o?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],f[c]=a>>>0;return f},r.split32=function(t,r){for(var i=Array(4*t.length),n=0,o=0;n<t.length;n++,o+=4){var a=t[n];"big"===r?(i[o]=a>>>24,i[o+1]=a>>>16&255,i[o+2]=a>>>8&255,i[o+3]=255&a):(i[o+3]=a>>>24,i[o+2]=a>>>16&255,i[o+1]=a>>>8&255,i[o]=255&a)}return i},r.rotr32=function(t,r){return t>>>r|t<<32-r},r.rotl32=function(t,r){return t<<r|t>>>32-r},r.sum32=function(t,r){return t+r>>>0},r.sum32_3=function(t,r,i){return t+r+i>>>0},r.sum32_4=function(t,r,i,n){return t+r+i+n>>>0},r.sum32_5=function(t,r,i,n,o){return t+r+i+n+o>>>0},r.sum64=function(t,r,i,n){var o=t[r],a=n+t[r+1]>>>0,s=+(a<n)+i+o;t[r]=s>>>0,t[r+1]=a},r.sum64_hi=function(t,r,i,n){return+(r+n>>>0<r)+t+i>>>0},r.sum64_lo=function(t,r,i,n){return r+n>>>0},r.sum64_4_hi=function(t,r,i,n,o,a,s,f){var c,u=r;return t+i+o+s+(c=0+ +((u=u+n>>>0)<r)+ +((u=u+a>>>0)<a)+ +((u=u+f>>>0)<f))>>>0},r.sum64_4_lo=function(t,r,i,n,o,a,s,f){return r+n+a+f>>>0},r.sum64_5_hi=function(t,r,i,n,o,a,s,f,c,u){var l,d=r;return t+i+o+s+c+(l=0+ +((d=d+n>>>0)<r)+ +((d=d+a>>>0)<a)+ +((d=d+f>>>0)<f)+ +((d=d+u>>>0)<u))>>>0},r.sum64_5_lo=function(t,r,i,n,o,a,s,f,c,u){return r+n+a+f+u>>>0},r.rotr64_hi=function(t,r,i){return(r<<32-i|t>>>i)>>>0},r.rotr64_lo=function(t,r,i){return(t<<32-i|r>>>i)>>>0},r.shr64_hi=function(t,r,i){return t>>>i},r.shr64_lo=function(t,r,i){return(t<<32-i|r>>>i)>>>0}},3730:function(t,r,i){"use strict";var n=i(8044),o=i(7356),a=i(7551);function s(t){if(!(this instanceof s))return new s(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var r=o.toArray(t.entropy,t.entropyEnc||"hex"),i=o.toArray(t.nonce,t.nonceEnc||"hex"),n=o.toArray(t.pers,t.persEnc||"hex");a(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(r,i,n)}t.exports=s,s.prototype._init=function(t,r,i){var n=t.concat(r).concat(i);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var o=0;o<this.V.length;o++)this.K[o]=0,this.V[o]=1;this._update(n),this._reseed=1,this.reseedInterval=0x1000000000000},s.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},s.prototype._update=function(t){var r=this._hmac().update(this.V).update([0]);t&&(r=r.update(t)),this.K=r.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},s.prototype.reseed=function(t,r,i,n){"string"!=typeof r&&(n=i,i=r,r=null),t=o.toArray(t,r),i=o.toArray(i,n),a(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(i||[])),this._reseed=1},s.prototype.generate=function(t,r,i,n){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof r&&(n=i,i=r,r=null),i&&(i=o.toArray(i,n||"hex"),this._update(i));for(var a=[];a.length<t;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var s=a.slice(0,t);return this._update(i),this._reseed++,o.encode(s,r)}},1638:function(t){"function"==typeof Object.create?t.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,r){if(r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}},3858:function(t,r,i){"use strict";var n=i(1638),o=i(2321),a=i(5725).Buffer,s=Array(16);function f(){o.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476}function c(t,r){return t<<r|t>>>32-r}function u(t,r,i,n,o,a,s){return c(t+(r&i|~r&n)+o+a|0,s)+r|0}function l(t,r,i,n,o,a,s){return c(t+(r&n|i&~n)+o+a|0,s)+r|0}function d(t,r,i,n,o,a,s){return c(t+(r^i^n)+o+a|0,s)+r|0}function h(t,r,i,n,o,a,s){return c(t+(i^(r|~n))+o+a|0,s)+r|0}n(f,o),f.prototype._update=function(){for(var t=s,r=0;r<16;++r)t[r]=this._block.readInt32LE(4*r);var i=this._a,n=this._b,o=this._c,a=this._d;i=u(i,n,o,a,t[0],0xd76aa478,7),a=u(a,i,n,o,t[1],0xe8c7b756,12),o=u(o,a,i,n,t[2],0x242070db,17),n=u(n,o,a,i,t[3],0xc1bdceee,22),i=u(i,n,o,a,t[4],0xf57c0faf,7),a=u(a,i,n,o,t[5],0x4787c62a,12),o=u(o,a,i,n,t[6],0xa8304613,17),n=u(n,o,a,i,t[7],0xfd469501,22),i=u(i,n,o,a,t[8],0x698098d8,7),a=u(a,i,n,o,t[9],0x8b44f7af,12),o=u(o,a,i,n,t[10],0xffff5bb1,17),n=u(n,o,a,i,t[11],0x895cd7be,22),i=u(i,n,o,a,t[12],0x6b901122,7),a=u(a,i,n,o,t[13],0xfd987193,12),o=u(o,a,i,n,t[14],0xa679438e,17),n=u(n,o,a,i,t[15],0x49b40821,22),i=l(i,n,o,a,t[1],0xf61e2562,5),a=l(a,i,n,o,t[6],0xc040b340,9),o=l(o,a,i,n,t[11],0x265e5a51,14),n=l(n,o,a,i,t[0],0xe9b6c7aa,20),i=l(i,n,o,a,t[5],0xd62f105d,5),a=l(a,i,n,o,t[10],0x2441453,9),o=l(o,a,i,n,t[15],0xd8a1e681,14),n=l(n,o,a,i,t[4],0xe7d3fbc8,20),i=l(i,n,o,a,t[9],0x21e1cde6,5),a=l(a,i,n,o,t[14],0xc33707d6,9),o=l(o,a,i,n,t[3],0xf4d50d87,14),n=l(n,o,a,i,t[8],0x455a14ed,20),i=l(i,n,o,a,t[13],0xa9e3e905,5),a=l(a,i,n,o,t[2],0xfcefa3f8,9),o=l(o,a,i,n,t[7],0x676f02d9,14),n=l(n,o,a,i,t[12],0x8d2a4c8a,20),i=d(i,n,o,a,t[5],0xfffa3942,4),a=d(a,i,n,o,t[8],0x8771f681,11),o=d(o,a,i,n,t[11],0x6d9d6122,16),n=d(n,o,a,i,t[14],0xfde5380c,23),i=d(i,n,o,a,t[1],0xa4beea44,4),a=d(a,i,n,o,t[4],0x4bdecfa9,11),o=d(o,a,i,n,t[7],0xf6bb4b60,16),n=d(n,o,a,i,t[10],0xbebfbc70,23),i=d(i,n,o,a,t[13],0x289b7ec6,4),a=d(a,i,n,o,t[0],0xeaa127fa,11),o=d(o,a,i,n,t[3],0xd4ef3085,16),n=d(n,o,a,i,t[6],0x4881d05,23),i=d(i,n,o,a,t[9],0xd9d4d039,4),a=d(a,i,n,o,t[12],0xe6db99e5,11),o=d(o,a,i,n,t[15],0x1fa27cf8,16),n=d(n,o,a,i,t[2],0xc4ac5665,23),i=h(i,n,o,a,t[0],0xf4292244,6),a=h(a,i,n,o,t[7],0x432aff97,10),o=h(o,a,i,n,t[14],0xab9423a7,15),n=h(n,o,a,i,t[5],0xfc93a039,21),i=h(i,n,o,a,t[12],0x655b59c3,6),a=h(a,i,n,o,t[3],0x8f0ccc92,10),o=h(o,a,i,n,t[10],0xffeff47d,15),n=h(n,o,a,i,t[1],0x85845dd1,21),i=h(i,n,o,a,t[8],0x6fa87e4f,6),a=h(a,i,n,o,t[15],0xfe2ce6e0,10),o=h(o,a,i,n,t[6],0xa3014314,15),n=h(n,o,a,i,t[13],0x4e0811a1,21),i=h(i,n,o,a,t[4],0xf7537e82,6),a=h(a,i,n,o,t[11],0xbd3af235,10),o=h(o,a,i,n,t[2],0x2ad7d2bb,15),n=h(n,o,a,i,t[9],0xeb86d391,21),this._a=this._a+i|0,this._b=this._b+n|0,this._c=this._c+o|0,this._d=this._d+a|0},f.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 t=a.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t}
1,t.exports=f},6821:function(t,r,i){var n=i(5944),o=i(4259);function a(t){this.rand=t||new o.Rand}t.exports=a,a.create=function(t){return new a(t)},a.prototype._randbelow=function(t){var r=Math.ceil(t.bitLength()/8);do var i=new n(this.rand.generate(r));while(i.cmp(t)>=0)return i},a.prototype._randrange=function(t,r){var i=r.sub(t);return t.add(this._randbelow(i))},a.prototype.test=function(t,r,i){var o=t.bitLength(),a=n.mont(t),s=new n(1).toRed(a);r||(r=Math.max(1,o/48|0));for(var f=t.subn(1),c=0;!f.testn(c);c++);for(var u=t.shrn(c),l=f.toRed(a),d=!0;r>0;r--){var h=this._randrange(new n(2),f);i&&i(h);var p=h.toRed(a).redPow(u);if(0!==p.cmp(s)&&0!==p.cmp(l)){for(var b=1;b<c;b++){if(0===(p=p.redSqr()).cmp(s))return!1;if(0===p.cmp(l))break}if(b===c)return!1}}return d},a.prototype.getDivisor=function(t,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);r||(r=Math.max(1,i/48|0));for(var s=t.subn(1),f=0;!s.testn(f);f++);for(var c=t.shrn(f),u=s.toRed(o);r>0;r--){var l=this._randrange(new n(2),s),d=t.gcd(l);if(0!==d.cmpn(1))return d;var h=l.toRed(o).redPow(c);if(0!==h.cmp(a)&&0!==h.cmp(u)){for(var p=1;p<f;p++){if(0===(h=h.redSqr()).cmp(a))return h.fromRed().subn(1).gcd(t);if(0===h.cmp(u))break}if(p===f)return(h=h.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},7551:function(t){function r(t,r){if(!t)throw Error(r||"Assertion failed")}t.exports=r,r.equal=function(t,r,i){if(t!=r)throw Error(i||"Assertion failed: "+t+" != "+r)}},7356:function(t,r){"use strict";var i=r;function n(t){return 1===t.length?"0"+t:t}function o(t){for(var r="",i=0;i<t.length;i++)r+=n(t[i].toString(16));return r}i.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var i=[];if("string"!=typeof t){for(var n=0;n<t.length;n++)i[n]=0|t[n];return i}if("hex"===r){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t);for(var n=0;n<t.length;n+=2)i.push(parseInt(t[n]+t[n+1],16))}else for(var n=0;n<t.length;n++){var o=t.charCodeAt(n),a=o>>8,s=255&o;a?i.push(a,s):i.push(s)}return i},i.zero2=n,i.toHex=o,i.encode=function(t,r){return"hex"===r?o(t):t}},1907:function(t,r,i){"use strict";var n=i(9186);r.certificate=i(5627),r.RSAPrivateKey=n.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())}),r.RSAPublicKey=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}),r.PublicKey=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())});var o=n.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())});r.PrivateKey=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())}),r.EncryptedPrivateKey=n.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())}),r.DSAPrivateKey=n.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())}),r.DSAparam=n.define("DSAparam",function(){this.int()}),r.ECPrivateKey=n.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=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},5627:function(t,r,i){"use strict";var n=i(9186),o=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),f=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(a)}),u=n.define("RDNSequence",function(){this.seqof(c)}),l=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))}),h=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(l),this.key("validity").use(d),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(f),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())});
1t.exports=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())})},4059:function(t,r,i){var n=/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,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,s=i(689),f=i(8642),c=i(5725).Buffer;t.exports=function(t,r){var i,u=t.toString(),l=u.match(n);if(l){var d="aes"+l[1],h=c.from(l[2],"hex"),p=c.from(l[3].replace(/[\r\n]/g,""),"base64"),b=s(r,h.slice(0,8),parseInt(l[1],10)).key,g=[],m=f.createDecipheriv(d,b,h);g.push(m.update(p)),g.push(m.final()),i=c.concat(g)}else i=new c(u.match(a)[2].replace(/[\r\n]/g,""),"base64");return{tag:u.match(o)[1],data:i}}},8012:function(t,r,i){var n=i(1907),o=i(7016),a=i(4059),s=i(8642),f=i(4542),c=i(5725).Buffer;function u(t){"object"!=typeof t||c.isBuffer(t)||(r=t.passphrase,t=t.key),"string"==typeof t&&(t=c.from(t));var r,i,o,s=a(t,r),f=s.tag,u=s.data;switch(f){case"CERTIFICATE":o=n.certificate.decode(u,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(!o&&(o=n.PublicKey.decode(u,"der")),i=o.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(o.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return o.subjectPrivateKey=o.subjectPublicKey,{type:"ec",data:o};case"1.2.840.10040.4.1":return o.algorithm.params.pub_key=n.DSAparam.decode(o.subjectPublicKey.data,"der"),{type:"dsa",data:o.algorithm.params};default:throw Error("unknown key id "+i)}case"ENCRYPTED PRIVATE KEY":u=l(u=n.EncryptedPrivateKey.decode(u,"der"),r);case"PRIVATE KEY":switch(i=(o=n.PrivateKey.decode(u,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(o.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:o.algorithm.curve,privateKey:n.ECPrivateKey.decode(o.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return o.algorithm.params.priv_key=n.DSAparam.decode(o.subjectPrivateKey,"der"),{type:"dsa",params:o.algorithm.params};default:throw Error("unknown key id "+i)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(u,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(u,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(u,"der")};case"EC PRIVATE KEY":return{curve:(u=n.ECPrivateKey.decode(u,"der")).parameters.value,privateKey:u.privateKey};default:throw Error("unknown key type "+f)}}function l(t,r){var i=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=o[t.algorithm.decrypt.cipher.algo.join(".")],u=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,h=f.pbkdf2Sync(r,i,n,d,"sha1"),p=s.createDecipheriv(a,h,u),b=[];return b.push(p.update(l)),b.push(p.final()),c.concat(b)}t.exports=u,u.signature=n.signature},4542:function(t,r,i){var n=i(6982),o=i(4410),a=i(741),s=i(508);function f(t,r,i,f,c,u){if(o(i,f),t=s(t,a,"Password"),r=s(r,a,"Salt"),"function"==typeof c&&(u=c,c="sha1"),"function"!=typeof u)throw Error("No callback provided to pbkdf2");return n.pbkdf2(t,r,i,f,c,u)}function c(t,r,i,f,c){return o(i,f),t=s(t,a,"Password"),r=s(r,a,"Salt"),c=c||"sha1",n.pbkdf2Sync(t,r,i,f,c)}n.pbkdf2Sync&&-1!==n.pbkdf2Sync.toString().indexOf("keylen, digest")?(r.pbkdf2Sync=c,r.pbkdf2=f):(r.pbkdf2Sync=i(8291),r.pbkdf2=i(9958))},9958:function(r,i,n){var a,s=n(5725).Buffer,f=n(4410),c=n(741),u=n(8291),l=n(508),d=t.g.crypto&&t.g.crypto.subtle,h={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"},p=[];function b(r){if(t.g.process&&!t.g.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==p[r])return p[r];var i=g(a=a||s.alloc(8),a,10,128,r).then(function(){return!0}).catch(function(){return!1});return p[r]=i,i}function g(t,r,i,n,o){return d.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then(function(t){return d.deriveBits({name:"PBKDF2",salt:r,iterations:i,hash:{name:o}},t,n<<3)}).then(function(t){return s.from(t)})}function m(t,r){t.then(function(t){o.default.nextTick(function(){r(null,t)})},function(t){o.default.nextTick(function(){r(t)})})}r.exports=function(r,i,n,a,s,d){"function"==typeof s&&(d=s,s=void 0);var p=h[(s=s||"sha1").toLowerCase()];if(!p||"function"!=typeof t.g.Promise)return o.default.nextTick(function(){var t;try{t=u(r,i,n,a,s)}catch(t){return d(t)}d(null,t)});if(f(n,a),r=l(r,c,"Password"),i=l(i,c,"Salt"),"function"!=typeof d)throw Error("No callback provided to pbkdf2");m(b(p).then(function(t){return t?g(r,i,n,a,p):u(r,i,n,a,s)}),d)}},741:function(t){t.exports="utf-8"},4410:function(t){var r=0x3fffffff;t.exports=function(t,i){if("number"!=typeof t)throw TypeError("Iterations not a number");if(t<0)throw TypeError("Bad iterations");
1if("number"!=typeof i)throw TypeError("Key length not a number");if(i<0||i>r||i!=i)throw TypeError("Bad key length")}},8291:function(t,r,i){var n={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},o=i(3256),a=i(5725).Buffer,s=i(4410),f=i(741),c=i(508);t.exports=function(t,r,i,u,l){s(i,u),t=c(t,f,"Password"),r=c(r,f,"Salt"),l=l||"sha1";var d=a.allocUnsafe(u),h=a.allocUnsafe(r.length+4);r.copy(h,0,0,r.length);for(var p=0,b=n[l],g=Math.ceil(u/b),m=1;m<=g;m++){h.writeUInt32BE(m,r.length);for(var y=o(l,t).update(h).digest(),v=y,x=1;x<i;x++){v=o(l,t).update(v).digest();for(var w=0;w<b;w++)y[w]^=v[w]}y.copy(d,p),p+=b}return d}},508:function(t,r,i){var n=i(5725).Buffer;t.exports=function(t,r,i){if(n.isBuffer(t))return t;if("string"==typeof t)return n.from(t,r);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw TypeError(i+" must be a string, a Buffer, a typed array or a DataView")}},6734:function(t,r,i){r.publicEncrypt=i(6480),r.privateDecrypt=i(8284),r.privateEncrypt=function(t,i){return r.publicEncrypt(t,i,!0)},r.publicDecrypt=function(t,i){return r.privateDecrypt(t,i,!0)}},6228:function(t,r,i){var n=i(762),o=i(5725).Buffer;function a(t){var r=o.allocUnsafe(4);return r.writeUInt32BE(t,0),r}t.exports=function(t,r){for(var i,s=o.alloc(0),f=0;s.length<r;)i=a(f++),s=o.concat([s,n("sha1").update(t).update(i).digest()]);return s.slice(0,r)}},8284:function(t,r,i){var n=i(8012),o=i(6228),a=i(8723),s=i(5944),f=i(640),c=i(762),u=i(5037),l=i(5725).Buffer;function d(t,r){var i=t.modulus.byteLength(),n=c("sha1").update(l.alloc(0)).digest(),s=n.length;if(0!==r[0])throw Error("decryption error");var f=r.slice(1,s+1),u=r.slice(s+1),d=a(f,o(u,s)),h=a(u,o(d,i-s-1));if(p(n,h.slice(0,s)))throw Error("decryption error");for(var b=s;0===h[b];)b++;if(1!==h[b++])throw Error("decryption error");return h.slice(b)}function h(t,r,i){for(var n=r.slice(0,2),o=2,a=0;0!==r[o++];)if(o>=r.length){a++;break}var s=r.slice(2,o-1);if(("0002"!==n.toString("hex")&&!i||"0001"!==n.toString("hex")&&i)&&a++,s.length<8&&a++,a)throw Error("decryption error");return r.slice(o)}function p(t,r){t=l.from(t),r=l.from(r);var i=0,n=t.length;t.length!==r.length&&(i++,n=Math.min(t.length,r.length));for(var o=-1;++o<n;)i+=t[o]^r[o];return i}t.exports=function(t,r,i){var o,a=t.padding?t.padding:i?1:4,c=n(t),p=c.modulus.byteLength();if(r.length>p||new s(r).cmp(c.modulus)>=0)throw Error("decryption error");o=i?u(new s(r),c):f(r,c);var b=l.alloc(p-o.length);if(o=l.concat([b,o],p),4===a)return d(c,o);if(1===a)return h(c,o,i);if(3===a)return o;throw Error("unknown padding")}},6480:function(t,r,i){var n=i(8012),o=i(376),a=i(762),s=i(6228),f=i(8723),c=i(5944),u=i(5037),l=i(640),d=i(5725).Buffer;function h(t,r){var i=t.modulus.byteLength(),n=r.length,u=a("sha1").update(d.alloc(0)).digest(),l=u.length,h=2*l;if(n>i-h-2)throw Error("message too long");var p=d.alloc(i-n-h-2),b=i-l-1,g=o(l),m=f(d.concat([u,p,d.alloc(1,1),r],b),s(g,b)),y=f(g,s(m,l));return new c(d.concat([d.alloc(1),y,m],i))}function p(t,r,i){var n,o=r.length,a=t.modulus.byteLength();if(o>a-11)throw Error("message too long");return n=i?d.alloc(a-o-3,255):b(a-o-3),new c(d.concat([d.from([0,i?1:2]),n,d.alloc(1),r],a))}function b(t){for(var r,i=d.allocUnsafe(t),n=0,a=o(2*t),s=0;n<t;)s===a.length&&(a=o(2*t),s=0),(r=a[s++])&&(i[n++]=r);return i}t.exports=function(t,r,i){var o,a=t.padding?t.padding:i?1:4,s=n(t);if(4===a)o=h(s,r);else if(1===a)o=p(s,r,i);else if(3===a){if((o=new c(r)).cmp(s.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return i?l(o,s):u(o,s)}},5037:function(t,r,i){var n=i(5944),o=i(5725).Buffer;t.exports=function(t,r){return o.from(t.toRed(n.mont(r.modulus)).redPow(new n(r.publicExponent)).fromRed().toArray())}},8723:function(t){t.exports=function(t,r){for(var i=t.length,n=-1;++n<i;)t[n]^=r[n];return t}},376:function(r,i,n){"use strict";var a=65536,s=0xffffffff;function f(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var c=n(5725).Buffer,u=t.g.crypto||t.g.msCrypto;function l(t,r){if(t>s)throw RangeError("requested too many random bytes");var i=c.allocUnsafe(t);if(t>0)if(t>a)for(var n=0;n<t;n+=a)u.getRandomValues(i.slice(n,n+a));else u.getRandomValues(i);return"function"==typeof r?o.default.nextTick(function(){r(null,i)}):i}u&&u.getRandomValues?r.exports=l:r.exports=f},236:function(r,i,n){"use strict";function a(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=n(5725);n(376);var f=s.Buffer,c=s.kMaxLength,u=t.g.crypto||t.g.msCrypto,l=0xffffffff;function d(t,r){if("number"!=typeof t||t!=t)throw TypeError("offset must be a number");if(t>l||t<0)throw TypeError("offset must be a uint32");if(t>c||t>r)throw RangeError("offset out of range")}function h(t,r,i){if("number"!=typeof t||t!=t)throw TypeError("size must be a number");if(t>l||t<0)throw TypeError("size must be a uint32");if(t+r>i||t>c)throw RangeError("buffer too small")}function p(r,i,n,o){if(!f.isBuffer(r)&&!(r instanceof t.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof i)o=i,i=0,n=r.length;else if("function"==typeof n)o=n,n=r.length-i;else if("function"!=typeof o)throw TypeError('"cb" argument must be a function');return d(i,r.length),h(n,i,r.length),b(r,i,n,o)}function b(t,r,i,n){var a=new Uint8Array(t.buffer,r,i);return(u.getRandomValues(a),n)?void o.default.nextTick(function(){n(null,t)}):t}function g(r,i,n){if(void 0===i&&(i=0),!f.isBuffer(r)&&!(r instanceof t.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return d(i,r.length),void 0===n&&(n=r.length-i),h(n,i,r.length),b(r,i,n)}u&&u.getRandomValues?(i.randomFill=p,i.randomFillSync=g):(i.randomFill=a,i.randomFillSync=a)},4329:function(t){"use strict";let r={};function i(t,i,n){function o(t,r,n){return"string"==typeof i?i:i(t,r,n)}n||(n=Error);class a extends n{constructor(t,r,i){super(o(t,r,i))}}a.prototype.name=n.name,a.prototype.code=t,r[t]=a}function n(t,r){if(!Array.isArray(t))return`of ${r} ${String(t)}`;{let i=t.length;return(t=t.map(t=>String(t)),i>2)?`one of ${r} ${t.slice(0,i-1).join(", ")}, or `+t[i-1]:2===i?`one of ${r} ${t[0]} or ${t[1]}`:`of ${r} ${t[0]}`}}function o(t,r,i){return t.substr(!i||i<0?0:+i,r.length)===r}function a(t,r,i){return(void 0===i||i>t.length)&&(i=t.length),t.substring(i-r.length,i)===r}function s(t,r,i){return"number"!=typeof i&&(i=0),!(i+r.length>t.length)&&-1!==t.indexOf(r,i)}i("ERR_INVALID_OPT_VALUE",function(t,r){return'The value "'+r+'" is invali
1d for option "'+t+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(t,r,i){let f,c;if("string"==typeof r&&o(r,"not ")?(f="must not be",r=r.replace(/^not /,"")):f="must be",a(t," argument"))c=`The ${t} ${f} ${n(r,"type")}`;else{let i=s(t,".")?"property":"argument";c=`The "${t}" ${i} ${f} ${n(r,"type")}`}return c+`. Received type ${typeof i}`},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.F=r},8686:function(t,r,i){"use strict";var n=Object.keys||function(t){var r=[];for(var i in t)r.push(i);return r};t.exports=l;var a=i(7276),s=i(4732);i(1638)(l,a);for(var f=n(s.prototype),c=0;c<f.length;c++){var u=f[c];l.prototype[u]||(l.prototype[u]=s.prototype[u])}function l(t){if(!(this instanceof l))return new l(t);a.call(this,t),s.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||o.default.nextTick(h,this)}function h(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},5512:function(t,r,i){"use strict";t.exports=o;var n=i(586);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}i(1638)(o,n),o.prototype._transform=function(t,r,i){i(null,t)}},7276:function(r,i,n){"use strict";r.exports=I,I.ReadableState=R,n(4434).EventEmitter;var a,s,f,c,u,l=function(t,r){return t.listeners(r).length},d=n(5120),h=n(181).Buffer,p=t.g.Uint8Array||function(){};function b(t){return h.from(t)}function g(t){return h.isBuffer(t)||t instanceof p}var m=n(9023);s=m&&m.debuglog?m.debuglog("stream"):function(){};var y=n(1137),v=n(2528),x=n(771).getHighWaterMark,w=n(4329).F,_=w.ERR_INVALID_ARG_TYPE,S=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,M=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(1638)(I,d);var A=v.errorOrDestroy,T=["error","close","destroy","pause","resume"];function k(t,r,i){if("function"==typeof t.prependListener)return t.prependListener(r,i);t._events&&t._events[r]?Array.isArray(t._events[r])?t._events[r].unshift(i):t._events[r]=[i,t._events[r]]:t.on(r,i)}function R(t,r,i){a=a||n(8686),t=t||{},"boolean"!=typeof i&&(i=r instanceof a),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=x(this,t,"readableHighWaterMark",i),this.buffer=new y,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(f||(f=n(7319).I),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function I(t){if(a=a||n(8686),!(this instanceof I))return new I(t);var r=this instanceof a;this._readableState=new R(t,this,r),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),d.call(this)}function L(t,r,i,n,o){s("readableAddChunk",r);var a,f=t._readableState;if(null===r)f.reading=!1,P(t,f);else if(o||(a=j(f,r)),a)A(t,a);else if(f.objectMode||r&&r.length>0)if("string"==typeof r||f.objectMode||Object.getPrototypeOf(r)===h.prototype||(r=b(r)),n)f.endEmitted?A(t,new M):O(t,f,r,!0);else if(f.ended)A(t,new S);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!i?(r=f.decoder.write(r),f.objectMode||0!==r.length?O(t,f,r,!1):z(t,f)):O(t,f,r,!1)}else n||(f.reading=!1,z(t,f));return!f.ended&&(f.length<f.highWaterMark||0===f.length)}function O(t,r,i,n){r.flowing&&0===r.length&&!r.sync?(r.awaitDrain=0,t.emit("data",i)):(r.length+=r.objectMode?1:i.length,n?r.buffer.unshift(i):r.buffer.push(i),r.needReadable&&D(t)),z(t,r)}function j(t,r){var i;return g(r)||"string"==typeof r||void 0===r||t.objectMode||(i=new _("chunk",["string","Buffer","Uint8Array"],r)),i}Object.defineProperty(I.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),I.prototype.destroy=v.destroy,I.prototype._undestroy=v.undestroy,I.prototype._destroy=function(t,r){r(t)},I.prototype.push=function(t,r){var i,n=this._readableState;return n.objectMode?i=!0:"string"==typeof t&&((r=r||n.defaultEncoding)!==n.encoding&&(t=h.from(t,r),r=""),i=!0),L(this,t,r,!1,i)},I.prototype.unshift=function(t){return L(this,t,null,!0,!1)},I.prototype.isPaused=function(){return!1===this._readableState.flowing},I.prototype.setEncoding=function(t){f||(f=n(7319).I);var r=new f(t);this._readableState.decoder=r,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 5,907 bytes, line 1
1for(var i=this._readableState.buffer.head,o="";null!==i;)o+=r.write(i.data),i=i.next;return this._readableState.buffer.clear(),""!==o&&this._readableState.buffer.push(o),this._readableState.length=o.length,this};var N=0x40000000;function C(t){return t>=N?t=N:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function B(t,r){if(t<=0||0===r.length&&r.ended)return 0;if(r.objectMode)return 1;if(t!=t)if(r.flowing&&r.length)return r.buffer.head.data.length;else return r.length;return(t>r.highWaterMark&&(r.highWaterMark=C(t)),t<=r.length)?t:r.ended?r.length:(r.needReadable=!0,0)}function P(t,r){if(s("onEofChunk"),!r.ended){if(r.decoder){var i=r.decoder.end();i&&i.length&&(r.buffer.push(i),r.length+=r.objectMode?1:i.length)}r.ended=!0,r.sync?D(t):(r.needReadable=!1,r.emittedReadable||(r.emittedReadable=!0,U(t)))}}function D(t){var r=t._readableState;s("emitReadable",r.needReadable,r.emittedReadable),r.needReadable=!1,r.emittedReadable||(s("emitReadable",r.flowing),r.emittedReadable=!0,o.default.nextTick(U,t))}function U(t){var r=t._readableState;s("emitReadable_",r.destroyed,r.length,r.ended),!r.destroyed&&(r.length||r.ended)&&(t.emit("readable"),r.emittedReadable=!1),r.needReadable=!r.flowing&&!r.ended&&r.length<=r.highWaterMark,$(t)}function z(t,r){r.readingMore||(r.readingMore=!0,o.default.nextTick(H,t,r))}function H(t,r){for(;!r.reading&&!r.ended&&(r.length<r.highWaterMark||r.flowing&&0===r.length);){var i=r.length;if(s("maybeReadMore read 0"),t.read(0),i===r.length)break}r.readingMore=!1}function Y(t){return function(){var r=t._readableState;s("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&l(t,"data")&&(r.flowing=!0,$(t))}}function q(t){var r=t._readableState;r.readableListening=t.listenerCount("readable")>0,r.resumeScheduled&&!r.paused?r.flowing=!0:t.listenerCount("data")>0&&t.resume()}function F(t){s("readable nexttick read 0"),t.read(0)}function V(t,r){r.resumeScheduled||(r.resumeScheduled=!0,o.default.nextTick(K,t,r))}function K(t,r){s("resume",r.reading),r.reading||t.read(0),r.resumeScheduled=!1,t.emit("resume"),$(t),r.flowing&&!r.reading&&t.read(0)}function $(t){var r=t._readableState;for(s("flow",r.flowing);r.flowing&&null!==t.read(););}function W(t,r){var i;return 0===r.length?null:(r.objectMode?i=r.buffer.shift():!t||t>=r.length?(i=r.decoder?r.buffer.join(""):1===r.buffer.length?r.buffer.first():r.buffer.concat(r.length),r.buffer.clear()):i=r.buffer.consume(t,r.decoder),i)}function G(t){var r=t._readableState;s("endReadable",r.endEmitted),r.endEmitted||(r.ended=!0,o.default.nextTick(J,r,t))}function J(t,r){if(s("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,r.readable=!1,r.emit("end"),t.autoDestroy)){var i=r._writableState;(!i||i.autoDestroy&&i.finished)&&r.destroy()}}function Z(t,r){for(var i=0,n=t.length;i<n;i++)if(t[i]===r)return i;return -1}I.prototype.read=function(t){s("read",t),t=parseInt(t,10);var r,i=this._readableState,n=t;if(0!==t&&(i.emittedReadable=!1),0===t&&i.needReadable&&((0!==i.highWaterMark?i.length>=i.highWaterMark:i.length>0)||i.ended))return s("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?G(this):D(this),null;if(0===(t=B(t,i))&&i.ended)return 0===i.length&&G(this),null;var o=i.needReadable;return s("need readable",o),(0===i.length||i.length-t<i.highWaterMark)&&s("length less than watermark",o=!0),i.ended||i.reading?s("reading or ended",o=!1):o&&(s("do read"),i.reading=!0,i.sync=!0,0===i.length&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,i.reading||(t=B(n,i))),null===(r=t>0?W(t,i):null)?(i.needReadable=i.length<=i.highWaterMark,t=0):(i.length-=t,i.awaitDrain=0),0===i.length&&(i.ended||(i.needReadable=!0),n!==t&&i.ended&&G(this)),null!==r&&this.emit("data",r),r},I.prototype._read=function(t){A(this,new E("_read()"))},I.prototype.pipe=function(t,r){var i=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,s("pipe count=%d opts=%j",n.pipesCount,r);var a=r&&!1===r.end||t===o.default.stdout||t===o.default.stderr?y:c;function f(t,r){s("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h())}function c(){s("onend"),t.end()}n.endEmitted?o.default.nextTick(a):i.once("end",a),t.on("unpipe",f);var u=Y(i);t.on("drain",u);var d=!1;function h(){s("cleanup"),t.removeListener("close",g),t.removeListener("finish",m),t.removeListener("drain",u),t.removeListener("error",b),t.removeListener("unpipe",f),i.removeListener("end",c),i.removeListener("end",y),i.removeListener("data",p),d=!0,n.awaitDrain&&(!t._writableState||t._writableState.needDrain)&&u()}function p(r){s("ondata");var o=t.write(r);s("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==Z(n.pipes,t))&&!d&&(s("false write response, pause",n.awaitDrain),n.awaitDrain++),i.pause())}function b(r){s("onerror",r),y(),t.removeListener("error",b),0===l(t,"error")&&A(t,r)}function g(){t.removeListener("finish",m),y()}function m(){s("onfinish"),t.removeListener("close",g),y()}function y(){s("unpipe"),i.unpipe(t)}return i.on("data",p),k(t,"error",b),t.once("close",g),t.once("finish",m),t.emit("pipe",i),n.flowing||(s("pipe resume"),i.resume()),t},I.prototype.unpipe=function(t){var r=this._readableState,i={hasUnpiped:!1};if(0===r.pipesCount)return this;if(1===r.pipesCount)return t&&t!==r.pipes||(t||(t=r.pipes),r.pipes=null,r.pipesCount=0,r.flowing=!1,t&&t.emit("unpipe",this,i)),this;if(!t){var n=r.pipes,o=r.pipesCount;r.pipes=null,r.pipesCount=0,r.flowing=!1;for(var a=0;a<o;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var s=Z(r.pipes,t);return -1===s||(r.pipes.splice(s,1),r.pipesCount-=1,1===r.pipesCount&&(r.pipes=r.pipes[0]),t.emit("unpipe",this,i)),this},I.prototype.on=function(t,r){var i=d.prototype.on.call(this,t,r),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>
vendor: 4,746 bytes, line 1
10,!1!==n.flowing&&this.resume()):"readable"!==t||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,s("on readable",n.length,n.reading),n.length?D(this):n.reading||o.default.nextTick(F,this)),i},I.prototype.addListener=I.prototype.on,I.prototype.removeListener=function(t,r){var i=d.prototype.removeListener.call(this,t,r);return"readable"===t&&o.default.nextTick(q,this),i},I.prototype.removeAllListeners=function(t){var r=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===t||void 0===t)&&o.default.nextTick(q,this),r},I.prototype.resume=function(){var t=this._readableState;return t.flowing||(s("resume"),t.flowing=!t.readableListening,V(this,t)),t.paused=!1,this},I.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},I.prototype.wrap=function(t){var r=this,i=this._readableState,n=!1;for(var o in t.on("end",function(){if(s("wrapped end"),i.decoder&&!i.ended){var t=i.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(o){s("wrapped data"),i.decoder&&(o=i.decoder.write(o)),i.objectMode&&null==o||(i.objectMode||o&&o.length)&&(r.push(o)||(n=!0,t.pause()))}),t)void 0===this[o]&&"function"==typeof t[o]&&(this[o]=function(r){return function(){return t[r].apply(t,arguments)}}(o));for(var a=0;a<T.length;a++)t.on(T[a],this.emit.bind(this,T[a]));return this._read=function(r){s("wrapped _read",r),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(I.prototype[Symbol.asyncIterator]=function(){return void 0===c&&(c=n(531)),c(this)}),Object.defineProperty(I.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(I.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(I.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),I._fromList=W,Object.defineProperty(I.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(I.from=function(t,r){return void 0===u&&(u=n(8812)),u(I,t,r)})},586:function(t,r,i){"use strict";t.exports=l;var n=i(4329).F,o=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,f=n.ERR_TRANSFORM_WITH_LENGTH_0,c=i(8686);function u(t,r){var i=this._transformState;i.transforming=!1;var n=i.writecb;if(null===n)return this.emit("error",new a);i.writechunk=null,i.writecb=null,null!=r&&this.push(r),n(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);c.call(this,t),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",d)}function d(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(r,i){h(t,r,i)})}function h(t,r,i){if(r)return t.emit("error",r);if(null!=i&&t.push(i),t._writableState.length)throw new f;if(t._transformState.transforming)throw new s;return t.push(null)}i(1638)(l,c),l.prototype.push=function(t,r){return this._transformState.needTransform=!1,c.prototype.push.call(this,t,r)},l.prototype._transform=function(t,r,i){i(new o("_transform()"))},l.prototype._write=function(t,r,i){var n=this._transformState;if(n.writecb=i,n.writechunk=t,n.writeencoding=r,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},l.prototype._read=function(t){var r=this._transformState;null===r.writechunk||r.transforming?r.needTransform=!0:(r.transforming=!0,this._transform(r.writechunk,r.writeencoding,r.afterTransform))},l.prototype._destroy=function(t,r){c.prototype._destroy.call(this,t,function(t){r(t)})}},4732:function(r,i,n){"use strict";function a(t){var r=this;this.next=null,this.entry=null,this.finish=function(){K(r,t)}}r.exports=R,R.WritableState=k;var s,f,c={deprecate:n(4774)},u=n(5120),l=n(181).Buffer,d=t.g.Uint8Array||function(){};function h(t){return l.from(t)}function p(t){return l.isBuffer(t)||t instanceof d}var b=n(2528),g=n(771).getHighWaterMark,m=n(4329).F,y=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENT
vendor: 15,391 bytes, line 1
1ED,x=m.ERR_MULTIPLE_CALLBACK,w=m.ERR_STREAM_CANNOT_PIPE,_=m.ERR_STREAM_DESTROYED,S=m.ERR_STREAM_NULL_VALUES,E=m.ERR_STREAM_WRITE_AFTER_END,M=m.ERR_UNKNOWN_ENCODING,A=b.errorOrDestroy;function T(){}function k(t,r,i){s=s||n(8686),t=t||{},"boolean"!=typeof i&&(i=r instanceof s),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=g(this,t,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===t.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){P(r,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}n(1638)(R,u),k.prototype.getBuffer=function(){for(var t=this.bufferedRequest,r=[];t;)r.push(t),t=t.next;return r};try{Object.defineProperty(k.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}function R(t){var r=this instanceof(s=s||n(8686));if(!r&&!f.call(R,this))return new R(t);this._writableState=new k(t,this,r),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),u.call(this)}function I(t,r){var i=new E;A(t,i),o.default.nextTick(r,i)}function L(t,r,i,n){var a;return null===i?a=new S:"string"==typeof i||r.objectMode||(a=new y("chunk",["string","Buffer"],i)),!a||(A(t,a),o.default.nextTick(n,a),!1)}function O(t,r,i){return t.objectMode||!1===t.decodeStrings||"string"!=typeof r||(r=l.from(r,i)),r}function j(t,r,i,n,o,a){if(!i){var s=O(r,n,o);n!==s&&(i=!0,o="buffer",n=s)}var f=r.objectMode?1:n.length;r.length+=f;var c=r.length<r.highWaterMark;if(c||(r.needDrain=!0),r.writing||r.corked){var u=r.lastBufferedRequest;r.lastBufferedRequest={chunk:n,encoding:o,isBuf:i,callback:a,next:null},u?u.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else N(t,r,!1,f,n,o,a);return c}function N(t,r,i,n,o,a,s){r.writelen=n,r.writecb=s,r.writing=!0,r.sync=!0,r.destroyed?r.onwrite(new _("write")):i?t._writev(o,r.onwrite):t._write(o,a,r.onwrite),r.sync=!1}function C(t,r,i,n,a){--r.pendingcb,i?(o.default.nextTick(a,n),o.default.nextTick(F,t,r),t._writableState.errorEmitted=!0,A(t,n)):(a(n),t._writableState.errorEmitted=!0,A(t,n),F(t,r))}function B(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function P(t,r){var i=t._writableState,n=i.sync,a=i.writecb;if("function"!=typeof a)throw new x;if(B(i),r)C(t,i,n,r,a);else{var s=H(i)||t.destroyed;s||i.corked||i.bufferProcessing||!i.bufferedRequest||z(t,i),n?o.default.nextTick(D,t,i,s,a):D(t,i,s,a)}}function D(t,r,i,n){i||U(t,r),r.pendingcb--,n(),F(t,r)}function U(t,r){0===r.length&&r.needDrain&&(r.needDrain=!1,t.emit("drain"))}function z(t,r){r.bufferProcessing=!0;var i=r.bufferedRequest;if(t._writev&&i&&i.next){var n=Array(r.bufferedRequestCount),o=r.corkedRequestsFree;o.entry=i;for(var s=0,f=!0;i;)n[s]=i,i.isBuf||(f=!1),i=i.next,s+=1;n.allBuffers=f,N(t,r,!0,r.length,n,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new a(r),r.bufferedRequestCount=0}else{for(;i;){var c=i.chunk,u=i.encoding,l=i.callback,d=r.objectMode?1:c.length;if(N(t,r,!1,d,c,u,l),i=i.next,r.bufferedRequestCount--,r.writing)break}null===i&&(r.lastBufferedRequest=null)}r.bufferedRequest=i,r.bufferProcessing=!1}function H(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function Y(t,r){t._final(function(i){r.pendingcb--,i&&A(t,i),r.prefinished=!0,t.emit("prefinish"),F(t,r)})}function q(t,r){r.prefinished||r.finalCalled||("function"!=typeof t._final||r.destroyed?(r.prefinished=!0,t.emit("prefinish")):(r.pendingcb++,r.finalCalled=!0,o.default.nextTick(Y,t,r)))}function F(t,r){var i=H(r);if(i&&(q(t,r),0===r.pendingcb)&&(r.finished=!0,t.emit("finish"),r.autoDestroy)){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return i}function V(t,r,i){r.ending=!0,F(t,r),i&&(r.finished?o.default.nextTick(i):t.once("finish",i)),r.ended=!0,t.writable=!1}function K(t,r,i){var n=t.entry;for(t.entry=null;n;){var o=n.callback;r.pendingcb--,o(i),n=n.next}r.corkedRequestsFree.next=t}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(R,Symbol.hasInstance,{value:function(t){return!!f.call(this,t)||this===R&&t&&t._writableState instanceof k}})):f=function(t){return t instanceof this},R.prototype.pipe=function(){A(this,new w)},R.prototype.write=function(t,r,i){var n=this._writableState,o=!1,a=!n.objectMode&&p(t);return a&&!l.isBuffer(t)&&(t=h(t)),"function"==typeof r&&(i=r,r=null),a?r="buffer":r||(r=n.defaultEncoding),"function"!=typeof i&&(i=T),n.ending?I(this,i):(a||L(this,n,t,i))&&(n.pendingcb++,o=j(this,n,a,t,r,i)),o},R.prototype.cork=function(){this._writableState.corked++},R.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||z(this,t))},R.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new M(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(t,r,i){i(new v("_write()"))},R.prototype._writev=null,R.prototype.end=function(t,r,i){var n=this._writableState;return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),null!=t&&this.write(t,r),n.corked&&(n.corked=1,this.uncork()),n.ending||V(this,n,i),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),R.prototype.destroy=b.destroy,R.prototype._undestroy=b.undestroy,R.prototype._destroy=function(t,r){r(t)}},531:function(t,r,i){"use strict";function n(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var a,s=i(8134),f=Symbol("lastResolve"),c=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),d=Symbol("lastPromise"),h=Symbol("handlePromise"),p=Symbol("stream");function b(t,r){return{value:t,done:r}}function g(t){var r=t[f];if(null!==r){var i=t[p].read();null!==i&&(t[d]=null,t[f]=null,t[c]=null,r(b(i,!1)))}}function m(t){o.default.nextTick(g,t)}function y(t,r){return function(i,n){t.then(function(){r[l]?i(b(void 0,!0)):r[h](i,n)},n)}}var v=Object.getPrototypeOf(function(){}),x=Object.setPrototypeOf((n(a={get stream(){return this[p]},next:function(){var t,r=this,i=this[u];if(null!==i)return Promise.reject(i);if(this[l])return Promise.resolve(b(void 0,!0));if(this[p].destroyed)return new Promise(function(t,i){o.default.nextTick(function(){r[u]?i(r[u]):t(b(void 0,!0))})});var n=this[d];if(n)t=new Promise(y(n,this));else{var a=this[p].read();if(null!==a)return Promise.resolve(b(a,!1));t=new Promise(this[h])}return this[d]=t,t}},Symbol.asyncIterator,function(){return this}),n(a,"return",function(){var t=this;return new Promise(function(r,i){t[p].destroy(null,function(t){t?i(t):r(b(void 0,!0))})})}),a),v);t.exports=function(t){var r,i=Object.create(x,(n(r={},p,{value:t,writable:!0}),n(r,f,{value:null,writable:!0}),n(r,c,{value:null,writable:!0}),n(r,u,{value:null,writable:!0}),n(r,l,{value:t._readableState.endEmitted,writable:!0}),n(r,h,{value:function(t,r){var n=i[p].read();n?(i[d]=null,i[f]=null,i[c]=null,t(b(n,!1))):(i[f]=t,i[c]=r)},writable:!0}),r));return i[d]=null,s(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var r=i[c];null!==r&&(i[d]=null,i[f]=null,i[c]=null,r(t)),i[u]=t;return}var n=i[f];null!==n&&(i[d]=null,i[f]=null,i[c]=null,n(b(void 0,!0))),i[l]=!0}),t.on("readable",m.bind(null,i)),i}},1137:function(t,r,i){"use strict";function n(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function o(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?n(Object(i),!0).forEach(function(r){a(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function a(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function s(t,r){if(!(t instanceof r))throw TypeError("Cannot call a class as a function")}function f(t,r){for(var i=0;i<r.length;i++){var n=r[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,r,i){return r&&f(t.prototype,r),i&&f(t,i),t}var u=i(181).Buffer,l=i(9023).inspect,d=l&&l.custom||"inspect";function h(t,r,i){u.prototype.copy.call(t,r,i)}t.exports=function(){function t(){s(this,t),this.head=null,this.tail=null,this.length=0}return c(t,[{key:"push",value:function(t){var r={data:t,next:null};this.length>0?this.tail.next=r:this.head=r,this.tail=r,++this.length}},{key:"unshift",value:function(t){var r={data:t,next:this.head};0===this.length&&(this.tail=r),this.head=r,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var r=this.head,i=""+r.data;r=r.next;)i+=t+r.data;return i}},{key:"concat",value:function(t){if(0===this.length)return u.alloc(0);for(var r=u.allocUnsafe(t>>>0),i=this.head,n=0;i;)h(i.data,r,n),n+=i.data.length,i=i.next;return r}},{key:"consume",value:function(t,r){var i;return t<this.head.data.length?(i=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):i=t===this.head.data.length?this.shift():r?this._getString(t):this._getBuffer(t),i}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var r=this.head,i=1,n=r.data;for(t-=n.length;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(a===o.length?n+=o:n+=o.slice(0,t),0==(t-=a)){a===o.length?(++i,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=o.slice(a));break}++i}return this.length-=i,n}},{key:"_getBuffer",value:function(t){var r=u.allocUnsafe(t),i=this.head,n=1;for(i.data.copy(r),t-=i.data.length;i=i.next;){var o=i.data,a=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,a),0==(t-=a)){a===o.length?(++n,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(a));break}++n}return this.length-=n,r}},{key:d,value:function(t,r){return l(this,o({},r,{depth:0,customInspect:!1}))}}]),t}()},2528:function(t){"use strict";function r(t,r){n(t,r),i(t)}function i(t){t._writableState&&!t._writableState.emitClose||(!t._readableState||t._readableState.emitClose)&&t.emit("close")}function n(t,r){t.emit("error",r)}t.exports={destroy:function(t,a){var s=this,f=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return f||c?a?a(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.default.nextTick(n,this,t)):o.default.nextTick(n,this,t)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!a&&t?s._writableState?s._writableState.errorEmitted?o.default.nextTick(i,s):(s._writableState.errorEmitted=!0,o.default.nextTick(r,s,t)):o.default.nextTick(r,s,t):a?(o.default.nextTick(i,s),a(t)):o.default.nextTick(i,s)})),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(t,r){var i=t._readableState,n=t._writableState;i&&i.autoDestroy||n&&n.autoDestroy?t.destroy(r):t.emit("error",r)}}},8134:function(t,r,i){"use strict";var n=i(4329).F.ERR_STREAM_PREMATURE_CLOSE;function o(t){var r=!1;return function(){if(!r){r=!0;for(var i=arguments.length,n=Array(i),o=0;o<i;o++)n[o]=arguments[o];t.apply(this,n)}}}function a(){}function s(t){return t.setHeader&&"function"==typeof t.abort}function f(t,r,i){if("function"==typeof r)return f(t,null,r);r||(r={}),i=o(i||a);var c=r.readable||!1!==r.readable&&t.readable,u=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||h()},d=t._writableState&&t._writableState.finished,h=function(){u=!1,d=!0,c||i.call(t)},p=t._readableState&&t._readableState.endEmitted,b=function(){c=!1,p=!0,u||i.call(t)},g=function(r){i.call(t,r)},m=function(){var r;return c&&!p?(t._readableState&&t._readableState.ended||(r=new n),i.call(t,r)):u&&!d?(t._writableState&&t._writableState.ended||(r=new n),i.call(t,r)):void 0},y=function(){t.req.on("finish",h)};return s(t)?(t.on("complete",h),t.on("abort",m),t.req?y():t.on("request",y)):u&&!t._writableState&&(t.on("end",l),t.on("close",l)),t.on("end",b),t.on("finish",h),!1!==r.error&&t.on("error",g),t.on("close",m),function(){t.removeListener("complete",h),t.removeListener("abort",m),t.removeListener("request",y),t.req&&t.req.removeListener("finish",h),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",h),t.removeListener("end",b),t.removeListener("error",g),t.removeListener("close",m)}}t.exports=f},8812:function(t,r,i){"use strict";function n(t,r,i,n,o,a,s){try{var f=t[a](s),c=f.value}catch(t){i(t);return}f.done?r(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var r=this,i=arguments;return new Promise(function(o,a){var s=t.apply(r,i);function f(t){n(s,o,a,f,c,"next",t)}function c(t){n(s,o,a,f,c,"throw",t)}f(void 0)})}}function a(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,n)}return i}function s(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};
1r%2?a(Object(i),!0).forEach(function(r){f(t,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(i,r))})}return t}function f(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}var c=i(4329).F.ERR_INVALID_ARG_TYPE;t.exports=function(t,r,i){if(r&&"function"==typeof r.next)n=r;else if(r&&r[Symbol.asyncIterator])n=r[Symbol.asyncIterator]();else if(r&&r[Symbol.iterator])n=r[Symbol.iterator]();else throw new c("iterable",["Iterable"],r);var n,a=new t(s({objectMode:!0},i)),f=!1;function u(){return l.apply(this,arguments)}function l(){return(l=o(function*(){try{var t=yield n.next(),r=t.value;t.done?a.push(null):a.push((yield r))?u():f=!1}catch(t){a.destroy(t)}})).apply(this,arguments)}return a._read=function(){f||(f=!0,u())},a}},694:function(t,r,i){"use strict";function n(t){var r=!1;return function(){r||(r=!0,t.apply(void 0,arguments))}}var o,a=i(4329).F,s=a.ERR_MISSING_ARGS,f=a.ERR_STREAM_DESTROYED;function c(t){if(t)throw t}function u(t){return t.setHeader&&"function"==typeof t.abort}function l(t,r,a,s){s=n(s);var c=!1;t.on("close",function(){c=!0}),void 0===o&&(o=i(8134)),o(t,{readable:r,writable:a},function(t){if(t)return s(t);c=!0,s()});var l=!1;return function(r){if(!c&&!l){if(l=!0,u(t))return t.abort();if("function"==typeof t.destroy)return t.destroy();s(r||new f("pipe"))}}}function d(t){t()}function h(t,r){return t.pipe(r)}function p(t){return t.length&&"function"==typeof t[t.length-1]?t.pop():c}t.exports=function(){for(var t,r=arguments.length,i=Array(r),n=0;n<r;n++)i[n]=arguments[n];var o=p(i);if(Array.isArray(i[0])&&(i=i[0]),i.length<2)throw new s("streams");var a=i.map(function(r,n){var s=n<i.length-1;return l(r,s,n>0,function(r){t||(t=r),r&&a.forEach(d),s||(a.forEach(d),o(t))})});return i.reduce(h)}},771:function(t,r,i){"use strict";var n=i(4329).F.ERR_INVALID_OPT_VALUE;function o(t,r,i){return null!=t.highWaterMark?t.highWaterMark:r?t[i]:null}t.exports={getHighWaterMark:function(t,r,i,a){var s=o(r,a,i);if(null!=s){if(!(isFinite(s)&&Math.floor(s)===s)||s<0)throw new n(a?i:"highWaterMark",s);return Math.floor(s)}return t.objectMode?16:16384}}},5120:function(t,r,i){t.exports=i(2203)},5486:function(t,r,i){var n=i(2203);"disable"===o.default.env.READABLE_STREAM&&n?(t.exports=n.Readable,Object.assign(t.exports,n),t.exports.Stream=n):((r=t.exports=i(7276)).Stream=n||r,r.Readable=r,r.Writable=i(4732),r.Duplex=i(8686),r.Transform=i(586),r.PassThrough=i(5512),r.finished=i(8134),r.pipeline=i(694))},8987:function(t,r,i){"use strict";var n=i(181).Buffer,o=i(1638),a=i(2321),s=Array(16),f=[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],c=[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],u=[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],l=[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],d=[0,0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xa953fd4e],h=[0x50a28be6,0x5c4dd124,0x6d703ef3,0x7a6d76e9,0];function p(){a.call(this,64),this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0}function b(t,r){return t<<r|t>>>32-r}function g(t,r,i,n,o,a,s,f){return b(t+(r^i^n)+a+s|0,f)+o|0}function m(t,r,i,n,o,a,s,f){return b(t+(r&i|~r&n)+a+s|0,f)+o|0}function y(t,r,i,n,o,a,s,f){return b(t+((r|~i)^n)+a+s|0,f)+o|0}function v(t,r,i,n,o,a,s,f){return b(t+(r&n|i&~n)+a+s|0,f)+o|0}function x(t,r,i,n,o,a,s,f){return b(t+(r^(i|~n))+a+s|0,f)+o|0}o(p,a),p.prototype._update=function(){for(var t,r,i=s,n=0;n<16;++n)i[n]=this._block.readInt32LE(4*n);for(var o=0|this._a,a=0|this._b,p=0|this._c,w=0|this._d,_=0|this._e,S=0|this._a,E=0|this._b,M=0|this._c,A=0|this._d,T=0|this._e,k=0;k<80;k+=1)k<16?(t=g(o,a,p,w,_,i[f[k]],d[0],u[k]),r=x(S,E,M,A,T,i[c[k]],h[0],l[k])):k<32?(t=m(o,a,p,w,_,i[f[k]],d[1],u[k]),r=v(S,E,M,A,T,i[c[k]],h[1],l[k])):k<48?(t=y(o,a,p,w,_,i[f[k]],d[2],u[k]),r=y(S,E,M,A,T,i[c[k]],h[2],l[k])):k<64?(t=v(o,a,p,w,_,i[f[k]],d[3],u[k]),r=m(S,E,M,A,T,i[c[k]],h[3],l[k])):(t=x(o,a,p,w,_,i[f[k]],d[4],u[k]),r=g(S,E,M,A,T,i[c[k]],h[4],l[k])),o=_,_=w,w=b(p,10),p=a,a=t,S=T,T=A,A=b(M,10),M=E,E=r;var R=this._b+p+A|0;this._b=this._c+w+T|0,this._c=this._d+_+S|0,this._d=this._e+o+E|0,this._e=this._a+a+M|0,this._a=R},p.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 t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t}
vendor: 4,890 bytes, line 1
1,t.exports=p},5056:function(t,r,i){var n=i(181),o=n.Buffer;function a(t,r){for(var i in t)r[i]=t[i]}function s(t,r,i){return o(t,r,i)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(a(n,r),r.Buffer=s),s.prototype=Object.create(o.prototype),a(o,s),s.from=function(t,r,i){if("number"==typeof t)throw TypeError("Argument must not be a number");return o(t,r,i)},s.alloc=function(t,r,i){if("number"!=typeof t)throw TypeError("Argument must be a number");var n=o(t);return void 0!==r?"string"==typeof i?n.fill(r,i):n.fill(r):n.fill(0),n},s.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return o(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return n.SlowBuffer(t)}},5725:function(t,r,i){var n=i(181),o=n.Buffer;function a(t,r){for(var i in t)r[i]=t[i]}function s(t,r,i){return o(t,r,i)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(a(n,r),r.Buffer=s),s.prototype=Object.create(o.prototype),a(o,s),s.from=function(t,r,i){if("number"==typeof t)throw TypeError("Argument must not be a number");return o(t,r,i)},s.alloc=function(t,r,i){if("number"!=typeof t)throw TypeError("Argument must be a number");var n=o(t);return void 0!==r?"string"==typeof i?n.fill(r,i):n.fill(r):n.fill(0),n},s.allocUnsafe=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return o(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw TypeError("Argument must be a number");return n.SlowBuffer(t)}},1007:function(t,r,i){var n=i(5725).Buffer;function o(t,r){this._block=n.alloc(t),this._finalSize=r,this._blockSize=t,this._len=0}o.prototype.update=function(t,r){"string"==typeof t&&(r=r||"utf8",t=n.from(t,r));for(var i=this._block,o=this._blockSize,a=t.length,s=this._len,f=0;f<a;){for(var c=s%o,u=Math.min(a-f,o-c),l=0;l<u;l++)i[c+l]=t[f+l];s+=u,f+=u,s%o==0&&this._update(i)}return this._len+=a,this},o.prototype.digest=function(t){var r=this._len%this._blockSize;this._block[r]=128,this._block.fill(0,r+1),r>=this._finalSize&&(this._update(this._block),this._block.fill(0));var i=8*this._len;if(i<=0xffffffff)this._block.writeUInt32BE(i,this._blockSize-4);else{var n=i>>>0,o=(i-n)/0x100000000;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return t?a.toString(t):a},o.prototype._update=function(){throw Error("_update must be implemented by subclass")},t.exports=o},3251:function(t,r,i){var n=t.exports=function(t){var r=n[t=t.toLowerCase()];if(!r)throw Error(t+" is not supported (we accept pull requests)");return new r};n.sha=i(569),n.sha1=i(822),n.sha224=i(5365),n.sha256=i(1380),n.sha384=i(3840),n.sha512=i(7921)},569:function(t,r,i){var n=i(1638),o=i(1007),a=i(5725).Buffer,s=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],f=Array(80);function c(){this.init(),this._w=f,o.call(this,64,56)}function u(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function d(t,r,i,n){return 0===t?r&i|~r&n:2===t?r&i|r&n|i&n:r^i^n}n(c,o),c.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},c.prototype._update=function(t){for(var r=this._w,i=0|this._a,n=0|this._b,o=0|this._c,a=0|this._d,f=0|this._e,c=0;c<16;++c)r[c]=t.readInt32BE(4*c);for(;c<80;++c)r[c]=r[c-3]^r[c-8]^r[c-14]^r[c-16];for(var h=0;h<80;++h){var p=~~(h/20),b=u(i)+d(p,n,o,a)+f+r[h]+s[p]|0;f=a,a=o,o=l(n),n=i,i=b}this._a=i+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=f+this._e|0},c.prototype._hash=function(){var t=a.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=c},822:function(t,r,i){var n=i(1638),o=i(1007),a=i(5725).Buffer,s=[0x5a827999,0x6ed9eba1,-0x70e44324,-0x359d3e2a],f=Array(80);function c(){this.init(),this._w=f,o.call(this,64,56)}function u(t){return t<<1|t>>>31}function l(t){return t<<5|t>>>27}function d(t){return t<<30|t>>>2}function h(t,r,i,n){return 0===t?r&i|~r&n:2===t?r&i|r&n|i&n:r^i^n}n(c,o),c.prototype.init=function(){return this._a=0x67452301,this._b=0xefcdab89,this._c=0x98badcfe,this._d=0x10325476,this._e=0xc3d2e1f0,this},c.prototype._update=function(t){for(var r=this._w,i=0|this._a,n=0|this._b,o=0|this._c,a=0|this._d,f=0|this._e,c=0;c<16;++c)r[c]=t.readInt32BE(4*c);for(;c<80;++c)r[c]=u(r[c-3]^r[c-8]^r[c-14]^r[c-16]);for(var p=0;p<80;++p){var b=~~(p/20),g=l(i)+h(b,n,o,a)+f+r[p]+s[b]|0;f=a,a=o,o=d(n),n=i,i=g}this._a=i+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=f+this._e|0},c.prototype._hash=function(){var t=a.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t}
vendor: 5,920 bytes, line 1
1,t.exports=c},5365:function(t,r,i){var n=i(1638),o=i(1380),a=i(1007),s=i(5725).Buffer,f=Array(64);function c(){this.init(),this._w=f,a.call(this,64,56)}n(c,o),c.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},c.prototype._hash=function(){var t=s.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=c},1380:function(t,r,i){var n=i(1638),o=i(1007),a=i(5725).Buffer,s=[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],f=Array(64);function c(){this.init(),this._w=f,o.call(this,64,56)}function u(t,r,i){return i^t&(r^i)}function l(t,r,i){return t&r|i&(t|r)}function d(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function h(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function p(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}function b(t){return(t>>>17|t<<15)^(t>>>19|t<<13)^t>>>10}n(c,o),c.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},c.prototype._update=function(t){for(var r=this._w,i=0|this._a,n=0|this._b,o=0|this._c,a=0|this._d,f=0|this._e,c=0|this._f,g=0|this._g,m=0|this._h,y=0;y<16;++y)r[y]=t.readInt32BE(4*y);for(;y<64;++y)r[y]=b(r[y-2])+r[y-7]+p(r[y-15])+r[y-16]|0;for(var v=0;v<64;++v){var x=m+h(f)+u(f,c,g)+s[v]+r[v]|0,w=d(i)+l(i,n,o)|0;m=g,g=c,c=f,f=a+x|0,a=o,o=n,n=i,i=x+w|0}this._a=i+this._a|0,this._b=n+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=f+this._e|0,this._f=c+this._f|0,this._g=g+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var t=a.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=c},3840:function(t,r,i){var n=i(1638),o=i(7921),a=i(1007),s=i(5725).Buffer,f=Array(160);function c(){this.init(),this._w=f,a.call(this,128,112)}n(c,o),c.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},c.prototype._hash=function(){var t=s.allocUnsafe(48);function r(r,i,n){t.writeInt32BE(r,n),t.writeInt32BE(i,n+4)}return r(this._ah,this._al,0),r(this._bh,this._bl,8),r(this._ch,this._cl,16),r(this._dh,this._dl,24),r(this._eh,this._el,32),r(this._fh,this._fl,40),t},t.exports=c},7921:function(t,r,i){var n=i(1638),o=i(1007),a=i(5725).Buffer,s=[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],f=Array(160);function c(){this.init(),this._w=f,o.call(this,128,112)}function u(t,r,i){return i^t&(r^i)}function l(t,r,i){return t&r|i&(t|r)}function d(t,r){return(t>>>28|r<<4)^(r>>>2|t<<30)^(r>>>7|t<<25)}function h(t,r){return(t>>>14|r<<18)^(t>>>18|r<<14)^(r>>>9|t<<23)}function p(t,r){return(t>>>1|r<<31)^(t>>>8|r<<24)^t>>>7}function b(t,r){return(t>>>1|r<<31)^(t>>>8|r<<24)^(t>>>7|r<<25)}function g(t,r){return(t>>>19|r<<13)^(r>>>29|t<<3)^t>>>6}function m(t,r){return(t>>>19|r<<13)^(r>>>29|t<<3)^(t>>>6|r<<26)}function y(t,r){return+(t>>>0<r>>>0)}
vendor: 5,845 bytes, line 1
1n(c,o),c.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},c.prototype._update=function(t){for(var r=this._w,i=0|this._ah,n=0|this._bh,o=0|this._ch,a=0|this._dh,f=0|this._eh,c=0|this._fh,v=0|this._gh,x=0|this._hh,w=0|this._al,_=0|this._bl,S=0|this._cl,E=0|this._dl,M=0|this._el,A=0|this._fl,T=0|this._gl,k=0|this._hl,R=0;R<32;R+=2)r[R]=t.readInt32BE(4*R),r[R+1]=t.readInt32BE(4*R+4);for(;R<160;R+=2){var I=r[R-30],L=r[R-30+1],O=p(I,L),j=b(L,I),N=g(I=r[R-4],L=r[R-4+1]),C=m(L,I),B=r[R-14],P=r[R-14+1],D=r[R-32],U=r[R-32+1],z=j+P|0,H=O+B+y(z,j)|0;H=(H=H+N+y(z=z+C|0,C)|0)+D+y(z=z+U|0,U)|0,r[R]=H,r[R+1]=z}for(var Y=0;Y<160;Y+=2){H=r[Y],z=r[Y+1];var q=l(i,n,o),F=l(w,_,S),V=d(i,w),K=d(w,i),$=h(f,M),W=h(M,f),G=s[Y],J=s[Y+1],Z=u(f,c,v),X=u(M,A,T),Q=k+W|0,ee=x+$+y(Q,k)|0;ee=(ee=(ee=ee+Z+y(Q=Q+X|0,X)|0)+G+y(Q=Q+J|0,J)|0)+H+y(Q=Q+z|0,z)|0;var et=K+F|0,er=V+q+y(et,K)|0;x=v,k=T,v=c,T=A,c=f,A=M,f=a+ee+y(M=E+Q|0,E)|0,a=o,E=S,o=n,S=_,n=i,_=w,i=ee+er+y(w=Q+et|0,Q)|0}this._al=this._al+w|0,this._bl=this._bl+_|0,this._cl=this._cl+S|0,this._dl=this._dl+E|0,this._el=this._el+M|0,this._fl=this._fl+A|0,this._gl=this._gl+T|0,this._hl=this._hl+k|0,this._ah=this._ah+i+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,_)|0,this._ch=this._ch+o+y(this._cl,S)|0,this._dh=this._dh+a+y(this._dl,E)|0,this._eh=this._eh+f+y(this._el,M)|0,this._fh=this._fh+c+y(this._fl,A)|0,this._gh=this._gh+v+y(this._gl,T)|0,this._hh=this._hh+x+y(this._hl,k)|0},c.prototype._hash=function(){var t=a.allocUnsafe(64);function r(r,i,n){t.writeInt32BE(r,n),t.writeInt32BE(i,n+4)}return r(this._ah,this._al,0),r(this._bh,this._bl,8),r(this._ch,this._cl,16),r(this._dh,this._dl,24),r(this._eh,this._el,32),r(this._fh,this._fl,40),r(this._gh,this._gl,48),r(this._hh,this._hl,56),t},t.exports=c},7319:function(t,r,i){"use strict";var n=i(5056).Buffer,o=n.isEncoding||function(t){switch((t=""+t)&&t.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(t){var r;if(!t)return"utf8";for(;;)switch(t){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 t;default:if(r)return;t=(""+t).toLowerCase(),r=!0}}function s(t){var r=a(t);if("string"!=typeof r&&(n.isEncoding===o||!o(t)))throw Error("Unknown encoding: "+t);return r||t}function f(t){var r;switch(this.encoding=s(t),this.encoding){case"utf16le":this.text=b,this.end=g,r=4;break;case"utf8":this.fillLast=d,r=4;break;case"base64":this.text=m,this.end=y,r=3;break;default:this.write=v,this.end=x;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(r)}function c(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function u(t,r,i){var n=r.length-1;if(n<i)return 0;var o=c(r[n]);return o>=0?(o>0&&(t.lastNeed=o-1),o):--n<i||-2===o?0:(o=c(r[n]))>=0?(o>0&&(t.lastNeed=o-2),o):--n<i||-2===o?0:(o=c(r[n]))>=0?(o>0&&(2===o?o=0:t.lastNeed=o-3),o):0}function l(t,r,i){if((192&r[0])!=128)return t.lastNeed=0,"�";if(t.lastNeed>1&&r.length>1){if((192&r[1])!=128)return t.lastNeed=1,"�";if(t.lastNeed>2&&r.length>2&&(192&r[2])!=128)return t.lastNeed=2,"�"}}function d(t){var r=this.lastTotal-this.lastNeed,i=l(this,t,r);return void 0!==i?i:this.lastNeed<=t.length?(t.copy(this.lastChar,r,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(t.copy(this.lastChar,r,0,t.length),this.lastNeed-=t.length)}function h(t,r){var i=u(this,t,r);if(!this.lastNeed)return t.toString("utf8",r);this.lastTotal=i;var n=t.length-(i-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",r,n)}function p(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+"�":r}function b(t,r){if((t.length-r)%2==0){var i=t.toString("utf16le",r);if(i){var n=i.charCodeAt(i.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],i.slice(0,-1)}return i}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",r,t.length-1)}function g(t){var r=t&&t.length?this.write(t):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,i)}return r}function m(t,r){var i=(t.length-r)%3;return 0===i?t.toString("base64",r):(this.lastNeed=3-i,this.lastTotal=3,1===i?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",r,t.length-i))}function y(t){var r=t&&t.length?this.write(t):"";return this.lastNeed?r+this.lastChar.toString("base64",0,3-this.lastNeed):r}function v(t){return t.toString(this.encoding)}function x(t){return t&&t.length?this.write(t):""}r.I=f,f.prototype.write=function(t){var r,i;if(0===t.length)return"";if(this.lastNeed){if(void 0===(r=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?r?r+this.text(t,i):this.text(t,i):r||""},f.prototype.end=p,f.prototype.text=h,f.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},4774:function(r){function i(r){try{if(!t.g.localStorage)return!1}catch(t){return!1}var i=t.g.localStorage[r];return null!=i&&"true"===String(i).toLowerCase()}r.exports=function t(t,r){if(i("noDeprecation"))return t;var n=!1;
1return function(){if(!n){if(i("throwDeprecation"))throw Error(r);i("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return t.apply(this,arguments)}}},181:function(r){"use strict";r.exports=t.r(43943)},6982:function(r){"use strict";r.exports=t.r(86914)},4434:function(r){"use strict";r.exports=t.r(30662)},2203:function(r){"use strict";r.exports=t.r(12569)},3193:function(r){"use strict";r.exports=t.r(52706)},9023:function(r){"use strict";r.exports=t.r(77398)},9154:function(r){"use strict";r.exports=t.r(13385)},3349:function(t){"use strict";t.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"}}')},3678:function(t){"use strict";t.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"}}')},6456:function(t){"use strict";
1t.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"}')},7821:function(t){"use strict";t.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"}}')},4497:function(t){"use strict";t.exports={rE:"6.5.3"}},7016:function(t){"use strict";t.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"}')}},s={};function f(t){var r=s[t];if(void 0!==r)return r.exports;var i=s[t]={id:t,loaded:!1,exports:{}},n=!0;try{a[t].call(i.exports,i,i.exports,f),n=!1}finally{n&&delete s[t]}return i.loaded=!0,i.exports}f.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},f.ab="/ROOT/node_modules/next/dist/compiled/crypto-browserify/";var c={};!function(){"use strict";var t=c;t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=f(376),t.createHash=t.Hash=f(762),t.createHmac=t.Hmac=f(3256);var r=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(f(6713)));t.getHashes=function(){return r};var i=f(4542);t.pbkdf2=i.pbkdf2,t.pbkdf2Sync=i.pbkdf2Sync;var n=f(9131);t.Cipher=n.Cipher,t.createCipher=n.createCipher,t.Cipheriv=n.Cipheriv,t.createCipheriv=n.createCipheriv,t.Decipher=n.Decipher,t.createDecipher=n.createDecipher,t.Decipheriv=n.Decipheriv,t.createDecipheriv=n.createDecipheriv,t.getCiphers=n.getCiphers,t.listCiphers=n.listCiphers;var o=f(857);t.DiffieHellmanGroup=o.DiffieHellmanGroup,t.createDiffieHellmanGroup=o.createDiffieHellmanGroup,t.getDiffieHellman=o.getDiffieHellman,t.createDiffieHellman=o.createDiffieHellman,t.DiffieHellman=o.DiffieHellman;var a=f(2926);t.createSign=a.createSign,t.Sign=a.Sign,t.createVerify=a.createVerify,t.Verify=a.Verify,t.createECDH=f(8814);var s=f(6734);t.publicEncrypt=s.publicEncrypt,t.privateEncrypt=s.privateEncrypt,t.publicDecrypt=s.publicDecrypt,t.privateDecrypt=s.privateDecrypt;var u=f(236);t.randomFill=u.randomFill,t.randomFillSync=u.randomFillSync,t.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},t.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}}(),r.exports=c},5500,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return _}});let n=t.r(55682),o=t.r(90809),a=t.r(43476),s=o._(t.r(71645)),f=n._(t.r(74080)),c=n._(t.r(25633)),u=t.r(8927),l=t.r(87690),d=t.r(18556),h=t.r(65856),p=n._(t.r(1948)),b=t.r(18581),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
1ities:[75,80,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(t,r,i,n,o,a,s){let f=t?.src;t&&t["data-loaded-src"]!==f&&(t["data-loaded-src"]=f,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==r&&o(!0),i?.current){let r=new Event("load");Object.defineProperty(r,"target",{writable:!1,value:t});let n=!1,o=!1;i.current({...r,nativeEvent:r,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,r.preventDefault()},stopPropagation:()=>{o=!0,r.stopPropagation()}})}n?.current&&n.current(t)}}))}function y(t){return s.use?{fetchPriority:t}:{fetchpriority:t}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v="u"<typeof window?s.useEffect:s.useLayoutEffect,x=(0,s.forwardRef)(({src:t,srcSet:r,sizes:i,height:n,width:o,decoding:f,className:c,style:u,fetchPriority:l,placeholder:d,loading:h,unoptimized:p,fill:g,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:_,setShowAltText:S,sizesInput:E,onLoad:M,onError:A,...T},k)=>{let R=(0,s.useRef)(!1),I=(0,s.useRef)(null);v(()=>{let{current:t}=R,{current:r}=I;t||null===r||(A&&(r.src=r.src),r.complete&&m(r,d,x,w,_,p,E),R.current=!0)},[t,d,x,w,A,p,E]);let L=(0,b.useMergedRef)(k,I);return(0,a.jsx)("img",{...T,...y(l),loading:h,width:o,height:n,decoding:f,"data-nimg":g?"fill":"1",className:c,style:u,sizes:i,srcSet:r,src:t,ref:L,onLoad:t=>{m(t.currentTarget,d,x,w,_,p,E)},onError:t=>{S(!0),"empty"!==d&&_(!0),A&&A(t)}})});function w({isAppRouter:t,imgAttributes:r}){let i={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&f.default.preload?(f.default.preload(r.src,i),null):(0,a.jsx)(c.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...i},"__nimg-"+r.src+r.srcSet+r.sizes)})}let _=(0,s.forwardRef)((t,r)=>{let i=!(0,s.useContext)(h.RouterContext),n=(0,s.useContext)(d.ImageConfigContext),o=(0,s.useMemo)(()=>{let t=g||n||l.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((t,r)=>t-r),i=t.deviceSizes.sort((t,r)=>t-r),o=t.qualities?.sort((t,r)=>t-r);return{...t,allSizes:r,deviceSizes:i,qualities:o,localPatterns:"u"<typeof window?n?.localPatterns:t.localPatterns}},[n]),{onLoad:f,onLoadingComplete:c}=t,b=(0,s.useRef)(f);(0,s.useEffect)(()=>{b.current=f},[f]);let m=(0,s.useRef)(c);(0,s.useEffect)(()=>{m.current=c},[c]);let[y,v]=(0,s.useState)(!1),[_,S]=(0,s.useState)(!1),{props:E,meta:M}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:o,blurComplete:y,showAltText:_});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x,{...E,unoptimized:M.unoptimized,placeholder:M.placeholder,fill:M.fill,onLoadRef:b,onLoadingCompleteRef:m,setBlurComplete:v,setShowAltText:S,sizesInput:t.sizes,ref:r}),M.preload?(0,a.jsx)(w,{isAppRouter:i,imgAttributes:E}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),r.exports=i.default)},67034,(t,r,i)=>{var n={872:function(t,r){"use strict";r.byteLength=u,r.toByteArray=d,r.fromByteArray=b;for(var i=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,f=a.length;s<f;++s)i[s]=a[s],n[a.charCodeAt(s)]=s;function c(t){var r=t.length;if(r%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=r);var n=i===r?0:4-i%4;return[i,n]}function u(t){var r=c(t),i=r[0],n=r[1];return(i+n)*3/4-n}function l(t,r,i){return(r+i)*3/4-i}function d(t){var r,i,a=c(t),s=a[0],f=a[1],u=new o(l(t,s,f)),d=0,h=f>0?s-4:s;for(i=0;i<h;i+=4)r=n[t.charCodeAt(i)]<<18|n[t.charCodeAt(i+1)]<<12|n[t.charCodeAt(i+2)]<<6|n[t.charCodeAt(i+3)],u[d++]=r>>16&255,u[d++]=r>>8&255,u[d++]=255&r;return 2===f&&(r=n[t.charCodeAt(i)]<<2|n[t.charCodeAt(i+1)]>>4,u[d++]=255&r),1===f&&(r=n[t.charCodeAt(i)]<<10|n[t.charCodeAt(i+1)]<<4|n[t.charCodeAt(i+2)]>>2,u[d++]=r>>8&255,u[d++]=255&r),u}function h(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function p(t,r,i){for(var n=[],o=r;o<i;o+=3)n.push(h((t[o]<<16&0xff0000)+(t[o+1]<<8&65280)+(255&t[o+2])));return n.join("")}function b(t){for(var r,n=t.length,o=n%3,a=[],s=16383,f=0,c=n-o;f<c;f+=s)a.push(p(t,f,f+s>c?c:f+s));return 1===o?a.push(i[(r=t[n-1])>>2]+i[r<<4&63]+"=="):2===o&&a.push(i[(r=(t[n-2]<<8)+t[n-1])>>10]+i[r>>4&63]+i[r<<2&63]+"="),a.join("")}n[45]=62,n[95]=63},230:function(t,r,i){"use strict";var n=i(872),o=i(321),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=u,r.SlowBuffer=x,r.INSPECT_MAX_BYTES=50;var s=0x7fffffff;function f(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),42===t.foo()}catch(t){return!1}}function c(t){if(t>
vendor: 18,372 bytes, line 1
1s)throw RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,u.prototype),r}function u(t,r,i){if("number"==typeof t){if("string"==typeof r)throw TypeError('The "string" argument must be of type string. Received type number');return p(t)}return l(t,r,i)}function l(t,r,i){if("string"==typeof t)return b(t,r);if(ArrayBuffer.isView(t))return g(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))return m(t,r,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,r,i);var o=y(t);if(o)return o;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),r,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function d(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t,r,i){return(d(t),t<=0)?c(t):void 0!==r?"string"==typeof i?c(t).fill(r,i):c(t).fill(r):c(t)}function p(t){return d(t),c(t<0?0:0|v(t))}function b(t,r){if(("string"!=typeof r||""===r)&&(r="utf8"),!u.isEncoding(r))throw TypeError("Unknown encoding: "+r);var i=0|w(t,r),n=c(i),o=n.write(t,r);return o!==i&&(n=n.slice(0,o)),n}function g(t){for(var r=t.length<0?0:0|v(t.length),i=c(r),n=0;n<r;n+=1)i[n]=255&t[n];return i}function m(t,r,i){var n;if(r<0||t.byteLength<r)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===r&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,r):new Uint8Array(t,r,i),u.prototype),n}function y(t){if(u.isBuffer(t)){var r=0|v(t.length),i=c(r);return 0===i.length||t.copy(i,0,0,r),i}return void 0!==t.length?"number"!=typeof t.length||Q(t.length)?c(0):g(t):"Buffer"===t.type&&Array.isArray(t.data)?g(t.data):void 0}function v(t){if(t>=s)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|t}function x(t){return+t!=t&&(t=0),u.alloc(+t)}function w(t,r){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;for(var o=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return J(t).length;default:if(o)return n?-1:$(t).length;r=(""+r).toLowerCase(),o=!0}}function _(t,r,i){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(r>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,r,i);case"utf8":case"utf-8":return j(this,r,i);case"ascii":return B(this,r,i);case"latin1":case"binary":return P(this,r,i);case"base64":return O(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,r,i);default:if(n)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function S(t,r,i){var n=t[r];t[r]=t[i],t[i]=n}function E(t,r,i,n,o){if(0===t.length)return -1;if("string"==typeof i?(n=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),Q(i*=1)&&(i=o?0:t.length-1),i<0&&(i=t.length+i),i>=t.length)if(o)return -1;else i=t.length-1;else if(i<0)if(!o)return -1;else i=0;if("string"==typeof r&&(r=u.from(r,n)),u.isBuffer(r))return 0===r.length?-1:M(t,r,i,n,o);if("number"==typeof r){if(r&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(t,r,i);else return Uint8Array.prototype.lastIndexOf.call(t,r,i);return M(t,[r],i,n,o)}throw TypeError("val must be string, number or Buffer")}function M(t,r,i,n,o){var a,s=1,f=t.length,c=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return -1;s=2,f/=2,c/=2,i/=2}function u(t,r){return 1===s?t[r]:t.readUInt16BE(r*s)}if(o){var l=-1;for(a=i;a<f;a++)if(u(t,a)===u(r,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*s}else -1!==l&&(a-=a-l),l=-1}else for(i+c>f&&(i=f-c),a=i;a>=0;a--){for(var d=!0,h=0;h<c;h++)if(u(t,a+h)!==u(r,h)){d=!1;break}if(d)return a}return -1}function A(t,r,i,n){i=Number(i)||0;var o=t.length-i;n?(n=Number(n))>o&&(n=o):n=o;var a=r.length;n>a/2&&(n=a/2);for(var s=0;s<n;++s){var f=parseInt(r.substr(2*s,2),16);if(Q(f))break;t[i+s]=f}return s}function T(t,r,i,n){return Z($(r,t.length-i),t,i,n)}function k(t,r,i,n){return Z(W(r),t,i,n)}function R(t,r,i,n){return k(t,r,i,n)}function I(t,r,i,n){return Z(J(r),t,i,n)}function L(t,r,i,n){return Z(G(r,t.length-i),t,i,n)}function O(t,r,i){return 0===r&&i===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(r,i))}function j(t,r,i){i=Math.min(t.length,i);for(var n=[],o=r;o<i;){var a,s,f,c,u=t[o],l=null,d=u>239?4:u>223?3:u>191?2:1;if(o+d<=i)switch(d){case 1:u<128&&(l=u);break;case 2:(192&(a=t[o+1]))==128&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:a=t[o+1],s=t[o+2],(192&a)==128&&(192&s)==128&&(c=(15&u)<<12|(63&a)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:a=t[o+1],s=t[o+2],f=t[o+3],(192&a)==128&&(192&s)==128&&(192&f)==128&&(c=(15&u)<<18|(63&a)<<12|(63&s)<<6|63&f)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=d}return C(n)}r.kMaxLength=0x7fffffff,u.TYPED_ARRAY_SUPPORT=f(),!u.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(t,r,i){return l(t,r,i)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(t,r,i){return h(t,r,i)},u.allocUnsafe=function(t){return p(t)},u.allocUnsafeSlow=function(t){return p(t)},u.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==u.prototype},u.compare=function(t,r){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),X(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var i=t.length,n=r.length,o=0,a=Math.min(i,n);o<a;++o)if(t[o]!==r[o]){i=t[o],n=r[o];break}return i<n?-1:+(n<i)},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,r){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);if(void 0===r)for(i=0,r=0;i<t.length;++i)r+=t[i].length;var i,n=u.allocUnsafe(r),o=0;for(i=0;i<t.length;++i){var a=t[i];if(X(a,Uint8Array)&&(a=u.from(a)),!u.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=w,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)S(this,r,r+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)S(this,r,r+3),S(this,r+1,r+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)S(this,r,r+7),S(this,r+1,r+6),S(this,r+2,r+5),S(this,r+3,r+4);return this},u.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?j(this,0,t):_.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(t){if(!u.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",i=r.INSPECT_MAX_BYTES;return t=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(t+=" ... "),"<Buffer "+t+">"},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(t,r,i,n,o){if(X(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===r&&(r=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),r<0||i>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&r>=i)return 0;if(n>=o)return -1;if(r>=i)return 1;if(r>>>=0,i>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var a=o-n,s=i-r,f=Math.min(a,s),c=this.slice(n,o),l=t.slice(r,i),d=0;d<f;++d)if(c[d]!==l[d]){a=c[d],s=l[d];break}return a<s?-1:+(s<a)},u.prototype.includes=function(t,r,i){return -1!==this.indexOf(t,r,i)},u.prototype.indexOf=function(t,r,i){return E(this,t,r,i,!0)},u.prototype.lastIndexOf=function(t,r,i){return E(this,t,r,i,!1)},u.prototype.write=function(t,r,i,n){if(void 0===r)n="utf8",i=this.length,r=0;else if(void 0===i&&"string"==typeof r)n=r,i=this.length,r=0;else if(isFinite(r))r>>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-r;if((void 0===i||i>o)&&(i=o),t.length>0&&(i<0||r<0)||r>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return A(this,t,r,i);case"utf8":case"utf-8":return T(this,t,r,i);case"ascii":return k(this,t,r,i);case"latin1":case"binary":return R(this,t,r,i);case"base64":return I(this,t,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,r,i);default:if(a)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var N=4096;function C(t){var r=t.length;if(r<=N)return String.fromCharCode.apply(String,t);for(var i="",n=0;n<r;)i+=String.fromCharCode.apply(String,t.slice(n,n+=N));return i}function B(t,r,i){var n="";i=Math.min(t.length,i);for(var o=r;o<i;++o)n+=String.fromCharCode(127&t[o]);return n}function P(t,r,i){var n="";i=Math.min(t.length,i);for(var o=r;o<i;++o)n+=String.fromCharCode(t[o]);return n}function D(t,r,i){var n=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>n)&&(i=n);for(var o="",a=r;a<i;++a)o+=ee[t[a]];return o}function U(t,r,i){for(var n=t.slice(r,i),o="",a=0;a<n.length;a+=2)o+=String.fromCharCode(n[a]+256*n[a+1]);return o}function z(t,r,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+r>i)throw RangeError("Trying to access beyond buffer length")}function H(t,r,i,n,o,a){if(!u.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<a)throw RangeError('"value" argument is out of bounds');if(i+n>t.length)throw RangeError("Index out of range")}function Y(t,r,i,n,o,a){if(i+n>t.length||i<0)throw RangeError("Index out of range")}function q(t,r,i,n,a){return r*=1,i>>>=0,a||Y(t,r,i,4,34028234663852886e22,-34028234663852886e22),o.write(t,r,i,n,23,4),i+4}function F(t,r,i,n,a){return r*=1,i>>>=0,a||Y(t,r,i,8,17976931348623157e292,-17976931348623157e292),o.write(t,r,i,n,52,8),i+8}u.prototype.slice=function(t,r){var i=this.length;t=~~t,r=void 0===r?i:~~r,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),r<0?(r+=i)<0&&(r=0):r>i&&(r=i),r<t&&(r=t);var n=this.subarray(t,r);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUIntLE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=this[t],o=1,a=0;++a<r&&(o*=256);)n+=this[t+a]*o;return n},u.prototype.readUIntBE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=this[t+--r],o=1;r>0&&(o*=256);)n+=this[t+--r]*o;return n},u.prototype.readUInt8=function(t,r){return t>>>=0,r||z(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,r){return t>>>=0,r||z(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,r){return t>>>=0,r||z(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,r){return t>>>=0,r||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},u.prototype.readUInt32BE=function(t,r){return t>>>=0,r||z(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=this[t],o=1,a=0;++a<r&&(o*=256);)n+=this[t+a]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*r)),n},u.prototype.readIntBE=function(t,r,i){t>>>=0,r>>>=0,i||z(t,r,this.length);for(var n=r,o=1,a=this[t+--n];n>0&&(o*=256);)a+=this[t+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*r)),a},u.prototype.readInt8=function(t,r){return(t>>>=0,r||z(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},u.prototype.readInt16LE=function(t,r){t>>>=0,r||z(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?0xffff0000|i:i},u.prototype.readInt16BE=function(t,r){t>>>=0,r||z(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?0xffff0000|i:i},u.prototype.readInt32LE=function(t,r){return t>>>=0,r||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,r){return t>>>=0,r||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,r){return t>>>=0,r||z(t,4,this.length),o.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,r){return t>>>=0,r||z(t,4,this.length),o.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,r){return t>>>=0,r||z(t,8,this.length),o.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,r){return t>>>=0,r||z(t,8,this.length),o.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,r,i,n){if(t*=1,r>>>=0,i>>>=0,!n){var o=Math.pow(2,8*i)-1;H(this,t,r,i,o,0)}var a=1,s=0;for(this[r]=255&t;++s<i&&(a*=256);)this[r+s]=t/a&255;return r+i},u.prototype.writeUIntBE=function(t,r,i,n){if(t*=1,r>>>=0,i>>>=0,!n){var o=Math.pow(2,8*i)-1;H(this,t,r,i,o,0)}var a=i-1,s=1;for(this[r+a]=255&t;--a>=0&&(s*=256);)this[r+a]=t/s&255;return r+i},u.prototype.writeUInt8=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,1,255,0),this[r]=255&t,r+1},u.prototype.writeUInt16LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},u.prototype.writeUInt16BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},u.prototype.writeUInt32LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0xffffffff,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},u.prototype.writeUInt32BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0xffffffff,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},u.prototype.writeIntLE=function(t,r,i,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*i-1);H(this,t,r,i,o-1,-o)}var a=0,s=1,f=0;for(this[r]=255&t;++a<i&&(s*=256);)t<0&&0===f&&0!==this[r+a-1]&&(f=1),this[r+a]=(t/s|0)-f&255;return r+i},u.prototype.writeIntBE=function(t,r,i,n){if(t*=1,r>>>=0,!n){var o=Math.pow(2,8*i-1);H(this,t,r,i,o-1,-o)}var a=i-1,s=1,f=0;for(this[r+a]=255&t;--a>=0&&(s*=256);)t<0&&0===f&&0!==this[r+a+1]&&(f=1),this[r+a]=(t/s|0)-f&255;return r+i},u.prototype.writeInt8=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=255&t,r+1},u.prototype.writeInt16LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},u.prototype.writeInt16BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},u.prototype.writeInt32LE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0x7fffffff,-0x80000000),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},u.prototype.writeInt32BE=function(t,r,i){return t*=1,r>>>=0,i||H(this,t,r,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},u.prototype.writeFloatLE=function(t,r,i){return q(this,t,r,!0,i)},u.prototype.writeFloatBE=function(t,r,i){return q(this,t,r,!1,i)},u.prototype.writeDoubleLE=function(t,r,i){return F(this,t,r,!0,i)},u.prototype.writeDoubleBE=function(t,r,i){return F(this,t,r,!1,i)},u.prototype.copy=function(t,r,i,n){if(!u.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n<i&&(n=i),n===i||0===t.length||0===this.length)return 0;if(r<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r<n-i&&(n=t.length-r+i);var o=n-i;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,i,n);else if(this===t&&i<r&&r<n)for(var a=o-1;a>=0;--a)t[a+r]=this[a+i];else Uint8Array.prototype.set.call(t,this.subarray(i,n),r);return o},u.prototype.fill=function(t,r,i,n){if("string"==typeof t){if("string"==typeof r?(n=r,r=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,a=t.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(t=a)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(r<0||this.length<r||this.length<i)throw RangeError("Out of range index");if(i<=r)return this;if(r>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(o=r;o<i;++o)this[o]=t;else{var s=u.isBuffer(t)?t:u.from(t,n),f=s.length;
1if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<i-r;++o)this[o+r]=s[o%f]}return this};var V=/[^+/0-9A-Za-z-_]/g;function K(t){if((t=(t=t.split("=")[0]).trim().replace(V,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}function $(t,r){r=r||1/0;for(var i,n=t.length,o=null,a=[],s=0;s<n;++s){if((i=t.charCodeAt(s))>55295&&i<57344){if(!o){if(i>56319||s+1===n){(r-=3)>-1&&a.push(239,191,189);continue}o=i;continue}if(i<56320){(r-=3)>-1&&a.push(239,191,189),o=i;continue}i=(o-55296<<10|i-56320)+65536}else o&&(r-=3)>-1&&a.push(239,191,189);if(o=null,i<128){if((r-=1)<0)break;a.push(i)}else if(i<2048){if((r-=2)<0)break;a.push(i>>6|192,63&i|128)}else if(i<65536){if((r-=3)<0)break;a.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((r-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return a}function W(t){for(var r=[],i=0;i<t.length;++i)r.push(255&t.charCodeAt(i));return r}function G(t,r){for(var i,n,o=[],a=0;a<t.length&&!((r-=2)<0);++a)n=(i=t.charCodeAt(a))>>8,o.push(i%256),o.push(n);return o}function J(t){return n.toByteArray(K(t))}function Z(t,r,i,n){for(var o=0;o<n&&!(o+i>=r.length)&&!(o>=t.length);++o)r[o+i]=t[o];return o}function X(t,r){return t instanceof r||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===r.name}function Q(t){return t!=t}var ee=function(){for(var t="0123456789abcdef",r=Array(256),i=0;i<16;++i)for(var n=16*i,o=0;o<16;++o)r[n+o]=t[i]+t[o];return r}()},321:function(t,r){r.read=function(t,r,i,n,o){var a,s,f=8*o-n-1,c=(1<<f)-1,u=c>>1,l=-7,d=i?o-1:0,h=i?-1:1,p=t[r+d];for(d+=h,a=p&(1<<-l)-1,p>>=-l,l+=f;l>0;a=256*a+t[r+d],d+=h,l-=8);for(s=a&(1<<-l)-1,a>>=-l,l+=n;l>0;s=256*s+t[r+d],d+=h,l-=8);if(0===a)a=1-u;else{if(a===c)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),a-=u}return(p?-1:1)*s*Math.pow(2,a-n)},r.write=function(t,r,i,n,o,a){var s,f,c,u=8*a-o-1,l=(1<<u)-1,d=l>>1,h=5960464477539062e-23*(23===o),p=n?0:a-1,b=n?1:-1,g=+(r<0||0===r&&1/r<0);for(isNaN(r=Math.abs(r))||r===1/0?(f=+!!isNaN(r),s=l):(s=Math.floor(Math.log(r)/Math.LN2),r*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+d>=1?r+=h/c:r+=h*Math.pow(2,1-d),r*c>=2&&(s++,c/=2),s+d>=l?(f=0,s=l):s+d>=1?(f=(r*c-1)*Math.pow(2,o),s+=d):(f=r*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;t[i+p]=255&f,p+=b,f/=256,o-=8);for(s=s<<o|f,u+=o;u>0;t[i+p]=255&s,p+=b,s/=256,u-=8);t[i+p-b]|=128*g}}},o={};function a(t){var r=o[t];if(void 0!==r)return r.exports;var i=o[t]={exports:{}},s=!0;try{n[t](i,i.exports,a),s=!1}finally{s&&delete o[t]}return i.exports}a.ab="/ROOT/node_modules/next/dist/compiled/buffer/",r.exports=a(230)},70965,(t,r,i)=>{"use strict";function n(t,r){let i=t||75;return r?.qualities?.length?r.qualities.reduce((t,r)=>Math.abs(r-i)<Math.abs(t-i)?r:t,r.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return s}});let n=t.r(70965),o=t.r(43369);function a({config:t,src:r,width:i,quality:s}){let f=(0,o.getDeploymentId)();if(r.startsWith("/")&&!r.startsWith("//"))if(r.includes("/_next/static/immutable")&&!(0,o.getAssetToken)())f=void 0;else{let t=r.indexOf("?");
1if(-1!==t){let i=new URLSearchParams(r.slice(t+1)),n=i.get("dpl");if(n){f=n,i.delete("dpl");let o=i.toString();r=r.slice(0,t)+(o?"?"+o:"")}}}if(r.startsWith("/")&&r.includes("?")&&t.localPatterns?.length===1&&"**"===t.localPatterns[0].pathname&&""===t.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${r}" is using a query string which is not configured in images.localPatterns. 2Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let c=(0,n.findClosestQuality)(s,t);return`${t.path}?url=${encodeURIComponent(r)}&w=${i}&q=${c}${r.startsWith("/")&&f?`&dpl=${f}`:""}`}a.__next_img_default=!0;let s=a},25633,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),function(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}(i,{default:function(){return b},defaultHead:function(){return u}});let n=t.r(55682),o=t.r(90809),a=t.r(43476),s=o._(t.r(71645)),f=n._(t.r(98879)),c=t.r(42732);function u(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function l(t,r){return"string"==typeof r||"number"==typeof r?t:r.type===s.default.Fragment?t.concat(s.default.Children.toArray(r.props.children).reduce((t,r)=>"string"==typeof r||"number"==typeof r?t:t.concat(r),[])):t.concat(r)}let d=["name","httpEquiv","charSet","itemProp"];function h(){let t=new Set,r=new Set,i=new Set,n={};return o=>{let a=!0,s=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){s=!0;let r=o.key.slice(o.key.indexOf("$")+1);t.has(r)?a=!1:t.add(r)}switch(o.type){case"title":case"base":r.has(o.type)?a=!1:r.add(o.type);break;case"meta":for(let t=0,r=d.length;t<r;t++){let r=d[t];if(o.props.hasOwnProperty(r))if("charSet"===r)i.has(r)?a=!1:i.add(r);else{let t=o.props[r],i=n[r]||new Set;("name"!==r||!s)&&i.has(t)?a=!1:(i.add(t),n[r]=i)}}}return a}}function p(t){return t.reduce(l,[]).reverse().concat(u().reverse()).filter(h()).reverse().map((t,r)=>{let i=t.key||r;return s.default.cloneElement(t,{key:i})})}let b=function({children:t}){let r=(0,s.useContext)(c.HeadManagerContext);return(0,a.jsx)(f.default,{reduceComponentsToState:p,headManager:r,children:t})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),r.exports=i.default)},88143,(t,r,i)=>{"use strict";function n({widthInt:t,heightInt:r,blurWidth:i,blurHeight:o,blurDataURL:a,objectFit:s}){let f=20,c=i?40*i:t,u=o?40*o:r,l=c&&u?`viewBox='0 0 ${c} ${u}'`:"",d=l?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${l}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='${f}'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='${f}'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(t,r,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}(i,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return o}});let n=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none';
2 frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return p}});let n=t.r(43369),o=t.r(88143),a=t.r(87690),s=["-moz-initial","fill","none","scale-down",void 0];function f(t){return void 0!==t.default}function c(t){return void 0!==t.src}function u(t){return!!t&&"object"==typeof t&&(f(t)||c(t))}function l(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function d({deviceSizes:t,allSizes:r},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,o=[];for(let t;t=i.exec(n);)o.push(parseInt(t[2]));if(o.length){let i=.01*Math.min(...o);return{widths:r.filter(r=>r>=t[0]*i),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof i?{widths:t,kind:"w"}:{widths:[...new Set([i,2*i].map(t=>r.find(r=>r>=t)||r[r.length-1]))],kind:"x"}}function h({config:t,src:r,unoptimized:i,width:o,quality:a,sizes:s,loader:f}){if(i){if(r.startsWith("/")&&!r.startsWith("//")){let t=(0,n.getDeploymentId)();if(r.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())t=void 0;else if(t){let i=r.indexOf("?");
2if(-1!==i){let n=new URLSearchParams(r.slice(i+1));n.get("dpl")||(n.append("dpl",t),r=r.slice(0,i)+"?"+n.toString())}else r+=`?dpl=${t}`}}return{src:r,srcSet:void 0,sizes:void 0}}let{widths:c,kind:u}=d(t,o,s),l=c.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:c.map((i,n)=>`${f({config:t,src:r,quality:a,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:f({config:t,src:r,quality:a,width:c[l]})}}function p({src:t,sizes:r,unoptimized:i=!1,priority:n=!1,preload:c=!1,loading:d,className:b,quality:g,width:m,height:y,fill:v=!1,style:x,overrideSrc:w,onLoad:_,onLoadingComplete:S,placeholder:E="empty",blurDataURL:M,fetchPriority:A,decoding:T="async",layout:k,objectFit:R,objectPosition:I,lazyBoundary:L,lazyRoot:O,...j},N){let C,B,P,{imgConf:D,showAltText:U,blurComplete:z,defaultLoader:H}=N,Y=D||a.imageConfigDefault;if("allSizes"in Y)C=Y;else{let t=[...Y.deviceSizes,...Y.imageSizes].sort((t,r)=>t-r),r=Y.deviceSizes.sort((t,r)=>t-r),i=Y.qualities?.sort((t,r)=>t-r);C={...Y,allSizes:t,deviceSizes:r,qualities:i}}if(void 0===H)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let q=j.loader||H;delete j.loader,delete j.srcSet;let F="__next_img_default"in q;if(F){if("custom"===C.loader)throw Object.defineProperty(Error(`Image with src "${t}" is missing "loader" prop. 3Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=q;q=r=>{let{config:i,...n}=r;return t(n)}}if(k){"fill"===k&&(v=!0);let t={responsive:"100vw",fill:"100vw"},i={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];i&&(x={...x,...i});let n=t[k];n&&!r&&(r=n)}let V="",K=l(m),$=l(y);if(u(t)){let r=f(t)?t.default:t;if(!r.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(r)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!r.height||!r.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(r)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(B=r.blurWidth,P=r.blurHeight,M=M||r.blurDataURL,V=r.src,!v)if(K||$){if(K&&!$){let t=K/r.width;$=Math.round(r.height*t)}else if(!K&&$){let t=$/r.height;K=Math.round(r.width*t)}}else K=r.width,$=r.height}let W=!n&&!c&&("lazy"===d||void 0===d);(!(t="string"==typeof t?t:V)||t.startsWith("data:")||t.startsWith("blob:"))&&(i=!0,W=!1),C.unoptimized&&(i=!0),F&&!C.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg")&&(i=!0);let G=l(g),J=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:I}:{},U?{}:{color:"transparent"},x),Z=z||"empty"===E?null:"blur"===E?`url("data:image/svg+xml;charset=utf-8,${(0,o.getImageBlurSvg)({widthInt:K,heightInt:$,blurWidth:B,blurHeight:P,blurDataURL:M||"",objectFit:J.objectFit})}")`:`url("${E}")`,X=s.includes(J.objectFit)?"fill"===J.objectFit?"100% 100%":"cover":J.objectFit,Q=Z?{backgroundSize:X,backgroundPosition:J.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},ee=h({config:C,src:t,unoptimized:i,width:K,quality:G,sizes:r,loader:q}),et=W?"lazy":d;return{props:{...j,loading:et,fetchPriority:A,width:K,height:$,decoding:T,className:b,style:{...J,...Q},sizes:ee.sizes,srcSet:ee.srcSet,src:w||ee.src},meta:{unoptimized:i,preload:c||n,placeholder:E,fill:v}}}},18556,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=t.r(55682)._(t.r(71645)),o=t.r(87690),a=n.default.createContext(o.imageConfigDefault)},65856,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=t.r(55682)._(t.r(71645)).default.createContext(null)},94909,(t,r,i)=>{"use strict";t.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),function(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}(i,{default:function(){return c},getImageProps:function(){return f}});let n=t.r(55682),o=t.r(8927),a=t.r(5500),s=n._(t.r(1948));function f(t){let{props:r}=(0,o.getImgProps)(t,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
3ities:[75,80,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(r))void 0===i&&delete r[t];return{props:r}}let c=a.Image},57688,(t,r,i)=>{r.exports=t.r(94909)},98879,(t,r,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return f}});let n=t.r(71645),o="u"<typeof window,a=o?()=>{}:n.useLayoutEffect,s=o?()=>{}:n.useEffect;function f(t){let{headManager:r,reduceComponentsToState:i}=t;function f(){if(r&&r.mountedInstances){let t=n.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(i(t))}}return o&&(r?.mountedInstances?.add(t.children),f()),a(()=>(r?.mountedInstances?.add(t.children),()=>{r?.mountedInstances?.delete(t.children)})),a(()=>(r&&(r._pendingUpdate=f),()=>{r&&(r._pendingUpdate=f)})),s(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}}]);
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.