You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

318.7ea00e73.async.js 163KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. (self.webpackChunk=self.webpackChunk||[]).push([[318],{64082:function(zt,at,k){"use strict";k.d(at,{Z:function(){return a}});var Q=k(87462),mt=k(62435),b={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},F=b,v=k(84089),o=function(x,d){return mt.createElement(v.Z,(0,Q.Z)({},x,{ref:d,icon:F}))},l=mt.forwardRef(o),a=l},36441:function(zt,at,k){"use strict";k.d(at,{vY:function(){return Se}});var Q=k(74902),mt=k(74165),b=k(15861),F=k(45987),v=k(1413),o=k(97937),l=k(63606),a=k(86548),u=k(952),x=k(49994),d=k(62435),c=k(21687),y=k(93967),r=k.n(y),f=k(98423),i=k(53124),m=k(98675),s=k(92398),_=function(P,R){var B={};for(var Y in P)Object.prototype.hasOwnProperty.call(P,Y)&&R.indexOf(Y)<0&&(B[Y]=P[Y]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Y=Object.getOwnPropertySymbols(P);et<Y.length;et++)R.indexOf(Y[et])<0&&Object.prototype.propertyIsEnumerable.call(P,Y[et])&&(B[Y[et]]=P[Y[et]]);return B},T=P=>{var{prefixCls:R,className:B,hoverable:Y=!0}=P,et=_(P,["prefixCls","className","hoverable"]);const{getPrefixCls:ft}=d.useContext(i.E_),yt=ft("card",R),Ct=r()(`${yt}-grid`,B,{[`${yt}-grid-hoverable`]:Y});return d.createElement("div",Object.assign({},et,{className:Ct}))},C=k(54548),H=k(14747),U=k(92030),J=k(45503);const M=P=>{const{antCls:R,componentCls:B,headerHeight:Y,cardPaddingBase:et,tabsMarginBottom:ft}=P;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:Y,marginBottom:-1,padding:`0 ${(0,C.bf)(et)}`,color:P.colorTextHeading,fontWeight:P.fontWeightStrong,fontSize:P.headerFontSize,background:P.headerBg,borderBottom:`${(0,C.bf)(P.lineWidth)} ${P.lineType} ${P.colorBorderSecondary}`,borderRadius:`${(0,C.bf)(P.borderRadiusLG)} ${(0,C.bf)(P.borderRadiusLG)} 0 0`},(0,H.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},H.vS),{[`
  2. > ${B}-typography,
  3. > ${B}-typography-edit-content
  4. `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${R}-tabs-top`]:{clear:"both",marginBottom:ft,color:P.colorText,fontWeight:"normal",fontSize:P.fontSize,"&-bar":{borderBottom:`${(0,C.bf)(P.lineWidth)} ${P.lineType} ${P.colorBorderSecondary}`}}})},w=P=>{const{cardPaddingBase:R,colorBorderSecondary:B,cardShadow:Y,lineWidth:et}=P;return{width:"33.33%",padding:R,border:0,borderRadius:0,boxShadow:`
  5. ${(0,C.bf)(et)} 0 0 0 ${B},
  6. 0 ${(0,C.bf)(et)} 0 0 ${B},
  7. ${(0,C.bf)(et)} ${(0,C.bf)(et)} 0 0 ${B},
  8. ${(0,C.bf)(et)} 0 0 0 ${B} inset,
  9. 0 ${(0,C.bf)(et)} 0 0 ${B} inset;
  10. `,transition:`all ${P.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:Y}}},D=P=>{const{componentCls:R,iconCls:B,actionsLiMargin:Y,cardActionsIconSize:et,colorBorderSecondary:ft,actionsBg:yt}=P;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:yt,borderTop:`${(0,C.bf)(P.lineWidth)} ${P.lineType} ${ft}`,display:"flex",borderRadius:`0 0 ${(0,C.bf)(P.borderRadiusLG)} ${(0,C.bf)(P.borderRadiusLG)}`},(0,H.dF)()),{"& > li":{margin:Y,color:P.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:P.calc(P.cardActionsIconSize).mul(2).equal(),fontSize:P.fontSize,lineHeight:P.lineHeight,cursor:"pointer","&:hover":{color:P.colorPrimary,transition:`color ${P.motionDurationMid}`},[`a:not(${R}-btn), > ${B}`]:{display:"inline-block",width:"100%",color:P.colorTextDescription,lineHeight:(0,C.bf)(P.fontHeight),transition:`color ${P.motionDurationMid}`,"&:hover":{color:P.colorPrimary}},[`> ${B}`]:{fontSize:et,lineHeight:(0,C.bf)(P.calc(et).mul(P.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,C.bf)(P.lineWidth)} ${P.lineType} ${ft}`}}})},n=P=>Object.assign(Object.assign({margin:`${(0,C.bf)(P.calc(P.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,H.dF)()),{"&-avatar":{paddingInlineEnd:P.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:P.marginXS}},"&-title":Object.assign({color:P.colorTextHeading,fontWeight:P.fontWeightStrong,fontSize:P.fontSizeLG},H.vS),"&-description":{color:P.colorTextDescription}}),S=P=>{const{componentCls:R,cardPaddingBase:B,colorFillAlter:Y}=P;return{[`${R}-head`]:{padding:`0 ${(0,C.bf)(B)}`,background:Y,"&-title":{fontSize:P.fontSize}},[`${R}-body`]:{padding:`${(0,C.bf)(P.padding)} ${(0,C.bf)(B)}`}}},t=P=>{const{componentCls:R}=P;return{overflow:"hidden",[`${R}-body`]:{userSelect:"none"}}},O=P=>{const{antCls:R,componentCls:B,cardShadow:Y,cardHeadPadding:et,colorBorderSecondary:ft,boxShadowTertiary:yt,cardPaddingBase:Ct,extraColor:Dt}=P;return{[B]:Object.assign(Object.assign({},(0,H.Wf)(P)),{position:"relative",background:P.colorBgContainer,borderRadius:P.borderRadiusLG,[`&:not(${B}-bordered)`]:{boxShadow:yt},[`${B}-head`]:M(P),[`${B}-extra`]:{marginInlineStart:"auto",color:Dt,fontWeight:"normal",fontSize:P.fontSize},[`${B}-body`]:Object.assign({padding:Ct,borderRadius:`0 0 ${(0,C.bf)(P.borderRadiusLG)} ${(0,C.bf)(P.borderRadiusLG)}`},(0,H.dF)()),[`${B}-grid`]:w(P),[`${B}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${R}-image-mask`]:{borderRadius:`${(0,C.bf)(P.borderRadiusLG)} ${(0,C.bf)(P.borderRadiusLG)} 0 0`}},[`${B}-actions`]:D(P),[`${B}-meta`]:n(P)}),[`${B}-bordered`]:{border:`${(0,C.bf)(P.lineWidth)} ${P.lineType} ${ft}`,[`${B}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${B}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${P.motionDurationMid}, border-color ${P.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:Y}},[`${B}-contain-grid`]:{borderRadius:`${(0,C.bf)(P.borderRadiusLG)} ${(0,C.bf)(P.borderRadiusLG)} 0 0 `,[`${B}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${B}-loading) ${B}-body`]:{marginBlockStart:P.calc(P.lineWidth).mul(-1).equal(),marginInlineStart:P.calc(P.lineWidth).mul(-1).equal(),padding:0}},[`${B}-contain-tabs`]:{[`> div${B}-head`]:{minHeight:0,[`${B}-head-title, ${B}-extra`]:{paddingTop:et}}},[`${B}-type-inner`]:S(P),[`${B}-loading`]:t(P),[`${B}-rtl`]:{direction:"rtl"}}},q=P=>{const{componentCls:R,cardPaddingSM:B,headerHeightSM:Y,headerFontSizeSM:et}=P;return{[`${R}-small`]:{[`> ${R}-head`]:{minHeight:Y,padding:`0 ${(0,C.bf)(B)}`,fontSize:et,[`> ${R}-head-wrapper`]:{[`> ${R}-extra`]:{fontSize:P.fontSize}}},[`> ${R}-body`]:{padding:B}},[`${R}-small${R}-contain-tabs`]:{[`> ${R}-head`]:{[`${R}-head-title, ${R}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},W=P=>({headerBg:"transparent",headerFontSize:P.fontSizeLG,headerFontSizeSM:P.fontSize,headerHeight:P.fontSizeLG*P.lineHeightLG+P.padding*2,headerHeightSM:P.fontSize*P.lineHeight+P.paddingXS*2,actionsBg:P.colorBgContainer,actionsLiMargin:`${P.paddingSM}px 0`,tabsMarginBottom:-P.padding-P.lineWidth,extraColor:P.colorText});var ct=(0,U.I$)("Card",P=>{const R=(0,J.TS)(P,{cardShadow:P.boxShadowCard,cardHeadPadding:P.padding,cardPaddingBase:P.paddingLG,cardActionsIconSize:P.fontSize,cardPaddingSM:12});return[O(R),q(R)]},W),$=function(P,R){var B={};for(var Y in P)Object.prototype.hasOwnProperty.call(P,Y)&&R.indexOf(Y)<0&&(B[Y]=P[Y]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Y=Object.getOwnPropertySymbols(P);et<Y.length;et++)R.indexOf(Y[et])<0&&Object.prototype.propertyIsEnumerable.call(P,Y[et])&&(B[Y[et]]=P[Y[et]]);return B};const st=P=>{const{actionClasses:R,actions:B=[],actionStyle:Y}=P;return d.createElement("ul",{className:R,style:Y},B.map((et,ft)=>{const yt=`action-${ft}`;return d.createElement("li",{style:{width:`${100/B.length}%`},key:yt},d.createElement("span",null,et))}))};var p=d.forwardRef((P,R)=>{const{prefixCls:B,className:Y,rootClassName:et,style:ft,extra:yt,headStyle:Ct={},bodyStyle:Dt={},title:Pt,loading:gt,bordered:Bt=!0,size:Ht,type:Mt,cover:te,actions:Zt,tabList:Wt,children:Rt,activeTabKey:Et,defaultActiveTabKey:Nt,tabBarExtraContent:Ft,hoverable:Lt,tabProps:Jt={},classNames:Vt,styles:Kt}=P,Tt=$(P,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:ht,direction:ee,card:Gt}=d.useContext(i.E_),ne=qt=>{var Xt;(Xt=P.onTabChange)===null||Xt===void 0||Xt.call(P,qt)},Ot=qt=>{var Xt;return r()((Xt=Gt==null?void 0:Gt.classNames)===null||Xt===void 0?void 0:Xt[qt],Vt==null?void 0:Vt[qt])},jt=qt=>{var Xt;return Object.assign(Object.assign({},(Xt=Gt==null?void 0:Gt.styles)===null||Xt===void 0?void 0:Xt[qt]),Kt==null?void 0:Kt[qt])},se=d.useMemo(()=>{let qt=!1;return d.Children.forEach(Rt,Xt=>{Xt&&Xt.type&&Xt.type===T&&(qt=!0)}),qt},[Rt]),Ut=ht("card",B),[le,de,ue]=ct(Ut),ge=d.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},Rt),Ce=Et!==void 0,$e=Object.assign(Object.assign({},Jt),{[Ce?"activeKey":"defaultActiveKey"]:Ce?Et:Nt,tabBarExtraContent:Ft});let Ee;const fe=(0,m.Z)(Ht),Ne=!fe||fe==="default"?"large":fe,Oe=Wt?d.createElement(s.Z,Object.assign({size:Ne},$e,{className:`${Ut}-head-tabs`,onChange:ne,items:Wt.map(qt=>{var{tab:Xt}=qt,ye=$(qt,["tab"]);return Object.assign({label:Xt},ye)})})):null;if(Pt||yt||Oe){const qt=r()(`${Ut}-head`,Ot("header")),Xt=r()(`${Ut}-head-title`,Ot("title")),ye=r()(`${Ut}-extra`,Ot("extra")),qe=Object.assign(Object.assign({},Ct),jt("header"));Ee=d.createElement("div",{className:qt,style:qe},d.createElement("div",{className:`${Ut}-head-wrapper`},Pt&&d.createElement("div",{className:Xt,style:jt("title")},Pt),yt&&d.createElement("div",{className:ye,style:jt("extra")},yt)),Oe)}const Ue=r()(`${Ut}-cover`,Ot("cover")),We=te?d.createElement("div",{className:Ue,style:jt("cover")},te):null,Ke=r()(`${Ut}-body`,Ot("body")),He=Object.assign(Object.assign({},Dt),jt("body")),Ge=d.createElement("div",{className:Ke,style:He},gt?ge:Rt),Ve=r()(`${Ut}-actions`,Ot("actions")),Xe=Zt&&Zt.length?d.createElement(st,{actionClasses:Ve,actionStyle:jt("actions"),actions:Zt}):null,Ye=(0,f.Z)(Tt,["onTabChange"]),Je=r()(Ut,Gt==null?void 0:Gt.className,{[`${Ut}-loading`]:gt,[`${Ut}-bordered`]:Bt,[`${Ut}-hoverable`]:Lt,[`${Ut}-contain-grid`]:se,[`${Ut}-contain-tabs`]:Wt&&Wt.length,[`${Ut}-${fe}`]:fe,[`${Ut}-type-${Mt}`]:!!Mt,[`${Ut}-rtl`]:ee==="rtl"},Y,et,de,ue),Qe=Object.assign(Object.assign({},Gt==null?void 0:Gt.style),ft);return le(d.createElement("div",Object.assign({ref:R},Ye,{className:Je,style:Qe}),Ee,We,Ge,Xe))}),N=function(P,R){var B={};for(var Y in P)Object.prototype.hasOwnProperty.call(P,Y)&&R.indexOf(Y)<0&&(B[Y]=P[Y]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Y=Object.getOwnPropertySymbols(P);et<Y.length;et++)R.indexOf(Y[et])<0&&Object.prototype.propertyIsEnumerable.call(P,Y[et])&&(B[Y[et]]=P[Y[et]]);return B},Z=P=>{const{prefixCls:R,className:B,avatar:Y,title:et,description:ft}=P,yt=N(P,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Ct}=d.useContext(i.E_),Dt=Ct("card",R),Pt=r()(`${Dt}-meta`,B),gt=Y?d.createElement("div",{className:`${Dt}-meta-avatar`},Y):null,Bt=et?d.createElement("div",{className:`${Dt}-meta-title`},et):null,Ht=ft?d.createElement("div",{className:`${Dt}-meta-description`},ft):null,Mt=Bt||Ht?d.createElement("div",{className:`${Dt}-meta-detail`},Bt,Ht):null;return d.createElement("div",Object.assign({},yt,{className:Pt}),gt,Mt)};const ot=p;ot.Grid=T,ot.Meta=Z;var ut=ot,rt=k(25378),vt=k(96074),wt=k(42075),I=k(86074),At=function(R){var B=R.padding;return(0,I.jsx)("div",{style:{padding:B||"0 24px"},children:(0,I.jsx)(vt.Z,{style:{margin:0}})})},kt={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},e=function(R){var B=R.size,Y=R.active,et=(0,d.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),ft=(0,rt.Z)()||et,yt=Object.keys(ft).filter(function(Pt){return ft[Pt]===!0})[0]||"md",Ct=B===void 0?kt[yt]||6:B,Dt=function(gt){return gt===0?0:Ct>2?42:16};return(0,I.jsx)(ut,{bordered:!1,style:{marginBlockEnd:16},children:(0,I.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(Ct).fill(null).map(function(Pt,gt){return(0,I.jsxs)("div",{style:{borderInlineStart:Ct>2&&gt===1?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:Dt(gt),flex:1,marginInlineEnd:gt===0?16:0},children:[(0,I.jsx)(c.Z,{active:Y,paragraph:!1,title:{width:100,style:{marginBlockStart:0}}}),(0,I.jsx)(c.Z.Button,{active:Y,style:{height:48}})]},gt)})})})},K=function(R){var B=R.active;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(ut,{bordered:!1,style:{borderRadius:0},styles:{body:{padding:24}},children:(0,I.jsxs)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,I.jsx)("div",{style:{maxWidth:"100%",flex:1},children:(0,I.jsx)(c.Z,{active:B,title:{width:100,style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}})}),(0,I.jsx)(c.Z.Button,{active:B,size:"small",style:{width:165,marginBlockStart:12}})]})}),(0,I.jsx)(At,{})]})},L=function(R){var B=R.size,Y=R.active,et=Y===void 0?!0:Y,ft=R.actionButton;return(0,I.jsxs)(ut,{bordered:!1,styles:{body:{padding:0}},children:[new Array(B).fill(null).map(function(yt,Ct){return(0,I.jsx)(K,{active:!!et},Ct)}),ft!==!1&&(0,I.jsx)(ut,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},styles:{body:{display:"flex",alignItems:"center",justifyContent:"center"}},children:(0,I.jsx)(c.Z.Button,{style:{width:102},active:et,size:"small"})})]})},g=function(R){var B=R.active;return(0,I.jsxs)("div",{style:{marginBlockEnd:16},children:[(0,I.jsx)(c.Z,{paragraph:!1,title:{width:185}}),(0,I.jsx)(c.Z.Button,{active:B,size:"small"})]})},h=function(R){var B=R.active;return(0,I.jsx)(ut,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},styles:{body:{paddingBlockEnd:8}},children:(0,I.jsxs)(wt.Z,{style:{width:"100%",justifyContent:"space-between"},children:[(0,I.jsx)(c.Z.Button,{active:B,style:{width:200},size:"small"}),(0,I.jsxs)(wt.Z,{children:[(0,I.jsx)(c.Z.Button,{active:B,size:"small",style:{width:120}}),(0,I.jsx)(c.Z.Button,{active:B,size:"small",style:{width:80}})]})]})})},j=function(R){var B=R.active,Y=B===void 0?!0:B,et=R.statistic,ft=R.actionButton,yt=R.toolbar,Ct=R.pageHeader,Dt=R.list,Pt=Dt===void 0?5:Dt;return(0,I.jsxs)("div",{style:{width:"100%"},children:[Ct!==!1&&(0,I.jsx)(g,{active:Y}),et!==!1&&(0,I.jsx)(e,{size:et,active:Y}),(yt!==!1||Pt!==!1)&&(0,I.jsxs)(ut,{bordered:!1,styles:{body:{padding:0}},children:[yt!==!1&&(0,I.jsx)(h,{active:Y}),Pt!==!1&&(0,I.jsx)(L,{size:Pt,active:Y,actionButton:ft})]})]})},V=j,X={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},A=function(R){var B=R.active;return(0,I.jsxs)("div",{style:{marginBlockStart:32},children:[(0,I.jsx)(c.Z.Button,{active:B,size:"small",style:{width:100,marginBlockEnd:16}}),(0,I.jsxs)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:[(0,I.jsxs)("div",{style:{flex:1,marginInlineEnd:24,maxWidth:300},children:[(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{marginBlockStart:8}}})]}),(0,I.jsx)("div",{style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,I.jsxs)("div",{style:{maxWidth:300,margin:"auto"},children:[(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{marginBlockStart:8}}})]})})]})]})},tt=function(R){var B=R.size,Y=R.active,et=(0,d.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),ft=(0,rt.Z)()||et,yt=Object.keys(ft).filter(function(Dt){return ft[Dt]===!0})[0]||"md",Ct=B===void 0?X[yt]||3:B;return(0,I.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(Ct).fill(null).map(function(Dt,Pt){return(0,I.jsxs)("div",{style:{flex:1,paddingInlineStart:Pt===0?0:24,paddingInlineEnd:Pt===Ct-1?0:24},children:[(0,I.jsx)(c.Z,{active:Y,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,I.jsx)(c.Z,{active:Y,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,I.jsx)(c.Z,{active:Y,paragraph:!1,title:{style:{marginBlockStart:8}}})]},Pt)})})},it=function(R){var B=R.active,Y=R.header,et=Y===void 0?!1:Y,ft=(0,d.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),yt=(0,rt.Z)()||ft,Ct=Object.keys(yt).filter(function(Pt){return yt[Pt]===!0})[0]||"md",Dt=X[Ct]||3;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{style:{display:"flex",background:et?"rgba(0,0,0,0.02)":"none",padding:"24px 8px"},children:[new Array(Dt).fill(null).map(function(Pt,gt){return(0,I.jsx)("div",{style:{flex:1,paddingInlineStart:et&&gt===0?0:20,paddingInlineEnd:32},children:(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{margin:0,height:24,width:et?"75px":"100%"}}})},gt)}),(0,I.jsx)("div",{style:{flex:3,paddingInlineStart:32},children:(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{margin:0,height:24,width:et?"75px":"100%"}}})})]}),(0,I.jsx)(At,{padding:"0px 0px"})]})},nt=function(R){var B=R.active,Y=R.size,et=Y===void 0?4:Y;return(0,I.jsxs)(ut,{bordered:!1,children:[(0,I.jsx)(c.Z.Button,{active:B,size:"small",style:{width:100,marginBlockEnd:16}}),(0,I.jsx)(it,{header:!0,active:B}),new Array(et).fill(null).map(function(ft,yt){return(0,I.jsx)(it,{active:B},yt)}),(0,I.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",paddingBlockStart:16},children:(0,I.jsx)(c.Z,{active:B,paragraph:!1,title:{style:{margin:0,height:32,float:"right",maxWidth:"630px"}}})})]})},dt=function(R){var B=R.active;return(0,I.jsxs)(ut,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},children:[(0,I.jsx)(c.Z.Button,{active:B,size:"small",style:{width:100,marginBlockEnd:16}}),(0,I.jsx)(tt,{active:B}),(0,I.jsx)(A,{active:B})]})},It=function(R){var B=R.active,Y=B===void 0?!0:B,et=R.pageHeader,ft=R.list;return(0,I.jsxs)("div",{style:{width:"100%"},children:[et!==!1&&(0,I.jsx)(g,{active:Y}),(0,I.jsx)(dt,{active:Y}),ft!==!1&&(0,I.jsx)(At,{}),ft!==!1&&(0,I.jsx)(nt,{active:Y,size:ft})]})},lt=It,St=function(R){var B=R.active,Y=B===void 0?!0:B,et=R.pageHeader;return(0,I.jsxs)("div",{style:{width:"100%"},children:[et!==!1&&(0,I.jsx)(g,{active:Y}),(0,I.jsx)(ut,{children:(0,I.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",padding:128},children:[(0,I.jsx)(c.Z.Avatar,{size:64,style:{marginBlockEnd:32}}),(0,I.jsx)(c.Z.Button,{active:Y,style:{width:214,marginBlockEnd:8}}),(0,I.jsx)(c.Z.Button,{active:Y,style:{width:328},size:"small"}),(0,I.jsxs)(wt.Z,{style:{marginBlockStart:24},children:[(0,I.jsx)(c.Z.Button,{active:Y,style:{width:116}}),(0,I.jsx)(c.Z.Button,{active:Y,style:{width:116}})]})]})})]})},_t=St,bt=["type"],xt=function(R){var B=R.type,Y=B===void 0?"list":B,et=(0,F.Z)(R,bt);return Y==="result"?(0,I.jsx)(_t,(0,v.Z)({},et)):Y==="descriptions"?(0,I.jsx)(lt,(0,v.Z)({},et)):(0,I.jsx)(V,(0,v.Z)({},et))},pt=xt,$t=k(2026),Qt=k(90081),Yt=k(1977),oe=k(77398),ae=k(81736),pe=k(53914),ce=k(97685),he=k(89451),re=k(68872),ie=k(21770),me=k(86671),Pe=function(R){return(re.ZP.warn||re.ZP.warning)(R)};function je(P){var R=P.data,B=P.row;return(0,v.Z)((0,v.Z)({},R),B)}function Te(P){var R=P.type||"single",B=(0,he.YB)(),Y=(0,ie.Z)([],{value:P.editableKeys,onChange:P.onChange?function(Rt){var Et;P==null||(Et=P.onChange)===null||Et===void 0||Et.call(P,Rt,P.dataSource)}:void 0}),et=(0,ce.Z)(Y,2),ft=et[0],yt=et[1],Ct=(0,d.useMemo)(function(){var Rt=R==="single"?ft==null?void 0:ft.slice(0,1):ft;return new Set(Rt)},[(ft||[]).join(","),R]),Dt=(0,d.useCallback)(function(Rt){return!!(ft!=null&&ft.includes((0,me.sN)(Rt)))},[(ft||[]).join(",")]),Pt=function(Et){return Ct.size>0&&R==="single"?(Pe(P.onlyOneLineEditorAlertMessage||B.getMessage("editableTable.onlyOneLineEditor","\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C")),!1):(Ct.add((0,me.sN)(Et)),yt(Array.from(Ct)),!0)},gt=function(Et){return Ct.delete((0,me.sN)(Et)),yt(Array.from(Ct)),!0},Bt=function(){var Rt=(0,b.Z)((0,mt.Z)().mark(function Et(Nt,Ft,Lt,Jt){var Vt,Kt;return(0,mt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return ht.next=2,P==null||(Vt=P.onCancel)===null||Vt===void 0?void 0:Vt.call(P,Nt,Ft,Lt,Jt);case 2:if(Kt=ht.sent,Kt!==!1){ht.next=5;break}return ht.abrupt("return",!1);case 5:return ht.abrupt("return",!0);case 6:case"end":return ht.stop()}},Et)}));return function(Nt,Ft,Lt,Jt){return Rt.apply(this,arguments)}}(),Ht=function(){var Rt=(0,b.Z)((0,mt.Z)().mark(function Et(Nt,Ft,Lt){var Jt,Vt,Kt;return(0,mt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return ht.next=2,P==null||(Jt=P.onSave)===null||Jt===void 0?void 0:Jt.call(P,Nt,Ft,Lt);case 2:if(Vt=ht.sent,Vt!==!1){ht.next=5;break}return ht.abrupt("return",!1);case 5:return ht.next=7,gt(Nt);case 7:return Kt={data:P.dataSource,row:Ft,key:Nt,childrenColumnName:P.childrenColumnName||"children"},P.setDataSource(je(Kt)),ht.abrupt("return",!0);case 10:case"end":return ht.stop()}},Et)}));return function(Nt,Ft,Lt){return Rt.apply(this,arguments)}}(),Mt=B.getMessage("editableTable.action.save","\u4FDD\u5B58"),te=B.getMessage("editableTable.action.delete","\u5220\u9664"),Zt=B.getMessage("editableTable.action.cancel","\u53D6\u6D88"),Wt=(0,d.useCallback)(function(Rt,Et){var Nt=(0,v.Z)({recordKey:Rt,cancelEditable:gt,onCancel:Bt,onSave:Ht,editableKeys:ft,setEditableRowKeys:yt,saveText:Mt,cancelText:Zt,deleteText:te,deletePopconfirmMessage:"".concat(B.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?"),editorType:"Map"},Et),Ft=(0,me.aX)(P.dataSource,Nt);return P.actionRender?P.actionRender(P.dataSource,Nt,{save:Ft.save,delete:Ft.delete,cancel:Ft.cancel}):[Ft.save,Ft.delete,Ft.cancel]},[ft&&ft.join(","),P.dataSource]);return{editableKeys:ft,setEditableRowKeys:yt,isEditable:Dt,actionRender:Wt,startEditable:Pt,cancelEditable:gt}}var ke=k(78164),be=k(67159),ve=k(26412),Ie=k(28459),De=k(50344),Ae=k(88306),Re=function(R,B){var Y=B||{},et=Y.onRequestError,ft=Y.effects,yt=Y.manual,Ct=Y.dataSource,Dt=Y.defaultDataSource,Pt=Y.onDataSourceChange,gt=(0,ie.Z)(Dt,{value:Ct,onChange:Pt}),Bt=(0,ce.Z)(gt,2),Ht=Bt[0],Mt=Bt[1],te=(0,ie.Z)(B==null?void 0:B.loading,{value:B==null?void 0:B.loading,onChange:B==null?void 0:B.onLoadingChange}),Zt=(0,ce.Z)(te,2),Wt=Zt[0],Rt=Zt[1],Et=function(Lt){Mt(Lt),Rt(!1)},Nt=function(){var Ft=(0,b.Z)((0,mt.Z)().mark(function Lt(){var Jt,Vt,Kt;return(0,mt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:if(!Wt){ht.next=2;break}return ht.abrupt("return");case 2:return Rt(!0),ht.prev=3,ht.next=6,R();case 6:if(ht.t0=ht.sent,ht.t0){ht.next=9;break}ht.t0={};case 9:Jt=ht.t0,Vt=Jt.data,Kt=Jt.success,Kt!==!1&&Et(Vt),ht.next=23;break;case 15:if(ht.prev=15,ht.t1=ht.catch(3),et!==void 0){ht.next=21;break}throw new Error(ht.t1);case 21:et(ht.t1);case 22:Rt(!1);case 23:return ht.prev=23,Rt(!1),ht.finish(23);case 26:case"end":return ht.stop()}},Lt,null,[[3,15,23,26]])}));return function(){return Ft.apply(this,arguments)}}();return(0,d.useEffect)(function(){yt||Nt()},[].concat((0,Q.Z)(ft||[]),[yt])),{dataSource:Ht,setDataSource:Mt,loading:Wt,reload:function(){return Nt()}}},ze=Re,_e=k(98082),Be=["valueEnum","render","renderText","mode","plain","dataIndex","request","params","editable"],Ze=["request","columns","params","dataSource","onDataSourceChange","formProps","editable","loading","onLoadingChange","actionRef","onRequestError","emptyText","contentStyle"],Fe=function(R,B){var Y=R.dataIndex;if(Y){var et=Array.isArray(Y)?(0,Ae.Z)(B,Y):B[Y];if(et!==void 0||et!==null)return et}return R.children},xe=function(R){var B,Y=R.valueEnum,et=R.action,ft=R.index,yt=R.text,Ct=R.entity,Dt=R.mode,Pt=R.render,gt=R.editableUtils,Bt=R.valueType,Ht=R.plain,Mt=R.dataIndex,te=R.request,Zt=R.renderFormItem,Wt=R.params,Rt=R.emptyText,Et=u.ZP.useFormInstance(),Nt=(B=_e.Ow.useToken)===null||B===void 0?void 0:B.call(_e.Ow),Ft=Nt.token,Lt={text:yt,valueEnum:Y,mode:Dt||"read",proFieldProps:{emptyText:Rt,render:Pt?function(Kt){return Pt==null?void 0:Pt(Kt,Ct,ft,et,(0,v.Z)((0,v.Z)({},R),{},{type:"descriptions"}))}:void 0},ignoreFormItem:!0,valueType:Bt,request:te,params:Wt,plain:Ht};if(Dt==="read"||!Dt||Bt==="option"){var Jt=(0,$t.w)(R.fieldProps,void 0,(0,v.Z)((0,v.Z)({},R),{},{rowKey:Mt,isEditable:!1}));return(0,I.jsx)(x.Z,(0,v.Z)((0,v.Z)({name:Mt},Lt),{},{fieldProps:Jt}))}var Vt=function(){var Tt,ht=(0,$t.w)(R.formItemProps,Et,(0,v.Z)((0,v.Z)({},R),{},{rowKey:Mt,isEditable:!0})),ee=(0,$t.w)(R.fieldProps,Et,(0,v.Z)((0,v.Z)({},R),{},{rowKey:Mt,isEditable:!0}));return(0,I.jsxs)("div",{style:{display:"flex",gap:Ft.marginXS,alignItems:"baseline"},children:[(0,I.jsx)(Qt.U,(0,v.Z)((0,v.Z)({name:Mt},ht),{},{style:(0,v.Z)({margin:0},(ht==null?void 0:ht.style)||{}),initialValue:yt||(ht==null?void 0:ht.initialValue),children:(0,I.jsx)(x.Z,(0,v.Z)((0,v.Z)({},Lt),{},{proFieldProps:(0,v.Z)({},Lt.proFieldProps),renderFormItem:Zt?function(){return Zt==null?void 0:Zt((0,v.Z)((0,v.Z)({},R),{},{type:"descriptions"}),{isEditable:!0,recordKey:Mt,record:Et.getFieldValue([Mt].flat(1)),defaultRender:function(){return(0,I.jsx)(x.Z,(0,v.Z)((0,v.Z)({},Lt),{},{fieldProps:ee}))},type:"descriptions"},Et)}:void 0,fieldProps:ee}))})),(0,I.jsx)("div",{style:{display:"flex",maxHeight:Ft.controlHeight,alignItems:"center",gap:Ft.marginXS},children:gt==null||(Tt=gt.actionRender)===null||Tt===void 0?void 0:Tt.call(gt,Mt||ft,{cancelText:(0,I.jsx)(o.Z,{}),saveText:(0,I.jsx)(l.Z,{}),deleteText:!1})})]})};return(0,I.jsx)("div",{style:{marginTop:-5,marginBottom:-5,marginLeft:0,marginRight:0},children:Vt()})},Me=function(R,B,Y,et,ft){var yt,Ct=[],Dt=(0,Yt.n)(be.Z,"5.8.0")>=0,Pt=R==null||(yt=R.map)===null||yt===void 0?void 0:yt.call(R,function(gt,Bt){var Ht,Mt,te;if(d.isValidElement(gt))return Dt?{children:gt}:gt;var Zt=gt,Wt=Zt.valueEnum,Rt=Zt.render,Et=Zt.renderText,Nt=Zt.mode,Ft=Zt.plain,Lt=Zt.dataIndex,Jt=Zt.request,Vt=Zt.params,Kt=Zt.editable,Tt=(0,F.Z)(Zt,Be),ht=(Ht=Fe(gt,B))!==null&&Ht!==void 0?Ht:Tt.children,ee=Et?Et(ht,B,Bt,Y):ht,Gt=typeof Tt.title=="function"?Tt.title(gt,"descriptions",null):Tt.title,ne=typeof Tt.valueType=="function"?Tt.valueType(B||{},"descriptions"):Tt.valueType,Ot=et==null?void 0:et.isEditable(Lt||Bt),jt=Nt||Ot?"edit":"read",se=et&&jt==="read"&&Kt!==!1&&(Kt==null?void 0:Kt(ee,B,Bt))!==!1,Ut=se?wt.Z:d.Fragment,le=jt==="edit"?ee:(0,oe.X)(ee,gt,ee),de=Dt&&ne!=="option"?(0,v.Z)((0,v.Z)({},Tt),{},{key:Tt.key||((Mt=Tt.label)===null||Mt===void 0?void 0:Mt.toString())||Bt,label:(Gt||Tt.label||Tt.tooltip)&&(0,I.jsx)(ae.G,{label:Gt||Tt.label,tooltip:Tt.tooltip,ellipsis:gt.ellipsis}),children:(0,I.jsxs)(Ut,{children:[(0,d.createElement)(xe,(0,v.Z)((0,v.Z)({},gt),{},{key:gt==null?void 0:gt.key,dataIndex:gt.dataIndex||Bt,mode:jt,text:le,valueType:ne,entity:B,index:Bt,emptyText:ft,action:Y,editableUtils:et})),se&&(0,I.jsx)(a.Z,{onClick:function(){et==null||et.startEditable(Lt||Bt)}})]})}):(0,d.createElement)(ve.Z.Item,(0,v.Z)((0,v.Z)({},Tt),{},{key:Tt.key||((te=Tt.label)===null||te===void 0?void 0:te.toString())||Bt,label:(Gt||Tt.label||Tt.tooltip)&&(0,I.jsx)(ae.G,{label:Gt||Tt.label,tooltip:Tt.tooltip,ellipsis:gt.ellipsis})}),(0,I.jsxs)(Ut,{children:[(0,I.jsx)(xe,(0,v.Z)((0,v.Z)({},gt),{},{dataIndex:gt.dataIndex||Bt,mode:jt,text:le,valueType:ne,entity:B,index:Bt,action:Y,editableUtils:et})),se&&ne!=="option"&&(0,I.jsx)(a.Z,{onClick:function(){et==null||et.startEditable(Lt||Bt)}})]}));return ne==="option"?(Ct.push(de),null):de}).filter(function(gt){return gt});return{options:Ct!=null&&Ct.length?Ct:null,children:Pt}},we=function(R){return(0,I.jsx)(ve.Z.Item,(0,v.Z)((0,v.Z)({},R),{},{children:R.children}))};we.displayName="ProDescriptionsItem";var Le=function(R){return R.children},Se=function(R){var B,Y=R.request,et=R.columns,ft=R.params,yt=R.dataSource,Ct=R.onDataSourceChange,Dt=R.formProps,Pt=R.editable,gt=R.loading,Bt=R.onLoadingChange,Ht=R.actionRef,Mt=R.onRequestError,te=R.emptyText,Zt=R.contentStyle,Wt=(0,F.Z)(R,Ze),Rt=(0,d.useContext)(Ie.ZP.ConfigContext),Et=ze((0,b.Z)((0,mt.Z)().mark(function Gt(){var ne;return(0,mt.Z)().wrap(function(jt){for(;;)switch(jt.prev=jt.next){case 0:if(!Y){jt.next=6;break}return jt.next=3,Y(ft||{});case 3:jt.t0=jt.sent,jt.next=7;break;case 6:jt.t0={data:{}};case 7:return ne=jt.t0,jt.abrupt("return",ne);case 9:case"end":return jt.stop()}},Gt)})),{onRequestError:Mt,effects:[(0,pe.ZP)(ft)],manual:!Y,dataSource:yt,loading:gt,onLoadingChange:Bt,onDataSourceChange:Ct}),Nt=Te((0,v.Z)((0,v.Z)({},R.editable),{},{childrenColumnName:void 0,dataSource:Et.dataSource,setDataSource:Et.setDataSource}));if((0,d.useEffect)(function(){Ht&&(Ht.current=(0,v.Z)({reload:Et.reload},Nt))},[Et,Ht,Nt]),Et.loading||Et.loading===void 0&&Y)return(0,I.jsx)(pt,{type:"descriptions",list:!1,pageHeader:!1});var Ft=function(){var ne=(0,De.Z)(R.children).filter(Boolean).map(function(Ot){if(!d.isValidElement(Ot))return Ot;var jt=Ot==null?void 0:Ot.props,se=jt.valueEnum,Ut=jt.valueType,le=jt.dataIndex,de=jt.ellipsis,ue=jt.copyable,ge=jt.request;return!Ut&&!se&&!le&&!ge&&!de&&!ue&&Ot.type.displayName!=="ProDescriptionsItem"?Ot:(0,v.Z)((0,v.Z)({},Ot==null?void 0:Ot.props),{},{entity:yt})});return[].concat((0,Q.Z)(et||[]),(0,Q.Z)(ne)).filter(function(Ot){return!Ot||Ot!=null&&Ot.valueType&&["index","indexBorder"].includes(Ot==null?void 0:Ot.valueType)?!1:!(Ot!=null&&Ot.hideInDescriptions)}).sort(function(Ot,jt){return jt.order||Ot.order?(jt.order||0)-(Ot.order||0):(jt.index||0)-(Ot.index||0)})},Lt=Me(Ft(),Et.dataSource||{},(Ht==null?void 0:Ht.current)||Et,Pt?Nt:void 0,R.emptyText),Jt=Lt.options,Vt=Lt.children,Kt=Pt?u.ZP:Le,Tt=null;(Wt.title||Wt.tooltip||Wt.tip)&&(Tt=(0,I.jsx)(ae.G,{label:Wt.title,tooltip:Wt.tooltip||Wt.tip}));var ht=Rt.getPrefixCls("pro-descriptions"),ee=(0,Yt.n)(be.Z,"5.8.0")>=0;return(0,I.jsx)(ke.S,{children:(0,I.jsx)(Kt,(0,v.Z)((0,v.Z)({form:(B=R.editable)===null||B===void 0?void 0:B.form,component:!1,submitter:!1},Dt),{},{onFinish:void 0,children:(0,I.jsx)(ve.Z,(0,v.Z)((0,v.Z)({className:ht},Wt),{},{contentStyle:(0,v.Z)({minWidth:0},Zt||{}),extra:Wt.extra?(0,I.jsxs)(wt.Z,{children:[Jt,Wt.extra]}):Jt,title:Tt,items:ee?Vt:void 0,children:ee?null:Vt}))}),"form")})};Se.Item=we;var tn=null},8214:function(zt,at,k){"use strict";var Q=k(1413),mt=k(45987),b=k(62435),F=k(66758),v=k(49994),o=k(86074),l=["fieldProps","request","params","proFieldProps"],a=function(x,d){var c=x.fieldProps,y=x.request,r=x.params,f=x.proFieldProps,i=(0,mt.Z)(x,l),m=(0,b.useContext)(F.Z);return(0,o.jsx)(v.Z,(0,Q.Z)({valueType:"cascader",fieldProps:(0,Q.Z)({getPopupContainer:m.getPopupContainer},c),ref:d,request:y,params:r,filedConfig:{customLightMode:!0},proFieldProps:f},i))};at.Z=b.forwardRef(a)},31199:function(zt,at,k){"use strict";var Q=k(1413),mt=k(45987),b=k(62435),F=k(49994),v=k(86074),o=["fieldProps","min","proFieldProps","max"],l=function(x,d){var c=x.fieldProps,y=x.min,r=x.proFieldProps,f=x.max,i=(0,mt.Z)(x,o);return(0,v.jsx)(F.Z,(0,Q.Z)({valueType:"digit",fieldProps:(0,Q.Z)({min:y,max:f},c),ref:d,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:r},i))},a=b.forwardRef(l);at.Z=a},64317:function(zt,at,k){"use strict";var Q=k(1413),mt=k(45987),b=k(22270),F=k(62435),v=k(66758),o=k(49994),l=k(86074),a=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],u=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],x=function(i,m){var s=i.fieldProps,_=i.children,E=i.params,T=i.proFieldProps,C=i.mode,H=i.valueEnum,U=i.request,J=i.showSearch,M=i.options,w=(0,mt.Z)(i,a),D=(0,F.useContext)(v.Z);return(0,l.jsx)(o.Z,(0,Q.Z)((0,Q.Z)({valueEnum:(0,b.h)(H),request:U,params:E,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,Q.Z)({options:M,mode:C,showSearch:J,getPopupContainer:D.getPopupContainer},s),ref:m,proFieldProps:T},w),{},{children:_}))},d=F.forwardRef(function(f,i){var m=f.fieldProps,s=f.children,_=f.params,E=f.proFieldProps,T=f.mode,C=f.valueEnum,H=f.request,U=f.options,J=(0,mt.Z)(f,u),M=(0,Q.Z)({options:U,mode:T||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},m),w=(0,F.useContext)(v.Z);return(0,l.jsx)(o.Z,(0,Q.Z)((0,Q.Z)({valueEnum:(0,b.h)(C),request:H,params:_,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,Q.Z)({getPopupContainer:w.getPopupContainer},M),ref:i,proFieldProps:E},J),{},{children:s}))}),c=F.forwardRef(x),y=d,r=c;r.SearchSelect=y,r.displayName="ProFormComponent",at.Z=r},80876:function(zt,at,k){"use strict";var Q=k(1413),mt=k(64082),b=k(28459),F=k(2058),v=k(62435),o=k(9105),l=k(28614),a=k(86074),u=v.forwardRef(function(d,c){var y=d.fieldProps,r=d.title,f=r===void 0?"\u5355\u51FB\u6216\u62D6\u52A8\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u8FDB\u884C\u4E0A\u4F20":r,i=d.icon,m=i===void 0?(0,a.jsx)(mt.Z,{}):i,s=d.description,_=s===void 0?"\u652F\u6301\u5355\u6B21\u6216\u6279\u91CF\u4E0A\u4F20":s,E=d.action,T=d.accept,C=d.onChange,H=d.value,U=d.children,J=d.max,M=d.proFieldProps,w=(0,v.useContext)(b.ZP.ConfigContext),D=(0,v.useContext)(o.A),n=(M==null?void 0:M.mode)||D.mode||"edit",S=w.getPrefixCls("upload"),t=(J===void 0||!H||(H==null?void 0:H.length)<J)&&n!=="read"&&(M==null?void 0:M.readonly)!==!0;return(0,a.jsxs)(F.Z.Dragger,(0,Q.Z)((0,Q.Z)({ref:c,name:"files",action:E,accept:T,fileList:H},y),{},{onChange:function(q){C==null||C(q),y!=null&&y.onChange&&(y==null||y.onChange(q))},style:(0,Q.Z)((0,Q.Z)({},y==null?void 0:y.style),{},{display:t?void 0:"none"}),children:[(0,a.jsx)("p",{className:"".concat(S,"-drag-icon"),children:m}),(0,a.jsx)("p",{className:"".concat(S,"-text"),children:f}),(0,a.jsx)("p",{className:"".concat(S,"-hint"),children:_}),U?(0,a.jsx)("div",{className:"".concat(S,"-extra"),style:{padding:16},children:U}):null]}))}),x=(0,l.G)(u,{getValueFromEvent:function(c){return c.fileList}});at.Z=x},50727:function(zt,at,k){"use strict";var Q=k(4942),mt=k(97685),b=k(45987),F=k(74165),v=k(15861),o=k(1413),l=k(24969),a=k(97462),u=k(952),x=k(89451),d=k(48171),c=k(53914),y=k(22270),r=k(60249),f=k(14726),i=k(23323),m=k(21770),s=k(88306),_=k(8880),E=k(62435),T=k(95338),C=k(86074),H=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],U=["record","position","creatorButtonText","newRecordType","parentKey","style"],J=E.createContext(void 0);function M(n){var S=n.children,t=n.record,O=n.position,q=n.newRecordType,W=n.parentKey,ct=(0,E.useContext)(J);return E.cloneElement(S,(0,o.Z)((0,o.Z)({},S.props),{},{onClick:function(){var $=(0,v.Z)((0,F.Z)().mark(function z(p){var N,G,Z,ot;return(0,F.Z)().wrap(function(rt){for(;;)switch(rt.prev=rt.next){case 0:return rt.next=2,(N=(G=S.props).onClick)===null||N===void 0?void 0:N.call(G,p);case 2:if(ot=rt.sent,ot!==!1){rt.next=5;break}return rt.abrupt("return");case 5:ct==null||(Z=ct.current)===null||Z===void 0||Z.addEditRecord(t,{position:O,newRecordType:q,parentKey:W});case 6:case"end":return rt.stop()}},z)}));function st(z){return $.apply(this,arguments)}return st}()}))}function w(n){var S,t,O=(0,x.YB)(),q=n.onTableChange,W=n.maxLength,ct=n.formItemProps,$=n.recordCreatorProps,st=n.rowKey,z=n.controlled,p=n.defaultValue,N=n.onChange,G=n.editableFormRef,Z=(0,b.Z)(n,H),ot=(0,E.useRef)(void 0),ut=(0,E.useRef)(),rt=(0,E.useRef)();(0,E.useImperativeHandle)(Z.actionRef,function(){return ut.current},[ut.current]);var vt=(0,m.Z)(function(){return n.value||p||[]},{value:n.value,onChange:n.onChange}),wt=(0,mt.Z)(vt,2),I=wt[0],At=wt[1],kt=E.useMemo(function(){return typeof st=="function"?st:function(lt,St){return lt[st]||St}},[st]),e=(0,d.J)(function(lt){if(typeof lt=="number"&&!n.name){if(lt>=I.length)return lt;var St=I&&I[lt];return kt==null?void 0:kt(St,lt)}if((typeof lt=="string"||lt>=I.length)&&n.name){var _t=I.findIndex(function(bt,xt){var pt;return(kt==null||(pt=kt(bt,xt))===null||pt===void 0?void 0:pt.toString())===(lt==null?void 0:lt.toString())});if(_t!==-1)return _t}return lt});(0,E.useImperativeHandle)(G,function(){var lt=function(bt){var xt,pt;if(bt==null)throw new Error("rowIndex is required");var $t=e(bt),Qt=[n.name,(xt=$t==null?void 0:$t.toString())!==null&&xt!==void 0?xt:""].flat(1).filter(Boolean);return(pt=rt.current)===null||pt===void 0?void 0:pt.getFieldValue(Qt)},St=function(){var bt,xt=[n.name].flat(1).filter(Boolean);if(Array.isArray(xt)&&xt.length===0){var pt,$t=(pt=rt.current)===null||pt===void 0?void 0:pt.getFieldsValue();return Array.isArray($t)?$t:Object.keys($t).map(function(Qt){return $t[Qt]})}return(bt=rt.current)===null||bt===void 0?void 0:bt.getFieldValue(xt)};return(0,o.Z)((0,o.Z)({},rt.current),{},{getRowData:lt,getRowsData:St,setRowData:function(bt,xt){var pt,$t;if(bt==null)throw new Error("rowIndex is required");var Qt=e(bt),Yt=[n.name,(pt=Qt==null?void 0:Qt.toString())!==null&&pt!==void 0?pt:""].flat(1).filter(Boolean),oe=Object.assign({},(0,o.Z)((0,o.Z)({},lt(bt)),xt||{})),ae=(0,_.Z)({},Yt,oe);return($t=rt.current)===null||$t===void 0||$t.setFieldsValue(ae),!0}})},[e,n.name,rt.current]),(0,E.useEffect)(function(){n.controlled&&(I||[]).forEach(function(lt,St){var _t;(_t=rt.current)===null||_t===void 0||_t.setFieldsValue((0,Q.Z)({},"".concat(kt(lt,St)),lt))},{})},[(0,c.ZP)(I),n.controlled]),(0,E.useEffect)(function(){if(n.name){var lt;rt.current=n==null||(lt=n.editable)===null||lt===void 0?void 0:lt.form}},[(S=n.editable)===null||S===void 0?void 0:S.form,n.name]);var K=$||{},L=K.record,g=K.position,h=K.creatorButtonText,j=K.newRecordType,V=K.parentKey,X=K.style,A=(0,b.Z)(K,U),tt=g==="top",it=(0,E.useMemo)(function(){return typeof W=="number"&&W<=(I==null?void 0:I.length)?!1:$!==!1&&(0,C.jsx)(M,{record:(0,y.h)(L,I==null?void 0:I.length,I)||{},position:g,parentKey:(0,y.h)(V,I==null?void 0:I.length,I),newRecordType:j,children:(0,C.jsx)(f.ZP,(0,o.Z)((0,o.Z)({type:"dashed",style:(0,o.Z)({display:"block",margin:"10px 0",width:"100%"},X),icon:(0,C.jsx)(l.Z,{})},A),{},{children:h||O.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[$,W,I==null?void 0:I.length]),nt=(0,E.useMemo)(function(){return it?tt?{components:{header:{wrapper:function(St){var _t,bt=St.className,xt=St.children;return(0,C.jsxs)("thead",{className:bt,children:[xt,(0,C.jsxs)("tr",{style:{position:"relative"},children:[(0,C.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:it}),(0,C.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(_t=Z.columns)===null||_t===void 0?void 0:_t.length,children:it})]})]})}}}}:{tableViewRender:function(St,_t){var bt,xt;return(0,C.jsxs)(C.Fragment,{children:[(bt=(xt=n.tableViewRender)===null||xt===void 0?void 0:xt.call(n,St,_t))!==null&&bt!==void 0?bt:_t,it]})}}:{}},[tt,it]),dt=(0,o.Z)({},n.editable),It=(0,d.J)(function(lt,St){var _t,bt,xt;if((_t=n.editable)===null||_t===void 0||(bt=_t.onValuesChange)===null||bt===void 0||bt.call(_t,lt,St),(xt=n.onValuesChange)===null||xt===void 0||xt.call(n,St,lt),n.controlled){var pt;n==null||(pt=n.onChange)===null||pt===void 0||pt.call(n,St)}});return(n!=null&&n.onValuesChange||(t=n.editable)!==null&&t!==void 0&&t.onValuesChange||n.controlled&&n!==null&&n!==void 0&&n.onChange)&&(dt.onValuesChange=It),(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(J.Provider,{value:ut,children:(0,C.jsx)(T.Z,(0,o.Z)((0,o.Z)((0,o.Z)({search:!1,options:!1,pagination:!1,rowKey:st,revalidateOnFocus:!1},Z),nt),{},{tableLayout:"fixed",actionRef:ut,onChange:q,editable:(0,o.Z)((0,o.Z)({},dt),{},{formProps:(0,o.Z)({formRef:rt},dt.formProps)}),dataSource:I,onDataSourceChange:function(St){if(At(St),n.name&&g==="top"){var _t,bt=(0,_.Z)({},[n.name].flat(1).filter(Boolean),St);(_t=rt.current)===null||_t===void 0||_t.setFieldsValue(bt)}}}))}),n.name?(0,C.jsx)(a.Z,{name:[n.name],children:function(St){var _t,bt;if(!ot.current)return ot.current=I,null;var xt=(0,s.Z)(St,[n.name].flat(1)),pt=xt==null?void 0:xt.find(function($t,Qt){var Yt;return!(0,r.A)($t,(Yt=ot.current)===null||Yt===void 0?void 0:Yt[Qt])});return ot.current=I,pt&&(n==null||(_t=n.editable)===null||_t===void 0||(bt=_t.onValuesChange)===null||bt===void 0||bt.call(_t,pt,xt)),null}}):null]})}function D(n){var S=u.ZP.useFormInstance();return n.name?(0,C.jsx)(i.Z.Item,(0,o.Z)((0,o.Z)({style:{maxWidth:"100%"}},n==null?void 0:n.formItemProps),{},{name:n.name,shouldUpdate:function(O,q){var W=[n.name].flat(1);try{return JSON.stringify((0,s.Z)(O,W))!==JSON.stringify((0,s.Z)(q,W))}catch(ct){return!0}},children:(0,C.jsx)(w,(0,o.Z)((0,o.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n),{},{editable:(0,o.Z)((0,o.Z)({},n.editable),{},{form:S})}))})):(0,C.jsx)(w,(0,o.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n))}D.RecordCreator=M,at.Z=D},93702:function(zt,at,k){"use strict";k.r(at),k.d(at,{__assign:function(){return v},__asyncDelegator:function(){return E},__asyncGenerator:function(){return _},__asyncValues:function(){return T},__await:function(){return s},__awaiter:function(){return x},__classPrivateFieldGet:function(){return J},__classPrivateFieldSet:function(){return M},__createBinding:function(){return c},__decorate:function(){return l},__exportStar:function(){return y},__extends:function(){return F},__generator:function(){return d},__importDefault:function(){return U},__importStar:function(){return H},__makeTemplateObject:function(){return C},__metadata:function(){return u},__param:function(){return a},__read:function(){return f},__rest:function(){return o},__spread:function(){return i},__spreadArrays:function(){return m},__values:function(){return r}});var Q=k(52677),mt=k.n(Q);var b=function(D,n){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,t){S.__proto__=t}||function(S,t){for(var O in t)t.hasOwnProperty(O)&&(S[O]=t[O])},b(D,n)};function F(w,D){b(w,D);function n(){this.constructor=w}w.prototype=D===null?Object.create(D):(n.prototype=D.prototype,new n)}var v=function(){return v=Object.assign||function(n){for(var S,t=1,O=arguments.length;t<O;t++){S=arguments[t];for(var q in S)Object.prototype.hasOwnProperty.call(S,q)&&(n[q]=S[q])}return n},v.apply(this,arguments)};function o(w,D){var n={};for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&D.indexOf(S)<0&&(n[S]=w[S]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,S=Object.getOwnPropertySymbols(w);t<S.length;t++)D.indexOf(S[t])<0&&Object.prototype.propertyIsEnumerable.call(w,S[t])&&(n[S[t]]=w[S[t]]);return n}function l(w,D,n,S){var t=arguments.length,O=t<3?D:S===null?S=Object.getOwnPropertyDescriptor(D,n):S,q;if((typeof Reflect=="undefined"?"undefined":mt()(Reflect))==="object"&&typeof Reflect.decorate=="function")O=Reflect.decorate(w,D,n,S);else for(var W=w.length-1;W>=0;W--)(q=w[W])&&(O=(t<3?q(O):t>3?q(D,n,O):q(D,n))||O);return t>3&&O&&Object.defineProperty(D,n,O),O}function a(w,D){return function(n,S){D(n,S,w)}}function u(w,D){if((typeof Reflect=="undefined"?"undefined":mt()(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(w,D)}function x(w,D,n,S){function t(O){return O instanceof n?O:new n(function(q){q(O)})}return new(n||(n=Promise))(function(O,q){function W(st){try{$(S.next(st))}catch(z){q(z)}}function ct(st){try{$(S.throw(st))}catch(z){q(z)}}function $(st){st.done?O(st.value):t(st.value).then(W,ct)}$((S=S.apply(w,D||[])).next())})}function d(w,D){var n={label:0,sent:function(){if(O[0]&1)throw O[1];return O[1]},trys:[],ops:[]},S,t,O,q;return q={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(q[Symbol.iterator]=function(){return this}),q;function W($){return function(st){return ct([$,st])}}function ct($){if(S)throw new TypeError("Generator is already executing.");for(;n;)try{if(S=1,t&&(O=$[0]&2?t.return:$[0]?t.throw||((O=t.return)&&O.call(t),0):t.next)&&!(O=O.call(t,$[1])).done)return O;switch(t=0,O&&($=[$[0]&2,O.value]),$[0]){case 0:case 1:O=$;break;case 4:return n.label++,{value:$[1],done:!1};case 5:n.label++,t=$[1],$=[0];continue;case 7:$=n.ops.pop(),n.trys.pop();continue;default:if(O=n.trys,!(O=O.length>0&&O[O.length-1])&&($[0]===6||$[0]===2)){n=0;continue}if($[0]===3&&(!O||$[1]>O[0]&&$[1]<O[3])){n.label=$[1];break}if($[0]===6&&n.label<O[1]){n.label=O[1],O=$;break}if(O&&n.label<O[2]){n.label=O[2],n.ops.push($);break}O[2]&&n.ops.pop(),n.trys.pop();continue}$=D.call(w,n)}catch(st){$=[6,st],t=0}finally{S=O=0}if($[0]&5)throw $[1];return{value:$[0]?$[1]:void 0,done:!0}}}function c(w,D,n,S){S===void 0&&(S=n),w[S]=D[n]}function y(w,D){for(var n in w)n!=="default"&&!D.hasOwnProperty(n)&&(D[n]=w[n])}function r(w){var D=typeof Symbol=="function"&&Symbol.iterator,n=D&&w[D],S=0;if(n)return n.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&S>=w.length&&(w=void 0),{value:w&&w[S++],done:!w}}};throw new TypeError(D?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(w,D){var n=typeof Symbol=="function"&&w[Symbol.iterator];if(!n)return w;var S=n.call(w),t,O=[],q;try{for(;(D===void 0||D-- >0)&&!(t=S.next()).done;)O.push(t.value)}catch(W){q={error:W}}finally{try{t&&!t.done&&(n=S.return)&&n.call(S)}finally{if(q)throw q.error}}return O}function i(){for(var w=[],D=0;D<arguments.length;D++)w=w.concat(f(arguments[D]));return w}function m(){for(var w=0,D=0,n=arguments.length;D<n;D++)w+=arguments[D].length;for(var S=Array(w),t=0,D=0;D<n;D++)for(var O=arguments[D],q=0,W=O.length;q<W;q++,t++)S[t]=O[q];return S}function s(w){return this instanceof s?(this.v=w,this):new s(w)}function _(w,D,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=n.apply(w,D||[]),t,O=[];return t={},q("next"),q("throw"),q("return"),t[Symbol.asyncIterator]=function(){return this},t;function q(p){S[p]&&(t[p]=function(N){return new Promise(function(G,Z){O.push([p,N,G,Z])>1||W(p,N)})})}function W(p,N){try{ct(S[p](N))}catch(G){z(O[0][3],G)}}function ct(p){p.value instanceof s?Promise.resolve(p.value.v).then($,st):z(O[0][2],p)}function $(p){W("next",p)}function st(p){W("throw",p)}function z(p,N){p(N),O.shift(),O.length&&W(O[0][0],O[0][1])}}function E(w){var D,n;return D={},S("next"),S("throw",function(t){throw t}),S("return"),D[Symbol.iterator]=function(){return this},D;function S(t,O){D[t]=w[t]?function(q){return(n=!n)?{value:s(w[t](q)),done:t==="return"}:O?O(q):q}:O}}function T(w){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var D=w[Symbol.asyncIterator],n;return D?D.call(w):(w=typeof r=="function"?r(w):w[Symbol.iterator](),n={},S("next"),S("throw"),S("return"),n[Symbol.asyncIterator]=function(){return this},n);function S(O){n[O]=w[O]&&function(q){return new Promise(function(W,ct){q=w[O](q),t(W,ct,q.done,q.value)})}}function t(O,q,W,ct){Promise.resolve(ct).then(function($){O({value:$,done:W})},q)}}function C(w,D){return Object.defineProperty?Object.defineProperty(w,"raw",{value:D}):w.raw=D,w}function H(w){if(w&&w.__esModule)return w;var D={};if(w!=null)for(var n in w)Object.hasOwnProperty.call(w,n)&&(D[n]=w[n]);return D.default=w,D}function U(w){return w&&w.__esModule?w:{default:w}}function J(w,D){if(!D.has(w))throw new TypeError("attempted to get private field on non-instance");return D.get(w)}function M(w,D,n){if(!D.has(w))throw new TypeError("attempted to set private field on non-instance");return D.set(w,n),n}},26412:function(zt,at,k){"use strict";k.d(at,{Z:function(){return z}});var Q=k(62435),mt=k(93967),b=k.n(mt),F=k(74443),v=k(53124),o=k(98675),l=k(25378),u={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},d=Q.createContext({}),c=k(50344),y=function(p,N){var G={};for(var Z in p)Object.prototype.hasOwnProperty.call(p,Z)&&N.indexOf(Z)<0&&(G[Z]=p[Z]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Z=Object.getOwnPropertySymbols(p);ot<Z.length;ot++)N.indexOf(Z[ot])<0&&Object.prototype.propertyIsEnumerable.call(p,Z[ot])&&(G[Z[ot]]=p[Z[ot]]);return G};const r=p=>(0,c.Z)(p).map(N=>Object.assign(Object.assign({},N==null?void 0:N.props),{key:N.key}));function f(p,N,G){const Z=Q.useMemo(()=>N||r(G),[N,G]);return Q.useMemo(()=>Z.map(ut=>{var{span:rt}=ut,vt=y(ut,["span"]);return Object.assign(Object.assign({},vt),{span:typeof rt=="number"?rt:(0,F.m9)(p,rt)})}),[Z,p])}function i(p,N,G){let Z=p,ot=!1;return(G===void 0||G>N)&&(Z=Object.assign(Object.assign({},p),{span:N}),ot=G!==void 0),[Z,ot]}function m(p,N){const G=[];let Z=[],ot=N,ut=!1;return p.filter(rt=>rt).forEach((rt,vt)=>{const wt=rt==null?void 0:rt.span,I=wt||1;if(vt===p.length-1){const[At,kt]=i(rt,ot,wt);ut=ut||kt,Z.push(At),G.push(Z);return}if(I<ot)ot-=I,Z.push(rt);else{const[At,kt]=i(rt,ot,I);ut=ut||kt,Z.push(At),G.push(Z),ot=N,Z=[]}}),[G,ut]}var _=(p,N)=>{const[G,Z]=(0,Q.useMemo)(()=>m(N,p),[N,p]);return G},T=p=>{let{children:N}=p;return N};function C(p){return p!=null}var U=p=>{const{itemPrefixCls:N,component:G,span:Z,className:ot,style:ut,labelStyle:rt,contentStyle:vt,bordered:wt,label:I,content:At,colon:kt,type:e}=p,K=G;return wt?Q.createElement(K,{className:b()({[`${N}-item-label`]:e==="label",[`${N}-item-content`]:e==="content"},ot),style:ut,colSpan:Z},C(I)&&Q.createElement("span",{style:rt},I),C(At)&&Q.createElement("span",{style:vt},At)):Q.createElement(K,{className:b()(`${N}-item`,ot),style:ut,colSpan:Z},Q.createElement("div",{className:`${N}-item-container`},(I||I===0)&&Q.createElement("span",{className:b()(`${N}-item-label`,{[`${N}-item-no-colon`]:!kt}),style:rt},I),(At||At===0)&&Q.createElement("span",{className:b()(`${N}-item-content`),style:vt},At)))};function J(p,N,G){let{colon:Z,prefixCls:ot,bordered:ut}=N,{component:rt,type:vt,showLabel:wt,showContent:I,labelStyle:At,contentStyle:kt}=G;return p.map((e,K)=>{let{label:L,children:g,prefixCls:h=ot,className:j,style:V,labelStyle:X,contentStyle:A,span:tt=1,key:it}=e;return typeof rt=="string"?Q.createElement(U,{key:`${vt}-${it||K}`,className:j,style:V,labelStyle:Object.assign(Object.assign({},At),X),contentStyle:Object.assign(Object.assign({},kt),A),span:tt,colon:Z,component:rt,itemPrefixCls:h,bordered:ut,label:wt?L:null,content:I?g:null,type:vt}):[Q.createElement(U,{key:`label-${it||K}`,className:j,style:Object.assign(Object.assign(Object.assign({},At),V),X),span:1,colon:Z,component:rt[0],itemPrefixCls:h,bordered:ut,label:L,type:"label"}),Q.createElement(U,{key:`content-${it||K}`,className:j,style:Object.assign(Object.assign(Object.assign({},kt),V),A),span:tt*2-1,component:rt[1],itemPrefixCls:h,bordered:ut,content:g,type:"content"})]})}var w=p=>{const N=Q.useContext(d),{prefixCls:G,vertical:Z,row:ot,index:ut,bordered:rt}=p;return Z?Q.createElement(Q.Fragment,null,Q.createElement("tr",{key:`label-${ut}`,className:`${G}-row`},J(ot,p,Object.assign({component:"th",type:"label",showLabel:!0},N))),Q.createElement("tr",{key:`content-${ut}`,className:`${G}-row`},J(ot,p,Object.assign({component:"td",type:"content",showContent:!0},N)))):Q.createElement("tr",{key:ut,className:`${G}-row`},J(ot,p,Object.assign({component:rt?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},N)))},D=k(54548),n=k(14747),S=k(92030),t=k(45503);const O=p=>{const{componentCls:N,labelBg:G}=p;return{[`&${N}-bordered`]:{[`> ${N}-view`]:{border:`${(0,D.bf)(p.lineWidth)} ${p.lineType} ${p.colorSplit}`,"> table":{tableLayout:"auto"},[`${N}-row`]:{borderBottom:`${(0,D.bf)(p.lineWidth)} ${p.lineType} ${p.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${N}-item-label, > ${N}-item-content`]:{padding:`${(0,D.bf)(p.padding)} ${(0,D.bf)(p.paddingLG)}`,borderInlineEnd:`${(0,D.bf)(p.lineWidth)} ${p.lineType} ${p.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${N}-item-label`]:{color:p.colorTextSecondary,backgroundColor:G,"&::after":{display:"none"}}}},[`&${N}-middle`]:{[`${N}-row`]:{[`> ${N}-item-label, > ${N}-item-content`]:{padding:`${(0,D.bf)(p.paddingSM)} ${(0,D.bf)(p.paddingLG)}`}}},[`&${N}-small`]:{[`${N}-row`]:{[`> ${N}-item-label, > ${N}-item-content`]:{padding:`${(0,D.bf)(p.paddingXS)} ${(0,D.bf)(p.padding)}`}}}}}},q=p=>{const{componentCls:N,extraColor:G,itemPaddingBottom:Z,colonMarginRight:ot,colonMarginLeft:ut,titleMarginBottom:rt}=p;return{[N]:Object.assign(Object.assign(Object.assign({},(0,n.Wf)(p)),O(p)),{"&-rtl":{direction:"rtl"},[`${N}-header`]:{display:"flex",alignItems:"center",marginBottom:rt},[`${N}-title`]:Object.assign(Object.assign({},n.vS),{flex:"auto",color:p.titleColor,fontWeight:p.fontWeightStrong,fontSize:p.fontSizeLG,lineHeight:p.lineHeightLG}),[`${N}-extra`]:{marginInlineStart:"auto",color:G,fontSize:p.fontSize},[`${N}-view`]:{width:"100%",borderRadius:p.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${N}-row`]:{"> th, > td":{paddingBottom:Z},"&:last-child":{borderBottom:"none"}},[`${N}-item-label`]:{color:p.colorTextTertiary,fontWeight:"normal",fontSize:p.fontSize,lineHeight:p.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,D.bf)(ut)} ${(0,D.bf)(ot)}`},[`&${N}-item-no-colon::after`]:{content:'""'}},[`${N}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${N}-item-content`]:{display:"table-cell",flex:1,color:p.contentColor,fontSize:p.fontSize,lineHeight:p.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${N}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${N}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${N}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${N}-row`]:{"> th, > td":{paddingBottom:p.paddingSM}}},"&-small":{[`${N}-row`]:{"> th, > td":{paddingBottom:p.paddingXS}}}})}},W=p=>({labelBg:p.colorFillAlter,titleColor:p.colorText,titleMarginBottom:p.fontSizeSM*p.lineHeightSM,itemPaddingBottom:p.padding,colonMarginRight:p.marginXS,colonMarginLeft:p.marginXXS/2,contentColor:p.colorText,extraColor:p.colorText});var ct=(0,S.I$)("Descriptions",p=>{const N=(0,t.TS)(p,{});return q(N)},W),$=function(p,N){var G={};for(var Z in p)Object.prototype.hasOwnProperty.call(p,Z)&&N.indexOf(Z)<0&&(G[Z]=p[Z]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Z=Object.getOwnPropertySymbols(p);ot<Z.length;ot++)N.indexOf(Z[ot])<0&&Object.prototype.propertyIsEnumerable.call(p,Z[ot])&&(G[Z[ot]]=p[Z[ot]]);return G};const st=p=>{const{prefixCls:N,title:G,extra:Z,column:ot,colon:ut=!0,bordered:rt,layout:vt,children:wt,className:I,rootClassName:At,style:kt,size:e,labelStyle:K,contentStyle:L,items:g}=p,h=$(p,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:j,direction:V,descriptions:X}=Q.useContext(v.E_),A=j("descriptions",N),tt=(0,l.Z)(),it=Q.useMemo(()=>{var xt;return typeof ot=="number"?ot:(xt=(0,F.m9)(tt,Object.assign(Object.assign({},u),ot)))!==null&&xt!==void 0?xt:3},[tt,ot]),nt=f(tt,g,wt),dt=(0,o.Z)(e),It=_(it,nt),[lt,St,_t]=ct(A),bt=Q.useMemo(()=>({labelStyle:K,contentStyle:L}),[K,L]);return lt(Q.createElement(d.Provider,{value:bt},Q.createElement("div",Object.assign({className:b()(A,X==null?void 0:X.className,{[`${A}-${dt}`]:dt&&dt!=="default",[`${A}-bordered`]:!!rt,[`${A}-rtl`]:V==="rtl"},I,At,St,_t),style:Object.assign(Object.assign({},X==null?void 0:X.style),kt)},h),(G||Z)&&Q.createElement("div",{className:`${A}-header`},G&&Q.createElement("div",{className:`${A}-title`},G),Z&&Q.createElement("div",{className:`${A}-extra`},Z)),Q.createElement("div",{className:`${A}-view`},Q.createElement("table",null,Q.createElement("tbody",null,It.map((xt,pt)=>Q.createElement(w,{key:pt,index:pt,colon:ut,prefixCls:A,vertical:vt==="vertical",bordered:rt,row:xt}))))))))};st.Item=T;var z=st},86250:function(zt,at,k){"use strict";k.d(at,{Z:function(){return M}});var Q=k(62435),mt=k(93967),b=k.n(mt),F=k(98423),v=k(98065),o=k(53124),l=k(92030),a=k(45503);const u=["wrap","nowrap","wrap-reverse"],x=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],d=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],c=(w,D)=>{const n=D.wrap===!0?"wrap":D.wrap;return{[`${w}-wrap-${n}`]:n&&u.includes(n)}},y=(w,D)=>{const n={};return d.forEach(S=>{n[`${w}-align-${S}`]=D.align===S}),n[`${w}-align-stretch`]=!D.align&&!!D.vertical,n},r=(w,D)=>{const n={};return x.forEach(S=>{n[`${w}-justify-${S}`]=D.justify===S}),n};function f(w,D){return b()(Object.assign(Object.assign(Object.assign({},c(w,D)),y(w,D)),r(w,D)))}var i=f;const m=w=>{const{componentCls:D}=w;return{[D]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},s=w=>{const{componentCls:D}=w;return{[D]:{"&-gap-small":{gap:w.flexGapSM},"&-gap-middle":{gap:w.flexGap},"&-gap-large":{gap:w.flexGapLG}}}},_=w=>{const{componentCls:D}=w,n={};return u.forEach(S=>{n[`${D}-wrap-${S}`]={flexWrap:S}}),n},E=w=>{const{componentCls:D}=w,n={};return d.forEach(S=>{n[`${D}-align-${S}`]={alignItems:S}}),n},T=w=>{const{componentCls:D}=w,n={};return x.forEach(S=>{n[`${D}-justify-${S}`]={justifyContent:S}}),n},C=()=>({});var H=(0,l.I$)("Flex",w=>{const{paddingXS:D,padding:n,paddingLG:S}=w,t=(0,a.TS)(w,{flexGapSM:D,flexGap:n,flexGapLG:S});return[m(t),s(t),_(t),E(t),T(t)]},C,{resetStyle:!1}),U=function(w,D){var n={};for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&D.indexOf(S)<0&&(n[S]=w[S]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,S=Object.getOwnPropertySymbols(w);t<S.length;t++)D.indexOf(S[t])<0&&Object.prototype.propertyIsEnumerable.call(w,S[t])&&(n[S[t]]=w[S[t]]);return n},M=Q.forwardRef((w,D)=>{const{prefixCls:n,rootClassName:S,className:t,style:O,flex:q,gap:W,children:ct,vertical:$=!1,component:st="div"}=w,z=U(w,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:p,direction:N,getPrefixCls:G}=Q.useContext(o.E_),Z=G("flex",n),[ot,ut,rt]=H(Z),vt=$!=null?$:p==null?void 0:p.vertical,wt=b()(t,S,p==null?void 0:p.className,Z,ut,rt,i(Z,w),{[`${Z}-rtl`]:N==="rtl",[`${Z}-gap-${W}`]:(0,v.n)(W),[`${Z}-vertical`]:vt}),I=Object.assign(Object.assign({},p==null?void 0:p.style),O);return q&&(I.flex=q),W&&!(0,v.n)(W)&&(I.gap=W),ot(Q.createElement(st,Object.assign({ref:D,className:wt,style:I},(0,F.Z)(z,["justify","wrap","align"])),ct))})},23087:function(zt,at,k){"use strict";var Q=k(34155);Object.defineProperty(at,"__esModule",{value:!0});var mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},b=typeof window!="undefined"&&typeof window.document!="undefined",F=(typeof self=="undefined"?"undefined":mt(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",v=typeof Q!="undefined"&&Q.versions!=null&&Q.versions.node!=null,o=function(){return typeof window!="undefined"&&window.name==="nodejs"||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")};at.isBrowser=b,at.isWebWorker=F,at.isNode=v,at.isJsDom=o},93162:function(zt,at,k){var Q,mt,b;(function(F,v){mt=[],Q=v,b=typeof Q=="function"?Q.apply(at,mt):Q,b!==void 0&&(zt.exports=b)})(this,function(){"use strict";function F(d,c){return typeof c=="undefined"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type)?new Blob(["\uFEFF",d],{type:d.type}):d}function v(d,c,y){var r=new XMLHttpRequest;r.open("GET",d),r.responseType="blob",r.onload=function(){x(r.response,c,y)},r.onerror=function(){console.error("could not download file")},r.send()}function o(d){var c=new XMLHttpRequest;c.open("HEAD",d,!1);try{c.send()}catch(y){}return 200<=c.status&&299>=c.status}function l(d){try{d.dispatchEvent(new MouseEvent("click"))}catch(y){var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),d.dispatchEvent(c)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof k.g=="object"&&k.g.global===k.g?k.g:void 0,u=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),x=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(d,c,y){var r=a.URL||a.webkitURL,f=document.createElement("a");c=c||d.name||"download",f.download=c,f.rel="noopener",typeof d=="string"?(f.href=d,f.origin===location.origin?l(f):o(f.href)?v(d,c,y):l(f,f.target="_blank")):(f.href=r.createObjectURL(d),setTimeout(function(){r.revokeObjectURL(f.href)},4e4),setTimeout(function(){l(f)},0))}:"msSaveOrOpenBlob"in navigator?function(d,c,y){if(c=c||d.name||"download",typeof d!="string")navigator.msSaveOrOpenBlob(F(d,y),c);else if(o(d))v(d,c,y);else{var r=document.createElement("a");r.href=d,r.target="_blank",setTimeout(function(){l(r)})}}:function(d,c,y,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof d=="string")return v(d,c,y);var f=d.type==="application/octet-stream",i=/constructor/i.test(a.HTMLElement)||a.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||f&&i||u)&&typeof FileReader!="undefined"){var s=new FileReader;s.onloadend=function(){var T=s.result;T=m?T:T.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=T:location=T,r=null},s.readAsDataURL(d)}else{var _=a.URL||a.webkitURL,E=_.createObjectURL(d);r?r.location=E:location.href=E,r=null,setTimeout(function(){_.revokeObjectURL(E)},4e4)}});a.saveAs=x.saveAs=x,zt.exports=x})},88130:function(zt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.contentTypesXml=void 0,at.contentTypesXml=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  11. <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
  12. <Default Extension="rels" ContentType=
  13. "application/vnd.openxmlformats-package.relationships+xml" />
  14. <Override PartName="/word/document.xml" ContentType=
  15. "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
  16. <Override PartName="/word/afchunk.mht" ContentType="message/rfc822"/>
  17. </Types>
  18. `},6603:function(zt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.documentXmlRels=void 0,at.documentXmlRels=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  19. <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  20. <Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk"
  21. Target="/word/afchunk.mht" Id="htmlChunk" />
  22. </Relationships>
  23. `},29186:function(zt,at,k){"use strict";Object.defineProperty(at,"__esModule",{value:!0});var Q=k(93702);Q.__exportStar(k(88130),at),Q.__exportStar(k(6603),at),Q.__exportStar(k(33857),at)},33857:function(zt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.relsXml=void 0,at.relsXml=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  24. <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  25. <Relationship
  26. Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
  27. Target="/word/document.xml" Id="R09c83fafc067488e" />
  28. </Relationships>
  29. `},97088:function(zt,at,k){"use strict";var Q;Q={value:!0},at.m=void 0;var mt=k(93702),b=k(68547),F=k(13797);function v(o,l){return l===void 0&&(l={}),mt.__awaiter(this,void 0,void 0,function(){var a;return mt.__generator(this,function(u){switch(u.label){case 0:return a=new F,b.addFiles(a,o,l),[4,b.generateDocument(a)];case 1:return[2,u.sent()]}})})}at.m=v},68547:function(zt,at,k){"use strict";var Q=k(48764).lW;Object.defineProperty(at,"__esModule",{value:!0}),at.addFiles=at.generateDocument=void 0;var mt=k(93702),b=k(14913),F=k(29186),v=k(17237),o=k(23087),l={orientation:"portrait",margins:{}};function a(y,r){return mt.__assign(mt.__assign({},y),r)}function u(y){return mt.__awaiter(this,void 0,void 0,function(){var r;return mt.__generator(this,function(f){switch(f.label){case 0:return[4,y.generateAsync({type:"arraybuffer"})];case 1:return r=f.sent(),o.isBrowser?[2,new Blob([r],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})]:[2,new Q(new Uint8Array(r))]}})})}at.generateDocument=u;function x(y){return o.isBrowser?new Blob([y]):new Q(y,"utf-8")}function d(y){var r=y.orientation,f=y.margins,i=a(v.defaultMargins,f),m=0,s=0;return r==="landscape"?(s=12240,m=15840):(m=12240,s=15840),v.documentTemplate(m,s,r,i)}function c(y,r,f){var i=a(l,f);return y.file("[Content_Types].xml",x(F.contentTypesXml),{createFolders:!1}),y.folder("_rels").file(".rels",x(F.relsXml),{createFolders:!1}),y.folder("word").file("document.xml",d(i),{createFolders:!1}).file("afchunk.mht",b.getMHTdocument(r),{createFolders:!1}).folder("_rels").file("document.xml.rels",x(F.documentXmlRels),{createFolders:!1})}at.addFiles=c},36077:function(zt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.documentTemplate=at.defaultMargins=void 0,at.defaultMargins={top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0},at.documentTemplate=function(k,Q,mt,b){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  30. <w:document
  31. xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
  32. xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
  33. xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
  34. xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
  35. xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
  36. xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"
  37. xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"
  38. xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
  39. xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
  40. xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
  41. xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
  42. xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"
  43. xmlns:ns13="urn:schemas-microsoft-com:office:excel"
  44. xmlns:o="urn:schemas-microsoft-com:office:office"
  45. xmlns:v="urn:schemas-microsoft-com:vml"
  46. xmlns:w10="urn:schemas-microsoft-com:office:word"
  47. xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"
  48. xmlns:odx="http://opendope.org/xpaths"
  49. xmlns:odc="http://opendope.org/conditions"
  50. xmlns:odq="http://opendope.org/questions"
  51. xmlns:odi="http://opendope.org/components"
  52. xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"
  53. xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"
  54. xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"
  55. xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">
  56. <w:body>
  57. <w:altChunk r:id="htmlChunk" />
  58. <w:sectPr>
  59. <w:pgSz w:w="`+k+'" w:h="'+Q+'" w:orient="'+mt+`" />
  60. <w:pgMar w:top="`+b.top+`"
  61. w:right="`+b.right+`"
  62. w:bottom="`+b.bottom+`"
  63. w:left="`+b.left+`"
  64. w:header="`+b.header+`"
  65. w:footer="`+b.footer+`"
  66. w:gutter="`+b.gutter+`"/>
  67. </w:sectPr>
  68. </w:body>
  69. </w:document>
  70. `}},17237:function(zt,at,k){"use strict";Object.defineProperty(at,"__esModule",{value:!0});var Q=k(93702);Q.__exportStar(k(36077),at),Q.__exportStar(k(93832),at),Q.__exportStar(k(567),at)},93832:function(zt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.mhtDocumentTemplate=void 0,at.mhtDocumentTemplate=function(k,Q){return`MIME-Version: 1.0
  71. Content-Type: multipart/related;
  72. type="text/html";
  73. boundary="----=mhtDocumentPart"
  74. ------=mhtDocumentPart
  75. Content-Type: text/html;
  76. charset="utf-8"
  77. Content-Transfer-Encoding: quoted-printable
  78. Content-Location: file:///C:/fake/document.html
  79. `+k+`
  80. `+Q+`
  81. ------=mhtDocumentPart--
  82. `}},567:function(zt,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.mhtPartTemplate=void 0,at.mhtPartTemplate=function(k,Q,mt,b){return`------=mhtDocumentPart
  83. Content-Type: `+k+`
  84. Content-Transfer-Encoding: `+Q+`
  85. Content-Location: `+mt+`
  86. `+b+`
  87. `}},14913:function(zt,at,k){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.getMHTdocument=void 0;var Q=k(17237);function mt(F){var v=b(F),o=v.imageContentParts.join(`
  88. `);return F=v.htmlSource.replace(/\=/g,"=3D"),Q.mhtDocumentTemplate(F,o)}at.getMHTdocument=mt;function b(F){var v=[],o=/"data:(\w+\/\w+);(\w+),(\S+)"/g,l=function(a,u,x,d){var c=v.length,y=u.split("/")[1],r="file:///C:/fake/image"+c+"."+y;return v.push(Q.mhtPartTemplate(u,x,r,d)),'"'+r+'"'};return/<img/g.test(F)?(F=F.replace(o,l),{htmlSource:F,imageContentParts:v}):{htmlSource:F,imageContentParts:v}}},13797:function(zt,at,k){var Q=k(48764).lW,mt=k(34155);(function(b){zt.exports=b()})(function(){return function b(F,v,o){function l(x,d){if(!v[x]){if(!F[x]){var c=void 0;if(!d&&c)return require(x,!0);if(a)return a(x,!0);var y=new Error("Cannot find module '"+x+"'");throw y.code="MODULE_NOT_FOUND",y}var r=v[x]={exports:{}};F[x][0].call(r.exports,function(f){var i=F[x][1][f];return l(i||f)},r,r.exports,b,F,v,o)}return v[x].exports}for(var a=void 0,u=0;u<o.length;u++)l(o[u]);return l}({1:[function(b,F,v){"use strict";var o=b("./utils"),l=b("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";v.encode=function(u){for(var x,d,c,y,r,f,i,m=[],s=0,_=u.length,E=_,T=o.getTypeOf(u)!=="string";s<u.length;)E=_-s,c=T?(x=u[s++],d=s<_?u[s++]:0,s<_?u[s++]:0):(x=u.charCodeAt(s++),d=s<_?u.charCodeAt(s++):0,s<_?u.charCodeAt(s++):0),y=x>>2,r=(3&x)<<4|d>>4,f=1<E?(15&d)<<2|c>>6:64,i=2<E?63&c:64,m.push(a.charAt(y)+a.charAt(r)+a.charAt(f)+a.charAt(i));return m.join("")},v.decode=function(u){var x,d,c,y,r,f,i=0,m=0,s="data:";if(u.substr(0,s.length)===s)throw new Error("Invalid base64 input, it looks like a data url.");var _,E=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===a.charAt(64)&&E--,u.charAt(u.length-2)===a.charAt(64)&&E--,E%1!=0)throw new Error("Invalid base64 input, bad content length.");for(_=l.uint8array?new Uint8Array(0|E):new Array(0|E);i<u.length;)x=a.indexOf(u.charAt(i++))<<2|(y=a.indexOf(u.charAt(i++)))>>4,d=(15&y)<<4|(r=a.indexOf(u.charAt(i++)))>>2,c=(3&r)<<6|(f=a.indexOf(u.charAt(i++))),_[m++]=x,r!==64&&(_[m++]=d),f!==64&&(_[m++]=c);return _}},{"./support":30,"./utils":32}],2:[function(b,F,v){"use strict";var o=b("./external"),l=b("./stream/DataWorker"),a=b("./stream/Crc32Probe"),u=b("./stream/DataLengthProbe");function x(d,c,y,r,f){this.compressedSize=d,this.uncompressedSize=c,this.crc32=y,this.compression=r,this.compressedContent=f}x.prototype={getContentWorker:function(){var d=new l(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),c=this;return d.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new l(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},x.createWorkerFrom=function(d,c,y){return d.pipe(new a).pipe(new u("uncompressedSize")).pipe(c.compressWorker(y)).pipe(new u("compressedSize")).withStreamInfo("compression",c)},F.exports=x},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,F,v){"use strict";var o=b("./stream/GenericWorker");v.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},v.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,F,v){"use strict";var o=b("./utils"),l=function(){for(var a,u=[],x=0;x<256;x++){a=x;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;u[x]=a}return u}();F.exports=function(a,u){return a!==void 0&&a.length?o.getTypeOf(a)!=="string"?function(x,d,c,y){var r=l,f=y+c;x^=-1;for(var i=y;i<f;i++)x=x>>>8^r[255&(x^d[i])];return-1^x}(0|u,a,a.length,0):function(x,d,c,y){var r=l,f=y+c;x^=-1;for(var i=y;i<f;i++)x=x>>>8^r[255&(x^d.charCodeAt(i))];return-1^x}(0|u,a,a.length,0):0}},{"./utils":32}],5:[function(b,F,v){"use strict";v.base64=!1,v.binary=!1,v.dir=!1,v.createFolders=!0,v.date=null,v.compression=null,v.compressionOptions=null,v.comment=null,v.unixPermissions=null,v.dosPermissions=null},{}],6:[function(b,F,v){"use strict";var o=null;o=typeof Promise!="undefined"?Promise:b("lie"),F.exports={Promise:o}},{lie:37}],7:[function(b,F,v){"use strict";var o=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",l=b("pako"),a=b("./utils"),u=b("./stream/GenericWorker"),x=o?"uint8array":"array";function d(c,y){u.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=y,this.meta={}}v.magic="\b\0",a.inherits(d,u),d.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(x,c.data),!1)},d.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(y){c.push({data:y,meta:c.meta})}},v.compressWorker=function(c){return new d("Deflate",c)},v.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,F,v){"use strict";function o(r,f){var i,m="";for(i=0;i<f;i++)m+=String.fromCharCode(255&r),r>>>=8;return m}function l(r,f,i,m,s,_){var E,T,C=r.file,H=r.compression,U=_!==x.utf8encode,J=a.transformTo("string",_(C.name)),M=a.transformTo("string",x.utf8encode(C.name)),w=C.comment,D=a.transformTo("string",_(w)),n=a.transformTo("string",x.utf8encode(w)),S=M.length!==C.name.length,t=n.length!==w.length,O="",q="",W="",ct=C.dir,$=C.date,st={crc32:0,compressedSize:0,uncompressedSize:0};f&&!i||(st.crc32=r.crc32,st.compressedSize=r.compressedSize,st.uncompressedSize=r.uncompressedSize);var z=0;f&&(z|=8),U||!S&&!t||(z|=2048);var p=0,N=0;ct&&(p|=16),s==="UNIX"?(N=798,p|=function(Z,ot){var ut=Z;return Z||(ut=ot?16893:33204),(65535&ut)<<16}(C.unixPermissions,ct)):(N=20,p|=function(Z){return 63&(Z||0)}(C.dosPermissions)),E=$.getUTCHours(),E<<=6,E|=$.getUTCMinutes(),E<<=5,E|=$.getUTCSeconds()/2,T=$.getUTCFullYear()-1980,T<<=4,T|=$.getUTCMonth()+1,T<<=5,T|=$.getUTCDate(),S&&(q=o(1,1)+o(d(J),4)+M,O+="up"+o(q.length,2)+q),t&&(W=o(1,1)+o(d(D),4)+n,O+="uc"+o(W.length,2)+W);var G="";return G+=`
  89. \0`,G+=o(z,2),G+=H.magic,G+=o(E,2),G+=o(T,2),G+=o(st.crc32,4),G+=o(st.compressedSize,4),G+=o(st.uncompressedSize,4),G+=o(J.length,2),G+=o(O.length,2),{fileRecord:c.LOCAL_FILE_HEADER+G+J+O,dirRecord:c.CENTRAL_FILE_HEADER+o(N,2)+G+o(D.length,2)+"\0\0\0\0"+o(p,4)+o(m,4)+J+O+D}}var a=b("../utils"),u=b("../stream/GenericWorker"),x=b("../utf8"),d=b("../crc32"),c=b("../signature");function y(r,f,i,m){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=f,this.zipPlatform=i,this.encodeFileName=m,this.streamFiles=r,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(y,u),y.prototype.push=function(r){var f=r.meta.percent||0,i=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(r):(this.bytesWritten+=r.data.length,u.prototype.push.call(this,{data:r.data,meta:{currentFile:this.currentFile,percent:i?(f+100*(i-m-1))/i:100}}))},y.prototype.openedSource=function(r){this.currentSourceOffset=this.bytesWritten,this.currentFile=r.file.name;var f=this.streamFiles&&!r.file.dir;if(f){var i=l(r,f,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},y.prototype.closedSource=function(r){this.accumulate=!1;var f=this.streamFiles&&!r.file.dir,i=l(r,f,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),f)this.push({data:function(m){return c.DATA_DESCRIPTOR+o(m.crc32,4)+o(m.compressedSize,4)+o(m.uncompressedSize,4)}(r),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},y.prototype.flush=function(){for(var r=this.bytesWritten,f=0;f<this.dirRecords.length;f++)this.push({data:this.dirRecords[f],meta:{percent:100}});var i=this.bytesWritten-r,m=function(s,_,E,T,C){var H=a.transformTo("string",C(T));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(s,2)+o(s,2)+o(_,4)+o(E,4)+o(H.length,2)+H}(this.dirRecords.length,i,r,this.zipComment,this.encodeFileName);this.push({data:m,meta:{percent:100}})},y.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},y.prototype.registerPrevious=function(r){this._sources.push(r);var f=this;return r.on("data",function(i){f.processChunk(i)}),r.on("end",function(){f.closedSource(f.previous.streamInfo),f._sources.length?f.prepareNextSource():f.end()}),r.on("error",function(i){f.error(i)}),this},y.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},y.prototype.error=function(r){var f=this._sources;if(!u.prototype.error.call(this,r))return!1;for(var i=0;i<f.length;i++)try{f[i].error(r)}catch(m){}return!0},y.prototype.lock=function(){u.prototype.lock.call(this);for(var r=this._sources,f=0;f<r.length;f++)r[f].lock()},F.exports=y},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,F,v){"use strict";var o=b("../compressions"),l=b("./ZipFileWorker");v.generateWorker=function(a,u,x){var d=new l(u.streamFiles,x,u.platform,u.encodeFileName),c=0;try{a.forEach(function(y,r){c++;var f=function(_,E){var T=_||E,C=o[T];if(!C)throw new Error(T+" is not a valid compression method !");return C}(r.options.compression,u.compression),i=r.options.compressionOptions||u.compressionOptions||{},m=r.dir,s=r.date;r._compressWorker(f,i).withStreamInfo("file",{name:y,dir:m,date:s,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(d)}),d.entriesCount=c}catch(y){d.error(y)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,F,v){"use strict";function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var l=new o;for(var a in this)typeof this[a]!="function"&&(l[a]=this[a]);return l}}(o.prototype=b("./object")).loadAsync=b("./load"),o.support=b("./support"),o.defaults=b("./defaults"),o.version="3.10.1",o.loadAsync=function(l,a){return new o().loadAsync(l,a)},o.external=b("./external"),F.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(b,F,v){"use strict";var o=b("./utils"),l=b("./external"),a=b("./utf8"),u=b("./zipEntries"),x=b("./stream/Crc32Probe"),d=b("./nodejsUtils");function c(y){return new l.Promise(function(r,f){var i=y.decompressed.getContentWorker().pipe(new x);i.on("error",function(m){f(m)}).on("end",function(){i.streamInfo.crc32!==y.decompressed.crc32?f(new Error("Corrupted zip : CRC32 mismatch")):r()}).resume()})}F.exports=function(y,r){var f=this;return r=o.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),d.isNode&&d.isStream(y)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",y,!0,r.optimizedBinaryString,r.base64).then(function(i){var m=new u(r);return m.load(i),m}).then(function(i){var m=[l.Promise.resolve(i)],s=i.files;if(r.checkCRC32)for(var _=0;_<s.length;_++)m.push(c(s[_]));return l.Promise.all(m)}).then(function(i){for(var m=i.shift(),s=m.files,_=0;_<s.length;_++){var E=s[_],T=E.fileNameStr,C=o.resolve(E.fileNameStr);f.file(C,E.decompressed,{binary:!0,optimizedBinaryString:!0,date:E.date,dir:E.dir,comment:E.fileCommentStr.length?E.fileCommentStr:null,unixPermissions:E.unixPermissions,dosPermissions:E.dosPermissions,createFolders:r.createFolders}),E.dir||(f.file(C).unsafeOriginalName=T)}return m.zipComment.length&&(f.comment=m.zipComment),f})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(b,F,v){"use strict";var o=b("../utils"),l=b("../stream/GenericWorker");function a(u,x){l.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(x)}o.inherits(a,l),a.prototype._bindStream=function(u){var x=this;(this._stream=u).pause(),u.on("data",function(d){x.push({data:d,meta:{percent:0}})}).on("error",function(d){x.isPaused?this.generatedError=d:x.error(d)}).on("end",function(){x.isPaused?x._upstreamEnded=!0:x.end()})},a.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},F.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(b,F,v){"use strict";var o=b("readable-stream").Readable;function l(a,u,x){o.call(this,u),this._helper=a;var d=this;a.on("data",function(c,y){d.push(c)||d._helper.pause(),x&&x(y)}).on("error",function(c){d.emit("error",c)}).on("end",function(){d.push(null)})}b("../utils").inherits(l,o),l.prototype._read=function(){this._helper.resume()},F.exports=l},{"../utils":32,"readable-stream":16}],14:[function(b,F,v){"use strict";F.exports={isNode:typeof Q!="undefined",newBufferFrom:function(o,l){if(Q.from&&Q.from!==Uint8Array.from)return Q.from(o,l);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Q(o,l)},allocBuffer:function(o){if(Q.alloc)return Q.alloc(o);var l=new Q(o);return l.fill(0),l},isBuffer:function(o){return Q.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(b,F,v){"use strict";function o(C,H,U){var J,M=a.getTypeOf(H),w=a.extend(U||{},d);w.date=w.date||new Date,w.compression!==null&&(w.compression=w.compression.toUpperCase()),typeof w.unixPermissions=="string"&&(w.unixPermissions=parseInt(w.unixPermissions,8)),w.unixPermissions&&16384&w.unixPermissions&&(w.dir=!0),w.dosPermissions&&16&w.dosPermissions&&(w.dir=!0),w.dir&&(C=s(C)),w.createFolders&&(J=m(C))&&_.call(this,J,!0);var D=M==="string"&&w.binary===!1&&w.base64===!1;U&&U.binary!==void 0||(w.binary=!D),(H instanceof c&&H.uncompressedSize===0||w.dir||!H||H.length===0)&&(w.base64=!1,w.binary=!0,H="",w.compression="STORE",M="string");var n=null;n=H instanceof c||H instanceof u?H:f.isNode&&f.isStream(H)?new i(C,H):a.prepareContent(C,H,w.binary,w.optimizedBinaryString,w.base64);var S=new y(C,n,w);this.files[C]=S}var l=b("./utf8"),a=b("./utils"),u=b("./stream/GenericWorker"),x=b("./stream/StreamHelper"),d=b("./defaults"),c=b("./compressedObject"),y=b("./zipObject"),r=b("./generate"),f=b("./nodejsUtils"),i=b("./nodejs/NodejsStreamInputAdapter"),m=function(C){C.slice(-1)==="/"&&(C=C.substring(0,C.length-1));var H=C.lastIndexOf("/");return 0<H?C.substring(0,H):""},s=function(C){return C.slice(-1)!=="/"&&(C+="/"),C},_=function(C,H){return H=H!==void 0?H:d.createFolders,C=s(C),this.files[C]||o.call(this,C,null,{dir:!0,createFolders:H}),this.files[C]};function E(C){return Object.prototype.toString.call(C)==="[object RegExp]"}var T={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(C){var H,U,J;for(H in this.files)J=this.files[H],(U=H.slice(this.root.length,H.length))&&H.slice(0,this.root.length)===this.root&&C(U,J)},filter:function(C){var H=[];return this.forEach(function(U,J){C(U,J)&&H.push(J)}),H},file:function(C,H,U){if(arguments.length!==1)return C=this.root+C,o.call(this,C,H,U),this;if(E(C)){var J=C;return this.filter(function(w,D){return!D.dir&&J.test(w)})}var M=this.files[this.root+C];return M&&!M.dir?M:null},folder:function(C){if(!C)return this;if(E(C))return this.filter(function(M,w){return w.dir&&C.test(M)});var H=this.root+C,U=_.call(this,H),J=this.clone();return J.root=U.name,J},remove:function(C){C=this.root+C;var H=this.files[C];if(H||(C.slice(-1)!=="/"&&(C+="/"),H=this.files[C]),H&&!H.dir)delete this.files[C];else for(var U=this.filter(function(M,w){return w.name.slice(0,C.length)===C}),J=0;J<U.length;J++)delete this.files[U[J].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(C){var H,U={};try{if((U=a.extend(C||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=U.type.toLowerCase(),U.compression=U.compression.toUpperCase(),U.type==="binarystring"&&(U.type="string"),!U.type)throw new Error("No output type specified.");a.checkSupport(U.type),U.platform!=="darwin"&&U.platform!=="freebsd"&&U.platform!=="linux"&&U.platform!=="sunos"||(U.platform="UNIX"),U.platform==="win32"&&(U.platform="DOS");var J=U.comment||this.comment||"";H=r.generateWorker(this,U,J)}catch(M){(H=new u("error")).error(M)}return new x(H,U.type||"string",U.mimeType)},generateAsync:function(C,H){return this.generateInternalStream(C).accumulate(H)},generateNodeStream:function(C,H){return(C=C||{}).type||(C.type="nodebuffer"),this.generateInternalStream(C).toNodejsStream(H)}};F.exports=T},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(b,F,v){"use strict";F.exports=b("stream")},{stream:void 0}],17:[function(b,F,v){"use strict";var o=b("./DataReader");function l(a){o.call(this,a);for(var u=0;u<this.data.length;u++)a[u]=255&a[u]}b("../utils").inherits(l,o),l.prototype.byteAt=function(a){return this.data[this.zero+a]},l.prototype.lastIndexOfSignature=function(a){for(var u=a.charCodeAt(0),x=a.charCodeAt(1),d=a.charCodeAt(2),c=a.charCodeAt(3),y=this.length-4;0<=y;--y)if(this.data[y]===u&&this.data[y+1]===x&&this.data[y+2]===d&&this.data[y+3]===c)return y-this.zero;return-1},l.prototype.readAndCheckSignature=function(a){var u=a.charCodeAt(0),x=a.charCodeAt(1),d=a.charCodeAt(2),c=a.charCodeAt(3),y=this.readData(4);return u===y[0]&&x===y[1]&&d===y[2]&&c===y[3]},l.prototype.readData=function(a){if(this.checkOffset(a),a===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,u},F.exports=l},{"../utils":32,"./DataReader":18}],18:[function(b,F,v){"use strict";var o=b("../utils");function l(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var u,x=0;for(this.checkOffset(a),u=this.index+a-1;u>=this.index;u--)x=(x<<8)+this.byteAt(u);return this.index+=a,x},readString:function(a){return o.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},F.exports=l},{"../utils":32}],19:[function(b,F,v){"use strict";var o=b("./Uint8ArrayReader");function l(a){o.call(this,a)}b("../utils").inherits(l,o),l.prototype.readData=function(a){this.checkOffset(a);var u=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,u},F.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,F,v){"use strict";var o=b("./DataReader");function l(a){o.call(this,a)}b("../utils").inherits(l,o),l.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},l.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},l.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},l.prototype.readData=function(a){this.checkOffset(a);var u=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,u},F.exports=l},{"../utils":32,"./DataReader":18}],21:[function(b,F,v){"use strict";var o=b("./ArrayReader");function l(a){o.call(this,a)}b("../utils").inherits(l,o),l.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,u},F.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(b,F,v){"use strict";var o=b("../utils"),l=b("../support"),a=b("./ArrayReader"),u=b("./StringReader"),x=b("./NodeBufferReader"),d=b("./Uint8ArrayReader");F.exports=function(c){var y=o.getTypeOf(c);return o.checkSupport(y),y!=="string"||l.uint8array?y==="nodebuffer"?new x(c):l.uint8array?new d(o.transformTo("uint8array",c)):new a(o.transformTo("array",c)):new u(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,F,v){"use strict";v.LOCAL_FILE_HEADER="PK",v.CENTRAL_FILE_HEADER="PK",v.CENTRAL_DIRECTORY_END="PK",v.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",v.ZIP64_CENTRAL_DIRECTORY_END="PK",v.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,F,v){"use strict";var o=b("./GenericWorker"),l=b("../utils");function a(u){o.call(this,"ConvertWorker to "+u),this.destType=u}l.inherits(a,o),a.prototype.processChunk=function(u){this.push({data:l.transformTo(this.destType,u.data),meta:u.meta})},F.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(b,F,v){"use strict";var o=b("./GenericWorker"),l=b("../crc32");function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(a,o),a.prototype.processChunk=function(u){this.streamInfo.crc32=l(u.data,this.streamInfo.crc32||0),this.push(u)},F.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,F,v){"use strict";var o=b("../utils"),l=b("./GenericWorker");function a(u){l.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}o.inherits(a,l),a.prototype.processChunk=function(u){if(u){var x=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=x+u.data.length}l.prototype.processChunk.call(this,u)},F.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(b,F,v){"use strict";var o=b("../utils"),l=b("./GenericWorker");function a(u){l.call(this,"DataWorker");var x=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(d){x.dataIsReady=!0,x.data=d,x.max=d&&d.length||0,x.type=o.getTypeOf(d),x.isPaused||x._tickAndRepeat()},function(d){x.error(d)})}o.inherits(a,l),a.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,x=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,x);break;case"uint8array":u=this.data.subarray(this.index,x);break;case"array":case"nodebuffer":u=this.data.slice(this.index,x)}return this.index=x,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},F.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(b,F,v){"use strict";function o(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,a){return this._listeners[l].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,a){if(this._listeners[l])for(var u=0;u<this._listeners[l].length;u++)this._listeners[l][u].call(this,a)},pipe:function(l){return l.registerPrevious(this)},registerPrevious:function(l){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=l.streamInfo,this.mergeStreamInfo(),this.previous=l;var a=this;return l.on("data",function(u){a.processChunk(u)}),l.on("end",function(){a.end()}),l.on("error",function(u){a.error(u)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var l=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),l=!0),this.previous&&this.previous.resume(),!l},flush:function(){},processChunk:function(l){this.push(l)},withStreamInfo:function(l,a){return this.extraStreamInfo[l]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var l in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,l)&&(this.streamInfo[l]=this.extraStreamInfo[l])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var l="Worker "+this.name;return this.previous?this.previous+" -> "+l:l}},F.exports=o},{}],29:[function(b,F,v){"use strict";var o=b("../utils"),l=b("./ConvertWorker"),a=b("./GenericWorker"),u=b("../base64"),x=b("../support"),d=b("../external"),c=null;if(x.nodestream)try{c=b("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function y(f,i){return new d.Promise(function(m,s){var _=[],E=f._internalType,T=f._outputType,C=f._mimeType;f.on("data",function(H,U){_.push(H),i&&i(U)}).on("error",function(H){_=[],s(H)}).on("end",function(){try{var H=function(U,J,M){switch(U){case"blob":return o.newBlob(o.transformTo("arraybuffer",J),M);case"base64":return u.encode(J);default:return o.transformTo(U,J)}}(T,function(U,J){var M,w=0,D=null,n=0;for(M=0;M<J.length;M++)n+=J[M].length;switch(U){case"string":return J.join("");case"array":return Array.prototype.concat.apply([],J);case"uint8array":for(D=new Uint8Array(n),M=0;M<J.length;M++)D.set(J[M],w),w+=J[M].length;return D;case"nodebuffer":return Q.concat(J);default:throw new Error("concat : unsupported type '"+U+"'")}}(E,_),C);m(H)}catch(U){s(U)}_=[]}).resume()})}function r(f,i,m){var s=i;switch(i){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=i,this._mimeType=m,o.checkSupport(s),this._worker=f.pipe(new l(s)),f.lock()}catch(_){this._worker=new a("error"),this._worker.error(_)}}r.prototype={accumulate:function(f){return y(this,f)},on:function(f,i){var m=this;return f==="data"?this._worker.on(f,function(s){i.call(m,s.data,s.meta)}):this._worker.on(f,function(){o.delay(i,arguments,m)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(f){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:this._outputType!=="nodebuffer"},f)}},F.exports=r},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(b,F,v){"use strict";if(v.base64=!0,v.array=!0,v.string=!0,v.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",v.nodebuffer=typeof Q!="undefined",v.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")v.blob=!1;else{var o=new ArrayBuffer(0);try{v.blob=new Blob([o],{type:"application/zip"}).size===0}catch(a){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(o),v.blob=l.getBlob("application/zip").size===0}catch(u){v.blob=!1}}}try{v.nodestream=!!b("readable-stream").Readable}catch(a){v.nodestream=!1}},{"readable-stream":16}],31:[function(b,F,v){"use strict";for(var o=b("./utils"),l=b("./support"),a=b("./nodejsUtils"),u=b("./stream/GenericWorker"),x=new Array(256),d=0;d<256;d++)x[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;x[254]=x[254]=1;function c(){u.call(this,"utf-8 decode"),this.leftOver=null}function y(){u.call(this,"utf-8 encode")}v.utf8encode=function(r){return l.nodebuffer?a.newBufferFrom(r,"utf-8"):function(f){var i,m,s,_,E,T=f.length,C=0;for(_=0;_<T;_++)(64512&(m=f.charCodeAt(_)))==55296&&_+1<T&&(64512&(s=f.charCodeAt(_+1)))==56320&&(m=65536+(m-55296<<10)+(s-56320),_++),C+=m<128?1:m<2048?2:m<65536?3:4;for(i=l.uint8array?new Uint8Array(C):new Array(C),_=E=0;E<C;_++)(64512&(m=f.charCodeAt(_)))==55296&&_+1<T&&(64512&(s=f.charCodeAt(_+1)))==56320&&(m=65536+(m-55296<<10)+(s-56320),_++),m<128?i[E++]=m:(m<2048?i[E++]=192|m>>>6:(m<65536?i[E++]=224|m>>>12:(i[E++]=240|m>>>18,i[E++]=128|m>>>12&63),i[E++]=128|m>>>6&63),i[E++]=128|63&m);return i}(r)},v.utf8decode=function(r){return l.nodebuffer?o.transformTo("nodebuffer",r).toString("utf-8"):function(f){var i,m,s,_,E=f.length,T=new Array(2*E);for(i=m=0;i<E;)if((s=f[i++])<128)T[m++]=s;else if(4<(_=x[s]))T[m++]=65533,i+=_-1;else{for(s&=_===2?31:_===3?15:7;1<_&&i<E;)s=s<<6|63&f[i++],_--;1<_?T[m++]=65533:s<65536?T[m++]=s:(s-=65536,T[m++]=55296|s>>10&1023,T[m++]=56320|1023&s)}return T.length!==m&&(T.subarray?T=T.subarray(0,m):T.length=m),o.applyFromCharCode(T)}(r=o.transformTo(l.uint8array?"uint8array":"array",r))},o.inherits(c,u),c.prototype.processChunk=function(r){var f=o.transformTo(l.uint8array?"uint8array":"array",r.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var i=f;(f=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),f.set(i,this.leftOver.length)}else f=this.leftOver.concat(f);this.leftOver=null}var m=function(_,E){var T;for((E=E||_.length)>_.length&&(E=_.length),T=E-1;0<=T&&(192&_[T])==128;)T--;return T<0||T===0?E:T+x[_[T]]>E?T:E}(f),s=f;m!==f.length&&(l.uint8array?(s=f.subarray(0,m),this.leftOver=f.subarray(m,f.length)):(s=f.slice(0,m),this.leftOver=f.slice(m,f.length))),this.push({data:v.utf8decode(s),meta:r.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:v.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},v.Utf8DecodeWorker=c,o.inherits(y,u),y.prototype.processChunk=function(r){this.push({data:v.utf8encode(r.data),meta:r.meta})},v.Utf8EncodeWorker=y},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,F,v){"use strict";var o=b("./support"),l=b("./base64"),a=b("./nodejsUtils"),u=b("./external");function x(i){return i}function d(i,m){for(var s=0;s<i.length;++s)m[s]=255&i.charCodeAt(s);return m}b("setimmediate"),v.newBlob=function(i,m){v.checkSupport("blob");try{return new Blob([i],{type:m})}catch(_){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return s.append(i),s.getBlob(m)}catch(E){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(i,m,s){var _=[],E=0,T=i.length;if(T<=s)return String.fromCharCode.apply(null,i);for(;E<T;)m==="array"||m==="nodebuffer"?_.push(String.fromCharCode.apply(null,i.slice(E,Math.min(E+s,T)))):_.push(String.fromCharCode.apply(null,i.subarray(E,Math.min(E+s,T)))),E+=s;return _.join("")},stringifyByChar:function(i){for(var m="",s=0;s<i.length;s++)m+=String.fromCharCode(i[s]);return m},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(i){return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch(i){return!1}}()}};function y(i){var m=65536,s=v.getTypeOf(i),_=!0;if(s==="uint8array"?_=c.applyCanBeUsed.uint8array:s==="nodebuffer"&&(_=c.applyCanBeUsed.nodebuffer),_)for(;1<m;)try{return c.stringifyByChunk(i,s,m)}catch(E){m=Math.floor(m/2)}return c.stringifyByChar(i)}function r(i,m){for(var s=0;s<i.length;s++)m[s]=i[s];return m}v.applyFromCharCode=y;var f={};f.string={string:x,array:function(i){return d(i,new Array(i.length))},arraybuffer:function(i){return f.string.uint8array(i).buffer},uint8array:function(i){return d(i,new Uint8Array(i.length))},nodebuffer:function(i){return d(i,a.allocBuffer(i.length))}},f.array={string:y,array:x,arraybuffer:function(i){return new Uint8Array(i).buffer},uint8array:function(i){return new Uint8Array(i)},nodebuffer:function(i){return a.newBufferFrom(i)}},f.arraybuffer={string:function(i){return y(new Uint8Array(i))},array:function(i){return r(new Uint8Array(i),new Array(i.byteLength))},arraybuffer:x,uint8array:function(i){return new Uint8Array(i)},nodebuffer:function(i){return a.newBufferFrom(new Uint8Array(i))}},f.uint8array={string:y,array:function(i){return r(i,new Array(i.length))},arraybuffer:function(i){return i.buffer},uint8array:x,nodebuffer:function(i){return a.newBufferFrom(i)}},f.nodebuffer={string:y,array:function(i){return r(i,new Array(i.length))},arraybuffer:function(i){return f.nodebuffer.uint8array(i).buffer},uint8array:function(i){return r(i,new Uint8Array(i.length))},nodebuffer:x},v.transformTo=function(i,m){if(m=m||"",!i)return m;v.checkSupport(i);var s=v.getTypeOf(m);return f[s][i](m)},v.resolve=function(i){for(var m=i.split("/"),s=[],_=0;_<m.length;_++){var E=m[_];E==="."||E===""&&_!==0&&_!==m.length-1||(E===".."?s.pop():s.push(E))}return s.join("/")},v.getTypeOf=function(i){return typeof i=="string"?"string":Object.prototype.toString.call(i)==="[object Array]"?"array":o.nodebuffer&&a.isBuffer(i)?"nodebuffer":o.uint8array&&i instanceof Uint8Array?"uint8array":o.arraybuffer&&i instanceof ArrayBuffer?"arraybuffer":void 0},v.checkSupport=function(i){if(!o[i.toLowerCase()])throw new Error(i+" is not supported by this platform")},v.MAX_VALUE_16BITS=65535,v.MAX_VALUE_32BITS=-1,v.pretty=function(i){var m,s,_="";for(s=0;s<(i||"").length;s++)_+="\\x"+((m=i.charCodeAt(s))<16?"0":"")+m.toString(16).toUpperCase();return _},v.delay=function(i,m,s){setImmediate(function(){i.apply(s||null,m||[])})},v.inherits=function(i,m){function s(){}s.prototype=m.prototype,i.prototype=new s},v.extend=function(){var i,m,s={};for(i=0;i<arguments.length;i++)for(m in arguments[i])Object.prototype.hasOwnProperty.call(arguments[i],m)&&s[m]===void 0&&(s[m]=arguments[i][m]);return s},v.prepareContent=function(i,m,s,_,E){return u.Promise.resolve(m).then(function(T){return o.blob&&(T instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(T))!==-1)&&typeof FileReader!="undefined"?new u.Promise(function(C,H){var U=new FileReader;U.onload=function(J){C(J.target.result)},U.onerror=function(J){H(J.target.error)},U.readAsArrayBuffer(T)}):T}).then(function(T){var C=v.getTypeOf(T);return C?(C==="arraybuffer"?T=v.transformTo("uint8array",T):C==="string"&&(E?T=l.decode(T):s&&_!==!0&&(T=function(H){return d(H,o.uint8array?new Uint8Array(H.length):new Array(H.length))}(T))),T):u.Promise.reject(new Error("Can't read the data of '"+i+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(b,F,v){"use strict";var o=b("./reader/readerFor"),l=b("./utils"),a=b("./signature"),u=b("./zipEntry"),x=b("./support");function d(c){this.files=[],this.loadOptions=c}d.prototype={checkSignature:function(c){if(!this.reader.readAndCheckSignature(c)){this.reader.index-=4;var y=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(y)+", expected "+l.pretty(c)+")")}},isSignature:function(c,y){var r=this.reader.index;this.reader.setIndex(c);var f=this.reader.readString(4)===y;return this.reader.setIndex(r),f},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var c=this.reader.readData(this.zipCommentLength),y=x.uint8array?"uint8array":"array",r=l.transformTo(y,c);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var c,y,r,f=this.zip64EndOfCentralSize-44;0<f;)c=this.reader.readInt(2),y=this.reader.readInt(4),r=this.reader.readData(y),this.zip64ExtensibleData[c]={id:c,length:y,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var c,y;for(c=0;c<this.files.length;c++)y=this.files[c],this.reader.setIndex(y.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),y.readLocalPart(this.reader),y.handleUTF8(),y.processAttributes()},readCentralDir:function(){var c;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(c=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(c);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var c=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(c<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(c);var y=c;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(c=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(c),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var f=y-r;if(0<f)this.isSignature(y,a.CENTRAL_FILE_HEADER)||(this.reader.zero=f);else if(f<0)throw new Error("Corrupted zip: missing "+Math.abs(f)+" bytes.")},prepareReader:function(c){this.reader=o(c)},load:function(c){this.prepareReader(c),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},F.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(b,F,v){"use strict";var o=b("./reader/readerFor"),l=b("./utils"),a=b("./compressedObject"),u=b("./crc32"),x=b("./utf8"),d=b("./compressions"),c=b("./support");function y(r,f){this.options=r,this.loadOptions=f}y.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(r){var f,i;if(r.skip(22),this.fileNameLength=r.readInt(2),i=r.readInt(2),this.fileName=r.readData(this.fileNameLength),r.skip(i),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((f=function(m){for(var s in d)if(Object.prototype.hasOwnProperty.call(d,s)&&d[s].magic===m)return d[s];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,f,r.readData(this.compressedSize))},readCentralPart:function(r){this.versionMadeBy=r.readInt(2),r.skip(2),this.bitFlag=r.readInt(2),this.compressionMethod=r.readString(2),this.date=r.readDate(),this.crc32=r.readInt(4),this.compressedSize=r.readInt(4),this.uncompressedSize=r.readInt(4);var f=r.readInt(2);if(this.extraFieldsLength=r.readInt(2),this.fileCommentLength=r.readInt(2),this.diskNumberStart=r.readInt(2),this.internalFileAttributes=r.readInt(2),this.externalFileAttributes=r.readInt(4),this.localHeaderOffset=r.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");r.skip(f),this.readExtraFields(r),this.parseZIP64ExtraField(r),this.fileComment=r.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var r=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),r==0&&(this.dosPermissions=63&this.externalFileAttributes),r==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=o(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4))}},readExtraFields:function(r){var f,i,m,s=r.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});r.index+4<s;)f=r.readInt(2),i=r.readInt(2),m=r.readData(i),this.extraFields[f]={id:f,length:i,value:m};r.setIndex(s)},handleUTF8:function(){var r=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=x.utf8decode(this.fileName),this.fileCommentStr=x.utf8decode(this.fileComment);else{var f=this.findExtraFieldUnicodePath();if(f!==null)this.fileNameStr=f;else{var i=l.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var m=this.findExtraFieldUnicodeComment();if(m!==null)this.fileCommentStr=m;else{var s=l.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var f=o(r.value);return f.readInt(1)!==1||u(this.fileName)!==f.readInt(4)?null:x.utf8decode(f.readData(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var f=o(r.value);return f.readInt(1)!==1||u(this.fileComment)!==f.readInt(4)?null:x.utf8decode(f.readData(r.length-5))}return null}},F.exports=y},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(b,F,v){"use strict";function o(f,i,m){this.name=f,this.dir=m.dir,this.date=m.date,this.comment=m.comment,this.unixPermissions=m.unixPermissions,this.dosPermissions=m.dosPermissions,this._data=i,this._dataBinary=m.binary,this.options={compression:m.compression,compressionOptions:m.compressionOptions}}var l=b("./stream/StreamHelper"),a=b("./stream/DataWorker"),u=b("./utf8"),x=b("./compressedObject"),d=b("./stream/GenericWorker");o.prototype={internalStream:function(f){var i=null,m="string";try{if(!f)throw new Error("No output type specified.");var s=(m=f.toLowerCase())==="string"||m==="text";m!=="binarystring"&&m!=="text"||(m="string"),i=this._decompressWorker();var _=!this._dataBinary;_&&!s&&(i=i.pipe(new u.Utf8EncodeWorker)),!_&&s&&(i=i.pipe(new u.Utf8DecodeWorker))}catch(E){(i=new d("error")).error(E)}return new l(i,m,"")},async:function(f,i){return this.internalStream(f).accumulate(i)},nodeStream:function(f,i){return this.internalStream(f||"nodebuffer").toNodejsStream(i)},_compressWorker:function(f,i){if(this._data instanceof x&&this._data.compression.magic===f.magic)return this._data.getCompressedWorker();var m=this._decompressWorker();return this._dataBinary||(m=m.pipe(new u.Utf8EncodeWorker)),x.createWorkerFrom(m,f,i)},_decompressWorker:function(){return this._data instanceof x?this._data.getContentWorker():this._data instanceof d?this._data:new a(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],y=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},r=0;r<c.length;r++)o.prototype[c[r]]=y;F.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(b,F,v){(function(o){"use strict";var l,a,u=o.MutationObserver||o.WebKitMutationObserver;if(u){var x=0,d=new u(f),c=o.document.createTextNode("");d.observe(c,{characterData:!0}),l=function(){c.data=x=++x%2}}else if(o.setImmediate||o.MessageChannel===void 0)l="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var i=o.document.createElement("script");i.onreadystatechange=function(){f(),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},o.document.documentElement.appendChild(i)}:function(){setTimeout(f,0)};else{var y=new o.MessageChannel;y.port1.onmessage=f,l=function(){y.port2.postMessage(0)}}var r=[];function f(){var i,m;a=!0;for(var s=r.length;s;){for(m=r,r=[],i=-1;++i<s;)m[i]();s=r.length}a=!1}F.exports=function(i){r.push(i)!==1||a||l()}}).call(this,typeof k.g!="undefined"?k.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(b,F,v){"use strict";var o=b("immediate");function l(){}var a={},u=["REJECTED"],x=["FULFILLED"],d=["PENDING"];function c(s){if(typeof s!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,s!==l&&i(this,s)}function y(s,_,E){this.promise=s,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof E=="function"&&(this.onRejected=E,this.callRejected=this.otherCallRejected)}function r(s,_,E){o(function(){var T;try{T=_(E)}catch(C){return a.reject(s,C)}T===s?a.reject(s,new TypeError("Cannot resolve promise with itself")):a.resolve(s,T)})}function f(s){var _=s&&s.then;if(s&&(typeof s=="object"||typeof s=="function")&&typeof _=="function")return function(){_.apply(s,arguments)}}function i(s,_){var E=!1;function T(U){E||(E=!0,a.reject(s,U))}function C(U){E||(E=!0,a.resolve(s,U))}var H=m(function(){_(C,T)});H.status==="error"&&T(H.value)}function m(s,_){var E={};try{E.value=s(_),E.status="success"}catch(T){E.status="error",E.value=T}return E}(F.exports=c).prototype.finally=function(s){if(typeof s!="function")return this;var _=this.constructor;return this.then(function(E){return _.resolve(s()).then(function(){return E})},function(E){return _.resolve(s()).then(function(){throw E})})},c.prototype.catch=function(s){return this.then(null,s)},c.prototype.then=function(s,_){if(typeof s!="function"&&this.state===x||typeof _!="function"&&this.state===u)return this;var E=new this.constructor(l);return this.state!==d?r(E,this.state===x?s:_,this.outcome):this.queue.push(new y(E,s,_)),E},y.prototype.callFulfilled=function(s){a.resolve(this.promise,s)},y.prototype.otherCallFulfilled=function(s){r(this.promise,this.onFulfilled,s)},y.prototype.callRejected=function(s){a.reject(this.promise,s)},y.prototype.otherCallRejected=function(s){r(this.promise,this.onRejected,s)},a.resolve=function(s,_){var E=m(f,_);if(E.status==="error")return a.reject(s,E.value);var T=E.value;if(T)i(s,T);else{s.state=x,s.outcome=_;for(var C=-1,H=s.queue.length;++C<H;)s.queue[C].callFulfilled(_)}return s},a.reject=function(s,_){s.state=u,s.outcome=_;for(var E=-1,T=s.queue.length;++E<T;)s.queue[E].callRejected(_);return s},c.resolve=function(s){return s instanceof this?s:a.resolve(new this(l),s)},c.reject=function(s){var _=new this(l);return a.reject(_,s)},c.all=function(s){var _=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=s.length,T=!1;if(!E)return this.resolve([]);for(var C=new Array(E),H=0,U=-1,J=new this(l);++U<E;)M(s[U],U);return J;function M(w,D){_.resolve(w).then(function(n){C[D]=n,++H!==E||T||(T=!0,a.resolve(J,C))},function(n){T||(T=!0,a.reject(J,n))})}},c.race=function(s){var _=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=s.length,T=!1;if(!E)return this.resolve([]);for(var C=-1,H=new this(l);++C<E;)U=s[C],_.resolve(U).then(function(J){T||(T=!0,a.resolve(H,J))},function(J){T||(T=!0,a.reject(H,J))});var U;return H}},{immediate:36}],38:[function(b,F,v){"use strict";var o={};(0,b("./lib/utils/common").assign)(o,b("./lib/deflate"),b("./lib/inflate"),b("./lib/zlib/constants")),F.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(b,F,v){"use strict";var o=b("./zlib/deflate"),l=b("./utils/common"),a=b("./utils/strings"),u=b("./zlib/messages"),x=b("./zlib/zstream"),d=Object.prototype.toString,c=0,y=-1,r=0,f=8;function i(s){if(!(this instanceof i))return new i(s);this.options=l.assign({level:y,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:r,to:""},s||{});var _=this.options;_.raw&&0<_.windowBits?_.windowBits=-_.windowBits:_.gzip&&0<_.windowBits&&_.windowBits<16&&(_.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new x,this.strm.avail_out=0;var E=o.deflateInit2(this.strm,_.level,_.method,_.windowBits,_.memLevel,_.strategy);if(E!==c)throw new Error(u[E]);if(_.header&&o.deflateSetHeader(this.strm,_.header),_.dictionary){var T;if(T=typeof _.dictionary=="string"?a.string2buf(_.dictionary):d.call(_.dictionary)==="[object ArrayBuffer]"?new Uint8Array(_.dictionary):_.dictionary,(E=o.deflateSetDictionary(this.strm,T))!==c)throw new Error(u[E]);this._dict_set=!0}}function m(s,_){var E=new i(_);if(E.push(s,!0),E.err)throw E.msg||u[E.err];return E.result}i.prototype.push=function(s,_){var E,T,C=this.strm,H=this.options.chunkSize;if(this.ended)return!1;T=_===~~_?_:_===!0?4:0,typeof s=="string"?C.input=a.string2buf(s):d.call(s)==="[object ArrayBuffer]"?C.input=new Uint8Array(s):C.input=s,C.next_in=0,C.avail_in=C.input.length;do{if(C.avail_out===0&&(C.output=new l.Buf8(H),C.next_out=0,C.avail_out=H),(E=o.deflate(C,T))!==1&&E!==c)return this.onEnd(E),!(this.ended=!0);C.avail_out!==0&&(C.avail_in!==0||T!==4&&T!==2)||(this.options.to==="string"?this.onData(a.buf2binstring(l.shrinkBuf(C.output,C.next_out))):this.onData(l.shrinkBuf(C.output,C.next_out)))}while((0<C.avail_in||C.avail_out===0)&&E!==1);return T===4?(E=o.deflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===c):T!==2||(this.onEnd(c),!(C.avail_out=0))},i.prototype.onData=function(s){this.chunks.push(s)},i.prototype.onEnd=function(s){s===c&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg},v.Deflate=i,v.deflate=m,v.deflateRaw=function(s,_){return(_=_||{}).raw=!0,m(s,_)},v.gzip=function(s,_){return(_=_||{}).gzip=!0,m(s,_)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(b,F,v){"use strict";var o=b("./zlib/inflate"),l=b("./utils/common"),a=b("./utils/strings"),u=b("./zlib/constants"),x=b("./zlib/messages"),d=b("./zlib/zstream"),c=b("./zlib/gzheader"),y=Object.prototype.toString;function r(i){if(!(this instanceof r))return new r(i);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},i||{});var m=this.options;m.raw&&0<=m.windowBits&&m.windowBits<16&&(m.windowBits=-m.windowBits,m.windowBits===0&&(m.windowBits=-15)),!(0<=m.windowBits&&m.windowBits<16)||i&&i.windowBits||(m.windowBits+=32),15<m.windowBits&&m.windowBits<48&&!(15&m.windowBits)&&(m.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var s=o.inflateInit2(this.strm,m.windowBits);if(s!==u.Z_OK)throw new Error(x[s]);this.header=new c,o.inflateGetHeader(this.strm,this.header)}function f(i,m){var s=new r(m);if(s.push(i,!0),s.err)throw s.msg||x[s.err];return s.result}r.prototype.push=function(i,m){var s,_,E,T,C,H,U=this.strm,J=this.options.chunkSize,M=this.options.dictionary,w=!1;if(this.ended)return!1;_=m===~~m?m:m===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof i=="string"?U.input=a.binstring2buf(i):y.call(i)==="[object ArrayBuffer]"?U.input=new Uint8Array(i):U.input=i,U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0&&(U.output=new l.Buf8(J),U.next_out=0,U.avail_out=J),(s=o.inflate(U,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&M&&(H=typeof M=="string"?a.string2buf(M):y.call(M)==="[object ArrayBuffer]"?new Uint8Array(M):M,s=o.inflateSetDictionary(this.strm,H)),s===u.Z_BUF_ERROR&&w===!0&&(s=u.Z_OK,w=!1),s!==u.Z_STREAM_END&&s!==u.Z_OK)return this.onEnd(s),!(this.ended=!0);U.next_out&&(U.avail_out!==0&&s!==u.Z_STREAM_END&&(U.avail_in!==0||_!==u.Z_FINISH&&_!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(E=a.utf8border(U.output,U.next_out),T=U.next_out-E,C=a.buf2string(U.output,E),U.next_out=T,U.avail_out=J-T,T&&l.arraySet(U.output,U.output,E,T,0),this.onData(C)):this.onData(l.shrinkBuf(U.output,U.next_out)))),U.avail_in===0&&U.avail_out===0&&(w=!0)}while((0<U.avail_in||U.avail_out===0)&&s!==u.Z_STREAM_END);return s===u.Z_STREAM_END&&(_=u.Z_FINISH),_===u.Z_FINISH?(s=o.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===u.Z_OK):_!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(U.avail_out=0))},r.prototype.onData=function(i){this.chunks.push(i)},r.prototype.onEnd=function(i){i===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=i,this.msg=this.strm.msg},v.Inflate=r,v.inflate=f,v.inflateRaw=function(i,m){return(m=m||{}).raw=!0,f(i,m)},v.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(b,F,v){"use strict";var o=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";v.assign=function(u){for(var x=Array.prototype.slice.call(arguments,1);x.length;){var d=x.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var c in d)d.hasOwnProperty(c)&&(u[c]=d[c])}}return u},v.shrinkBuf=function(u,x){return u.length===x?u:u.subarray?u.subarray(0,x):(u.length=x,u)};var l={arraySet:function(u,x,d,c,y){if(x.subarray&&u.subarray)u.set(x.subarray(d,d+c),y);else for(var r=0;r<c;r++)u[y+r]=x[d+r]},flattenChunks:function(u){var x,d,c,y,r,f;for(x=c=0,d=u.length;x<d;x++)c+=u[x].length;for(f=new Uint8Array(c),x=y=0,d=u.length;x<d;x++)r=u[x],f.set(r,y),y+=r.length;return f}},a={arraySet:function(u,x,d,c,y){for(var r=0;r<c;r++)u[y+r]=x[d+r]},flattenChunks:function(u){return[].concat.apply([],u)}};v.setTyped=function(u){u?(v.Buf8=Uint8Array,v.Buf16=Uint16Array,v.Buf32=Int32Array,v.assign(v,l)):(v.Buf8=Array,v.Buf16=Array,v.Buf32=Array,v.assign(v,a))},v.setTyped(o)},{}],42:[function(b,F,v){"use strict";var o=b("./common"),l=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(c){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){a=!1}for(var u=new o.Buf8(256),x=0;x<256;x++)u[x]=252<=x?6:248<=x?5:240<=x?4:224<=x?3:192<=x?2:1;function d(c,y){if(y<65537&&(c.subarray&&a||!c.subarray&&l))return String.fromCharCode.apply(null,o.shrinkBuf(c,y));for(var r="",f=0;f<y;f++)r+=String.fromCharCode(c[f]);return r}u[254]=u[254]=1,v.string2buf=function(c){var y,r,f,i,m,s=c.length,_=0;for(i=0;i<s;i++)(64512&(r=c.charCodeAt(i)))==55296&&i+1<s&&(64512&(f=c.charCodeAt(i+1)))==56320&&(r=65536+(r-55296<<10)+(f-56320),i++),_+=r<128?1:r<2048?2:r<65536?3:4;for(y=new o.Buf8(_),i=m=0;m<_;i++)(64512&(r=c.charCodeAt(i)))==55296&&i+1<s&&(64512&(f=c.charCodeAt(i+1)))==56320&&(r=65536+(r-55296<<10)+(f-56320),i++),r<128?y[m++]=r:(r<2048?y[m++]=192|r>>>6:(r<65536?y[m++]=224|r>>>12:(y[m++]=240|r>>>18,y[m++]=128|r>>>12&63),y[m++]=128|r>>>6&63),y[m++]=128|63&r);return y},v.buf2binstring=function(c){return d(c,c.length)},v.binstring2buf=function(c){for(var y=new o.Buf8(c.length),r=0,f=y.length;r<f;r++)y[r]=c.charCodeAt(r);return y},v.buf2string=function(c,y){var r,f,i,m,s=y||c.length,_=new Array(2*s);for(r=f=0;r<s;)if((i=c[r++])<128)_[f++]=i;else if(4<(m=u[i]))_[f++]=65533,r+=m-1;else{for(i&=m===2?31:m===3?15:7;1<m&&r<s;)i=i<<6|63&c[r++],m--;1<m?_[f++]=65533:i<65536?_[f++]=i:(i-=65536,_[f++]=55296|i>>10&1023,_[f++]=56320|1023&i)}return d(_,f)},v.utf8border=function(c,y){var r;for((y=y||c.length)>c.length&&(y=c.length),r=y-1;0<=r&&(192&c[r])==128;)r--;return r<0||r===0?y:r+u[c[r]]>y?r:y}},{"./common":41}],43:[function(b,F,v){"use strict";F.exports=function(o,l,a,u){for(var x=65535&o|0,d=o>>>16&65535|0,c=0;a!==0;){for(a-=c=2e3<a?2e3:a;d=d+(x=x+l[u++]|0)|0,--c;);x%=65521,d%=65521}return x|d<<16|0}},{}],44:[function(b,F,v){"use strict";F.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(b,F,v){"use strict";var o=function(){for(var l,a=[],u=0;u<256;u++){l=u;for(var x=0;x<8;x++)l=1&l?3988292384^l>>>1:l>>>1;a[u]=l}return a}();F.exports=function(l,a,u,x){var d=o,c=x+u;l^=-1;for(var y=x;y<c;y++)l=l>>>8^d[255&(l^a[y])];return-1^l}},{}],46:[function(b,F,v){"use strict";var o,l=b("../utils/common"),a=b("./trees"),u=b("./adler32"),x=b("./crc32"),d=b("./messages"),c=0,y=4,r=0,f=-2,i=-1,m=4,s=2,_=8,E=9,T=286,C=30,H=19,U=2*T+1,J=15,M=3,w=258,D=w+M+1,n=42,S=113,t=1,O=2,q=3,W=4;function ct(e,K){return e.msg=d[K],K}function $(e){return(e<<1)-(4<e?9:0)}function st(e){for(var K=e.length;0<=--K;)e[K]=0}function z(e){var K=e.state,L=K.pending;L>e.avail_out&&(L=e.avail_out),L!==0&&(l.arraySet(e.output,K.pending_buf,K.pending_out,L,e.next_out),e.next_out+=L,K.pending_out+=L,e.total_out+=L,e.avail_out-=L,K.pending-=L,K.pending===0&&(K.pending_out=0))}function p(e,K){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,K),e.block_start=e.strstart,z(e.strm)}function N(e,K){e.pending_buf[e.pending++]=K}function G(e,K){e.pending_buf[e.pending++]=K>>>8&255,e.pending_buf[e.pending++]=255&K}function Z(e,K){var L,g,h=e.max_chain_length,j=e.strstart,V=e.prev_length,X=e.nice_match,A=e.strstart>e.w_size-D?e.strstart-(e.w_size-D):0,tt=e.window,it=e.w_mask,nt=e.prev,dt=e.strstart+w,It=tt[j+V-1],lt=tt[j+V];e.prev_length>=e.good_match&&(h>>=2),X>e.lookahead&&(X=e.lookahead);do if(tt[(L=K)+V]===lt&&tt[L+V-1]===It&&tt[L]===tt[j]&&tt[++L]===tt[j+1]){j+=2,L++;do;while(tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&tt[++j]===tt[++L]&&j<dt);if(g=w-(dt-j),j=dt-w,V<g){if(e.match_start=K,X<=(V=g))break;It=tt[j+V-1],lt=tt[j+V]}}while((K=nt[K&it])>A&&--h!=0);return V<=e.lookahead?V:e.lookahead}function ot(e){var K,L,g,h,j,V,X,A,tt,it,nt=e.w_size;do{if(h=e.window_size-e.lookahead-e.strstart,e.strstart>=nt+(nt-D)){for(l.arraySet(e.window,e.window,nt,nt,0),e.match_start-=nt,e.strstart-=nt,e.block_start-=nt,K=L=e.hash_size;g=e.head[--K],e.head[K]=nt<=g?g-nt:0,--L;);for(K=L=nt;g=e.prev[--K],e.prev[K]=nt<=g?g-nt:0,--L;);h+=nt}if(e.strm.avail_in===0)break;if(V=e.strm,X=e.window,A=e.strstart+e.lookahead,tt=h,it=void 0,it=V.avail_in,tt<it&&(it=tt),L=it===0?0:(V.avail_in-=it,l.arraySet(X,V.input,V.next_in,it,A),V.state.wrap===1?V.adler=u(V.adler,X,it,A):V.state.wrap===2&&(V.adler=x(V.adler,X,it,A)),V.next_in+=it,V.total_in+=it,it),e.lookahead+=L,e.lookahead+e.insert>=M)for(j=e.strstart-e.insert,e.ins_h=e.window[j],e.ins_h=(e.ins_h<<e.hash_shift^e.window[j+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[j+M-1])&e.hash_mask,e.prev[j&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=j,j++,e.insert--,!(e.lookahead+e.insert<M)););}while(e.lookahead<D&&e.strm.avail_in!==0)}function ut(e,K){for(var L,g;;){if(e.lookahead<D){if(ot(e),e.lookahead<D&&K===c)return t;if(e.lookahead===0)break}if(L=0,e.lookahead>=M&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,L=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),L!==0&&e.strstart-L<=e.w_size-D&&(e.match_length=Z(e,L)),e.match_length>=M)if(g=a._tr_tally(e,e.strstart-e.match_start,e.match_length-M),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=M){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,L=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else g=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(g&&(p(e,!1),e.strm.avail_out===0))return t}return e.insert=e.strstart<M-1?e.strstart:M-1,K===y?(p(e,!0),e.strm.avail_out===0?q:W):e.last_lit&&(p(e,!1),e.strm.avail_out===0)?t:O}function rt(e,K){for(var L,g,h;;){if(e.lookahead<D){if(ot(e),e.lookahead<D&&K===c)return t;if(e.lookahead===0)break}if(L=0,e.lookahead>=M&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,L=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=M-1,L!==0&&e.prev_length<e.max_lazy_match&&e.strstart-L<=e.w_size-D&&(e.match_length=Z(e,L),e.match_length<=5&&(e.strategy===1||e.match_length===M&&4096<e.strstart-e.match_start)&&(e.match_length=M-1)),e.prev_length>=M&&e.match_length<=e.prev_length){for(h=e.strstart+e.lookahead-M,g=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-M),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=h&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+M-1])&e.hash_mask,L=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=M-1,e.strstart++,g&&(p(e,!1),e.strm.avail_out===0))return t}else if(e.match_available){if((g=a._tr_tally(e,0,e.window[e.strstart-1]))&&p(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return t}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(g=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<M-1?e.strstart:M-1,K===y?(p(e,!0),e.strm.avail_out===0?q:W):e.last_lit&&(p(e,!1),e.strm.avail_out===0)?t:O}function vt(e,K,L,g,h){this.good_length=e,this.max_lazy=K,this.nice_length=L,this.max_chain=g,this.func=h}function wt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new l.Buf16(2*U),this.dyn_dtree=new l.Buf16(2*(2*C+1)),this.bl_tree=new l.Buf16(2*(2*H+1)),st(this.dyn_ltree),st(this.dyn_dtree),st(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(J+1),this.heap=new l.Buf16(2*T+1),st(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*T+1),st(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function I(e){var K;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=s,(K=e.state).pending=0,K.pending_out=0,K.wrap<0&&(K.wrap=-K.wrap),K.status=K.wrap?n:S,e.adler=K.wrap===2?0:1,K.last_flush=c,a._tr_init(K),r):ct(e,f)}function At(e){var K=I(e);return K===r&&function(L){L.window_size=2*L.w_size,st(L.head),L.max_lazy_match=o[L.level].max_lazy,L.good_match=o[L.level].good_length,L.nice_match=o[L.level].nice_length,L.max_chain_length=o[L.level].max_chain,L.strstart=0,L.block_start=0,L.lookahead=0,L.insert=0,L.match_length=L.prev_length=M-1,L.match_available=0,L.ins_h=0}(e.state),K}function kt(e,K,L,g,h,j){if(!e)return f;var V=1;if(K===i&&(K=6),g<0?(V=0,g=-g):15<g&&(V=2,g-=16),h<1||E<h||L!==_||g<8||15<g||K<0||9<K||j<0||m<j)return ct(e,f);g===8&&(g=9);var X=new wt;return(e.state=X).strm=e,X.wrap=V,X.gzhead=null,X.w_bits=g,X.w_size=1<<X.w_bits,X.w_mask=X.w_size-1,X.hash_bits=h+7,X.hash_size=1<<X.hash_bits,X.hash_mask=X.hash_size-1,X.hash_shift=~~((X.hash_bits+M-1)/M),X.window=new l.Buf8(2*X.w_size),X.head=new l.Buf16(X.hash_size),X.prev=new l.Buf16(X.w_size),X.lit_bufsize=1<<h+6,X.pending_buf_size=4*X.lit_bufsize,X.pending_buf=new l.Buf8(X.pending_buf_size),X.d_buf=1*X.lit_bufsize,X.l_buf=3*X.lit_bufsize,X.level=K,X.strategy=j,X.method=L,At(e)}o=[new vt(0,0,0,0,function(e,K){var L=65535;for(L>e.pending_buf_size-5&&(L=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ot(e),e.lookahead===0&&K===c)return t;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var g=e.block_start+L;if((e.strstart===0||e.strstart>=g)&&(e.lookahead=e.strstart-g,e.strstart=g,p(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-D&&(p(e,!1),e.strm.avail_out===0))return t}return e.insert=0,K===y?(p(e,!0),e.strm.avail_out===0?q:W):(e.strstart>e.block_start&&(p(e,!1),e.strm.avail_out),t)}),new vt(4,4,8,4,ut),new vt(4,5,16,8,ut),new vt(4,6,32,32,ut),new vt(4,4,16,16,rt),new vt(8,16,32,32,rt),new vt(8,16,128,128,rt),new vt(8,32,128,256,rt),new vt(32,128,258,1024,rt),new vt(32,258,258,4096,rt)],v.deflateInit=function(e,K){return kt(e,K,_,15,8,0)},v.deflateInit2=kt,v.deflateReset=At,v.deflateResetKeep=I,v.deflateSetHeader=function(e,K){return e&&e.state?e.state.wrap!==2?f:(e.state.gzhead=K,r):f},v.deflate=function(e,K){var L,g,h,j;if(!e||!e.state||5<K||K<0)return e?ct(e,f):f;if(g=e.state,!e.output||!e.input&&e.avail_in!==0||g.status===666&&K!==y)return ct(e,e.avail_out===0?-5:f);if(g.strm=e,L=g.last_flush,g.last_flush=K,g.status===n)if(g.wrap===2)e.adler=0,N(g,31),N(g,139),N(g,8),g.gzhead?(N(g,(g.gzhead.text?1:0)+(g.gzhead.hcrc?2:0)+(g.gzhead.extra?4:0)+(g.gzhead.name?8:0)+(g.gzhead.comment?16:0)),N(g,255&g.gzhead.time),N(g,g.gzhead.time>>8&255),N(g,g.gzhead.time>>16&255),N(g,g.gzhead.time>>24&255),N(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),N(g,255&g.gzhead.os),g.gzhead.extra&&g.gzhead.extra.length&&(N(g,255&g.gzhead.extra.length),N(g,g.gzhead.extra.length>>8&255)),g.gzhead.hcrc&&(e.adler=x(e.adler,g.pending_buf,g.pending,0)),g.gzindex=0,g.status=69):(N(g,0),N(g,0),N(g,0),N(g,0),N(g,0),N(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),N(g,3),g.status=S);else{var V=_+(g.w_bits-8<<4)<<8;V|=(2<=g.strategy||g.level<2?0:g.level<6?1:g.level===6?2:3)<<6,g.strstart!==0&&(V|=32),V+=31-V%31,g.status=S,G(g,V),g.strstart!==0&&(G(g,e.adler>>>16),G(g,65535&e.adler)),e.adler=1}if(g.status===69)if(g.gzhead.extra){for(h=g.pending;g.gzindex<(65535&g.gzhead.extra.length)&&(g.pending!==g.pending_buf_size||(g.gzhead.hcrc&&g.pending>h&&(e.adler=x(e.adler,g.pending_buf,g.pending-h,h)),z(e),h=g.pending,g.pending!==g.pending_buf_size));)N(g,255&g.gzhead.extra[g.gzindex]),g.gzindex++;g.gzhead.hcrc&&g.pending>h&&(e.adler=x(e.adler,g.pending_buf,g.pending-h,h)),g.gzindex===g.gzhead.extra.length&&(g.gzindex=0,g.status=73)}else g.status=73;if(g.status===73)if(g.gzhead.name){h=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>h&&(e.adler=x(e.adler,g.pending_buf,g.pending-h,h)),z(e),h=g.pending,g.pending===g.pending_buf_size)){j=1;break}j=g.gzindex<g.gzhead.name.length?255&g.gzhead.name.charCodeAt(g.gzindex++):0,N(g,j)}while(j!==0);g.gzhead.hcrc&&g.pending>h&&(e.adler=x(e.adler,g.pending_buf,g.pending-h,h)),j===0&&(g.gzindex=0,g.status=91)}else g.status=91;if(g.status===91)if(g.gzhead.comment){h=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>h&&(e.adler=x(e.adler,g.pending_buf,g.pending-h,h)),z(e),h=g.pending,g.pending===g.pending_buf_size)){j=1;break}j=g.gzindex<g.gzhead.comment.length?255&g.gzhead.comment.charCodeAt(g.gzindex++):0,N(g,j)}while(j!==0);g.gzhead.hcrc&&g.pending>h&&(e.adler=x(e.adler,g.pending_buf,g.pending-h,h)),j===0&&(g.status=103)}else g.status=103;if(g.status===103&&(g.gzhead.hcrc?(g.pending+2>g.pending_buf_size&&z(e),g.pending+2<=g.pending_buf_size&&(N(g,255&e.adler),N(g,e.adler>>8&255),e.adler=0,g.status=S)):g.status=S),g.pending!==0){if(z(e),e.avail_out===0)return g.last_flush=-1,r}else if(e.avail_in===0&&$(K)<=$(L)&&K!==y)return ct(e,-5);if(g.status===666&&e.avail_in!==0)return ct(e,-5);if(e.avail_in!==0||g.lookahead!==0||K!==c&&g.status!==666){var X=g.strategy===2?function(A,tt){for(var it;;){if(A.lookahead===0&&(ot(A),A.lookahead===0)){if(tt===c)return t;break}if(A.match_length=0,it=a._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,it&&(p(A,!1),A.strm.avail_out===0))return t}return A.insert=0,tt===y?(p(A,!0),A.strm.avail_out===0?q:W):A.last_lit&&(p(A,!1),A.strm.avail_out===0)?t:O}(g,K):g.strategy===3?function(A,tt){for(var it,nt,dt,It,lt=A.window;;){if(A.lookahead<=w){if(ot(A),A.lookahead<=w&&tt===c)return t;if(A.lookahead===0)break}if(A.match_length=0,A.lookahead>=M&&0<A.strstart&&(nt=lt[dt=A.strstart-1])===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]){It=A.strstart+w;do;while(nt===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]&&nt===lt[++dt]&&dt<It);A.match_length=w-(It-dt),A.match_length>A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=M?(it=a._tr_tally(A,1,A.match_length-M),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(it=a._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),it&&(p(A,!1),A.strm.avail_out===0))return t}return A.insert=0,tt===y?(p(A,!0),A.strm.avail_out===0?q:W):A.last_lit&&(p(A,!1),A.strm.avail_out===0)?t:O}(g,K):o[g.level].func(g,K);if(X!==q&&X!==W||(g.status=666),X===t||X===q)return e.avail_out===0&&(g.last_flush=-1),r;if(X===O&&(K===1?a._tr_align(g):K!==5&&(a._tr_stored_block(g,0,0,!1),K===3&&(st(g.head),g.lookahead===0&&(g.strstart=0,g.block_start=0,g.insert=0))),z(e),e.avail_out===0))return g.last_flush=-1,r}return K!==y?r:g.wrap<=0?1:(g.wrap===2?(N(g,255&e.adler),N(g,e.adler>>8&255),N(g,e.adler>>16&255),N(g,e.adler>>24&255),N(g,255&e.total_in),N(g,e.total_in>>8&255),N(g,e.total_in>>16&255),N(g,e.total_in>>24&255)):(G(g,e.adler>>>16),G(g,65535&e.adler)),z(e),0<g.wrap&&(g.wrap=-g.wrap),g.pending!==0?r:1)},v.deflateEnd=function(e){var K;return e&&e.state?(K=e.state.status)!==n&&K!==69&&K!==73&&K!==91&&K!==103&&K!==S&&K!==666?ct(e,f):(e.state=null,K===S?ct(e,-3):r):f},v.deflateSetDictionary=function(e,K){var L,g,h,j,V,X,A,tt,it=K.length;if(!e||!e.state||(j=(L=e.state).wrap)===2||j===1&&L.status!==n||L.lookahead)return f;for(j===1&&(e.adler=u(e.adler,K,it,0)),L.wrap=0,it>=L.w_size&&(j===0&&(st(L.head),L.strstart=0,L.block_start=0,L.insert=0),tt=new l.Buf8(L.w_size),l.arraySet(tt,K,it-L.w_size,L.w_size,0),K=tt,it=L.w_size),V=e.avail_in,X=e.next_in,A=e.input,e.avail_in=it,e.next_in=0,e.input=K,ot(L);L.lookahead>=M;){for(g=L.strstart,h=L.lookahead-(M-1);L.ins_h=(L.ins_h<<L.hash_shift^L.window[g+M-1])&L.hash_mask,L.prev[g&L.w_mask]=L.head[L.ins_h],L.head[L.ins_h]=g,g++,--h;);L.strstart=g,L.lookahead=M-1,ot(L)}return L.strstart+=L.lookahead,L.block_start=L.strstart,L.insert=L.lookahead,L.lookahead=0,L.match_length=L.prev_length=M-1,L.match_available=0,e.next_in=X,e.input=A,e.avail_in=V,L.wrap=j,r},v.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(b,F,v){"use strict";F.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(b,F,v){"use strict";F.exports=function(o,l){var a,u,x,d,c,y,r,f,i,m,s,_,E,T,C,H,U,J,M,w,D,n,S,t,O;a=o.state,u=o.next_in,t=o.input,x=u+(o.avail_in-5),d=o.next_out,O=o.output,c=d-(l-o.avail_out),y=d+(o.avail_out-257),r=a.dmax,f=a.wsize,i=a.whave,m=a.wnext,s=a.window,_=a.hold,E=a.bits,T=a.lencode,C=a.distcode,H=(1<<a.lenbits)-1,U=(1<<a.distbits)-1;t:do{E<15&&(_+=t[u++]<<E,E+=8,_+=t[u++]<<E,E+=8),J=T[_&H];e:for(;;){if(_>>>=M=J>>>24,E-=M,(M=J>>>16&255)===0)O[d++]=65535&J;else{if(!(16&M)){if(!(64&M)){J=T[(65535&J)+(_&(1<<M)-1)];continue e}if(32&M){a.mode=12;break t}o.msg="invalid literal/length code",a.mode=30;break t}w=65535&J,(M&=15)&&(E<M&&(_+=t[u++]<<E,E+=8),w+=_&(1<<M)-1,_>>>=M,E-=M),E<15&&(_+=t[u++]<<E,E+=8,_+=t[u++]<<E,E+=8),J=C[_&U];n:for(;;){if(_>>>=M=J>>>24,E-=M,!(16&(M=J>>>16&255))){if(!(64&M)){J=C[(65535&J)+(_&(1<<M)-1)];continue n}o.msg="invalid distance code",a.mode=30;break t}if(D=65535&J,E<(M&=15)&&(_+=t[u++]<<E,(E+=8)<M&&(_+=t[u++]<<E,E+=8)),r<(D+=_&(1<<M)-1)){o.msg="invalid distance too far back",a.mode=30;break t}if(_>>>=M,E-=M,(M=d-c)<D){if(i<(M=D-M)&&a.sane){o.msg="invalid distance too far back",a.mode=30;break t}if(S=s,(n=0)===m){if(n+=f-M,M<w){for(w-=M;O[d++]=s[n++],--M;);n=d-D,S=O}}else if(m<M){if(n+=f+m-M,(M-=m)<w){for(w-=M;O[d++]=s[n++],--M;);if(n=0,m<w){for(w-=M=m;O[d++]=s[n++],--M;);n=d-D,S=O}}}else if(n+=m-M,M<w){for(w-=M;O[d++]=s[n++],--M;);n=d-D,S=O}for(;2<w;)O[d++]=S[n++],O[d++]=S[n++],O[d++]=S[n++],w-=3;w&&(O[d++]=S[n++],1<w&&(O[d++]=S[n++]))}else{for(n=d-D;O[d++]=O[n++],O[d++]=O[n++],O[d++]=O[n++],2<(w-=3););w&&(O[d++]=O[n++],1<w&&(O[d++]=O[n++]))}break}}break}}while(u<x&&d<y);u-=w=E>>3,_&=(1<<(E-=w<<3))-1,o.next_in=u,o.next_out=d,o.avail_in=u<x?x-u+5:5-(u-x),o.avail_out=d<y?y-d+257:257-(d-y),a.hold=_,a.bits=E}},{}],49:[function(b,F,v){"use strict";var o=b("../utils/common"),l=b("./adler32"),a=b("./crc32"),u=b("./inffast"),x=b("./inftrees"),d=1,c=2,y=0,r=-2,f=1,i=852,m=592;function s(n){return(n>>>24&255)+(n>>>8&65280)+((65280&n)<<8)+((255&n)<<24)}function _(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function E(n){var S;return n&&n.state?(S=n.state,n.total_in=n.total_out=S.total=0,n.msg="",S.wrap&&(n.adler=1&S.wrap),S.mode=f,S.last=0,S.havedict=0,S.dmax=32768,S.head=null,S.hold=0,S.bits=0,S.lencode=S.lendyn=new o.Buf32(i),S.distcode=S.distdyn=new o.Buf32(m),S.sane=1,S.back=-1,y):r}function T(n){var S;return n&&n.state?((S=n.state).wsize=0,S.whave=0,S.wnext=0,E(n)):r}function C(n,S){var t,O;return n&&n.state?(O=n.state,S<0?(t=0,S=-S):(t=1+(S>>4),S<48&&(S&=15)),S&&(S<8||15<S)?r:(O.window!==null&&O.wbits!==S&&(O.window=null),O.wrap=t,O.wbits=S,T(n))):r}function H(n,S){var t,O;return n?(O=new _,(n.state=O).window=null,(t=C(n,S))!==y&&(n.state=null),t):r}var U,J,M=!0;function w(n){if(M){var S;for(U=new o.Buf32(512),J=new o.Buf32(32),S=0;S<144;)n.lens[S++]=8;for(;S<256;)n.lens[S++]=9;for(;S<280;)n.lens[S++]=7;for(;S<288;)n.lens[S++]=8;for(x(d,n.lens,0,288,U,0,n.work,{bits:9}),S=0;S<32;)n.lens[S++]=5;x(c,n.lens,0,32,J,0,n.work,{bits:5}),M=!1}n.lencode=U,n.lenbits=9,n.distcode=J,n.distbits=5}function D(n,S,t,O){var q,W=n.state;return W.window===null&&(W.wsize=1<<W.wbits,W.wnext=0,W.whave=0,W.window=new o.Buf8(W.wsize)),O>=W.wsize?(o.arraySet(W.window,S,t-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(O<(q=W.wsize-W.wnext)&&(q=O),o.arraySet(W.window,S,t-O,q,W.wnext),(O-=q)?(o.arraySet(W.window,S,t-O,O,0),W.wnext=O,W.whave=W.wsize):(W.wnext+=q,W.wnext===W.wsize&&(W.wnext=0),W.whave<W.wsize&&(W.whave+=q))),0}v.inflateReset=T,v.inflateReset2=C,v.inflateResetKeep=E,v.inflateInit=function(n){return H(n,15)},v.inflateInit2=H,v.inflate=function(n,S){var t,O,q,W,ct,$,st,z,p,N,G,Z,ot,ut,rt,vt,wt,I,At,kt,e,K,L,g,h=0,j=new o.Buf8(4),V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!n||!n.state||!n.output||!n.input&&n.avail_in!==0)return r;(t=n.state).mode===12&&(t.mode=13),ct=n.next_out,q=n.output,st=n.avail_out,W=n.next_in,O=n.input,$=n.avail_in,z=t.hold,p=t.bits,N=$,G=st,K=y;t:for(;;)switch(t.mode){case f:if(t.wrap===0){t.mode=13;break}for(;p<16;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(2&t.wrap&&z===35615){j[t.check=0]=255&z,j[1]=z>>>8&255,t.check=a(t.check,j,2,0),p=z=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&z)<<8)+(z>>8))%31){n.msg="incorrect header check",t.mode=30;break}if((15&z)!=8){n.msg="unknown compression method",t.mode=30;break}if(p-=4,e=8+(15&(z>>>=4)),t.wbits===0)t.wbits=e;else if(e>t.wbits){n.msg="invalid window size",t.mode=30;break}t.dmax=1<<e,n.adler=t.check=1,t.mode=512&z?10:12,p=z=0;break;case 2:for(;p<16;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(t.flags=z,(255&t.flags)!=8){n.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){n.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=z>>8&1),512&t.flags&&(j[0]=255&z,j[1]=z>>>8&255,t.check=a(t.check,j,2,0)),p=z=0,t.mode=3;case 3:for(;p<32;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}t.head&&(t.head.time=z),512&t.flags&&(j[0]=255&z,j[1]=z>>>8&255,j[2]=z>>>16&255,j[3]=z>>>24&255,t.check=a(t.check,j,4,0)),p=z=0,t.mode=4;case 4:for(;p<16;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}t.head&&(t.head.xflags=255&z,t.head.os=z>>8),512&t.flags&&(j[0]=255&z,j[1]=z>>>8&255,t.check=a(t.check,j,2,0)),p=z=0,t.mode=5;case 5:if(1024&t.flags){for(;p<16;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}t.length=z,t.head&&(t.head.extra_len=z),512&t.flags&&(j[0]=255&z,j[1]=z>>>8&255,t.check=a(t.check,j,2,0)),p=z=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&($<(Z=t.length)&&(Z=$),Z&&(t.head&&(e=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),o.arraySet(t.head.extra,O,W,Z,e)),512&t.flags&&(t.check=a(t.check,O,Z,W)),$-=Z,W+=Z,t.length-=Z),t.length))break t;t.length=0,t.mode=7;case 7:if(2048&t.flags){if($===0)break t;for(Z=0;e=O[W+Z++],t.head&&e&&t.length<65536&&(t.head.name+=String.fromCharCode(e)),e&&Z<$;);if(512&t.flags&&(t.check=a(t.check,O,Z,W)),$-=Z,W+=Z,e)break t}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if($===0)break t;for(Z=0;e=O[W+Z++],t.head&&e&&t.length<65536&&(t.head.comment+=String.fromCharCode(e)),e&&Z<$;);if(512&t.flags&&(t.check=a(t.check,O,Z,W)),$-=Z,W+=Z,e)break t}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;p<16;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(z!==(65535&t.check)){n.msg="header crc mismatch",t.mode=30;break}p=z=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=12;break;case 10:for(;p<32;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}n.adler=t.check=s(z),p=z=0,t.mode=11;case 11:if(t.havedict===0)return n.next_out=ct,n.avail_out=st,n.next_in=W,n.avail_in=$,t.hold=z,t.bits=p,2;n.adler=t.check=1,t.mode=12;case 12:if(S===5||S===6)break t;case 13:if(t.last){z>>>=7&p,p-=7&p,t.mode=27;break}for(;p<3;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}switch(t.last=1&z,p-=1,3&(z>>>=1)){case 0:t.mode=14;break;case 1:if(w(t),t.mode=20,S!==6)break;z>>>=2,p-=2;break t;case 2:t.mode=17;break;case 3:n.msg="invalid block type",t.mode=30}z>>>=2,p-=2;break;case 14:for(z>>>=7&p,p-=7&p;p<32;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if((65535&z)!=(z>>>16^65535)){n.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&z,p=z=0,t.mode=15,S===6)break t;case 15:t.mode=16;case 16:if(Z=t.length){if($<Z&&(Z=$),st<Z&&(Z=st),Z===0)break t;o.arraySet(q,O,W,Z,ct),$-=Z,W+=Z,st-=Z,ct+=Z,t.length-=Z;break}t.mode=12;break;case 17:for(;p<14;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(t.nlen=257+(31&z),z>>>=5,p-=5,t.ndist=1+(31&z),z>>>=5,p-=5,t.ncode=4+(15&z),z>>>=4,p-=4,286<t.nlen||30<t.ndist){n.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;p<3;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}t.lens[V[t.have++]]=7&z,z>>>=3,p-=3}for(;t.have<19;)t.lens[V[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,L={bits:t.lenbits},K=x(0,t.lens,0,19,t.lencode,0,t.work,L),t.lenbits=L.bits,K){n.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;vt=(h=t.lencode[z&(1<<t.lenbits)-1])>>>16&255,wt=65535&h,!((rt=h>>>24)<=p);){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(wt<16)z>>>=rt,p-=rt,t.lens[t.have++]=wt;else{if(wt===16){for(g=rt+2;p<g;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(z>>>=rt,p-=rt,t.have===0){n.msg="invalid bit length repeat",t.mode=30;break}e=t.lens[t.have-1],Z=3+(3&z),z>>>=2,p-=2}else if(wt===17){for(g=rt+3;p<g;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}p-=rt,e=0,Z=3+(7&(z>>>=rt)),z>>>=3,p-=3}else{for(g=rt+7;p<g;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}p-=rt,e=0,Z=11+(127&(z>>>=rt)),z>>>=7,p-=7}if(t.have+Z>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=30;break}for(;Z--;)t.lens[t.have++]=e}}if(t.mode===30)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,L={bits:t.lenbits},K=x(d,t.lens,0,t.nlen,t.lencode,0,t.work,L),t.lenbits=L.bits,K){n.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,L={bits:t.distbits},K=x(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,L),t.distbits=L.bits,K){n.msg="invalid distances set",t.mode=30;break}if(t.mode=20,S===6)break t;case 20:t.mode=21;case 21:if(6<=$&&258<=st){n.next_out=ct,n.avail_out=st,n.next_in=W,n.avail_in=$,t.hold=z,t.bits=p,u(n,G),ct=n.next_out,q=n.output,st=n.avail_out,W=n.next_in,O=n.input,$=n.avail_in,z=t.hold,p=t.bits,t.mode===12&&(t.back=-1);break}for(t.back=0;vt=(h=t.lencode[z&(1<<t.lenbits)-1])>>>16&255,wt=65535&h,!((rt=h>>>24)<=p);){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(vt&&!(240&vt)){for(I=rt,At=vt,kt=wt;vt=(h=t.lencode[kt+((z&(1<<I+At)-1)>>I)])>>>16&255,wt=65535&h,!(I+(rt=h>>>24)<=p);){if($===0)break t;$--,z+=O[W++]<<p,p+=8}z>>>=I,p-=I,t.back+=I}if(z>>>=rt,p-=rt,t.back+=rt,t.length=wt,vt===0){t.mode=26;break}if(32&vt){t.back=-1,t.mode=12;break}if(64&vt){n.msg="invalid literal/length code",t.mode=30;break}t.extra=15&vt,t.mode=22;case 22:if(t.extra){for(g=t.extra;p<g;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}t.length+=z&(1<<t.extra)-1,z>>>=t.extra,p-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;vt=(h=t.distcode[z&(1<<t.distbits)-1])>>>16&255,wt=65535&h,!((rt=h>>>24)<=p);){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(!(240&vt)){for(I=rt,At=vt,kt=wt;vt=(h=t.distcode[kt+((z&(1<<I+At)-1)>>I)])>>>16&255,wt=65535&h,!(I+(rt=h>>>24)<=p);){if($===0)break t;$--,z+=O[W++]<<p,p+=8}z>>>=I,p-=I,t.back+=I}if(z>>>=rt,p-=rt,t.back+=rt,64&vt){n.msg="invalid distance code",t.mode=30;break}t.offset=wt,t.extra=15&vt,t.mode=24;case 24:if(t.extra){for(g=t.extra;p<g;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}t.offset+=z&(1<<t.extra)-1,z>>>=t.extra,p-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(st===0)break t;if(Z=G-st,t.offset>Z){if((Z=t.offset-Z)>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=30;break}ot=Z>t.wnext?(Z-=t.wnext,t.wsize-Z):t.wnext-Z,Z>t.length&&(Z=t.length),ut=t.window}else ut=q,ot=ct-t.offset,Z=t.length;for(st<Z&&(Z=st),st-=Z,t.length-=Z;q[ct++]=ut[ot++],--Z;);t.length===0&&(t.mode=21);break;case 26:if(st===0)break t;q[ct++]=t.length,st--,t.mode=21;break;case 27:if(t.wrap){for(;p<32;){if($===0)break t;$--,z|=O[W++]<<p,p+=8}if(G-=st,n.total_out+=G,t.total+=G,G&&(n.adler=t.check=t.flags?a(t.check,q,G,ct-G):l(t.check,q,G,ct-G)),G=st,(t.flags?z:s(z))!==t.check){n.msg="incorrect data check",t.mode=30;break}p=z=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;p<32;){if($===0)break t;$--,z+=O[W++]<<p,p+=8}if(z!==(4294967295&t.total)){n.msg="incorrect length check",t.mode=30;break}p=z=0}t.mode=29;case 29:K=1;break t;case 30:K=-3;break t;case 31:return-4;case 32:default:return r}return n.next_out=ct,n.avail_out=st,n.next_in=W,n.avail_in=$,t.hold=z,t.bits=p,(t.wsize||G!==n.avail_out&&t.mode<30&&(t.mode<27||S!==4))&&D(n,n.output,n.next_out,G-n.avail_out)?(t.mode=31,-4):(N-=n.avail_in,G-=n.avail_out,n.total_in+=N,n.total_out+=G,t.total+=G,t.wrap&&G&&(n.adler=t.check=t.flags?a(t.check,q,G,n.next_out-G):l(t.check,q,G,n.next_out-G)),n.data_type=t.bits+(t.last?64:0)+(t.mode===12?128:0)+(t.mode===20||t.mode===15?256:0),(N==0&&G===0||S===4)&&K===y&&(K=-5),K)},v.inflateEnd=function(n){if(!n||!n.state)return r;var S=n.state;return S.window&&(S.window=null),n.state=null,y},v.inflateGetHeader=function(n,S){var t;return n&&n.state&&2&(t=n.state).wrap?((t.head=S).done=!1,y):r},v.inflateSetDictionary=function(n,S){var t,O=S.length;return n&&n.state?(t=n.state).wrap!==0&&t.mode!==11?r:t.mode===11&&l(1,S,O,0)!==t.check?-3:D(n,S,O,O)?(t.mode=31,-4):(t.havedict=1,y):r},v.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(b,F,v){"use strict";var o=b("../utils/common"),l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],x=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];F.exports=function(d,c,y,r,f,i,m,s){var _,E,T,C,H,U,J,M,w,D=s.bits,n=0,S=0,t=0,O=0,q=0,W=0,ct=0,$=0,st=0,z=0,p=null,N=0,G=new o.Buf16(16),Z=new o.Buf16(16),ot=null,ut=0;for(n=0;n<=15;n++)G[n]=0;for(S=0;S<r;S++)G[c[y+S]]++;for(q=D,O=15;1<=O&&G[O]===0;O--);if(O<q&&(q=O),O===0)return f[i++]=20971520,f[i++]=20971520,s.bits=1,0;for(t=1;t<O&&G[t]===0;t++);for(q<t&&(q=t),n=$=1;n<=15;n++)if($<<=1,($-=G[n])<0)return-1;if(0<$&&(d===0||O!==1))return-1;for(Z[1]=0,n=1;n<15;n++)Z[n+1]=Z[n]+G[n];for(S=0;S<r;S++)c[y+S]!==0&&(m[Z[c[y+S]]++]=S);if(U=d===0?(p=ot=m,19):d===1?(p=l,N-=257,ot=a,ut-=257,256):(p=u,ot=x,-1),n=t,H=i,ct=S=z=0,T=-1,C=(st=1<<(W=q))-1,d===1&&852<st||d===2&&592<st)return 1;for(;;){for(J=n-ct,w=m[S]<U?(M=0,m[S]):m[S]>U?(M=ot[ut+m[S]],p[N+m[S]]):(M=96,0),_=1<<n-ct,t=E=1<<W;f[H+(z>>ct)+(E-=_)]=J<<24|M<<16|w|0,E!==0;);for(_=1<<n-1;z&_;)_>>=1;if(_!==0?(z&=_-1,z+=_):z=0,S++,--G[n]==0){if(n===O)break;n=c[y+m[S]]}if(q<n&&(z&C)!==T){for(ct===0&&(ct=q),H+=t,$=1<<(W=n-ct);W+ct<O&&!(($-=G[W+ct])<=0);)W++,$<<=1;if(st+=1<<W,d===1&&852<st||d===2&&592<st)return 1;f[T=z&C]=q<<24|W<<16|H-i|0}}return z!==0&&(f[H+z]=n-ct<<24|64<<16|0),s.bits=q,0}},{"../utils/common":41}],51:[function(b,F,v){"use strict";F.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(b,F,v){"use strict";var o=b("../utils/common"),l=0,a=1;function u(h){for(var j=h.length;0<=--j;)h[j]=0}var x=0,d=29,c=256,y=c+1+d,r=30,f=19,i=2*y+1,m=15,s=16,_=7,E=256,T=16,C=17,H=18,U=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],J=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],w=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=new Array(2*(y+2));u(D);var n=new Array(2*r);u(n);var S=new Array(512);u(S);var t=new Array(256);u(t);var O=new Array(d);u(O);var q,W,ct,$=new Array(r);function st(h,j,V,X,A){this.static_tree=h,this.extra_bits=j,this.extra_base=V,this.elems=X,this.max_length=A,this.has_stree=h&&h.length}function z(h,j){this.dyn_tree=h,this.max_code=0,this.stat_desc=j}function p(h){return h<256?S[h]:S[256+(h>>>7)]}function N(h,j){h.pending_buf[h.pending++]=255&j,h.pending_buf[h.pending++]=j>>>8&255}function G(h,j,V){h.bi_valid>s-V?(h.bi_buf|=j<<h.bi_valid&65535,N(h,h.bi_buf),h.bi_buf=j>>s-h.bi_valid,h.bi_valid+=V-s):(h.bi_buf|=j<<h.bi_valid&65535,h.bi_valid+=V)}function Z(h,j,V){G(h,V[2*j],V[2*j+1])}function ot(h,j){for(var V=0;V|=1&h,h>>>=1,V<<=1,0<--j;);return V>>>1}function ut(h,j,V){var X,A,tt=new Array(m+1),it=0;for(X=1;X<=m;X++)tt[X]=it=it+V[X-1]<<1;for(A=0;A<=j;A++){var nt=h[2*A+1];nt!==0&&(h[2*A]=ot(tt[nt]++,nt))}}function rt(h){var j;for(j=0;j<y;j++)h.dyn_ltree[2*j]=0;for(j=0;j<r;j++)h.dyn_dtree[2*j]=0;for(j=0;j<f;j++)h.bl_tree[2*j]=0;h.dyn_ltree[2*E]=1,h.opt_len=h.static_len=0,h.last_lit=h.matches=0}function vt(h){8<h.bi_valid?N(h,h.bi_buf):0<h.bi_valid&&(h.pending_buf[h.pending++]=h.bi_buf),h.bi_buf=0,h.bi_valid=0}function wt(h,j,V,X){var A=2*j,tt=2*V;return h[A]<h[tt]||h[A]===h[tt]&&X[j]<=X[V]}function I(h,j,V){for(var X=h.heap[V],A=V<<1;A<=h.heap_len&&(A<h.heap_len&&wt(j,h.heap[A+1],h.heap[A],h.depth)&&A++,!wt(j,X,h.heap[A],h.depth));)h.heap[V]=h.heap[A],V=A,A<<=1;h.heap[V]=X}function At(h,j,V){var X,A,tt,it,nt=0;if(h.last_lit!==0)for(;X=h.pending_buf[h.d_buf+2*nt]<<8|h.pending_buf[h.d_buf+2*nt+1],A=h.pending_buf[h.l_buf+nt],nt++,X===0?Z(h,A,j):(Z(h,(tt=t[A])+c+1,j),(it=U[tt])!==0&&G(h,A-=O[tt],it),Z(h,tt=p(--X),V),(it=J[tt])!==0&&G(h,X-=$[tt],it)),nt<h.last_lit;);Z(h,E,j)}function kt(h,j){var V,X,A,tt=j.dyn_tree,it=j.stat_desc.static_tree,nt=j.stat_desc.has_stree,dt=j.stat_desc.elems,It=-1;for(h.heap_len=0,h.heap_max=i,V=0;V<dt;V++)tt[2*V]!==0?(h.heap[++h.heap_len]=It=V,h.depth[V]=0):tt[2*V+1]=0;for(;h.heap_len<2;)tt[2*(A=h.heap[++h.heap_len]=It<2?++It:0)]=1,h.depth[A]=0,h.opt_len--,nt&&(h.static_len-=it[2*A+1]);for(j.max_code=It,V=h.heap_len>>1;1<=V;V--)I(h,tt,V);for(A=dt;V=h.heap[1],h.heap[1]=h.heap[h.heap_len--],I(h,tt,1),X=h.heap[1],h.heap[--h.heap_max]=V,h.heap[--h.heap_max]=X,tt[2*A]=tt[2*V]+tt[2*X],h.depth[A]=(h.depth[V]>=h.depth[X]?h.depth[V]:h.depth[X])+1,tt[2*V+1]=tt[2*X+1]=A,h.heap[1]=A++,I(h,tt,1),2<=h.heap_len;);h.heap[--h.heap_max]=h.heap[1],function(lt,St){var _t,bt,xt,pt,$t,Qt,Yt=St.dyn_tree,oe=St.max_code,ae=St.stat_desc.static_tree,pe=St.stat_desc.has_stree,ce=St.stat_desc.extra_bits,he=St.stat_desc.extra_base,re=St.stat_desc.max_length,ie=0;for(pt=0;pt<=m;pt++)lt.bl_count[pt]=0;for(Yt[2*lt.heap[lt.heap_max]+1]=0,_t=lt.heap_max+1;_t<i;_t++)re<(pt=Yt[2*Yt[2*(bt=lt.heap[_t])+1]+1]+1)&&(pt=re,ie++),Yt[2*bt+1]=pt,oe<bt||(lt.bl_count[pt]++,$t=0,he<=bt&&($t=ce[bt-he]),Qt=Yt[2*bt],lt.opt_len+=Qt*(pt+$t),pe&&(lt.static_len+=Qt*(ae[2*bt+1]+$t)));if(ie!==0){do{for(pt=re-1;lt.bl_count[pt]===0;)pt--;lt.bl_count[pt]--,lt.bl_count[pt+1]+=2,lt.bl_count[re]--,ie-=2}while(0<ie);for(pt=re;pt!==0;pt--)for(bt=lt.bl_count[pt];bt!==0;)oe<(xt=lt.heap[--_t])||(Yt[2*xt+1]!==pt&&(lt.opt_len+=(pt-Yt[2*xt+1])*Yt[2*xt],Yt[2*xt+1]=pt),bt--)}}(h,j),ut(tt,It,h.bl_count)}function e(h,j,V){var X,A,tt=-1,it=j[1],nt=0,dt=7,It=4;for(it===0&&(dt=138,It=3),j[2*(V+1)+1]=65535,X=0;X<=V;X++)A=it,it=j[2*(X+1)+1],++nt<dt&&A===it||(nt<It?h.bl_tree[2*A]+=nt:A!==0?(A!==tt&&h.bl_tree[2*A]++,h.bl_tree[2*T]++):nt<=10?h.bl_tree[2*C]++:h.bl_tree[2*H]++,tt=A,It=(nt=0)===it?(dt=138,3):A===it?(dt=6,3):(dt=7,4))}function K(h,j,V){var X,A,tt=-1,it=j[1],nt=0,dt=7,It=4;for(it===0&&(dt=138,It=3),X=0;X<=V;X++)if(A=it,it=j[2*(X+1)+1],!(++nt<dt&&A===it)){if(nt<It)for(;Z(h,A,h.bl_tree),--nt!=0;);else A!==0?(A!==tt&&(Z(h,A,h.bl_tree),nt--),Z(h,T,h.bl_tree),G(h,nt-3,2)):nt<=10?(Z(h,C,h.bl_tree),G(h,nt-3,3)):(Z(h,H,h.bl_tree),G(h,nt-11,7));tt=A,It=(nt=0)===it?(dt=138,3):A===it?(dt=6,3):(dt=7,4)}}u($);var L=!1;function g(h,j,V,X){G(h,(x<<1)+(X?1:0),3),function(A,tt,it,nt){vt(A),nt&&(N(A,it),N(A,~it)),o.arraySet(A.pending_buf,A.window,tt,it,A.pending),A.pending+=it}(h,j,V,!0)}v._tr_init=function(h){L||(function(){var j,V,X,A,tt,it=new Array(m+1);for(A=X=0;A<d-1;A++)for(O[A]=X,j=0;j<1<<U[A];j++)t[X++]=A;for(t[X-1]=A,A=tt=0;A<16;A++)for($[A]=tt,j=0;j<1<<J[A];j++)S[tt++]=A;for(tt>>=7;A<r;A++)for($[A]=tt<<7,j=0;j<1<<J[A]-7;j++)S[256+tt++]=A;for(V=0;V<=m;V++)it[V]=0;for(j=0;j<=143;)D[2*j+1]=8,j++,it[8]++;for(;j<=255;)D[2*j+1]=9,j++,it[9]++;for(;j<=279;)D[2*j+1]=7,j++,it[7]++;for(;j<=287;)D[2*j+1]=8,j++,it[8]++;for(ut(D,y+1,it),j=0;j<r;j++)n[2*j+1]=5,n[2*j]=ot(j,5);q=new st(D,U,c+1,y,m),W=new st(n,J,0,r,m),ct=new st(new Array(0),M,0,f,_)}(),L=!0),h.l_desc=new z(h.dyn_ltree,q),h.d_desc=new z(h.dyn_dtree,W),h.bl_desc=new z(h.bl_tree,ct),h.bi_buf=0,h.bi_valid=0,rt(h)},v._tr_stored_block=g,v._tr_flush_block=function(h,j,V,X){var A,tt,it=0;0<h.level?(h.strm.data_type===2&&(h.strm.data_type=function(nt){var dt,It=4093624447;for(dt=0;dt<=31;dt++,It>>>=1)if(1&It&&nt.dyn_ltree[2*dt]!==0)return l;if(nt.dyn_ltree[18]!==0||nt.dyn_ltree[20]!==0||nt.dyn_ltree[26]!==0)return a;for(dt=32;dt<c;dt++)if(nt.dyn_ltree[2*dt]!==0)return a;return l}(h)),kt(h,h.l_desc),kt(h,h.d_desc),it=function(nt){var dt;for(e(nt,nt.dyn_ltree,nt.l_desc.max_code),e(nt,nt.dyn_dtree,nt.d_desc.max_code),kt(nt,nt.bl_desc),dt=f-1;3<=dt&&nt.bl_tree[2*w[dt]+1]===0;dt--);return nt.opt_len+=3*(dt+1)+5+5+4,dt}(h),A=h.opt_len+3+7>>>3,(tt=h.static_len+3+7>>>3)<=A&&(A=tt)):A=tt=V+5,V+4<=A&&j!==-1?g(h,j,V,X):h.strategy===4||tt===A?(G(h,2+(X?1:0),3),At(h,D,n)):(G(h,4+(X?1:0),3),function(nt,dt,It,lt){var St;for(G(nt,dt-257,5),G(nt,It-1,5),G(nt,lt-4,4),St=0;St<lt;St++)G(nt,nt.bl_tree[2*w[St]+1],3);K(nt,nt.dyn_ltree,dt-1),K(nt,nt.dyn_dtree,It-1)}(h,h.l_desc.max_code+1,h.d_desc.max_code+1,it+1),At(h,h.dyn_ltree,h.dyn_dtree)),rt(h),X&&vt(h)},v._tr_tally=function(h,j,V){return h.pending_buf[h.d_buf+2*h.last_lit]=j>>>8&255,h.pending_buf[h.d_buf+2*h.last_lit+1]=255&j,h.pending_buf[h.l_buf+h.last_lit]=255&V,h.last_lit++,j===0?h.dyn_ltree[2*V]++:(h.matches++,j--,h.dyn_ltree[2*(t[V]+c+1)]++,h.dyn_dtree[2*p(j)]++),h.last_lit===h.lit_bufsize-1},v._tr_align=function(h){G(h,2,3),Z(h,E,D),function(j){j.bi_valid===16?(N(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)}(h)}},{"../utils/common":41}],53:[function(b,F,v){"use strict";F.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(b,F,v){(function(o){(function(l,a){"use strict";if(!l.setImmediate){var u,x,d,c,y=1,r={},f=!1,i=l.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(l);m=m&&m.setTimeout?m:l,u={}.toString.call(l.process)==="[object process]"?function(T){mt.nextTick(function(){_(T)})}:function(){if(l.postMessage&&!l.importScripts){var T=!0,C=l.onmessage;return l.onmessage=function(){T=!1},l.postMessage("","*"),l.onmessage=C,T}}()?(c="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",E,!1):l.attachEvent("onmessage",E),function(T){l.postMessage(c+T,"*")}):l.MessageChannel?((d=new MessageChannel).port1.onmessage=function(T){_(T.data)},function(T){d.port2.postMessage(T)}):i&&"onreadystatechange"in i.createElement("script")?(x=i.documentElement,function(T){var C=i.createElement("script");C.onreadystatechange=function(){_(T),C.onreadystatechange=null,x.removeChild(C),C=null},x.appendChild(C)}):function(T){setTimeout(_,0,T)},m.setImmediate=function(T){typeof T!="function"&&(T=new Function(""+T));for(var C=new Array(arguments.length-1),H=0;H<C.length;H++)C[H]=arguments[H+1];var U={callback:T,args:C};return r[y]=U,u(y),y++},m.clearImmediate=s}function s(T){delete r[T]}function _(T){if(f)setTimeout(_,0,T);else{var C=r[T];if(C){f=!0;try{(function(H){var U=H.callback,J=H.args;switch(J.length){case 0:U();break;case 1:U(J[0]);break;case 2:U(J[0],J[1]);break;case 3:U(J[0],J[1],J[2]);break;default:U.apply(a,J)}})(C)}finally{s(T),f=!1}}}}function E(T){T.source===l&&typeof T.data=="string"&&T.data.indexOf(c)===0&&_(+T.data.slice(c.length))}})(typeof self=="undefined"?o===void 0?this:o:self)}).call(this,typeof k.g!="undefined"?k.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})}}]);