This commit is contained in:
oneao committed 2026-04-28 17:29:53 +08:00
1 parent ae6ccad238
commit b2d113db38
17 files changed
+3087 -1630

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
+945
View File
@@ -0,0 +1,945 @@
.g3-file-container {
height: 100%;
display: flex;
background: #ffffff;
overflow: hidden;
border: 1px solid #eef0f2;
border-radius: 8px;
}
.g3-file-container.drag-over {
background: rgba(22, 93, 255, 0.05);
border: 2px dashed #165dff;
}
.g3-file-left-panel {
width: 50%;
display: flex;
flex-direction: column;
border-right: 1px solid #eef0f2;
min-width: 300px;
}
.g3-file-container .header {
display: flex;
align-items: center;
height: 50px;
padding: 0px 14px;
background: #fafbfc;
border-bottom: 1px solid #eef0f2;
}
.g3-file-container .main {
flex: 1;
min-height: 0;
padding: 4px 0px;
overflow: auto;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
}
.g3-file-container .main > * {
margin: 10px;
}
.g3-file-container .empty-tip {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 20px;
color: #999;
}
.g3-file-container .footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 14px;
background: #fafbfc;
border-top: 1px solid #eee;
}
.g3-file-container .header,
.g3-file-container .footer {
flex-shrink: 0;
}
.footer div {
display: flex;
align-items: center;
}
.footer .pending-count {
margin-right: 12px;
font-size: 14px;
}
.footer .pending-count .pending-number {
margin-left: 4px;
}
.g3-file-container .check-all {
display: flex;
align-items: center;
margin-right: 12px;
font-size: 14px;
cursor: pointer;
}
.g3-file-container .check-all input {
width: 16px;
height: 16px;
}
.g3-file-container .check-all span {
margin-left: 4px;
color: #333;
}
.g3-file-container button {
font-size: 13px;
border-radius: 4px;
background: #165dff;
color: #fff;
cursor: pointer;
transition: all 0.2s ease;
border: none;
width: auto;
height: 28px;
line-height: 1;
padding: 0 15px;
display: flex;
align-items: center;
justify-content: center;
}
.g3-file-container .g3-file-left-panel button svg {
margin-right: 4px;
}
.g3-file-container button + button {
margin-left: 12px;
}
.g3-file-container button:hover:not(:disabled) {
filter: brightness(1.2);
}
.g3-file-container button:active:not(:disabled) {
filter: brightness(0.9);
}
.g3-file-container button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.g3-file-container .delete-all {
background: #ff4d4f;
}
.g3-file-container .g3-file-item {
width: calc(50% - 26px);
position: relative;
cursor: pointer;
border: 1px solid #eef0f2;
border-radius: 8px;
background: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.g3-file-container .g3-file-item:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.g3-file-item .g3-file-preview {
height: 100px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: #fafbfc;
}
.g3-file-item .g3-file-preview .g3-file-img {
width: 100%;
height: 100%;
}
.g3-file-item .g3-file-preview svg {
height: 86px;
width: 100%;
}
.g3-file-item .g3-file-preview .g3-img-container {
width: 100%;
height: 100%;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.g3-file-item .g3-file-preview .g3-img-container.is-error .g3-img-error {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
background-color: #f0f2f5;
}
.g3-file-item .g3-file-preview .g3-img-container .g3-img-error {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.g3-file-item .g3-file-preview .g3-img-container .g3-img-error svg {
width: 48px;
height: 48px;
color: #999;
}
.g3-file-item .g3-file-info {
padding: 8px;
font-size: 12px;
color: #999;
line-height: 1.4;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
width: 100%;
box-sizing: border-box;
}
.g3-file-item .g3-file-info span {
display: block;
width: 100%;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
color: #888;
}
.g3-file-item .g3-file-info .g3-file-name {
font-size: 13px;
color: #000000;
}
.g3-file-item .g3-file-actions {
display: flex;
align-items: center;
justify-content: flex-end;
overflow: hidden;
border-top: 1px solid #f0f2f5;
}
.g3-file-item .g3-file-action {
padding: 8px 2px;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
cursor: pointer;
font-size: 12px;
border-right: 1px solid #f0f2f5;
}
.g3-file-item .g3-file-action:hover {
background-color: #f5f6f8;
color: #333;
}
.g3-file-item .g3-file-action:active {
background: rgba(22, 93, 255, 0.12);
}
.g3-file-item .g3-file-action.is-disabled {
opacity: 0.4;
pointer-events: none;
cursor: not-allowed;
}
.g3-file-item .g3-file-action:first-child {
border-radius: 0 0 0 8px;
}
.g3-file-item .g3-file-action:last-child {
border-right: none;
border-radius: 0 0 8px 0;
}
.g3-file-item .g3-file-action svg {
width: 20px;
height: 20px;
color: #666;
}
.g3-file-item .g3-file-checkbox {
position: absolute;
top: 8px;
left: 8px;
width: 16px;
height: 16px;
cursor: pointer;
opacity: 0;
z-index: 10;
}
.g3-file-item .g3-file-checkbox + .g3-checkbox-label {
position: absolute;
top: 8px;
left: 8px;
width: 16px;
height: 16px;
border: 1px solid #d9d9d9;
border-radius: 2px;
background: white;
cursor: pointer;
transition: all 0.2s ease;
z-index: 5;
}
.g3-file-item .g3-file-checkbox:checked + .g3-checkbox-label {
background: #165dff;
border-color: #165dff;
}
.g3-file-item .g3-file-checkbox:checked + .g3-checkbox-label::after {
content: "";
position: absolute;
top: 2px;
left: 5px;
width: 4px;
height: 8px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.g3-file-item .g3-file-checkbox:hover + .g3-checkbox-label {
border-color: #165dff;
box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}
.g3-file-item .g3-file-checkbox:disabled + .g3-checkbox-label {
opacity: 0.4;
cursor: not-allowed;
}
.g3-file-item .g3-file-pending-badge {
position: absolute;
top: 6px;
right: 6px;
background: #ff9800;
color: white;
font-size: 10px;
padding: 2px 6px;
border-radius: 10px;
z-index: 1;
}
.g3-file-item .g3-file-uploading-badge {
position: absolute;
top: 6px;
right: 6px;
background: #165dff;
color: white;
font-size: 10px;
padding: 2px 6px;
border-radius: 10px;
z-index: 1;
}
.g3-file-item .g3-file-failed-badge {
position: absolute;
top: 6px;
right: 6px;
background: #ff4d4f;
color: white;
font-size: 10px;
padding: 2px 6px;
border-radius: 10px;
z-index: 1;
}
.g3-file-item .g3-file-uploaded-badge {
position: absolute;
top: 6px;
right: 6px;
background: #52c41a;
color: white;
font-size: 10px;
padding: 2px 6px;
border-radius: 10px;
z-index: 1;
}
.g3-file-container .g3-file-delete-btn {
position: absolute;
top: -8px;
right: -8px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #ebebeb;
color: #666;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 100;
font-size: 12px;
border: 1px solid #e8e8e8;
transition: all 0.2s ease;
}
.g3-file-container .g3-file-delete-btn:hover {
background: #ff4d4f;
color: white;
}
.g3-file-container .g3-file-item .g3-file-delete-btn.is-disabled {
opacity: 0.4;
pointer-events: none;
cursor: not-allowed;
}
.g3-file-preview-panel {
flex: 1;
display: flex;
flex-direction: column;
background: #fafbfc;
min-width: 300px;
}
.g3-preview-toolbar {
height: 50px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
background: #ffffff;
border-bottom: 1px solid #eef0f2;
flex-shrink: 0;
}
.g3-preview-toolbar .preview-nav {
display: flex;
align-items: center;
gap: 8px;
}
.g3-preview-toolbar .preview-btn {
width: 32px;
height: 32px;
border: 1px solid #d9d9d9;
border-radius: 4px;
background: #ffffff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
padding: 0;
}
.g3-preview-toolbar .preview-btn:hover:not(:disabled) {
border-color: #165dff;
background: rgba(22, 93, 255, 0.05);
}
.g3-preview-toolbar .preview-btn:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.g3-preview-toolbar .preview-btn svg {
width: 16px;
height: 16px;
color: #666;
}
.g3-preview-toolbar .preview-btn:hover:not(:disabled) svg {
color: #165dff;
}
.g3-preview-toolbar .preview-info {
display: flex;
flex-direction: column;
align-items: flex-end;
}
.g3-preview-toolbar .preview-info .preview-name {
font-size: 13px;
color: #333;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
}
.g3-preview-toolbar .preview-info .preview-counter {
font-size: 12px;
color: #999;
}
.g3-preview-content {
flex: 1;
height: 90%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
overflow: auto;
}
.g3-preview-content .preview-placeholder {
text-align: center;
color: #999;
}
.g3-preview-content .preview-placeholder svg {
width: 80px;
height: 80px;
margin-bottom: 16px;
opacity: 0.5;
}
.g3-preview-content .preview-placeholder h3 {
font-size: 14px;
margin-bottom: 8px;
color: #666;
}
.g3-preview-content .preview-placeholder p {
font-size: 12px;
line-height: 1.5;
}
.g3-preview-content .preview-image {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.g3-preview-content .preview-icon svg {
width: 120px;
height: 120px;
color: #ccc;
}
.g3-preview-content .preview-iframe {
width: 100%;
height: 100%;
border: none;
margin: 0;
padding: 0;
background: #ffffff;
}
.g3-preview-content .preview-file-info {
text-align: left;
margin-top: 16px;
padding: 16px;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.g3-preview-content .preview-file-info .info-label {
font-weight: 500;
color: #666;
}
.g3-preview-content .preview-file-info .status-uploaded {
color: #52c41a;
font-weight: 500;
}
.g3-preview-content .preview-file-info .status-pending {
color: #ff9800;
font-weight: 500;
}
.g3-preview-content .preview-file-info .cannot-preview {
margin-top: 12px;
padding: 8px 12px;
background: rgba(255, 77, 79, 0.08);
color: #ff4d4f;
border-radius: 4px;
font-size: 12px;
}
.g3-preview-content .preview-file-info .upload-tip {
margin-top: 12px;
padding: 8px 12px;
background: rgba(255, 152, 0, 0.08);
color: #ff9800;
border-radius: 4px;
font-size: 12px;
}
.g3-preview-content .url-error {
margin-top: 12px;
padding: 8px 12px;
background: rgba(255, 77, 79, 0.08);
color: #ff4d4f;
border-radius: 4px;
font-size: 12px;
}
.g3-global-menu {
position: absolute;
z-index: 9999;
width: 160px;
background: #fff;
border: 1px solid #eee;
border-radius: 8px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
position: fixed;
visibility: hidden;
pointer-events: none;
}
.g3-global-menu.is-open {
visibility: visible;
pointer-events: auto;
}
.g3-global-menu .g3-action-menu-item {
padding: 8px 16px;
font-size: 14px;
color: #333;
cursor: pointer;
transition: background-color 0.2s ease;
}
.g3-global-menu .g3-action-menu-item:hover {
background-color: #f5f5f5;
}
.g3-global-menu .g3-action-menu-item:active {
background-color: #e8e8e8;
}
.g3-toast-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 12px;
}
.g3-toast {
display: flex;
align-items: flex-start;
padding: 12px 16px;
background: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
min-width: 280px;
max-width: 400px;
animation: toastSlideIn 0.3s ease-out;
border-left: 4px solid #e8e8e8;
}
@keyframes toastSlideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes toastSlideOut {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(100%);
opacity: 0;
}
}
.g3-toast.closing {
animation: toastSlideOut 0.3s ease-out forwards;
}
.g3-toast .toast-icon {
flex-shrink: 0;
width: 20px;
height: 20px;
margin-right: 12px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
.g3-toast.toast-success {
border-left-color: #52c41a;
}
.g3-toast.toast-success .toast-icon {
background: rgba(82, 196, 26, 0.1);
color: #52c41a;
}
.g3-toast.toast-success .toast-title {
color: #52c41a;
}
.g3-toast.toast-error {
border-left-color: #ff4d4f;
}
.g3-toast.toast-error .toast-icon {
background: rgba(255, 77, 79, 0.1);
color: #ff4d4f;
}
.g3-toast.toast-error .toast-title {
color: #ff4d4f;
}
.g3-toast.toast-info {
border-left-color: #165dff;
}
.g3-toast.toast-info .toast-icon {
background: rgba(22, 93, 255, 0.1);
color: #165dff;
}
.g3-toast.toast-info .toast-title {
color: #165dff;
}
.g3-toast.toast-warning {
border-left-color: #ff9800;
}
.g3-toast.toast-warning .toast-icon {
background: rgba(255, 152, 0, 0.1);
color: #ff9800;
}
.g3-toast.toast-warning .toast-title {
color: #ff9800;
}
.g3-toast .toast-content {
flex: 1;
min-width: 0;
}
.g3-toast .toast-title {
font-size: 14px;
font-weight: 500;
color: #333;
margin-bottom: 4px;
}
.g3-toast .toast-message {
font-size: 12px;
color: #666;
line-height: 1.4;
}
.g3-toast .toast-close {
flex-shrink: 0;
margin-left: 12px;
width: 20px;
height: 20px;
border: none;
background: transparent;
color: #999;
cursor: pointer;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.g3-toast .toast-close:hover {
background: #f0f2f5;
color: #333;
}
.g3-task-center {
position: fixed;
bottom: 20px;
right: 20px;
width: 340px;
background: #ffffff;
border: 1px solid #eef0f2;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 9999;
display: none;
animation: taskCenterSlideIn 0.3s ease-out;
}
@keyframes taskCenterSlideIn {
from {
transform: translateX(100%) translateY(100%);
opacity: 0;
}
to {
transform: translateX(0) translateY(0);
opacity: 1;
}
}
.g3-task-center.is-visible {
display: block;
}
.g3-task-center .task-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
background: #fafbfc;
border-bottom: 1px solid #eef0f2;
border-radius: 8px 8px 0 0;
}
.g3-task-center .task-header .task-title {
font-size: 14px;
font-weight: 500;
color: #333;
}
.g3-task-center .task-header .task-close {
width: 24px;
height: 24px;
border: none;
background: transparent;
color: #666;
font-size: 16px;
cursor: pointer;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.g3-task-center .task-header .task-close:hover {
background: #f0f2f5;
color: #333;
}
.g3-task-center .task-body {
padding: 16px;
}
.g3-task-center .current-item {
font-size: 13px;
color: #666;
margin-bottom: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.g3-task-center .progress-bar {
width: 100%;
height: 6px;
background: #f0f2f5;
border-radius: 3px;
overflow: hidden;
margin-bottom: 12px;
}
.g3-task-center .progress-bar .progress-inner {
height: 100%;
background: #165dff;
border-radius: 3px;
transition: width 0.3s ease;
}
.g3-task-center .progress-text {
font-size: 12px;
color: #999;
text-align: right;
margin-bottom: 16px;
}
.g3-task-center .result-section {
display: flex;
justify-content: space-around;
padding-top: 12px;
border-top: 1px solid #f0f2f5;
}
.g3-task-center .result-item {
text-align: center;
}
.g3-task-center .result-item .result-value {
font-size: 18px;
font-weight: 500;
color: #333;
}
.g3-task-center .result-item .result-label {
font-size: 12px;
color: #999;
margin-top: 4px;
}
.g3-task-center .result-item.result-success .result-value {
color: #52c41a;
}
.g3-task-center .result-item.result-failed .result-value {
color: #ff4d4f;
}
.g3-task-center .complete-button {
width: 100%;
margin-top: 12px;
padding: 8px;
border: none;
background: #165dff;
color: #fff;
font-size: 13px;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s ease;
}
.g3-task-center .complete-button:hover {
filter: brightness(1.1);
}
.g3-ui-lock {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.05);
z-index: 9998;
display: none;
}
.g3-ui-lock.is-locked {
display: block;
}
File diff suppressed because it is too large. Load diff
Whitespace-only changes.
+3
View File
@@ -0,0 +1,3 @@
(function(a,b){if("function"==typeof define&&define.amd)define([],b);else if("undefined"!=typeof exports)b();else{b(),a.FileSaver={exports:{}}.exports}})(this,function(){"use strict";function b(a,b){return"undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c)},d.onerror=function(){console.error("could not download file")},d.send()}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send()}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"))}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b)}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,a=/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href)},4E4),setTimeout(function(){e(j)},0))}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else{var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i)})}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null},k.readAsDataURL(b)}else{var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m)},4E4)}});f.saveAs=g.saveAs=g,"undefined"!=typeof module&&(module.exports=g)});
//# sourceMappingURL=FileSaver.min.js.map
+13
View File
@@ -0,0 +1,13 @@
/*!
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=e()}}(function(){return function s(a,o,h){function u(r,e){if(!o[r]){if(!a[r]){var t="function"==typeof require&&require;if(!e&&t)return t(r,!0);if(l)return l(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var i=o[r]={exports:{}};a[r][0].call(i.exports,function(e){var t=a[r][1][e];return u(t||e)},i,i.exports,s,a,o,h)}return o[r].exports}for(var l="function"==typeof require&&require,e=0;e<h.length;e++)u(h[e]);return u}({1:[function(e,t,r){"use strict";var d=e("./utils"),c=e("./support"),p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,n,i,s,a,o,h=[],u=0,l=e.length,f=l,c="string"!==d.getTypeOf(e);u<e.length;)f=l-u,n=c?(t=e[u++],r=u<l?e[u++]:0,u<l?e[u++]:0):(t=e.charCodeAt(u++),r=u<l?e.charCodeAt(u++):0,u<l?e.charCodeAt(u++):0),i=t>>2,s=(3&t)<<4|r>>4,a=1<f?(15&r)<<2|n>>6:64,o=2<f?63&n:64,h.push(p.charAt(i)+p.charAt(s)+p.charAt(a)+p.charAt(o));return h.join("")},r.decode=function(e){var t,r,n,i,s,a,o=0,h=0,u="data:";if(e.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var l,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===p.charAt(64)&&f--,e.charAt(e.length-2)===p.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=c.uint8array?new Uint8Array(0|f):new Array(0|f);o<e.length;)t=p.indexOf(e.charAt(o++))<<2|(i=p.indexOf(e.charAt(o++)))>>4,r=(15&i)<<4|(s=p.indexOf(e.charAt(o++)))>>2,n=(3&s)<<6|(a=p.indexOf(e.charAt(o++))),l[h++]=t,64!==s&&(l[h++]=r),64!==a&&(l[h++]=n);return l}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils");var o=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a<s;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a<s;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),s=e("./utils"),a=e("./stream/GenericWorker"),o=n?"uint8array":"array";function h(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",s.inherits(h,a),h.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(Line truncated