gds-plus-design-vue 1.2.71 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{addPermission.c72ebbe0.js → addPermission.e559c495.js} +1 -1
- package/lib/{addPermission.179a09f4.mjs → addPermission.f2eb7564.mjs} +92 -92
- package/lib/{approvalModel.7cfcac3c.js → approvalModel.2b97fdf8.js} +1 -1
- package/lib/{approvalModel.7b550187.mjs → approvalModel.7b3cb5c5.mjs} +3 -3
- package/lib/{attribute.e9a8faa1.mjs → attribute.4f814780.mjs} +93 -93
- package/lib/{attribute.3fed1dd9.js → attribute.7b4971f5.js} +1 -1
- package/lib/{businessRules.cf106f09.js → businessRules.4f7349f3.js} +1 -1
- package/lib/{businessRules.d7d35011.mjs → businessRules.7ca458f8.mjs} +2 -2
- package/lib/{buttonRule.2afe380d.mjs → buttonRule.4aa9cfd8.mjs} +2 -2
- package/lib/{buttonRule.737e8e3f.js → buttonRule.ba9528ab.js} +1 -1
- package/lib/{chartDisplayRules.c9162f81.js → chartDisplayRules.25489412.js} +1 -1
- package/lib/{chartDisplayRules.370065e8.mjs → chartDisplayRules.63e53aa7.mjs} +1 -1
- package/lib/{components.chartbi.3bbac955.js → components.chartbi.13a8a7b5.js} +3 -3
- package/lib/{components.chartbi.571c5ff5.mjs → components.chartbi.7356b244.mjs} +4 -4
- package/lib/{components.coloreditor.06cf0433.mjs → components.coloreditor.20f8b336.mjs} +1 -1
- package/lib/{components.coloreditor.f81d322a.js → components.coloreditor.8afc4731.js} +1 -1
- package/lib/{components.dataassign.565d22c0.js → components.dataassign.59a87bfd.js} +1 -1
- package/lib/{components.dataassign.21d3938b.mjs → components.dataassign.e398cc99.mjs} +1 -1
- package/lib/{components.echarts.490abdfa.mjs → components.echarts.17e42353.mjs} +1 -1
- package/lib/{components.echarts.fe84f881.js → components.echarts.5dea23f6.js} +1 -1
- package/lib/{components.exception.ee1c4f83.mjs → components.exception.8689aba2.mjs} +1 -1
- package/lib/{components.exception.374f2ad9.js → components.exception.b4ddeaba.js} +1 -1
- package/lib/{components.form.5533a8c3.js → components.form.14ed3374.js} +2 -2
- package/lib/{components.form.db8af727.mjs → components.form.8047a9c3.mjs} +2 -2
- package/lib/{components.globalheader.2eb787a4.js → components.globalheader.5418b5ec.js} +1 -1
- package/lib/{components.globalheader.b3b35343.mjs → components.globalheader.bc91e6fe.mjs} +3 -3
- package/lib/{components.iconselector.f5a58033.js → components.iconselector.4b5b7901.js} +1 -1
- package/lib/{components.iconselector.8940b1a9.mjs → components.iconselector.d2d970ba.mjs} +1 -1
- package/lib/{components.imgpreview.f05b3e06.mjs → components.imgpreview.0563c338.mjs} +1 -1
- package/lib/{components.imgpreview.d97cf25c.js → components.imgpreview.5fe318f7.js} +1 -1
- package/lib/{components.lunccalendar.2a097955.mjs → components.lunccalendar.9a41ea40.mjs} +1 -1
- package/lib/{components.lunccalendar.18f84642.js → components.lunccalendar.f18b2da3.js} +1 -1
- package/lib/{components.middleware.de012955.mjs → components.middleware.24511f17.mjs} +2 -2
- package/lib/{components.middleware.43b9b264.js → components.middleware.64b6a988.js} +1 -1
- package/lib/{components.modaltitle.5060623f.mjs → components.modaltitle.4f454200.mjs} +1 -1
- package/lib/{components.modaltitle.957cab33.js → components.modaltitle.d7ef34cb.js} +1 -1
- package/lib/{components.multitab.5eb6edff.mjs → components.multitab.15b91668.mjs} +1 -1
- package/lib/{components.multitab.80eeb3ae.js → components.multitab.92eb4b1e.js} +1 -1
- package/lib/{components.selecttree.756c4d22.mjs → components.selecttree.c615fe3e.mjs} +1 -1
- package/lib/{components.selecttree.2fe70d88.js → components.selecttree.ce4fbb44.js} +1 -1
- package/lib/{components.settingdrawer.8c12650b.js → components.settingdrawer.4581f5b1.js} +1 -1
- package/lib/{components.settingdrawer.29dbc31e.mjs → components.settingdrawer.bdd68e73.mjs} +1 -1
- package/lib/{components.sidemenu.0673fe0a.mjs → components.sidemenu.c40eee2e.mjs} +1 -1
- package/lib/{components.sidemenu.240dfde7.js → components.sidemenu.cd6d0301.js} +1 -1
- package/lib/{components.sidenavmenu.b1330d69.js → components.sidenavmenu.1f0bbfca.js} +1 -1
- package/lib/{components.sidenavmenu.fa81ff82.mjs → components.sidenavmenu.47d7f44a.mjs} +3 -3
- package/lib/{components.statuschange.858b72e8.js → components.statuschange.190f14ff.js} +1 -1
- package/lib/{components.statuschange.fae4adba.mjs → components.statuschange.85956695.mjs} +1 -1
- package/lib/{components.table.9ed77207.mjs → components.table.389ab22a.mjs} +2 -2
- package/lib/{components.table.1e338902.js → components.table.d016f609.js} +1 -1
- package/lib/{components.tableumy.3e1c9a5b.mjs → components.tableumy.750ec792.mjs} +1 -1
- package/lib/{components.tableumy.1d804d70.js → components.tableumy.aa73378d.js} +1 -1
- package/lib/{components.tablevirtual.8e21a6e7.js → components.tablevirtual.879ff28f.js} +1 -1
- package/lib/{components.tablevirtual.66890b2c.mjs → components.tablevirtual.9bf87b78.mjs} +1 -1
- package/lib/{components.teamsharing.3a17ddc0.mjs → components.teamsharing.b9f112cf.mjs} +1 -1
- package/lib/{components.teamsharing.89e668fd.js → components.teamsharing.efe58448.js} +1 -1
- package/lib/{components.tooltip.376d95fe.mjs → components.tooltip.065f3dee.mjs} +1 -1
- package/lib/{components.tooltip.0ea7e2b1.js → components.tooltip.edf8e4ca.js} +1 -1
- package/lib/{components.uploadfile.0a5a1608.mjs → components.uploadfile.0439b870.mjs} +1 -1
- package/lib/{components.uploadfile.8e0e702c.js → components.uploadfile.586aca36.js} +1 -1
- package/lib/{components.uploadimg.bc160e00.js → components.uploadimg.2324089d.js} +1 -1
- package/lib/{components.uploadimg.decb0360.mjs → components.uploadimg.5f2194ff.mjs} +1 -1
- package/lib/{components.verificationcode.140533c7.js → components.verificationcode.863ff11e.js} +1 -1
- package/lib/{components.verificationcode.7091b10b.mjs → components.verificationcode.d8893ff6.mjs} +1 -1
- package/lib/{components.viewformdetails.d241c652.mjs → components.viewformdetails.1236a66e.mjs} +3 -3
- package/lib/{components.viewformdetails.940addba.js → components.viewformdetails.328c8642.js} +1 -1
- package/lib/{components.viewloading.aae3aab4.mjs → components.viewloading.5761b277.mjs} +1 -1
- package/lib/{components.viewloading.1e9f4b3c.js → components.viewloading.5b9c8fee.js} +1 -1
- package/lib/{components.watermark.d9ec8130.js → components.watermark.af8b5718.js} +1 -1
- package/lib/{components.watermark.2ec3260c.mjs → components.watermark.d3638d63.mjs} +1 -1
- package/lib/{components.xlsxexport.0d1553b1.js → components.xlsxexport.8c121797.js} +1 -1
- package/lib/{components.xlsxexport.c33f83ca.mjs → components.xlsxexport.a1b7b087.mjs} +2 -2
- package/lib/{components.xlsximport.8c209857.js → components.xlsximport.c53c50f6.js} +1 -1
- package/lib/{components.xlsximport.81df7841.mjs → components.xlsximport.d39bfeaa.mjs} +1 -1
- package/lib/{copy.8db86d9f.mjs → copy.3b06d60f.mjs} +1 -1
- package/lib/{copy.a8753f38.js → copy.fa2fcb22.js} +1 -1
- package/lib/{createFile.04a6b293.js → createFile.526dd6db.js} +1 -1
- package/lib/{createFile.4cac1673.mjs → createFile.c8d65b52.mjs} +93 -93
- package/lib/{createSubfolders.e105fa86.js → createSubfolders.51df8fcd.js} +1 -1
- package/lib/{createSubfolders.eac5ccae.mjs → createSubfolders.f8cad77f.mjs} +1 -1
- package/lib/{dialogLayout.bf435838.mjs → dialogLayout.539feafb.mjs} +1 -1
- package/lib/{dialogLayout.f0779aed.js → dialogLayout.621a3d40.js} +1 -1
- package/lib/{drawerContainer.6ab3df46.mjs → drawerContainer.790b0ee6.mjs} +7 -7
- package/lib/{drawerContainer.8f9df583.js → drawerContainer.c971d22d.js} +1 -1
- package/lib/{drawerLayout.b6c7c3c6.js → drawerLayout.accd44be.js} +1 -1
- package/lib/{drawerLayout.e3c0164d.mjs → drawerLayout.c52b8374.mjs} +1 -1
- package/lib/{editForm.aef93ed0.mjs → editForm.83d10fae.mjs} +1 -1
- package/lib/{editForm.0f3fd3b0.js → editForm.e284e5ec.js} +1 -1
- package/lib/{extendedAttributes.ef3ead02.js → extendedAttributes.bfff1926.js} +1 -1
- package/lib/{extendedAttributes.ea93dbaa.mjs → extendedAttributes.e6b11c68.mjs} +93 -93
- package/lib/{fileSearch.5c8a883d.mjs → fileSearch.423b64a3.mjs} +92 -92
- package/lib/{fileSearch.43465e1c.js → fileSearch.e849491c.js} +1 -1
- package/lib/{flow.designer.81c29f62.mjs → flow.designer.5feba43c.mjs} +6 -6
- package/lib/{flow.designer.ffd0aa8b.js → flow.designer.85d0054b.js} +1 -1
- package/lib/{flow.list.ab420927.mjs → flow.list.82131d80.mjs} +3 -3
- package/lib/{flow.list.4c05f2f0.js → flow.list.e001d91a.js} +1 -1
- package/lib/form.build.19f0c882.js +1 -0
- package/lib/{form.build.d04773f0.mjs → form.build.33cc213e.mjs} +2 -2
- package/lib/{form.designer.build.dac501fa.js → form.designer.build.2bcc355d.js} +1 -1
- package/lib/{form.designer.build.c82cb559.mjs → form.designer.build.7dc12e87.mjs} +16 -16
- package/lib/{formFiled.4b5062d7.js → formFiled.40284ed9.js} +1 -1
- package/lib/{formFiled.c949a27f.mjs → formFiled.5a1c8f7f.mjs} +7 -7
- package/lib/gd-initial.js +1 -1
- package/lib/gd-initial.mjs +92 -92
- package/lib/{index.d95c407c.js → index.07adebf0.js} +2 -2
- package/lib/{index.9deaa991.mjs → index.340d6f00.mjs} +110 -110
- package/lib/{layoutBlocks.26e1b57b.js → layoutBlocks.756e4b57.js} +1 -1
- package/lib/{layoutBlocks.31454610.mjs → layoutBlocks.816b49a7.mjs} +100 -100
- package/lib/{layoutItem.cf18143e.mjs → layoutItem.051495bc.mjs} +2 -2
- package/lib/{layoutItem.c1c836a1.js → layoutItem.6f6017a5.js} +1 -1
- package/lib/{layouts.3b383d04.mjs → layouts.1852e8e4.mjs} +4 -4
- package/lib/{layouts.2d06f3e9.js → layouts.2030bf01.js} +1 -1
- package/lib/{main.c71e5b11.js → main.0dc447c8.js} +1 -1
- package/lib/{main.643d21a0.mjs → main.12118407.mjs} +92 -92
- package/lib/{main.edc0b23b.js → main.1551de4d.js} +1 -1
- package/lib/{main.09d48801.js → main.1611bb43.js} +1 -1
- package/lib/{main.60329866.mjs → main.26d3511c.mjs} +2 -2
- package/lib/{main.3e886f21.mjs → main.2f9312bb.mjs} +2 -2
- package/lib/{main.28b7c398.js → main.316ac1b8.js} +1 -1
- package/lib/{main.33443996.mjs → main.48dc325f.mjs} +2 -2
- package/lib/{main.64ddb5f6.mjs → main.54ac9faa.mjs} +1 -1
- package/lib/{main.29e204f9.mjs → main.69a2b457.mjs} +2 -2
- package/lib/{main.60c2a1a2.js → main.6df74fe7.js} +1 -1
- package/lib/{main.728eaf53.js → main.72c15ab0.js} +1 -1
- package/lib/{main.892caa37.js → main.736883a9.js} +1 -1
- package/lib/{main.357c50d2.js → main.9b2769b1.js} +1 -1
- package/lib/{main.aea9b6a8.mjs → main.b2314767.mjs} +3 -3
- package/lib/{main.419a7b42.mjs → main.ca46939e.mjs} +1 -1
- package/lib/{main.4a38d5f8.js → main.e1cf9798.js} +1 -1
- package/lib/{main.f520fcf5.mjs → main.efc8dc7b.mjs} +1 -1
- package/lib/{main.61c9e5c6.mjs → main.fc38c7c8.mjs} +2 -2
- package/lib/{main.b7a5a02b.js → main.fcb67463.js} +1 -1
- package/lib/{manage.f4000654.mjs → manage.1bc511ff.mjs} +93 -93
- package/lib/{manage.101f1aa9.js → manage.eb0a6c8c.js} +1 -1
- package/lib/{messages.fieldconfiguration.ad4d11cf.js → messages.fieldconfiguration.092bb027.js} +1 -1
- package/lib/{messages.fieldconfiguration.0d98a290.mjs → messages.fieldconfiguration.7fd9ceb0.mjs} +5 -5
- package/lib/{messages.messagetemplate.7adbbc58.mjs → messages.messagetemplate.0935e5a3.mjs} +4 -4
- package/lib/{messages.messagetemplate.32273e00.js → messages.messagetemplate.50334e5f.js} +4 -4
- package/lib/{messages.sendplan.fbac188d.js → messages.sendplan.60929f46.js} +1 -1
- package/lib/{messages.sendplan.7d0097c2.mjs → messages.sendplan.61edcc7f.mjs} +2 -2
- package/lib/{messages.sendrecord.ef80d44a.js → messages.sendrecord.09a1d1cd.js} +1 -1
- package/lib/{messages.sendrecord.f0d2fd54.mjs → messages.sendrecord.1c48aa6e.mjs} +1 -1
- package/lib/{messages.templatelibrary.ff151513.mjs → messages.templatelibrary.f31e8d58.mjs} +1 -1
- package/lib/{messages.templatelibrary.ec512390.js → messages.templatelibrary.f5952edd.js} +1 -1
- package/lib/{mobile.designer.componentstree.03f61105.js → mobile.designer.componentstree.365945a3.js} +1 -1
- package/lib/{mobile.designer.componentstree.4a1442dc.mjs → mobile.designer.componentstree.9439895e.mjs} +2 -2
- package/lib/{mobile.designer.menutree.97bb4046.js → mobile.designer.menutree.4d4e059b.js} +1 -1
- package/lib/{mobile.designer.menutree.0a2f7911.mjs → mobile.designer.menutree.7d3b783d.mjs} +3 -3
- package/lib/{moveFile.d71c0824.mjs → moveFile.3dc1dc37.mjs} +92 -92
- package/lib/{moveFile.335ebc8d.js → moveFile.f70bbff7.js} +1 -1
- package/lib/{page.build.37b26617.js → page.build.7ac1ee9b.js} +2 -2
- package/lib/{page.build.376104d5.mjs → page.build.ae61a39b.mjs} +4 -4
- package/lib/{page.designer.componentstree.0ffc933d.js → page.designer.componentstree.74a3a114.js} +1 -1
- package/lib/{page.designer.componentstree.b0ecddd8.mjs → page.designer.componentstree.cdabec2d.mjs} +2 -2
- package/lib/{page.designer.fieldfiltering.1ecd65a3.mjs → page.designer.fieldfiltering.e341aa60.mjs} +2 -2
- package/lib/{page.designer.fieldfiltering.7e913256.js → page.designer.fieldfiltering.f2d1b6e4.js} +1 -1
- package/lib/{page.designer.menutree.c49d9ee6.js → page.designer.menutree.71c18258.js} +1 -1
- package/lib/{page.designer.menutree.2c1846bc.mjs → page.designer.menutree.e4ce1e90.mjs} +2 -2
- package/lib/{page.designer.operation.6179b661.js → page.designer.operation.1d435e6e.js} +1 -1
- package/lib/{page.designer.operation.80b1a5d1.mjs → page.designer.operation.fe808988.mjs} +1 -1
- package/lib/{page.designer.page.09402332.js → page.designer.page.654634aa.js} +1 -1
- package/lib/{page.designer.page.6d8232c7.mjs → page.designer.page.821f8994.mjs} +12 -12
- package/lib/{personal.echarts.414b7e3d.mjs → personal.echarts.118bcafb.mjs} +3 -3
- package/lib/{personal.echarts.b7ee86f4.js → personal.echarts.e5915542.js} +1 -1
- package/lib/{result.9282a717.js → result.4d4039ea.js} +1 -1
- package/lib/{result.0c089066.mjs → result.a87217ae.mjs} +93 -93
- package/lib/{router.config.68077a12.js → router.config.a09f29e7.js} +1 -1
- package/lib/{router.config.86225b11.mjs → router.config.f0ad16fd.mjs} +14 -14
- package/lib/{solution.application.d459e382.js → solution.application.8d6c84e8.js} +1 -1
- package/lib/{solution.application.e0d58df1.mjs → solution.application.e6b5dc4f.mjs} +1 -1
- package/lib/{solution.applicationmenu.ae295083.js → solution.applicationmenu.c6cd2b59.js} +1 -1
- package/lib/{solution.applicationmenu.71ef6b8e.mjs → solution.applicationmenu.e878c41a.mjs} +1 -1
- package/lib/{solution.approvalflow.436b3502.js → solution.approvalflow.79da028c.js} +1 -1
- package/lib/{solution.approvalflow.bef7fbdd.mjs → solution.approvalflow.eb1c0607.mjs} +2 -2
- package/lib/{solution.dict.ef98b194.mjs → solution.dict.088a1e72.mjs} +1 -1
- package/lib/{solution.dict.acbe9c55.js → solution.dict.1d5195d0.js} +1 -1
- package/lib/{solution.menu.5c17348f.mjs → solution.menu.e58922fe.mjs} +2 -2
- package/lib/{solution.menu.cca5e1f9.js → solution.menu.fa48a7e8.js} +1 -1
- package/lib/{solution.plugin.f9a8063f.js → solution.plugin.5d6d29cf.js} +1 -1
- package/lib/{solution.plugin.90f8dcc1.mjs → solution.plugin.ae6df926.mjs} +2 -2
- package/lib/{solution.processflow.c1544b05.mjs → solution.processflow.62936f1c.mjs} +2 -2
- package/lib/{solution.processflow.2692dac6.js → solution.processflow.aa1e808b.js} +1 -1
- package/lib/{solution.role.b28c4dbe.js → solution.role.2eff83a1.js} +1 -1
- package/lib/{solution.role.b1ab40dd.mjs → solution.role.7b3e7030.mjs} +1 -1
- package/lib/{solution.webresources.0b51beba.mjs → solution.webresources.88c4483b.mjs} +2 -2
- package/lib/{solution.webresources.6961cc68.js → solution.webresources.bc00603d.js} +1 -1
- package/lib/{solution.workflow.11e49e25.js → solution.workflow.0ed2cb24.js} +1 -1
- package/lib/{solution.workflow.c48545d1.mjs → solution.workflow.85de0ae5.mjs} +2 -2
- package/lib/style.css +2 -2
- package/lib/{system.account.1cadbf03.mjs → system.account.3d7480ba.mjs} +2 -2
- package/lib/{system.account.5cc9fe8d.js → system.account.93ad722e.js} +1 -1
- package/lib/{system.config.a9a1ee96.mjs → system.config.6084ad21.mjs} +1 -1
- package/lib/{system.config.a0b94e40.js → system.config.9520e7f9.js} +1 -1
- package/lib/{system.datasource.6c30ce25.js → system.datasource.76c0ccdb.js} +1 -1
- package/lib/{system.datasource.c103a9c2.mjs → system.datasource.d74df021.mjs} +1 -1
- package/lib/{system.dict.6b000092.js → system.dict.ab148847.js} +1 -1
- package/lib/{system.dict.0c229d1c.mjs → system.dict.caad4d66.mjs} +1 -1
- package/lib/{system.document.f8fd7af0.js → system.document.0e46ff8c.js} +1 -1
- package/lib/{system.document.f67c2994.mjs → system.document.cbdf25a9.mjs} +2 -2
- package/lib/{system.duplicatechecking.94c7ce17.mjs → system.duplicatechecking.46e182d7.mjs} +2 -2
- package/lib/{system.duplicatechecking.f4cab147.js → system.duplicatechecking.a217fc52.js} +1 -1
- package/lib/{system.email.11ab6f31.js → system.email.1db14214.js} +1 -1
- package/lib/{system.email.13823361.mjs → system.email.c1ad6598.mjs} +2 -2
- package/lib/{system.fieldsecurity.d35acd97.mjs → system.fieldsecurity.2e55e839.mjs} +1 -1
- package/lib/{system.fieldsecurity.2ef2881c.js → system.fieldsecurity.40b4f48a.js} +1 -1
- package/lib/{system.file.b9f8320c.js → system.file.6a6bd77c.js} +1 -1
- package/lib/{system.file.30d3e7bc.mjs → system.file.80aa0809.mjs} +1 -1
- package/lib/{system.log.815840d8.mjs → system.log.3986a8ca.mjs} +1 -1
- package/lib/{system.log.470d3efd.js → system.log.9d394678.js} +1 -1
- package/lib/{system.machine.1665954f.mjs → system.machine.395c67c2.mjs} +1 -1
- package/lib/{system.machine.f8aff893.js → system.machine.d33b0b6e.js} +1 -1
- package/lib/{system.notice.db26f308.js → system.notice.2090c130.js} +1 -1
- package/lib/{system.notice.bef6c23c.mjs → system.notice.51880df6.mjs} +2 -2
- package/lib/{system.noticereceived.84b88b9a.js → system.noticereceived.0b79642e.js} +1 -1
- package/lib/{system.noticereceived.0d293a87.mjs → system.noticereceived.55f276ab.mjs} +2 -2
- package/lib/{system.onlineuser.bccb1cd9.mjs → system.onlineuser.71034956.mjs} +1 -1
- package/lib/{system.onlineuser.985621a6.js → system.onlineuser.e74f010d.js} +1 -1
- package/lib/{system.org.92f4d7f1.mjs → system.org.e1e156c6.mjs} +1 -1
- package/lib/{system.org.9f87a010.js → system.org.f6d58d0f.js} +1 -1
- package/lib/{system.permissions.be9238ee.mjs → system.permissions.4090552f.mjs} +1 -1
- package/lib/{system.permissions.15e6b8b7.js → system.permissions.fdb64929.js} +1 -1
- package/lib/{system.plugin.af27d7ac.mjs → system.plugin.8a9a6448.mjs} +1 -1
- package/lib/{system.plugin.0bccfec4.js → system.plugin.a0f25733.js} +1 -1
- package/lib/{system.pos.fe067063.mjs → system.pos.0ad80a53.mjs} +1 -1
- package/lib/{system.pos.61e58a92.js → system.pos.71f3eba7.js} +1 -1
- package/lib/{system.promptmanagement.0b9083c5.mjs → system.promptmanagement.39607ddb.mjs} +1 -1
- package/lib/{system.promptmanagement.e750de82.js → system.promptmanagement.9718aa24.js} +1 -1
- package/lib/{system.role.e86b60f1.js → system.role.321c48d3.js} +1 -1
- package/lib/{system.role.67f62146.mjs → system.role.3b533a3e.mjs} +1 -1
- package/lib/{system.sumberrules.810f7b55.js → system.sumberrules.6e8d208e.js} +1 -1
- package/lib/{system.sumberrules.093d998e.mjs → system.sumberrules.c2b8c5e7.mjs} +1 -1
- package/lib/{system.team.8911fd95.mjs → system.team.367bf5e7.mjs} +2 -2
- package/lib/{system.team.58ee701b.js → system.team.cf1c1558.js} +1 -1
- package/lib/{system.teammembers.1880f962.js → system.teammembers.63f21557.js} +1 -1
- package/lib/{system.teammembers.35564a00.mjs → system.teammembers.851ce63b.mjs} +1 -1
- package/lib/{system.timers.9e956553.js → system.timers.51bedf97.js} +1 -1
- package/lib/{system.timers.4b2d509f.mjs → system.timers.5e735567.mjs} +1 -1
- package/lib/{system.translation.60ec676c.mjs → system.translation.61765713.mjs} +1 -1
- package/lib/{system.translation.26b6bb39.js → system.translation.c9f1b505.js} +1 -1
- package/lib/{system.user.9a02295e.mjs → system.user.254bbe85.mjs} +4 -4
- package/lib/{system.user.134a3988.js → system.user.475d7391.js} +1 -1
- package/lib/{system.useraffiliation.96695aeb.mjs → system.useraffiliation.b96c984a.mjs} +1 -1
- package/lib/{system.useraffiliation.c2421c7e.js → system.useraffiliation.fe1e1d39.js} +1 -1
- package/lib/{system.webresource.016d0000.mjs → system.webresource.2c6cf4a7.mjs} +1 -1
- package/lib/{system.webresource.e92e8a8f.js → system.webresource.81cfa690.js} +1 -1
- package/lib/{system.welcome.127b5dd4.mjs → system.welcome.72da74ae.mjs} +1 -1
- package/lib/{system.welcome.ff0c85e2.js → system.welcome.d86a3cdb.js} +1 -1
- package/lib/{table.definition..btnconfig.9847cac5.mjs → table.definition..btnconfig.24402bf0.mjs} +2 -2
- package/lib/{table.definition..btnconfig.ce57ed41.js → table.definition..btnconfig.add3d840.js} +1 -1
- package/lib/{table.definition..echartsconfig.d2b65881.js → table.definition..echartsconfig.4310b5a2.js} +1 -1
- package/lib/{table.definition..echartsconfig.625bce88.mjs → table.definition..echartsconfig.9c3c88f6.mjs} +6 -6
- package/lib/{tableDescriptions.b9b0d7fa.js → tableDescriptions.143d8e67.js} +1 -1
- package/lib/{tableDescriptions.a4196776.mjs → tableDescriptions.60a07f7c.mjs} +1 -1
- package/lib/{tcheckboxs.7ea99d35.js → tcheckboxs.e4d387ff.js} +1 -1
- package/lib/{tcheckboxs.999b7c2e.mjs → tcheckboxs.ee4adb9e.mjs} +1 -1
- package/lib/{tcurrency.4afb9192.mjs → tcurrency.0360c142.mjs} +1 -1
- package/lib/{tcurrency.8a2361f2.js → tcurrency.233f4e63.js} +1 -1
- package/lib/{tdatepicker.606214fa.mjs → tdatepicker.9e5d99f4.mjs} +1 -1
- package/lib/{tdatepicker.8e94a60c.js → tdatepicker.b10536fd.js} +1 -1
- package/lib/{tdictSwitch.ccbdd153.js → tdictSwitch.10d64c18.js} +1 -1
- package/lib/{tdictSwitch.e016d4cf.mjs → tdictSwitch.eed5a945.mjs} +1 -1
- package/lib/{tfile.3f39223d.mjs → tfile.7c635ee4.mjs} +1 -1
- package/lib/{tfile.b3ebdc71.js → tfile.e183d25f.js} +1 -1
- package/lib/{tparticipants.5fe27540.mjs → tparticipants.04280449.mjs} +1 -1
- package/lib/{tparticipants.78c8c175.js → tparticipants.f732d245.js} +1 -1
- package/lib/{translation.mains.2688be5b.mjs → translation.mains.0df71304.mjs} +2 -2
- package/lib/{translation.mains.a6f19343.js → translation.mains.6f941967.js} +1 -1
- package/lib/{versionControl.46a7f31a.js → versionControl.97590ce8.js} +1 -1
- package/lib/{versionControl.c53bfb5d.mjs → versionControl.d1b2b0da.mjs} +93 -93
- package/lib/{versionEdit.5a8292ec.mjs → versionEdit.c51606e4.mjs} +93 -93
- package/lib/{versionEdit.4246d5db.js → versionEdit.f710d0bb.js} +1 -1
- package/lib/{view.build.e43a2077.js → view.build.5789a6eb.js} +1 -1
- package/lib/{view.build.85732408.mjs → view.build.9976c958.mjs} +14 -14
- package/lib/{viewList.978b72c5.mjs → viewList.3ca52f0c.mjs} +23 -23
- package/lib/{viewList.868edcd7.js → viewList.6e181715.js} +1 -1
- package/lib/{viewTree.7497ff90.js → viewTree.9bdf96f0.js} +1 -1
- package/lib/{viewTree.bde43a3b.mjs → viewTree.c2e11b7f.mjs} +1 -1
- package/package.json +1 -1
- package/lib/form.build.724d3357.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const qt=require("./form.designer.build.
|
|
1
|
+
"use strict";const qt=require("./form.designer.build.2bcc355d.js"),Jt=require("./http.menumanage.6d740f2c.js"),St=require("./components.chartbi.13a8a7b5.js"),gt=require("./utils.util.js.c0ba699b.js"),zt=require("./http.filemanage.7e6e3e1a.js"),At=require("./http.main.2f8a6936.js"),mt=require("./components.form.14ed3374.js");function It(w,S=!1){let u="";for(let C in w)u+=ie(w,C,S);return u}function Ot(w){let S=[];return(w.padding?w.padding:[]).forEach(C=>{S.push(C?`${C}px`:0)}),S.length===0?"":`padding:${S.join(" ")};`}function Bt(w){let S=[];return(w.margin?w.margin:[]).forEach(C=>{S.push(C?`${C}px`:0)}),S.length===0?"":`margin:${S.join(" ")};`}function Dt(w){const S=w.bjColor?w.bjColor:"";return S===""?"":`background-color:${S};`}function Rt(w){let S=[];return(w.radius?w.radius:[]).forEach(C=>{S.push(C?`${C}px`:0)}),S.length===0?"":`border-radius:${S.join(" ")};`}function Yt(w){const S=w.align?w.align:"";return S===""?"":`text-align:${S};`}function Tt(w){const S=w.lineHeight?w.lineHeight:"";return S===""?"":`line-height:${S}px;`}function Xt(w){const S=w.letterSpacing?w.letterSpacing:"";return S===""?"":`letter-spacing:${S}px;`}function Ft(w){if(w.color==="0")return"color:var(--color);";const S=w.color?w.color:"";return S===""?"":`color:${S};`}function Lt(w){const S=w.fontSize?w.fontSize:"";return S===""?"":`font-size:${S}px;`}function jt(w){const S=w.fontWeight?w.fontWeight:"";return S===""?"":`font-weight:${S};`}function Vt(w){const S=w.textDecoration?w.textDecoration:"";return S===""?"":`text-decoration:${S};`}function Qt(w){const S=w.fontStyle?w.fontStyle:"";return S===""?"":`font-style:${S};`}function Pt(w){const S=w.maxLineClamp?w.maxLineClamp:"";return S===""?"":`overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: ${S};-webkit-box-orient: vertical;`}function Nt(w,S=!1){const u=w.flexWidth?w.flexWidth:"100",C=w.flexUnit?w.flexUnit:"%",y=C==="%"?u>100?100:u:C==="auto"?"":u;return S&&`${y}${C}`=="100%"?"flex:1;":`width:${y}${C};`}function te(w){const S=w.flexDirection?w.flexDirection:"";return S===""?"":`flex-direction:${S};`}function Ut(w){const S=w.justifyContent?w.justifyContent:"";return S===""?"":`justify-content:${S};`}function ee(w){const S=w.alignItems?w.alignItems:"";return S===""?"":`align-items:${S};`}function re(w){const S=w.flexWrap?w.flexWrap:"";return S===""?"":`flex-wrap:${S};`}function ne(w){const S=w.spacing?w.spacing:"";return S===""?"":`gap:${S}px;`}function ie(w,S,u){switch(S){case"padding":return Ot(w);case"margin":return Bt(w);case"bjColor":return Dt(w);case"radius":return Rt(w);case"align":return Yt(w);case"lineHeight":return Tt(w);case"letterSpacing":return Xt(w);case"color":return Ft(w);case"fontSize":return Lt(w);case"fontWeight":return jt(w);case"textDecoration":return Vt(w);case"fontStyle":return Qt(w);case"maxLineClamp":return Pt(w);case"flexWidth":return Nt(w,u);case"flexDirection":return te(w);case"justifyContent":return Ut(w);case"alignItems":return ee(w);case"flexWrap":return re(w);case"spacing":return ne(w);default:return""}}function kt(w){throw new Error('Could not dynamically require "'+w+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Wt={exports:{}};/*!
|
|
2
2
|
|
|
3
3
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
4
4
|
<http://stuartk.com/jszip>
|
|
@@ -9,4 +9,4 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js
|
|
|
9
9
|
JSZip uses the library pako released under the MIT license :
|
|
10
10
|
https://github.com/nodeca/pako/blob/main/LICENSE
|
|
11
11
|
*/(function(w,S){(function(u){w.exports=u()})(function(){return function u(C,y,l){function a(d,v){if(!y[d]){if(!C[d]){var _=typeof kt=="function"&&kt;if(!v&&_)return _(d,!0);if(r)return r(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var i=y[d]={exports:{}};C[d][0].call(i.exports,function(p){var n=C[d][1][p];return a(n||p)},i,i.exports,u,C,y,l)}return y[d].exports}for(var r=typeof kt=="function"&&kt,h=0;h<l.length;h++)a(l[h]);return a}({1:[function(u,C,y){var l=u("./utils"),a=u("./support"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";y.encode=function(h){for(var d,v,_,m,i,p,n,c=[],s=0,g=h.length,k=g,z=l.getTypeOf(h)!=="string";s<h.length;)k=g-s,_=z?(d=h[s++],v=s<g?h[s++]:0,s<g?h[s++]:0):(d=h.charCodeAt(s++),v=s<g?h.charCodeAt(s++):0,s<g?h.charCodeAt(s++):0),m=d>>2,i=(3&d)<<4|v>>4,p=1<k?(15&v)<<2|_>>6:64,n=2<k?63&_:64,c.push(r.charAt(m)+r.charAt(i)+r.charAt(p)+r.charAt(n));return c.join("")},y.decode=function(h){var d,v,_,m,i,p,n=0,c=0,s="data:";if(h.substr(0,s.length)===s)throw new Error("Invalid base64 input, it looks like a data url.");var g,k=3*(h=h.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(h.charAt(h.length-1)===r.charAt(64)&&k--,h.charAt(h.length-2)===r.charAt(64)&&k--,k%1!=0)throw new Error("Invalid base64 input, bad content length.");for(g=a.uint8array?new Uint8Array(0|k):new Array(0|k);n<h.length;)d=r.indexOf(h.charAt(n++))<<2|(m=r.indexOf(h.charAt(n++)))>>4,v=(15&m)<<4|(i=r.indexOf(h.charAt(n++)))>>2,_=(3&i)<<6|(p=r.indexOf(h.charAt(n++))),g[c++]=d,i!==64&&(g[c++]=v),p!==64&&(g[c++]=_);return g}},{"./support":30,"./utils":32}],2:[function(u,C,y){var l=u("./external"),a=u("./stream/DataWorker"),r=u("./stream/Crc32Probe"),h=u("./stream/DataLengthProbe");function d(v,_,m,i,p){this.compressedSize=v,this.uncompressedSize=_,this.crc32=m,this.compression=i,this.compressedContent=p}d.prototype={getContentWorker:function(){var v=new a(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")),_=this;return v.on("end",function(){if(this.streamInfo.data_length!==_.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),v},getCompressedWorker:function(){return new a(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(v,_,m){return v.pipe(new r).pipe(new h("uncompressedSize")).pipe(_.compressWorker(m)).pipe(new h("compressedSize")).withStreamInfo("compression",_)},C.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(u,C,y){var l=u("./stream/GenericWorker");y.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},y.DEFLATE=u("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(u,C,y){var l=u("./utils"),a=function(){for(var r,h=[],d=0;d<256;d++){r=d;for(var v=0;v<8;v++)r=1&r?3988292384^r>>>1:r>>>1;h[d]=r}return h}();C.exports=function(r,h){return r!==void 0&&r.length?l.getTypeOf(r)!=="string"?function(d,v,_,m){var i=a,p=m+_;d^=-1;for(var n=m;n<p;n++)d=d>>>8^i[255&(d^v[n])];return-1^d}(0|h,r,r.length,0):function(d,v,_,m){var i=a,p=m+_;d^=-1;for(var n=m;n<p;n++)d=d>>>8^i[255&(d^v.charCodeAt(n))];return-1^d}(0|h,r,r.length,0):0}},{"./utils":32}],5:[function(u,C,y){y.base64=!1,y.binary=!1,y.dir=!1,y.createFolders=!0,y.date=null,y.compression=null,y.compressionOptions=null,y.comment=null,y.unixPermissions=null,y.dosPermissions=null},{}],6:[function(u,C,y){var l=null;l=typeof Promise<"u"?Promise:u("lie"),C.exports={Promise:l}},{lie:37}],7:[function(u,C,y){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=u("pako"),r=u("./utils"),h=u("./stream/GenericWorker"),d=l?"uint8array":"array";function v(_,m){h.call(this,"FlateWorker/"+_),this._pako=null,this._pakoAction=_,this._pakoOptions=m,this.meta={}}y.magic="\b\0",r.inherits(v,h),v.prototype.processChunk=function(_){this.meta=_.meta,this._pako===null&&this._createPako(),this._pako.push(r.transformTo(d,_.data),!1)},v.prototype.flush=function(){h.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},v.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},v.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var _=this;this._pako.onData=function(m){_.push({data:m,meta:_.meta})}},y.compressWorker=function(_){return new v("Deflate",_)},y.uncompressWorker=function(){return new v("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(u,C,y){function l(i,p){var n,c="";for(n=0;n<p;n++)c+=String.fromCharCode(255&i),i>>>=8;return c}function a(i,p,n,c,s,g){var k,z,E=i.file,j=i.compression,R=g!==d.utf8encode,W=r.transformTo("string",g(E.name)),D=r.transformTo("string",d.utf8encode(E.name)),$=E.comment,X=r.transformTo("string",g($)),b=r.transformTo("string",d.utf8encode($)),T=D.length!==E.name.length,e=b.length!==$.length,L="",Q="",U="",tt=E.dir,Z=E.date,V={crc32:0,compressedSize:0,uncompressedSize:0};p&&!n||(V.crc32=i.crc32,V.compressedSize=i.compressedSize,V.uncompressedSize=i.uncompressedSize);var O=0;p&&(O|=8),R||!T&&!e||(O|=2048);var I=0,Y=0;tt&&(I|=16),s==="UNIX"?(Y=798,I|=function(G,st){var ht=G;return G||(ht=st?16893:33204),(65535&ht)<<16}(E.unixPermissions,tt)):(Y=20,I|=function(G){return 63&(G||0)}(E.dosPermissions)),k=Z.getUTCHours(),k<<=6,k|=Z.getUTCMinutes(),k<<=5,k|=Z.getUTCSeconds()/2,z=Z.getUTCFullYear()-1980,z<<=4,z|=Z.getUTCMonth()+1,z<<=5,z|=Z.getUTCDate(),T&&(Q=l(1,1)+l(v(W),4)+D,L+="up"+l(Q.length,2)+Q),e&&(U=l(1,1)+l(v(X),4)+b,L+="uc"+l(U.length,2)+U);var K="";return K+=`
|
|
12
|
-
\0`,K+=l(O,2),K+=j.magic,K+=l(k,2),K+=l(z,2),K+=l(V.crc32,4),K+=l(V.compressedSize,4),K+=l(V.uncompressedSize,4),K+=l(W.length,2),K+=l(L.length,2),{fileRecord:_.LOCAL_FILE_HEADER+K+W+L,dirRecord:_.CENTRAL_FILE_HEADER+l(Y,2)+K+l(X.length,2)+"\0\0\0\0"+l(I,4)+l(c,4)+W+L+X}}var r=u("../utils"),h=u("../stream/GenericWorker"),d=u("../utf8"),v=u("../crc32"),_=u("../signature");function m(i,p,n,c){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=n,this.encodeFileName=c,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(m,h),m.prototype.push=function(i){var p=i.meta.percent||0,n=this.entriesCount,c=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,h.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:n?(p+100*(n-c-1))/n:100}}))},m.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var p=this.streamFiles&&!i.file.dir;if(p){var n=a(i,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(i){this.accumulate=!1;var p=this.streamFiles&&!i.file.dir,n=a(i,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),p)this.push({data:function(c){return _.DATA_DESCRIPTOR+l(c.crc32,4)+l(c.compressedSize,4)+l(c.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var i=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var n=this.bytesWritten-i,c=function(s,g,k,z,E){var j=r.transformTo("string",E(z));return _.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(s,2)+l(s,2)+l(g,4)+l(k,4)+l(j.length,2)+j}(this.dirRecords.length,n,i,this.zipComment,this.encodeFileName);this.push({data:c,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(i){this._sources.push(i);var p=this;return i.on("data",function(n){p.processChunk(n)}),i.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),i.on("error",function(n){p.error(n)}),this},m.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(i){var p=this._sources;if(!h.prototype.error.call(this,i))return!1;for(var n=0;n<p.length;n++)try{p[n].error(i)}catch{}return!0},m.prototype.lock=function(){h.prototype.lock.call(this);for(var i=this._sources,p=0;p<i.length;p++)i[p].lock()},C.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(u,C,y){var l=u("../compressions"),a=u("./ZipFileWorker");y.generateWorker=function(r,h,d){var v=new a(h.streamFiles,d,h.platform,h.encodeFileName),_=0;try{r.forEach(function(m,i){_++;var p=function(g,k){var z=g||k,E=l[z];if(!E)throw new Error(z+" is not a valid compression method !");return E}(i.options.compression,h.compression),n=i.options.compressionOptions||h.compressionOptions||{},c=i.dir,s=i.date;i._compressWorker(p,n).withStreamInfo("file",{name:m,dir:c,date:s,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(v)}),v.entriesCount=_}catch(m){v.error(m)}return v}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(u,C,y){function l(){if(!(this instanceof l))return new l;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 a=new l;for(var r in this)typeof this[r]!="function"&&(a[r]=this[r]);return a}}(l.prototype=u("./object")).loadAsync=u("./load"),l.support=u("./support"),l.defaults=u("./defaults"),l.version="3.10.1",l.loadAsync=function(a,r){return new l().loadAsync(a,r)},l.external=u("./external"),C.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(u,C,y){var l=u("./utils"),a=u("./external"),r=u("./utf8"),h=u("./zipEntries"),d=u("./stream/Crc32Probe"),v=u("./nodejsUtils");function _(m){return new a.Promise(function(i,p){var n=m.decompressed.getContentWorker().pipe(new d);n.on("error",function(c){p(c)}).on("end",function(){n.streamInfo.crc32!==m.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}C.exports=function(m,i){var p=this;return i=l.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:r.utf8decode}),v.isNode&&v.isStream(m)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",m,!0,i.optimizedBinaryString,i.base64).then(function(n){var c=new h(i);return c.load(n),c}).then(function(n){var c=[a.Promise.resolve(n)],s=n.files;if(i.checkCRC32)for(var g=0;g<s.length;g++)c.push(_(s[g]));return a.Promise.all(c)}).then(function(n){for(var c=n.shift(),s=c.files,g=0;g<s.length;g++){var k=s[g],z=k.fileNameStr,E=l.resolve(k.fileNameStr);p.file(E,k.decompressed,{binary:!0,optimizedBinaryString:!0,date:k.date,dir:k.dir,comment:k.fileCommentStr.length?k.fileCommentStr:null,unixPermissions:k.unixPermissions,dosPermissions:k.dosPermissions,createFolders:i.createFolders}),k.dir||(p.file(E).unsafeOriginalName=z)}return c.zipComment.length&&(p.comment=c.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(u,C,y){var l=u("../utils"),a=u("../stream/GenericWorker");function r(h,d){a.call(this,"Nodejs stream input adapter for "+h),this._upstreamEnded=!1,this._bindStream(d)}l.inherits(r,a),r.prototype._bindStream=function(h){var d=this;(this._stream=h).pause(),h.on("data",function(v){d.push({data:v,meta:{percent:0}})}).on("error",function(v){d.isPaused?this.generatedError=v:d.error(v)}).on("end",function(){d.isPaused?d._upstreamEnded=!0:d.end()})},r.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},r.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},C.exports=r},{"../stream/GenericWorker":28,"../utils":32}],13:[function(u,C,y){var l=u("readable-stream").Readable;function a(r,h,d){l.call(this,h),this._helper=r;var v=this;r.on("data",function(_,m){v.push(_)||v._helper.pause(),d&&d(m)}).on("error",function(_){v.emit("error",_)}).on("end",function(){v.push(null)})}u("../utils").inherits(a,l),a.prototype._read=function(){this._helper.resume()},C.exports=a},{"../utils":32,"readable-stream":16}],14:[function(u,C,y){C.exports={isNode:typeof Buffer<"u",newBufferFrom:function(l,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,a);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,a)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var a=new Buffer(l);return a.fill(0),a},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(u,C,y){function l(E,j,R){var W,D=r.getTypeOf(j),$=r.extend(R||{},v);$.date=$.date||new Date,$.compression!==null&&($.compression=$.compression.toUpperCase()),typeof $.unixPermissions=="string"&&($.unixPermissions=parseInt($.unixPermissions,8)),$.unixPermissions&&16384&$.unixPermissions&&($.dir=!0),$.dosPermissions&&16&$.dosPermissions&&($.dir=!0),$.dir&&(E=s(E)),$.createFolders&&(W=c(E))&&g.call(this,W,!0);var X=D==="string"&&$.binary===!1&&$.base64===!1;R&&R.binary!==void 0||($.binary=!X),(j instanceof _&&j.uncompressedSize===0||$.dir||!j||j.length===0)&&($.base64=!1,$.binary=!0,j="",$.compression="STORE",D="string");var b=null;b=j instanceof _||j instanceof h?j:p.isNode&&p.isStream(j)?new n(E,j):r.prepareContent(E,j,$.binary,$.optimizedBinaryString,$.base64);var T=new m(E,b,$);this.files[E]=T}var a=u("./utf8"),r=u("./utils"),h=u("./stream/GenericWorker"),d=u("./stream/StreamHelper"),v=u("./defaults"),_=u("./compressedObject"),m=u("./zipObject"),i=u("./generate"),p=u("./nodejsUtils"),n=u("./nodejs/NodejsStreamInputAdapter"),c=function(E){E.slice(-1)==="/"&&(E=E.substring(0,E.length-1));var j=E.lastIndexOf("/");return 0<j?E.substring(0,j):""},s=function(E){return E.slice(-1)!=="/"&&(E+="/"),E},g=function(E,j){return j=j!==void 0?j:v.createFolders,E=s(E),this.files[E]||l.call(this,E,null,{dir:!0,createFolders:j}),this.files[E]};function k(E){return Object.prototype.toString.call(E)==="[object RegExp]"}var z={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(E){var j,R,W;for(j in this.files)W=this.files[j],(R=j.slice(this.root.length,j.length))&&j.slice(0,this.root.length)===this.root&&E(R,W)},filter:function(E){var j=[];return this.forEach(function(R,W){E(R,W)&&j.push(W)}),j},file:function(E,j,R){if(arguments.length!==1)return E=this.root+E,l.call(this,E,j,R),this;if(k(E)){var W=E;return this.filter(function($,X){return!X.dir&&W.test($)})}var D=this.files[this.root+E];return D&&!D.dir?D:null},folder:function(E){if(!E)return this;if(k(E))return this.filter(function(D,$){return $.dir&&E.test(D)});var j=this.root+E,R=g.call(this,j),W=this.clone();return W.root=R.name,W},remove:function(E){E=this.root+E;var j=this.files[E];if(j||(E.slice(-1)!=="/"&&(E+="/"),j=this.files[E]),j&&!j.dir)delete this.files[E];else for(var R=this.filter(function(D,$){return $.name.slice(0,E.length)===E}),W=0;W<R.length;W++)delete this.files[R[W].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(E){var j,R={};try{if((R=r.extend(E||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=R.type.toLowerCase(),R.compression=R.compression.toUpperCase(),R.type==="binarystring"&&(R.type="string"),!R.type)throw new Error("No output type specified.");r.checkSupport(R.type),R.platform!=="darwin"&&R.platform!=="freebsd"&&R.platform!=="linux"&&R.platform!=="sunos"||(R.platform="UNIX"),R.platform==="win32"&&(R.platform="DOS");var W=R.comment||this.comment||"";j=i.generateWorker(this,R,W)}catch(D){(j=new h("error")).error(D)}return new d(j,R.type||"string",R.mimeType)},generateAsync:function(E,j){return this.generateInternalStream(E).accumulate(j)},generateNodeStream:function(E,j){return(E=E||{}).type||(E.type="nodebuffer"),this.generateInternalStream(E).toNodejsStream(j)}};C.exports=z},{"./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(u,C,y){C.exports=u("stream")},{stream:void 0}],17:[function(u,C,y){var l=u("./DataReader");function a(r){l.call(this,r);for(var h=0;h<this.data.length;h++)r[h]=255&r[h]}u("../utils").inherits(a,l),a.prototype.byteAt=function(r){return this.data[this.zero+r]},a.prototype.lastIndexOfSignature=function(r){for(var h=r.charCodeAt(0),d=r.charCodeAt(1),v=r.charCodeAt(2),_=r.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===h&&this.data[m+1]===d&&this.data[m+2]===v&&this.data[m+3]===_)return m-this.zero;return-1},a.prototype.readAndCheckSignature=function(r){var h=r.charCodeAt(0),d=r.charCodeAt(1),v=r.charCodeAt(2),_=r.charCodeAt(3),m=this.readData(4);return h===m[0]&&d===m[1]&&v===m[2]&&_===m[3]},a.prototype.readData=function(r){if(this.checkOffset(r),r===0)return[];var h=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./DataReader":18}],18:[function(u,C,y){var l=u("../utils");function a(r){this.data=r,this.length=r.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(r){this.checkIndex(this.index+r)},checkIndex:function(r){if(this.length<this.zero+r||r<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+r+"). Corrupted zip ?")},setIndex:function(r){this.checkIndex(r),this.index=r},skip:function(r){this.setIndex(this.index+r)},byteAt:function(){},readInt:function(r){var h,d=0;for(this.checkOffset(r),h=this.index+r-1;h>=this.index;h--)d=(d<<8)+this.byteAt(h);return this.index+=r,d},readString:function(r){return l.transformTo("string",this.readData(r))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var r=this.readInt(4);return new Date(Date.UTC(1980+(r>>25&127),(r>>21&15)-1,r>>16&31,r>>11&31,r>>5&63,(31&r)<<1))}},C.exports=a},{"../utils":32}],19:[function(u,C,y){var l=u("./Uint8ArrayReader");function a(r){l.call(this,r)}u("../utils").inherits(a,l),a.prototype.readData=function(r){this.checkOffset(r);var h=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(u,C,y){var l=u("./DataReader");function a(r){l.call(this,r)}u("../utils").inherits(a,l),a.prototype.byteAt=function(r){return this.data.charCodeAt(this.zero+r)},a.prototype.lastIndexOfSignature=function(r){return this.data.lastIndexOf(r)-this.zero},a.prototype.readAndCheckSignature=function(r){return r===this.readData(4)},a.prototype.readData=function(r){this.checkOffset(r);var h=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./DataReader":18}],21:[function(u,C,y){var l=u("./ArrayReader");function a(r){l.call(this,r)}u("../utils").inherits(a,l),a.prototype.readData=function(r){if(this.checkOffset(r),r===0)return new Uint8Array(0);var h=this.data.subarray(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(u,C,y){var l=u("../utils"),a=u("../support"),r=u("./ArrayReader"),h=u("./StringReader"),d=u("./NodeBufferReader"),v=u("./Uint8ArrayReader");C.exports=function(_){var m=l.getTypeOf(_);return l.checkSupport(m),m!=="string"||a.uint8array?m==="nodebuffer"?new d(_):a.uint8array?new v(l.transformTo("uint8array",_)):new r(l.transformTo("array",_)):new h(_)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(u,C,y){y.LOCAL_FILE_HEADER="PK",y.CENTRAL_FILE_HEADER="PK",y.CENTRAL_DIRECTORY_END="PK",y.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",y.ZIP64_CENTRAL_DIRECTORY_END="PK",y.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(u,C,y){var l=u("./GenericWorker"),a=u("../utils");function r(h){l.call(this,"ConvertWorker to "+h),this.destType=h}a.inherits(r,l),r.prototype.processChunk=function(h){this.push({data:a.transformTo(this.destType,h.data),meta:h.meta})},C.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(u,C,y){var l=u("./GenericWorker"),a=u("../crc32");function r(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}u("../utils").inherits(r,l),r.prototype.processChunk=function(h){this.streamInfo.crc32=a(h.data,this.streamInfo.crc32||0),this.push(h)},C.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(u,C,y){var l=u("../utils"),a=u("./GenericWorker");function r(h){a.call(this,"DataLengthProbe for "+h),this.propName=h,this.withStreamInfo(h,0)}l.inherits(r,a),r.prototype.processChunk=function(h){if(h){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+h.data.length}a.prototype.processChunk.call(this,h)},C.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(u,C,y){var l=u("../utils"),a=u("./GenericWorker");function r(h){a.call(this,"DataWorker");var d=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,h.then(function(v){d.dataIsReady=!0,d.data=v,d.max=v&&v.length||0,d.type=l.getTypeOf(v),d.isPaused||d._tickAndRepeat()},function(v){d.error(v)})}l.inherits(r,a),r.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var h=null,d=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":h=this.data.substring(this.index,d);break;case"uint8array":h=this.data.subarray(this.index,d);break;case"array":case"nodebuffer":h=this.data.slice(this.index,d)}return this.index=d,this.push({data:h,meta:{percent:this.max?this.index/this.max*100:0}})},C.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(u,C,y){function l(a){this.name=a||"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}l.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,r){return this._listeners[a].push(r),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,r){if(this._listeners[a])for(var h=0;h<this._listeners[a].length;h++)this._listeners[a][h].call(this,r)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var r=this;return a.on("data",function(h){r.processChunk(h)}),a.on("end",function(){r.end()}),a.on("error",function(h){r.error(h)}),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 a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,r){return this.extraStreamInfo[a]=r,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},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 a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},C.exports=l},{}],29:[function(u,C,y){var l=u("../utils"),a=u("./ConvertWorker"),r=u("./GenericWorker"),h=u("../base64"),d=u("../support"),v=u("../external"),_=null;if(d.nodestream)try{_=u("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(p,n){return new v.Promise(function(c,s){var g=[],k=p._internalType,z=p._outputType,E=p._mimeType;p.on("data",function(j,R){g.push(j),n&&n(R)}).on("error",function(j){g=[],s(j)}).on("end",function(){try{var j=function(R,W,D){switch(R){case"blob":return l.newBlob(l.transformTo("arraybuffer",W),D);case"base64":return h.encode(W);default:return l.transformTo(R,W)}}(z,function(R,W){var D,$=0,X=null,b=0;for(D=0;D<W.length;D++)b+=W[D].length;switch(R){case"string":return W.join("");case"array":return Array.prototype.concat.apply([],W);case"uint8array":for(X=new Uint8Array(b),D=0;D<W.length;D++)X.set(W[D],$),$+=W[D].length;return X;case"nodebuffer":return Buffer.concat(W);default:throw new Error("concat : unsupported type '"+R+"'")}}(k,g),E);c(j)}catch(R){s(R)}g=[]}).resume()})}function i(p,n,c){var s=n;switch(n){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=n,this._mimeType=c,l.checkSupport(s),this._worker=p.pipe(new a(s)),p.lock()}catch(g){this._worker=new r("error"),this._worker.error(g)}}i.prototype={accumulate:function(p){return m(this,p)},on:function(p,n){var c=this;return p==="data"?this._worker.on(p,function(s){n.call(c,s.data,s.meta)}):this._worker.on(p,function(){l.delay(n,arguments,c)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new _(this,{objectMode:this._outputType!=="nodebuffer"},p)}},C.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(u,C,y){if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",y.nodebuffer=typeof Buffer<"u",y.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")y.blob=!1;else{var l=new ArrayBuffer(0);try{y.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(l),y.blob=a.getBlob("application/zip").size===0}catch{y.blob=!1}}}try{y.nodestream=!!u("readable-stream").Readable}catch{y.nodestream=!1}},{"readable-stream":16}],31:[function(u,C,y){for(var l=u("./utils"),a=u("./support"),r=u("./nodejsUtils"),h=u("./stream/GenericWorker"),d=new Array(256),v=0;v<256;v++)d[v]=252<=v?6:248<=v?5:240<=v?4:224<=v?3:192<=v?2:1;d[254]=d[254]=1;function _(){h.call(this,"utf-8 decode"),this.leftOver=null}function m(){h.call(this,"utf-8 encode")}y.utf8encode=function(i){return a.nodebuffer?r.newBufferFrom(i,"utf-8"):function(p){var n,c,s,g,k,z=p.length,E=0;for(g=0;g<z;g++)(64512&(c=p.charCodeAt(g)))==55296&&g+1<z&&(64512&(s=p.charCodeAt(g+1)))==56320&&(c=65536+(c-55296<<10)+(s-56320),g++),E+=c<128?1:c<2048?2:c<65536?3:4;for(n=a.uint8array?new Uint8Array(E):new Array(E),g=k=0;k<E;g++)(64512&(c=p.charCodeAt(g)))==55296&&g+1<z&&(64512&(s=p.charCodeAt(g+1)))==56320&&(c=65536+(c-55296<<10)+(s-56320),g++),c<128?n[k++]=c:(c<2048?n[k++]=192|c>>>6:(c<65536?n[k++]=224|c>>>12:(n[k++]=240|c>>>18,n[k++]=128|c>>>12&63),n[k++]=128|c>>>6&63),n[k++]=128|63&c);return n}(i)},y.utf8decode=function(i){return a.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):function(p){var n,c,s,g,k=p.length,z=new Array(2*k);for(n=c=0;n<k;)if((s=p[n++])<128)z[c++]=s;else if(4<(g=d[s]))z[c++]=65533,n+=g-1;else{for(s&=g===2?31:g===3?15:7;1<g&&n<k;)s=s<<6|63&p[n++],g--;1<g?z[c++]=65533:s<65536?z[c++]=s:(s-=65536,z[c++]=55296|s>>10&1023,z[c++]=56320|1023&s)}return z.length!==c&&(z.subarray?z=z.subarray(0,c):z.length=c),l.applyFromCharCode(z)}(i=l.transformTo(a.uint8array?"uint8array":"array",i))},l.inherits(_,h),_.prototype.processChunk=function(i){var p=l.transformTo(a.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var n=p;(p=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),p.set(n,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var c=function(g,k){var z;for((k=k||g.length)>g.length&&(k=g.length),z=k-1;0<=z&&(192&g[z])==128;)z--;return z<0||z===0?k:z+d[g[z]]>k?z:k}(p),s=p;c!==p.length&&(a.uint8array?(s=p.subarray(0,c),this.leftOver=p.subarray(c,p.length)):(s=p.slice(0,c),this.leftOver=p.slice(c,p.length))),this.push({data:y.utf8decode(s),meta:i.meta})},_.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=_,l.inherits(m,h),m.prototype.processChunk=function(i){this.push({data:y.utf8encode(i.data),meta:i.meta})},y.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(u,C,y){var l=u("./support"),a=u("./base64"),r=u("./nodejsUtils"),h=u("./external");function d(n){return n}function v(n,c){for(var s=0;s<n.length;++s)c[s]=255&n.charCodeAt(s);return c}u("setimmediate"),y.newBlob=function(n,c){y.checkSupport("blob");try{return new Blob([n],{type:c})}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return s.append(n),s.getBlob(c)}catch{throw new Error("Bug : can't construct the Blob.")}}};var _={stringifyByChunk:function(n,c,s){var g=[],k=0,z=n.length;if(z<=s)return String.fromCharCode.apply(null,n);for(;k<z;)c==="array"||c==="nodebuffer"?g.push(String.fromCharCode.apply(null,n.slice(k,Math.min(k+s,z)))):g.push(String.fromCharCode.apply(null,n.subarray(k,Math.min(k+s,z)))),k+=s;return g.join("")},stringifyByChar:function(n){for(var c="",s=0;s<n.length;s++)c+=String.fromCharCode(n[s]);return c},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,r.allocBuffer(1)).length===1}catch{return!1}}()}};function m(n){var c=65536,s=y.getTypeOf(n),g=!0;if(s==="uint8array"?g=_.applyCanBeUsed.uint8array:s==="nodebuffer"&&(g=_.applyCanBeUsed.nodebuffer),g)for(;1<c;)try{return _.stringifyByChunk(n,s,c)}catch{c=Math.floor(c/2)}return _.stringifyByChar(n)}function i(n,c){for(var s=0;s<n.length;s++)c[s]=n[s];return c}y.applyFromCharCode=m;var p={};p.string={string:d,array:function(n){return v(n,new Array(n.length))},arraybuffer:function(n){return p.string.uint8array(n).buffer},uint8array:function(n){return v(n,new Uint8Array(n.length))},nodebuffer:function(n){return v(n,r.allocBuffer(n.length))}},p.array={string:m,array:d,arraybuffer:function(n){return new Uint8Array(n).buffer},uint8array:function(n){return new Uint8Array(n)},nodebuffer:function(n){return r.newBufferFrom(n)}},p.arraybuffer={string:function(n){return m(new Uint8Array(n))},array:function(n){return i(new Uint8Array(n),new Array(n.byteLength))},arraybuffer:d,uint8array:function(n){return new Uint8Array(n)},nodebuffer:function(n){return r.newBufferFrom(new Uint8Array(n))}},p.uint8array={string:m,array:function(n){return i(n,new Array(n.length))},arraybuffer:function(n){return n.buffer},uint8array:d,nodebuffer:function(n){return r.newBufferFrom(n)}},p.nodebuffer={string:m,array:function(n){return i(n,new Array(n.length))},arraybuffer:function(n){return p.nodebuffer.uint8array(n).buffer},uint8array:function(n){return i(n,new Uint8Array(n.length))},nodebuffer:d},y.transformTo=function(n,c){if(c=c||"",!n)return c;y.checkSupport(n);var s=y.getTypeOf(c);return p[s][n](c)},y.resolve=function(n){for(var c=n.split("/"),s=[],g=0;g<c.length;g++){var k=c[g];k==="."||k===""&&g!==0&&g!==c.length-1||(k===".."?s.pop():s.push(k))}return s.join("/")},y.getTypeOf=function(n){return typeof n=="string"?"string":Object.prototype.toString.call(n)==="[object Array]"?"array":l.nodebuffer&&r.isBuffer(n)?"nodebuffer":l.uint8array&&n instanceof Uint8Array?"uint8array":l.arraybuffer&&n instanceof ArrayBuffer?"arraybuffer":void 0},y.checkSupport=function(n){if(!l[n.toLowerCase()])throw new Error(n+" is not supported by this platform")},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(n){var c,s,g="";for(s=0;s<(n||"").length;s++)g+="\\x"+((c=n.charCodeAt(s))<16?"0":"")+c.toString(16).toUpperCase();return g},y.delay=function(n,c,s){setImmediate(function(){n.apply(s||null,c||[])})},y.inherits=function(n,c){function s(){}s.prototype=c.prototype,n.prototype=new s},y.extend=function(){var n,c,s={};for(n=0;n<arguments.length;n++)for(c in arguments[n])Object.prototype.hasOwnProperty.call(arguments[n],c)&&s[c]===void 0&&(s[c]=arguments[n][c]);return s},y.prepareContent=function(n,c,s,g,k){return h.Promise.resolve(c).then(function(z){return l.blob&&(z instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(z))!==-1)&&typeof FileReader<"u"?new h.Promise(function(E,j){var R=new FileReader;R.onload=function(W){E(W.target.result)},R.onerror=function(W){j(W.target.error)},R.readAsArrayBuffer(z)}):z}).then(function(z){var E=y.getTypeOf(z);return E?(E==="arraybuffer"?z=y.transformTo("uint8array",z):E==="string"&&(k?z=a.decode(z):s&&g!==!0&&(z=function(j){return v(j,l.uint8array?new Uint8Array(j.length):new Array(j.length))}(z))),z):h.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(u,C,y){var l=u("./reader/readerFor"),a=u("./utils"),r=u("./signature"),h=u("./zipEntry"),d=u("./support");function v(_){this.files=[],this.loadOptions=_}v.prototype={checkSignature:function(_){if(!this.reader.readAndCheckSignature(_)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(m)+", expected "+a.pretty(_)+")")}},isSignature:function(_,m){var i=this.reader.index;this.reader.setIndex(_);var p=this.reader.readString(4)===m;return this.reader.setIndex(i),p},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 _=this.reader.readData(this.zipCommentLength),m=d.uint8array?"uint8array":"array",i=a.transformTo(m,_);this.zipComment=this.loadOptions.decodeFileName(i)},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 _,m,i,p=this.zip64EndOfCentralSize-44;0<p;)_=this.reader.readInt(2),m=this.reader.readInt(4),i=this.reader.readData(m),this.zip64ExtensibleData[_]={id:_,length:m,value:i}},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 _,m;for(_=0;_<this.files.length;_++)m=this.files[_],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(r.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var _;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(r.CENTRAL_FILE_HEADER);)(_=new h({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(_);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 _=this.reader.lastIndexOfSignature(r.CENTRAL_DIRECTORY_END);if(_<0)throw this.isSignature(0,r.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(_);var m=_;if(this.checkSignature(r.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(_=this.reader.lastIndexOfSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(_),this.checkSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,r.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(r.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(r.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var p=m-i;if(0<p)this.isSignature(m,r.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(_){this.reader=l(_)},load:function(_){this.prepareReader(_),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},C.exports=v},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(u,C,y){var l=u("./reader/readerFor"),a=u("./utils"),r=u("./compressedObject"),h=u("./crc32"),d=u("./utf8"),v=u("./compressions"),_=u("./support");function m(i,p){this.options=i,this.loadOptions=p}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var p,n;if(i.skip(22),this.fileNameLength=i.readInt(2),n=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(n),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((p=function(c){for(var s in v)if(Object.prototype.hasOwnProperty.call(v,s)&&v[s].magic===c)return v[s];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new r(this.compressedSize,this.uncompressedSize,this.crc32,p,i.readData(this.compressedSize))},readCentralPart:function(i){this.versionMadeBy=i.readInt(2),i.skip(2),this.bitFlag=i.readInt(2),this.compressionMethod=i.readString(2),this.date=i.readDate(),this.crc32=i.readInt(4),this.compressedSize=i.readInt(4),this.uncompressedSize=i.readInt(4);var p=i.readInt(2);if(this.extraFieldsLength=i.readInt(2),this.fileCommentLength=i.readInt(2),this.diskNumberStart=i.readInt(2),this.internalFileAttributes=i.readInt(2),this.externalFileAttributes=i.readInt(4),this.localHeaderOffset=i.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");i.skip(p),this.readExtraFields(i),this.parseZIP64ExtraField(i),this.fileComment=i.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var i=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),i==0&&(this.dosPermissions=63&this.externalFileAttributes),i==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var i=l(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=i.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=i.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=i.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=i.readInt(4))}},readExtraFields:function(i){var p,n,c,s=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<s;)p=i.readInt(2),n=i.readInt(2),c=i.readData(n),this.extraFields[p]={id:p,length:n,value:c};i.setIndex(s)},handleUTF8:function(){var i=_.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=d.utf8decode(this.fileName),this.fileCommentStr=d.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var n=a.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var c=this.findExtraFieldUnicodeComment();if(c!==null)this.fileCommentStr=c;else{var s=a.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var p=l(i.value);return p.readInt(1)!==1||h(this.fileName)!==p.readInt(4)?null:d.utf8decode(p.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var p=l(i.value);return p.readInt(1)!==1||h(this.fileComment)!==p.readInt(4)?null:d.utf8decode(p.readData(i.length-5))}return null}},C.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(u,C,y){function l(p,n,c){this.name=p,this.dir=c.dir,this.date=c.date,this.comment=c.comment,this.unixPermissions=c.unixPermissions,this.dosPermissions=c.dosPermissions,this._data=n,this._dataBinary=c.binary,this.options={compression:c.compression,compressionOptions:c.compressionOptions}}var a=u("./stream/StreamHelper"),r=u("./stream/DataWorker"),h=u("./utf8"),d=u("./compressedObject"),v=u("./stream/GenericWorker");l.prototype={internalStream:function(p){var n=null,c="string";try{if(!p)throw new Error("No output type specified.");var s=(c=p.toLowerCase())==="string"||c==="text";c!=="binarystring"&&c!=="text"||(c="string"),n=this._decompressWorker();var g=!this._dataBinary;g&&!s&&(n=n.pipe(new h.Utf8EncodeWorker)),!g&&s&&(n=n.pipe(new h.Utf8DecodeWorker))}catch(k){(n=new v("error")).error(k)}return new a(n,c,"")},async:function(p,n){return this.internalStream(p).accumulate(n)},nodeStream:function(p,n){return this.internalStream(p||"nodebuffer").toNodejsStream(n)},_compressWorker:function(p,n){if(this._data instanceof d&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var c=this._decompressWorker();return this._dataBinary||(c=c.pipe(new h.Utf8EncodeWorker)),d.createWorkerFrom(c,p,n)},_decompressWorker:function(){return this._data instanceof d?this._data.getContentWorker():this._data instanceof v?this._data:new r(this._data)}};for(var _=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<_.length;i++)l.prototype[_[i]]=m;C.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(u,C,y){(function(l){var a,r,h=l.MutationObserver||l.WebKitMutationObserver;if(h){var d=0,v=new h(p),_=l.document.createTextNode("");v.observe(_,{characterData:!0}),a=function(){_.data=d=++d%2}}else if(l.setImmediate||l.MessageChannel===void 0)a="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var n=l.document.createElement("script");n.onreadystatechange=function(){p(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},l.document.documentElement.appendChild(n)}:function(){setTimeout(p,0)};else{var m=new l.MessageChannel;m.port1.onmessage=p,a=function(){m.port2.postMessage(0)}}var i=[];function p(){var n,c;r=!0;for(var s=i.length;s;){for(c=i,i=[],n=-1;++n<s;)c[n]();s=i.length}r=!1}C.exports=function(n){i.push(n)!==1||r||a()}}).call(this,typeof mt.commonjsGlobal<"u"?mt.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(u,C,y){var l=u("immediate");function a(){}var r={},h=["REJECTED"],d=["FULFILLED"],v=["PENDING"];function _(s){if(typeof s!="function")throw new TypeError("resolver must be a function");this.state=v,this.queue=[],this.outcome=void 0,s!==a&&n(this,s)}function m(s,g,k){this.promise=s,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof k=="function"&&(this.onRejected=k,this.callRejected=this.otherCallRejected)}function i(s,g,k){l(function(){var z;try{z=g(k)}catch(E){return r.reject(s,E)}z===s?r.reject(s,new TypeError("Cannot resolve promise with itself")):r.resolve(s,z)})}function p(s){var g=s&&s.then;if(s&&(typeof s=="object"||typeof s=="function")&&typeof g=="function")return function(){g.apply(s,arguments)}}function n(s,g){var k=!1;function z(R){k||(k=!0,r.reject(s,R))}function E(R){k||(k=!0,r.resolve(s,R))}var j=c(function(){g(E,z)});j.status==="error"&&z(j.value)}function c(s,g){var k={};try{k.value=s(g),k.status="success"}catch(z){k.status="error",k.value=z}return k}(C.exports=_).prototype.finally=function(s){if(typeof s!="function")return this;var g=this.constructor;return this.then(function(k){return g.resolve(s()).then(function(){return k})},function(k){return g.resolve(s()).then(function(){throw k})})},_.prototype.catch=function(s){return this.then(null,s)},_.prototype.then=function(s,g){if(typeof s!="function"&&this.state===d||typeof g!="function"&&this.state===h)return this;var k=new this.constructor(a);return this.state!==v?i(k,this.state===d?s:g,this.outcome):this.queue.push(new m(k,s,g)),k},m.prototype.callFulfilled=function(s){r.resolve(this.promise,s)},m.prototype.otherCallFulfilled=function(s){i(this.promise,this.onFulfilled,s)},m.prototype.callRejected=function(s){r.reject(this.promise,s)},m.prototype.otherCallRejected=function(s){i(this.promise,this.onRejected,s)},r.resolve=function(s,g){var k=c(p,g);if(k.status==="error")return r.reject(s,k.value);var z=k.value;if(z)n(s,z);else{s.state=d,s.outcome=g;for(var E=-1,j=s.queue.length;++E<j;)s.queue[E].callFulfilled(g)}return s},r.reject=function(s,g){s.state=h,s.outcome=g;for(var k=-1,z=s.queue.length;++k<z;)s.queue[k].callRejected(g);return s},_.resolve=function(s){return s instanceof this?s:r.resolve(new this(a),s)},_.reject=function(s){var g=new this(a);return r.reject(g,s)},_.all=function(s){var g=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=s.length,z=!1;if(!k)return this.resolve([]);for(var E=new Array(k),j=0,R=-1,W=new this(a);++R<k;)D(s[R],R);return W;function D($,X){g.resolve($).then(function(b){E[X]=b,++j!==k||z||(z=!0,r.resolve(W,E))},function(b){z||(z=!0,r.reject(W,b))})}},_.race=function(s){var g=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=s.length,z=!1;if(!k)return this.resolve([]);for(var E=-1,j=new this(a);++E<k;)R=s[E],g.resolve(R).then(function(W){z||(z=!0,r.resolve(j,W))},function(W){z||(z=!0,r.reject(j,W))});var R;return j}},{immediate:36}],38:[function(u,C,y){var l={};(0,u("./lib/utils/common").assign)(l,u("./lib/deflate"),u("./lib/inflate"),u("./lib/zlib/constants")),C.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(u,C,y){var l=u("./zlib/deflate"),a=u("./utils/common"),r=u("./utils/strings"),h=u("./zlib/messages"),d=u("./zlib/zstream"),v=Object.prototype.toString,_=0,m=-1,i=0,p=8;function n(s){if(!(this instanceof n))return new n(s);this.options=a.assign({level:m,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},s||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var k=l.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(k!==_)throw new Error(h[k]);if(g.header&&l.deflateSetHeader(this.strm,g.header),g.dictionary){var z;if(z=typeof g.dictionary=="string"?r.string2buf(g.dictionary):v.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(k=l.deflateSetDictionary(this.strm,z))!==_)throw new Error(h[k]);this._dict_set=!0}}function c(s,g){var k=new n(g);if(k.push(s,!0),k.err)throw k.msg||h[k.err];return k.result}n.prototype.push=function(s,g){var k,z,E=this.strm,j=this.options.chunkSize;if(this.ended)return!1;z=g===~~g?g:g===!0?4:0,typeof s=="string"?E.input=r.string2buf(s):v.call(s)==="[object ArrayBuffer]"?E.input=new Uint8Array(s):E.input=s,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new a.Buf8(j),E.next_out=0,E.avail_out=j),(k=l.deflate(E,z))!==1&&k!==_)return this.onEnd(k),!(this.ended=!0);E.avail_out!==0&&(E.avail_in!==0||z!==4&&z!==2)||(this.options.to==="string"?this.onData(r.buf2binstring(a.shrinkBuf(E.output,E.next_out))):this.onData(a.shrinkBuf(E.output,E.next_out)))}while((0<E.avail_in||E.avail_out===0)&&k!==1);return z===4?(k=l.deflateEnd(this.strm),this.onEnd(k),this.ended=!0,k===_):z!==2||(this.onEnd(_),!(E.avail_out=0))},n.prototype.onData=function(s){this.chunks.push(s)},n.prototype.onEnd=function(s){s===_&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg},y.Deflate=n,y.deflate=c,y.deflateRaw=function(s,g){return(g=g||{}).raw=!0,c(s,g)},y.gzip=function(s,g){return(g=g||{}).gzip=!0,c(s,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(u,C,y){var l=u("./zlib/inflate"),a=u("./utils/common"),r=u("./utils/strings"),h=u("./zlib/constants"),d=u("./zlib/messages"),v=u("./zlib/zstream"),_=u("./zlib/gzheader"),m=Object.prototype.toString;function i(n){if(!(this instanceof i))return new i(n);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},n||{});var c=this.options;c.raw&&0<=c.windowBits&&c.windowBits<16&&(c.windowBits=-c.windowBits,c.windowBits===0&&(c.windowBits=-15)),!(0<=c.windowBits&&c.windowBits<16)||n&&n.windowBits||(c.windowBits+=32),15<c.windowBits&&c.windowBits<48&&(15&c.windowBits)==0&&(c.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var s=l.inflateInit2(this.strm,c.windowBits);if(s!==h.Z_OK)throw new Error(d[s]);this.header=new _,l.inflateGetHeader(this.strm,this.header)}function p(n,c){var s=new i(c);if(s.push(n,!0),s.err)throw s.msg||d[s.err];return s.result}i.prototype.push=function(n,c){var s,g,k,z,E,j,R=this.strm,W=this.options.chunkSize,D=this.options.dictionary,$=!1;if(this.ended)return!1;g=c===~~c?c:c===!0?h.Z_FINISH:h.Z_NO_FLUSH,typeof n=="string"?R.input=r.binstring2buf(n):m.call(n)==="[object ArrayBuffer]"?R.input=new Uint8Array(n):R.input=n,R.next_in=0,R.avail_in=R.input.length;do{if(R.avail_out===0&&(R.output=new a.Buf8(W),R.next_out=0,R.avail_out=W),(s=l.inflate(R,h.Z_NO_FLUSH))===h.Z_NEED_DICT&&D&&(j=typeof D=="string"?r.string2buf(D):m.call(D)==="[object ArrayBuffer]"?new Uint8Array(D):D,s=l.inflateSetDictionary(this.strm,j)),s===h.Z_BUF_ERROR&&$===!0&&(s=h.Z_OK,$=!1),s!==h.Z_STREAM_END&&s!==h.Z_OK)return this.onEnd(s),!(this.ended=!0);R.next_out&&(R.avail_out!==0&&s!==h.Z_STREAM_END&&(R.avail_in!==0||g!==h.Z_FINISH&&g!==h.Z_SYNC_FLUSH)||(this.options.to==="string"?(k=r.utf8border(R.output,R.next_out),z=R.next_out-k,E=r.buf2string(R.output,k),R.next_out=z,R.avail_out=W-z,z&&a.arraySet(R.output,R.output,k,z,0),this.onData(E)):this.onData(a.shrinkBuf(R.output,R.next_out)))),R.avail_in===0&&R.avail_out===0&&($=!0)}while((0<R.avail_in||R.avail_out===0)&&s!==h.Z_STREAM_END);return s===h.Z_STREAM_END&&(g=h.Z_FINISH),g===h.Z_FINISH?(s=l.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===h.Z_OK):g!==h.Z_SYNC_FLUSH||(this.onEnd(h.Z_OK),!(R.avail_out=0))},i.prototype.onData=function(n){this.chunks.push(n)},i.prototype.onEnd=function(n){n===h.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg},y.Inflate=i,y.inflate=p,y.inflateRaw=function(n,c){return(c=c||{}).raw=!0,p(n,c)},y.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(u,C,y){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";y.assign=function(h){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var v=d.shift();if(v){if(typeof v!="object")throw new TypeError(v+"must be non-object");for(var _ in v)v.hasOwnProperty(_)&&(h[_]=v[_])}}return h},y.shrinkBuf=function(h,d){return h.length===d?h:h.subarray?h.subarray(0,d):(h.length=d,h)};var a={arraySet:function(h,d,v,_,m){if(d.subarray&&h.subarray)h.set(d.subarray(v,v+_),m);else for(var i=0;i<_;i++)h[m+i]=d[v+i]},flattenChunks:function(h){var d,v,_,m,i,p;for(d=_=0,v=h.length;d<v;d++)_+=h[d].length;for(p=new Uint8Array(_),d=m=0,v=h.length;d<v;d++)i=h[d],p.set(i,m),m+=i.length;return p}},r={arraySet:function(h,d,v,_,m){for(var i=0;i<_;i++)h[m+i]=d[v+i]},flattenChunks:function(h){return[].concat.apply([],h)}};y.setTyped=function(h){h?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,a)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,r))},y.setTyped(l)},{}],42:[function(u,C,y){var l=u("./common"),a=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{r=!1}for(var h=new l.Buf8(256),d=0;d<256;d++)h[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;function v(_,m){if(m<65537&&(_.subarray&&r||!_.subarray&&a))return String.fromCharCode.apply(null,l.shrinkBuf(_,m));for(var i="",p=0;p<m;p++)i+=String.fromCharCode(_[p]);return i}h[254]=h[254]=1,y.string2buf=function(_){var m,i,p,n,c,s=_.length,g=0;for(n=0;n<s;n++)(64512&(i=_.charCodeAt(n)))==55296&&n+1<s&&(64512&(p=_.charCodeAt(n+1)))==56320&&(i=65536+(i-55296<<10)+(p-56320),n++),g+=i<128?1:i<2048?2:i<65536?3:4;for(m=new l.Buf8(g),n=c=0;c<g;n++)(64512&(i=_.charCodeAt(n)))==55296&&n+1<s&&(64512&(p=_.charCodeAt(n+1)))==56320&&(i=65536+(i-55296<<10)+(p-56320),n++),i<128?m[c++]=i:(i<2048?m[c++]=192|i>>>6:(i<65536?m[c++]=224|i>>>12:(m[c++]=240|i>>>18,m[c++]=128|i>>>12&63),m[c++]=128|i>>>6&63),m[c++]=128|63&i);return m},y.buf2binstring=function(_){return v(_,_.length)},y.binstring2buf=function(_){for(var m=new l.Buf8(_.length),i=0,p=m.length;i<p;i++)m[i]=_.charCodeAt(i);return m},y.buf2string=function(_,m){var i,p,n,c,s=m||_.length,g=new Array(2*s);for(i=p=0;i<s;)if((n=_[i++])<128)g[p++]=n;else if(4<(c=h[n]))g[p++]=65533,i+=c-1;else{for(n&=c===2?31:c===3?15:7;1<c&&i<s;)n=n<<6|63&_[i++],c--;1<c?g[p++]=65533:n<65536?g[p++]=n:(n-=65536,g[p++]=55296|n>>10&1023,g[p++]=56320|1023&n)}return v(g,p)},y.utf8border=function(_,m){var i;for((m=m||_.length)>_.length&&(m=_.length),i=m-1;0<=i&&(192&_[i])==128;)i--;return i<0||i===0?m:i+h[_[i]]>m?i:m}},{"./common":41}],43:[function(u,C,y){C.exports=function(l,a,r,h){for(var d=65535&l|0,v=l>>>16&65535|0,_=0;r!==0;){for(r-=_=2e3<r?2e3:r;v=v+(d=d+a[h++]|0)|0,--_;);d%=65521,v%=65521}return d|v<<16|0}},{}],44:[function(u,C,y){C.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(u,C,y){var l=function(){for(var a,r=[],h=0;h<256;h++){a=h;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;r[h]=a}return r}();C.exports=function(a,r,h,d){var v=l,_=d+h;a^=-1;for(var m=d;m<_;m++)a=a>>>8^v[255&(a^r[m])];return-1^a}},{}],46:[function(u,C,y){var l,a=u("../utils/common"),r=u("./trees"),h=u("./adler32"),d=u("./crc32"),v=u("./messages"),_=0,m=4,i=0,p=-2,n=-1,c=4,s=2,g=8,k=9,z=286,E=30,j=19,R=2*z+1,W=15,D=3,$=258,X=$+D+1,b=42,T=113,e=1,L=2,Q=3,U=4;function tt(t,F){return t.msg=v[F],F}function Z(t){return(t<<1)-(4<t?9:0)}function V(t){for(var F=t.length;0<=--F;)t[F]=0}function O(t){var F=t.state,B=F.pending;B>t.avail_out&&(B=t.avail_out),B!==0&&(a.arraySet(t.output,F.pending_buf,F.pending_out,B,t.next_out),t.next_out+=B,F.pending_out+=B,t.total_out+=B,t.avail_out-=B,F.pending-=B,F.pending===0&&(F.pending_out=0))}function I(t,F){r._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,F),t.block_start=t.strstart,O(t.strm)}function Y(t,F){t.pending_buf[t.pending++]=F}function K(t,F){t.pending_buf[t.pending++]=F>>>8&255,t.pending_buf[t.pending++]=255&F}function G(t,F){var B,f,o=t.max_chain_length,x=t.strstart,P=t.prev_length,N=t.nice_match,A=t.strstart>t.w_size-X?t.strstart-(t.w_size-X):0,M=t.window,q=t.w_mask,H=t.prev,J=t.strstart+$,it=M[x+P-1],rt=M[x+P];t.prev_length>=t.good_match&&(o>>=2),N>t.lookahead&&(N=t.lookahead);do if(M[(B=F)+P]===rt&&M[B+P-1]===it&&M[B]===M[x]&&M[++B]===M[x+1]){x+=2,B++;do;while(M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&x<J);if(f=$-(J-x),x=J-$,P<f){if(t.match_start=F,N<=(P=f))break;it=M[x+P-1],rt=M[x+P]}}while((F=H[F&q])>A&&--o!=0);return P<=t.lookahead?P:t.lookahead}function st(t){var F,B,f,o,x,P,N,A,M,q,H=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=H+(H-X)){for(a.arraySet(t.window,t.window,H,H,0),t.match_start-=H,t.strstart-=H,t.block_start-=H,F=B=t.hash_size;f=t.head[--F],t.head[F]=H<=f?f-H:0,--B;);for(F=B=H;f=t.prev[--F],t.prev[F]=H<=f?f-H:0,--B;);o+=H}if(t.strm.avail_in===0)break;if(P=t.strm,N=t.window,A=t.strstart+t.lookahead,M=o,q=void 0,q=P.avail_in,M<q&&(q=M),B=q===0?0:(P.avail_in-=q,a.arraySet(N,P.input,P.next_in,q,A),P.state.wrap===1?P.adler=h(P.adler,N,q,A):P.state.wrap===2&&(P.adler=d(P.adler,N,q,A)),P.next_in+=q,P.total_in+=q,q),t.lookahead+=B,t.lookahead+t.insert>=D)for(x=t.strstart-t.insert,t.ins_h=t.window[x],t.ins_h=(t.ins_h<<t.hash_shift^t.window[x+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[x+D-1])&t.hash_mask,t.prev[x&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=x,x++,t.insert--,!(t.lookahead+t.insert<D)););}while(t.lookahead<X&&t.strm.avail_in!==0)}function ht(t,F){for(var B,f;;){if(t.lookahead<X){if(st(t),t.lookahead<X&&F===_)return e;if(t.lookahead===0)break}if(B=0,t.lookahead>=D&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),B!==0&&t.strstart-B<=t.w_size-X&&(t.match_length=G(t,B)),t.match_length>=D)if(f=r._tr_tally(t,t.strstart-t.match_start,t.match_length-D),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=D){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else f=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(f&&(I(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<D-1?t.strstart:D-1,F===m?(I(t,!0),t.strm.avail_out===0?Q:U):t.last_lit&&(I(t,!1),t.strm.avail_out===0)?e:L}function et(t,F){for(var B,f,o;;){if(t.lookahead<X){if(st(t),t.lookahead<X&&F===_)return e;if(t.lookahead===0)break}if(B=0,t.lookahead>=D&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=D-1,B!==0&&t.prev_length<t.max_lazy_match&&t.strstart-B<=t.w_size-X&&(t.match_length=G(t,B),t.match_length<=5&&(t.strategy===1||t.match_length===D&&4096<t.strstart-t.match_start)&&(t.match_length=D-1)),t.prev_length>=D&&t.match_length<=t.prev_length){for(o=t.strstart+t.lookahead-D,f=r._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-D),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=D-1,t.strstart++,f&&(I(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((f=r._tr_tally(t,0,t.window[t.strstart-1]))&&I(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return e}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(f=r._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<D-1?t.strstart:D-1,F===m?(I(t,!0),t.strm.avail_out===0?Q:U):t.last_lit&&(I(t,!1),t.strm.avail_out===0)?e:L}function nt(t,F,B,f,o){this.good_length=t,this.max_lazy=F,this.nice_length=B,this.max_chain=f,this.func=o}function lt(){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=g,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 a.Buf16(2*R),this.dyn_dtree=new a.Buf16(2*(2*E+1)),this.bl_tree=new a.Buf16(2*(2*j+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(W+1),this.heap=new a.Buf16(2*z+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*z+1),V(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 at(t){var F;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=s,(F=t.state).pending=0,F.pending_out=0,F.wrap<0&&(F.wrap=-F.wrap),F.status=F.wrap?b:T,t.adler=F.wrap===2?0:1,F.last_flush=_,r._tr_init(F),i):tt(t,p)}function ft(t){var F=at(t);return F===i&&function(B){B.window_size=2*B.w_size,V(B.head),B.max_lazy_match=l[B.level].max_lazy,B.good_match=l[B.level].good_length,B.nice_match=l[B.level].nice_length,B.max_chain_length=l[B.level].max_chain,B.strstart=0,B.block_start=0,B.lookahead=0,B.insert=0,B.match_length=B.prev_length=D-1,B.match_available=0,B.ins_h=0}(t.state),F}function ct(t,F,B,f,o,x){if(!t)return p;var P=1;if(F===n&&(F=6),f<0?(P=0,f=-f):15<f&&(P=2,f-=16),o<1||k<o||B!==g||f<8||15<f||F<0||9<F||x<0||c<x)return tt(t,p);f===8&&(f=9);var N=new lt;return(t.state=N).strm=t,N.wrap=P,N.gzhead=null,N.w_bits=f,N.w_size=1<<N.w_bits,N.w_mask=N.w_size-1,N.hash_bits=o+7,N.hash_size=1<<N.hash_bits,N.hash_mask=N.hash_size-1,N.hash_shift=~~((N.hash_bits+D-1)/D),N.window=new a.Buf8(2*N.w_size),N.head=new a.Buf16(N.hash_size),N.prev=new a.Buf16(N.w_size),N.lit_bufsize=1<<o+6,N.pending_buf_size=4*N.lit_bufsize,N.pending_buf=new a.Buf8(N.pending_buf_size),N.d_buf=1*N.lit_bufsize,N.l_buf=3*N.lit_bufsize,N.level=F,N.strategy=x,N.method=B,ft(t)}l=[new nt(0,0,0,0,function(t,F){var B=65535;for(B>t.pending_buf_size-5&&(B=t.pending_buf_size-5);;){if(t.lookahead<=1){if(st(t),t.lookahead===0&&F===_)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+B;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,I(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-X&&(I(t,!1),t.strm.avail_out===0))return e}return t.insert=0,F===m?(I(t,!0),t.strm.avail_out===0?Q:U):(t.strstart>t.block_start&&(I(t,!1),t.strm.avail_out),e)}),new nt(4,4,8,4,ht),new nt(4,5,16,8,ht),new nt(4,6,32,32,ht),new nt(4,4,16,16,et),new nt(8,16,32,32,et),new nt(8,16,128,128,et),new nt(8,32,128,256,et),new nt(32,128,258,1024,et),new nt(32,258,258,4096,et)],y.deflateInit=function(t,F){return ct(t,F,g,15,8,0)},y.deflateInit2=ct,y.deflateReset=ft,y.deflateResetKeep=at,y.deflateSetHeader=function(t,F){return t&&t.state?t.state.wrap!==2?p:(t.state.gzhead=F,i):p},y.deflate=function(t,F){var B,f,o,x;if(!t||!t.state||5<F||F<0)return t?tt(t,p):p;if(f=t.state,!t.output||!t.input&&t.avail_in!==0||f.status===666&&F!==m)return tt(t,t.avail_out===0?-5:p);if(f.strm=t,B=f.last_flush,f.last_flush=F,f.status===b)if(f.wrap===2)t.adler=0,Y(f,31),Y(f,139),Y(f,8),f.gzhead?(Y(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),Y(f,255&f.gzhead.time),Y(f,f.gzhead.time>>8&255),Y(f,f.gzhead.time>>16&255),Y(f,f.gzhead.time>>24&255),Y(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),Y(f,255&f.gzhead.os),f.gzhead.extra&&f.gzhead.extra.length&&(Y(f,255&f.gzhead.extra.length),Y(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(t.adler=d(t.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=69):(Y(f,0),Y(f,0),Y(f,0),Y(f,0),Y(f,0),Y(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),Y(f,3),f.status=T);else{var P=g+(f.w_bits-8<<4)<<8;P|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(P|=32),P+=31-P%31,f.status=T,K(f,P),f.strstart!==0&&(K(f,t.adler>>>16),K(f,65535&t.adler)),t.adler=1}if(f.status===69)if(f.gzhead.extra){for(o=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),O(t),o=f.pending,f.pending!==f.pending_buf_size));)Y(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){o=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),O(t),o=f.pending,f.pending===f.pending_buf_size)){x=1;break}x=f.gzindex<f.gzhead.name.length?255&f.gzhead.name.charCodeAt(f.gzindex++):0,Y(f,x)}while(x!==0);f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),x===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){o=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),O(t),o=f.pending,f.pending===f.pending_buf_size)){x=1;break}x=f.gzindex<f.gzhead.comment.length?255&f.gzhead.comment.charCodeAt(f.gzindex++):0,Y(f,x)}while(x!==0);f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),x===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&O(t),f.pending+2<=f.pending_buf_size&&(Y(f,255&t.adler),Y(f,t.adler>>8&255),t.adler=0,f.status=T)):f.status=T),f.pending!==0){if(O(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&Z(F)<=Z(B)&&F!==m)return tt(t,-5);if(f.status===666&&t.avail_in!==0)return tt(t,-5);if(t.avail_in!==0||f.lookahead!==0||F!==_&&f.status!==666){var N=f.strategy===2?function(A,M){for(var q;;){if(A.lookahead===0&&(st(A),A.lookahead===0)){if(M===_)return e;break}if(A.match_length=0,q=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,q&&(I(A,!1),A.strm.avail_out===0))return e}return A.insert=0,M===m?(I(A,!0),A.strm.avail_out===0?Q:U):A.last_lit&&(I(A,!1),A.strm.avail_out===0)?e:L}(f,F):f.strategy===3?function(A,M){for(var q,H,J,it,rt=A.window;;){if(A.lookahead<=$){if(st(A),A.lookahead<=$&&M===_)return e;if(A.lookahead===0)break}if(A.match_length=0,A.lookahead>=D&&0<A.strstart&&(H=rt[J=A.strstart-1])===rt[++J]&&H===rt[++J]&&H===rt[++J]){it=A.strstart+$;do;while(H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&J<it);A.match_length=$-(it-J),A.match_length>A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=D?(q=r._tr_tally(A,1,A.match_length-D),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(q=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),q&&(I(A,!1),A.strm.avail_out===0))return e}return A.insert=0,M===m?(I(A,!0),A.strm.avail_out===0?Q:U):A.last_lit&&(I(A,!1),A.strm.avail_out===0)?e:L}(f,F):l[f.level].func(f,F);if(N!==Q&&N!==U||(f.status=666),N===e||N===Q)return t.avail_out===0&&(f.last_flush=-1),i;if(N===L&&(F===1?r._tr_align(f):F!==5&&(r._tr_stored_block(f,0,0,!1),F===3&&(V(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),O(t),t.avail_out===0))return f.last_flush=-1,i}return F!==m?i:f.wrap<=0?1:(f.wrap===2?(Y(f,255&t.adler),Y(f,t.adler>>8&255),Y(f,t.adler>>16&255),Y(f,t.adler>>24&255),Y(f,255&t.total_in),Y(f,t.total_in>>8&255),Y(f,t.total_in>>16&255),Y(f,t.total_in>>24&255)):(K(f,t.adler>>>16),K(f,65535&t.adler)),O(t),0<f.wrap&&(f.wrap=-f.wrap),f.pending!==0?i:1)},y.deflateEnd=function(t){var F;return t&&t.state?(F=t.state.status)!==b&&F!==69&&F!==73&&F!==91&&F!==103&&F!==T&&F!==666?tt(t,p):(t.state=null,F===T?tt(t,-3):i):p},y.deflateSetDictionary=function(t,F){var B,f,o,x,P,N,A,M,q=F.length;if(!t||!t.state||(x=(B=t.state).wrap)===2||x===1&&B.status!==b||B.lookahead)return p;for(x===1&&(t.adler=h(t.adler,F,q,0)),B.wrap=0,q>=B.w_size&&(x===0&&(V(B.head),B.strstart=0,B.block_start=0,B.insert=0),M=new a.Buf8(B.w_size),a.arraySet(M,F,q-B.w_size,B.w_size,0),F=M,q=B.w_size),P=t.avail_in,N=t.next_in,A=t.input,t.avail_in=q,t.next_in=0,t.input=F,st(B);B.lookahead>=D;){for(f=B.strstart,o=B.lookahead-(D-1);B.ins_h=(B.ins_h<<B.hash_shift^B.window[f+D-1])&B.hash_mask,B.prev[f&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=f,f++,--o;);B.strstart=f,B.lookahead=D-1,st(B)}return B.strstart+=B.lookahead,B.block_start=B.strstart,B.insert=B.lookahead,B.lookahead=0,B.match_length=B.prev_length=D-1,B.match_available=0,t.next_in=N,t.input=A,t.avail_in=P,B.wrap=x,i},y.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(u,C,y){C.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(u,C,y){C.exports=function(l,a){var r,h,d,v,_,m,i,p,n,c,s,g,k,z,E,j,R,W,D,$,X,b,T,e,L;r=l.state,h=l.next_in,e=l.input,d=h+(l.avail_in-5),v=l.next_out,L=l.output,_=v-(a-l.avail_out),m=v+(l.avail_out-257),i=r.dmax,p=r.wsize,n=r.whave,c=r.wnext,s=r.window,g=r.hold,k=r.bits,z=r.lencode,E=r.distcode,j=(1<<r.lenbits)-1,R=(1<<r.distbits)-1;t:do{k<15&&(g+=e[h++]<<k,k+=8,g+=e[h++]<<k,k+=8),W=z[g&j];e:for(;;){if(g>>>=D=W>>>24,k-=D,(D=W>>>16&255)===0)L[v++]=65535&W;else{if(!(16&D)){if((64&D)==0){W=z[(65535&W)+(g&(1<<D)-1)];continue e}if(32&D){r.mode=12;break t}l.msg="invalid literal/length code",r.mode=30;break t}$=65535&W,(D&=15)&&(k<D&&(g+=e[h++]<<k,k+=8),$+=g&(1<<D)-1,g>>>=D,k-=D),k<15&&(g+=e[h++]<<k,k+=8,g+=e[h++]<<k,k+=8),W=E[g&R];r:for(;;){if(g>>>=D=W>>>24,k-=D,!(16&(D=W>>>16&255))){if((64&D)==0){W=E[(65535&W)+(g&(1<<D)-1)];continue r}l.msg="invalid distance code",r.mode=30;break t}if(X=65535&W,k<(D&=15)&&(g+=e[h++]<<k,(k+=8)<D&&(g+=e[h++]<<k,k+=8)),i<(X+=g&(1<<D)-1)){l.msg="invalid distance too far back",r.mode=30;break t}if(g>>>=D,k-=D,(D=v-_)<X){if(n<(D=X-D)&&r.sane){l.msg="invalid distance too far back",r.mode=30;break t}if(T=s,(b=0)===c){if(b+=p-D,D<$){for($-=D;L[v++]=s[b++],--D;);b=v-X,T=L}}else if(c<D){if(b+=p+c-D,(D-=c)<$){for($-=D;L[v++]=s[b++],--D;);if(b=0,c<$){for($-=D=c;L[v++]=s[b++],--D;);b=v-X,T=L}}}else if(b+=c-D,D<$){for($-=D;L[v++]=s[b++],--D;);b=v-X,T=L}for(;2<$;)L[v++]=T[b++],L[v++]=T[b++],L[v++]=T[b++],$-=3;$&&(L[v++]=T[b++],1<$&&(L[v++]=T[b++]))}else{for(b=v-X;L[v++]=L[b++],L[v++]=L[b++],L[v++]=L[b++],2<($-=3););$&&(L[v++]=L[b++],1<$&&(L[v++]=L[b++]))}break}}break}}while(h<d&&v<m);h-=$=k>>3,g&=(1<<(k-=$<<3))-1,l.next_in=h,l.next_out=v,l.avail_in=h<d?d-h+5:5-(h-d),l.avail_out=v<m?m-v+257:257-(v-m),r.hold=g,r.bits=k}},{}],49:[function(u,C,y){var l=u("../utils/common"),a=u("./adler32"),r=u("./crc32"),h=u("./inffast"),d=u("./inftrees"),v=1,_=2,m=0,i=-2,p=1,n=852,c=592;function s(b){return(b>>>24&255)+(b>>>8&65280)+((65280&b)<<8)+((255&b)<<24)}function g(){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 l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k(b){var T;return b&&b.state?(T=b.state,b.total_in=b.total_out=T.total=0,b.msg="",T.wrap&&(b.adler=1&T.wrap),T.mode=p,T.last=0,T.havedict=0,T.dmax=32768,T.head=null,T.hold=0,T.bits=0,T.lencode=T.lendyn=new l.Buf32(n),T.distcode=T.distdyn=new l.Buf32(c),T.sane=1,T.back=-1,m):i}function z(b){var T;return b&&b.state?((T=b.state).wsize=0,T.whave=0,T.wnext=0,k(b)):i}function E(b,T){var e,L;return b&&b.state?(L=b.state,T<0?(e=0,T=-T):(e=1+(T>>4),T<48&&(T&=15)),T&&(T<8||15<T)?i:(L.window!==null&&L.wbits!==T&&(L.window=null),L.wrap=e,L.wbits=T,z(b))):i}function j(b,T){var e,L;return b?(L=new g,(b.state=L).window=null,(e=E(b,T))!==m&&(b.state=null),e):i}var R,W,D=!0;function $(b){if(D){var T;for(R=new l.Buf32(512),W=new l.Buf32(32),T=0;T<144;)b.lens[T++]=8;for(;T<256;)b.lens[T++]=9;for(;T<280;)b.lens[T++]=7;for(;T<288;)b.lens[T++]=8;for(d(v,b.lens,0,288,R,0,b.work,{bits:9}),T=0;T<32;)b.lens[T++]=5;d(_,b.lens,0,32,W,0,b.work,{bits:5}),D=!1}b.lencode=R,b.lenbits=9,b.distcode=W,b.distbits=5}function X(b,T,e,L){var Q,U=b.state;return U.window===null&&(U.wsize=1<<U.wbits,U.wnext=0,U.whave=0,U.window=new l.Buf8(U.wsize)),L>=U.wsize?(l.arraySet(U.window,T,e-U.wsize,U.wsize,0),U.wnext=0,U.whave=U.wsize):(L<(Q=U.wsize-U.wnext)&&(Q=L),l.arraySet(U.window,T,e-L,Q,U.wnext),(L-=Q)?(l.arraySet(U.window,T,e-L,L,0),U.wnext=L,U.whave=U.wsize):(U.wnext+=Q,U.wnext===U.wsize&&(U.wnext=0),U.whave<U.wsize&&(U.whave+=Q))),0}y.inflateReset=z,y.inflateReset2=E,y.inflateResetKeep=k,y.inflateInit=function(b){return j(b,15)},y.inflateInit2=j,y.inflate=function(b,T){var e,L,Q,U,tt,Z,V,O,I,Y,K,G,st,ht,et,nt,lt,at,ft,ct,t,F,B,f,o=0,x=new l.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!b||!b.state||!b.output||!b.input&&b.avail_in!==0)return i;(e=b.state).mode===12&&(e.mode=13),tt=b.next_out,Q=b.output,V=b.avail_out,U=b.next_in,L=b.input,Z=b.avail_in,O=e.hold,I=e.bits,Y=Z,K=V,F=m;t:for(;;)switch(e.mode){case p:if(e.wrap===0){e.mode=13;break}for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(2&e.wrap&&O===35615){x[e.check=0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0),I=O=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&O)<<8)+(O>>8))%31){b.msg="incorrect header check",e.mode=30;break}if((15&O)!=8){b.msg="unknown compression method",e.mode=30;break}if(I-=4,t=8+(15&(O>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){b.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,b.adler=e.check=1,e.mode=512&O?10:12,I=O=0;break;case 2:for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(e.flags=O,(255&e.flags)!=8){b.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){b.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=O>>8&1),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0)),I=O=0,e.mode=3;case 3:for(;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.head&&(e.head.time=O),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,x[2]=O>>>16&255,x[3]=O>>>24&255,e.check=r(e.check,x,4,0)),I=O=0,e.mode=4;case 4:for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.head&&(e.head.xflags=255&O,e.head.os=O>>8),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0)),I=O=0,e.mode=5;case 5:if(1024&e.flags){for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.length=O,e.head&&(e.head.extra_len=O),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0)),I=O=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(Z<(G=e.length)&&(G=Z),G&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),l.arraySet(e.head.extra,L,U,G,t)),512&e.flags&&(e.check=r(e.check,L,G,U)),Z-=G,U+=G,e.length-=G),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(Z===0)break t;for(G=0;t=L[U+G++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&G<Z;);if(512&e.flags&&(e.check=r(e.check,L,G,U)),Z-=G,U+=G,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(Z===0)break t;for(G=0;t=L[U+G++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&G<Z;);if(512&e.flags&&(e.check=r(e.check,L,G,U)),Z-=G,U+=G,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(O!==(65535&e.check)){b.msg="header crc mismatch",e.mode=30;break}I=O=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),b.adler=e.check=0,e.mode=12;break;case 10:for(;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}b.adler=e.check=s(O),I=O=0,e.mode=11;case 11:if(e.havedict===0)return b.next_out=tt,b.avail_out=V,b.next_in=U,b.avail_in=Z,e.hold=O,e.bits=I,2;b.adler=e.check=1,e.mode=12;case 12:if(T===5||T===6)break t;case 13:if(e.last){O>>>=7&I,I-=7&I,e.mode=27;break}for(;I<3;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}switch(e.last=1&O,I-=1,3&(O>>>=1)){case 0:e.mode=14;break;case 1:if($(e),e.mode=20,T!==6)break;O>>>=2,I-=2;break t;case 2:e.mode=17;break;case 3:b.msg="invalid block type",e.mode=30}O>>>=2,I-=2;break;case 14:for(O>>>=7&I,I-=7&I;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if((65535&O)!=(O>>>16^65535)){b.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&O,I=O=0,e.mode=15,T===6)break t;case 15:e.mode=16;case 16:if(G=e.length){if(Z<G&&(G=Z),V<G&&(G=V),G===0)break t;l.arraySet(Q,L,U,G,tt),Z-=G,U+=G,V-=G,tt+=G,e.length-=G;break}e.mode=12;break;case 17:for(;I<14;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(e.nlen=257+(31&O),O>>>=5,I-=5,e.ndist=1+(31&O),O>>>=5,I-=5,e.ncode=4+(15&O),O>>>=4,I-=4,286<e.nlen||30<e.ndist){b.msg="too many length or distance symbols",e.mode=30;break}e.have=0,e.mode=18;case 18:for(;e.have<e.ncode;){for(;I<3;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.lens[P[e.have++]]=7&O,O>>>=3,I-=3}for(;e.have<19;)e.lens[P[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,B={bits:e.lenbits},F=d(0,e.lens,0,19,e.lencode,0,e.work,B),e.lenbits=B.bits,F){b.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have<e.nlen+e.ndist;){for(;nt=(o=e.lencode[O&(1<<e.lenbits)-1])>>>16&255,lt=65535&o,!((et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(lt<16)O>>>=et,I-=et,e.lens[e.have++]=lt;else{if(lt===16){for(f=et+2;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(O>>>=et,I-=et,e.have===0){b.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],G=3+(3&O),O>>>=2,I-=2}else if(lt===17){for(f=et+3;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}I-=et,t=0,G=3+(7&(O>>>=et)),O>>>=3,I-=3}else{for(f=et+7;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}I-=et,t=0,G=11+(127&(O>>>=et)),O>>>=7,I-=7}if(e.have+G>e.nlen+e.ndist){b.msg="invalid bit length repeat",e.mode=30;break}for(;G--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){b.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,B={bits:e.lenbits},F=d(v,e.lens,0,e.nlen,e.lencode,0,e.work,B),e.lenbits=B.bits,F){b.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,B={bits:e.distbits},F=d(_,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,B),e.distbits=B.bits,F){b.msg="invalid distances set",e.mode=30;break}if(e.mode=20,T===6)break t;case 20:e.mode=21;case 21:if(6<=Z&&258<=V){b.next_out=tt,b.avail_out=V,b.next_in=U,b.avail_in=Z,e.hold=O,e.bits=I,h(b,K),tt=b.next_out,Q=b.output,V=b.avail_out,U=b.next_in,L=b.input,Z=b.avail_in,O=e.hold,I=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;nt=(o=e.lencode[O&(1<<e.lenbits)-1])>>>16&255,lt=65535&o,!((et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(nt&&(240&nt)==0){for(at=et,ft=nt,ct=lt;nt=(o=e.lencode[ct+((O&(1<<at+ft)-1)>>at)])>>>16&255,lt=65535&o,!(at+(et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}O>>>=at,I-=at,e.back+=at}if(O>>>=et,I-=et,e.back+=et,e.length=lt,nt===0){e.mode=26;break}if(32&nt){e.back=-1,e.mode=12;break}if(64&nt){b.msg="invalid literal/length code",e.mode=30;break}e.extra=15&nt,e.mode=22;case 22:if(e.extra){for(f=e.extra;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.length+=O&(1<<e.extra)-1,O>>>=e.extra,I-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;nt=(o=e.distcode[O&(1<<e.distbits)-1])>>>16&255,lt=65535&o,!((et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if((240&nt)==0){for(at=et,ft=nt,ct=lt;nt=(o=e.distcode[ct+((O&(1<<at+ft)-1)>>at)])>>>16&255,lt=65535&o,!(at+(et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}O>>>=at,I-=at,e.back+=at}if(O>>>=et,I-=et,e.back+=et,64&nt){b.msg="invalid distance code",e.mode=30;break}e.offset=lt,e.extra=15&nt,e.mode=24;case 24:if(e.extra){for(f=e.extra;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.offset+=O&(1<<e.extra)-1,O>>>=e.extra,I-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){b.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(V===0)break t;if(G=K-V,e.offset>G){if((G=e.offset-G)>e.whave&&e.sane){b.msg="invalid distance too far back",e.mode=30;break}st=G>e.wnext?(G-=e.wnext,e.wsize-G):e.wnext-G,G>e.length&&(G=e.length),ht=e.window}else ht=Q,st=tt-e.offset,G=e.length;for(V<G&&(G=V),V-=G,e.length-=G;Q[tt++]=ht[st++],--G;);e.length===0&&(e.mode=21);break;case 26:if(V===0)break t;Q[tt++]=e.length,V--,e.mode=21;break;case 27:if(e.wrap){for(;I<32;){if(Z===0)break t;Z--,O|=L[U++]<<I,I+=8}if(K-=V,b.total_out+=K,e.total+=K,K&&(b.adler=e.check=e.flags?r(e.check,Q,K,tt-K):a(e.check,Q,K,tt-K)),K=V,(e.flags?O:s(O))!==e.check){b.msg="incorrect data check",e.mode=30;break}I=O=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(O!==(4294967295&e.total)){b.msg="incorrect length check",e.mode=30;break}I=O=0}e.mode=29;case 29:F=1;break t;case 30:F=-3;break t;case 31:return-4;case 32:default:return i}return b.next_out=tt,b.avail_out=V,b.next_in=U,b.avail_in=Z,e.hold=O,e.bits=I,(e.wsize||K!==b.avail_out&&e.mode<30&&(e.mode<27||T!==4))&&X(b,b.output,b.next_out,K-b.avail_out)?(e.mode=31,-4):(Y-=b.avail_in,K-=b.avail_out,b.total_in+=Y,b.total_out+=K,e.total+=K,e.wrap&&K&&(b.adler=e.check=e.flags?r(e.check,Q,K,b.next_out-K):a(e.check,Q,K,b.next_out-K)),b.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(Y==0&&K===0||T===4)&&F===m&&(F=-5),F)},y.inflateEnd=function(b){if(!b||!b.state)return i;var T=b.state;return T.window&&(T.window=null),b.state=null,m},y.inflateGetHeader=function(b,T){var e;return b&&b.state?(2&(e=b.state).wrap)==0?i:((e.head=T).done=!1,m):i},y.inflateSetDictionary=function(b,T){var e,L=T.length;return b&&b.state?(e=b.state).wrap!==0&&e.mode!==11?i:e.mode===11&&a(1,T,L,0)!==e.check?-3:X(b,T,L,L)?(e.mode=31,-4):(e.havedict=1,m):i},y.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(u,C,y){var l=u("../utils/common"),a=[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],r=[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],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];C.exports=function(v,_,m,i,p,n,c,s){var g,k,z,E,j,R,W,D,$,X=s.bits,b=0,T=0,e=0,L=0,Q=0,U=0,tt=0,Z=0,V=0,O=0,I=null,Y=0,K=new l.Buf16(16),G=new l.Buf16(16),st=null,ht=0;for(b=0;b<=15;b++)K[b]=0;for(T=0;T<i;T++)K[_[m+T]]++;for(Q=X,L=15;1<=L&&K[L]===0;L--);if(L<Q&&(Q=L),L===0)return p[n++]=20971520,p[n++]=20971520,s.bits=1,0;for(e=1;e<L&&K[e]===0;e++);for(Q<e&&(Q=e),b=Z=1;b<=15;b++)if(Z<<=1,(Z-=K[b])<0)return-1;if(0<Z&&(v===0||L!==1))return-1;for(G[1]=0,b=1;b<15;b++)G[b+1]=G[b]+K[b];for(T=0;T<i;T++)_[m+T]!==0&&(c[G[_[m+T]]++]=T);if(R=v===0?(I=st=c,19):v===1?(I=a,Y-=257,st=r,ht-=257,256):(I=h,st=d,-1),b=e,j=n,tt=T=O=0,z=-1,E=(V=1<<(U=Q))-1,v===1&&852<V||v===2&&592<V)return 1;for(;;){for(W=b-tt,$=c[T]<R?(D=0,c[T]):c[T]>R?(D=st[ht+c[T]],I[Y+c[T]]):(D=96,0),g=1<<b-tt,e=k=1<<U;p[j+(O>>tt)+(k-=g)]=W<<24|D<<16|$|0,k!==0;);for(g=1<<b-1;O&g;)g>>=1;if(g!==0?(O&=g-1,O+=g):O=0,T++,--K[b]==0){if(b===L)break;b=_[m+c[T]]}if(Q<b&&(O&E)!==z){for(tt===0&&(tt=Q),j+=e,Z=1<<(U=b-tt);U+tt<L&&!((Z-=K[U+tt])<=0);)U++,Z<<=1;if(V+=1<<U,v===1&&852<V||v===2&&592<V)return 1;p[z=O&E]=Q<<24|U<<16|j-n|0}}return O!==0&&(p[j+O]=b-tt<<24|64<<16|0),s.bits=Q,0}},{"../utils/common":41}],51:[function(u,C,y){C.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(u,C,y){var l=u("../utils/common"),a=0,r=1;function h(o){for(var x=o.length;0<=--x;)o[x]=0}var d=0,v=29,_=256,m=_+1+v,i=30,p=19,n=2*m+1,c=15,s=16,g=7,k=256,z=16,E=17,j=18,R=[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],W=[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],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],$=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],X=new Array(2*(m+2));h(X);var b=new Array(2*i);h(b);var T=new Array(512);h(T);var e=new Array(256);h(e);var L=new Array(v);h(L);var Q,U,tt,Z=new Array(i);function V(o,x,P,N,A){this.static_tree=o,this.extra_bits=x,this.extra_base=P,this.elems=N,this.max_length=A,this.has_stree=o&&o.length}function O(o,x){this.dyn_tree=o,this.max_code=0,this.stat_desc=x}function I(o){return o<256?T[o]:T[256+(o>>>7)]}function Y(o,x){o.pending_buf[o.pending++]=255&x,o.pending_buf[o.pending++]=x>>>8&255}function K(o,x,P){o.bi_valid>s-P?(o.bi_buf|=x<<o.bi_valid&65535,Y(o,o.bi_buf),o.bi_buf=x>>s-o.bi_valid,o.bi_valid+=P-s):(o.bi_buf|=x<<o.bi_valid&65535,o.bi_valid+=P)}function G(o,x,P){K(o,P[2*x],P[2*x+1])}function st(o,x){for(var P=0;P|=1&o,o>>>=1,P<<=1,0<--x;);return P>>>1}function ht(o,x,P){var N,A,M=new Array(c+1),q=0;for(N=1;N<=c;N++)M[N]=q=q+P[N-1]<<1;for(A=0;A<=x;A++){var H=o[2*A+1];H!==0&&(o[2*A]=st(M[H]++,H))}}function et(o){var x;for(x=0;x<m;x++)o.dyn_ltree[2*x]=0;for(x=0;x<i;x++)o.dyn_dtree[2*x]=0;for(x=0;x<p;x++)o.bl_tree[2*x]=0;o.dyn_ltree[2*k]=1,o.opt_len=o.static_len=0,o.last_lit=o.matches=0}function nt(o){8<o.bi_valid?Y(o,o.bi_buf):0<o.bi_valid&&(o.pending_buf[o.pending++]=o.bi_buf),o.bi_buf=0,o.bi_valid=0}function lt(o,x,P,N){var A=2*x,M=2*P;return o[A]<o[M]||o[A]===o[M]&&N[x]<=N[P]}function at(o,x,P){for(var N=o.heap[P],A=P<<1;A<=o.heap_len&&(A<o.heap_len&<(x,o.heap[A+1],o.heap[A],o.depth)&&A++,!lt(x,N,o.heap[A],o.depth));)o.heap[P]=o.heap[A],P=A,A<<=1;o.heap[P]=N}function ft(o,x,P){var N,A,M,q,H=0;if(o.last_lit!==0)for(;N=o.pending_buf[o.d_buf+2*H]<<8|o.pending_buf[o.d_buf+2*H+1],A=o.pending_buf[o.l_buf+H],H++,N===0?G(o,A,x):(G(o,(M=e[A])+_+1,x),(q=R[M])!==0&&K(o,A-=L[M],q),G(o,M=I(--N),P),(q=W[M])!==0&&K(o,N-=Z[M],q)),H<o.last_lit;);G(o,k,x)}function ct(o,x){var P,N,A,M=x.dyn_tree,q=x.stat_desc.static_tree,H=x.stat_desc.has_stree,J=x.stat_desc.elems,it=-1;for(o.heap_len=0,o.heap_max=n,P=0;P<J;P++)M[2*P]!==0?(o.heap[++o.heap_len]=it=P,o.depth[P]=0):M[2*P+1]=0;for(;o.heap_len<2;)M[2*(A=o.heap[++o.heap_len]=it<2?++it:0)]=1,o.depth[A]=0,o.opt_len--,H&&(o.static_len-=q[2*A+1]);for(x.max_code=it,P=o.heap_len>>1;1<=P;P--)at(o,M,P);for(A=J;P=o.heap[1],o.heap[1]=o.heap[o.heap_len--],at(o,M,1),N=o.heap[1],o.heap[--o.heap_max]=P,o.heap[--o.heap_max]=N,M[2*A]=M[2*P]+M[2*N],o.depth[A]=(o.depth[P]>=o.depth[N]?o.depth[P]:o.depth[N])+1,M[2*P+1]=M[2*N+1]=A,o.heap[1]=A++,at(o,M,1),2<=o.heap_len;);o.heap[--o.heap_max]=o.heap[1],function(rt,ut){var _t,dt,vt,ot,wt,xt,pt=ut.dyn_tree,Et=ut.max_code,$t=ut.stat_desc.static_tree,Gt=ut.stat_desc.has_stree,Kt=ut.stat_desc.extra_bits,Ct=ut.stat_desc.extra_base,bt=ut.stat_desc.max_length,yt=0;for(ot=0;ot<=c;ot++)rt.bl_count[ot]=0;for(pt[2*rt.heap[rt.heap_max]+1]=0,_t=rt.heap_max+1;_t<n;_t++)bt<(ot=pt[2*pt[2*(dt=rt.heap[_t])+1]+1]+1)&&(ot=bt,yt++),pt[2*dt+1]=ot,Et<dt||(rt.bl_count[ot]++,wt=0,Ct<=dt&&(wt=Kt[dt-Ct]),xt=pt[2*dt],rt.opt_len+=xt*(ot+wt),Gt&&(rt.static_len+=xt*($t[2*dt+1]+wt)));if(yt!==0){do{for(ot=bt-1;rt.bl_count[ot]===0;)ot--;rt.bl_count[ot]--,rt.bl_count[ot+1]+=2,rt.bl_count[bt]--,yt-=2}while(0<yt);for(ot=bt;ot!==0;ot--)for(dt=rt.bl_count[ot];dt!==0;)Et<(vt=rt.heap[--_t])||(pt[2*vt+1]!==ot&&(rt.opt_len+=(ot-pt[2*vt+1])*pt[2*vt],pt[2*vt+1]=ot),dt--)}}(o,x),ht(M,it,o.bl_count)}function t(o,x,P){var N,A,M=-1,q=x[1],H=0,J=7,it=4;for(q===0&&(J=138,it=3),x[2*(P+1)+1]=65535,N=0;N<=P;N++)A=q,q=x[2*(N+1)+1],++H<J&&A===q||(H<it?o.bl_tree[2*A]+=H:A!==0?(A!==M&&o.bl_tree[2*A]++,o.bl_tree[2*z]++):H<=10?o.bl_tree[2*E]++:o.bl_tree[2*j]++,M=A,it=(H=0)===q?(J=138,3):A===q?(J=6,3):(J=7,4))}function F(o,x,P){var N,A,M=-1,q=x[1],H=0,J=7,it=4;for(q===0&&(J=138,it=3),N=0;N<=P;N++)if(A=q,q=x[2*(N+1)+1],!(++H<J&&A===q)){if(H<it)for(;G(o,A,o.bl_tree),--H!=0;);else A!==0?(A!==M&&(G(o,A,o.bl_tree),H--),G(o,z,o.bl_tree),K(o,H-3,2)):H<=10?(G(o,E,o.bl_tree),K(o,H-3,3)):(G(o,j,o.bl_tree),K(o,H-11,7));M=A,it=(H=0)===q?(J=138,3):A===q?(J=6,3):(J=7,4)}}h(Z);var B=!1;function f(o,x,P,N){K(o,(d<<1)+(N?1:0),3),function(A,M,q,H){nt(A),H&&(Y(A,q),Y(A,~q)),l.arraySet(A.pending_buf,A.window,M,q,A.pending),A.pending+=q}(o,x,P,!0)}y._tr_init=function(o){B||(function(){var x,P,N,A,M,q=new Array(c+1);for(A=N=0;A<v-1;A++)for(L[A]=N,x=0;x<1<<R[A];x++)e[N++]=A;for(e[N-1]=A,A=M=0;A<16;A++)for(Z[A]=M,x=0;x<1<<W[A];x++)T[M++]=A;for(M>>=7;A<i;A++)for(Z[A]=M<<7,x=0;x<1<<W[A]-7;x++)T[256+M++]=A;for(P=0;P<=c;P++)q[P]=0;for(x=0;x<=143;)X[2*x+1]=8,x++,q[8]++;for(;x<=255;)X[2*x+1]=9,x++,q[9]++;for(;x<=279;)X[2*x+1]=7,x++,q[7]++;for(;x<=287;)X[2*x+1]=8,x++,q[8]++;for(ht(X,m+1,q),x=0;x<i;x++)b[2*x+1]=5,b[2*x]=st(x,5);Q=new V(X,R,_+1,m,c),U=new V(b,W,0,i,c),tt=new V(new Array(0),D,0,p,g)}(),B=!0),o.l_desc=new O(o.dyn_ltree,Q),o.d_desc=new O(o.dyn_dtree,U),o.bl_desc=new O(o.bl_tree,tt),o.bi_buf=0,o.bi_valid=0,et(o)},y._tr_stored_block=f,y._tr_flush_block=function(o,x,P,N){var A,M,q=0;0<o.level?(o.strm.data_type===2&&(o.strm.data_type=function(H){var J,it=4093624447;for(J=0;J<=31;J++,it>>>=1)if(1&it&&H.dyn_ltree[2*J]!==0)return a;if(H.dyn_ltree[18]!==0||H.dyn_ltree[20]!==0||H.dyn_ltree[26]!==0)return r;for(J=32;J<_;J++)if(H.dyn_ltree[2*J]!==0)return r;return a}(o)),ct(o,o.l_desc),ct(o,o.d_desc),q=function(H){var J;for(t(H,H.dyn_ltree,H.l_desc.max_code),t(H,H.dyn_dtree,H.d_desc.max_code),ct(H,H.bl_desc),J=p-1;3<=J&&H.bl_tree[2*$[J]+1]===0;J--);return H.opt_len+=3*(J+1)+5+5+4,J}(o),A=o.opt_len+3+7>>>3,(M=o.static_len+3+7>>>3)<=A&&(A=M)):A=M=P+5,P+4<=A&&x!==-1?f(o,x,P,N):o.strategy===4||M===A?(K(o,2+(N?1:0),3),ft(o,X,b)):(K(o,4+(N?1:0),3),function(H,J,it,rt){var ut;for(K(H,J-257,5),K(H,it-1,5),K(H,rt-4,4),ut=0;ut<rt;ut++)K(H,H.bl_tree[2*$[ut]+1],3);F(H,H.dyn_ltree,J-1),F(H,H.dyn_dtree,it-1)}(o,o.l_desc.max_code+1,o.d_desc.max_code+1,q+1),ft(o,o.dyn_ltree,o.dyn_dtree)),et(o),N&&nt(o)},y._tr_tally=function(o,x,P){return o.pending_buf[o.d_buf+2*o.last_lit]=x>>>8&255,o.pending_buf[o.d_buf+2*o.last_lit+1]=255&x,o.pending_buf[o.l_buf+o.last_lit]=255&P,o.last_lit++,x===0?o.dyn_ltree[2*P]++:(o.matches++,x--,o.dyn_ltree[2*(e[P]+_+1)]++,o.dyn_dtree[2*I(x)]++),o.last_lit===o.lit_bufsize-1},y._tr_align=function(o){K(o,2,3),G(o,k,X),function(x){x.bi_valid===16?(Y(x,x.bi_buf),x.bi_buf=0,x.bi_valid=0):8<=x.bi_valid&&(x.pending_buf[x.pending++]=255&x.bi_buf,x.bi_buf>>=8,x.bi_valid-=8)}(o)}},{"../utils/common":41}],53:[function(u,C,y){C.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(u,C,y){(function(l){(function(a,r){if(!a.setImmediate){var h,d,v,_,m=1,i={},p=!1,n=a.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(a);c=c&&c.setTimeout?c:a,h={}.toString.call(a.process)==="[object process]"?function(z){process.nextTick(function(){g(z)})}:function(){if(a.postMessage&&!a.importScripts){var z=!0,E=a.onmessage;return a.onmessage=function(){z=!1},a.postMessage("","*"),a.onmessage=E,z}}()?(_="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",k,!1):a.attachEvent("onmessage",k),function(z){a.postMessage(_+z,"*")}):a.MessageChannel?((v=new MessageChannel).port1.onmessage=function(z){g(z.data)},function(z){v.port2.postMessage(z)}):n&&"onreadystatechange"in n.createElement("script")?(d=n.documentElement,function(z){var E=n.createElement("script");E.onreadystatechange=function(){g(z),E.onreadystatechange=null,d.removeChild(E),E=null},d.appendChild(E)}):function(z){setTimeout(g,0,z)},c.setImmediate=function(z){typeof z!="function"&&(z=new Function(""+z));for(var E=new Array(arguments.length-1),j=0;j<E.length;j++)E[j]=arguments[j+1];var R={callback:z,args:E};return i[m]=R,h(m),m++},c.clearImmediate=s}function s(z){delete i[z]}function g(z){if(p)setTimeout(g,0,z);else{var E=i[z];if(E){p=!0;try{(function(j){var R=j.callback,W=j.args;switch(W.length){case 0:R();break;case 1:R(W[0]);break;case 2:R(W[0],W[1]);break;case 3:R(W[0],W[1],W[2]);break;default:R.apply(r,W)}})(E)}finally{s(z),p=!1}}}}function k(z){z.source===a&&typeof z.data=="string"&&z.data.indexOf(_)===0&&g(+z.data.slice(_.length))}})(typeof self>"u"?l===void 0?this:l:self)}).call(this,typeof mt.commonjsGlobal<"u"?mt.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Wt);const Zt=Wt.exports;var Mt={exports:{}};(function(w,S){(function(u,C){C()})(mt.commonjsGlobal,function(){function u(d,v){return typeof v>"u"?v={autoBom:!1}:typeof v!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.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 C(d,v,_){var m=new XMLHttpRequest;m.open("GET",d),m.responseType="blob",m.onload=function(){h(m.response,v,_)},m.onerror=function(){console.error("could not download file")},m.send()}function y(d){var v=new XMLHttpRequest;v.open("HEAD",d,!1);try{v.send()}catch{}return 200<=v.status&&299>=v.status}function l(d){try{d.dispatchEvent(new MouseEvent("click"))}catch{var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),d.dispatchEvent(v)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof mt.commonjsGlobal=="object"&&mt.commonjsGlobal.global===mt.commonjsGlobal?mt.commonjsGlobal:void 0,r=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(d,v,_){var m=a.URL||a.webkitURL,i=document.createElement("a");v=v||d.name||"download",i.download=v,i.rel="noopener",typeof d=="string"?(i.href=d,i.origin===location.origin?l(i):y(i.href)?C(d,v,_):l(i,i.target="_blank")):(i.href=m.createObjectURL(d),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){l(i)},0))}:"msSaveOrOpenBlob"in navigator?function(d,v,_){if(v=v||d.name||"download",typeof d!="string")navigator.msSaveOrOpenBlob(u(d,_),v);else if(y(d))C(d,v,_);else{var m=document.createElement("a");m.href=d,m.target="_blank",setTimeout(function(){l(m)})}}:function(d,v,_,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof d=="string")return C(d,v,_);var i=d.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,n=/CriOS\/[\d]+/.test(navigator.userAgent);if((n||i&&p||r)&&typeof FileReader<"u"){var c=new FileReader;c.onloadend=function(){var k=c.result;k=n?k:k.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=k:location=k,m=null},c.readAsDataURL(d)}else{var s=a.URL||a.webkitURL,g=s.createObjectURL(d);m?m.location=g:location.href=g,m=null,setTimeout(function(){s.revokeObjectURL(g)},4e4)}});a.saveAs=h.saveAs=h,w.exports=h})})(Mt);const Ht=Mt.exports;const se={name:"GdPageBuild",data(){return{statu:!1,showComponents:[],menuId:"",loading:!1,record:{},show:!1,height:0,allElements:[],timeOut:null,loadElementsList:[],imgList:[],currentImg:""}},computed:{gclass(){return this.expansion.customClass?`${this.expansion.customClass}`:""},zhig(){return this.tableSize==="medium"?12+26:12+24},expansion(){return this.record.expansion?JSON.parse(this.record.expansion):{padding:[12,12,12,12],margin:[0,0,0,0],bjColor:"#fff",radius:[0,0,0,0],customCss:"",customClass:""}},style(){const w=this.height+this.zhig-12,S=this.height==0?`min-height:calc(100vh - 45px - ${w}px );`:`min-height:${w}px;`,u=this.record.customCss?this.record.customCss:"";return`${S}${It(this.expansion)}${u}`},...St.mapGetters(["screenHeight","tableSize","seekTableId"])},watch:{screenHeight(){this.getHeight()}},components:{BuildBlocks:qt.BuildBlocks},methods:{clearShowComponents(){this.showComponents=[]},viewFormDetailsApi(w){if(!w.data)return;const S=decodeURIComponent(w.data),u=S.indexOf("?")===-1?S:S.slice(0,S.indexOf("?")),C=gt.getParamsQuery(S);At.post(u,C).then(y=>{y.code===200&&this.viewFormDetails({data:y.data})})},viewFormDetails(w){this.showComponents=["viewFormDetails"],this.$nextTick(()=>{setTimeout(()=>{this.$refs.viewFormDetails.open(w.data)},0)})},baseOpenApiLink(w){if(!w.data)return;const S=decodeURIComponent(w.data),u=S.indexOf("?")===-1?S:S.slice(0,S.indexOf("?")),C=gt.getParamsQuery(S);At.post(u,C).then(y=>{if(y.code===200){const l=w.source.linkWindowKey?w.source.linkWindowKey:w.source.key;window.open(y.data,l)}})},baseRouterPush(w){if(!w.data)return;gt.isValidURL(w.data)?window.open(w.data,"_self"):this.$router.push(w.data)},baseOpenLink(w){if(!w.data)return;const S=w.source.linkWindowKey?w.source.linkWindowKey:w.source.key;window.open(w.data,S)},closed(w){this.showComponents=this.showComponents.filter(S=>S!==w)},baseFileImg(w){this.showComponents=["imgPreview"],this.getSysFileInfoPreview(w).then(S=>{this.imgList=[S],this.currentImg=S,this.$nextTick(()=>{setTimeout(()=>{this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open(),this.statu=!1},0)})}).catch(()=>{this.statu=!1})},getSysFileInfoPreview(w){return w.url?new Promise((S,u)=>{S(w.url)}):zt.sysFileInfoPreview({id:w.id}).then(S=>window.URL.createObjectURL(new Blob([S])))},baseFilePreview(w){if(this.statu)return;this.statu=!0;let S=[];if(w.data&>.isJson(w.data)?S=JSON.parse(w.data):w.data&>.isJson(w.data.attachments)?S=JSON.parse(w.data.attachments):w.data&&Array.isArray(w.data)&&(S=w.data),S.length===0){this.statu=!1,this.$message.warning(this.$i18nt("gd.https.fileNotFoundTip","\u672A\u627E\u5230\u6307\u5B9A\u6587\u4EF6"));return}const u=S[0],C=u.fileoriginname.substr(u.fileoriginname.lastIndexOf(".")+1).toLowerCase();if(["gif","jpeg","png","jpg","JPG","PNG","bmp","BMP"].includes(C)){this.baseFileImg(u);return}let y={name:u.fileoriginname,fileId:u.id,fullscreen:!0};this.showComponents=["filePreview"],this.$nextTick(()=>{setTimeout(()=>{this.$refs.filePreview.open(y),this.statu=!1},200)})},baseFileDown(w){if(this.statu)return;this.statu=!0;let S=[];if(w.data&>.isJson(w.data)?S=JSON.parse(w.data):w.data&>.isJson(w.data.attachments)?S=JSON.parse(w.data.attachments):w.data&&Array.isArray(w.data)&&(S=w.data),S.length===0){this.statu=!1,this.$message.warning(this.$i18nt("gd.https.fileNotFoundTip","\u672A\u627E\u5230\u6307\u5B9A\u6587\u4EF6"));return}let u=new Date().getTime()+gt.uuid(8);const C=this.$message({message:S.length===1?this.$i18nt("gd.https.downloading","\u6B63\u5728\u4E0B\u8F7D\u4E2D......"):this.$i18nt("gd.https.downloading","\u6B63\u5728\u5BFC\u51FA\u4E2D..."),duration:0,iconClass:"el-icon-loading"});if(S.length===1){this.getFileBlob(S[0]).then(r=>{if(r){const h=S[0].fileoriginname?S[0].fileoriginname:"",d=h?h.substr(h.lastIndexOf(".")+1).toLowerCase():"",v=new Blob([r],{type:this.getBlobType(d)}),_=URL.createObjectURL(v);let m=document.createElement("a");m.style.display="none",m.href=_,m.download=S[0].fileoriginname?S[0].fileoriginname:u,m.click(),setTimeout(()=>{C.close(),this.statu=!1,URL.revokeObjectURL(m.href)},1e3)}else C.close(),this.statu=!1,this.$message.error(r.message)});return}let y=new Zt,l=[],a={};S.forEach(r=>{let h=this.getFileBlob(r).then(d=>{y.file(r.fileoriginname,d,{binary:!0}),a[r.fileoriginname]=d});l.push(h)}),Promise.all(l).then(()=>{y.generateAsync({type:"blob"}).then(r=>{Ht.saveAs(r,u),C.close(),this.statu=!1})}).catch(r=>{C.close(),this.statu=!1,this.$message.error("err!")})},doEventDataList(w,S){const u=S.executeEvent?S.executeEvent:[];if(u.length===0)return;if(u.length===1&&u[0].executeEvent){u[0].executeEvent(w);return}const C=u.filter(y=>y.id===w.id)[0];C&&C.executeEvent&&C.executeEvent(w)},doEvent(w,S="execute"){if(S==="execute"){this.doEventSys(w);return}const u=this.allElements.filter(C=>C.key===w.key)[0];if(u&&u.type==="dataList"){this.doEventDataList(w,u);return}u&&u.executeEvent&&u.executeEvent(w)},doEventSys(w){if(w.key==="GdFilePreview"){w.functionName==="gd-file-preview"?this.baseFilePreview(w):this.baseFileDown(w);return}if(w.key==="GdOpenLink"){w.functionName==="gd-win-open-link"&&this.baseOpenLink(w),w.functionName==="gd-router-push"&&this.baseRouterPush(w),w.functionName==="gd-win-open-api"&&this.baseOpenApiLink(w);return}if(w.key==="GdViewFormDetails"){w.functionName==="gd-details-open"&&this.viewFormDetails(w),w.functionName==="gd-details-open-api"&&this.viewFormDetailsApi(w);return}const S=this.allElements.filter(u=>u.key===w.key)[0];if(S&&S.type==="dataList"){this.doEventDataList(w,S);return}S&&S.executeEvent&&S.executeEvent(w)},eventsCall(w){if(w.functionName===void 0||w.key===void 0||w.key===""||w.key===null)return;const S=w.functionName,u=w.key||"",C=w.item||"",y=w.data||{},l=this.allElements.filter(a=>a[u]===C)[0];l&&l[S]&&l[S](y)},getComponentParameters(w,S="key"){return this.allElements.filter(C=>C[S]===w)[0]},hasLoad(w){w&&this.timeOut&&clearTimeout(this.timeOut),this.loadElementsList=this.loadElementsList.concat(w)},hideLoad(w){this.loadElementsList=this.loadElementsList.filter(S=>S!==w),!(this.loadElementsList.length>0)&&(this.loading=!1)},baseLoadElements(){let w=[];const S=u=>(u=u.filter((C,y)=>(C.doEvent===void 0&&(C.hasLoad=this.hasLoad,C.hideLoad=this.hideLoad,C.eventsCall=this.eventsCall,C.doEvent=this.doEvent,C.doEventSys=this.doEventSys,C.getComponentData=this.getComponentParameters),C.type==="table"&&(C.config=Object.assign({...this.record},{pageContent:[]})),w.push(C),C.columns?C.columns.forEach(l=>{S(l.list)}):C.list&&S(C.list),!0)),u);S(this.record.options.list),this.allElements=w},init(){this.loading=!0,this.show=!1,Jt.sysMenuDetail({id:this.menuId}).then(w=>{w.code===200&&(this.record=Object.assign(w.data,{options:JSON.parse(w.data.pagecontent)}),this.SeekTableId(this.record.syscodegenname?this.record.syscodegenname:""),this.baseLoadElements()),this.$nextTick(()=>{this.getHeight().then(()=>{this.show=!0,this.timeOut=setTimeout(()=>{this.loading=!1},300)})})})},getHeight(){return new Promise(w=>{const S=document.getElementById("gd-layout-head-height"),u=S?S.offsetHeight:0;this.height=this.screenHeight-u-this.zhig,w()})},getBlobType(w){let S="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return w==="pdf"?S="application/pdf":w==="docx"&&(S="application/msword"),S},getFileBlob(w){return zt.sysFileInfoDownload({id:w.id}).then(S=>S.data)},...St.mapActions(["SeekTableId"])},mounted(){this.menuId=this.$route.meta.id,this.init()},beforeDestroy(){this._watcher&&this._watcher.teardown(),this.show=!1,this.timeOut&&clearTimeout(this.timeOut),this.record=null,this.allElements=[]}};var ae=function(){var S=this,u=S._self._c;return u("div",{directives:[{name:"loading",rawName:"v-loading",value:S.loading,expression:"loading"}],staticClass:"gd-page-bulid",class:S.gclass,style:S.style},[S.loading?u("div",{staticClass:"bulid-loading"},[u("gd-view-loading",{attrs:{height:S.height}})],1):S._e(),S.show?u("BuildBlocks",{attrs:{record:S.record,height:S.height}}):S._e(),u("gd-file-preview",{ref:"filePreview",attrs:{options:{},hasFullscreen:!0},on:{closed:function(C){return S.closed("filePreview")}}}),S.showComponents.includes("imgPreview")?u("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:S.imgList.length>0,imgList:S.imgList,currentImg:S.currentImg}}):S._e(),S.showComponents.includes("viewFormDetails")?u("gd-view-form-details",{ref:"viewFormDetails",on:{close:S.clearShowComponents}}):S._e()],1)},oe=[],le=St.normalizeComponent(se,ae,oe,!1,null,"207925cc",null,null);const he=le.exports;exports.FileSaver=Ht;exports.GDpackage=he;exports.JSZip=Zt;exports.backgroundData=Dt;exports.colorData=Ft;exports.fontSize=Lt;exports.fontWeight=jt;exports.getCss=It;exports.justifyContent=Ut;exports.lineHeight=Tt;exports.marginData=Bt;exports.maxLineClamp=Pt;exports.paddingData=Ot;exports.radiusData=Rt;exports.widthData=Nt;
|
|
12
|
+
\0`,K+=l(O,2),K+=j.magic,K+=l(k,2),K+=l(z,2),K+=l(V.crc32,4),K+=l(V.compressedSize,4),K+=l(V.uncompressedSize,4),K+=l(W.length,2),K+=l(L.length,2),{fileRecord:_.LOCAL_FILE_HEADER+K+W+L,dirRecord:_.CENTRAL_FILE_HEADER+l(Y,2)+K+l(X.length,2)+"\0\0\0\0"+l(I,4)+l(c,4)+W+L+X}}var r=u("../utils"),h=u("../stream/GenericWorker"),d=u("../utf8"),v=u("../crc32"),_=u("../signature");function m(i,p,n,c){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=n,this.encodeFileName=c,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}r.inherits(m,h),m.prototype.push=function(i){var p=i.meta.percent||0,n=this.entriesCount,c=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,h.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:n?(p+100*(n-c-1))/n:100}}))},m.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var p=this.streamFiles&&!i.file.dir;if(p){var n=a(i,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(i){this.accumulate=!1;var p=this.streamFiles&&!i.file.dir,n=a(i,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),p)this.push({data:function(c){return _.DATA_DESCRIPTOR+l(c.crc32,4)+l(c.compressedSize,4)+l(c.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var i=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var n=this.bytesWritten-i,c=function(s,g,k,z,E){var j=r.transformTo("string",E(z));return _.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(s,2)+l(s,2)+l(g,4)+l(k,4)+l(j.length,2)+j}(this.dirRecords.length,n,i,this.zipComment,this.encodeFileName);this.push({data:c,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(i){this._sources.push(i);var p=this;return i.on("data",function(n){p.processChunk(n)}),i.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),i.on("error",function(n){p.error(n)}),this},m.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(i){var p=this._sources;if(!h.prototype.error.call(this,i))return!1;for(var n=0;n<p.length;n++)try{p[n].error(i)}catch{}return!0},m.prototype.lock=function(){h.prototype.lock.call(this);for(var i=this._sources,p=0;p<i.length;p++)i[p].lock()},C.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(u,C,y){var l=u("../compressions"),a=u("./ZipFileWorker");y.generateWorker=function(r,h,d){var v=new a(h.streamFiles,d,h.platform,h.encodeFileName),_=0;try{r.forEach(function(m,i){_++;var p=function(g,k){var z=g||k,E=l[z];if(!E)throw new Error(z+" is not a valid compression method !");return E}(i.options.compression,h.compression),n=i.options.compressionOptions||h.compressionOptions||{},c=i.dir,s=i.date;i._compressWorker(p,n).withStreamInfo("file",{name:m,dir:c,date:s,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(v)}),v.entriesCount=_}catch(m){v.error(m)}return v}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(u,C,y){function l(){if(!(this instanceof l))return new l;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 a=new l;for(var r in this)typeof this[r]!="function"&&(a[r]=this[r]);return a}}(l.prototype=u("./object")).loadAsync=u("./load"),l.support=u("./support"),l.defaults=u("./defaults"),l.version="3.10.1",l.loadAsync=function(a,r){return new l().loadAsync(a,r)},l.external=u("./external"),C.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(u,C,y){var l=u("./utils"),a=u("./external"),r=u("./utf8"),h=u("./zipEntries"),d=u("./stream/Crc32Probe"),v=u("./nodejsUtils");function _(m){return new a.Promise(function(i,p){var n=m.decompressed.getContentWorker().pipe(new d);n.on("error",function(c){p(c)}).on("end",function(){n.streamInfo.crc32!==m.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}C.exports=function(m,i){var p=this;return i=l.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:r.utf8decode}),v.isNode&&v.isStream(m)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",m,!0,i.optimizedBinaryString,i.base64).then(function(n){var c=new h(i);return c.load(n),c}).then(function(n){var c=[a.Promise.resolve(n)],s=n.files;if(i.checkCRC32)for(var g=0;g<s.length;g++)c.push(_(s[g]));return a.Promise.all(c)}).then(function(n){for(var c=n.shift(),s=c.files,g=0;g<s.length;g++){var k=s[g],z=k.fileNameStr,E=l.resolve(k.fileNameStr);p.file(E,k.decompressed,{binary:!0,optimizedBinaryString:!0,date:k.date,dir:k.dir,comment:k.fileCommentStr.length?k.fileCommentStr:null,unixPermissions:k.unixPermissions,dosPermissions:k.dosPermissions,createFolders:i.createFolders}),k.dir||(p.file(E).unsafeOriginalName=z)}return c.zipComment.length&&(p.comment=c.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(u,C,y){var l=u("../utils"),a=u("../stream/GenericWorker");function r(h,d){a.call(this,"Nodejs stream input adapter for "+h),this._upstreamEnded=!1,this._bindStream(d)}l.inherits(r,a),r.prototype._bindStream=function(h){var d=this;(this._stream=h).pause(),h.on("data",function(v){d.push({data:v,meta:{percent:0}})}).on("error",function(v){d.isPaused?this.generatedError=v:d.error(v)}).on("end",function(){d.isPaused?d._upstreamEnded=!0:d.end()})},r.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},r.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},C.exports=r},{"../stream/GenericWorker":28,"../utils":32}],13:[function(u,C,y){var l=u("readable-stream").Readable;function a(r,h,d){l.call(this,h),this._helper=r;var v=this;r.on("data",function(_,m){v.push(_)||v._helper.pause(),d&&d(m)}).on("error",function(_){v.emit("error",_)}).on("end",function(){v.push(null)})}u("../utils").inherits(a,l),a.prototype._read=function(){this._helper.resume()},C.exports=a},{"../utils":32,"readable-stream":16}],14:[function(u,C,y){C.exports={isNode:typeof Buffer<"u",newBufferFrom:function(l,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,a);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,a)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var a=new Buffer(l);return a.fill(0),a},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(u,C,y){function l(E,j,R){var W,D=r.getTypeOf(j),$=r.extend(R||{},v);$.date=$.date||new Date,$.compression!==null&&($.compression=$.compression.toUpperCase()),typeof $.unixPermissions=="string"&&($.unixPermissions=parseInt($.unixPermissions,8)),$.unixPermissions&&16384&$.unixPermissions&&($.dir=!0),$.dosPermissions&&16&$.dosPermissions&&($.dir=!0),$.dir&&(E=s(E)),$.createFolders&&(W=c(E))&&g.call(this,W,!0);var X=D==="string"&&$.binary===!1&&$.base64===!1;R&&R.binary!==void 0||($.binary=!X),(j instanceof _&&j.uncompressedSize===0||$.dir||!j||j.length===0)&&($.base64=!1,$.binary=!0,j="",$.compression="STORE",D="string");var b=null;b=j instanceof _||j instanceof h?j:p.isNode&&p.isStream(j)?new n(E,j):r.prepareContent(E,j,$.binary,$.optimizedBinaryString,$.base64);var T=new m(E,b,$);this.files[E]=T}var a=u("./utf8"),r=u("./utils"),h=u("./stream/GenericWorker"),d=u("./stream/StreamHelper"),v=u("./defaults"),_=u("./compressedObject"),m=u("./zipObject"),i=u("./generate"),p=u("./nodejsUtils"),n=u("./nodejs/NodejsStreamInputAdapter"),c=function(E){E.slice(-1)==="/"&&(E=E.substring(0,E.length-1));var j=E.lastIndexOf("/");return 0<j?E.substring(0,j):""},s=function(E){return E.slice(-1)!=="/"&&(E+="/"),E},g=function(E,j){return j=j!==void 0?j:v.createFolders,E=s(E),this.files[E]||l.call(this,E,null,{dir:!0,createFolders:j}),this.files[E]};function k(E){return Object.prototype.toString.call(E)==="[object RegExp]"}var z={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(E){var j,R,W;for(j in this.files)W=this.files[j],(R=j.slice(this.root.length,j.length))&&j.slice(0,this.root.length)===this.root&&E(R,W)},filter:function(E){var j=[];return this.forEach(function(R,W){E(R,W)&&j.push(W)}),j},file:function(E,j,R){if(arguments.length!==1)return E=this.root+E,l.call(this,E,j,R),this;if(k(E)){var W=E;return this.filter(function($,X){return!X.dir&&W.test($)})}var D=this.files[this.root+E];return D&&!D.dir?D:null},folder:function(E){if(!E)return this;if(k(E))return this.filter(function(D,$){return $.dir&&E.test(D)});var j=this.root+E,R=g.call(this,j),W=this.clone();return W.root=R.name,W},remove:function(E){E=this.root+E;var j=this.files[E];if(j||(E.slice(-1)!=="/"&&(E+="/"),j=this.files[E]),j&&!j.dir)delete this.files[E];else for(var R=this.filter(function(D,$){return $.name.slice(0,E.length)===E}),W=0;W<R.length;W++)delete this.files[R[W].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(E){var j,R={};try{if((R=r.extend(E||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=R.type.toLowerCase(),R.compression=R.compression.toUpperCase(),R.type==="binarystring"&&(R.type="string"),!R.type)throw new Error("No output type specified.");r.checkSupport(R.type),R.platform!=="darwin"&&R.platform!=="freebsd"&&R.platform!=="linux"&&R.platform!=="sunos"||(R.platform="UNIX"),R.platform==="win32"&&(R.platform="DOS");var W=R.comment||this.comment||"";j=i.generateWorker(this,R,W)}catch(D){(j=new h("error")).error(D)}return new d(j,R.type||"string",R.mimeType)},generateAsync:function(E,j){return this.generateInternalStream(E).accumulate(j)},generateNodeStream:function(E,j){return(E=E||{}).type||(E.type="nodebuffer"),this.generateInternalStream(E).toNodejsStream(j)}};C.exports=z},{"./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(u,C,y){C.exports=u("stream")},{stream:void 0}],17:[function(u,C,y){var l=u("./DataReader");function a(r){l.call(this,r);for(var h=0;h<this.data.length;h++)r[h]=255&r[h]}u("../utils").inherits(a,l),a.prototype.byteAt=function(r){return this.data[this.zero+r]},a.prototype.lastIndexOfSignature=function(r){for(var h=r.charCodeAt(0),d=r.charCodeAt(1),v=r.charCodeAt(2),_=r.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===h&&this.data[m+1]===d&&this.data[m+2]===v&&this.data[m+3]===_)return m-this.zero;return-1},a.prototype.readAndCheckSignature=function(r){var h=r.charCodeAt(0),d=r.charCodeAt(1),v=r.charCodeAt(2),_=r.charCodeAt(3),m=this.readData(4);return h===m[0]&&d===m[1]&&v===m[2]&&_===m[3]},a.prototype.readData=function(r){if(this.checkOffset(r),r===0)return[];var h=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./DataReader":18}],18:[function(u,C,y){var l=u("../utils");function a(r){this.data=r,this.length=r.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(r){this.checkIndex(this.index+r)},checkIndex:function(r){if(this.length<this.zero+r||r<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+r+"). Corrupted zip ?")},setIndex:function(r){this.checkIndex(r),this.index=r},skip:function(r){this.setIndex(this.index+r)},byteAt:function(){},readInt:function(r){var h,d=0;for(this.checkOffset(r),h=this.index+r-1;h>=this.index;h--)d=(d<<8)+this.byteAt(h);return this.index+=r,d},readString:function(r){return l.transformTo("string",this.readData(r))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var r=this.readInt(4);return new Date(Date.UTC(1980+(r>>25&127),(r>>21&15)-1,r>>16&31,r>>11&31,r>>5&63,(31&r)<<1))}},C.exports=a},{"../utils":32}],19:[function(u,C,y){var l=u("./Uint8ArrayReader");function a(r){l.call(this,r)}u("../utils").inherits(a,l),a.prototype.readData=function(r){this.checkOffset(r);var h=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(u,C,y){var l=u("./DataReader");function a(r){l.call(this,r)}u("../utils").inherits(a,l),a.prototype.byteAt=function(r){return this.data.charCodeAt(this.zero+r)},a.prototype.lastIndexOfSignature=function(r){return this.data.lastIndexOf(r)-this.zero},a.prototype.readAndCheckSignature=function(r){return r===this.readData(4)},a.prototype.readData=function(r){this.checkOffset(r);var h=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./DataReader":18}],21:[function(u,C,y){var l=u("./ArrayReader");function a(r){l.call(this,r)}u("../utils").inherits(a,l),a.prototype.readData=function(r){if(this.checkOffset(r),r===0)return new Uint8Array(0);var h=this.data.subarray(this.zero+this.index,this.zero+this.index+r);return this.index+=r,h},C.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(u,C,y){var l=u("../utils"),a=u("../support"),r=u("./ArrayReader"),h=u("./StringReader"),d=u("./NodeBufferReader"),v=u("./Uint8ArrayReader");C.exports=function(_){var m=l.getTypeOf(_);return l.checkSupport(m),m!=="string"||a.uint8array?m==="nodebuffer"?new d(_):a.uint8array?new v(l.transformTo("uint8array",_)):new r(l.transformTo("array",_)):new h(_)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(u,C,y){y.LOCAL_FILE_HEADER="PK",y.CENTRAL_FILE_HEADER="PK",y.CENTRAL_DIRECTORY_END="PK",y.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",y.ZIP64_CENTRAL_DIRECTORY_END="PK",y.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(u,C,y){var l=u("./GenericWorker"),a=u("../utils");function r(h){l.call(this,"ConvertWorker to "+h),this.destType=h}a.inherits(r,l),r.prototype.processChunk=function(h){this.push({data:a.transformTo(this.destType,h.data),meta:h.meta})},C.exports=r},{"../utils":32,"./GenericWorker":28}],25:[function(u,C,y){var l=u("./GenericWorker"),a=u("../crc32");function r(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}u("../utils").inherits(r,l),r.prototype.processChunk=function(h){this.streamInfo.crc32=a(h.data,this.streamInfo.crc32||0),this.push(h)},C.exports=r},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(u,C,y){var l=u("../utils"),a=u("./GenericWorker");function r(h){a.call(this,"DataLengthProbe for "+h),this.propName=h,this.withStreamInfo(h,0)}l.inherits(r,a),r.prototype.processChunk=function(h){if(h){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+h.data.length}a.prototype.processChunk.call(this,h)},C.exports=r},{"../utils":32,"./GenericWorker":28}],27:[function(u,C,y){var l=u("../utils"),a=u("./GenericWorker");function r(h){a.call(this,"DataWorker");var d=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,h.then(function(v){d.dataIsReady=!0,d.data=v,d.max=v&&v.length||0,d.type=l.getTypeOf(v),d.isPaused||d._tickAndRepeat()},function(v){d.error(v)})}l.inherits(r,a),r.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var h=null,d=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":h=this.data.substring(this.index,d);break;case"uint8array":h=this.data.subarray(this.index,d);break;case"array":case"nodebuffer":h=this.data.slice(this.index,d)}return this.index=d,this.push({data:h,meta:{percent:this.max?this.index/this.max*100:0}})},C.exports=r},{"../utils":32,"./GenericWorker":28}],28:[function(u,C,y){function l(a){this.name=a||"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}l.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,r){return this._listeners[a].push(r),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,r){if(this._listeners[a])for(var h=0;h<this._listeners[a].length;h++)this._listeners[a][h].call(this,r)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var r=this;return a.on("data",function(h){r.processChunk(h)}),a.on("end",function(){r.end()}),a.on("error",function(h){r.error(h)}),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 a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,r){return this.extraStreamInfo[a]=r,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},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 a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},C.exports=l},{}],29:[function(u,C,y){var l=u("../utils"),a=u("./ConvertWorker"),r=u("./GenericWorker"),h=u("../base64"),d=u("../support"),v=u("../external"),_=null;if(d.nodestream)try{_=u("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(p,n){return new v.Promise(function(c,s){var g=[],k=p._internalType,z=p._outputType,E=p._mimeType;p.on("data",function(j,R){g.push(j),n&&n(R)}).on("error",function(j){g=[],s(j)}).on("end",function(){try{var j=function(R,W,D){switch(R){case"blob":return l.newBlob(l.transformTo("arraybuffer",W),D);case"base64":return h.encode(W);default:return l.transformTo(R,W)}}(z,function(R,W){var D,$=0,X=null,b=0;for(D=0;D<W.length;D++)b+=W[D].length;switch(R){case"string":return W.join("");case"array":return Array.prototype.concat.apply([],W);case"uint8array":for(X=new Uint8Array(b),D=0;D<W.length;D++)X.set(W[D],$),$+=W[D].length;return X;case"nodebuffer":return Buffer.concat(W);default:throw new Error("concat : unsupported type '"+R+"'")}}(k,g),E);c(j)}catch(R){s(R)}g=[]}).resume()})}function i(p,n,c){var s=n;switch(n){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=n,this._mimeType=c,l.checkSupport(s),this._worker=p.pipe(new a(s)),p.lock()}catch(g){this._worker=new r("error"),this._worker.error(g)}}i.prototype={accumulate:function(p){return m(this,p)},on:function(p,n){var c=this;return p==="data"?this._worker.on(p,function(s){n.call(c,s.data,s.meta)}):this._worker.on(p,function(){l.delay(n,arguments,c)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new _(this,{objectMode:this._outputType!=="nodebuffer"},p)}},C.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(u,C,y){if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",y.nodebuffer=typeof Buffer<"u",y.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")y.blob=!1;else{var l=new ArrayBuffer(0);try{y.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(l),y.blob=a.getBlob("application/zip").size===0}catch{y.blob=!1}}}try{y.nodestream=!!u("readable-stream").Readable}catch{y.nodestream=!1}},{"readable-stream":16}],31:[function(u,C,y){for(var l=u("./utils"),a=u("./support"),r=u("./nodejsUtils"),h=u("./stream/GenericWorker"),d=new Array(256),v=0;v<256;v++)d[v]=252<=v?6:248<=v?5:240<=v?4:224<=v?3:192<=v?2:1;d[254]=d[254]=1;function _(){h.call(this,"utf-8 decode"),this.leftOver=null}function m(){h.call(this,"utf-8 encode")}y.utf8encode=function(i){return a.nodebuffer?r.newBufferFrom(i,"utf-8"):function(p){var n,c,s,g,k,z=p.length,E=0;for(g=0;g<z;g++)(64512&(c=p.charCodeAt(g)))==55296&&g+1<z&&(64512&(s=p.charCodeAt(g+1)))==56320&&(c=65536+(c-55296<<10)+(s-56320),g++),E+=c<128?1:c<2048?2:c<65536?3:4;for(n=a.uint8array?new Uint8Array(E):new Array(E),g=k=0;k<E;g++)(64512&(c=p.charCodeAt(g)))==55296&&g+1<z&&(64512&(s=p.charCodeAt(g+1)))==56320&&(c=65536+(c-55296<<10)+(s-56320),g++),c<128?n[k++]=c:(c<2048?n[k++]=192|c>>>6:(c<65536?n[k++]=224|c>>>12:(n[k++]=240|c>>>18,n[k++]=128|c>>>12&63),n[k++]=128|c>>>6&63),n[k++]=128|63&c);return n}(i)},y.utf8decode=function(i){return a.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):function(p){var n,c,s,g,k=p.length,z=new Array(2*k);for(n=c=0;n<k;)if((s=p[n++])<128)z[c++]=s;else if(4<(g=d[s]))z[c++]=65533,n+=g-1;else{for(s&=g===2?31:g===3?15:7;1<g&&n<k;)s=s<<6|63&p[n++],g--;1<g?z[c++]=65533:s<65536?z[c++]=s:(s-=65536,z[c++]=55296|s>>10&1023,z[c++]=56320|1023&s)}return z.length!==c&&(z.subarray?z=z.subarray(0,c):z.length=c),l.applyFromCharCode(z)}(i=l.transformTo(a.uint8array?"uint8array":"array",i))},l.inherits(_,h),_.prototype.processChunk=function(i){var p=l.transformTo(a.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var n=p;(p=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),p.set(n,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var c=function(g,k){var z;for((k=k||g.length)>g.length&&(k=g.length),z=k-1;0<=z&&(192&g[z])==128;)z--;return z<0||z===0?k:z+d[g[z]]>k?z:k}(p),s=p;c!==p.length&&(a.uint8array?(s=p.subarray(0,c),this.leftOver=p.subarray(c,p.length)):(s=p.slice(0,c),this.leftOver=p.slice(c,p.length))),this.push({data:y.utf8decode(s),meta:i.meta})},_.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=_,l.inherits(m,h),m.prototype.processChunk=function(i){this.push({data:y.utf8encode(i.data),meta:i.meta})},y.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(u,C,y){var l=u("./support"),a=u("./base64"),r=u("./nodejsUtils"),h=u("./external");function d(n){return n}function v(n,c){for(var s=0;s<n.length;++s)c[s]=255&n.charCodeAt(s);return c}u("setimmediate"),y.newBlob=function(n,c){y.checkSupport("blob");try{return new Blob([n],{type:c})}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return s.append(n),s.getBlob(c)}catch{throw new Error("Bug : can't construct the Blob.")}}};var _={stringifyByChunk:function(n,c,s){var g=[],k=0,z=n.length;if(z<=s)return String.fromCharCode.apply(null,n);for(;k<z;)c==="array"||c==="nodebuffer"?g.push(String.fromCharCode.apply(null,n.slice(k,Math.min(k+s,z)))):g.push(String.fromCharCode.apply(null,n.subarray(k,Math.min(k+s,z)))),k+=s;return g.join("")},stringifyByChar:function(n){for(var c="",s=0;s<n.length;s++)c+=String.fromCharCode(n[s]);return c},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,r.allocBuffer(1)).length===1}catch{return!1}}()}};function m(n){var c=65536,s=y.getTypeOf(n),g=!0;if(s==="uint8array"?g=_.applyCanBeUsed.uint8array:s==="nodebuffer"&&(g=_.applyCanBeUsed.nodebuffer),g)for(;1<c;)try{return _.stringifyByChunk(n,s,c)}catch{c=Math.floor(c/2)}return _.stringifyByChar(n)}function i(n,c){for(var s=0;s<n.length;s++)c[s]=n[s];return c}y.applyFromCharCode=m;var p={};p.string={string:d,array:function(n){return v(n,new Array(n.length))},arraybuffer:function(n){return p.string.uint8array(n).buffer},uint8array:function(n){return v(n,new Uint8Array(n.length))},nodebuffer:function(n){return v(n,r.allocBuffer(n.length))}},p.array={string:m,array:d,arraybuffer:function(n){return new Uint8Array(n).buffer},uint8array:function(n){return new Uint8Array(n)},nodebuffer:function(n){return r.newBufferFrom(n)}},p.arraybuffer={string:function(n){return m(new Uint8Array(n))},array:function(n){return i(new Uint8Array(n),new Array(n.byteLength))},arraybuffer:d,uint8array:function(n){return new Uint8Array(n)},nodebuffer:function(n){return r.newBufferFrom(new Uint8Array(n))}},p.uint8array={string:m,array:function(n){return i(n,new Array(n.length))},arraybuffer:function(n){return n.buffer},uint8array:d,nodebuffer:function(n){return r.newBufferFrom(n)}},p.nodebuffer={string:m,array:function(n){return i(n,new Array(n.length))},arraybuffer:function(n){return p.nodebuffer.uint8array(n).buffer},uint8array:function(n){return i(n,new Uint8Array(n.length))},nodebuffer:d},y.transformTo=function(n,c){if(c=c||"",!n)return c;y.checkSupport(n);var s=y.getTypeOf(c);return p[s][n](c)},y.resolve=function(n){for(var c=n.split("/"),s=[],g=0;g<c.length;g++){var k=c[g];k==="."||k===""&&g!==0&&g!==c.length-1||(k===".."?s.pop():s.push(k))}return s.join("/")},y.getTypeOf=function(n){return typeof n=="string"?"string":Object.prototype.toString.call(n)==="[object Array]"?"array":l.nodebuffer&&r.isBuffer(n)?"nodebuffer":l.uint8array&&n instanceof Uint8Array?"uint8array":l.arraybuffer&&n instanceof ArrayBuffer?"arraybuffer":void 0},y.checkSupport=function(n){if(!l[n.toLowerCase()])throw new Error(n+" is not supported by this platform")},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(n){var c,s,g="";for(s=0;s<(n||"").length;s++)g+="\\x"+((c=n.charCodeAt(s))<16?"0":"")+c.toString(16).toUpperCase();return g},y.delay=function(n,c,s){setImmediate(function(){n.apply(s||null,c||[])})},y.inherits=function(n,c){function s(){}s.prototype=c.prototype,n.prototype=new s},y.extend=function(){var n,c,s={};for(n=0;n<arguments.length;n++)for(c in arguments[n])Object.prototype.hasOwnProperty.call(arguments[n],c)&&s[c]===void 0&&(s[c]=arguments[n][c]);return s},y.prepareContent=function(n,c,s,g,k){return h.Promise.resolve(c).then(function(z){return l.blob&&(z instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(z))!==-1)&&typeof FileReader<"u"?new h.Promise(function(E,j){var R=new FileReader;R.onload=function(W){E(W.target.result)},R.onerror=function(W){j(W.target.error)},R.readAsArrayBuffer(z)}):z}).then(function(z){var E=y.getTypeOf(z);return E?(E==="arraybuffer"?z=y.transformTo("uint8array",z):E==="string"&&(k?z=a.decode(z):s&&g!==!0&&(z=function(j){return v(j,l.uint8array?new Uint8Array(j.length):new Array(j.length))}(z))),z):h.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(u,C,y){var l=u("./reader/readerFor"),a=u("./utils"),r=u("./signature"),h=u("./zipEntry"),d=u("./support");function v(_){this.files=[],this.loadOptions=_}v.prototype={checkSignature:function(_){if(!this.reader.readAndCheckSignature(_)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(m)+", expected "+a.pretty(_)+")")}},isSignature:function(_,m){var i=this.reader.index;this.reader.setIndex(_);var p=this.reader.readString(4)===m;return this.reader.setIndex(i),p},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 _=this.reader.readData(this.zipCommentLength),m=d.uint8array?"uint8array":"array",i=a.transformTo(m,_);this.zipComment=this.loadOptions.decodeFileName(i)},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 _,m,i,p=this.zip64EndOfCentralSize-44;0<p;)_=this.reader.readInt(2),m=this.reader.readInt(4),i=this.reader.readData(m),this.zip64ExtensibleData[_]={id:_,length:m,value:i}},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 _,m;for(_=0;_<this.files.length;_++)m=this.files[_],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(r.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var _;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(r.CENTRAL_FILE_HEADER);)(_=new h({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(_);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 _=this.reader.lastIndexOfSignature(r.CENTRAL_DIRECTORY_END);if(_<0)throw this.isSignature(0,r.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(_);var m=_;if(this.checkSignature(r.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(_=this.reader.lastIndexOfSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(_),this.checkSignature(r.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,r.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(r.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(r.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var p=m-i;if(0<p)this.isSignature(m,r.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(_){this.reader=l(_)},load:function(_){this.prepareReader(_),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},C.exports=v},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(u,C,y){var l=u("./reader/readerFor"),a=u("./utils"),r=u("./compressedObject"),h=u("./crc32"),d=u("./utf8"),v=u("./compressions"),_=u("./support");function m(i,p){this.options=i,this.loadOptions=p}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var p,n;if(i.skip(22),this.fileNameLength=i.readInt(2),n=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(n),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((p=function(c){for(var s in v)if(Object.prototype.hasOwnProperty.call(v,s)&&v[s].magic===c)return v[s];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new r(this.compressedSize,this.uncompressedSize,this.crc32,p,i.readData(this.compressedSize))},readCentralPart:function(i){this.versionMadeBy=i.readInt(2),i.skip(2),this.bitFlag=i.readInt(2),this.compressionMethod=i.readString(2),this.date=i.readDate(),this.crc32=i.readInt(4),this.compressedSize=i.readInt(4),this.uncompressedSize=i.readInt(4);var p=i.readInt(2);if(this.extraFieldsLength=i.readInt(2),this.fileCommentLength=i.readInt(2),this.diskNumberStart=i.readInt(2),this.internalFileAttributes=i.readInt(2),this.externalFileAttributes=i.readInt(4),this.localHeaderOffset=i.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");i.skip(p),this.readExtraFields(i),this.parseZIP64ExtraField(i),this.fileComment=i.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var i=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),i==0&&(this.dosPermissions=63&this.externalFileAttributes),i==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var i=l(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=i.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=i.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=i.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=i.readInt(4))}},readExtraFields:function(i){var p,n,c,s=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<s;)p=i.readInt(2),n=i.readInt(2),c=i.readData(n),this.extraFields[p]={id:p,length:n,value:c};i.setIndex(s)},handleUTF8:function(){var i=_.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=d.utf8decode(this.fileName),this.fileCommentStr=d.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var n=a.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var c=this.findExtraFieldUnicodeComment();if(c!==null)this.fileCommentStr=c;else{var s=a.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var p=l(i.value);return p.readInt(1)!==1||h(this.fileName)!==p.readInt(4)?null:d.utf8decode(p.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var p=l(i.value);return p.readInt(1)!==1||h(this.fileComment)!==p.readInt(4)?null:d.utf8decode(p.readData(i.length-5))}return null}},C.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(u,C,y){function l(p,n,c){this.name=p,this.dir=c.dir,this.date=c.date,this.comment=c.comment,this.unixPermissions=c.unixPermissions,this.dosPermissions=c.dosPermissions,this._data=n,this._dataBinary=c.binary,this.options={compression:c.compression,compressionOptions:c.compressionOptions}}var a=u("./stream/StreamHelper"),r=u("./stream/DataWorker"),h=u("./utf8"),d=u("./compressedObject"),v=u("./stream/GenericWorker");l.prototype={internalStream:function(p){var n=null,c="string";try{if(!p)throw new Error("No output type specified.");var s=(c=p.toLowerCase())==="string"||c==="text";c!=="binarystring"&&c!=="text"||(c="string"),n=this._decompressWorker();var g=!this._dataBinary;g&&!s&&(n=n.pipe(new h.Utf8EncodeWorker)),!g&&s&&(n=n.pipe(new h.Utf8DecodeWorker))}catch(k){(n=new v("error")).error(k)}return new a(n,c,"")},async:function(p,n){return this.internalStream(p).accumulate(n)},nodeStream:function(p,n){return this.internalStream(p||"nodebuffer").toNodejsStream(n)},_compressWorker:function(p,n){if(this._data instanceof d&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var c=this._decompressWorker();return this._dataBinary||(c=c.pipe(new h.Utf8EncodeWorker)),d.createWorkerFrom(c,p,n)},_decompressWorker:function(){return this._data instanceof d?this._data.getContentWorker():this._data instanceof v?this._data:new r(this._data)}};for(var _=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<_.length;i++)l.prototype[_[i]]=m;C.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(u,C,y){(function(l){var a,r,h=l.MutationObserver||l.WebKitMutationObserver;if(h){var d=0,v=new h(p),_=l.document.createTextNode("");v.observe(_,{characterData:!0}),a=function(){_.data=d=++d%2}}else if(l.setImmediate||l.MessageChannel===void 0)a="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var n=l.document.createElement("script");n.onreadystatechange=function(){p(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},l.document.documentElement.appendChild(n)}:function(){setTimeout(p,0)};else{var m=new l.MessageChannel;m.port1.onmessage=p,a=function(){m.port2.postMessage(0)}}var i=[];function p(){var n,c;r=!0;for(var s=i.length;s;){for(c=i,i=[],n=-1;++n<s;)c[n]();s=i.length}r=!1}C.exports=function(n){i.push(n)!==1||r||a()}}).call(this,typeof mt.commonjsGlobal<"u"?mt.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(u,C,y){var l=u("immediate");function a(){}var r={},h=["REJECTED"],d=["FULFILLED"],v=["PENDING"];function _(s){if(typeof s!="function")throw new TypeError("resolver must be a function");this.state=v,this.queue=[],this.outcome=void 0,s!==a&&n(this,s)}function m(s,g,k){this.promise=s,typeof g=="function"&&(this.onFulfilled=g,this.callFulfilled=this.otherCallFulfilled),typeof k=="function"&&(this.onRejected=k,this.callRejected=this.otherCallRejected)}function i(s,g,k){l(function(){var z;try{z=g(k)}catch(E){return r.reject(s,E)}z===s?r.reject(s,new TypeError("Cannot resolve promise with itself")):r.resolve(s,z)})}function p(s){var g=s&&s.then;if(s&&(typeof s=="object"||typeof s=="function")&&typeof g=="function")return function(){g.apply(s,arguments)}}function n(s,g){var k=!1;function z(R){k||(k=!0,r.reject(s,R))}function E(R){k||(k=!0,r.resolve(s,R))}var j=c(function(){g(E,z)});j.status==="error"&&z(j.value)}function c(s,g){var k={};try{k.value=s(g),k.status="success"}catch(z){k.status="error",k.value=z}return k}(C.exports=_).prototype.finally=function(s){if(typeof s!="function")return this;var g=this.constructor;return this.then(function(k){return g.resolve(s()).then(function(){return k})},function(k){return g.resolve(s()).then(function(){throw k})})},_.prototype.catch=function(s){return this.then(null,s)},_.prototype.then=function(s,g){if(typeof s!="function"&&this.state===d||typeof g!="function"&&this.state===h)return this;var k=new this.constructor(a);return this.state!==v?i(k,this.state===d?s:g,this.outcome):this.queue.push(new m(k,s,g)),k},m.prototype.callFulfilled=function(s){r.resolve(this.promise,s)},m.prototype.otherCallFulfilled=function(s){i(this.promise,this.onFulfilled,s)},m.prototype.callRejected=function(s){r.reject(this.promise,s)},m.prototype.otherCallRejected=function(s){i(this.promise,this.onRejected,s)},r.resolve=function(s,g){var k=c(p,g);if(k.status==="error")return r.reject(s,k.value);var z=k.value;if(z)n(s,z);else{s.state=d,s.outcome=g;for(var E=-1,j=s.queue.length;++E<j;)s.queue[E].callFulfilled(g)}return s},r.reject=function(s,g){s.state=h,s.outcome=g;for(var k=-1,z=s.queue.length;++k<z;)s.queue[k].callRejected(g);return s},_.resolve=function(s){return s instanceof this?s:r.resolve(new this(a),s)},_.reject=function(s){var g=new this(a);return r.reject(g,s)},_.all=function(s){var g=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=s.length,z=!1;if(!k)return this.resolve([]);for(var E=new Array(k),j=0,R=-1,W=new this(a);++R<k;)D(s[R],R);return W;function D($,X){g.resolve($).then(function(b){E[X]=b,++j!==k||z||(z=!0,r.resolve(W,E))},function(b){z||(z=!0,r.reject(W,b))})}},_.race=function(s){var g=this;if(Object.prototype.toString.call(s)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=s.length,z=!1;if(!k)return this.resolve([]);for(var E=-1,j=new this(a);++E<k;)R=s[E],g.resolve(R).then(function(W){z||(z=!0,r.resolve(j,W))},function(W){z||(z=!0,r.reject(j,W))});var R;return j}},{immediate:36}],38:[function(u,C,y){var l={};(0,u("./lib/utils/common").assign)(l,u("./lib/deflate"),u("./lib/inflate"),u("./lib/zlib/constants")),C.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(u,C,y){var l=u("./zlib/deflate"),a=u("./utils/common"),r=u("./utils/strings"),h=u("./zlib/messages"),d=u("./zlib/zstream"),v=Object.prototype.toString,_=0,m=-1,i=0,p=8;function n(s){if(!(this instanceof n))return new n(s);this.options=a.assign({level:m,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},s||{});var g=this.options;g.raw&&0<g.windowBits?g.windowBits=-g.windowBits:g.gzip&&0<g.windowBits&&g.windowBits<16&&(g.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var k=l.deflateInit2(this.strm,g.level,g.method,g.windowBits,g.memLevel,g.strategy);if(k!==_)throw new Error(h[k]);if(g.header&&l.deflateSetHeader(this.strm,g.header),g.dictionary){var z;if(z=typeof g.dictionary=="string"?r.string2buf(g.dictionary):v.call(g.dictionary)==="[object ArrayBuffer]"?new Uint8Array(g.dictionary):g.dictionary,(k=l.deflateSetDictionary(this.strm,z))!==_)throw new Error(h[k]);this._dict_set=!0}}function c(s,g){var k=new n(g);if(k.push(s,!0),k.err)throw k.msg||h[k.err];return k.result}n.prototype.push=function(s,g){var k,z,E=this.strm,j=this.options.chunkSize;if(this.ended)return!1;z=g===~~g?g:g===!0?4:0,typeof s=="string"?E.input=r.string2buf(s):v.call(s)==="[object ArrayBuffer]"?E.input=new Uint8Array(s):E.input=s,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new a.Buf8(j),E.next_out=0,E.avail_out=j),(k=l.deflate(E,z))!==1&&k!==_)return this.onEnd(k),!(this.ended=!0);E.avail_out!==0&&(E.avail_in!==0||z!==4&&z!==2)||(this.options.to==="string"?this.onData(r.buf2binstring(a.shrinkBuf(E.output,E.next_out))):this.onData(a.shrinkBuf(E.output,E.next_out)))}while((0<E.avail_in||E.avail_out===0)&&k!==1);return z===4?(k=l.deflateEnd(this.strm),this.onEnd(k),this.ended=!0,k===_):z!==2||(this.onEnd(_),!(E.avail_out=0))},n.prototype.onData=function(s){this.chunks.push(s)},n.prototype.onEnd=function(s){s===_&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=s,this.msg=this.strm.msg},y.Deflate=n,y.deflate=c,y.deflateRaw=function(s,g){return(g=g||{}).raw=!0,c(s,g)},y.gzip=function(s,g){return(g=g||{}).gzip=!0,c(s,g)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(u,C,y){var l=u("./zlib/inflate"),a=u("./utils/common"),r=u("./utils/strings"),h=u("./zlib/constants"),d=u("./zlib/messages"),v=u("./zlib/zstream"),_=u("./zlib/gzheader"),m=Object.prototype.toString;function i(n){if(!(this instanceof i))return new i(n);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},n||{});var c=this.options;c.raw&&0<=c.windowBits&&c.windowBits<16&&(c.windowBits=-c.windowBits,c.windowBits===0&&(c.windowBits=-15)),!(0<=c.windowBits&&c.windowBits<16)||n&&n.windowBits||(c.windowBits+=32),15<c.windowBits&&c.windowBits<48&&(15&c.windowBits)==0&&(c.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var s=l.inflateInit2(this.strm,c.windowBits);if(s!==h.Z_OK)throw new Error(d[s]);this.header=new _,l.inflateGetHeader(this.strm,this.header)}function p(n,c){var s=new i(c);if(s.push(n,!0),s.err)throw s.msg||d[s.err];return s.result}i.prototype.push=function(n,c){var s,g,k,z,E,j,R=this.strm,W=this.options.chunkSize,D=this.options.dictionary,$=!1;if(this.ended)return!1;g=c===~~c?c:c===!0?h.Z_FINISH:h.Z_NO_FLUSH,typeof n=="string"?R.input=r.binstring2buf(n):m.call(n)==="[object ArrayBuffer]"?R.input=new Uint8Array(n):R.input=n,R.next_in=0,R.avail_in=R.input.length;do{if(R.avail_out===0&&(R.output=new a.Buf8(W),R.next_out=0,R.avail_out=W),(s=l.inflate(R,h.Z_NO_FLUSH))===h.Z_NEED_DICT&&D&&(j=typeof D=="string"?r.string2buf(D):m.call(D)==="[object ArrayBuffer]"?new Uint8Array(D):D,s=l.inflateSetDictionary(this.strm,j)),s===h.Z_BUF_ERROR&&$===!0&&(s=h.Z_OK,$=!1),s!==h.Z_STREAM_END&&s!==h.Z_OK)return this.onEnd(s),!(this.ended=!0);R.next_out&&(R.avail_out!==0&&s!==h.Z_STREAM_END&&(R.avail_in!==0||g!==h.Z_FINISH&&g!==h.Z_SYNC_FLUSH)||(this.options.to==="string"?(k=r.utf8border(R.output,R.next_out),z=R.next_out-k,E=r.buf2string(R.output,k),R.next_out=z,R.avail_out=W-z,z&&a.arraySet(R.output,R.output,k,z,0),this.onData(E)):this.onData(a.shrinkBuf(R.output,R.next_out)))),R.avail_in===0&&R.avail_out===0&&($=!0)}while((0<R.avail_in||R.avail_out===0)&&s!==h.Z_STREAM_END);return s===h.Z_STREAM_END&&(g=h.Z_FINISH),g===h.Z_FINISH?(s=l.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===h.Z_OK):g!==h.Z_SYNC_FLUSH||(this.onEnd(h.Z_OK),!(R.avail_out=0))},i.prototype.onData=function(n){this.chunks.push(n)},i.prototype.onEnd=function(n){n===h.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg},y.Inflate=i,y.inflate=p,y.inflateRaw=function(n,c){return(c=c||{}).raw=!0,p(n,c)},y.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(u,C,y){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";y.assign=function(h){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var v=d.shift();if(v){if(typeof v!="object")throw new TypeError(v+"must be non-object");for(var _ in v)v.hasOwnProperty(_)&&(h[_]=v[_])}}return h},y.shrinkBuf=function(h,d){return h.length===d?h:h.subarray?h.subarray(0,d):(h.length=d,h)};var a={arraySet:function(h,d,v,_,m){if(d.subarray&&h.subarray)h.set(d.subarray(v,v+_),m);else for(var i=0;i<_;i++)h[m+i]=d[v+i]},flattenChunks:function(h){var d,v,_,m,i,p;for(d=_=0,v=h.length;d<v;d++)_+=h[d].length;for(p=new Uint8Array(_),d=m=0,v=h.length;d<v;d++)i=h[d],p.set(i,m),m+=i.length;return p}},r={arraySet:function(h,d,v,_,m){for(var i=0;i<_;i++)h[m+i]=d[v+i]},flattenChunks:function(h){return[].concat.apply([],h)}};y.setTyped=function(h){h?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,a)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,r))},y.setTyped(l)},{}],42:[function(u,C,y){var l=u("./common"),a=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{r=!1}for(var h=new l.Buf8(256),d=0;d<256;d++)h[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;function v(_,m){if(m<65537&&(_.subarray&&r||!_.subarray&&a))return String.fromCharCode.apply(null,l.shrinkBuf(_,m));for(var i="",p=0;p<m;p++)i+=String.fromCharCode(_[p]);return i}h[254]=h[254]=1,y.string2buf=function(_){var m,i,p,n,c,s=_.length,g=0;for(n=0;n<s;n++)(64512&(i=_.charCodeAt(n)))==55296&&n+1<s&&(64512&(p=_.charCodeAt(n+1)))==56320&&(i=65536+(i-55296<<10)+(p-56320),n++),g+=i<128?1:i<2048?2:i<65536?3:4;for(m=new l.Buf8(g),n=c=0;c<g;n++)(64512&(i=_.charCodeAt(n)))==55296&&n+1<s&&(64512&(p=_.charCodeAt(n+1)))==56320&&(i=65536+(i-55296<<10)+(p-56320),n++),i<128?m[c++]=i:(i<2048?m[c++]=192|i>>>6:(i<65536?m[c++]=224|i>>>12:(m[c++]=240|i>>>18,m[c++]=128|i>>>12&63),m[c++]=128|i>>>6&63),m[c++]=128|63&i);return m},y.buf2binstring=function(_){return v(_,_.length)},y.binstring2buf=function(_){for(var m=new l.Buf8(_.length),i=0,p=m.length;i<p;i++)m[i]=_.charCodeAt(i);return m},y.buf2string=function(_,m){var i,p,n,c,s=m||_.length,g=new Array(2*s);for(i=p=0;i<s;)if((n=_[i++])<128)g[p++]=n;else if(4<(c=h[n]))g[p++]=65533,i+=c-1;else{for(n&=c===2?31:c===3?15:7;1<c&&i<s;)n=n<<6|63&_[i++],c--;1<c?g[p++]=65533:n<65536?g[p++]=n:(n-=65536,g[p++]=55296|n>>10&1023,g[p++]=56320|1023&n)}return v(g,p)},y.utf8border=function(_,m){var i;for((m=m||_.length)>_.length&&(m=_.length),i=m-1;0<=i&&(192&_[i])==128;)i--;return i<0||i===0?m:i+h[_[i]]>m?i:m}},{"./common":41}],43:[function(u,C,y){C.exports=function(l,a,r,h){for(var d=65535&l|0,v=l>>>16&65535|0,_=0;r!==0;){for(r-=_=2e3<r?2e3:r;v=v+(d=d+a[h++]|0)|0,--_;);d%=65521,v%=65521}return d|v<<16|0}},{}],44:[function(u,C,y){C.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(u,C,y){var l=function(){for(var a,r=[],h=0;h<256;h++){a=h;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;r[h]=a}return r}();C.exports=function(a,r,h,d){var v=l,_=d+h;a^=-1;for(var m=d;m<_;m++)a=a>>>8^v[255&(a^r[m])];return-1^a}},{}],46:[function(u,C,y){var l,a=u("../utils/common"),r=u("./trees"),h=u("./adler32"),d=u("./crc32"),v=u("./messages"),_=0,m=4,i=0,p=-2,n=-1,c=4,s=2,g=8,k=9,z=286,E=30,j=19,R=2*z+1,W=15,D=3,$=258,X=$+D+1,b=42,T=113,e=1,L=2,Q=3,U=4;function tt(t,F){return t.msg=v[F],F}function Z(t){return(t<<1)-(4<t?9:0)}function V(t){for(var F=t.length;0<=--F;)t[F]=0}function O(t){var F=t.state,B=F.pending;B>t.avail_out&&(B=t.avail_out),B!==0&&(a.arraySet(t.output,F.pending_buf,F.pending_out,B,t.next_out),t.next_out+=B,F.pending_out+=B,t.total_out+=B,t.avail_out-=B,F.pending-=B,F.pending===0&&(F.pending_out=0))}function I(t,F){r._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,F),t.block_start=t.strstart,O(t.strm)}function Y(t,F){t.pending_buf[t.pending++]=F}function K(t,F){t.pending_buf[t.pending++]=F>>>8&255,t.pending_buf[t.pending++]=255&F}function G(t,F){var B,f,o=t.max_chain_length,x=t.strstart,P=t.prev_length,N=t.nice_match,A=t.strstart>t.w_size-X?t.strstart-(t.w_size-X):0,M=t.window,q=t.w_mask,H=t.prev,J=t.strstart+$,it=M[x+P-1],rt=M[x+P];t.prev_length>=t.good_match&&(o>>=2),N>t.lookahead&&(N=t.lookahead);do if(M[(B=F)+P]===rt&&M[B+P-1]===it&&M[B]===M[x]&&M[++B]===M[x+1]){x+=2,B++;do;while(M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&M[++x]===M[++B]&&x<J);if(f=$-(J-x),x=J-$,P<f){if(t.match_start=F,N<=(P=f))break;it=M[x+P-1],rt=M[x+P]}}while((F=H[F&q])>A&&--o!=0);return P<=t.lookahead?P:t.lookahead}function st(t){var F,B,f,o,x,P,N,A,M,q,H=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=H+(H-X)){for(a.arraySet(t.window,t.window,H,H,0),t.match_start-=H,t.strstart-=H,t.block_start-=H,F=B=t.hash_size;f=t.head[--F],t.head[F]=H<=f?f-H:0,--B;);for(F=B=H;f=t.prev[--F],t.prev[F]=H<=f?f-H:0,--B;);o+=H}if(t.strm.avail_in===0)break;if(P=t.strm,N=t.window,A=t.strstart+t.lookahead,M=o,q=void 0,q=P.avail_in,M<q&&(q=M),B=q===0?0:(P.avail_in-=q,a.arraySet(N,P.input,P.next_in,q,A),P.state.wrap===1?P.adler=h(P.adler,N,q,A):P.state.wrap===2&&(P.adler=d(P.adler,N,q,A)),P.next_in+=q,P.total_in+=q,q),t.lookahead+=B,t.lookahead+t.insert>=D)for(x=t.strstart-t.insert,t.ins_h=t.window[x],t.ins_h=(t.ins_h<<t.hash_shift^t.window[x+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[x+D-1])&t.hash_mask,t.prev[x&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=x,x++,t.insert--,!(t.lookahead+t.insert<D)););}while(t.lookahead<X&&t.strm.avail_in!==0)}function ht(t,F){for(var B,f;;){if(t.lookahead<X){if(st(t),t.lookahead<X&&F===_)return e;if(t.lookahead===0)break}if(B=0,t.lookahead>=D&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),B!==0&&t.strstart-B<=t.w_size-X&&(t.match_length=G(t,B)),t.match_length>=D)if(f=r._tr_tally(t,t.strstart-t.match_start,t.match_length-D),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=D){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else f=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(f&&(I(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<D-1?t.strstart:D-1,F===m?(I(t,!0),t.strm.avail_out===0?Q:U):t.last_lit&&(I(t,!1),t.strm.avail_out===0)?e:L}function et(t,F){for(var B,f,o;;){if(t.lookahead<X){if(st(t),t.lookahead<X&&F===_)return e;if(t.lookahead===0)break}if(B=0,t.lookahead>=D&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=D-1,B!==0&&t.prev_length<t.max_lazy_match&&t.strstart-B<=t.w_size-X&&(t.match_length=G(t,B),t.match_length<=5&&(t.strategy===1||t.match_length===D&&4096<t.strstart-t.match_start)&&(t.match_length=D-1)),t.prev_length>=D&&t.match_length<=t.prev_length){for(o=t.strstart+t.lookahead-D,f=r._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-D),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=D-1,t.strstart++,f&&(I(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((f=r._tr_tally(t,0,t.window[t.strstart-1]))&&I(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return e}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(f=r._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<D-1?t.strstart:D-1,F===m?(I(t,!0),t.strm.avail_out===0?Q:U):t.last_lit&&(I(t,!1),t.strm.avail_out===0)?e:L}function nt(t,F,B,f,o){this.good_length=t,this.max_lazy=F,this.nice_length=B,this.max_chain=f,this.func=o}function lt(){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=g,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 a.Buf16(2*R),this.dyn_dtree=new a.Buf16(2*(2*E+1)),this.bl_tree=new a.Buf16(2*(2*j+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(W+1),this.heap=new a.Buf16(2*z+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*z+1),V(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 at(t){var F;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=s,(F=t.state).pending=0,F.pending_out=0,F.wrap<0&&(F.wrap=-F.wrap),F.status=F.wrap?b:T,t.adler=F.wrap===2?0:1,F.last_flush=_,r._tr_init(F),i):tt(t,p)}function ft(t){var F=at(t);return F===i&&function(B){B.window_size=2*B.w_size,V(B.head),B.max_lazy_match=l[B.level].max_lazy,B.good_match=l[B.level].good_length,B.nice_match=l[B.level].nice_length,B.max_chain_length=l[B.level].max_chain,B.strstart=0,B.block_start=0,B.lookahead=0,B.insert=0,B.match_length=B.prev_length=D-1,B.match_available=0,B.ins_h=0}(t.state),F}function ct(t,F,B,f,o,x){if(!t)return p;var P=1;if(F===n&&(F=6),f<0?(P=0,f=-f):15<f&&(P=2,f-=16),o<1||k<o||B!==g||f<8||15<f||F<0||9<F||x<0||c<x)return tt(t,p);f===8&&(f=9);var N=new lt;return(t.state=N).strm=t,N.wrap=P,N.gzhead=null,N.w_bits=f,N.w_size=1<<N.w_bits,N.w_mask=N.w_size-1,N.hash_bits=o+7,N.hash_size=1<<N.hash_bits,N.hash_mask=N.hash_size-1,N.hash_shift=~~((N.hash_bits+D-1)/D),N.window=new a.Buf8(2*N.w_size),N.head=new a.Buf16(N.hash_size),N.prev=new a.Buf16(N.w_size),N.lit_bufsize=1<<o+6,N.pending_buf_size=4*N.lit_bufsize,N.pending_buf=new a.Buf8(N.pending_buf_size),N.d_buf=1*N.lit_bufsize,N.l_buf=3*N.lit_bufsize,N.level=F,N.strategy=x,N.method=B,ft(t)}l=[new nt(0,0,0,0,function(t,F){var B=65535;for(B>t.pending_buf_size-5&&(B=t.pending_buf_size-5);;){if(t.lookahead<=1){if(st(t),t.lookahead===0&&F===_)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+B;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,I(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-X&&(I(t,!1),t.strm.avail_out===0))return e}return t.insert=0,F===m?(I(t,!0),t.strm.avail_out===0?Q:U):(t.strstart>t.block_start&&(I(t,!1),t.strm.avail_out),e)}),new nt(4,4,8,4,ht),new nt(4,5,16,8,ht),new nt(4,6,32,32,ht),new nt(4,4,16,16,et),new nt(8,16,32,32,et),new nt(8,16,128,128,et),new nt(8,32,128,256,et),new nt(32,128,258,1024,et),new nt(32,258,258,4096,et)],y.deflateInit=function(t,F){return ct(t,F,g,15,8,0)},y.deflateInit2=ct,y.deflateReset=ft,y.deflateResetKeep=at,y.deflateSetHeader=function(t,F){return t&&t.state?t.state.wrap!==2?p:(t.state.gzhead=F,i):p},y.deflate=function(t,F){var B,f,o,x;if(!t||!t.state||5<F||F<0)return t?tt(t,p):p;if(f=t.state,!t.output||!t.input&&t.avail_in!==0||f.status===666&&F!==m)return tt(t,t.avail_out===0?-5:p);if(f.strm=t,B=f.last_flush,f.last_flush=F,f.status===b)if(f.wrap===2)t.adler=0,Y(f,31),Y(f,139),Y(f,8),f.gzhead?(Y(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),Y(f,255&f.gzhead.time),Y(f,f.gzhead.time>>8&255),Y(f,f.gzhead.time>>16&255),Y(f,f.gzhead.time>>24&255),Y(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),Y(f,255&f.gzhead.os),f.gzhead.extra&&f.gzhead.extra.length&&(Y(f,255&f.gzhead.extra.length),Y(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(t.adler=d(t.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=69):(Y(f,0),Y(f,0),Y(f,0),Y(f,0),Y(f,0),Y(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),Y(f,3),f.status=T);else{var P=g+(f.w_bits-8<<4)<<8;P|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(P|=32),P+=31-P%31,f.status=T,K(f,P),f.strstart!==0&&(K(f,t.adler>>>16),K(f,65535&t.adler)),t.adler=1}if(f.status===69)if(f.gzhead.extra){for(o=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),O(t),o=f.pending,f.pending!==f.pending_buf_size));)Y(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){o=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),O(t),o=f.pending,f.pending===f.pending_buf_size)){x=1;break}x=f.gzindex<f.gzhead.name.length?255&f.gzhead.name.charCodeAt(f.gzindex++):0,Y(f,x)}while(x!==0);f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),x===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){o=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),O(t),o=f.pending,f.pending===f.pending_buf_size)){x=1;break}x=f.gzindex<f.gzhead.comment.length?255&f.gzhead.comment.charCodeAt(f.gzindex++):0,Y(f,x)}while(x!==0);f.gzhead.hcrc&&f.pending>o&&(t.adler=d(t.adler,f.pending_buf,f.pending-o,o)),x===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&O(t),f.pending+2<=f.pending_buf_size&&(Y(f,255&t.adler),Y(f,t.adler>>8&255),t.adler=0,f.status=T)):f.status=T),f.pending!==0){if(O(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&Z(F)<=Z(B)&&F!==m)return tt(t,-5);if(f.status===666&&t.avail_in!==0)return tt(t,-5);if(t.avail_in!==0||f.lookahead!==0||F!==_&&f.status!==666){var N=f.strategy===2?function(A,M){for(var q;;){if(A.lookahead===0&&(st(A),A.lookahead===0)){if(M===_)return e;break}if(A.match_length=0,q=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,q&&(I(A,!1),A.strm.avail_out===0))return e}return A.insert=0,M===m?(I(A,!0),A.strm.avail_out===0?Q:U):A.last_lit&&(I(A,!1),A.strm.avail_out===0)?e:L}(f,F):f.strategy===3?function(A,M){for(var q,H,J,it,rt=A.window;;){if(A.lookahead<=$){if(st(A),A.lookahead<=$&&M===_)return e;if(A.lookahead===0)break}if(A.match_length=0,A.lookahead>=D&&0<A.strstart&&(H=rt[J=A.strstart-1])===rt[++J]&&H===rt[++J]&&H===rt[++J]){it=A.strstart+$;do;while(H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&H===rt[++J]&&J<it);A.match_length=$-(it-J),A.match_length>A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=D?(q=r._tr_tally(A,1,A.match_length-D),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(q=r._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),q&&(I(A,!1),A.strm.avail_out===0))return e}return A.insert=0,M===m?(I(A,!0),A.strm.avail_out===0?Q:U):A.last_lit&&(I(A,!1),A.strm.avail_out===0)?e:L}(f,F):l[f.level].func(f,F);if(N!==Q&&N!==U||(f.status=666),N===e||N===Q)return t.avail_out===0&&(f.last_flush=-1),i;if(N===L&&(F===1?r._tr_align(f):F!==5&&(r._tr_stored_block(f,0,0,!1),F===3&&(V(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),O(t),t.avail_out===0))return f.last_flush=-1,i}return F!==m?i:f.wrap<=0?1:(f.wrap===2?(Y(f,255&t.adler),Y(f,t.adler>>8&255),Y(f,t.adler>>16&255),Y(f,t.adler>>24&255),Y(f,255&t.total_in),Y(f,t.total_in>>8&255),Y(f,t.total_in>>16&255),Y(f,t.total_in>>24&255)):(K(f,t.adler>>>16),K(f,65535&t.adler)),O(t),0<f.wrap&&(f.wrap=-f.wrap),f.pending!==0?i:1)},y.deflateEnd=function(t){var F;return t&&t.state?(F=t.state.status)!==b&&F!==69&&F!==73&&F!==91&&F!==103&&F!==T&&F!==666?tt(t,p):(t.state=null,F===T?tt(t,-3):i):p},y.deflateSetDictionary=function(t,F){var B,f,o,x,P,N,A,M,q=F.length;if(!t||!t.state||(x=(B=t.state).wrap)===2||x===1&&B.status!==b||B.lookahead)return p;for(x===1&&(t.adler=h(t.adler,F,q,0)),B.wrap=0,q>=B.w_size&&(x===0&&(V(B.head),B.strstart=0,B.block_start=0,B.insert=0),M=new a.Buf8(B.w_size),a.arraySet(M,F,q-B.w_size,B.w_size,0),F=M,q=B.w_size),P=t.avail_in,N=t.next_in,A=t.input,t.avail_in=q,t.next_in=0,t.input=F,st(B);B.lookahead>=D;){for(f=B.strstart,o=B.lookahead-(D-1);B.ins_h=(B.ins_h<<B.hash_shift^B.window[f+D-1])&B.hash_mask,B.prev[f&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=f,f++,--o;);B.strstart=f,B.lookahead=D-1,st(B)}return B.strstart+=B.lookahead,B.block_start=B.strstart,B.insert=B.lookahead,B.lookahead=0,B.match_length=B.prev_length=D-1,B.match_available=0,t.next_in=N,t.input=A,t.avail_in=P,B.wrap=x,i},y.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(u,C,y){C.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(u,C,y){C.exports=function(l,a){var r,h,d,v,_,m,i,p,n,c,s,g,k,z,E,j,R,W,D,$,X,b,T,e,L;r=l.state,h=l.next_in,e=l.input,d=h+(l.avail_in-5),v=l.next_out,L=l.output,_=v-(a-l.avail_out),m=v+(l.avail_out-257),i=r.dmax,p=r.wsize,n=r.whave,c=r.wnext,s=r.window,g=r.hold,k=r.bits,z=r.lencode,E=r.distcode,j=(1<<r.lenbits)-1,R=(1<<r.distbits)-1;t:do{k<15&&(g+=e[h++]<<k,k+=8,g+=e[h++]<<k,k+=8),W=z[g&j];e:for(;;){if(g>>>=D=W>>>24,k-=D,(D=W>>>16&255)===0)L[v++]=65535&W;else{if(!(16&D)){if((64&D)==0){W=z[(65535&W)+(g&(1<<D)-1)];continue e}if(32&D){r.mode=12;break t}l.msg="invalid literal/length code",r.mode=30;break t}$=65535&W,(D&=15)&&(k<D&&(g+=e[h++]<<k,k+=8),$+=g&(1<<D)-1,g>>>=D,k-=D),k<15&&(g+=e[h++]<<k,k+=8,g+=e[h++]<<k,k+=8),W=E[g&R];r:for(;;){if(g>>>=D=W>>>24,k-=D,!(16&(D=W>>>16&255))){if((64&D)==0){W=E[(65535&W)+(g&(1<<D)-1)];continue r}l.msg="invalid distance code",r.mode=30;break t}if(X=65535&W,k<(D&=15)&&(g+=e[h++]<<k,(k+=8)<D&&(g+=e[h++]<<k,k+=8)),i<(X+=g&(1<<D)-1)){l.msg="invalid distance too far back",r.mode=30;break t}if(g>>>=D,k-=D,(D=v-_)<X){if(n<(D=X-D)&&r.sane){l.msg="invalid distance too far back",r.mode=30;break t}if(T=s,(b=0)===c){if(b+=p-D,D<$){for($-=D;L[v++]=s[b++],--D;);b=v-X,T=L}}else if(c<D){if(b+=p+c-D,(D-=c)<$){for($-=D;L[v++]=s[b++],--D;);if(b=0,c<$){for($-=D=c;L[v++]=s[b++],--D;);b=v-X,T=L}}}else if(b+=c-D,D<$){for($-=D;L[v++]=s[b++],--D;);b=v-X,T=L}for(;2<$;)L[v++]=T[b++],L[v++]=T[b++],L[v++]=T[b++],$-=3;$&&(L[v++]=T[b++],1<$&&(L[v++]=T[b++]))}else{for(b=v-X;L[v++]=L[b++],L[v++]=L[b++],L[v++]=L[b++],2<($-=3););$&&(L[v++]=L[b++],1<$&&(L[v++]=L[b++]))}break}}break}}while(h<d&&v<m);h-=$=k>>3,g&=(1<<(k-=$<<3))-1,l.next_in=h,l.next_out=v,l.avail_in=h<d?d-h+5:5-(h-d),l.avail_out=v<m?m-v+257:257-(v-m),r.hold=g,r.bits=k}},{}],49:[function(u,C,y){var l=u("../utils/common"),a=u("./adler32"),r=u("./crc32"),h=u("./inffast"),d=u("./inftrees"),v=1,_=2,m=0,i=-2,p=1,n=852,c=592;function s(b){return(b>>>24&255)+(b>>>8&65280)+((65280&b)<<8)+((255&b)<<24)}function g(){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 l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k(b){var T;return b&&b.state?(T=b.state,b.total_in=b.total_out=T.total=0,b.msg="",T.wrap&&(b.adler=1&T.wrap),T.mode=p,T.last=0,T.havedict=0,T.dmax=32768,T.head=null,T.hold=0,T.bits=0,T.lencode=T.lendyn=new l.Buf32(n),T.distcode=T.distdyn=new l.Buf32(c),T.sane=1,T.back=-1,m):i}function z(b){var T;return b&&b.state?((T=b.state).wsize=0,T.whave=0,T.wnext=0,k(b)):i}function E(b,T){var e,L;return b&&b.state?(L=b.state,T<0?(e=0,T=-T):(e=1+(T>>4),T<48&&(T&=15)),T&&(T<8||15<T)?i:(L.window!==null&&L.wbits!==T&&(L.window=null),L.wrap=e,L.wbits=T,z(b))):i}function j(b,T){var e,L;return b?(L=new g,(b.state=L).window=null,(e=E(b,T))!==m&&(b.state=null),e):i}var R,W,D=!0;function $(b){if(D){var T;for(R=new l.Buf32(512),W=new l.Buf32(32),T=0;T<144;)b.lens[T++]=8;for(;T<256;)b.lens[T++]=9;for(;T<280;)b.lens[T++]=7;for(;T<288;)b.lens[T++]=8;for(d(v,b.lens,0,288,R,0,b.work,{bits:9}),T=0;T<32;)b.lens[T++]=5;d(_,b.lens,0,32,W,0,b.work,{bits:5}),D=!1}b.lencode=R,b.lenbits=9,b.distcode=W,b.distbits=5}function X(b,T,e,L){var Q,U=b.state;return U.window===null&&(U.wsize=1<<U.wbits,U.wnext=0,U.whave=0,U.window=new l.Buf8(U.wsize)),L>=U.wsize?(l.arraySet(U.window,T,e-U.wsize,U.wsize,0),U.wnext=0,U.whave=U.wsize):(L<(Q=U.wsize-U.wnext)&&(Q=L),l.arraySet(U.window,T,e-L,Q,U.wnext),(L-=Q)?(l.arraySet(U.window,T,e-L,L,0),U.wnext=L,U.whave=U.wsize):(U.wnext+=Q,U.wnext===U.wsize&&(U.wnext=0),U.whave<U.wsize&&(U.whave+=Q))),0}y.inflateReset=z,y.inflateReset2=E,y.inflateResetKeep=k,y.inflateInit=function(b){return j(b,15)},y.inflateInit2=j,y.inflate=function(b,T){var e,L,Q,U,tt,Z,V,O,I,Y,K,G,st,ht,et,nt,lt,at,ft,ct,t,F,B,f,o=0,x=new l.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!b||!b.state||!b.output||!b.input&&b.avail_in!==0)return i;(e=b.state).mode===12&&(e.mode=13),tt=b.next_out,Q=b.output,V=b.avail_out,U=b.next_in,L=b.input,Z=b.avail_in,O=e.hold,I=e.bits,Y=Z,K=V,F=m;t:for(;;)switch(e.mode){case p:if(e.wrap===0){e.mode=13;break}for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(2&e.wrap&&O===35615){x[e.check=0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0),I=O=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&O)<<8)+(O>>8))%31){b.msg="incorrect header check",e.mode=30;break}if((15&O)!=8){b.msg="unknown compression method",e.mode=30;break}if(I-=4,t=8+(15&(O>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){b.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,b.adler=e.check=1,e.mode=512&O?10:12,I=O=0;break;case 2:for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(e.flags=O,(255&e.flags)!=8){b.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){b.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=O>>8&1),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0)),I=O=0,e.mode=3;case 3:for(;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.head&&(e.head.time=O),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,x[2]=O>>>16&255,x[3]=O>>>24&255,e.check=r(e.check,x,4,0)),I=O=0,e.mode=4;case 4:for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.head&&(e.head.xflags=255&O,e.head.os=O>>8),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0)),I=O=0,e.mode=5;case 5:if(1024&e.flags){for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.length=O,e.head&&(e.head.extra_len=O),512&e.flags&&(x[0]=255&O,x[1]=O>>>8&255,e.check=r(e.check,x,2,0)),I=O=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(Z<(G=e.length)&&(G=Z),G&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),l.arraySet(e.head.extra,L,U,G,t)),512&e.flags&&(e.check=r(e.check,L,G,U)),Z-=G,U+=G,e.length-=G),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(Z===0)break t;for(G=0;t=L[U+G++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&G<Z;);if(512&e.flags&&(e.check=r(e.check,L,G,U)),Z-=G,U+=G,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(Z===0)break t;for(G=0;t=L[U+G++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&G<Z;);if(512&e.flags&&(e.check=r(e.check,L,G,U)),Z-=G,U+=G,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;I<16;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(O!==(65535&e.check)){b.msg="header crc mismatch",e.mode=30;break}I=O=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),b.adler=e.check=0,e.mode=12;break;case 10:for(;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}b.adler=e.check=s(O),I=O=0,e.mode=11;case 11:if(e.havedict===0)return b.next_out=tt,b.avail_out=V,b.next_in=U,b.avail_in=Z,e.hold=O,e.bits=I,2;b.adler=e.check=1,e.mode=12;case 12:if(T===5||T===6)break t;case 13:if(e.last){O>>>=7&I,I-=7&I,e.mode=27;break}for(;I<3;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}switch(e.last=1&O,I-=1,3&(O>>>=1)){case 0:e.mode=14;break;case 1:if($(e),e.mode=20,T!==6)break;O>>>=2,I-=2;break t;case 2:e.mode=17;break;case 3:b.msg="invalid block type",e.mode=30}O>>>=2,I-=2;break;case 14:for(O>>>=7&I,I-=7&I;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if((65535&O)!=(O>>>16^65535)){b.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&O,I=O=0,e.mode=15,T===6)break t;case 15:e.mode=16;case 16:if(G=e.length){if(Z<G&&(G=Z),V<G&&(G=V),G===0)break t;l.arraySet(Q,L,U,G,tt),Z-=G,U+=G,V-=G,tt+=G,e.length-=G;break}e.mode=12;break;case 17:for(;I<14;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(e.nlen=257+(31&O),O>>>=5,I-=5,e.ndist=1+(31&O),O>>>=5,I-=5,e.ncode=4+(15&O),O>>>=4,I-=4,286<e.nlen||30<e.ndist){b.msg="too many length or distance symbols",e.mode=30;break}e.have=0,e.mode=18;case 18:for(;e.have<e.ncode;){for(;I<3;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.lens[P[e.have++]]=7&O,O>>>=3,I-=3}for(;e.have<19;)e.lens[P[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,B={bits:e.lenbits},F=d(0,e.lens,0,19,e.lencode,0,e.work,B),e.lenbits=B.bits,F){b.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have<e.nlen+e.ndist;){for(;nt=(o=e.lencode[O&(1<<e.lenbits)-1])>>>16&255,lt=65535&o,!((et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(lt<16)O>>>=et,I-=et,e.lens[e.have++]=lt;else{if(lt===16){for(f=et+2;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(O>>>=et,I-=et,e.have===0){b.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],G=3+(3&O),O>>>=2,I-=2}else if(lt===17){for(f=et+3;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}I-=et,t=0,G=3+(7&(O>>>=et)),O>>>=3,I-=3}else{for(f=et+7;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}I-=et,t=0,G=11+(127&(O>>>=et)),O>>>=7,I-=7}if(e.have+G>e.nlen+e.ndist){b.msg="invalid bit length repeat",e.mode=30;break}for(;G--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){b.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,B={bits:e.lenbits},F=d(v,e.lens,0,e.nlen,e.lencode,0,e.work,B),e.lenbits=B.bits,F){b.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,B={bits:e.distbits},F=d(_,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,B),e.distbits=B.bits,F){b.msg="invalid distances set",e.mode=30;break}if(e.mode=20,T===6)break t;case 20:e.mode=21;case 21:if(6<=Z&&258<=V){b.next_out=tt,b.avail_out=V,b.next_in=U,b.avail_in=Z,e.hold=O,e.bits=I,h(b,K),tt=b.next_out,Q=b.output,V=b.avail_out,U=b.next_in,L=b.input,Z=b.avail_in,O=e.hold,I=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;nt=(o=e.lencode[O&(1<<e.lenbits)-1])>>>16&255,lt=65535&o,!((et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(nt&&(240&nt)==0){for(at=et,ft=nt,ct=lt;nt=(o=e.lencode[ct+((O&(1<<at+ft)-1)>>at)])>>>16&255,lt=65535&o,!(at+(et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}O>>>=at,I-=at,e.back+=at}if(O>>>=et,I-=et,e.back+=et,e.length=lt,nt===0){e.mode=26;break}if(32&nt){e.back=-1,e.mode=12;break}if(64&nt){b.msg="invalid literal/length code",e.mode=30;break}e.extra=15&nt,e.mode=22;case 22:if(e.extra){for(f=e.extra;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.length+=O&(1<<e.extra)-1,O>>>=e.extra,I-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;nt=(o=e.distcode[O&(1<<e.distbits)-1])>>>16&255,lt=65535&o,!((et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if((240&nt)==0){for(at=et,ft=nt,ct=lt;nt=(o=e.distcode[ct+((O&(1<<at+ft)-1)>>at)])>>>16&255,lt=65535&o,!(at+(et=o>>>24)<=I);){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}O>>>=at,I-=at,e.back+=at}if(O>>>=et,I-=et,e.back+=et,64&nt){b.msg="invalid distance code",e.mode=30;break}e.offset=lt,e.extra=15&nt,e.mode=24;case 24:if(e.extra){for(f=e.extra;I<f;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}e.offset+=O&(1<<e.extra)-1,O>>>=e.extra,I-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){b.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(V===0)break t;if(G=K-V,e.offset>G){if((G=e.offset-G)>e.whave&&e.sane){b.msg="invalid distance too far back",e.mode=30;break}st=G>e.wnext?(G-=e.wnext,e.wsize-G):e.wnext-G,G>e.length&&(G=e.length),ht=e.window}else ht=Q,st=tt-e.offset,G=e.length;for(V<G&&(G=V),V-=G,e.length-=G;Q[tt++]=ht[st++],--G;);e.length===0&&(e.mode=21);break;case 26:if(V===0)break t;Q[tt++]=e.length,V--,e.mode=21;break;case 27:if(e.wrap){for(;I<32;){if(Z===0)break t;Z--,O|=L[U++]<<I,I+=8}if(K-=V,b.total_out+=K,e.total+=K,K&&(b.adler=e.check=e.flags?r(e.check,Q,K,tt-K):a(e.check,Q,K,tt-K)),K=V,(e.flags?O:s(O))!==e.check){b.msg="incorrect data check",e.mode=30;break}I=O=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;I<32;){if(Z===0)break t;Z--,O+=L[U++]<<I,I+=8}if(O!==(4294967295&e.total)){b.msg="incorrect length check",e.mode=30;break}I=O=0}e.mode=29;case 29:F=1;break t;case 30:F=-3;break t;case 31:return-4;case 32:default:return i}return b.next_out=tt,b.avail_out=V,b.next_in=U,b.avail_in=Z,e.hold=O,e.bits=I,(e.wsize||K!==b.avail_out&&e.mode<30&&(e.mode<27||T!==4))&&X(b,b.output,b.next_out,K-b.avail_out)?(e.mode=31,-4):(Y-=b.avail_in,K-=b.avail_out,b.total_in+=Y,b.total_out+=K,e.total+=K,e.wrap&&K&&(b.adler=e.check=e.flags?r(e.check,Q,K,b.next_out-K):a(e.check,Q,K,b.next_out-K)),b.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(Y==0&&K===0||T===4)&&F===m&&(F=-5),F)},y.inflateEnd=function(b){if(!b||!b.state)return i;var T=b.state;return T.window&&(T.window=null),b.state=null,m},y.inflateGetHeader=function(b,T){var e;return b&&b.state?(2&(e=b.state).wrap)==0?i:((e.head=T).done=!1,m):i},y.inflateSetDictionary=function(b,T){var e,L=T.length;return b&&b.state?(e=b.state).wrap!==0&&e.mode!==11?i:e.mode===11&&a(1,T,L,0)!==e.check?-3:X(b,T,L,L)?(e.mode=31,-4):(e.havedict=1,m):i},y.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(u,C,y){var l=u("../utils/common"),a=[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],r=[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],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];C.exports=function(v,_,m,i,p,n,c,s){var g,k,z,E,j,R,W,D,$,X=s.bits,b=0,T=0,e=0,L=0,Q=0,U=0,tt=0,Z=0,V=0,O=0,I=null,Y=0,K=new l.Buf16(16),G=new l.Buf16(16),st=null,ht=0;for(b=0;b<=15;b++)K[b]=0;for(T=0;T<i;T++)K[_[m+T]]++;for(Q=X,L=15;1<=L&&K[L]===0;L--);if(L<Q&&(Q=L),L===0)return p[n++]=20971520,p[n++]=20971520,s.bits=1,0;for(e=1;e<L&&K[e]===0;e++);for(Q<e&&(Q=e),b=Z=1;b<=15;b++)if(Z<<=1,(Z-=K[b])<0)return-1;if(0<Z&&(v===0||L!==1))return-1;for(G[1]=0,b=1;b<15;b++)G[b+1]=G[b]+K[b];for(T=0;T<i;T++)_[m+T]!==0&&(c[G[_[m+T]]++]=T);if(R=v===0?(I=st=c,19):v===1?(I=a,Y-=257,st=r,ht-=257,256):(I=h,st=d,-1),b=e,j=n,tt=T=O=0,z=-1,E=(V=1<<(U=Q))-1,v===1&&852<V||v===2&&592<V)return 1;for(;;){for(W=b-tt,$=c[T]<R?(D=0,c[T]):c[T]>R?(D=st[ht+c[T]],I[Y+c[T]]):(D=96,0),g=1<<b-tt,e=k=1<<U;p[j+(O>>tt)+(k-=g)]=W<<24|D<<16|$|0,k!==0;);for(g=1<<b-1;O&g;)g>>=1;if(g!==0?(O&=g-1,O+=g):O=0,T++,--K[b]==0){if(b===L)break;b=_[m+c[T]]}if(Q<b&&(O&E)!==z){for(tt===0&&(tt=Q),j+=e,Z=1<<(U=b-tt);U+tt<L&&!((Z-=K[U+tt])<=0);)U++,Z<<=1;if(V+=1<<U,v===1&&852<V||v===2&&592<V)return 1;p[z=O&E]=Q<<24|U<<16|j-n|0}}return O!==0&&(p[j+O]=b-tt<<24|64<<16|0),s.bits=Q,0}},{"../utils/common":41}],51:[function(u,C,y){C.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(u,C,y){var l=u("../utils/common"),a=0,r=1;function h(o){for(var x=o.length;0<=--x;)o[x]=0}var d=0,v=29,_=256,m=_+1+v,i=30,p=19,n=2*m+1,c=15,s=16,g=7,k=256,z=16,E=17,j=18,R=[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],W=[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],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],$=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],X=new Array(2*(m+2));h(X);var b=new Array(2*i);h(b);var T=new Array(512);h(T);var e=new Array(256);h(e);var L=new Array(v);h(L);var Q,U,tt,Z=new Array(i);function V(o,x,P,N,A){this.static_tree=o,this.extra_bits=x,this.extra_base=P,this.elems=N,this.max_length=A,this.has_stree=o&&o.length}function O(o,x){this.dyn_tree=o,this.max_code=0,this.stat_desc=x}function I(o){return o<256?T[o]:T[256+(o>>>7)]}function Y(o,x){o.pending_buf[o.pending++]=255&x,o.pending_buf[o.pending++]=x>>>8&255}function K(o,x,P){o.bi_valid>s-P?(o.bi_buf|=x<<o.bi_valid&65535,Y(o,o.bi_buf),o.bi_buf=x>>s-o.bi_valid,o.bi_valid+=P-s):(o.bi_buf|=x<<o.bi_valid&65535,o.bi_valid+=P)}function G(o,x,P){K(o,P[2*x],P[2*x+1])}function st(o,x){for(var P=0;P|=1&o,o>>>=1,P<<=1,0<--x;);return P>>>1}function ht(o,x,P){var N,A,M=new Array(c+1),q=0;for(N=1;N<=c;N++)M[N]=q=q+P[N-1]<<1;for(A=0;A<=x;A++){var H=o[2*A+1];H!==0&&(o[2*A]=st(M[H]++,H))}}function et(o){var x;for(x=0;x<m;x++)o.dyn_ltree[2*x]=0;for(x=0;x<i;x++)o.dyn_dtree[2*x]=0;for(x=0;x<p;x++)o.bl_tree[2*x]=0;o.dyn_ltree[2*k]=1,o.opt_len=o.static_len=0,o.last_lit=o.matches=0}function nt(o){8<o.bi_valid?Y(o,o.bi_buf):0<o.bi_valid&&(o.pending_buf[o.pending++]=o.bi_buf),o.bi_buf=0,o.bi_valid=0}function lt(o,x,P,N){var A=2*x,M=2*P;return o[A]<o[M]||o[A]===o[M]&&N[x]<=N[P]}function at(o,x,P){for(var N=o.heap[P],A=P<<1;A<=o.heap_len&&(A<o.heap_len&<(x,o.heap[A+1],o.heap[A],o.depth)&&A++,!lt(x,N,o.heap[A],o.depth));)o.heap[P]=o.heap[A],P=A,A<<=1;o.heap[P]=N}function ft(o,x,P){var N,A,M,q,H=0;if(o.last_lit!==0)for(;N=o.pending_buf[o.d_buf+2*H]<<8|o.pending_buf[o.d_buf+2*H+1],A=o.pending_buf[o.l_buf+H],H++,N===0?G(o,A,x):(G(o,(M=e[A])+_+1,x),(q=R[M])!==0&&K(o,A-=L[M],q),G(o,M=I(--N),P),(q=W[M])!==0&&K(o,N-=Z[M],q)),H<o.last_lit;);G(o,k,x)}function ct(o,x){var P,N,A,M=x.dyn_tree,q=x.stat_desc.static_tree,H=x.stat_desc.has_stree,J=x.stat_desc.elems,it=-1;for(o.heap_len=0,o.heap_max=n,P=0;P<J;P++)M[2*P]!==0?(o.heap[++o.heap_len]=it=P,o.depth[P]=0):M[2*P+1]=0;for(;o.heap_len<2;)M[2*(A=o.heap[++o.heap_len]=it<2?++it:0)]=1,o.depth[A]=0,o.opt_len--,H&&(o.static_len-=q[2*A+1]);for(x.max_code=it,P=o.heap_len>>1;1<=P;P--)at(o,M,P);for(A=J;P=o.heap[1],o.heap[1]=o.heap[o.heap_len--],at(o,M,1),N=o.heap[1],o.heap[--o.heap_max]=P,o.heap[--o.heap_max]=N,M[2*A]=M[2*P]+M[2*N],o.depth[A]=(o.depth[P]>=o.depth[N]?o.depth[P]:o.depth[N])+1,M[2*P+1]=M[2*N+1]=A,o.heap[1]=A++,at(o,M,1),2<=o.heap_len;);o.heap[--o.heap_max]=o.heap[1],function(rt,ut){var _t,dt,vt,ot,wt,xt,pt=ut.dyn_tree,Et=ut.max_code,$t=ut.stat_desc.static_tree,Gt=ut.stat_desc.has_stree,Kt=ut.stat_desc.extra_bits,Ct=ut.stat_desc.extra_base,bt=ut.stat_desc.max_length,yt=0;for(ot=0;ot<=c;ot++)rt.bl_count[ot]=0;for(pt[2*rt.heap[rt.heap_max]+1]=0,_t=rt.heap_max+1;_t<n;_t++)bt<(ot=pt[2*pt[2*(dt=rt.heap[_t])+1]+1]+1)&&(ot=bt,yt++),pt[2*dt+1]=ot,Et<dt||(rt.bl_count[ot]++,wt=0,Ct<=dt&&(wt=Kt[dt-Ct]),xt=pt[2*dt],rt.opt_len+=xt*(ot+wt),Gt&&(rt.static_len+=xt*($t[2*dt+1]+wt)));if(yt!==0){do{for(ot=bt-1;rt.bl_count[ot]===0;)ot--;rt.bl_count[ot]--,rt.bl_count[ot+1]+=2,rt.bl_count[bt]--,yt-=2}while(0<yt);for(ot=bt;ot!==0;ot--)for(dt=rt.bl_count[ot];dt!==0;)Et<(vt=rt.heap[--_t])||(pt[2*vt+1]!==ot&&(rt.opt_len+=(ot-pt[2*vt+1])*pt[2*vt],pt[2*vt+1]=ot),dt--)}}(o,x),ht(M,it,o.bl_count)}function t(o,x,P){var N,A,M=-1,q=x[1],H=0,J=7,it=4;for(q===0&&(J=138,it=3),x[2*(P+1)+1]=65535,N=0;N<=P;N++)A=q,q=x[2*(N+1)+1],++H<J&&A===q||(H<it?o.bl_tree[2*A]+=H:A!==0?(A!==M&&o.bl_tree[2*A]++,o.bl_tree[2*z]++):H<=10?o.bl_tree[2*E]++:o.bl_tree[2*j]++,M=A,it=(H=0)===q?(J=138,3):A===q?(J=6,3):(J=7,4))}function F(o,x,P){var N,A,M=-1,q=x[1],H=0,J=7,it=4;for(q===0&&(J=138,it=3),N=0;N<=P;N++)if(A=q,q=x[2*(N+1)+1],!(++H<J&&A===q)){if(H<it)for(;G(o,A,o.bl_tree),--H!=0;);else A!==0?(A!==M&&(G(o,A,o.bl_tree),H--),G(o,z,o.bl_tree),K(o,H-3,2)):H<=10?(G(o,E,o.bl_tree),K(o,H-3,3)):(G(o,j,o.bl_tree),K(o,H-11,7));M=A,it=(H=0)===q?(J=138,3):A===q?(J=6,3):(J=7,4)}}h(Z);var B=!1;function f(o,x,P,N){K(o,(d<<1)+(N?1:0),3),function(A,M,q,H){nt(A),H&&(Y(A,q),Y(A,~q)),l.arraySet(A.pending_buf,A.window,M,q,A.pending),A.pending+=q}(o,x,P,!0)}y._tr_init=function(o){B||(function(){var x,P,N,A,M,q=new Array(c+1);for(A=N=0;A<v-1;A++)for(L[A]=N,x=0;x<1<<R[A];x++)e[N++]=A;for(e[N-1]=A,A=M=0;A<16;A++)for(Z[A]=M,x=0;x<1<<W[A];x++)T[M++]=A;for(M>>=7;A<i;A++)for(Z[A]=M<<7,x=0;x<1<<W[A]-7;x++)T[256+M++]=A;for(P=0;P<=c;P++)q[P]=0;for(x=0;x<=143;)X[2*x+1]=8,x++,q[8]++;for(;x<=255;)X[2*x+1]=9,x++,q[9]++;for(;x<=279;)X[2*x+1]=7,x++,q[7]++;for(;x<=287;)X[2*x+1]=8,x++,q[8]++;for(ht(X,m+1,q),x=0;x<i;x++)b[2*x+1]=5,b[2*x]=st(x,5);Q=new V(X,R,_+1,m,c),U=new V(b,W,0,i,c),tt=new V(new Array(0),D,0,p,g)}(),B=!0),o.l_desc=new O(o.dyn_ltree,Q),o.d_desc=new O(o.dyn_dtree,U),o.bl_desc=new O(o.bl_tree,tt),o.bi_buf=0,o.bi_valid=0,et(o)},y._tr_stored_block=f,y._tr_flush_block=function(o,x,P,N){var A,M,q=0;0<o.level?(o.strm.data_type===2&&(o.strm.data_type=function(H){var J,it=4093624447;for(J=0;J<=31;J++,it>>>=1)if(1&it&&H.dyn_ltree[2*J]!==0)return a;if(H.dyn_ltree[18]!==0||H.dyn_ltree[20]!==0||H.dyn_ltree[26]!==0)return r;for(J=32;J<_;J++)if(H.dyn_ltree[2*J]!==0)return r;return a}(o)),ct(o,o.l_desc),ct(o,o.d_desc),q=function(H){var J;for(t(H,H.dyn_ltree,H.l_desc.max_code),t(H,H.dyn_dtree,H.d_desc.max_code),ct(H,H.bl_desc),J=p-1;3<=J&&H.bl_tree[2*$[J]+1]===0;J--);return H.opt_len+=3*(J+1)+5+5+4,J}(o),A=o.opt_len+3+7>>>3,(M=o.static_len+3+7>>>3)<=A&&(A=M)):A=M=P+5,P+4<=A&&x!==-1?f(o,x,P,N):o.strategy===4||M===A?(K(o,2+(N?1:0),3),ft(o,X,b)):(K(o,4+(N?1:0),3),function(H,J,it,rt){var ut;for(K(H,J-257,5),K(H,it-1,5),K(H,rt-4,4),ut=0;ut<rt;ut++)K(H,H.bl_tree[2*$[ut]+1],3);F(H,H.dyn_ltree,J-1),F(H,H.dyn_dtree,it-1)}(o,o.l_desc.max_code+1,o.d_desc.max_code+1,q+1),ft(o,o.dyn_ltree,o.dyn_dtree)),et(o),N&&nt(o)},y._tr_tally=function(o,x,P){return o.pending_buf[o.d_buf+2*o.last_lit]=x>>>8&255,o.pending_buf[o.d_buf+2*o.last_lit+1]=255&x,o.pending_buf[o.l_buf+o.last_lit]=255&P,o.last_lit++,x===0?o.dyn_ltree[2*P]++:(o.matches++,x--,o.dyn_ltree[2*(e[P]+_+1)]++,o.dyn_dtree[2*I(x)]++),o.last_lit===o.lit_bufsize-1},y._tr_align=function(o){K(o,2,3),G(o,k,X),function(x){x.bi_valid===16?(Y(x,x.bi_buf),x.bi_buf=0,x.bi_valid=0):8<=x.bi_valid&&(x.pending_buf[x.pending++]=255&x.bi_buf,x.bi_buf>>=8,x.bi_valid-=8)}(o)}},{"../utils/common":41}],53:[function(u,C,y){C.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(u,C,y){(function(l){(function(a,r){if(!a.setImmediate){var h,d,v,_,m=1,i={},p=!1,n=a.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(a);c=c&&c.setTimeout?c:a,h={}.toString.call(a.process)==="[object process]"?function(z){process.nextTick(function(){g(z)})}:function(){if(a.postMessage&&!a.importScripts){var z=!0,E=a.onmessage;return a.onmessage=function(){z=!1},a.postMessage("","*"),a.onmessage=E,z}}()?(_="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",k,!1):a.attachEvent("onmessage",k),function(z){a.postMessage(_+z,"*")}):a.MessageChannel?((v=new MessageChannel).port1.onmessage=function(z){g(z.data)},function(z){v.port2.postMessage(z)}):n&&"onreadystatechange"in n.createElement("script")?(d=n.documentElement,function(z){var E=n.createElement("script");E.onreadystatechange=function(){g(z),E.onreadystatechange=null,d.removeChild(E),E=null},d.appendChild(E)}):function(z){setTimeout(g,0,z)},c.setImmediate=function(z){typeof z!="function"&&(z=new Function(""+z));for(var E=new Array(arguments.length-1),j=0;j<E.length;j++)E[j]=arguments[j+1];var R={callback:z,args:E};return i[m]=R,h(m),m++},c.clearImmediate=s}function s(z){delete i[z]}function g(z){if(p)setTimeout(g,0,z);else{var E=i[z];if(E){p=!0;try{(function(j){var R=j.callback,W=j.args;switch(W.length){case 0:R();break;case 1:R(W[0]);break;case 2:R(W[0],W[1]);break;case 3:R(W[0],W[1],W[2]);break;default:R.apply(r,W)}})(E)}finally{s(z),p=!1}}}}function k(z){z.source===a&&typeof z.data=="string"&&z.data.indexOf(_)===0&&g(+z.data.slice(_.length))}})(typeof self>"u"?l===void 0?this:l:self)}).call(this,typeof mt.commonjsGlobal<"u"?mt.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Wt);const Zt=Wt.exports;var Mt={exports:{}};(function(w,S){(function(u,C){C()})(mt.commonjsGlobal,function(){function u(d,v){return typeof v>"u"?v={autoBom:!1}:typeof v!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.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 C(d,v,_){var m=new XMLHttpRequest;m.open("GET",d),m.responseType="blob",m.onload=function(){h(m.response,v,_)},m.onerror=function(){console.error("could not download file")},m.send()}function y(d){var v=new XMLHttpRequest;v.open("HEAD",d,!1);try{v.send()}catch{}return 200<=v.status&&299>=v.status}function l(d){try{d.dispatchEvent(new MouseEvent("click"))}catch{var v=document.createEvent("MouseEvents");v.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),d.dispatchEvent(v)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof mt.commonjsGlobal=="object"&&mt.commonjsGlobal.global===mt.commonjsGlobal?mt.commonjsGlobal:void 0,r=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(d,v,_){var m=a.URL||a.webkitURL,i=document.createElement("a");v=v||d.name||"download",i.download=v,i.rel="noopener",typeof d=="string"?(i.href=d,i.origin===location.origin?l(i):y(i.href)?C(d,v,_):l(i,i.target="_blank")):(i.href=m.createObjectURL(d),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){l(i)},0))}:"msSaveOrOpenBlob"in navigator?function(d,v,_){if(v=v||d.name||"download",typeof d!="string")navigator.msSaveOrOpenBlob(u(d,_),v);else if(y(d))C(d,v,_);else{var m=document.createElement("a");m.href=d,m.target="_blank",setTimeout(function(){l(m)})}}:function(d,v,_,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof d=="string")return C(d,v,_);var i=d.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,n=/CriOS\/[\d]+/.test(navigator.userAgent);if((n||i&&p||r)&&typeof FileReader<"u"){var c=new FileReader;c.onloadend=function(){var k=c.result;k=n?k:k.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=k:location=k,m=null},c.readAsDataURL(d)}else{var s=a.URL||a.webkitURL,g=s.createObjectURL(d);m?m.location=g:location.href=g,m=null,setTimeout(function(){s.revokeObjectURL(g)},4e4)}});a.saveAs=h.saveAs=h,w.exports=h})})(Mt);const Ht=Mt.exports;const se={name:"GdPageBuild",data(){return{statu:!1,showComponents:[],menuId:"",loading:!1,record:{},show:!1,height:0,allElements:[],timeOut:null,loadElementsList:[],imgList:[],currentImg:""}},computed:{gclass(){return this.expansion.customClass?`${this.expansion.customClass}`:""},zhig(){return this.tableSize==="medium"?12+26:12+24},expansion(){return this.record.expansion?JSON.parse(this.record.expansion):{padding:[12,12,12,12],margin:[0,0,0,0],bjColor:"#fff",radius:[0,0,0,0],customCss:"",customClass:""}},style(){const w=this.height+this.zhig-12,S=this.height==0?`min-height:calc(100vh - 45px - ${w}px );`:`min-height:${w}px;`,u=this.record.customCss?this.record.customCss:"";return`${S}${It(this.expansion)}${u}`},...St.mapGetters(["screenHeight","tableSize","seekTableId"])},watch:{screenHeight(){this.getHeight()}},components:{BuildBlocks:qt.BuildBlocks},methods:{clearShowComponents(){this.showComponents=[]},viewFormDetailsApi(w){if(!w.data)return;const S=decodeURIComponent(w.data),u=S.indexOf("?")===-1?S:S.slice(0,S.indexOf("?")),C=gt.getParamsQuery(S);At.post(u,C).then(y=>{y.code===200&&this.viewFormDetails({data:y.data})})},viewFormDetails(w){this.showComponents=["viewFormDetails"],this.$nextTick(()=>{setTimeout(()=>{this.$refs.viewFormDetails.open(w.data)},0)})},baseOpenApiLink(w){if(!w.data)return;const S=decodeURIComponent(w.data),u=S.indexOf("?")===-1?S:S.slice(0,S.indexOf("?")),C=gt.getParamsQuery(S);At.post(u,C).then(y=>{if(y.code===200){const l=w.source.linkWindowKey?w.source.linkWindowKey:w.source.key;window.open(y.data,l)}})},baseRouterPush(w){if(!w.data)return;gt.isValidURL(w.data)?window.open(w.data,"_self"):this.$router.push(w.data)},baseOpenLink(w){if(!w.data)return;const S=w.source.linkWindowKey?w.source.linkWindowKey:w.source.key;window.open(w.data,S)},closed(w){this.showComponents=this.showComponents.filter(S=>S!==w)},baseFileImg(w){this.showComponents=["imgPreview"],this.getSysFileInfoPreview(w).then(S=>{this.imgList=[S],this.currentImg=S,this.$nextTick(()=>{setTimeout(()=>{this.$refs.imgPreview.imgListShow=!0,this.$refs.imgPreview.open(),this.statu=!1},0)})}).catch(()=>{this.statu=!1})},getSysFileInfoPreview(w){return w.url?new Promise((S,u)=>{S(w.url)}):zt.sysFileInfoPreview({id:w.id}).then(S=>window.URL.createObjectURL(new Blob([S])))},baseFilePreview(w){if(this.statu)return;this.statu=!0;let S=[];if(w.data&>.isJson(w.data)?S=JSON.parse(w.data):w.data&>.isJson(w.data.attachments)?S=JSON.parse(w.data.attachments):w.data&&Array.isArray(w.data)&&(S=w.data),S.length===0){this.statu=!1,this.$message.warning(this.$i18nt("gd.https.fileNotFoundTip","\u672A\u627E\u5230\u6307\u5B9A\u6587\u4EF6"));return}const u=S[0],C=u.fileoriginname.substr(u.fileoriginname.lastIndexOf(".")+1).toLowerCase();if(["gif","jpeg","png","jpg","JPG","PNG","bmp","BMP"].includes(C)){this.baseFileImg(u);return}let y={name:u.fileoriginname,fileId:u.id,fullscreen:!0};this.showComponents=["filePreview"],this.$nextTick(()=>{setTimeout(()=>{this.$refs.filePreview.open(y),this.statu=!1},200)})},baseFileDown(w){if(this.statu)return;this.statu=!0;let S=[];if(w.data&>.isJson(w.data)?S=JSON.parse(w.data):w.data&>.isJson(w.data.attachments)?S=JSON.parse(w.data.attachments):w.data&&Array.isArray(w.data)&&(S=w.data),S.length===0){this.statu=!1,this.$message.warning(this.$i18nt("gd.https.fileNotFoundTip","\u672A\u627E\u5230\u6307\u5B9A\u6587\u4EF6"));return}let u=new Date().getTime()+gt.uuid(8);const C=this.$message({message:S.length===1?this.$i18nt("gd.https.downloading","\u6B63\u5728\u4E0B\u8F7D\u4E2D......"):this.$i18nt("gd.https.downloading","\u6B63\u5728\u5BFC\u51FA\u4E2D..."),duration:0,iconClass:"el-icon-loading"});if(S.length===1){this.getFileBlob(S[0]).then(r=>{if(r){const h=S[0].fileoriginname?S[0].fileoriginname:"",d=h?h.substr(h.lastIndexOf(".")+1).toLowerCase():"",v=new Blob([r],{type:this.getBlobType(d)}),_=URL.createObjectURL(v);let m=document.createElement("a");m.style.display="none",m.href=_,m.download=S[0].fileoriginname?S[0].fileoriginname:u,m.click(),setTimeout(()=>{C.close(),this.statu=!1,URL.revokeObjectURL(m.href)},1e3)}else C.close(),this.statu=!1,this.$message.error(r.message)});return}let y=new Zt,l=[],a={};S.forEach(r=>{let h=this.getFileBlob(r).then(d=>{y.file(r.fileoriginname,d,{binary:!0}),a[r.fileoriginname]=d});l.push(h)}),Promise.all(l).then(()=>{y.generateAsync({type:"blob"}).then(r=>{Ht.saveAs(r,u),C.close(),this.statu=!1})}).catch(r=>{C.close(),this.statu=!1,this.$message.error("err!")})},doEventDataList(w,S){const u=S.executeEvent?S.executeEvent:[];if(u.length===0)return;if(u.length===1&&u[0].executeEvent){u[0].executeEvent(w);return}const C=u.filter(y=>y.id===w.id)[0];C&&C.executeEvent&&C.executeEvent(w)},doEvent(w,S="execute"){if(S==="execute"){this.doEventSys(w);return}const u=this.allElements.filter(C=>C.key===w.key)[0];if(u&&u.type==="dataList"){this.doEventDataList(w,u);return}u&&u.executeEvent&&u.executeEvent(w)},doEventSys(w){if(w.key==="GdFilePreview"){w.functionName==="gd-file-preview"?this.baseFilePreview(w):this.baseFileDown(w);return}if(w.key==="GdOpenLink"){w.functionName==="gd-win-open-link"&&this.baseOpenLink(w),w.functionName==="gd-router-push"&&this.baseRouterPush(w),w.functionName==="gd-win-open-api"&&this.baseOpenApiLink(w);return}if(w.key==="GdViewFormDetails"){w.functionName==="gd-details-open"&&this.viewFormDetails(w),w.functionName==="gd-details-open-api"&&this.viewFormDetailsApi(w);return}const S=this.allElements.filter(u=>u.key===w.key)[0];if(S&&S.type==="dataList"){this.doEventDataList(w,S);return}S&&S.executeEvent&&S.executeEvent(w)},eventsCall(w){if(w.functionName===void 0||w.key===void 0||w.key===""||w.key===null)return;const S=w.functionName,u=w.key||"",C=w.item||"",y=w.data||{},l=this.allElements.filter(a=>a[u]===C)[0];l&&l[S]&&l[S](y)},getComponentParameters(w,S="key"){return this.allElements.filter(C=>C[S]===w)[0]},hasLoad(w){w&&this.timeOut&&clearTimeout(this.timeOut),this.loadElementsList=this.loadElementsList.concat(w)},hideLoad(w){this.loadElementsList=this.loadElementsList.filter(S=>S!==w),!(this.loadElementsList.length>0)&&(this.loading=!1)},baseLoadElements(){let w=[];const S=u=>(u=u.filter((C,y)=>(C.doEvent===void 0&&(C.hasLoad=this.hasLoad,C.hideLoad=this.hideLoad,C.eventsCall=this.eventsCall,C.doEvent=this.doEvent,C.doEventSys=this.doEventSys,C.getComponentData=this.getComponentParameters),C.type==="table"&&(C.config=Object.assign({...this.record},{pageContent:[]})),w.push(C),C.columns?C.columns.forEach(l=>{S(l.list)}):C.list&&S(C.list),!0)),u);S(this.record.options.list),this.allElements=w},init(){this.loading=!0,this.show=!1,Jt.sysMenuDetail({id:this.menuId}).then(w=>{w.code===200&&(this.record=Object.assign(w.data,{options:JSON.parse(w.data.pagecontent)}),this.SeekTableId(this.record.syscodegenname?this.record.syscodegenname:""),this.baseLoadElements()),this.$nextTick(()=>{this.getHeight().then(()=>{this.show=!0,this.timeOut=setTimeout(()=>{this.loading=!1},300)})})})},getHeight(){return new Promise(w=>{const S=document.getElementById("gd-layout-head-height"),u=S?S.offsetHeight:0;this.height=this.screenHeight-u-this.zhig,w()})},getBlobType(w){let S="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return w==="pdf"?S="application/pdf":w==="docx"&&(S="application/msword"),S},getFileBlob(w){return zt.sysFileInfoDownload({id:w.id}).then(S=>S.data)},...St.mapActions(["SeekTableId"])},mounted(){this.menuId=this.$route.meta.id,this.init()},beforeDestroy(){this._watcher&&this._watcher.teardown(),this.show=!1,this.timeOut&&clearTimeout(this.timeOut),this.record=null,this.allElements=[]}};var ae=function(){var S=this,u=S._self._c;return u("div",{directives:[{name:"loading",rawName:"v-loading",value:S.loading,expression:"loading"}],staticClass:"gd-page-bulid",class:S.gclass,style:S.style},[S.loading?u("div",{staticClass:"bulid-loading"},[u("gd-view-loading",{attrs:{height:S.height}})],1):S._e(),S.show?u("BuildBlocks",{attrs:{record:S.record,height:S.height}}):S._e(),u("gd-file-preview",{ref:"filePreview",attrs:{options:{},hasFullscreen:!0},on:{closed:function(C){return S.closed("filePreview")}}}),S.showComponents.includes("imgPreview")?u("gd-img-preview",{ref:"imgPreview",attrs:{filePreviewShow:S.imgList.length>0,imgList:S.imgList,currentImg:S.currentImg}}):S._e(),S.showComponents.includes("viewFormDetails")?u("gd-view-form-details",{ref:"viewFormDetails",on:{close:S.clearShowComponents}}):S._e()],1)},oe=[],le=St.normalizeComponent(se,ae,oe,!1,null,"66072dea",null,null);const he=le.exports;exports.FileSaver=Ht;exports.GDpackage=he;exports.JSZip=Zt;exports.backgroundData=Dt;exports.colorData=Ft;exports.fontSize=Lt;exports.fontWeight=jt;exports.getCss=It;exports.justifyContent=Ut;exports.lineHeight=Tt;exports.marginData=Bt;exports.maxLineClamp=Pt;exports.paddingData=Ot;exports.radiusData=Rt;exports.widthData=Nt;
|