forked from MarSeventh/CloudFlare-ImgBed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
305.073b39ab.js.map
1 lines (1 loc) · 74.4 KB
/
305.073b39ab.js.map
1
{"version":3,"file":"js/305.073b39ab.js","mappings":"4LAAC,SAASA,EAAEC,GAAqDC,EAAOC,QAAQF,GAAiI,CAAhN,CAAkNG,GAAM,WAAW,OAAO,SAASJ,GAAG,IAAIC,EAAE,CAAC,EAAE,SAASI,EAAEC,GAAG,GAAGL,EAAEK,GAAG,OAAOL,EAAEK,GAAGH,QAAQ,IAAII,EAAEN,EAAEK,GAAG,CAACE,EAAEF,EAAEG,GAAE,EAAGN,QAAQ,CAAC,GAAG,OAAOH,EAAEM,GAAGI,KAAKH,EAAEJ,QAAQI,EAAEA,EAAEJ,QAAQE,GAAGE,EAAEE,GAAE,EAAGF,EAAEJ,OAAO,CAAC,OAAOE,EAAEM,EAAEX,EAAEK,EAAEO,EAAEX,EAAEI,EAAEQ,EAAE,SAASb,EAAEC,EAAEK,GAAGD,EAAEE,EAAEP,EAAEC,IAAIa,OAAOC,eAAef,EAAEC,EAAE,CAACe,YAAW,EAAGC,IAAIX,GAAG,EAAED,EAAEC,EAAE,SAASN,GAAG,oBAAoBkB,QAAQA,OAAOC,aAAaL,OAAOC,eAAef,EAAEkB,OAAOC,YAAY,CAACC,MAAM,WAAWN,OAAOC,eAAef,EAAE,aAAa,CAACoB,OAAM,GAAI,EAAEf,EAAEL,EAAE,SAASA,EAAEC,GAAG,GAAG,EAAEA,IAAID,EAAEK,EAAEL,IAAI,EAAEC,EAAE,OAAOD,EAAE,GAAG,EAAEC,GAAG,iBAAiBD,GAAGA,GAAGA,EAAEqB,WAAW,OAAOrB,EAAE,IAAIM,EAAEQ,OAAOQ,OAAO,MAAM,GAAGjB,EAAEC,EAAEA,GAAGQ,OAAOC,eAAeT,EAAE,UAAU,CAACU,YAAW,EAAGI,MAAMpB,IAAI,EAAEC,GAAG,iBAAiBD,EAAE,IAAI,IAAIO,KAAK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OAAMA,GAEV9F,QAAS,CACL7G,YAAAA,GACInE,OAAO2M,SAAS5M,KAAO,QAC3B,EACAkE,aAAAA,GACI5H,KAAKkJ,eAAgB,CACzB,EACA3B,kBAAAA,GACIvH,KAAK6I,aAAqC,SAAtB7I,KAAK6I,aAA0B,QAAU,MACjE,EACAb,YAAAA,GACImH,IAAAA,OAAe,YACfnP,KAAKkQ,QAAQtB,KAAK,UAClB5O,KAAKgQ,SAAS0E,QAAQ,SAC1B,IK1IR,MAAM,IAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,S","sources":["webpack://sanyue_imghub/./node_modules/image-conversion/build/conversion.js","webpack://sanyue_imghub/./node_modules/image-conversion/index.js","webpack://sanyue_imghub/./src/views/UploadHome.vue","webpack://sanyue_imghub/./src/components/UploadForm.vue","webpack://sanyue_imghub/./src/components/UploadForm.vue?9bfc","webpack://sanyue_imghub/./src/components/Footer.vue","webpack://sanyue_imghub/./src/components/Footer.vue?7cca","webpack://sanyue_imghub/./src/views/UploadHome.vue?42a3"],"sourcesContent":["!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.imageConversion=e():t.imageConversion=e()}(this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(t,\"__esModule\",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&\"object\"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:t}),2&e&&\"string\"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\"a\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\"\",n(n.s=0)}([function(t,e,n){\"use strict\";var r;function o(t){return[\"image/png\",\"image/jpeg\",\"image/gif\"].some(e=>e===t)}n.r(e),n.d(e,\"canvastoDataURL\",(function(){return a})),n.d(e,\"canvastoFile\",(function(){return c})),n.d(e,\"dataURLtoFile\",(function(){return s})),n.d(e,\"dataURLtoImage\",(function(){return l})),n.d(e,\"downloadFile\",(function(){return d})),n.d(e,\"filetoDataURL\",(function(){return f})),n.d(e,\"imagetoCanvas\",(function(){return g})),n.d(e,\"urltoBlob\",(function(){return w})),n.d(e,\"urltoImage\",(function(){return m})),n.d(e,\"compress\",(function(){return p})),n.d(e,\"compressAccurately\",(function(){return b})),n.d(e,\"EImageType\",(function(){return r})),function(t){t.PNG=\"image/png\",t.JPEG=\"image/jpeg\",t.GIF=\"image/gif\"}(r||(r={}));var i=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function a(t,e=.92,n=r.JPEG){return i(this,void 0,void 0,(function*(){return o(n)||(n=r.JPEG),t.toDataURL(n,e)}))}function c(t,e=.92,n=r.JPEG){return new Promise(r=>t.toBlob(t=>r(t),n,e))}var u=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function s(t,e){return u(this,void 0,void 0,(function*(){const n=t.split(\",\");let r=n[0].match(/:(.*?);/)[1];const i=atob(n[1]);let a=i.length;const c=new Uint8Array(a);for(;a--;)c[a]=i.charCodeAt(a);return o(e)&&(r=e),new Blob([c],{type:r})}))}function l(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>e(r),r.onerror=()=>n(new Error(\"dataURLtoImage(): dataURL is illegal\")),r.src=t})}function d(t,e){const n=document.createElement(\"a\");n.href=window.URL.createObjectURL(t),n.download=e||Date.now().toString(36),document.body.appendChild(n);const r=document.createEvent(\"MouseEvents\");r.initEvent(\"click\",!1,!1),n.dispatchEvent(r),document.body.removeChild(n)}function f(t){return new Promise(e=>{const n=new FileReader;n.onloadend=t=>e(t.target.result),n.readAsDataURL(t)})}var h=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function g(t,e={}){return h(this,void 0,void 0,(function*(){const n=Object.assign({},e),r=document.createElement(\"canvas\"),o=r.getContext(\"2d\");let i,a;for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(n[t]=Number(n[t]));if(n.scale){const e=n.scale>0&&n.scale<10?n.scale:1;a=t.width*e,i=t.height*e}else a=n.width||n.height*t.width/t.height||t.width,i=n.height||n.width*t.height/t.width||t.height;switch([5,6,7,8].some(t=>t===n.orientation)?(r.height=a,r.width=i):(r.height=i,r.width=a),n.orientation){case 3:o.rotate(180*Math.PI/180),o.drawImage(t,-r.width,-r.height,r.width,r.height);break;case 6:o.rotate(90*Math.PI/180),o.drawImage(t,0,-r.width,r.height,r.width);break;case 8:o.rotate(270*Math.PI/180),o.drawImage(t,-r.height,0,r.height,r.width);break;case 2:o.translate(r.width,0),o.scale(-1,1),o.drawImage(t,0,0,r.width,r.height);break;case 4:o.translate(r.width,0),o.scale(-1,1),o.rotate(180*Math.PI/180),o.drawImage(t,-r.width,-r.height,r.width,r.height);break;case 5:o.translate(r.width,0),o.scale(-1,1),o.rotate(90*Math.PI/180),o.drawImage(t,0,-r.width,r.height,r.width);break;case 7:o.translate(r.width,0),o.scale(-1,1),o.rotate(270*Math.PI/180),o.drawImage(t,-r.height,0,r.height,r.width);break;default:o.drawImage(t,0,0,r.width,r.height)}return r}))}function w(t){return fetch(t).then(t=>t.blob())}function m(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>e(r),r.onerror=()=>n(new Error(\"urltoImage(): Image failed to load, please check the image URL\")),r.src=t})}var y=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))};function p(t,e={}){return y(this,void 0,void 0,(function*(){if(!(t instanceof Blob))throw new Error(\"compress(): First arg must be a Blob object or a File object.\");if(\"object\"!=typeof e&&(e=Object.assign({quality:e})),e.quality=Number(e.quality),Number.isNaN(e.quality))return t;const n=yield f(t);let i=n.split(\",\")[0].match(/:(.*?);/)[1],c=r.JPEG;o(e.type)&&(c=e.type,i=e.type);const u=yield l(n),d=yield g(u,Object.assign({},e)),h=yield a(d,e.quality,c),w=yield s(h,i);return w.size>t.size?t:w}))}function b(t,e={}){return y(this,void 0,void 0,(function*(){if(!(t instanceof Blob))throw new Error(\"compressAccurately(): First arg must be a Blob object or a File object.\");if(\"object\"!=typeof e&&(e=Object.assign({size:e})),e.size=Number(e.size),Number.isNaN(e.size))return t;if(1024*e.size>t.size)return t;e.accuracy=Number(e.accuracy),(!e.accuracy||e.accuracy<.8||e.accuracy>.99)&&(e.accuracy=.95);const n=e.size*(2-e.accuracy)*1024,i=1024*e.size,c=e.size*e.accuracy*1024,u=yield f(t);let d=u.split(\",\")[0].match(/:(.*?);/)[1],h=r.JPEG;o(e.type)&&(h=e.type,d=e.type);const w=yield l(u),m=yield g(w,Object.assign({},e));let y,p=.5;const b=[null,null];for(let t=1;t<=7;t++){y=yield a(m,p,h);const e=.75*y.length;if(7===t){(n<e||c>e)&&(y=[y,...b].filter(t=>t).sort((t,e)=>Math.abs(.75*t.length-i)-Math.abs(.75*e.length-i))[0]);break}if(n<e)b[1]=y,p-=Math.pow(.5,t+1);else{if(!(c>e))break;b[0]=y,p+=Math.pow(.5,t+1)}}const v=yield s(y,d);return v.size>t.size?t:v}))}}])}));","module.exports = require(\"./build/conversion.js\");\n","<template>\r\n <div class=\"upload-home\">\r\n <img id=\"bg1\" class=\"background-image1\" alt=\"Background Image\"/>\r\n <img id=\"bg2\" class=\"background-image2\" alt=\"Background Image\"/>\r\n <div class=\"toolbar\">\r\n <el-tooltip content=\"上传方式\" placement=\"left\">\r\n <el-button class=\"toolbar-button\" size=\"large\" type=\"info\" @click=\"changeUploadMethod\" circle>\r\n <el-icon size=\"large\"><Refresh /></el-icon>\r\n </el-button>\r\n </el-tooltip>\r\n <el-tooltip content=\"链接格式\" placement=\"left\">\r\n <el-button class=\"toolbar-button\" size=\"large\" type=\"success\" @click=\"openUrlDialog\" circle>\r\n <el-icon size=\"large\"><Connection /></el-icon>\r\n </el-button>\r\n </el-tooltip>\r\n <el-tooltip content=\"管理页面\" placement=\"left\">\r\n <el-button class=\"toolbar-button\" size=\"large\" type=\"primary\" @click=\"handleManage\" circle>\r\n <el-icon size=\"large\"><Tools /></el-icon>\r\n </el-button>\r\n </el-tooltip>\r\n <el-tooltip content=\"退出登录\" placement=\"left\">\r\n <el-button class=\"toolbar-button\" size=\"large\" type=\"danger\" @click=\"handleLogout\" circle>\r\n <el-icon size=\"large\"><Close /></el-icon>\r\n </el-button>\r\n </el-tooltip>\r\n </div>\r\n <div class=\"header\">\r\n <a href=\"https://github.com/MarSeventh/CloudFlare-ImgBed\">\r\n <img class=\"logo\" alt=\"Sanyue logo\" :src=\"logoUrl\"/>\r\n </a> \r\n <h1><a class=\"main-title\" href=\"https://github.com/MarSeventh/CloudFlare-ImgBed\" target=\"_blank\">{{ ownerName }}</a> ImgHub</h1>\r\n </div>\r\n <UploadForm :selectedUrlForm=\"selectedUrlForm\" :uploadMethod=\"uploadMethod\" class=\"upload\"/>\r\n <Footer/>\r\n <el-dialog title=\"选择复制链接格式\" v-model=\"showUrlDialog\" width=\"40%\" :show-close=\"false\">\r\n <el-radio-group v-model=\"selectedUrlForm\">\r\n <el-radio value=\"url\">原始链接</el-radio>\r\n <el-radio value=\"md\">MarkDown</el-radio>\r\n <el-radio value=\"html\">HTML</el-radio>\r\n <el-radio value=\"ubb\">BBCode</el-radio>\r\n </el-radio-group>\r\n <div class=\"dialog-action\">\r\n <el-button type=\"primary\" @click=\"showUrlDialog = false\">确定</el-button>\r\n </div>\r\n </el-dialog>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport UploadForm from '@/components/UploadForm.vue'\r\nimport Footer from '@/components/Footer.vue'\r\nimport { ref } from 'vue'\r\nimport cookies from 'vue-cookies'\r\nimport { mapGetters } from 'vuex'\r\n\r\nexport default {\r\n name: 'UploadHome',\r\n data() {\r\n return {\r\n selectedUrlForm: ref('url'),\r\n uploadMethod: ref('drag'),\r\n showUrlDialog: false,\r\n bingWallPaperIndex: 0,\r\n customWallPaperIndex: 0\r\n }\r\n },\r\n computed: {\r\n ...mapGetters(['userConfig', 'bingWallPapers']),\r\n ownerName() {\r\n return this.userConfig?.ownerName || 'Sanyue'\r\n },\r\n logoUrl() {\r\n return this.userConfig?.logoUrl || require('../assets/logo.png')\r\n }\r\n },\r\n mounted() {\r\n const bg1 = document.getElementById('bg1')\r\n const bg2 = document.getElementById('bg2')\r\n if (this.userConfig?.uploadBkImg === 'bing') {\r\n //bing壁纸轮播\r\n this.$store.dispatch('fetchBingWallPapers').then(() => {\r\n bg1.src = this.bingWallPapers[this.bingWallPaperIndex]?.url\r\n bg1.onload = () => {\r\n bg1.style.opacity = 1\r\n }\r\n setInterval(() => {\r\n //如果bing壁纸组为空,跳过\r\n let curBg = bg1.style.opacity != 0 ? bg1 : bg2\r\n let nextBg = bg1.style.opacity != 0 ? bg2 : bg1\r\n curBg.style.opacity = 0\r\n this.bingWallPaperIndex = (this.bingWallPaperIndex + 1) % this.bingWallPapers.length\r\n nextBg.src = this.bingWallPapers[this.bingWallPaperIndex]?.url\r\n nextBg.onload = () => {\r\n nextBg.style.opacity = 1\r\n }\r\n }, 3000)\r\n })\r\n } else if (this.userConfig?.uploadBkImg instanceof Array && this.userConfig?.uploadBkImg?.length > 1) {\r\n //自定义壁纸组轮播\r\n bg1.src = this.userConfig.uploadBkImg[this.customWallPaperIndex]\r\n bg1.onload = () => {\r\n bg1.style.opacity = 1\r\n }\r\n setInterval(() => {\r\n let curBg = bg1.style.opacity != 0 ? bg1 : bg2\r\n let nextBg = bg1.style.opacity != 0 ? bg2 : bg1\r\n curBg.style.opacity = 0\r\n this.customWallPaperIndex = (this.customWallPaperIndex + 1) % this.userConfig.uploadBkImg.length\r\n nextBg.src = this.userConfig.uploadBkImg[this.customWallPaperIndex]\r\n nextBg.onload = () => {\r\n nextBg.style.opacity = 1\r\n }\r\n }, 3000)\r\n } else if (this.userConfig?.uploadBkImg instanceof Array && this.userConfig?.uploadBkImg.length == 1) {\r\n //单张自定义壁纸\r\n bg1.src = this.userConfig.uploadBkImg[0]\r\n bg1.onload = () => {\r\n bg1.style.opacity = 1\r\n }\r\n } else {\r\n //默认壁纸\r\n bg1.src = 'https://imgbed.sanyue.site/file/0dbd5add3605a0b2e8994.jpg'\r\n bg1.onload = () => {\r\n bg1.style.opacity = 1\r\n }\r\n }\r\n },\r\n components: {\r\n UploadForm,\r\n Footer\r\n },\r\n methods: {\r\n handleManage() {\r\n window.location.href = '/admin'\r\n },\r\n openUrlDialog() {\r\n this.showUrlDialog = true\r\n },\r\n changeUploadMethod() {\r\n this.uploadMethod = this.uploadMethod === 'drag' ? 'paste' : 'drag'\r\n },\r\n handleLogout() {\r\n cookies.remove('authCode')\r\n this.$router.push('/login')\r\n this.$message.success('已退出登录~')\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n.toolbar {\r\n position: fixed;\r\n bottom: 8vh;\r\n right: 1.5vw;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n z-index: 100;\r\n}\r\n.toolbar-button {\r\n border: none;\r\n transition: all 0.3s ease;\r\n margin-bottom: 10px;\r\n margin-left: 0;\r\n}\r\n.toolbar-button:hover {\r\n box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);\r\n transform: translateY(-3px);\r\n}\r\n:deep(.el-dialog) {\r\n border-radius: 12px;\r\n background-color: rgba(255, 255, 255, 0.7);\r\n backdrop-filter: blur(10px);\r\n box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);\r\n}\r\n.dialog-action {\r\n display: flex;\r\n justify-content: center;\r\n margin-top: 20px;\r\n}\r\n.header {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n padding: 15px;\r\n position: fixed;\r\n top: 5vh;\r\n color: blanchedalmond;\r\n user-select: none;\r\n text-decoration: none;\r\n}\r\n.main-title {\r\n background: linear-gradient(to right, rgb(239, 250, 195), #f3a060);\r\n background-clip: text;\r\n color: transparent;\r\n text-decoration: none;\r\n}\r\n.logo {\r\n height: 80px;\r\n width: 80px;\r\n margin-right: 5px;\r\n}\r\n.upload-home {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n transition: background-image 1s ease-in-out;\r\n background-size: cover;\r\n background-attachment: fixed;\r\n height: 100vh;\r\n}\r\n.upload {\r\n position: fixed;\r\n top: 20vh;\r\n}\r\n.background-image1 {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n z-index: -1;\r\n opacity: 0;\r\n transition: all 1s ease-in-out;\r\n}\r\n.background-image2 {\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n z-index: -1;\r\n opacity: 0;\r\n transition: all 1s ease-in-out;\r\n}\r\n</style>","<template>\r\n <div class=\"upload-form\" @paste.native=\"handlePaste\">\r\n <el-upload\r\n class=\"upload-card\"\r\n :class=\"{'is-uploading': uploading, 'upload-card-busy': fileList.length, 'paste-mode': uploadMethod === 'paste'}\"\r\n drag\r\n multiple\r\n :http-request=\"uploadFile\"\r\n :onSuccess=\"handleSuccess\"\r\n :on-error=\"handleError\"\r\n :before-upload=\"beforeUpload\"\r\n :on-progress=\"handleProgress\"\r\n :file-list=\"fileList\"\r\n :show-file-list=\"false\"\r\n accept=\"image/*, video/*\"\r\n >\r\n <el-icon class=\"el-icon--upload\">\r\n <CameraFilled v-if=\"uploadMethod === 'drag'\" color=\"blanchedalmond\"/>\r\n <CopyDocument v-else color=\"blanchedalmond\"/>\r\n </el-icon>\r\n <div class=\"el-upload__text\" v-if=\"uploadMethod === 'drag'\">拖拽 或 <em>点击上传</em></div>\r\n <div class=\"el-upload__text\" v-else>复制 <em>粘贴</em> 上传</div>\r\n <template #tip>\r\n <div class=\"el-upload__tip\">支持多文件上传,支持图片和视频,不超过20MB</div>\r\n </template>\r\n </el-upload>\r\n <el-card class=\"upload-list-card\" :class=\"{'upload-list-busy': fileList.length}\">\r\n <div class=\"upload-list-container\" :class=\"{'upload-list-busy': fileList.length}\">\r\n <el-scrollbar>\r\n <div class=\"upload-list-dashboard\">\r\n <el-text class=\"upload-list-dashboard-title\">\r\n <el-icon><List /></el-icon>{{ uploadingCount + waitingCount }}\r\n <el-icon><Checked /></el-icon>{{ uploadSuccessCount }}\r\n <el-icon><Failed /></el-icon>{{ uploadErrorCount }}\r\n </el-text>\r\n <div class=\"upload-list-dashboard-action\">\r\n <el-button-group>\r\n <el-tooltip content=\"整体复制\" placement=\"top\">\r\n <el-button type=\"primary\" round @click=\"copyAll\" alt=\"整体复制\"><el-icon><Grid /></el-icon></el-button>\r\n </el-tooltip>\r\n <el-tooltip content=\"清空列表\" placement=\"top\">\r\n <el-button type=\"primary\" round @click=\"clearFileList\"><el-icon><CircleClose /></el-icon></el-button>\r\n </el-tooltip>\r\n </el-button-group>\r\n </div>\r\n </div>\r\n <div class=\"upload-list-item\" v-for=\"file in fileList\" :key=\"file.name\" :span=\"8\">\r\n <a :href=\"file.url\" target=\"_blank\">\r\n <!-- 判断文件类型是否为视频 -->\r\n <video\r\n v-if=\"isVideo(file.name)\"\r\n style=\"width: 10vw; border-radius: 12px;\"\r\n controls\r\n >\r\n <source :src=\"file.url\" type=\"video/mp4\" />\r\n Your browser does not support the video tag.\r\n </video>\r\n <!-- 判断文件类型是否为图片 -->\r\n <img\r\n v-else\r\n style=\"width: 10vw; border-radius: 12px;\"\r\n :src=\"file.url\"\r\n @error=\"file.url = 'https://imgbed.sanyue.site/file/b6a4a65b4edba4377492e.png'\"\r\n />\r\n </a>\r\n <div class=\"upload-list-item-content\">\r\n <el-text class=\"upload-list-item-name\" truncated>{{ file.name }}</el-text>\r\n <div class=\"upload-list-item-url\" v-if=\"file.status==='done'\">\r\n <div class=\"upload-list-item-url-row\">\r\n <el-input v-model=\"file.finalURL\" size=\"small\" readonly @focus=\"selectAllText\">\r\n <template #prepend>URL:</template>\r\n </el-input>\r\n <el-input v-model=\"file.mdURL\" size=\"small\" readonly @focus=\"selectAllText\">\r\n <template #prepend>MarkDown:</template>\r\n </el-input>\r\n </div>\r\n <div class=\"upload-list-item-url-row\">\r\n <el-input v-model=\"file.htmlURL\" size=\"small\" readonly @focus=\"selectAllText\">\r\n <template #prepend>HTML:</template>\r\n </el-input>\r\n <el-input v-model=\"file.ubbURL\" size=\"small\" readonly @focus=\"selectAllText\">\r\n <template #prepend>BBCode:</template>\r\n </el-input>\r\n </div>\r\n </div>\r\n <div class=\"upload-list-item-progress\" v-else>\r\n <el-progress :percentage=\"file.progreess\" :status=\"file.status\" :show-text=\"false\"/>\r\n </div>\r\n </div>\r\n <div class=\"upload-list-item-action\">\r\n <el-button type=\"primary\" circle class=\"upload-list-item-action-button\" @click=\"handleCopy(file)\">\r\n <el-icon><Link /></el-icon>\r\n </el-button>\r\n <el-button type=\"danger\" circle class=\"upload-list-item-action-button\" @click=\"handleRemove(file)\">\r\n <el-icon><Delete /></el-icon>\r\n </el-button>\r\n </div>\r\n </div>\r\n </el-scrollbar>\r\n </div>\r\n </el-card>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport axios from 'axios'\r\nimport cookies from 'vue-cookies'\r\nimport * as imageConversion from 'image-conversion'\r\n\r\nexport default {\r\nname: 'UploadForm',\r\nprops: {\r\n selectedUrlForm: {\r\n type: String,\r\n default: 'url',\r\n required: false\r\n }, \r\n uploadMethod: {\r\n type: String,\r\n default: 'drag',\r\n required: false\r\n }\r\n},\r\ndata() {\r\n return {\r\n fileList: [],\r\n uploading: false,\r\n maxUploading: 10,\r\n waitingList: []\r\n }\r\n},\r\ncomputed: {\r\n uploadSuccessCount() {\r\n return this.fileList.filter(item => item.status === 'done' || item.status === 'success').length\r\n },\r\n uploadErrorCount() {\r\n return this.fileList.filter(item => item.status === 'exception').length\r\n },\r\n uploadingCount() {\r\n return this.fileList.filter(item => item.status === 'uploading').length\r\n },\r\n waitingCount() {\r\n return this.waitingList.length\r\n }\r\n},\r\nmethods: {\r\n uploadFile(file) {\r\n if (this.uploadingCount > this.maxUploading) {\r\n this.waitingList.push(file)\r\n this.fileList.find(item => item.uid === file.file.uid).status = 'waiting'\r\n return\r\n } else {\r\n this.fileList.find(item => item.uid === file.file.uid).status = 'uploading'\r\n }\r\n const formData = new FormData()\r\n formData.append('file', file.file)\r\n axios({\r\n url: '/upload' + '?authCode=' + cookies.get('authCode'),\r\n method: 'post',\r\n data: formData,\r\n onUploadProgress: (progressEvent) => {\r\n const percentCompleted = Math.round((progressEvent.loaded / progressEvent.total) * 100)\r\n file.onProgress({ percent: percentCompleted, file: file.file })\r\n }\r\n }).then(res => {\r\n file.onSuccess(res, file.file)\r\n }).catch(err => {\r\n if (err.response && err.response.status === 401) {\r\n this.waitingList = []\r\n this.fileList = []\r\n this.$message.error('认证状态错误!')\r\n this.$router.push('/login')\r\n } else {\r\n file.onError(err, file.file)\r\n }\r\n }).finally(() => {\r\n if (this.uploadingCount + this.waitingCount === 0) {\r\n this.uploading = false\r\n }\r\n })\r\n },\r\n handleRemove(file) {\r\n this.fileList = this.fileList.filter(item => item.uid !== file.uid)\r\n this.$message({\r\n type: 'info',\r\n message: file.name + '已删除'\r\n })\r\n },\r\n handleSuccess(response, file) {\r\n try { \r\n const rootUrl = `${window.location.protocol}//${window.location.host}`\r\n this.fileList.find(item => item.uid === file.uid).url = rootUrl + response.data[0].src\r\n this.fileList.find(item => item.uid === file.uid).finalURL = rootUrl + response.data[0].src\r\n this.fileList.find(item => item.uid === file.uid).mdURL = `![${file.name}](${rootUrl + response.data[0].src})`\r\n this.fileList.find(item => item.uid === file.uid).htmlURL = `<img src=\"${rootUrl + response.data[0].src}\" alt=\"${file.name}\" width=100% />`\r\n this.fileList.find(item => item.uid === file.uid).ubbURL = `[img]${rootUrl + response.data[0].src}[/img]`\r\n this.fileList.find(item => item.uid === file.uid).progreess = 100\r\n this.fileList.find(item => item.uid === file.uid).status = 'success'\r\n this.$message({\r\n type: 'success',\r\n message: file.name + '上传成功'\r\n })\r\n setTimeout(() => {\r\n this.fileList.find(item => item.uid === file.uid).status = 'done'\r\n }, 1000)\r\n } catch (error) {\r\n this.$message.error(file.name + '上传失败')\r\n this.fileList.find(item => item.uid === file.uid).status = 'exception'\r\n } finally {\r\n if (this.uploadingCount + this.waitingCount === 0) {\r\n this.uploading = false\r\n }\r\n if (this.waitingList.length) {\r\n const file = this.waitingList.shift()\r\n this.uploadFile(file)\r\n }\r\n }\r\n },\r\n handleError(err, file) {\r\n this.$message.error(file.name + '上传失败')\r\n this.fileList.find(item => item.uid === file.uid).status = 'exception'\r\n if (this.waitingList.length) {\r\n const file = this.waitingList.shift()\r\n this.uploadFile(file)\r\n }\r\n if (this.uploadingCount + this.waitingCount === 0) {\r\n this.uploading = false\r\n }\r\n },\r\n handleCopy(file) {\r\n const status = this.fileList.find(item => item.uid === file.uid).status\r\n if (status !== 'done' && status !== 'success') {\r\n this.$message({\r\n type: 'warning',\r\n message: '文件未上传成功,无法复制链接'\r\n })\r\n return\r\n }\r\n if (this.selectedUrlForm === 'url') {\r\n navigator.clipboard.writeText(file.finalURL)\r\n } else if (this.selectedUrlForm === 'md') {\r\n navigator.clipboard.writeText(file.mdURL)\r\n } else if (this.selectedUrlForm === 'html') {\r\n navigator.clipboard.writeText(file.htmlURL)\r\n } else if (this.selectedUrlForm === 'ubb') {\r\n navigator.clipboard.writeText(file.ubbURL)\r\n } else {\r\n navigator.clipboard.writeText(file.finalURL)\r\n }\r\n this.$message({\r\n type: 'success',\r\n message: '复制成功'\r\n })\r\n },\r\n beforeUpload(file) {\r\n return new Promise((resolve, reject) => {\r\n const isLt20M = file.size / 1024 / 1024 < 20\r\n if (!isLt20M) {\r\n //尝试压缩图片\r\n if (file.type.includes('image')) {\r\n imageConversion.compressAccurately(file, 4096).then((res) => {\r\n //如果压缩后仍大于20MB,则不上传\r\n if (res.size / 1024 / 1024 > 20) {\r\n this.$message.error(file.name + '压缩后文件过大,无法上传!')\r\n reject('文件过大')\r\n }\r\n this.uploading = true\r\n //将res包装成新的file\r\n const newFile = new File([res], file.name, { type: res.type })\r\n newFile.uid = file.uid\r\n const fileUrl = URL.createObjectURL(newFile)\r\n this.fileList.push({\r\n uid: file.uid,\r\n name: file.name,\r\n url: fileUrl,\r\n finalURL: '',\r\n mdURL: '',\r\n htmlURL: '',\r\n ubbURL: '',\r\n status: 'uploading',\r\n progreess: 0\r\n })\r\n resolve(newFile)\r\n }).catch((err) => {\r\n this.$message.error(file.name + '文件过大且压缩失败,无法上传!')\r\n reject(err)\r\n })\r\n } else {\r\n this.$message.error(file.name + '文件过大,无法上传!')\r\n reject('文件过大')\r\n }\r\n } else {\r\n this.uploading = true\r\n const fileUrl = URL.createObjectURL(file)\r\n this.fileList.push({\r\n uid: file.uid,\r\n name: file.name,\r\n url: fileUrl,\r\n finalURL: '',\r\n mdURL: '',\r\n htmlURL: '',\r\n ubbURL: '',\r\n status: 'uploading',\r\n progreess: 0\r\n })\r\n resolve(file)\r\n }\r\n })\r\n },\r\n handleProgress(event) {\r\n this.fileList.find(item => item.uid === event.file.uid).progreess = event.percent\r\n },\r\n copyAll() {\r\n if (this.selectedUrlForm === 'url') {\r\n const urls = this.fileList.map(item => {\r\n if (item.status === 'done' || item.status === 'success') {\r\n return item.finalURL\r\n }\r\n }).join('\\n')\r\n navigator.clipboard.writeText(urls)\r\n } else if (this.selectedUrlForm === 'md') {\r\n const urls = this.fileList.map(item => {\r\n if (item.status === 'done' || item.status === 'success') {\r\n return item.mdURL\r\n }\r\n }).join('\\n')\r\n navigator.clipboard.writeText(urls)\r\n } else if (this.selectedUrlForm === 'html') {\r\n const urls = this.fileList.map(item => {\r\n if (item.status === 'done' || item.status === 'success') {\r\n return item.htmlURL\r\n }\r\n }).join('\\n')\r\n navigator.clipboard.writeText(urls)\r\n } else if (this.selectedUrlForm === 'ubb') {\r\n const urls = this.fileList.map(item => {\r\n if (item.status === 'done' || item.status === 'success') {\r\n return item.ubbURL\r\n }\r\n }).join('\\n')\r\n navigator.clipboard.writeText(urls)\r\n } else {\r\n const urls = this.fileList.map(item => {\r\n if (item.status === 'done' || item.status === 'success') {\r\n return item.finalURL\r\n }\r\n }).join('\\n')\r\n navigator.clipboard.writeText(urls)\r\n }\r\n this.$message({\r\n type: 'success',\r\n message: '整体复制成功'\r\n })\r\n },\r\n clearFileList() {\r\n this.fileList = []\r\n this.$message({\r\n type: 'info',\r\n message: '列表已清空'\r\n })\r\n },\r\n handlePaste(event) {\r\n if (this.uploadMethod !== 'paste') {\r\n return\r\n }\r\n const items = event.clipboardData.items\r\n for (let i = 0; i < items.length; i++) {\r\n if (items[i].kind === 'file') {\r\n const file = items[i].getAsFile()\r\n // 判断文件类型是否为图片或视频\r\n if (file.type.includes('image') || file.type.includes('video')) {\r\n file.uid = Date.now() + i\r\n file.file = file\r\n //接收beforeUpload的Promise对象\r\n const checkResult = this.beforeUpload(file)\r\n if (checkResult instanceof Promise) {\r\n checkResult.then((newFile) => {\r\n if (newFile instanceof File) {\r\n this.uploadFile({ file: newFile, \r\n onProgress: (evt) => this.handleProgress(evt), \r\n onSuccess: (response, file) => this.handleSuccess(response, file), \r\n onError: (error, file) => this.handleError(error, file) })\r\n }\r\n }).catch((err) => {\r\n console.log(err)\r\n })\r\n }\r\n } else {\r\n this.$message({\r\n type: 'warning',\r\n message: '粘贴板中的文件不是图片或视频'\r\n })\r\n }\r\n } else if (items[i].kind === 'string') {\r\n items[i].getAsString((text) => {\r\n const urlPattern = /^(https?:\\/\\/[^\\s$.?#].[^\\s]*)$/;\r\n if (urlPattern.test(text)) {\r\n fetch('/api/fetchRes', {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n body: JSON.stringify({ url: text })\r\n }).then(response => {\r\n const contentType = response.headers.get('content-type');\r\n if (response.status == 200 && (contentType.includes('image') || contentType.includes('video'))) {\r\n return response.blob();\r\n } else {\r\n throw new Error('URL地址的内容不是图片或视频');\r\n }\r\n })\r\n .then(blob => {\r\n //获取图片名\r\n // const fileName = text.split('/').pop();\r\n const fileName = 'pastedFile' + Date.now() + i;\r\n const file = new File([blob], fileName, { type: blob.type });\r\n file.uid = Date.now() + i;\r\n file.file = file;\r\n //接收beforeUpload的Promise对象\r\n const checkResult = this.beforeUpload(file);\r\n if (checkResult instanceof Promise) {\r\n checkResult.then((newFile) => {\r\n if (newFile instanceof File) {\r\n this.uploadFile({ file: newFile, \r\n onProgress: (evt) => this.handleProgress(evt), \r\n onSuccess: (response, file) => this.handleSuccess(response, file), \r\n onError: (error, file) => this.handleError(error, file) });\r\n }\r\n }).catch((err) => {\r\n console.log(err);\r\n });\r\n }\r\n })\r\n .catch(error => {\r\n this.$message({\r\n type: 'warning',\r\n message: '粘贴板中的URL地址的内容不是图片或视频'\r\n });\r\n });\r\n }\r\n });\r\n }\r\n }\r\n },\r\n selectAllText(event) {\r\n event.target.select()\r\n },\r\n // 判断是否为图片类型\r\n isImage(fileName) {\r\n const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'];\r\n const extension = fileName.split('.').pop().toLowerCase();\r\n return imageExtensions.includes(extension);\r\n },\r\n // 判断是否为视频类型\r\n isVideo(fileName) {\r\n const videoExtensions = ['mp4', 'webm', 'ogg', 'mkv'];\r\n const extension = fileName.split('.').pop().toLowerCase();\r\n return videoExtensions.includes(extension);\r\n }\r\n}\r\n}\r\n</script>\r\n\r\n<style scoped> \r\n@keyframes breathe {\r\n 0%, 100% {\r\n }\r\n 50% {\r\n box-shadow: 0 0 10px 5px #409EFF;\r\n opacity: 0.8;\r\n }\r\n}\r\n.upload-form {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.upload-list-card {\r\n width: 55vw;\r\n height: 7vh;\r\n margin-top: 10px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 15px;\r\n opacity: 0.8;\r\n background-color: rgba(255, 255, 255, 0.7);\r\n backdrop-filter: blur(10px);\r\n}\r\n.upload-list-container {\r\n width: 55vw;\r\n height: 7vh;\r\n}\r\n.upload-list-card.upload-list-busy {\r\n height: 35vh;\r\n}\r\n.upload-list-container.upload-list-busy {\r\n height: 35vh;\r\n}\r\n.upload-list-item {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n margin: 5px;\r\n border: 1px solid #a5bef7;\r\n padding: 5px;\r\n border-radius: 15px;\r\n}\r\n.upload-list-item-name {\r\n font-size: small;\r\n font-weight: bold;\r\n width: 28vw;\r\n margin-bottom: 5px;\r\n}\r\n.upload-list-item-content {\r\n display: flex;\r\n flex-direction: column;\r\n margin-left: 10px;\r\n}\r\n.upload-list-item-url-text {\r\n width: 28vw;\r\n}\r\n.upload-list-item-url-row {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n}\r\n.upload-list-item-progress {\r\n margin-top: 3px;\r\n width: 28vw;\r\n}\r\n.upload-list-item-action {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n}\r\n.upload-list-item-action-button {\r\n margin: 2px;\r\n}\r\n.upload-card {\r\n width: 55vw;\r\n padding: 20px;\r\n background: none;\r\n}\r\n.upload-card-busy :deep(.el-upload-dragger) {\r\n height: 25vh;\r\n}\r\n.paste-mode :deep(.el-upload) {\r\n pointer-events: none;\r\n}\r\n:deep(.el-upload-dragger) {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n align-items: center;\r\n height: 45vh;\r\n border-radius: 15px;\r\n border: 3px dashed #409EFF;\r\n opacity: 0.7;\r\n background-color: rgba(255, 255, 255, 0.6);\r\n backdrop-filter: blur(10px);\r\n transition: all 0.3s ease;\r\n}\r\n:deep(.el-upload-dragger:hover) {\r\n opacity: 0.8;\r\n box-shadow: 0 0 10px 5px #409EFF;\r\n}\r\n:deep(.el-upload-dragger.is-dragover) {\r\n opacity: 0.8;\r\n box-shadow: 0 0 10px 5px #409EFF;\r\n}\r\n.is-uploading :deep(.el-upload-dragger){\r\n animation: breathe 3s infinite;\r\n}\r\n.el-upload__text {\r\n font-weight: bold;\r\n font-size: medium;\r\n user-select: none;\r\n}\r\n.el-upload__tip {\r\n font-size: small;\r\n color: antiquewhite;\r\n user-select: none;\r\n}\r\n.upload-list-dashboard {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 10px;\r\n}\r\n.upload-list-dashboard-title {\r\n font-size: medium;\r\n font-weight: bold;\r\n}\r\n</style>import { split } from 'core-js/fn/symbol'\r\n","import { render } from \"./UploadForm.vue?vue&type=template&id=7934dcf6&scoped=true\"\nimport script from \"./UploadForm.vue?vue&type=script&lang=js\"\nexport * from \"./UploadForm.vue?vue&type=script&lang=js\"\n\nimport \"./UploadForm.vue?vue&type=style&index=0&id=7934dcf6&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7934dcf6\"]])\n\nexport default __exports__","<template>\r\n <div class=\"page-footer\">\r\n <p>© 2024 Designed by <a class=\"footer-name\" href=\"https://github.com/MarSeventh\" target=\"_blank\">SanyueQi</a> for You!</p>\r\n </div>\r\n</template>\r\n\r\n<style scoped>\r\n.page-footer {\r\n position: fixed;\r\n bottom: 0;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 100vw;\r\n color: aliceblue;\r\n font-size: large;\r\n user-select: none;\r\n}\r\n.footer-name {\r\n color: antiquewhite;\r\n font-weight: bold;\r\n text-decoration: none;\r\n}\r\n</style>","import { render } from \"./Footer.vue?vue&type=template&id=7c801e22&scoped=true\"\nconst script = {}\n\nimport \"./Footer.vue?vue&type=style&index=0&id=7c801e22&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c801e22\"]])\n\nexport default __exports__","import { render } from \"./UploadHome.vue?vue&type=template&id=124b8fea&scoped=true\"\nimport script from \"./UploadHome.vue?vue&type=script&lang=js\"\nexport * from \"./UploadHome.vue?vue&type=script&lang=js\"\n\nimport \"./UploadHome.vue?vue&type=style&index=0&id=124b8fea&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-124b8fea\"]])\n\nexport default __exports__"],"names":["t","e","module","exports","this","n","r","o","i","l","call","m","c","d","Object","defineProperty","enumerable","get","Symbol","toStringTag","value","__esModule","create","bind","default","prototype","hasOwnProperty","p","s","some","a","f","g","w","b","PNG","JPEG","GIF","Promise","u","next","throw","done","then","apply","toDataURL","toBlob","split","match","atob","length","Uint8Array","charCodeAt","Blob","type","Image","onload","onerror","Error","src","document","createElement","href","window","URL","createObjectURL","download","Date","now","toString","body","appendChild","createEvent","initEvent","dispatchEvent","removeChild","FileReader","onloadend","target","result","readAsDataURL","h","assign","getContext","Number","scale","width","height","orientation","rotate","Math","PI","drawImage","translate","fetch","blob","y","quality","isNaN","size","accuracy","filter","sort","abs","pow","v","class","_createElementVNode","id","alt","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_createVNode","_component_el_tooltip","content","placement","_withCtx","_component_el_button","onClick","$options","changeUploadMethod","circle","_component_el_icon","_component_Refresh","_","openUrlDialog","_component_Connection","handleManage","_component_Tools","handleLogout","_component_Close","_hoisted_5","_hoisted_6","logoUrl","_hoisted_7","_hoisted_8","_toDisplayString","ownerName","_createTextVNode","_component_UploadForm","selectedUrlForm","$data","uploadMethod","_component_Footer","_component_el_dialog","title","modelValue","showUrlDialog","_cache","$event","_component_el_radio_group","_component_el_radio","_hoisted_9","key","style","controls","onPaste","args","handlePaste","_component_el_upload","_normalizeClass","uploading","fileList","$props","drag","multiple","uploadFile","onSuccess","handleSuccess","handleError","beforeUpload","handleProgress","accept","tip","_createBlock","_component_CameraFilled","color","_component_CopyDocument","_component_el_card","_component_el_scrollbar","_component_el_text","_component_List","uploadingCount","waitingCount","_component_Checked","uploadSuccessCount","_component_Failed","uploadErrorCount","_component_el_button_group","round","copyAll","_component_Grid","clearFileList","_component_CircleClose","_Fragment","_renderList","file","name","span","url","isVideo","_hoisted_10","onError","_hoisted_11","_hoisted_12","truncated","status","_hoisted_13","_hoisted_14","_component_el_input","finalURL","readonly","onFocus","selectAllText","prepend","mdURL","_hoisted_15","htmlURL","ubbURL","_hoisted_16","_component_el_progress","percentage","progreess","_hoisted_17","handleCopy","_component_Link","handleRemove","_component_Delete","props","String","required","data","maxUploading","waitingList","computed","item","methods","push","find","uid","formData","FormData","append","axios","cookies","method","onUploadProgress","progressEvent","percentCompleted","loaded","total","onProgress","percent","res","catch","err","response","$message","error","$router","finally","message","rootUrl","location","protocol","host","setTimeout","shift","navigator","clipboard","writeText","resolve","reject","isLt20M","fileUrl","includes","imageConversion","newFile","File","event","urls","map","join","items","clipboardData","kind","getAsFile","checkResult","evt","console","log","getAsString","text","urlPattern","test","headers","JSON","stringify","contentType","fileName","select","isImage","imageExtensions","extension","pop","toLowerCase","videoExtensions","__exports__","script","ref","bingWallPaperIndex","customWallPaperIndex","mapGetters","userConfig","require","mounted","bg1","getElementById","bg2","uploadBkImg","$store","dispatch","bingWallPapers","opacity","setInterval","curBg","nextBg","Array","components","UploadForm","Footer","success","render"],"sourceRoot":""}