goindex-theme-r/dist/js/app.7b32cad3.js
2020-05-22 02:11:32 +08:00

1 line
35 KiB
JavaScript

(function(e){function t(t){for(var n,r,c=t[0],s=t[1],u=t[2],d=0,l=[];d<c.length;d++)r=c[d],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&l.push(i[r][0]),i[r]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);f&&f(t);while(l.length)l.shift()();return o.push.apply(o,u||[]),a()}function a(){for(var e,t=0;t<o.length;t++){for(var a=o[t],n=!0,r=1;r<a.length;r++){var c=a[r];0!==i[c]&&(n=!1)}n&&(o.splice(t--,1),e=s(s.s=a[0]))}return e}var n={},r={app:0},i={app:0},o=[];function c(e){return s.p+"js/"+({}[e]||e)+"."+{"chunk-0856609f":"03c96958","chunk-2458ab2f":"bcfee82a","chunk-2d0aed92":"295ece1d","chunk-2d0b2ee4":"9b0ee5e5","chunk-2d0c4c28":"32f0d528","chunk-48822c69":"15514e05","chunk-498d4d6d":"467d8cc0","chunk-d364e3a0":"a8119811"}[e]+".js"}function s(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,s),a.l=!0,a.exports}s.e=function(e){var t=[],a={"chunk-0856609f":1,"chunk-2458ab2f":1,"chunk-48822c69":1,"chunk-498d4d6d":1};r[e]?t.push(r[e]):0!==r[e]&&a[e]&&t.push(r[e]=new Promise((function(t,a){for(var n="css/"+({}[e]||e)+"."+{"chunk-0856609f":"187979d2","chunk-2458ab2f":"187979d2","chunk-2d0aed92":"31d6cfe0","chunk-2d0b2ee4":"31d6cfe0","chunk-2d0c4c28":"31d6cfe0","chunk-48822c69":"ee3330ec","chunk-498d4d6d":"30be7901","chunk-d364e3a0":"31d6cfe0"}[e]+".css",i=s.p+n,o=document.getElementsByTagName("link"),c=0;c<o.length;c++){var u=o[c],d=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(d===n||d===i))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){u=l[c],d=u.getAttribute("data-href");if(d===n||d===i)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var n=t&&t.target&&t.target.src||i,o=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=n,delete r[e],f.parentNode.removeChild(f),a(o)},f.href=i;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){r[e]=0})));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,a){n=i[e]=[t,a]}));t.push(n[2]=o);var u,d=document.createElement("script");d.charset="utf-8",d.timeout=120,s.nc&&d.setAttribute("nonce",s.nc),d.src=c(e);var l=new Error;u=function(t){d.onerror=d.onload=null,clearTimeout(f);var a=i[e];if(0!==a){if(a){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+r+")",l.name="ChunkLoadError",l.type=n,l.request=r,a[1](l)}i[e]=void 0}};var f=setTimeout((function(){u({type:"timeout",target:d})}),12e4);d.onerror=d.onload=u,document.head.appendChild(d)}return Promise.all(t)},s.m=e,s.c=n,s.d=function(e,t,a){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)s.d(a,n,function(t){return e[t]}.bind(null,n));return a},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/",s.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],d=u.push.bind(u);u.push=t,u=u.slice();for(var l=0;l<u.length;l++)t(u[l]);var f=d;o.push([0,"chunk-vendors"]),a()})({0:function(e,t,a){e.exports=a("56d7")},"2db9":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("nav",{staticClass:"breadcrumb level g2-breadcrumb is-hidden-mobile is-hidden-touch",attrs:{"aria-label":"breadcrumbs"}},[a("div",{staticClass:"level-left"},[a("div",{staticClass:"level-item"},[a("ul",[a("li",[a("a",{directives:[{name:"show",rawName:"v-show",value:e.navs&&e.navs.length>0,expression:"navs && navs.length > 0"}],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",{attrs:{"aria-current":"page",href:"#"}},[e._v(e._s(t.title))]):a("a",{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")),o=a("45d8"),c={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(o["d"])(this.$route.params.path));var a=t.trim("/").split("/"),n="/";if(a.length>0){var r=[];for(var i in a){var c=a[i];""!=c&&(c=decodeURIComponent(c),n+=a[i]+"/",c.match("[0-9]+:")||r.push({path:n,title:c}))}this.navs=r}}else this.navs=[]}}},s=c,u=(a("c9d4"),a("2877")),d=Object(u["a"])(s,n,r,!1,null,"3b7c6fae",null);t["default"]=d.exports},"2e32":function(e){e.exports=JSON.parse('{"_name":"🇨🇳简体中文","languages":"选择语言","index":"首页","folder":"文件夹","notify":{"title":"提示"},"copy":{"success":"复制成功","error":"复制失败"},"list":{"view":{"gridMode":"网格视图","listMode":"列表视图"},"auth":"目录加密,请输入密码","title":{"file":"文件","moditime":"修改时间","size":"大小","operation":"操作"},"loading":"加载中...","opt":{"copy":"复制链接","newTab":"打开新的标签页","download":"下载"},"total":"共","item":"项"},"search":{"placeholder":"搜索..."},"page":{"video":{"play":"播放","download":"下载","link":"下载地址"},"text":{"loading":"加载中..."}},"setting":{"clear":{"text":"清理缓存","success":"缓存清理成功"}},"checkVersion":{"tips":"检测到有新版本,<a href=\'${url}\'>前往GitHub</a>"}}')},"45d8":function(e,t,a){"use strict";a.d(t,"c",(function(){return d})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return f})),a.d(t,"d",(function(){return h})),a.d(t,"g",(function(){return v})),a.d(t,"f",(function(){return m})),a.d(t,"e",(function(){return g}));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"],o=["mp4","webm","mkv","m3u8"],c=["bmp","jpg","jpeg","png","gif"],s=["pdf"],u=function(e){return e.replace(/(.*)/,(function(e,t){return t.replace().replace(/\//g,"%2F").replace(/#/g,"%23")}))},d=function(e,t){return e=u(e),"application/vnd.google-apps.folder"===t.mimeType&&"/"!==e.substr(-1)&&(e+="/"),e},l=function(e){var t=e.split("/").pop(),a=t.split(".").pop().toLowerCase(),n=p(e);return-1!=i.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"text/").concat(n)}))),-1!=s.indexOf("".concat(a))&&(e=e.replace(/\/(\d+:)\/.*/,(function(e,t){return"/".concat(t,"pdf/").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},f=function(e){var t=e.split("/").pop(),a=t.split(".").pop().toLowerCase(),n=i.concat.apply(i,o.concat(c,s));return-1!=n.indexOf("".concat(a))},p=function(e){return r.encodeURI(e)},h=function(e){return r.decode(e)};function v(e,t){var a=e.path,r=e.file.modifiedTime,i="file_path_"+a+r,o=localStorage.getItem(i);if(o)return t(o);n["a"].get(a).then((function(e){var a=e.data;localStorage.setItem(i,a),t(a)}))}function m(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 g(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)},o=[],c=(a("ac1f"),a("5319"),a("c276")),s=a("88e9"),u={name:"App",components:{Layout:s["default"]},data:function(){return{github:"https://github.com/Aicirou/goindex-theme-acrou"}},watch:{"$i18n.locale":"i18nHandle"},created:function(){this.i18nHandle(this.$i18n.locale)},mounted:function(){this.checkVersion()},methods:{i18nHandle:function(e){c["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,o,!1,null,null,null),p=f.exports,h=a("5f72"),v=a.n(h),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")),x=a.n(y);function k(){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(x.a);var O=k();r.a.prototype.$languages=Object.keys(O).map((function(e){return{label:O[e]._name,value:e}}));var C=new x.a({locale:c["a"].cookies.get("lang")||window.gdconfig.themeOptions.languages||"zh-chs",fallbackLocale:"en",messages:O}),E=a("5880"),_=a.n(E),A=a("a363"),j={};A.keys().forEach((function(e){j[e.replace(/(\.\/|\.js)/g,"")]=A(e).default}));var P={namespaced:!0,modules:j};r.a.use(_.a);var N=new _.a.Store({modules:{acrou:P}}),L=a("4eb5"),V=a.n(L),M=a("487a"),D=a.n(M),S=a("caf9"),G=a("6944"),U=a.n(G);function z(e){var t="https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/";return t+e}a("0808"),a("e558");document.write('<script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?6be1011f95a1bfcdb2179fe2ae6e58fe";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();<\/script>'),r.a.config.productionTip=!1,r.a.use(v.a),r.a.use(b.a,m["a"]),r.a.use(z),r.a.use(V.a),r.a.use(D.a),r.a.use(S["a"],{loading:z("/images/airplane.gif")}),r.a.use(U.a),new r.a({router:w["a"],store:N,i18n:C,render:function(e){return e(p)},mounted:function(){this.$store.dispatch("acrou/view/load")}}).$mount("#app")},5726:function(e,t){e.exports=low},5880:function(e,t){e.exports=Vuex},"5c1a":function(e,t,a){"use strict";a.r(t);var n=a("a18c"),r=a("60bb"),i=a("95a2");t["default"]={namespaced:!0,actions:{set:function(e,t){var a=t.dbName,n=void 0===a?"database":a,r=t.path,o=void 0===r?"":r,c=t.value,s=void 0===c?"":c,u=t.user,d=void 0!==u&&u;Object(i["c"])({dbName:n,path:o,value:s,user:d})},get:function(e,t){var a=t.dbName,n=void 0===a?"database":a,r=t.path,o=void 0===r?"":r,c=t.defaultValue,s=void 0===c?"":c,u=t.user,d=void 0!==u&&u;return Object(i["b"])({dbName:n,path:o,defaultValue:s,user:d})},database:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.user,n=void 0!==a&&a;return Object(i["a"])({user:n,defaultValue:{}})},databaseClear:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.user,n=void 0!==a&&a;return Object(i["a"])({user:n,validator:function(){return!1},defaultValue:{}})},databasePage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.basis,r=void 0===a?"fullPath":a,o=t.user,c=void 0!==o&&o;return Object(i["a"])({path:"$page.".concat(n["a"].app.$route[r]),user:c,defaultValue:{}})},databasePageClear:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.basis,r=void 0===a?"fullPath":a,o=t.user,c=void 0!==o&&o;return Object(i["a"])({path:"$page.".concat(n["a"].app.$route[r]),user:c,validator:function(){return!1},defaultValue:{}})},pageSet:function(e,t){var a=t.instance,o=t.basis,c=void 0===o?"fullPath":o,s=t.user,u=void 0!==s&&s;return Object(i["a"])({path:"$page.".concat(n["a"].app.$route[c],".$data"),user:u,validator:function(){return!1},defaultValue:Object(r["cloneDeep"])(a.$data)})},pageGet:function(e,t){var a=t.instance,o=t.basis,c=void 0===o?"fullPath":o,s=t.user,u=void 0!==s&&s;return Object(i["b"])({path:"$page.".concat(n["a"].app.$route[c],".$data"),user:u,defaultValue:Object(r["cloneDeep"])(a.$data)})},pageClear:function(e,t){var a=t.basis,r=void 0===a?"fullPath":a,o=t.user,c=void 0!==o&&o;return Object(i["a"])({path:"$page.".concat(n["a"].app.$route[r],".$data"),user:c,validator:function(){return!1},defaultValue:{}})}}}},"5d44":function(e,t){e.exports=markdownit},"5f72":function(e,t){e.exports=ELEMENT},"60bb":function(e,t){e.exports=_},6389:function(e,t){e.exports=VueRouter},"6c69":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("nav",{staticClass:"navbar is-dark",attrs:{role:"navigation","aria-label":"main navigation"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"navbar-brand"},[a("a",{staticClass:"navbar-item",attrs:{href:e.currgd.id}},[a("h3",{staticClass:"title is-3 has-text-white"},[e._v(e._s(e.siteName))])]),a("a",{class:"navbar-burger burger "+(e.isActive?"is-active":""),attrs:{role:"button","aria-label":"menu","aria-expanded":"false","data-target":"navbarBasicExample"},on:{click:e.burgerClick}},[a("span",{attrs:{"aria-hidden":"true"}}),a("span",{attrs:{"aria-hidden":"true"}}),a("span",{attrs:{"aria-hidden":"true"}})])]),a("div",{class:"navbar-menu "+(e.isActive?"is-active":""),attrs:{id:"navbarBasicExample"}},[a("div",{staticClass:"navbar-start"},[e.gds.length>0&&e.getCurrGD.length>0?a("div",{staticClass:"navbar-item has-dropdown is-hoverable"},[a("a",{staticClass:"navbar-link"},[e._v(e._s(this.currgd.name))]),a("div",{staticClass:"navbar-dropdown is-boxed"},e._l(e.getCurrGD,(function(t,n){return a("a",{key:n,staticClass:"navbar-item",on:{click:function(a){return e.changeItem(t)}}},[e._v(e._s(t.name))])})),0)]):e._e()]),a("div",{staticClass:"navbar-end"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.showSearch,expression:"showSearch"}],staticClass:"navbar-item"},[a("div",{staticClass:"field is-grouped"},[a("p",{staticClass:"control has-icons-left is-dark",staticStyle:{width:"100%"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.param,expression:"param"}],staticClass:"input is-rounded search-input",staticStyle:{"background-color":"rgb(68, 66, 66)","border-color":"#272727"},attrs:{type:"search",placeholder:e.$t("search.placeholder")},domProps:{value:e.param},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.query(t)},input:function(t){t.target.composing||(e.param=t.target.value)}}}),a("span",{staticClass:"icon is-small is-left",staticStyle:{padding:"0 5px"}},[a("img",{attrs:{src:e.eyes}})])])])]),a("header-locales"),e._m(0),a("header-setting"),a("a",{staticClass:"navbar-item is-hidden-desktop",on:{click:function(t){return t.stopPropagation(),e.$refs.viewMode.toggleMode(t)}}},[a("view-mode",{ref:"viewMode"})],1)],1)])])])},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"navbar-item",attrs:{target:"_blank",rel:"noopener",title:"View on github",href:"https://github.com/Aicirou/goindex-theme-acrou"}},[a("i",{staticClass:"fab fa-github"})])}],i=(a("4de4"),a("d81d"),a("b0c0"),a("ac1f"),a("466d"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"navbar-item has-dropdown is-hoverable"},[e._m(0),a("div",{staticClass:"navbar-dropdown is-left"},e._l(e.$languages,(function(t){return a("a",{key:t.value,class:"navbar-item"+(e.currLanguage===t.value?" is-active":""),on:{click:function(a){return e.onChangeLocale(t.value)}}},[e._v(e._s(t.label))])})),0)])}),o=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"navbar-link is-arrowless"},[a("i",{staticClass:"fa fa-language"})])}],c={data:function(){return{currLanguage:""}},methods:{onChangeLocale:function(e){this.currLanguage=e,this.$i18n.locale=e}},created:function(){this.currLanguage=this.$i18n.locale}},s=c,u=a("2877"),d=Object(u["a"])(s,i,o,!1,null,null,null),l=d.exports,f=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"navbar-item has-dropdown is-hoverable"},[e._m(0),a("div",{staticClass:"navbar-dropdown is-left"},[a("a",{staticClass:"navbar-item",on:{click:e.cleanCache}},[e._m(1),e._v(" "+e._s(e.$t("setting.clear.text"))+" ")])])])},p=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a",{staticClass:"navbar-link is-arrowless",attrs:{title:"Setting"}},[a("i",{staticClass:"fa fa-cog",attrs:{"aria-hidden":"true"}})])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",{staticClass:"icon"},[a("i",{staticClass:"fa fa-trash",attrs:{"aria-hidden":"true"}})])}],h={data:function(){return{}},methods:{cleanCache:function(){this.$notify({title:this.$t("notify.title"),message:this.$t("setting.clear.success"),type:"success"})}}},v=h,m=Object(u["a"])(v,f,p,!1,null,null,null),g=m.exports,b=a("f3f7"),w={components:{headerLocales:l,headerSetting:g,ViewMode:b["a"]},created:function(){this.siteName=document.getElementsByTagName("title")[0].innerText,window.gds&&window.gds.length>0&&(this.gds=window.gds.map((function(e,t){return{name:e,id:"/"+t+":/"}})),this.chooseGD()),window.MODEL&&(this.param=window.MODEL.q?window.MODEL.q:"")},data:function(){return{siteName:"",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OgoaFTNDo6YhaVdQwMsIE3Kf/r9LKkIWe9OSZukH6aX5xXLDO/BuFNndFjXEYLd8VTJ/2TVg3WMXHtUoUobWx6zEb8NL8411jMq8FvwcggPCHEOV5xflIE5njq5LdVg3WKKYX2rpMOcrseUz8/zS/ONRbzavBbMCqM4TxOauLFIjDC81S/rRqsOqYYWNnZZhky7HbzejFQlGOe7af5xbnFMvMKuwXCe2LRYzz9/w+Eq1avwh9frRqsKqCmyRdUcrvMbIdFjZ/mF+cUC3yCV7N+gXAIhdCMzvX2rqLu7qTZrqzjZDJJwAbVePYxmIx1fFyOP9jBHrZYQfppfnFOsYp8mvUWwrtjbe8Xk+7f0W+2K+v4/v7KMW6OBWlPu+ntuqI9lutYQVbSYA9cUA08gk+7PwvhbKTzZbCNa33mxht/Tlu2bLHbO57DFpigGi/l30nG28pfeXFg2APH/TCW661trWWlAzss74ELpokZ8Ag+7f4shEOZjLcP8rzxCRzveOBBur9/B+F5iVODDjawDaoxaSMtzeIhP/6AAx7PRl555TXPSkdlwy7IZyngDzyq8lf+S/Gj53A6y4uh+dfHavm0kKtC8jPjTd2d0YVZhypxN9noWLaPd60dRT+wXK/t00Ix0BOPbkI/VDkqCYfhlT0+Kro8ZZ57fBwJh2vsyrp4fvYIV8k6z1BVGhQq4uGeePvfq3S1AB9OT/yWT15HpS8IQzrg/L9Zsqxps9c3BUrGcHM+AGtLG/v4bvK1WR70MSeLfZoPBkk2coQ/+IX/oHO2+GN+wJMX2cC4Eg4DbPbknba8K0zsx3nQjScGP/C7GneGsSkWucIv/CNO0LnDH3gBP+VsijXsK0niyl57M1sh7rU3h7nyNYkafk3CTDzfiLSRzNRm3vi0jcfJ/4vvpfBK9kAy1nqkmntCIHdvJt/0RSDRydssIpf/F4FEjmfxY0F/EchctFeOa8DAT7a2wdC+qrYdAAAAAElFTkSuQmCC"}},methods:{chooseGD:function(){var e=this.$route.params.id;this.gds&&this.gds.length>=e&&(this.currgd=this.gds[e])},changeItem:function(e){this.currgd=e,this.$router.push({path:e.id})},query:function(){this.param&&this.$router.push({path:this.currgd.id.match("/[0-9]+:")+"search?q="+this.param})},burgerClick:function(){this.isActive=!this.isActive}},computed:{getCurrGD:function(){var e=this;return this.gds.filter((function(t){return t.name!==e.currgd.name}))},showSearch:function(){return!window.MODEL||window.MODEL.root_type<2}},watch:{"$route.params.id":"chooseGD"}},y=w,x=Object(u["a"])(y,n,r,!1,null,null,null);t["default"]=x.exports},"85b3":function(e,t){e.exports=VueI18n},"88e9":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Head"),a("section",{staticClass:"section"},[a("div",{staticClass:"container"},[a("bread-crumb",{ref:"breadcrumb"}),a("feb-alive",[a("router-view")],1),a("Footer")],1)])],1)},r=[],i=a("e0a1"),o=a("2db9"),c=a("a1c2"),s={data:function(){return{}},components:{Head:i["default"],BreadCrumb:o["default"],Footer:c["default"]},methods:{}},u=s,d=a("2877"),l=Object(d["a"])(u,n,r,!1,null,null,null);t["default"]=l.exports},"8bbf":function(e,t){e.exports=Vue},"95a2":function(e,t,a){"use strict";a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return p})),a.d(t,"a",(function(){return h}));a("99af"),a("d3b7");var n=a("5726"),r=a.n(n),i=a("c758"),o=a.n(i),c=a("c276"),s=a("60bb"),u=new o.a("go2index-".concat("2.0.0")),d=r()(u);function l(e){var t=e.dbName,a=void 0===t?"database":t,n=e.path,r=void 0===n?"":n,i=e.user,o=void 0===i||i,s=e.validator,u=void 0===s?function(){return!0}:s,l=e.defaultValue,f=void 0===l?"":l,p=c["a"].cookies.get("uuid")||"ghost-uuid",h="".concat(a,".").concat(o?"user.".concat(p):"public").concat(r?".".concat(r):""),v=d.get(h).value();return void 0!==v&&u(v)||d.set(h,f).write(),h}function f(e){var t=e.dbName,a=void 0===t?"database":t,n=e.path,r=void 0===n?"":n,i=e.value,o=void 0===i?"":i,c=e.user,s=void 0!==c&&c;d.set(l({dbName:a,path:r,user:s}),o).write()}function p(e){var t=e.dbName,a=void 0===t?"database":t,n=e.path,r=void 0===n?"":n,i=e.defaultValue,o=void 0===i?"":i,c=e.user,u=void 0!==c&&c;return new Promise((function(e){e(Object(s["cloneDeep"])(d.get(l({dbName:a,path:r,user:u,defaultValue:o})).value()))}))}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dbName,a=void 0===t?"database":t,n=e.path,r=void 0===n?"":n,i=e.user,o=void 0!==i&&i,c=e.validator,s=void 0===c?function(){return!0}:c,u=e.defaultValue,f=void 0===u?"":u;return new Promise((function(e){e(d.get(l({dbName:a,path:r,user:o,validator:s,defaultValue:f})))}))}d.defaults({sys:{},database:{}}).write(),t["d"]=d},"9dac":function(e,t,a){var n={"./Layout":["88e9"],"./Layout.vue":["88e9"],"./common/BreadCrumb":["2db9"],"./common/BreadCrumb.vue":["2db9"],"./common/Footer":["a1c2"],"./common/Footer.vue":["a1c2"],"./common/Head":["e0a1"],"./common/Head.vue":["e0a1"],"./common/Markdown":["3bcf","chunk-2d0c4c28"],"./common/Markdown.vue":["3bcf","chunk-2d0c4c28"],"./common/Navbar":["6c69"],"./common/Navbar.vue":["6c69"],"./page/GoImg":["0c8a","chunk-2d0aed92"],"./page/GoImg.vue":["0c8a","chunk-2d0aed92"],"./page/GoList":["e65d","chunk-0856609f"],"./page/GoList.vue":["e65d","chunk-0856609f"],"./page/GoPdf":["fe7f","chunk-498d4d6d"],"./page/GoPdf.vue":["fe7f","chunk-498d4d6d"],"./page/GoText":["c556","chunk-48822c69"],"./page/GoText.vue":["c556","chunk-48822c69"],"./page/GoVideo":["0262","chunk-d364e3a0"],"./page/GoVideo.vue":["0262","chunk-d364e3a0"],"./page/components/grid":["2a7a","chunk-2458ab2f"],"./page/components/grid/":["2a7a","chunk-2458ab2f"],"./page/components/grid/index":["2a7a","chunk-2458ab2f"],"./page/components/grid/index.vue":["2a7a","chunk-2458ab2f"],"./page/components/list":["25e0","chunk-2d0b2ee4"],"./page/components/list/":["25e0","chunk-2d0b2ee4"],"./page/components/list/index":["25e0","chunk-2d0b2ee4"],"./page/components/list/index.vue":["25e0","chunk-2d0b2ee4"]};function r(e){if(!a.o(n,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],r=t[0];return Promise.all(t.slice(1).map(a.e)).then((function(){return a(r)}))}r.keys=function(){return Object.keys(n)},r.id="9dac",e.exports=r},a18c:function(e,t,a){"use strict";a("ac1f"),a("5319"),a("96cf");var n=a("1da1"),r=a("8bbf"),i=a.n(r),o=a("0499"),c=a("6389"),s=a.n(c),u=a("5530"),d=a("e36f"),l={disableCache:!1},f=[{path:"/:id(\\d)::cmd(text)/:path",component:d("page/GoText"),meta:Object(u["a"])({},l,{view:"text"})},{path:"/:id(\\d)::cmd(pdf)/:path",component:d("page/GoPdf"),meta:Object(u["a"])({},l,{view:"pdf"})},{path:"/:id(\\d)::cmd(video)/:path",component:d("page/GoVideo"),meta:Object(u["a"])({},l,{view:"video"})},{path:"/:id(\\d)::cmd(image)/:path",component:d("page/GoImg"),meta:Object(u["a"])({},l,{view:"image"})},{path:"/:id(\\d)::cmd(search)(/?q=)*",component:d("page/GoList"),meta:Object(u["a"])({},l,{view:"list"})},{path:"/:id(\\d):/:path*",component:d("page/GoList"),meta:Object(u["a"])({},l,{view:"list"})}],p=f;o["a"].resetHistory();var h=s.a.prototype.push;s.a.prototype.push=function(e){return h.call(this,e).catch((function(e){return e}))};var v=s.a.prototype.replace;s.a.prototype.replace=function(e){return v.call(this,e).catch((function(e){return e}))},i.a.use(s.a);var m=new s.a({mode:"history",scrollBehavior:function(e,t,a){return a||{x:0,y:0}},routes:p});i.a.use(o["a"],{router:m}),m.beforeEach(function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(t,a,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:0,n();case 2:case"end":return e.stop()}}),e)})));return function(t,a,n){return e.apply(this,arguments)}}()),m.afterEach((function(e){0}));t["a"]=m},a1c2:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("footer",{staticClass:"footer"},[a("div",{staticClass:"columns is-mobile is-centered"},[a("div",{staticClass:"field is-grouped is-grouped-multiline"},[a("div",{staticClass:"control"},[a("div",{staticClass:"tags has-addons"},[a("a",{staticClass:"tag is-dark",attrs:{href:"https://github.com/Aicirou/goindex-theme-acrou"}},[e._v("goindex-theme-acrou")]),a("span",{staticClass:"tag is-light"},[e._v(" MIT "),a("span",{staticClass:"icon"},[a("i",{staticClass:"fab fa-github"})])])])])])])])}],i={props:{},watch:{},data:function(){return{content:""}},components:{},methods:{}},o=i,c=a("2877"),s=Object(c["a"])(o,n,r,!1,null,null,null);t["default"]=s.exports},a27e:function(e,t,a){"use strict";var n=a("cebe"),r=a.n(n),i=r.a.create({baseURL:Object({NODE_ENV:"production",VUE_APP_I18N_LOCALE:"zh-chs",VUE_APP_I18N_FALLBACK_LOCALE:"en",VUE_APP_CDN_PATH:"https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/",VUE_APP_VERSION:"2.0.0",VUE_APP_G2INDEX_VERSION:"1.1.0",BASE_URL:"https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/"}).VUE_APP_API?Object({NODE_ENV:"production",VUE_APP_I18N_LOCALE:"zh-chs",VUE_APP_I18N_FALLBACK_LOCALE:"en",VUE_APP_CDN_PATH:"https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/",VUE_APP_VERSION:"2.0.0",VUE_APP_G2INDEX_VERSION:"1.1.0",BASE_URL:"https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/"}).VUE_APP_API:""});t["a"]=i},a363:function(e,t,a){var n={"./db.js":"5c1a","./view.js":"d6c0"};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="a363"},a844:function(e,t,a){},be65:function(e,t){e.exports=Cookies},c276:function(e,t,a){"use strict";a("99af");var n=a("be65"),r=a.n(n),i={set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={expires:1};Object.assign(n,a),r.a.set("go2index-".concat("2.0.0","-").concat(e),t,n)},get:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.a.get("go2index-".concat("2.0.0","-").concat(e))},getAll:function(){return r.a.get()},remove:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.a.remove("go2index-".concat("2.0.0","-").concat(e))}},o=i,c=a("95a2"),s={cookies:o,db:c["d"],title:function(e){var t=Object({NODE_ENV:"production",VUE_APP_I18N_LOCALE:"zh-chs",VUE_APP_I18N_FALLBACK_LOCALE:"en",VUE_APP_CDN_PATH:"https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/",VUE_APP_VERSION:"2.0.0",VUE_APP_G2INDEX_VERSION:"1.1.0",BASE_URL:"https://cdn.jsdelivr.net/gh/Aicirou/goindex-theme-acrou@master/dist/"}).VUE_APP_TITLE||"GoIndex";window.document.title="".concat(t).concat(e?" | ".concat(e):"")},open:function(e){var t=document.createElement("a");t.setAttribute("href",e),t.setAttribute("target","_blank"),t.setAttribute("id","d2admin-link-temp"),document.body.appendChild(t),t.click(),document.body.removeChild(document.getElementById("d2admin-link-temp"))}};t["a"]=s},c758:function(e,t){e.exports=LocalStorage},c9d4:function(e,t,a){"use strict";var n=a("a844"),r=a.n(n);r.a},cebe:function(e,t){e.exports=axios},d6c0:function(e,t,a){"use strict";a.r(t);a("d3b7"),a("96cf");var n=a("1da1");t["default"]={namespaced:!0,state:{mode:"list"},actions:{load:function(e){var t=e.state,a=e.dispatch,r=e.commit;return new Promise(function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,a("acrou/db/get",{dbName:"sys",path:"view.mode.value",defaultValue:"list",user:!0},{root:!0});case 2:t.mode=e.sent,r("set",t.mode),n();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},toggle:function(e,t){var a=e.state,r=e.dispatch,i=e.commit;return new Promise(function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a.mode=t||"list",e.next=3,r("acrou/db/set",{dbName:"sys",path:"view.mode.value",value:a.mode,user:!0},{root:!0});case 3:i("set",a.mode),n();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},mutations:{set:function(e,t){e.mode=t}}}},e0a1:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("Navbar",{ref:"navbar"})],1)},r=[],i=a("6c69"),o={data:function(){return{}},methods:{},components:{Navbar:i["default"]}},c=o,s=a("2877"),u=Object(s["a"])(c,n,r,!1,null,null,null);t["default"]=u.exports},e36f:function(e,t,a){a("d3b7"),e.exports=function(e){return function(){return a("9dac")("./"+e)}}},e558:function(e,t,a){},e862:function(e){e.exports=JSON.parse('{"_name":"🇨🇳繁体中文","languages":"選擇語言","index":"首頁","folder":"文件夾","notify":{"title":"提示"},"copy":{"success":"復制成功","error":"復制失敗"},"list":{"view":{"gridMode":"網格視圖","listMode":"列表視圖"},"auth":"目錄加密,請輸入密碼","title":{"file":"文件","moditime":"修改時間","size":"大小","operation":"操作"},"loading":"加載中...","opt":{"copy":"復制鏈接","newTab":"打開新的標簽頁","download":"下載"},"total":"共","item":"項"},"search":{"placeholder":"搜索..."},"page":{"video":{"play":"播放","download":"下載","link":"下載地址"},"text":{"loading":"加載中..."}},"setting":{"clear":{"text":"清理緩存","success":"緩存清理成功"}},"checkVersion":{"tips":"檢測到有新版本,<a href=\'${url}\'>前往GitHub</a>"}}')},edd4: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, <a href=\'${url}\'>Go to GitHub</a>"}}')},f3f7:function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("span",{directives:[{name:"show",rawName:"v-show",value:"list"===e.$route.meta.view,expression:"$route.meta.view === 'list'"}],staticClass:"icon",attrs:{title:"list"===e.mode?e.$t("list.view.gridMode"):e.$t("list.view.listMode")},on:{click:e.toggleMode}},[a("i",{class:"fa"+("list"===e.mode?" fa-th":" fa-th-list"),attrs:{"aria-hidden":"true"}})])},r=[],i=a("5530"),o=a("5880"),c={data:function(){return{}},computed:Object(i["a"])({},Object(o["mapState"])("acrou/view",["mode"])),methods:Object(i["a"])({},Object(o["mapActions"])("acrou/view",["toggle"]),{toggleMode:function(){this.toggle("list"===this.mode?"grid":"list")}})},s=c,u=a("2877"),d=Object(u["a"])(s,n,r,!1,null,null,null);t["a"]=d.exports}});