From 0cfb50789495a00dc08194c167b9e14ddf808287 Mon Sep 17 00:00:00 2001 From: "Shan.tk" Date: Thu, 4 Jun 2020 20:22:55 +0530 Subject: [PATCH] Hope so Fixed --- vuejs/dependencies-cdn.js | 4 ++-- vuejs/dist/app.js | 4 ++-- vuejs/dist/index.html | 2 +- vuejs/dist/js/app.3f3730fa.js | 1 - vuejs/dist/js/app.3f3730fa.js.gz | Bin 13112 -> 0 bytes vuejs/dist/js/app.8317fe97.js | 1 + vuejs/dist/js/app.8317fe97.js.gz | Bin 0 -> 13090 bytes vuejs/dist/js/chunk-vendors.1cb96927.js | 23 ------------------- vuejs/dist/js/chunk-vendors.1cb96927.js.gz | Bin 51603 -> 0 bytes vuejs/dist/js/chunk-vendors.bbfd9c88.js | 25 +++++++++++++++++++++ vuejs/dist/js/chunk-vendors.bbfd9c88.js.gz | Bin 0 -> 90186 bytes 11 files changed, 31 insertions(+), 29 deletions(-) delete mode 100644 vuejs/dist/js/app.3f3730fa.js delete mode 100644 vuejs/dist/js/app.3f3730fa.js.gz create mode 100644 vuejs/dist/js/app.8317fe97.js create mode 100644 vuejs/dist/js/app.8317fe97.js.gz delete mode 100644 vuejs/dist/js/chunk-vendors.1cb96927.js delete mode 100644 vuejs/dist/js/chunk-vendors.1cb96927.js.gz create mode 100644 vuejs/dist/js/chunk-vendors.bbfd9c88.js create mode 100644 vuejs/dist/js/chunk-vendors.bbfd9c88.js.gz diff --git a/vuejs/dependencies-cdn.js b/vuejs/dependencies-cdn.js index b25f6c9e9..b0c6a05e9 100644 --- a/vuejs/dependencies-cdn.js +++ b/vuejs/dependencies-cdn.js @@ -18,8 +18,8 @@ module.exports = [ // { name: 'brace/snippets/javascript', library: 'javascript', js: ' https://cdn.jsdelivr.net/npm/brace@0.11.1/snippets/javascript.js', css: '' }, // { name: 'vue2-ace-editor', library: 'Vue2ACEEditor', js: 'https://cdn.jsdelivr.net/npm/vue2-ace-editor@0.0.15/index.min.js', css: '' }, { name: 'markdown-it', library: 'markdownit', js: 'https://cdn.jsdelivr.net/npm/markdown-it@10.0.0/dist/markdown-it.min.js', css: '' }, - { name: 'vue-plyr', library: 'vue-plyr', js: 'https://unpkg.com/vue-plyr@6.0.4/dist/vue-plyr.js', css: ''}, - { name: 'plyr', library: 'plyr', js: 'https://unpkg.com/plyr@3.6.2/dist/plyr.min.js', css: '' }, + // { name: 'vue-plyr', library: 'vue-plyr', js: 'https://unpkg.com/vue-plyr@6.0.4/dist/vue-plyr.js', css: ''}, + // { name: 'plyr', library: 'plyr', js: 'https://unpkg.com/plyr@3.6.2/dist/plyr.min.js', css: '' }, { name: '', library: '', js: 'https://at.alicdn.com/t/font_1760192_axq33n6snd.js', css: '' }, { name: '', library: '', js: '', css: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css' }, { name: '', library: '', js: '', css: 'https://cdn.jsdelivr.net/npm/font-awesome@latest/css/font-awesome.min.css' }, diff --git a/vuejs/dist/app.js b/vuejs/dist/app.js index 6f7beabca..7c51988bb 100644 --- a/vuejs/dist/app.js +++ b/vuejs/dist/app.js @@ -1,6 +1,6 @@ - var scripts = ["https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/app.3f3730fa.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-2d0aed92.e2335980.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-2d0b2ee4.00550b10.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-2d0c4c28.52cf03ad.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-381fa2f5.78390d0c.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-48822c69.789a5f77.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-4c1f53a9.7894c452.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-5810450c.8021e57f.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-6e83591c.61d6401d.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-6f1294e3.066f807c.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-7a621efd.67d55deb.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-vendors.1cb96927.js"]; - var cdnjs = ["https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js","https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js","https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js","https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js","https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js","https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js","https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js","https://cdn.jsdelivr.net/npm/markdown-it@10.0.0/dist/markdown-it.min.js","https://unpkg.com/vue-plyr@6.0.4/dist/vue-plyr.js","https://unpkg.com/plyr@3.6.2/dist/plyr.min.js","https://at.alicdn.com/t/font_1760192_axq33n6snd.js"]; + var scripts = ["https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/app.8317fe97.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-2d0aed92.e2335980.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-2d0b2ee4.00550b10.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-2d0c4c28.52cf03ad.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-381fa2f5.78390d0c.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-48822c69.789a5f77.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-4c1f53a9.7894c452.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-5810450c.8021e57f.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-6e83591c.61d6401d.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-6f1294e3.066f807c.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-7a621efd.67d55deb.js","https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/js/chunk-vendors.bbfd9c88.js"]; + var cdnjs = ["https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js","https://cdn.jsdelivr.net/npm/vue-i18n@8.17.3/dist/vue-i18n.min.js","https://cdn.jsdelivr.net/npm/vue-router@3.1.6/dist/vue-router.min.js","https://cdn.jsdelivr.net/npm/vuex@3.4.0/dist/vuex.js","https://cdn.jsdelivr.net/npm/axios@0.19.2/dist/axios.min.js","https://cdn.jsdelivr.net/npm/element-ui@2.13.1/lib/index.js","https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js","https://cdn.jsdelivr.net/npm/js-cookie@2.2.1/src/js.cookie.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/low.min.js","https://cdn.jsdelivr.net/npm/lowdb@1.0.0/dist/LocalStorage.min.js","https://cdn.jsdelivr.net/npm/markdown-it@10.0.0/dist/markdown-it.min.js","https://at.alicdn.com/t/font_1760192_axq33n6snd.js"]; cdnjs.forEach((item) => { document.write(''); }); diff --git a/vuejs/dist/index.html b/vuejs/dist/index.html index 10ca4f405..b0f03f7ed 100644 --- a/vuejs/dist/index.html +++ b/vuejs/dist/index.html @@ -35,4 +35,4 @@ JSON.stringify(authConfig.roots.map((it) => it.name)) ); window.current_drive_order = 0; - // window.MODEL = { q: "the",root_type: 1 };
\ No newline at end of file + // window.MODEL = { q: "the",root_type: 1 };
\ No newline at end of file diff --git a/vuejs/dist/js/app.3f3730fa.js b/vuejs/dist/js/app.3f3730fa.js deleted file mode 100644 index 651ba7fe2..000000000 --- a/vuejs/dist/js/app.3f3730fa.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function t(t){for(var n,r,o=t[0],c=t[1],u=t[2],d=0,l=[];d0,expression:"navs && navs.length > 0"}],staticStyle:{color:"#ff9595"},on:{click:function(t){return e.go("/"+e.index+":/")}}},[e._v(e._s(e.$t("index")))])]),e._l(e.navs,(function(t,n){return a("li",{key:n,class:n+1==e.navs.length?"is-active":""},[n+1==e.navs.length?a("a",{staticClass:"breadcrumb-text",staticStyle:{color:"#80bdab"},attrs:{"aria-current":"page",href:"#"}},[e._v(e._s(t.title))]):a("a",{staticStyle:{color:"#ff9595"},on:{click:function(a){return e.go(t.path)}}},[e._v(e._s(t.title))])])}))],2)])]),a("div",{staticClass:"level-right"},[a("div",{staticClass:"level-item"},[a("view-mode")],1)])])])},r=[],i=(a("ac1f"),a("466d"),a("1276"),a("498a"),a("f3f7")),s=a("45d8"),o={props:["name"],components:{ViewMode:i["a"]},data:function(){return{navs:[],index:"/"}},mounted:function(){this.render()},watch:{$route:"render"},methods:{go:function(e){this.$router.push({path:e})},render:function(){this.index=this.$route.params.id;var e=this.$route.params.cmd;if("search"!==e){var t=this.$route.path;e&&(t=Object(s["d"])(this.$route.params.path));var a=t.trim("/").split("/"),n="/";if(a.length>0){var r=[];for(var i in a){var o=a[i];""!=o&&(o=decodeURIComponent(o),n+=a[i]+"/",o.match("[0-9]+:")||r.push({path:n,title:o}))}this.navs=r}}else this.navs=[]}}},c=o,u=(a("ac2c"),a("2877")),d=Object(u["a"])(c,n,r,!1,null,"3b1803bb",null);t["default"]=d.exports},"2e32":function(e){e.exports=JSON.parse('{"_name":"🇬🇧English","languages":"Languages","index":"Home","folder":"Folder","notify":{"title":"Notify"},"copy":{"success":"Copy successful","error":"Copy failed"},"list":{"view":{"gridMode":"Grid view","listMode":"List view"},"auth":"Directory encryption, please enter password","title":{"file":"File","moditime":"Modified Time","size":"Size","operation":"Actions"},"loading":"Loading...","opt":{"copy":"Copy link","newTab":"Open a new tab","download":"Download"},"total":"Total","item":"item"},"search":{"placeholder":"Search resources..."},"page":{"video":{"play":"Play","download":"Download","link":"Download link"},"text":{"loading":"Loading..."}},"setting":{"clear":{"text":"Clean cache","success":"Cache cleanup successful"}},"checkVersion":{"tips":"New version detected, Go to GitHub"}}')},"45d8":function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return f})),a.d(t,"a",(function(){return p})),a.d(t,"d",(function(){return h})),a.d(t,"g",(function(){return m})),a.d(t,"f",(function(){return g})),a.d(t,"e",(function(){return b}));a("99af"),a("c975"),a("b680"),a("4d63"),a("ac1f"),a("25f0"),a("5319"),a("1276");var n=a("a27e"),r=a("27ae").Base64,i=["html","php","css","go","java","js","json","txt","sh","md"],s=["mp3","flac","wav","ogg","m4a"],o=["mp4","webm","mkv","m3u8"],c=["bmp","jpg","jpeg","png","gif"],u=["pdf"],d=function(e){return e.replace(/(.*)/,(function(e,t){return t.replace().replace(/\//g,"%2F").replace(/#/g,"%23")}))},l=function(e,t){return e=d(e),"application/vnd.google-apps.folder"===t.mimeType&&"/"!==e.substr(-1)&&(e+="/"),e},f=function(e){var t=e.split("/").pop(),a=t.split(".").pop().toLowerCase(),n=v(e);return-1!=i.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"text/").concat(n)}))),-1!=u.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"pdf/").concat(n)}))),-1!=s.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"audio/").concat(n)}))),-1!=o.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"video/").concat(n)}))),-1!=c.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"image/").concat(n)}))),e},p=function(e){var t=e.split("/").pop(),a=t.split(".").pop().toLowerCase(),n=i.concat.apply(i,o.concat(c,u,s));return-1!=n.indexOf("".concat(a))},v=function(e){return r.encodeURI(e)},h=function(e){return r.decode(e)};function m(e,t){var a=e.path,r=e.file.modifiedTime,i="file_path_"+a+r,s=localStorage.getItem(i);if(s)return t(s);n["a"].get(a).then((function(e){var a=e.data;localStorage.setItem(i,a),t(a)}))}function g(e){return e>=1e9?e=(e/1e9).toFixed(2)+" GB":e>=1e6?e=(e/1e6).toFixed(2)+" MB":e>=1e3?e=(e/1e3).toFixed(2)+" KB":e>1?e+=" bytes":1==e?e+=" byte":e="",e}function b(e,t){t=t||"YYYY-MM-DD HH:mm:ss","string"===typeof e&&(e=new Date(e)),"number"===typeof e&&(e=new Date(e));var a={"M+":e.getMonth()+1,"D+":e.getDate(),"h+":e.getHours()%12===0?12:e.getHours()%12,"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()},n={0:"日",1:"一",2:"二",3:"三",4:"四",5:"五",6:"六"};for(var r in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,(RegExp.$1.length>1?RegExp.$1.length>2?"星期":"周":"")+n[e.getDay()+""])),a)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?a[r]:("00"+a[r]).substr((""+a[r]).length)));return t}},"49f8":function(e,t,a){var n={"./en.json":"edd4","./zh-chs.json":"2e32","./zh-cht.json":"e862"};function r(e){var t=i(e);return a(t)}function i(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}r.keys=function(){return Object.keys(n)},r.resolve=i,e.exports=r,r.id="49f8"},"56d7":function(e,t,a){"use strict";a.r(t);a("e260"),a("e6cf"),a("cca6"),a("a79d");var n=a("8bbf"),r=a.n(n),i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"app"}},[a("Layout",{ref:"layout"})],1)},s=[],o=(a("ac1f"),a("5319"),a("c276")),c=a("88e9"),u={name:"App",components:{Layout:c["default"]},data:function(){return{github:"https://github.com/tks18/gindex-v4"}},watch:{"$i18n.locale":"i18nHandle"},created:function(){this.i18nHandle(this.$i18n.locale)},mounted:function(){this.checkVersion()},methods:{i18nHandle:function(e){o["a"].cookies.set("lang",e),document.querySelector("html").setAttribute("lang",e)},checkVersion:function(){var e=window.gdconfig.version,t="1.1.0";e&&t===e||this.$notify({title:this.$t("notify.title"),dangerouslyUseHTMLString:!0,message:this.$t("checkVersion.tips").replace("${url}",this.github),duration:0,type:"success"})}}},d=u,l=a("2877"),f=Object(l["a"])(d,i,s,!1,null,null,null),p=f.exports,v=a("5f72"),h=a.n(v),m=(a("aaa5"),a("46a1"),a("be4f"),a("a27e")),g=a("a7fe"),b=a.n(g),w=a("a18c"),y=(a("4160"),a("d81d"),a("b64b"),a("d3b7"),a("466d"),a("159b"),a("ddb0"),a("85b3")),k=a.n(y);function C(){var e=a("49f8"),t={};return e.keys().forEach((function(a){var n=a.match(/([A-Za-z0-9-_]+)\./i);if(n&&n.length>1){var r=n[1];t[r]=e(a)}})),t}r.a.use(k.a);var x=C();r.a.prototype.$languages=Object.keys(x).map((function(e){return{label:x[e]._name,value:e}}));var O=new k.a({locale:o["a"].cookies.get("lang")||window.gdconfig.themeOptions.languages||"zh-chs",fallbackLocale:"en",messages:x}),_=a("97b8"),E=a.n(_),j=a("5880"),A=a.n(j),P=a("a363"),L={};P.keys().forEach((function(e){L[e.replace(/(\.\/|\.js)/g,"")]=P(e).default}));var N={namespaced:!0,modules:L};r.a.use(A.a);var S=new A.a.Store({modules:{acrou:N}}),D=a("4eb5"),V=a.n(D),M=a("487a"),G=a.n(M),U=a("caf9"),z=a("6944"),T=a.n(z);function I(e){var t="https://cdn.jsdelivr.net/gh/tks18/gindex-v4@master/vuejs/dist/";return t+e}a("0808"),a("e558");document.write('