diff --git a/config/app.php b/config/app.php index f09095f..af0e3d3 100755 --- a/config/app.php +++ b/config/app.php @@ -55,6 +55,7 @@ return [ */ 'url' => env('APP_URL', 'http://localhost'), + 'alias_url' => env('ALIAS_URL'), /* |-------------------------------------------------------------------------- diff --git a/package-lock.json b/package-lock.json index 5384be4..2590e81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "axios": "^0.21.1", "datatables.net": "^1.10.21", "datatables.net-buttons": "^1.6.3", + "dotenv": "^8.6.0", "easytimer": "^1.1.1", "jquery": "^3.5.1", "leaflet": "^1.7.1", @@ -4601,7 +4602,6 @@ "version": "8.6.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", - "dev": true, "engines": { "node": ">=10" } @@ -17000,8 +17000,7 @@ "dotenv": { "version": "8.6.0", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", - "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", - "dev": true + "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==" }, "dotenv-expand": { "version": "5.1.0", diff --git a/package.json b/package.json index 586dc54..80e97b0 100755 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "axios": "^0.21.1", "datatables.net": "^1.10.21", "datatables.net-buttons": "^1.6.3", + "dotenv": "^8.6.0", "easytimer": "^1.1.1", "jquery": "^3.5.1", "leaflet": "^1.7.1", diff --git a/public/js/search/main.js b/public/js/search/main.js index c9ec594..35e43d6 100644 --- a/public/js/search/main.js +++ b/public/js/search/main.js @@ -1,2 +1,2 @@ /*! For license information please see main.js.LICENSE.txt */ -(()=>{var e={9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),s=n(4097),c=n(4109),u=n(7985),l=n(5061);e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+h)}var m=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,i),d=null}},d.onabort=function(){d&&(n(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),f||(f=null),d.send(f)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(n(5655));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(5263),c.CancelToken=n(4972),c.isCancel=n(6502),c.all=function(e){return Promise.all(e)},c.spread=n(8713),c.isAxiosError=n(6268),e.exports=c,e.exports.default=c},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),s=n(7185);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},782:(e,t,n)=>{"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,n)=>{"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},3572:(e,t,n)=>{"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var l=o.concat(i).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,u),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},5655:(e,t,n)=>{"use strict";var r=n(4155),o=n(4867),i=n(6016),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(c=n(5448)),c),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){u.headers[e]=o.merge(a)})),e.exports=u},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4867:(e,t,n)=>{"use strict";var r=n(1849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'td[data-v-6a385844],th[data-v-6a385844]{border-bottom:0 solid #e1e1e1}.gbaterm[data-v-6a385844]{color:#09c;border:1px solid #c8d2ff;padding:4px;background:#dce1ff;margin:1px 0;border-radius:2px}input[type=checkbox].css-checkbox[data-v-6a385844]{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;padding:0;border:0}input[type=checkbox].css-checkbox+label.css-label[data-v-6a385844]{padding-left:25px;height:24px;display:inline-block;line-height:24px;background-repeat:no-repeat;background-position:0 0;font-size:12px;font-weight:700;vertical-align:middle;cursor:pointer;color:#bfbfbf;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAn1BMVEXMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzJycnLy8v////c3Nzn5+fp6en8/PzNzc3KysrOzs7l5eXGxsbR0dHa2trg4ODz8/PMzMzX19fw8PDd3d3m5ubu7u7y8vL7+/v09PTb29vk5OTY2NiyHSPoAAAAGXRSTlP0yb3mvngEyOd/6BbFrZrAlcoXt/Hp89A1KxYHDAAAAJBJREFUGNN1kEcOwzAMBJnee6Wo6p5e//+2BJIdCAq8lx3MgSAJ3cG44aU3HUHnEGQC7ZIYYw6GpTLvosiNxT40beOZSKDFVqU40cVTBjHJiOIE0TjFjpxnguiafVtbZW70yz1ioVJOsVxKcSJ6CClj/Tce65eoUU+lXpWauWN1mkaONjAPP7GA5WoNXra7/Qf12yWALFrgcgAAAABJRU5ErkJggg==")}input[type=checkbox].css-checkbox:checked+label.css-label[data-v-6a385844]{color:#000;opacity:1;cursor:pointer;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAABGlBMVEUAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcz///8AmcwAl8sAmMsAmMwAlssAlcoAk8kAlsoAlMkMm80NnM0OnM4Pnc4Sns4SoNAAkskDl8sEl8sFmcwGm80AksgAkccAkch1x+R6yeV7yuWAzOaCzeZzx+MClssTns8Tn88TodAfpdIwq9VFtNlGtdpItdpKttpNt9tXvN5yx+ODzeaHz+eN0uiQ0+mX1uqY1uqd2Oui2u2w4O+x4O+04fC65PG75PHA5vPC5/PK6vTK6vXl9frm9frw+fzy+vz1+/33/P74/P78/v79/v8Cl8vxGPkTAAAAGHRSTlMCEB0+cHKNm6W5vL2+wMPP2ubn6On4+vtKR3RrAAAAy0lEQVR4Xl3M5XLDMBSEUSXlJinDXpEdZk6ZmZnp/V8jVxO7k/H3Yz1zJFmIsanEUNPjMTFKkSZFIkqLIsmrjdH8MVLxLrhbOt07SWsqHV1XJdG8o78u0PHqh5+4yagBrZ8DWNv/Ah5zAWl7xvYL3GdM8JCUPf1hvM36FBI1976Z2g36p9LuO1zHng7IHHwAD5dsrUpA5TvgKe9dAK+bckBy4/mlYJW9etvxw3/5xS3LJ7VtXqYUcVK6VcbtkpigSLMiPrO8OtTK3Egf1HcmSFPcuygAAAAASUVORK5CYII=")}',""]);const i=o},7993:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".disabled[data-v-2280070b]{color:#d3d3d3;pointer-events:none;text-decoration:line-through}",""]);const i=o},6276:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".pagination[data-v-ee10df50]{text-align:center;margin:80px 0 0;clear:both}.pagination a[data-v-ee10df50]{padding-left:1em;padding-right:1em}.pagination-dots[data-v-ee10df50],.pagination-link[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.25em;justify-content:flex-start;line-height:1.5;padding:calc(.375em - 1px) calc(.625em - 1px);position:relative;vertical-align:top}.is-active.pagination-dots[data-v-ee10df50],.is-active.pagination-link[data-v-ee10df50],.is-active.pagination-next[data-v-ee10df50],.is-active.pagination-previous[data-v-ee10df50],.is-focused.pagination-dots[data-v-ee10df50],.is-focused.pagination-link[data-v-ee10df50],.is-focused.pagination-next[data-v-ee10df50],.pagination-dots[data-v-ee10df50]:active,.pagination-dots[data-v-ee10df50]:focus,.pagination-link[data-v-ee10df50]:active,.pagination-link[data-v-ee10df50]:focus,.pagination-next[data-v-ee10df50]:active,.pagination-next[data-v-ee10df50]:focus,.pagination-previous[data-v-ee10df50]:active,.pagination-previous[data-v-ee10df50]:focus{outline:none}.pagination-dots.disabled[data-v-ee10df50],.pagination-link.disabled[data-v-ee10df50],.pagination-next.disabled[data-v-ee10df50],.pagination-previous.disabled[data-v-ee10df50]{cursor:not-allowed}.pagination[data-v-ee10df50]{font-size:1rem;margin:-.25rem}.pagination.is-small[data-v-ee10df50]{font-size:.75rem}.pagination.is-medium[data-v-ee10df50]{font-size:1.25rem}.pagination.is-large[data-v-ee10df50]{font-size:1.5rem}.pagination.is-rounded .pagination-next[data-v-ee10df50],.pagination.is-rounded .pagination-previous[data-v-ee10df50]{padding-left:1em;padding-right:1em;border-radius:290486px}.pagination.is-rounded .pagination-link[data-v-ee10df50]{border-radius:290486px}.pagination-list[data-v-ee10df50]{align-items:center;display:flex;justify-content:center;text-align:center;list-style:none}.pagination-dots[data-v-ee10df50],.pagination-link[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{font-size:1em;padding-left:.5em;padding-right:.5em;justify-content:center;margin:.25rem;text-align:center}.pagination-link[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{border-color:#dbdbdb;color:#363636;min-width:2.25em}.pagination-link[data-v-ee10df50]:hover,.pagination-next[data-v-ee10df50]:hover,.pagination-previous[data-v-ee10df50]:hover{border-color:#b5b5b5;color:#363636}.pagination-link[data-v-ee10df50]:focus,.pagination-next[data-v-ee10df50]:focus,.pagination-previous[data-v-ee10df50]:focus{border-color:#3273dc}.pagination-link[data-v-ee10df50]:active,.pagination-next[data-v-ee10df50]:active,.pagination-previous[data-v-ee10df50]:active{box-shadow:inset 0 1px 2px rgba(10,10,10,.2)}.pagination-link.disabled[data-v-ee10df50],.pagination-next.disabled[data-v-ee10df50],.pagination-previous.disabled[data-v-ee10df50]{background-color:#dbdbdb;border-color:#dbdbdb;box-shadow:none;color:#7a7a7a;opacity:.5}.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{padding-left:.75em;padding-right:.75em;white-space:nowrap}.pagination-link.is-current[data-v-ee10df50]{background-color:#3abac4;border-color:#3abac4;color:#fff}.pagination-dots[data-v-ee10df50]{color:#b5b5b5;pointer-events:none}.pagination-list[data-v-ee10df50]{flex-wrap:wrap}@media screen and (max-width:767px){.pagination[data-v-ee10df50]{flex-wrap:wrap}.pagination-list li[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{flex-grow:1;flex-shrink:1}}@media print,screen and (min-width:768px){.pagination-list[data-v-ee10df50]{flex-grow:1;flex-shrink:1;justify-content:center;order:1}.pagination-previous[data-v-ee10df50]{order:2}.pagination-next[data-v-ee10df50]{order:3}.pagination[data-v-ee10df50]{justify-content:space-between}.pagination.is-centered .pagination-previous[data-v-ee10df50]{order:1}.pagination.is-centered .pagination-list[data-v-ee10df50]{justify-content:center;order:2}.pagination.is-centered .pagination-next[data-v-ee10df50]{order:3}.pagination.is-right .pagination-previous[data-v-ee10df50]{order:1}.pagination.is-right .pagination-next[data-v-ee10df50]{order:2}.pagination.is-right .pagination-list[data-v-ee10df50]{justify-content:flex-end;order:3}}",""]);const i=o},7767:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".sidebar-simplesearch{position:relative;width:100%;box-sizing:border-box}.autocomplete-results{padding:0;margin:0;list-style-type:none;z-index:1000;position:absolute;max-height:200px;overflow-y:auto;background:#fff;width:100%;border:1px solid #ccc;border-top:0;color:#000}.autocomplete-result-item{list-style:none;text-align:left;padding:7px 10px;cursor:pointer}.autocomplete-result-item.is-active{background:rgba(0,180,255,.15)}.autocomplete-result-item:hover{background:rgba(0,180,255,.075)}",""]);const i=o},582:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"#app{color:#56b983}.content{flex:1 1 70%;display:flex;align-items:center;justify-content:center}",""]);const i=o},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i{var r=n(5639).Symbol;e.exports=r},4239:(e,t,n)=>{var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},7561:(e,t,n)=>{var r=n(7990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},1957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},9607:(e,t,n)=>{var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5639:(e,t,n)=>{var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},7990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},3279:(e,t,n)=>{var r=n(3218),o=n(7771),i=n(4841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,f,p,d,v=0,h=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=u;return c=u=void 0,v=t,f=e.apply(r,n)}function b(e){return v=e,p=setTimeout(w,t),h?g(e):f}function _(e){var n=e-d;return void 0===d||n>=t||n<0||m&&e-v>=l}function w(){var e=o();if(_(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-d);return m?s(n,l-(e-v)):n}(e))}function x(e){return p=void 0,y&&c?g(e):(c=u=void 0,f)}function C(){var e=o(),n=_(e);if(c=arguments,u=this,d=e,n){if(void 0===p)return b(d);if(m)return clearTimeout(p),p=setTimeout(w,t),g(d)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(h=!!n.leading,l=(m="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),C.cancel=function(){void 0!==p&&clearTimeout(p),v=0,c=d=u=p=void 0},C.flush=function(){return void 0===p?f:x(o())},C}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var r=n(4239),o=n(7005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:(e,t,n)=>{var r=n(5639);e.exports=function(){return r.Date.now()}},4841:(e,t,n)=>{var r=n(7561),o=n(3218),i=n(3448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},4155:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,c=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l1)for(var n=1;n{var r=n(5326);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("58212866",r,!0,{})},4441:(e,t,n)=>{var r=n(7993);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("3f9053df",r,!0,{})},7684:(e,t,n)=>{var r=n(6276);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("11b28ee2",r,!0,{})},5298:(e,t,n)=>{var r=n(7767);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("4124e3ec",r,!0,{})},561:(e,t,n)=>{var r=n(582);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("1e5fcee7",r,!0,{})},5346:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},o=0;ov});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f=null,p="data-vue-ssr-id",d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){u=n,f=o||{};var a=r(e,t);return h(a),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=Object.freeze({});function t(e){return null==e}function r(e){return null!=e}function o(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function a(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function c(e){return"[object Object]"===s.call(e)}function u(e){return"[object RegExp]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function b(e,t){return g.call(e,t)}function _(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=_((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),C=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,O=_((function(e){return e.replace(A,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function $(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n0,Y=W&&W.indexOf("edge/")>0,Q=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===G),ee=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(J)try{var re={};Object.defineProperty(re,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,re)}catch(e){}var oe=function(){return void 0===V&&(V=!J&&!K&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),V},ie=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,ce="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=T,le=0,fe=function(){this.id=le++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){y(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===O(e)){var c=Be(String,o.type);(c<0||s0&&(pt((s=dt(s,(n||"")+"_"+a))[0])&&pt(u)&&(l[c]=ge(u.text+s[0].text),s.shift()),l.push.apply(l,s)):i(s)?pt(u)?l[c]=ge(u.text+s):""!==s&&l.push(ge(s)):pt(s)&&pt(u)?l[c]=ge(u.text+s.text):(o(e._isVList)&&r(s.tag)&&t(s.key)&&r(n)&&(s.key="__vlist"+n+"_"+a+"__"),l.push(s)));return l}function vt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=gt(n,c,t[c]))}else o={};for(var u in n)u in o||(o[u]=bt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=o),B(o,"$stable",a),B(o,"$key",s),B(o,"$hasNormal",i),o}function gt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ft(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function bt(e,t){return function(){return e[t]}}function _t(e,t){var n,o,i,s,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,i=e.length;odocument.createEvent("Event").timeStamp&&(dn=function(){return vn.now()})}function hn(){var e,t;for(pn=dn(),ln=!0,an.sort((function(e,t){return e.id-t.id})),fn=0;fnfn&&an[n].id>e.id;)n--;an.splice(n+1,0,e)}else an.push(e);un||(un=!0,nt(hn))}}(this)},yn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||a(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){He(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},yn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},yn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},yn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:T,set:T};function bn(e,t,n){gn.get=function(){return this[t][n]},gn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,gn)}function _n(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];e.$parent&&Ae(!1);var i=function(i){o.push(i);var a=Fe(i,t,n,e);Se(r,i,a),i in e||bn(e,"_props",i)};for(var a in t)i(a);Ae(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?T:k(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return He(e,t,"data()"),{}}finally{ve()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&b(r,i)||U(i)||bn(e,"_data",i)}ke(t,!0)}(e):ke(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new yn(e,a||T,T,wn)),o in e||xn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Mn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Tn(a.componentOptions);s&&!t(s)&&Pn(n,i,r,o)}}}function Pn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=kn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De(Sn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=ht(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return Bt(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Bt(t,e,n,r,o,!0)};var i=r&&r.data;Se(t,"$attrs",i&&i.attrs||e,null,!0),Se(t,"$listeners",n._parentListeners||e,null,!0)}(n),on(n,"beforeCreate"),function(e){var t=vt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){Se(e,n,t[n])})),Ae(!0))}(n),_n(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),on(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}($n),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=$e,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){var r=this;if(c(t))return On(r,e,t,n);(n=n||{}).user=!0;var o=new yn(r,e,t,n);if(n.immediate)try{t.call(r,o.value)}catch(e){He(e,r,'callback for immediate watcher "'+o.expression+'"')}return function(){o.teardown()}}}($n),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o1?S(n):n;for(var r=S(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;iparseInt(this.max)&&Pn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:$,mergeOptions:De,defineReactive:Se},e.set=$e,e.delete=je,e.nextTick=nt,e.observable=function(e){return ke(e),e},e.options=Object.create(null),D.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,$(e.options.components,Rn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),jn(e),function(e){D.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}($n),Object.defineProperty($n.prototype,"$isServer",{get:oe}),Object.defineProperty($n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($n,"FunctionalRenderContext",{value:Rt}),$n.version="2.6.12";var Ln=v("style,class"),Dn=v("input,textarea,option,select,progress"),In=function(e,t,n){return"value"===n&&Dn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Fn=v("contenteditable,draggable,spellcheck"),zn=v("events,caret,typing,plaintext-only"),Un=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Bn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Vn=function(e){return Hn(e)?e.slice(6,e.length):""},qn=function(e){return null==e||!1===e};function Jn(e){for(var t=e.data,n=e,o=e;r(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(t=Kn(o.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Kn(t,n.data));return function(e,t){if(r(e)||r(t))return Gn(e,Wn(t));return""}(t.staticClass,t.class)}function Kn(e,t){return{staticClass:Gn(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Gn(e,t){return e?t?e+" "+t:e:t||""}function Wn(e){return Array.isArray(e)?function(e){for(var t,n="",o=0,i=e.length;o-1?_r(e,t,n):Un(t)?qn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Fn(t)?e.setAttribute(t,function(e,t){return qn(t)||"false"===t?"false":"contenteditable"===e&&zn(t)?t:"true"}(t,n)):Hn(t)?qn(n)?e.removeAttributeNS(Bn,Vn(t)):e.setAttributeNS(Bn,t,n):_r(e,t,n)}function _r(e,t,n){if(qn(n))e.removeAttribute(t);else{if(X&&!Z&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var wr={create:gr,update:gr};function xr(e,n){var o=n.elm,i=n.data,a=e.data;if(!(t(i.staticClass)&&t(i.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Jn(n),c=o._transitionClasses;r(c)&&(s=Gn(s,Wn(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var Cr,Ar,Or,kr,Sr,$r,jr={create:xr,update:xr},Tr=/[\w).+\-_$\]]/;function Er(e){var t,n,r,o,i,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&Tr.test(h)||(u=!0)}}else void 0===o?(d=r+1,o=e.slice(0,r).trim()):m();function m(){(i||(i=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===o?o=e.slice(0,r).trim():0!==d&&m(),i)for(r=0;r-1?{exp:e.slice(0,kr),key:'"'+e.slice(kr+1)+'"'}:{exp:e,key:null};Ar=e,kr=Sr=$r=0;for(;!Gr();)Wr(Or=Kr())?Zr(Or):91===Or&&Xr(Or);return{exp:e.slice(0,Sr),key:e.slice(Sr+1,$r)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Kr(){return Ar.charCodeAt(++kr)}function Gr(){return kr>=Cr}function Wr(e){return 34===e||39===e}function Xr(e){var t=1;for(Sr=kr;!Gr();)if(Wr(e=Kr()))Zr(e);else if(91===e&&t++,93===e&&t--,0===t){$r=kr;break}}function Zr(e){for(var t=e;!Gr()&&(e=Kr())!==t;);}var Yr,Qr="__r";function eo(e,t,n){var r=Yr;return function o(){var i=t.apply(null,arguments);null!==i&&ro(e,o,n,r)}}var to=Ge&&!(ee&&Number(ee[1])<=53);function no(e,t,n,r){if(to){var o=pn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Yr.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function ro(e,t,n,r){(r||Yr).removeEventListener(e,t._wrapper||t,n)}function oo(e,n){if(!t(e.data.on)||!t(n.data.on)){var o=n.data.on||{},i=e.data.on||{};Yr=n.elm,function(e){if(r(e.__r)){var t=X?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}r(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(o),ct(o,i,no,ro,eo,n.context),Yr=void 0}}var io,ao={create:oo,update:oo};function so(e,n){if(!t(e.data.domProps)||!t(n.data.domProps)){var o,i,a=n.elm,s=e.data.domProps||{},c=n.data.domProps||{};for(o in r(c.__ob__)&&(c=n.data.domProps=$({},c)),s)o in c||(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(n.children&&(n.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o&&"PROGRESS"!==a.tagName){a._value=i;var u=t(i)?"":String(i);co(a,u)&&(a.value=u)}else if("innerHTML"===o&&Yn(a.tagName)&&t(a.innerHTML)){(io=io||document.createElement("div")).innerHTML=""+i+"";for(var l=io.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(i!==s[o])try{a[o]=i}catch(e){}}}}function co(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,o=e._vModifiers;if(r(o)){if(o.number)return d(n)!==d(t);if(o.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var uo={create:so,update:so},lo=_((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function fo(e){var t=po(e.style);return e.staticStyle?$(e.staticStyle,t):t}function po(e){return Array.isArray(e)?j(e):"string"==typeof e?lo(e):e}var vo,ho=/^--/,mo=/\s*!important$/,yo=function(e,t,n){if(ho.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(O(t),n.replace(mo,""),"important");else{var r=bo(t);if(Array.isArray(n))for(var o=0,i=n.length;o-1?t.split(xo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ao(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(xo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Oo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&$(t,ko(e.name||"v")),$(t,e),t}return"string"==typeof e?ko(e):void 0}}var ko=_((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),So=J&&!Z,$o="transition",jo="animation",To="transition",Eo="transitionend",Mo="animation",Po="animationend";So&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(To="WebkitTransition",Eo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mo="WebkitAnimation",Po="webkitAnimationEnd"));var No=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ro(e){No((function(){No(e)}))}function Lo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Co(e,t))}function Do(e,t){e._transitionClasses&&y(e._transitionClasses,t),Ao(e,t)}function Io(e,t,n){var r=zo(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===$o?Eo:Po,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(n=$o,l=a,f=i.length):t===jo?u>0&&(n=jo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?$o:jo:null)?n===$o?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===$o&&Fo.test(r[To+"Property"])}}function Uo(e,t){for(;e.length1}function Ko(e,t){!0!==t.data.show&&Ho(t)}var Go=function(e){var n,a,s={},c=e.modules,u=e.nodeOps;for(n=0;nv?b(e,t(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&w(n,p,v)}(p,h,y,i,l):r(y)?(r(e.text)&&u.setTextContent(p,""),b(p,null,y,0,y.length-1,i)):r(h)?w(h,0,h.length-1):r(e.text)&&u.setTextContent(p,""):e.text!==n.text&&u.setTextContent(p,n.text),r(v)&&r(d=v.hook)&&r(d=d.postpatch)&&d(e,n)}}}function O(e,t,n){if(o(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i-1,a.selected!==i&&(a.selected=i);else if(P(Qo(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Yo(e,t){return t.every((function(t){return!P(t,e)}))}function Qo(e){return"_value"in e?e._value:e.value}function ei(e){e.target.composing=!0}function ti(e){e.target.composing&&(e.target.composing=!1,ni(e.target,"input"))}function ni(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ri(e){return!e.componentInstance||e.data&&e.data.transition?e:ri(e.componentInstance._vnode)}var oi={model:Wo,show:{bind:function(e,t,n){var r=t.value,o=(n=ri(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,Ho(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=ri(n)).data&&n.data.transition?(n.data.show=!0,r?Ho(n,(function(){e.style.display=e.__vOriginalDisplay})):Vo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},ii={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ai(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ai(Gt(t.children)):e}function si(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[x(i)]=o[i];return t}function ci(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ui=function(e){return e.tag||Kt(e)},li=function(e){return"show"===e.name},fi={name:"transition",props:ii,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ui)).length){0;var r=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=ai(o);if(!a)return o;if(this._leaving)return ci(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=si(this),u=this._vnode,l=ai(u);if(a.data.directives&&a.data.directives.some(li)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Kt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=$({},c);if("out-in"===r)return this._leaving=!0,ut(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ci(e,o);if("in-out"===r){if(Kt(a))return u;var p,d=function(){p()};ut(c,"afterEnter",d),ut(c,"enterCancelled",d),ut(f,"delayLeave",(function(e){p=e}))}}return o}}},pi=$({tag:String,moveClass:String},ii);function di(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function vi(e){e.data.newPos=e.elm.getBoundingClientRect()}function hi(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete pi.mode;var mi={Transition:fi,TransitionGroup:{props:pi,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=en(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=si(this),s=0;s-1?tr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:tr[e]=/HTMLUnknownElement/.test(t.toString())},$($n.options.directives,oi),$($n.options.components,mi),$n.prototype.__patch__=J?Go:T,$n.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ye),on(e,"beforeMount"),r=function(){e._update(e._render(),n)},new yn(e,r,T,{before:function(){e._isMounted&&!e._isDestroyed&&on(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,on(e,"mounted")),e}(this,e=e&&J?rr(e):void 0,t)},J&&setTimeout((function(){F.devtools&&ie&&ie.emit("init",$n)}),0);var yi=/\{\{((?:.|\r?\n)+?)\}\}/g,gi=/[-.*+?^${}()|[\]\/\\]/g,bi=_((function(e){var t=e[0].replace(gi,"\\$&"),n=e[1].replace(gi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var _i={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Br(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ur(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var wi,xi={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Br(e,"style");n&&(e.staticStyle=JSON.stringify(lo(n)));var r=Ur(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Ci=function(e){return(wi=wi||document.createElement("div")).innerHTML=e,wi.textContent},Ai=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Oi=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ki=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Si=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,$i=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ji="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+z.source+"]*",Ti="((?:"+ji+"\\:)?"+ji+")",Ei=new RegExp("^<"+Ti),Mi=/^\s*(\/?)>/,Pi=new RegExp("^<\\/"+Ti+"[^>]*>"),Ni=/^]+>/i,Ri=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},zi=/&(?:lt|gt|quot|amp|#39);/g,Ui=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Bi=v("pre,textarea",!0),Hi=function(e,t){return e&&Bi(e)&&"\n"===t[0]};function Vi(e,t){var n=t?Ui:zi;return e.replace(n,(function(e){return Fi[e]}))}var qi,Ji,Ki,Gi,Wi,Xi,Zi,Yi,Qi=/^@|^v-on:/,ea=/^v-|^@|^:|^#/,ta=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,na=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ra=/^\(|\)$/g,oa=/^\[.*\]$/,ia=/:(.*)$/,aa=/^:|^\.|^v-bind:/,sa=/\.[^.\]]+(?=[^\]]*$)/g,ca=/^v-slot(:|$)|^#/,ua=/[\r\n]/,la=/\s+/g,fa=_(Ci),pa="_empty_";function da(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:_a(t),rawAttrsMap:{},parent:n,children:[]}}function va(e,t){qi=t.warn||Pr,Xi=t.isPreTag||E,Zi=t.mustUseProp||E,Yi=t.getTagNamespace||E;var n=t.isReservedTag||E;(function(e){return!!e.component||!n(e.tag)}),Ki=Nr(t.modules,"transformNode"),Gi=Nr(t.modules,"preTransformNode"),Wi=Nr(t.modules,"postTransformNode"),Ji=t.delimiters;var r,o,i=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,u=!1;function l(e){if(f(e),c||e.processed||(e=ha(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&ya(r,{exp:e.elseif,block:e}),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(o.children))&&s.if&&ya(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),f(e),e.pre&&(c=!1),Xi(e.tag)&&(u=!1);for(var l=0;l]*>)","i")),p=e.replace(f,(function(e,n,r){return u=r.length,Di(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Hi(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(Ri.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Li.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Ni);if(m){C(m[0].length);continue}var y=e.match(Pi);if(y){var g=c;C(y[0].length),k(y[1],g,c);continue}var b=A();if(b){O(b),Hi(b.tagName,e)&&C(1);continue}}var _=void 0,w=void 0,x=void 0;if(d>=0){for(w=e.slice(d);!(Pi.test(w)||Ei.test(w)||Ri.test(w)||Li.test(w)||(x=w.indexOf("<",1))<0);)d+=x,w=e.slice(d);_=e.substring(0,d)}d<0&&(_=e),_&&C(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function A(){var t=e.match(Ei);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(Mi))&&(r=e.match($i)||e.match(Si));)r.start=c,C(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],C(n[0].length),o.end=c,o}}function O(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&ki(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)t.end&&t.end(o[u].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}k()}(e,{warn:qi,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,f){var p=o&&o.ns||Yi(e);X&&"svg"===p&&(n=function(e){for(var t=[],n=0;nc&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var u=Er(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),zr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Jr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Jr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Jr(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=Ur(e,"value")||"null";Rr(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),zr(e,"change",Jr(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type;0;var o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Qr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var f=Jr(t,l);c&&(f="if($event.target.composing)return;"+f);Rr(e,"value","("+t+")"),zr(e,u,f,null,!0),(s||a)&&zr(e,"blur","$forceUpdate()")}(e,r,o);else{if(!F.isReservedTag(i))return qr(e,r,o),!1}return!0},text:function(e,t){t.value&&Rr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Rr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Ai,mustUseProp:In,canBeLeftOpenTag:Oi,isReservedTag:Qn,getTagNamespace:er,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Aa)},$a=_((function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function ja(e,t){e&&(Oa=$a(t.staticKeys||""),ka=t.isReservedTag||E,Ta(e),Ea(e,!1))}function Ta(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||h(e.tag)||!ka(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Oa)))}(e),1===e.type){if(!ka(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,Pa=/\([^)]*?\);*$/,Na=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ra={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},La={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Da=function(e){return"if("+e+")return null;"},Ia={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Da("$event.target !== $event.currentTarget"),ctrl:Da("!$event.ctrlKey"),shift:Da("!$event.shiftKey"),alt:Da("!$event.altKey"),meta:Da("!$event.metaKey"),left:Da("'button' in $event && $event.button !== 0"),middle:Da("'button' in $event && $event.button !== 1"),right:Da("'button' in $event && $event.button !== 2")};function Fa(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var i in e){var a=za(e[i]);e[i]&&e[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function za(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return za(e)})).join(",")+"]";var t=Na.test(e.value),n=Ma.test(e.value),r=Na.test(e.value.replace(Pa,""));if(e.modifiers){var o="",i="",a=[];for(var s in e.modifiers)if(Ia[s])i+=Ia[s],Ra[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;i+=Da(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ua).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ua(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ra[e],r=La[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ba={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:T},Ha=function(e){this.options=e,this.warn=e.warn||Pr,this.transforms=Nr(e.modules,"transformCode"),this.dataGenFns=Nr(e.modules,"genData"),this.directives=$($({},Ba),e.directives);var t=e.isReservedTag||E;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Va(e,t){var n=new Ha(t);return{render:"with(this){return "+(e?qa(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function qa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ja(e,t);if(e.once&&!e.onceProcessed)return Ka(e,t);if(e.for&&!e.forProcessed)return Xa(e,t);if(e.if&&!e.ifProcessed)return Ga(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=es(e,t),o="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?rs((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:x(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!i&&!a||r||(o+=",null");i&&(o+=","+i);a&&(o+=(i?"":",null")+","+a);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:es(t,n,!0);return"_c("+e+","+Za(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Za(e,t));var o=e.inlineTemplate?null:es(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Va(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+rs(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ya(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ya))}function Qa(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ga(e,t,Qa,"null");if(e.for&&!e.forProcessed)return Xa(e,t,Qa);var r=e.slotScope===pa?"":String(e.slotScope),o="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(es(e,t)||"undefined")+":undefined":es(e,t)||"undefined":qa(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+i+"}"}function es(e,t,n,r,o){var i=e.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||qa)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',cs.innerHTML.indexOf(" ")>0}var ps=!!J&&fs(!1),ds=!!J&&fs(!0),vs=_((function(e){var t=rr(e);return t&&t.innerHTML})),hs=$n.prototype.$mount;$n.prototype.$mount=function(e,t){if((e=e&&rr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=vs(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var o=ls(r,{outputSourceRange:!1,shouldDecodeNewlines:ps,shouldDecodeNewlinesForHref:ds,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return hs.call(this,e,t)},$n.compile=ls;const ms=$n;function ys(e){return(ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(Os.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return gs({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return As(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var o=Object.getPrototypeOf(e.prototype),i=o instanceof ms?o.constructor:ms,a=i.extend(t);return $s(a,e,i),_s()&&ws(a,e),a}var Ss={prototype:!0,arguments:!0,callee:!0,caller:!0};function $s(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!Ss[r]){var o=Object.getOwnPropertyDescriptor(e,r);if(!o||o.configurable){var i,a,s=Object.getOwnPropertyDescriptor(t,r);if(!Cs){if("cid"===r)return;var c=Object.getOwnPropertyDescriptor(n,r);if(i=s.value,a=ys(i),null!=i&&("object"===a||"function"===a)&&c&&c.value===s.value)return}0,Object.defineProperty(e,r,s)}}}))}function js(e){return"function"==typeof e?ks(e):function(t){return ks(t,e)}}js.registerHooks=function(e){Os.push.apply(Os,bs(e))};const Ts=js;var Es="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function Ms(e){return void 0===e&&(e={}),function(t,n){var r;!function(e,t,n){if(Es&&!Array.isArray(e)&&"function"!=typeof e&&!e.hasOwnProperty("type")&&void 0===e.type){var r=Reflect.getMetadata("design:type",t,n);r!==Object&&(e.type=r)}}(e,t,n),(r=function(t,n){(t.props||(t.props={}))[n]=e},function(e,t,n){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof n&&(n=void 0),o.__decorators__.push((function(e){return r(e,t,n)}))})(t,n)}}var Ps=n(3279),Ns=n.n(Ps),Rs=n(9669),Ls=n.n(Rs),Ds=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Is=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},qs=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Js=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noResults",{get:function(){return Array.isArray(this.results)&&0===this.results.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoading",{get:function(){return!0===this.loading},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasError",{get:function(){return null!==this.error},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){var e={titles:[],authors:[],subjects:[]};for(var t in this.results){var n=this.results[t];if(-1!==n.title_output.toLowerCase().indexOf(this.display)){var r=n.title_output;e.titles.find((function(e){return e===r}))||e.titles.push(r)}if(""!==this.find(n.author,this.display.toLowerCase())){var o=this.find(n.author,this.display.toLowerCase());e.authors.find((function(e){return e===o}))||e.authors.push(o)}if(""!=this.find(n.subject,this.display.toLowerCase())){var i=this.find(n.subject,this.display.toLowerCase());e.subjects.find((function(e){return e===i}))||e.subjects.push(i)}}return Array.prototype.concat(e.titles,e.authors,e.subjects)},enumerable:!1,configurable:!0}),t.prototype.clear=function(){this.display=null,this.results=[],this.error=null,this.$emit("clear")},t.prototype.search=function(){this.$emit("search",this.display)},t.prototype.searchChanged=function(){this.selectedIndex=null,this.display.length>=2?(this.loading=!0,this.resourceSearch()):this.results=[]},t.prototype.request=function(){return qs(this,void 0,void 0,(function(){var e,t;return Js(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,zs.searchTerm(this.display,this.solrCore,this.solrHost)];case 1:return e=n.sent(),this.error=null,this.results=e.response.docs,this.loading=!1,[3,3];case 2:return t=n.sent(),this.error=t.message,this.loading=!1,[3,3];case 3:return[2]}}))}))},t.prototype.focus=function(){this.isFocussed=!0},t.prototype.blur=function(){this.isFocussed=!1},t.prototype.isSelected=function(e){return e===this.selectedIndex},t.prototype.onArrowDown=function(e){e.preventDefault(),null!==this.selectedIndex?(this.selectedIndex=this.selectedIndex===this.suggestions.length-1?0:this.selectedIndex+1,this.fixScrolling()):this.selectedIndex=0},t.prototype.fixScrolling=function(){this.$refs.options[this.selectedIndex].scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},t.prototype.onArrowUp=function(e){e.preventDefault(),null!==this.selectedIndex?(this.selectedIndex=0===this.selectedIndex?this.suggestions.length-1:this.selectedIndex-1,this.fixScrolling()):this.selectedIndex=this.suggestions.length-1},t.prototype.onEnter=function(){null!==this.selectedIndex?(this.select(this.suggestions[this.selectedIndex]),this.$emit("enter",this.display)):this.$emit("nothingSelected",this.display)},t.prototype.select=function(e){e&&(this.value=e,this.display=e,this.selectedDisplay=this.display,this.$emit("input",this.value),this.$emit("search",this.value),this.close())},t.prototype.formatDisplay=function(e){return-1!==e.title_output.toLowerCase().indexOf(this.display)?e.title_output:""!==this.find(e.author,this.display.toLowerCase())?this.find(e.author,this.display.toLowerCase()):""!=this.find(e.subject,this.display.toLowerCase())?this.find(e.subject,this.display.toLowerCase()):e.id},t.prototype.find=function(e,t){for(var n=0,r=e.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const Qs=Gs(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openAccessLicences=["CC BY","CC BY-SA"],t}return Zs(t,e),Object.defineProperty(t.prototype,"results",{get:function(){return this.data},enumerable:!1,configurable:!0}),t.prototype.truncate=function(e,t){return(e=void 0===e?"":e).split(" ").slice(0,t).join(" ")},t.prototype.error=function(e){delete e.thumb,this.$forceUpdate()},t.prototype.convert=function(e){var t=new Date(1e3*e),n=t.getFullYear(),r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getMonth()],o=t.getDate(),i=t.getHours(),a="0"+t.getMinutes(),s="0"+t.getSeconds();return r+"-"+o+"-"+n+" "+i+":"+a.substr(-2)+":"+s.substr(-2)},Ys([Ms()],t.prototype,"data",void 0),t=Ys([Ts],t)}(ms),(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"results"},[n("section",{staticClass:"normal result-list-container"},e._l(e.results,(function(t){return n("div",{key:t.id,staticClass:"row record-elem"},[n("div",{staticClass:"twelve columns post"},[n("span",{staticClass:"label label-info",attrs:{"data-container":"div","data-title":"Publication date"}},[e._v("\n\t\t\t"+e._s(e.convert(t.server_date_published))+"\n\t\t\t")]),e._v(" "),n("span",{staticClass:"label label-default ng-binding"},[e._v(e._s(t.doctype))]),e._v(" "),e.openAccessLicences.includes(t.licence)?n("span",{staticClass:"label label-success titlecase"},[e._v("Open Access")]):e._e(),e._v(" "),t.identifier&&t.identifier.length>0?n("h4",[n("a",{staticClass:"ng-binding",attrs:{target:"_blank",href:"https://doi.org/"+t.identifier[0]}},[e._v(" \n "+e._s("https://doi.org/"+t.identifier[0])+"\n ")])]):e._e(),e._v(" "),n("h4",[n("a",{staticClass:"ng-binding",attrs:{target:"_self",href:"dataset/"+t.id}},[e._v(" \n "+e._s(t.title_output)+"\n ")])]),e._v(" "),t.author&&t.author.length>0?n("p",e._l(t.author,(function(t,r){return n("span",{key:r},[e._v(e._s(t)+"; ")])})),0):e._e(),e._v(" "),n("p",{staticClass:"clamped clamped-2"},[n("span",{staticClass:"text"},[e._v("\n Abstract: "+e._s(t.abstract_output)+"\n "),n("span",{staticClass:"ellipsis"},[e._v("...")]),e._v(" "),n("span",{staticClass:"fill"})])]),e._v(" "),n("p",[n("span",[e._v("Licence: "+e._s(t.licence))])]),e._v(" "),e._l(t.subject,(function(t,r){return n("span",{key:r,staticClass:"label label-keyword titlecase"},[e._v("\n #"+e._s(t)+"\n ")])}))],2)])})),0)])}),[],!1,null,null,null).exports;function ec(e){return(ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var tc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":ec(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const rc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ITEMS_PER_FILTER=2,t.bar="",t.collapsed=!0,t.toggle=function(){1==this.collapsed?this.collapsed=!1:0==this.collapsed&&(this.collapsed=!0)},t.activateItem=function(e){e.Category=this.alias,e.Active=!0,this.$emit("filter",e)},t}return tc(t,e),Object.defineProperty(t.prototype,"alias",{get:function(){return"datatype"==this.filterName?"doctype":this.filterName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterItems",{get:function(){return this.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overflowing",{get:function(){return this.filterItems.length>this.ITEMS_PER_FILTER},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uncollapseLabelText",{get:function(){return 1==this.collapsed?"More results":"Collapse"},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},nc([Ms()],t.prototype,"data",void 0),nc([Ms([String])],t.prototype,"filterName",void 0),t=nc([Ts],t)}(ms);n(4441);const oc=Gs(rc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title titlecase filterViewModelName"},[e._v(e._s(e.filterName))])]),e._v(" "),n("div",{staticClass:"panel-body"},[n("ul",{staticClass:"filter-items list-unstyled",class:{limited:e.filterItems.length>1&&e.collapsed}},e._l(e.filterItems,(function(t,r){return n("li",{key:r,staticClass:"list-group-item titlecase"},[n("span",{class:t.Active?"disabled":"",on:{click:function(n){return n.preventDefault(),e.activateItem(t)}}},[e._v(e._s(t.value)+"\n ("+e._s(t.count)+")\n ")])])})),0),e._v(" "),1==e.overflowing?n("ul",{staticClass:"overflowing"},[n("li",[n("span",{on:{click:function(t){return e.toggle()}}},[e._v(e._s(e.uncollapseLabelText))])])]):e._e()])])}),[],!1,null,"2280070b",null).exports;function ic(e){return(ic="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ac=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),sc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":ic(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const cc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.bar="",t.deactivateFacetCategory=function(){this.$emit("clearFacetCategory",this.categoryName,this.alias)},t}return ac(t,e),Object.defineProperty(t.prototype,"alias",{get:function(){return"doctype"==this.categoryName?"datatype":this.categoryName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterItems",{get:function(){return this.data},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},sc([Ms([Array])],t.prototype,"data",void 0),sc([Ms([String])],t.prototype,"categoryName",void 0),t=sc([Ts],t)}(ms);n(3318);const uc=Gs(cc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("input",{staticClass:"css-checkbox",attrs:{id:e.alias,name:e.alias,type:"checkbox",checked:"checked"},on:{click:function(t){return t.preventDefault(),e.deactivateFacetCategory()}}}),e._v(" "),n("label",{staticClass:"css-label",attrs:{for:e.alias}},[n("span",[e._v(e._s(e.alias+": "))]),e._v(" "),e.data&&e.data.length>0?n("a",{staticClass:"gbaterm"},[e._v(e._s(e.data.join(", ")))]):e._e()])])}),[],!1,null,"6a385844",null).exports;function lc(e){return(lc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var fc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":lc(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const dc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pageNumber=0,t}return fc(t,e),t.prototype.changePage=function(e){if(e!=this.data.current_page){this.data.current_page=e;var t=e*this.data.per_page-this.data.per_page;this.$emit("paginate",t)}},Object.defineProperty(t.prototype,"numberOfPages",{get:function(){return Math.ceil(this.data.total/this.data.per_page)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pages",{get:function(){var e=Math.ceil(this.data.total/this.data.per_page),t=this.data.current_page-this.data.per_page;t<1&&(t=1);var n=t+2*this.data.per_page;n>=e&&(n=e);for(var r=[],o=t;o<=n;o++)r.push(o);return r},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},pc([Ms()],t.prototype,"data",void 0),pc([Ms({default:4})],t.prototype,"offset",void 0),t=pc([Ts],t)}(ms);n(7684);const vc=Gs(dc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.pages.length>1?n("nav",{staticClass:"pagination is-rounded is-medium",attrs:{role:"navigation","aria-label":"pagination"}},[n("ul",{staticClass:"pagination-list"},[e.data.current_page>1?n("li",[n("a",{staticClass:"pagination-previous",attrs:{href:"javascript:void(0)",rel:"prev"},on:{click:function(t){return t.preventDefault(),e.changePage(e.data.current_page-1)}}},[e._v("«")])]):n("li",[n("a",{staticClass:"pagination-previous disabled",attrs:{disabled:"",href:"javascript:void(0)",rel:"prev"}},[e._v("«")])]),e._v(" "),e._l(e.pages,(function(t,r){return n("li",{key:r},[n("a",{class:["pagination-link",t==e.data.current_page?"is-current":""],attrs:{href:"javascript:void(0)"},on:{click:function(n){return n.preventDefault(),e.changePage(t)}}},[e._v(e._s(t))])])})),e._v(" "),e.data.current_page=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},bc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},_c=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0})),this.facets[o]=i;return[2]}}))}))},t.prototype.propName=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},t.prototype.onFilter=function(e){return bc(this,void 0,void 0,(function(){var t,n,r,o,i=this;return _c(this,(function(a){switch(a.label){case 0:return this.activeFilterCategories.hasOwnProperty(e.Category)||(this.activeFilterCategories[e.Category]=ms.observable([])),this.activeFilterCategories[e.Category].some((function(t){return t===e.value}))?[3,2]:(this.activeFilterCategories[e.Category].push(e.value),[4,zs.search(this.searchTerm,this.activeFilterCategories,this.solrCore,this.solrHost)]);case 1:for(r in t=a.sent(),this.results=t.response.docs,this.numFound=t.response.numFound,this.pagination.total=t.response.numFound,this.pagination.per_page=t.responseHeader.params.rows,this.pagination.current_page=1,this.pagination.data=t.response.docs,n=t.facet_counts.facet_fields)o=n[r].map((function(t,o){if(o%2==0){var a;if(e.value==t)a=e;else if(i.facets[r].some((function(e){return e.value===t}))){var s=i.facets[r].findIndex((function(e){return e.value===t}));(a=i.facets[r][s]).count=n[r][o+1]}else a=new hc(t,n[r][o+1]);return a}})).filter((function(e){return null!=e&&e.count>0})),this.facets[r]=o;a.label=2;case 2:return[2]}}))}))},t.prototype.onSearch=function(e){return bc(this,void 0,void 0,(function(){var t,n,r,o;return _c(this,(function(i){switch(i.label){case 0:return e=e?e.trim():"*%3A*",this.activeFilterCategories={},this.facets={},this.searchTerm=e,[4,zs.search(this.searchTerm,this.activeFilterCategories,this.solrCore,this.solrHost)];case 1:for(r in t=i.sent(),this.results=t.response.docs,this.numFound=t.response.numFound,this.pagination.total=t.response.numFound,this.pagination.per_page=t.responseHeader.params.rows,this.pagination.current_page=1,this.pagination.data=t.response.docs,n=t.facet_counts.facet_fields)o=n[r].map((function(e,t){if(t%2==0)return new hc(e,n[r][t+1])})).filter((function(e){return null!=e&&e.count>0})),this.facets[r]=o;return[2]}}))}))},t.prototype.mounted=function(){return bc(this,void 0,void 0,(function(){var e;return _c(this,(function(t){switch(t.label){case 0:return(e=this.getParameterByName("q"))&&(e=e.trim()),[4,this.onSearch("*%3A*")];case 1:return t.sent(),this.loaded=!0,[2]}}))}))},t.prototype.getParameterByName=function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},t=gc([Ts({components:{VsInput:Ws,VsResults:Qs,FacetCategory:oc,ActiveFacetCategory:uc,VsPagination:vc}})],t)}(ms);n(561);const xc=Gs(wc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-container row"},[n("div",{staticClass:"four columns left-bar"},[n("div",{staticClass:"sidebar left-bar",attrs:{id:"left-bar"}},e._l(e.facets,(function(t,r,o){return n("div",{key:o,staticClass:"card"},[n("facet-category",{attrs:{data:t,filterName:r},on:{filter:e.onFilter}})],1)})),0)]),e._v(" "),n("div",{staticClass:"eight columns right-bar"},[n("div",{staticClass:"sidebar right-bar",attrs:{id:"right-bar"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"ten columns"},[n("vs-input",{attrs:{title:"searching solr datasets",placeholder:"Enter your search term..."},on:{search:e.onSearch}})],1)]),e._v(" "),e.results.length>0?n("div",{staticClass:"result-list-info"},[n("div",{staticClass:"resultheader"},[e._v("\n Your search yielded\n "),n("strong",[e._v(e._s(e.numFound))]),e._v(" results:\n ")])]):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"twelve columns resultheader"},e._l(e.activeFilterCategories,(function(t,r,o){return n("span",{key:o,staticClass:"active-filter-items"},[n("active-facet-category",{attrs:{data:t,categoryName:r},on:{clearFacetCategory:e.onClearFacetCategory}})],1)})),0)]),e._v(" "),n("vs-results",{attrs:{data:e.results}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"twelve columns"},[n("vs-pagination",{attrs:{data:e.pagination},on:{paginate:e.onPaginate}})],1)])],1)])])}),[],!1,null,null,null).exports;new ms({el:"#app",render:function(e){return e(xc)}})})()})(); \ No newline at end of file +(()=>{var e={9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),s=n(4097),c=n(4109),u=n(7985),l=n(5061);e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+h)}var m=s(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?c(d.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:e,request:d};o(t,n,i),d=null}},d.onabort=function(){d&&(n(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),n(e),d=null)})),f||(f=null),d.send(f)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(n(5655));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(5263),c.CancelToken=n(4972),c.isCancel=n(6502),c.all=function(e){return Promise.all(e)},c.spread=n(8713),c.isAxiosError=n(6268),e.exports=c,e.exports.default=c},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),s=n(7185);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},782:(e,t,n)=>{"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,n)=>{"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},3572:(e,t,n)=>{"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=c(void 0,e[o])):n[o]=c(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var l=o.concat(i).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return r.forEach(f,u),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},5655:(e,t,n)=>{"use strict";var r=n(4155),o=n(4867),i=n(6016),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(c=n(5448)),c),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){u.headers[e]=o.merge(a)})),e.exports=u},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4867:(e,t,n)=>{"use strict";var r=n(1849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,'td[data-v-6a385844],th[data-v-6a385844]{border-bottom:0 solid #e1e1e1}.gbaterm[data-v-6a385844]{color:#09c;border:1px solid #c8d2ff;padding:4px;background:#dce1ff;margin:1px 0;border-radius:2px}input[type=checkbox].css-checkbox[data-v-6a385844]{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;padding:0;border:0}input[type=checkbox].css-checkbox+label.css-label[data-v-6a385844]{padding-left:25px;height:24px;display:inline-block;line-height:24px;background-repeat:no-repeat;background-position:0 0;font-size:12px;font-weight:700;vertical-align:middle;cursor:pointer;color:#bfbfbf;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAAAn1BMVEXMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzJycnLy8v////c3Nzn5+fp6en8/PzNzc3KysrOzs7l5eXGxsbR0dHa2trg4ODz8/PMzMzX19fw8PDd3d3m5ubu7u7y8vL7+/v09PTb29vk5OTY2NiyHSPoAAAAGXRSTlP0yb3mvngEyOd/6BbFrZrAlcoXt/Hp89A1KxYHDAAAAJBJREFUGNN1kEcOwzAMBJnee6Wo6p5e//+2BJIdCAq8lx3MgSAJ3cG44aU3HUHnEGQC7ZIYYw6GpTLvosiNxT40beOZSKDFVqU40cVTBjHJiOIE0TjFjpxnguiafVtbZW70yz1ioVJOsVxKcSJ6CClj/Tce65eoUU+lXpWauWN1mkaONjAPP7GA5WoNXra7/Qf12yWALFrgcgAAAABJRU5ErkJggg==")}input[type=checkbox].css-checkbox:checked+label.css-label[data-v-6a385844]{color:#000;opacity:1;cursor:pointer;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAMAAABhEH5lAAABGlBMVEUAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcwAmcz///8AmcwAl8sAmMsAmMwAlssAlcoAk8kAlsoAlMkMm80NnM0OnM4Pnc4Sns4SoNAAkskDl8sEl8sFmcwGm80AksgAkccAkch1x+R6yeV7yuWAzOaCzeZzx+MClssTns8Tn88TodAfpdIwq9VFtNlGtdpItdpKttpNt9tXvN5yx+ODzeaHz+eN0uiQ0+mX1uqY1uqd2Oui2u2w4O+x4O+04fC65PG75PHA5vPC5/PK6vTK6vXl9frm9frw+fzy+vz1+/33/P74/P78/v79/v8Cl8vxGPkTAAAAGHRSTlMCEB0+cHKNm6W5vL2+wMPP2ubn6On4+vtKR3RrAAAAy0lEQVR4Xl3M5XLDMBSEUSXlJinDXpEdZk6ZmZnp/V8jVxO7k/H3Yz1zJFmIsanEUNPjMTFKkSZFIkqLIsmrjdH8MVLxLrhbOt07SWsqHV1XJdG8o78u0PHqh5+4yagBrZ8DWNv/Ah5zAWl7xvYL3GdM8JCUPf1hvM36FBI1976Z2g36p9LuO1zHng7IHHwAD5dsrUpA5TvgKe9dAK+bckBy4/mlYJW9etvxw3/5xS3LJ7VtXqYUcVK6VcbtkpigSLMiPrO8OtTK3Egf1HcmSFPcuygAAAAASUVORK5CYII=")}',""]);const i=o},7993:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".disabled[data-v-2280070b]{color:#d3d3d3;pointer-events:none;text-decoration:line-through}",""]);const i=o},6276:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".pagination[data-v-ee10df50]{text-align:center;margin:80px 0 0;clear:both}.pagination a[data-v-ee10df50]{padding-left:1em;padding-right:1em}.pagination-dots[data-v-ee10df50],.pagination-link[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-moz-appearance:none;-webkit-appearance:none;align-items:center;border:1px solid transparent;border-radius:4px;box-shadow:none;display:inline-flex;font-size:1rem;height:2.25em;justify-content:flex-start;line-height:1.5;padding:calc(.375em - 1px) calc(.625em - 1px);position:relative;vertical-align:top}.is-active.pagination-dots[data-v-ee10df50],.is-active.pagination-link[data-v-ee10df50],.is-active.pagination-next[data-v-ee10df50],.is-active.pagination-previous[data-v-ee10df50],.is-focused.pagination-dots[data-v-ee10df50],.is-focused.pagination-link[data-v-ee10df50],.is-focused.pagination-next[data-v-ee10df50],.pagination-dots[data-v-ee10df50]:active,.pagination-dots[data-v-ee10df50]:focus,.pagination-link[data-v-ee10df50]:active,.pagination-link[data-v-ee10df50]:focus,.pagination-next[data-v-ee10df50]:active,.pagination-next[data-v-ee10df50]:focus,.pagination-previous[data-v-ee10df50]:active,.pagination-previous[data-v-ee10df50]:focus{outline:none}.pagination-dots.disabled[data-v-ee10df50],.pagination-link.disabled[data-v-ee10df50],.pagination-next.disabled[data-v-ee10df50],.pagination-previous.disabled[data-v-ee10df50]{cursor:not-allowed}.pagination[data-v-ee10df50]{font-size:1rem;margin:-.25rem}.pagination.is-small[data-v-ee10df50]{font-size:.75rem}.pagination.is-medium[data-v-ee10df50]{font-size:1.25rem}.pagination.is-large[data-v-ee10df50]{font-size:1.5rem}.pagination.is-rounded .pagination-next[data-v-ee10df50],.pagination.is-rounded .pagination-previous[data-v-ee10df50]{padding-left:1em;padding-right:1em;border-radius:290486px}.pagination.is-rounded .pagination-link[data-v-ee10df50]{border-radius:290486px}.pagination-list[data-v-ee10df50]{align-items:center;display:flex;justify-content:center;text-align:center;list-style:none}.pagination-dots[data-v-ee10df50],.pagination-link[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{font-size:1em;padding-left:.5em;padding-right:.5em;justify-content:center;margin:.25rem;text-align:center}.pagination-link[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{border-color:#dbdbdb;color:#363636;min-width:2.25em}.pagination-link[data-v-ee10df50]:hover,.pagination-next[data-v-ee10df50]:hover,.pagination-previous[data-v-ee10df50]:hover{border-color:#b5b5b5;color:#363636}.pagination-link[data-v-ee10df50]:focus,.pagination-next[data-v-ee10df50]:focus,.pagination-previous[data-v-ee10df50]:focus{border-color:#3273dc}.pagination-link[data-v-ee10df50]:active,.pagination-next[data-v-ee10df50]:active,.pagination-previous[data-v-ee10df50]:active{box-shadow:inset 0 1px 2px rgba(10,10,10,.2)}.pagination-link.disabled[data-v-ee10df50],.pagination-next.disabled[data-v-ee10df50],.pagination-previous.disabled[data-v-ee10df50]{background-color:#dbdbdb;border-color:#dbdbdb;box-shadow:none;color:#7a7a7a;opacity:.5}.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{padding-left:.75em;padding-right:.75em;white-space:nowrap}.pagination-link.is-current[data-v-ee10df50]{background-color:#3abac4;border-color:#3abac4;color:#fff}.pagination-dots[data-v-ee10df50]{color:#b5b5b5;pointer-events:none}.pagination-list[data-v-ee10df50]{flex-wrap:wrap}@media screen and (max-width:767px){.pagination[data-v-ee10df50]{flex-wrap:wrap}.pagination-list li[data-v-ee10df50],.pagination-next[data-v-ee10df50],.pagination-previous[data-v-ee10df50]{flex-grow:1;flex-shrink:1}}@media print,screen and (min-width:768px){.pagination-list[data-v-ee10df50]{flex-grow:1;flex-shrink:1;justify-content:center;order:1}.pagination-previous[data-v-ee10df50]{order:2}.pagination-next[data-v-ee10df50]{order:3}.pagination[data-v-ee10df50]{justify-content:space-between}.pagination.is-centered .pagination-previous[data-v-ee10df50]{order:1}.pagination.is-centered .pagination-list[data-v-ee10df50]{justify-content:center;order:2}.pagination.is-centered .pagination-next[data-v-ee10df50]{order:3}.pagination.is-right .pagination-previous[data-v-ee10df50]{order:1}.pagination.is-right .pagination-next[data-v-ee10df50]{order:2}.pagination.is-right .pagination-list[data-v-ee10df50]{justify-content:flex-end;order:3}}",""]);const i=o},7767:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,".sidebar-simplesearch{position:relative;width:100%;box-sizing:border-box}.autocomplete-results{padding:0;margin:0;list-style-type:none;z-index:1000;position:absolute;max-height:200px;overflow-y:auto;background:#fff;width:100%;border:1px solid #ccc;border-top:0;color:#000}.autocomplete-result-item{list-style:none;text-align:left;padding:7px 10px;cursor:pointer}.autocomplete-result-item.is-active{background:rgba(0,180,255,.15)}.autocomplete-result-item:hover{background:rgba(0,180,255,.075)}",""]);const i=o},582:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"#app{color:#56b983}.content{flex:1 1 70%;display:flex;align-items:center;justify-content:center}",""]);const i=o},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i{var r=n(5639).Symbol;e.exports=r},4239:(e,t,n)=>{var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},7561:(e,t,n)=>{var r=n(7990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},1957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},9607:(e,t,n)=>{var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5639:(e,t,n)=>{var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},7990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},3279:(e,t,n)=>{var r=n(3218),o=n(7771),i=n(4841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,u,l,f,p,d,v=0,h=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=u;return c=u=void 0,v=t,f=e.apply(r,n)}function b(e){return v=e,p=setTimeout(w,t),h?g(e):f}function _(e){var n=e-d;return void 0===d||n>=t||n<0||m&&e-v>=l}function w(){var e=o();if(_(e))return x(e);p=setTimeout(w,function(e){var n=t-(e-d);return m?s(n,l-(e-v)):n}(e))}function x(e){return p=void 0,y&&c?g(e):(c=u=void 0,f)}function C(){var e=o(),n=_(e);if(c=arguments,u=this,d=e,n){if(void 0===p)return b(d);if(m)return clearTimeout(p),p=setTimeout(w,t),g(d)}return void 0===p&&(p=setTimeout(w,t)),f}return t=i(t)||0,r(n)&&(h=!!n.leading,l=(m="maxWait"in n)?a(i(n.maxWait)||0,t):l,y="trailing"in n?!!n.trailing:y),C.cancel=function(){void 0!==p&&clearTimeout(p),v=0,c=d=u=p=void 0},C.flush=function(){return void 0===p?f:x(o())},C}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var r=n(4239),o=n(7005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:(e,t,n)=>{var r=n(5639);e.exports=function(){return r.Date.now()}},4841:(e,t,n)=>{var r=n(7561),o=n(3218),i=n(3448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},4155:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,c=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length&&p())}function p(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(s=c,c=[];++l1)for(var n=1;n{var r=n(5326);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("58212866",r,!0,{})},4441:(e,t,n)=>{var r=n(7993);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("3f9053df",r,!0,{})},7684:(e,t,n)=>{var r=n(6276);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("11b28ee2",r,!0,{})},5298:(e,t,n)=>{var r=n(7767);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("4124e3ec",r,!0,{})},561:(e,t,n)=>{var r=n(582);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5346).Z)("1e5fcee7",r,!0,{})},5346:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},o=0;ov});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f=null,p="data-vue-ssr-id",d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,o){u=n,f=o||{};var a=r(e,t);return h(a),function(t){for(var n=[],o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=Object.freeze({});function t(e){return null==e}function r(e){return null!=e}function o(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function a(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function c(e){return"[object Object]"===s.call(e)}function u(e){return"[object RegExp]"===s.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function b(e,t){return g.call(e,t)}function _(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=_((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),C=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,O=_((function(e){return e.replace(A,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function $(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n0,Y=W&&W.indexOf("edge/")>0,Q=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===G),ee=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(J)try{var re={};Object.defineProperty(re,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,re)}catch(e){}var oe=function(){return void 0===V&&(V=!J&&!K&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),V},ie=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,ce="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=T,le=0,fe=function(){this.id=le++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){y(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===O(e)){var c=Be(String,o.type);(c<0||s0&&(pt((s=dt(s,(n||"")+"_"+a))[0])&&pt(u)&&(l[c]=ge(u.text+s[0].text),s.shift()),l.push.apply(l,s)):i(s)?pt(u)?l[c]=ge(u.text+s):""!==s&&l.push(ge(s)):pt(s)&&pt(u)?l[c]=ge(u.text+s.text):(o(e._isVList)&&r(s.tag)&&t(s.key)&&r(n)&&(s.key="__vlist"+n+"_"+a+"__"),l.push(s)));return l}function vt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=gt(n,c,t[c]))}else o={};for(var u in n)u in o||(o[u]=bt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=o),B(o,"$stable",a),B(o,"$key",s),B(o,"$hasNormal",i),o}function gt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ft(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function bt(e,t){return function(){return e[t]}}function _t(e,t){var n,o,i,s,c;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,i=e.length;odocument.createEvent("Event").timeStamp&&(dn=function(){return vn.now()})}function hn(){var e,t;for(pn=dn(),ln=!0,an.sort((function(e,t){return e.id-t.id})),fn=0;fnfn&&an[n].id>e.id;)n--;an.splice(n+1,0,e)}else an.push(e);un||(un=!0,nt(hn))}}(this)},yn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||a(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){He(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},yn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},yn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},yn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:T,set:T};function bn(e,t,n){gn.get=function(){return this[t][n]},gn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,gn)}function _n(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];e.$parent&&Ae(!1);var i=function(i){o.push(i);var a=Fe(i,t,n,e);Se(r,i,a),i in e||bn(e,"_props",i)};for(var a in t)i(a);Ae(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?T:k(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return He(e,t,"data()"),{}}finally{ve()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&b(r,i)||U(i)||bn(e,"_data",i)}ke(t,!0)}(e):ke(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new yn(e,a||T,T,wn)),o in e||xn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Mn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Tn(a.componentOptions);s&&!t(s)&&Pn(n,i,r,o)}}}function Pn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=kn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De(Sn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=ht(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return Bt(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Bt(t,e,n,r,o,!0)};var i=r&&r.data;Se(t,"$attrs",i&&i.attrs||e,null,!0),Se(t,"$listeners",n._parentListeners||e,null,!0)}(n),on(n,"beforeCreate"),function(e){var t=vt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){Se(e,n,t[n])})),Ae(!0))}(n),_n(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),on(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}($n),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=$e,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){var r=this;if(c(t))return On(r,e,t,n);(n=n||{}).user=!0;var o=new yn(r,e,t,n);if(n.immediate)try{t.call(r,o.value)}catch(e){He(e,r,'callback for immediate watcher "'+o.expression+'"')}return function(){o.teardown()}}}($n),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o1?S(n):n;for(var r=S(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;iparseInt(this.max)&&Pn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:$,mergeOptions:De,defineReactive:Se},e.set=$e,e.delete=je,e.nextTick=nt,e.observable=function(e){return ke(e),e},e.options=Object.create(null),D.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,$(e.options.components,Rn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),jn(e),function(e){D.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}($n),Object.defineProperty($n.prototype,"$isServer",{get:oe}),Object.defineProperty($n.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty($n,"FunctionalRenderContext",{value:Rt}),$n.version="2.6.12";var Ln=v("style,class"),Dn=v("input,textarea,option,select,progress"),In=function(e,t,n){return"value"===n&&Dn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Fn=v("contenteditable,draggable,spellcheck"),zn=v("events,caret,typing,plaintext-only"),Un=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Bn="http://www.w3.org/1999/xlink",Hn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Vn=function(e){return Hn(e)?e.slice(6,e.length):""},qn=function(e){return null==e||!1===e};function Jn(e){for(var t=e.data,n=e,o=e;r(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(t=Kn(o.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Kn(t,n.data));return function(e,t){if(r(e)||r(t))return Gn(e,Wn(t));return""}(t.staticClass,t.class)}function Kn(e,t){return{staticClass:Gn(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Gn(e,t){return e?t?e+" "+t:e:t||""}function Wn(e){return Array.isArray(e)?function(e){for(var t,n="",o=0,i=e.length;o-1?_r(e,t,n):Un(t)?qn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Fn(t)?e.setAttribute(t,function(e,t){return qn(t)||"false"===t?"false":"contenteditable"===e&&zn(t)?t:"true"}(t,n)):Hn(t)?qn(n)?e.removeAttributeNS(Bn,Vn(t)):e.setAttributeNS(Bn,t,n):_r(e,t,n)}function _r(e,t,n){if(qn(n))e.removeAttribute(t);else{if(X&&!Z&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var wr={create:gr,update:gr};function xr(e,n){var o=n.elm,i=n.data,a=e.data;if(!(t(i.staticClass)&&t(i.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Jn(n),c=o._transitionClasses;r(c)&&(s=Gn(s,Wn(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var Cr,Ar,Or,kr,Sr,$r,jr={create:xr,update:xr},Tr=/[\w).+\-_$\]]/;function Er(e){var t,n,r,o,i,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&Tr.test(h)||(u=!0)}}else void 0===o?(d=r+1,o=e.slice(0,r).trim()):m();function m(){(i||(i=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===o?o=e.slice(0,r).trim():0!==d&&m(),i)for(r=0;r-1?{exp:e.slice(0,kr),key:'"'+e.slice(kr+1)+'"'}:{exp:e,key:null};Ar=e,kr=Sr=$r=0;for(;!Gr();)Wr(Or=Kr())?Zr(Or):91===Or&&Xr(Or);return{exp:e.slice(0,Sr),key:e.slice(Sr+1,$r)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Kr(){return Ar.charCodeAt(++kr)}function Gr(){return kr>=Cr}function Wr(e){return 34===e||39===e}function Xr(e){var t=1;for(Sr=kr;!Gr();)if(Wr(e=Kr()))Zr(e);else if(91===e&&t++,93===e&&t--,0===t){$r=kr;break}}function Zr(e){for(var t=e;!Gr()&&(e=Kr())!==t;);}var Yr,Qr="__r";function eo(e,t,n){var r=Yr;return function o(){var i=t.apply(null,arguments);null!==i&&ro(e,o,n,r)}}var to=Ge&&!(ee&&Number(ee[1])<=53);function no(e,t,n,r){if(to){var o=pn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Yr.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function ro(e,t,n,r){(r||Yr).removeEventListener(e,t._wrapper||t,n)}function oo(e,n){if(!t(e.data.on)||!t(n.data.on)){var o=n.data.on||{},i=e.data.on||{};Yr=n.elm,function(e){if(r(e.__r)){var t=X?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}r(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(o),ct(o,i,no,ro,eo,n.context),Yr=void 0}}var io,ao={create:oo,update:oo};function so(e,n){if(!t(e.data.domProps)||!t(n.data.domProps)){var o,i,a=n.elm,s=e.data.domProps||{},c=n.data.domProps||{};for(o in r(c.__ob__)&&(c=n.data.domProps=$({},c)),s)o in c||(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(n.children&&(n.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o&&"PROGRESS"!==a.tagName){a._value=i;var u=t(i)?"":String(i);co(a,u)&&(a.value=u)}else if("innerHTML"===o&&Yn(a.tagName)&&t(a.innerHTML)){(io=io||document.createElement("div")).innerHTML=""+i+"";for(var l=io.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(i!==s[o])try{a[o]=i}catch(e){}}}}function co(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,o=e._vModifiers;if(r(o)){if(o.number)return d(n)!==d(t);if(o.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var uo={create:so,update:so},lo=_((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function fo(e){var t=po(e.style);return e.staticStyle?$(e.staticStyle,t):t}function po(e){return Array.isArray(e)?j(e):"string"==typeof e?lo(e):e}var vo,ho=/^--/,mo=/\s*!important$/,yo=function(e,t,n){if(ho.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(O(t),n.replace(mo,""),"important");else{var r=bo(t);if(Array.isArray(n))for(var o=0,i=n.length;o-1?t.split(xo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ao(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(xo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Oo(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&$(t,ko(e.name||"v")),$(t,e),t}return"string"==typeof e?ko(e):void 0}}var ko=_((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),So=J&&!Z,$o="transition",jo="animation",To="transition",Eo="transitionend",Mo="animation",Po="animationend";So&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(To="WebkitTransition",Eo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mo="WebkitAnimation",Po="webkitAnimationEnd"));var No=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ro(e){No((function(){No(e)}))}function Lo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Co(e,t))}function Do(e,t){e._transitionClasses&&y(e._transitionClasses,t),Ao(e,t)}function Io(e,t,n){var r=zo(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===$o?Eo:Po,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(n=$o,l=a,f=i.length):t===jo?u>0&&(n=jo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?$o:jo:null)?n===$o?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===$o&&Fo.test(r[To+"Property"])}}function Uo(e,t){for(;e.length1}function Ko(e,t){!0!==t.data.show&&Ho(t)}var Go=function(e){var n,a,s={},c=e.modules,u=e.nodeOps;for(n=0;nv?b(e,t(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&w(n,p,v)}(p,h,y,i,l):r(y)?(r(e.text)&&u.setTextContent(p,""),b(p,null,y,0,y.length-1,i)):r(h)?w(h,0,h.length-1):r(e.text)&&u.setTextContent(p,""):e.text!==n.text&&u.setTextContent(p,n.text),r(v)&&r(d=v.hook)&&r(d=d.postpatch)&&d(e,n)}}}function O(e,t,n){if(o(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i-1,a.selected!==i&&(a.selected=i);else if(P(Qo(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Yo(e,t){return t.every((function(t){return!P(t,e)}))}function Qo(e){return"_value"in e?e._value:e.value}function ei(e){e.target.composing=!0}function ti(e){e.target.composing&&(e.target.composing=!1,ni(e.target,"input"))}function ni(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ri(e){return!e.componentInstance||e.data&&e.data.transition?e:ri(e.componentInstance._vnode)}var oi={model:Wo,show:{bind:function(e,t,n){var r=t.value,o=(n=ri(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,Ho(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=ri(n)).data&&n.data.transition?(n.data.show=!0,r?Ho(n,(function(){e.style.display=e.__vOriginalDisplay})):Vo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},ii={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ai(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ai(Gt(t.children)):e}function si(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[x(i)]=o[i];return t}function ci(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ui=function(e){return e.tag||Kt(e)},li=function(e){return"show"===e.name},fi={name:"transition",props:ii,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ui)).length){0;var r=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=ai(o);if(!a)return o;if(this._leaving)return ci(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=si(this),u=this._vnode,l=ai(u);if(a.data.directives&&a.data.directives.some(li)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Kt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=$({},c);if("out-in"===r)return this._leaving=!0,ut(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ci(e,o);if("in-out"===r){if(Kt(a))return u;var p,d=function(){p()};ut(c,"afterEnter",d),ut(c,"enterCancelled",d),ut(f,"delayLeave",(function(e){p=e}))}}return o}}},pi=$({tag:String,moveClass:String},ii);function di(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function vi(e){e.data.newPos=e.elm.getBoundingClientRect()}function hi(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete pi.mode;var mi={Transition:fi,TransitionGroup:{props:pi,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=en(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=si(this),s=0;s-1?tr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:tr[e]=/HTMLUnknownElement/.test(t.toString())},$($n.options.directives,oi),$($n.options.components,mi),$n.prototype.__patch__=J?Go:T,$n.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ye),on(e,"beforeMount"),r=function(){e._update(e._render(),n)},new yn(e,r,T,{before:function(){e._isMounted&&!e._isDestroyed&&on(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,on(e,"mounted")),e}(this,e=e&&J?rr(e):void 0,t)},J&&setTimeout((function(){F.devtools&&ie&&ie.emit("init",$n)}),0);var yi=/\{\{((?:.|\r?\n)+?)\}\}/g,gi=/[-.*+?^${}()|[\]\/\\]/g,bi=_((function(e){var t=e[0].replace(gi,"\\$&"),n=e[1].replace(gi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var _i={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Br(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ur(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var wi,xi={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Br(e,"style");n&&(e.staticStyle=JSON.stringify(lo(n)));var r=Ur(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Ci=function(e){return(wi=wi||document.createElement("div")).innerHTML=e,wi.textContent},Ai=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Oi=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ki=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Si=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,$i=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ji="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+z.source+"]*",Ti="((?:"+ji+"\\:)?"+ji+")",Ei=new RegExp("^<"+Ti),Mi=/^\s*(\/?)>/,Pi=new RegExp("^<\\/"+Ti+"[^>]*>"),Ni=/^]+>/i,Ri=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},zi=/&(?:lt|gt|quot|amp|#39);/g,Ui=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Bi=v("pre,textarea",!0),Hi=function(e,t){return e&&Bi(e)&&"\n"===t[0]};function Vi(e,t){var n=t?Ui:zi;return e.replace(n,(function(e){return Fi[e]}))}var qi,Ji,Ki,Gi,Wi,Xi,Zi,Yi,Qi=/^@|^v-on:/,ea=/^v-|^@|^:|^#/,ta=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,na=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ra=/^\(|\)$/g,oa=/^\[.*\]$/,ia=/:(.*)$/,aa=/^:|^\.|^v-bind:/,sa=/\.[^.\]]+(?=[^\]]*$)/g,ca=/^v-slot(:|$)|^#/,ua=/[\r\n]/,la=/\s+/g,fa=_(Ci),pa="_empty_";function da(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:_a(t),rawAttrsMap:{},parent:n,children:[]}}function va(e,t){qi=t.warn||Pr,Xi=t.isPreTag||E,Zi=t.mustUseProp||E,Yi=t.getTagNamespace||E;var n=t.isReservedTag||E;(function(e){return!!e.component||!n(e.tag)}),Ki=Nr(t.modules,"transformNode"),Gi=Nr(t.modules,"preTransformNode"),Wi=Nr(t.modules,"postTransformNode"),Ji=t.delimiters;var r,o,i=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,u=!1;function l(e){if(f(e),c||e.processed||(e=ha(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&ya(r,{exp:e.elseif,block:e}),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(o.children))&&s.if&&ya(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),f(e),e.pre&&(c=!1),Xi(e.tag)&&(u=!1);for(var l=0;l]*>)","i")),p=e.replace(f,(function(e,n,r){return u=r.length,Di(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Hi(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(Ri.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Li.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Ni);if(m){C(m[0].length);continue}var y=e.match(Pi);if(y){var g=c;C(y[0].length),k(y[1],g,c);continue}var b=A();if(b){O(b),Hi(b.tagName,e)&&C(1);continue}}var _=void 0,w=void 0,x=void 0;if(d>=0){for(w=e.slice(d);!(Pi.test(w)||Ei.test(w)||Ri.test(w)||Li.test(w)||(x=w.indexOf("<",1))<0);)d+=x,w=e.slice(d);_=e.substring(0,d)}d<0&&(_=e),_&&C(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function A(){var t=e.match(Ei);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(Mi))&&(r=e.match($i)||e.match(Si));)r.start=c,C(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],C(n[0].length),o.end=c,o}}function O(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&ki(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)t.end&&t.end(o[u].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}k()}(e,{warn:qi,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,f){var p=o&&o.ns||Yi(e);X&&"svg"===p&&(n=function(e){for(var t=[],n=0;nc&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var u=Er(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),zr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Jr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Jr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Jr(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=Ur(e,"value")||"null";Rr(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),zr(e,"change",Jr(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type;0;var o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Qr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var f=Jr(t,l);c&&(f="if($event.target.composing)return;"+f);Rr(e,"value","("+t+")"),zr(e,u,f,null,!0),(s||a)&&zr(e,"blur","$forceUpdate()")}(e,r,o);else{if(!F.isReservedTag(i))return qr(e,r,o),!1}return!0},text:function(e,t){t.value&&Rr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Rr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Ai,mustUseProp:In,canBeLeftOpenTag:Oi,isReservedTag:Qn,getTagNamespace:er,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Aa)},$a=_((function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function ja(e,t){e&&(Oa=$a(t.staticKeys||""),ka=t.isReservedTag||E,Ta(e),Ea(e,!1))}function Ta(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||h(e.tag)||!ka(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Oa)))}(e),1===e.type){if(!ka(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,Pa=/\([^)]*?\);*$/,Na=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ra={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},La={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Da=function(e){return"if("+e+")return null;"},Ia={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Da("$event.target !== $event.currentTarget"),ctrl:Da("!$event.ctrlKey"),shift:Da("!$event.shiftKey"),alt:Da("!$event.altKey"),meta:Da("!$event.metaKey"),left:Da("'button' in $event && $event.button !== 0"),middle:Da("'button' in $event && $event.button !== 1"),right:Da("'button' in $event && $event.button !== 2")};function Fa(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var i in e){var a=za(e[i]);e[i]&&e[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function za(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return za(e)})).join(",")+"]";var t=Na.test(e.value),n=Ma.test(e.value),r=Na.test(e.value.replace(Pa,""));if(e.modifiers){var o="",i="",a=[];for(var s in e.modifiers)if(Ia[s])i+=Ia[s],Ra[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;i+=Da(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ua).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ua(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ra[e],r=La[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ba={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:T},Ha=function(e){this.options=e,this.warn=e.warn||Pr,this.transforms=Nr(e.modules,"transformCode"),this.dataGenFns=Nr(e.modules,"genData"),this.directives=$($({},Ba),e.directives);var t=e.isReservedTag||E;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Va(e,t){var n=new Ha(t);return{render:"with(this){return "+(e?qa(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function qa(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ja(e,t);if(e.once&&!e.onceProcessed)return Ka(e,t);if(e.for&&!e.forProcessed)return Xa(e,t);if(e.if&&!e.ifProcessed)return Ga(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=es(e,t),o="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?rs((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:x(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!i&&!a||r||(o+=",null");i&&(o+=","+i);a&&(o+=(i?"":",null")+","+a);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:es(t,n,!0);return"_c("+e+","+Za(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Za(e,t));var o=e.inlineTemplate?null:es(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Va(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+rs(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ya(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ya))}function Qa(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ga(e,t,Qa,"null");if(e.for&&!e.forProcessed)return Xa(e,t,Qa);var r=e.slotScope===pa?"":String(e.slotScope),o="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(es(e,t)||"undefined")+":undefined":es(e,t)||"undefined":qa(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+i+"}"}function es(e,t,n,r,o){var i=e.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||qa)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',cs.innerHTML.indexOf(" ")>0}var ps=!!J&&fs(!1),ds=!!J&&fs(!0),vs=_((function(e){var t=rr(e);return t&&t.innerHTML})),hs=$n.prototype.$mount;$n.prototype.$mount=function(e,t){if((e=e&&rr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=vs(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var o=ls(r,{outputSourceRange:!1,shouldDecodeNewlines:ps,shouldDecodeNewlinesForHref:ds,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return hs.call(this,e,t)},$n.compile=ls;const ms=$n;function ys(e){return(ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:{};t.name=t.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach((function(e){if("constructor"!==e)if(Os.indexOf(e)>-1)t[e]=n[e];else{var r=Object.getOwnPropertyDescriptor(n,e);void 0!==r.value?"function"==typeof r.value?(t.methods||(t.methods={}))[e]=r.value:(t.mixins||(t.mixins=[])).push({data:function(){return gs({},e,r.value)}}):(r.get||r.set)&&((t.computed||(t.computed={}))[e]={get:r.get,set:r.set})}})),(t.mixins||(t.mixins=[])).push({data:function(){return As(this,e)}});var r=e.__decorators__;r&&(r.forEach((function(e){return e(t)})),delete e.__decorators__);var o=Object.getPrototypeOf(e.prototype),i=o instanceof ms?o.constructor:ms,a=i.extend(t);return $s(a,e,i),_s()&&ws(a,e),a}var Ss={prototype:!0,arguments:!0,callee:!0,caller:!0};function $s(e,t,n){Object.getOwnPropertyNames(t).forEach((function(r){if(!Ss[r]){var o=Object.getOwnPropertyDescriptor(e,r);if(!o||o.configurable){var i,a,s=Object.getOwnPropertyDescriptor(t,r);if(!Cs){if("cid"===r)return;var c=Object.getOwnPropertyDescriptor(n,r);if(i=s.value,a=ys(i),null!=i&&("object"===a||"function"===a)&&c&&c.value===s.value)return}0,Object.defineProperty(e,r,s)}}}))}function js(e){return"function"==typeof e?ks(e):function(t){return ks(t,e)}}js.registerHooks=function(e){Os.push.apply(Os,bs(e))};const Ts=js;var Es="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function Ms(e){return void 0===e&&(e={}),function(t,n){var r;!function(e,t,n){if(Es&&!Array.isArray(e)&&"function"!=typeof e&&!e.hasOwnProperty("type")&&void 0===e.type){var r=Reflect.getMetadata("design:type",t,n);r!==Object&&(e.type=r)}}(e,t,n),(r=function(t,n){(t.props||(t.props={}))[n]=e},function(e,t,n){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof n&&(n=void 0),o.__decorators__.push((function(e){return r(e,t,n)}))})(t,n)}}var Ps=n(3279),Ns=n.n(Ps),Rs=n(9669),Ls=n.n(Rs),Ds=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Is=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},qs=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Js=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noResults",{get:function(){return Array.isArray(this.results)&&0===this.results.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLoading",{get:function(){return!0===this.loading},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasError",{get:function(){return null!==this.error},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suggestions",{get:function(){var e={titles:[],authors:[],subjects:[]};for(var t in this.results){var n=this.results[t];if(-1!==n.title_output.toLowerCase().indexOf(this.display)){var r=n.title_output;e.titles.find((function(e){return e===r}))||e.titles.push(r)}if(""!==this.find(n.author,this.display.toLowerCase())){var o=this.find(n.author,this.display.toLowerCase());e.authors.find((function(e){return e===o}))||e.authors.push(o)}if(""!=this.find(n.subject,this.display.toLowerCase())){var i=this.find(n.subject,this.display.toLowerCase());e.subjects.find((function(e){return e===i}))||e.subjects.push(i)}}return Array.prototype.concat(e.titles,e.authors,e.subjects)},enumerable:!1,configurable:!0}),t.prototype.clear=function(){this.display=null,this.results=[],this.error=null,this.$emit("clear")},t.prototype.search=function(){this.$emit("search",this.display)},t.prototype.searchChanged=function(){this.selectedIndex=null,this.display.length>=2?(this.loading=!0,this.resourceSearch()):this.results=[]},t.prototype.request=function(){return qs(this,void 0,void 0,(function(){var e,t;return Js(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,zs.searchTerm(this.display,this.solrCore,this.solrHost)];case 1:return e=n.sent(),this.error=null,this.results=e.response.docs,this.loading=!1,[3,3];case 2:return t=n.sent(),this.error=t.message,this.loading=!1,[3,3];case 3:return[2]}}))}))},t.prototype.focus=function(){this.isFocussed=!0},t.prototype.blur=function(){this.isFocussed=!1},t.prototype.isSelected=function(e){return e===this.selectedIndex},t.prototype.onArrowDown=function(e){e.preventDefault(),null!==this.selectedIndex?(this.selectedIndex=this.selectedIndex===this.suggestions.length-1?0:this.selectedIndex+1,this.fixScrolling()):this.selectedIndex=0},t.prototype.fixScrolling=function(){this.$refs.options[this.selectedIndex].scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},t.prototype.onArrowUp=function(e){e.preventDefault(),null!==this.selectedIndex?(this.selectedIndex=0===this.selectedIndex?this.suggestions.length-1:this.selectedIndex-1,this.fixScrolling()):this.selectedIndex=this.suggestions.length-1},t.prototype.onEnter=function(){null!==this.selectedIndex?(this.select(this.suggestions[this.selectedIndex]),this.$emit("enter",this.display)):this.$emit("nothingSelected",this.display)},t.prototype.select=function(e){e&&(this.value=e,this.display=e,this.selectedDisplay=this.display,this.$emit("input",this.value),this.$emit("search",this.value),this.close())},t.prototype.formatDisplay=function(e){return-1!==e.title_output.toLowerCase().indexOf(this.display)?e.title_output:""!==this.find(e.author,this.display.toLowerCase())?this.find(e.author,this.display.toLowerCase()):""!=this.find(e.subject,this.display.toLowerCase())?this.find(e.subject,this.display.toLowerCase()):e.id},t.prototype.find=function(e,t){for(var n=0,r=e.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const tc=Gs(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openAccessLicences=["CC-BY-4.0","CC-BY-SA-4.0"],t.datacite_prefix=Xs,t.app_url=Zs,t}return Qs(t,e),Object.defineProperty(t.prototype,"results",{get:function(){return this.data},enumerable:!1,configurable:!0}),t.prototype.truncate=function(e,t){return(e=void 0===e?"":e).split(" ").slice(0,t).join(" ")},t.prototype.error=function(e){delete e.thumb,this.$forceUpdate()},t.prototype.convert=function(e){var t=new Date(1e3*e),n=t.getFullYear(),r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getMonth()],o=t.getDate(),i=t.getHours(),a="0"+t.getMinutes(),s="0"+t.getSeconds();return r+"-"+o+"-"+n+" "+i+":"+a.substr(-2)+":"+s.substr(-2)},ec([Ms()],t.prototype,"data",void 0),t=ec([Ts],t)}(ms),(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"results"},[n("section",{staticClass:"normal result-list-container"},e._l(e.results,(function(t){return n("div",{key:t.id,staticClass:"row record-elem"},[n("div",{staticClass:"twelve columns post"},[n("span",{staticClass:"label label-info",attrs:{"data-container":"div","data-title":"Publication date"}},[e._v("\n\t\t\t"+e._s(e.convert(t.server_date_published))+"\n\t\t\t")]),e._v(" "),n("span",{staticClass:"label label-default ng-binding"},[e._v(e._s(t.doctype))]),e._v(" "),e.openAccessLicences.includes(t.licence)?n("span",{staticClass:"label label-success titlecase"},[e._v("Open Access")]):e._e(),e._v(" "),t.identifier&&t.identifier.length>0?n("p",[n("a",{staticClass:"ng-binding",attrs:{target:"_blank",href:"https://doi.org/"+t.identifier[0]}},[e._v(" \n "+e._s("https://doi.org/"+t.identifier[0])+"\n ")])]):e._e(),e._v(" "),n("h4",[n("a",{staticClass:"ng-binding",attrs:{target:"_self",href:"https://doi."+e.app_url+"/"+e.datacite_prefix+"/tethys."+t.id}},[e._v(" \n "+e._s(t.title_output)+"\n ")])]),e._v(" "),t.author&&t.author.length>0?n("p",e._l(t.author,(function(t,r){return n("span",{key:r},[e._v(e._s(t)+"; ")])})),0):e._e(),e._v(" "),n("p",{staticClass:"clamped clamped-2"},[n("span",{staticClass:"text"},[e._v("\n Abstract: "+e._s(t.abstract_output)+"\n "),n("span",{staticClass:"ellipsis"},[e._v("...")]),e._v(" "),n("span",{staticClass:"fill"})])]),e._v(" "),n("p",[n("span",[e._v("Licence: "+e._s(t.licence))])]),e._v(" "),e._l(t.subject,(function(t,r){return n("span",{key:r,staticClass:"label label-keyword titlecase"},[e._v("\n #"+e._s(t)+"\n ")])}))],2)])})),0)])}),[],!1,null,null,null).exports;function nc(e){return(nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var rc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),oc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":nc(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const ic=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ITEMS_PER_FILTER=2,t.bar="",t.collapsed=!0,t.toggle=function(){1==this.collapsed?this.collapsed=!1:0==this.collapsed&&(this.collapsed=!0)},t.activateItem=function(e){e.Category=this.alias,e.Active=!0,this.$emit("filter",e)},t}return rc(t,e),Object.defineProperty(t.prototype,"alias",{get:function(){return"datatype"==this.filterName?"doctype":this.filterName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterItems",{get:function(){return this.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overflowing",{get:function(){return this.filterItems.length>this.ITEMS_PER_FILTER},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uncollapseLabelText",{get:function(){return 1==this.collapsed?"More results":"Collapse"},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},oc([Ms()],t.prototype,"data",void 0),oc([Ms([String])],t.prototype,"filterName",void 0),t=oc([Ts],t)}(ms);n(4441);const ac=Gs(ic,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title titlecase filterViewModelName"},[e._v(e._s(e.filterName))])]),e._v(" "),n("div",{staticClass:"panel-body"},[n("ul",{staticClass:"filter-items list-unstyled",class:{limited:e.filterItems.length>1&&e.collapsed}},e._l(e.filterItems,(function(t,r){return n("li",{key:r,staticClass:"list-group-item titlecase"},[n("span",{class:t.Active?"disabled":"",on:{click:function(n){return n.preventDefault(),e.activateItem(t)}}},[e._v(e._s(t.value)+"\n ("+e._s(t.count)+")\n ")])])})),0),e._v(" "),1==e.overflowing?n("ul",{staticClass:"overflowing"},[n("li",[n("span",{on:{click:function(t){return e.toggle()}}},[e._v(e._s(e.uncollapseLabelText))])])]):e._e()])])}),[],!1,null,"2280070b",null).exports;function sc(e){return(sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var cc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),uc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":sc(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const lc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.bar="",t.deactivateFacetCategory=function(){this.$emit("clearFacetCategory",this.categoryName,this.alias)},t}return cc(t,e),Object.defineProperty(t.prototype,"alias",{get:function(){return"doctype"==this.categoryName?"datatype":this.categoryName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filterItems",{get:function(){return this.data},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},uc([Ms([Array])],t.prototype,"data",void 0),uc([Ms([String])],t.prototype,"categoryName",void 0),t=uc([Ts],t)}(ms);n(3318);const fc=Gs(lc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("input",{staticClass:"css-checkbox",attrs:{id:e.alias,name:e.alias,type:"checkbox",checked:"checked"},on:{click:function(t){return t.preventDefault(),e.deactivateFacetCategory()}}}),e._v(" "),n("label",{staticClass:"css-label",attrs:{for:e.alias}},[n("span",[e._v(e._s(e.alias+": "))]),e._v(" "),e.data&&e.data.length>0?n("a",{staticClass:"gbaterm"},[e._v(e._s(e.data.join(", ")))]):e._e()])])}),[],!1,null,"6a385844",null).exports;function pc(e){return(pc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var dc=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),vc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":pc(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a};const hc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pageNumber=0,t}return dc(t,e),t.prototype.changePage=function(e){if(e!=this.data.current_page){this.data.current_page=e;var t=e*this.data.per_page-this.data.per_page;this.$emit("paginate",t)}},Object.defineProperty(t.prototype,"numberOfPages",{get:function(){return Math.ceil(this.data.total/this.data.per_page)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pages",{get:function(){var e=Math.ceil(this.data.total/this.data.per_page),t=this.data.current_page-this.data.per_page;t<1&&(t=1);var n=t+2*this.data.per_page;n>=e&&(n=e);for(var r=[],o=t;o<=n;o++)r.push(o);return r},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){},vc([Ms()],t.prototype,"data",void 0),vc([Ms({default:4})],t.prototype,"offset",void 0),t=vc([Ts],t)}(ms);n(7684);const mc=Gs(hc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.pages.length>1?n("nav",{staticClass:"pagination is-rounded is-medium",attrs:{role:"navigation","aria-label":"pagination"}},[n("ul",{staticClass:"pagination-list"},[e.data.current_page>1?n("li",[n("a",{staticClass:"pagination-previous",attrs:{href:"javascript:void(0)",rel:"prev"},on:{click:function(t){return t.preventDefault(),e.changePage(e.data.current_page-1)}}},[e._v("«")])]):n("li",[n("a",{staticClass:"pagination-previous disabled",attrs:{disabled:"",href:"javascript:void(0)",rel:"prev"}},[e._v("«")])]),e._v(" "),e._l(e.pages,(function(t,r){return n("li",{key:r},[n("a",{class:["pagination-link",t==e.data.current_page?"is-current":""],attrs:{href:"javascript:void(0)"},on:{click:function(n){return n.preventDefault(),e.changePage(t)}}},[e._v(e._s(t))])])})),e._v(" "),e.data.current_page=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},wc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},xc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0})),this.facets[o]=i;return[2]}}))}))},t.prototype.propName=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},t.prototype.onFilter=function(e){return wc(this,void 0,void 0,(function(){var t,n,r,o,i=this;return xc(this,(function(a){switch(a.label){case 0:return this.activeFilterCategories.hasOwnProperty(e.Category)||(this.activeFilterCategories[e.Category]=ms.observable([])),this.activeFilterCategories[e.Category].some((function(t){return t===e.value}))?[3,2]:(this.activeFilterCategories[e.Category].push(e.value),[4,zs.search(this.searchTerm,this.activeFilterCategories,this.solrCore,this.solrHost)]);case 1:for(r in t=a.sent(),this.results=t.response.docs,this.numFound=t.response.numFound,this.pagination.total=t.response.numFound,this.pagination.per_page=t.responseHeader.params.rows,this.pagination.current_page=1,this.pagination.data=t.response.docs,n=t.facet_counts.facet_fields)o=n[r].map((function(t,o){if(o%2==0){var a;if(e.value==t)a=e;else if(i.facets[r].some((function(e){return e.value===t}))){var s=i.facets[r].findIndex((function(e){return e.value===t}));(a=i.facets[r][s]).count=n[r][o+1]}else a=new yc(t,n[r][o+1]);return a}})).filter((function(e){return null!=e&&e.count>0})),this.facets[r]=o;a.label=2;case 2:return[2]}}))}))},t.prototype.onSearch=function(e){return wc(this,void 0,void 0,(function(){var t,n,r,o;return xc(this,(function(i){switch(i.label){case 0:return e=e?e.trim():"*%3A*",this.activeFilterCategories={},this.facets={},this.searchTerm=e,[4,zs.search(this.searchTerm,this.activeFilterCategories,this.solrCore,this.solrHost)];case 1:for(r in t=i.sent(),this.results=t.response.docs,this.numFound=t.response.numFound,this.pagination.total=t.response.numFound,this.pagination.per_page=t.responseHeader.params.rows,this.pagination.current_page=1,this.pagination.data=t.response.docs,n=t.facet_counts.facet_fields)o=n[r].map((function(e,t){if(t%2==0)return new yc(e,n[r][t+1])})).filter((function(e){return null!=e&&e.count>0})),this.facets[r]=o;return[2]}}))}))},t.prototype.mounted=function(){return wc(this,void 0,void 0,(function(){var e;return xc(this,(function(t){switch(t.label){case 0:return(e=this.getParameterByName("q"))&&(e=e.trim()),[4,this.onSearch("*%3A*")];case 1:return t.sent(),this.loaded=!0,[2]}}))}))},t.prototype.getParameterByName=function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},t=_c([Ts({components:{VsInput:Ws,VsResults:tc,FacetCategory:ac,ActiveFacetCategory:fc,VsPagination:mc}})],t)}(ms);n(561);const Ac=Gs(Cc,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search-container row"},[n("div",{staticClass:"four columns left-bar"},[n("div",{staticClass:"sidebar left-bar",attrs:{id:"left-bar"}},e._l(e.facets,(function(t,r,o){return n("div",{key:o,staticClass:"card"},[n("facet-category",{attrs:{data:t,filterName:r},on:{filter:e.onFilter}})],1)})),0)]),e._v(" "),n("div",{staticClass:"eight columns right-bar"},[n("div",{staticClass:"sidebar right-bar",attrs:{id:"right-bar"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"ten columns"},[n("vs-input",{attrs:{title:"searching solr datasets",placeholder:"Enter your search term..."},on:{search:e.onSearch}})],1)]),e._v(" "),e.results.length>0?n("div",{staticClass:"result-list-info"},[n("div",{staticClass:"resultheader"},[e._v("\n Your search yielded\n "),n("strong",[e._v(e._s(e.numFound))]),e._v(" results:\n ")])]):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"twelve columns resultheader"},e._l(e.activeFilterCategories,(function(t,r,o){return n("span",{key:o,staticClass:"active-filter-items"},[n("active-facet-category",{attrs:{data:t,categoryName:r},on:{clearFacetCategory:e.onClearFacetCategory}})],1)})),0)]),e._v(" "),n("vs-results",{attrs:{data:e.results}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"twelve columns"},[n("vs-pagination",{attrs:{data:e.pagination},on:{paginate:e.onPaginate}})],1)])],1)])])}),[],!1,null,null,null).exports;new ms({el:"#app",render:function(e){return e(Ac)}})})()})(); \ No newline at end of file diff --git a/resources/js/constants.ts b/resources/js/constants.ts new file mode 100644 index 0000000..26ed320 --- /dev/null +++ b/resources/js/constants.ts @@ -0,0 +1,8 @@ +declare const DATACITE_PREFIX: string; +declare const APP_URL: string; + +const _DATACITE_PREFIX = DATACITE_PREFIX; +const _APP_URL = APP_URL; + +export {_DATACITE_PREFIX as DATACITE_PREFIX}; +export {_APP_URL as APP_URL}; \ No newline at end of file diff --git a/resources/js/search/search-results/vs-results-class.ts b/resources/js/search/search-results/vs-results-class.ts index eed2061..a01c5c6 100644 --- a/resources/js/search/search-results/vs-results-class.ts +++ b/resources/js/search/search-results/vs-results-class.ts @@ -1,9 +1,12 @@ -import { Component, Vue, Prop, Provide } from 'vue-property-decorator'; +import { Component, Vue, Prop } from 'vue-property-decorator'; +import { DATACITE_PREFIX, APP_URL } from "../../constants"; @Component export default class VsResults extends Vue { - openAccessLicences: Array = ['CC BY', 'CC BY-SA']; + openAccessLicences: Array = ['CC-BY-4.0', 'CC-BY-SA-4.0']; + datacite_prefix= DATACITE_PREFIX; + app_url=APP_URL; @Prop() data; diff --git a/resources/js/search/search-results/vs-results.vue b/resources/js/search/search-results/vs-results.vue index 99e6796..c7809b3 100644 --- a/resources/js/search/search-results/vs-results.vue +++ b/resources/js/search/search-results/vs-results.vue @@ -30,17 +30,17 @@ Open Access -

+

{{ 'https://doi.org/' + document.identifier[0] }} -

+

- + {{ document.title_output }}

diff --git a/routes/web.php b/routes/web.php index fd85abc..59f41df 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,527 +13,552 @@ use Illuminate\Support\Facades\Route; */ //Auth::routes(); //Route::get('/home', 'HomeController@index')->name('home'); +$base_domain = config('app.url'); +$alias_domain = config('app.alias_url'); -Route::match(array('GET','POST'), '/oai', ['as' => 'oai', 'uses' => 'Oai\RequestController@index']); + +Route::group([ + 'domain' => 'doi.' . $base_domain, + 'as' => 'doi' +], function () { + $dataset_prefix = config('tethys.datacite_prefix'); + + + Route::get('/' . $dataset_prefix . '/tethys.{id}', [ + 'as' => 'dataset.show', 'uses' => 'Frontend\PagesController@show', + ]); + + Route::get('/', function () { + redirect()->route('frontend.home.index'); + }); + +}); + +// Route::group([ +// 'domain' => ($base_domain|'www.tethys.at') +// ], +$appRoutes = function () { + + Route::match(array('GET', 'POST'), '/oai', ['as' => 'oai', 'uses' => 'Oai\RequestController@index']); //Route::get('/', 'LocalizationController@index'); -Route::get( - 'setlocale/{lang}', - [ - 'as' => 'setlocale', //name() - 'uses' => 'Frontend\LocalizationController@setLocale', - ] -); + Route::get( + 'setlocale/{lang}', + [ + 'as' => 'setlocale', //name() + 'uses' => 'Frontend\LocalizationController@setLocale', + ] + ); //============================================================================================================= //=================================================file download============================================= -Route::get('file/download/{id}', [ - 'as' => 'file.download', 'uses' => 'Settings\FileController@download', -]); + Route::get('file/download/{id}', [ + 'as' => 'file.download', 'uses' => 'Settings\FileController@download', + ]); //=================================================publish datasets================================================ -Route::group( - [ - 'namespace' => 'Publish', - // 'middleware' => ['permission:publish'], - // 'middleware' => ['role:administrator|reviewer|editor'], - 'prefix' => 'publish', - 'as' => 'publish.', - ], - function () { - Route::get('dataset', [ - 'as' => 'dataset.index', 'uses' => 'IndexController@index', - ]); - Route::get('dataset/create-step1', [ - 'middleware' => ['permission:dataset-submit'], - 'as' => 'dataset.create', - 'uses' => 'IndexController@createStep1', - ]); - // Route::post('dataset/store-step1', ['as' => 'dataset.store1', 'uses' => 'IndexController@storeStep1']); + Route::group( + [ + 'namespace' => 'Publish', + // 'middleware' => ['permission:publish'], + // 'middleware' => ['role:administrator|reviewer|editor'], + 'prefix' => 'publish', + 'as' => 'publish.', + ], + function () { + Route::get('dataset', [ + 'as' => 'dataset.index', 'uses' => 'IndexController@index', + ]); + Route::get('dataset/create-step1', [ + 'middleware' => ['permission:dataset-submit'], + 'as' => 'dataset.create', + 'uses' => 'IndexController@createStep1', + ]); + // Route::post('dataset/store-step1', ['as' => 'dataset.store1', 'uses' => 'IndexController@storeStep1']); - // Route::get('dataset/create-step2', ['as' => 'dataset.create2', 'uses' => 'IndexController@createStep2']); - // Route::post('dataset/store-step2', ['as' => 'dataset.store2', 'uses' => 'IndexController@storeStep2']); + // Route::get('dataset/create-step2', ['as' => 'dataset.create2', 'uses' => 'IndexController@createStep2']); + // Route::post('dataset/store-step2', ['as' => 'dataset.store2', 'uses' => 'IndexController@storeStep2']); - // Route::get('dataset/create-step3', ['as' => 'dataset.create3', 'uses' => 'IndexController@createStep3']); - Route::post('dataset/store', [ - 'middleware' => ['permission:dataset-submit'], - 'as' => 'dataset.store', - 'uses' => 'IndexController@store', - ]); + // Route::get('dataset/create-step3', ['as' => 'dataset.create3', 'uses' => 'IndexController@createStep3']); + Route::post('dataset/store', [ + 'middleware' => ['permission:dataset-submit'], + 'as' => 'dataset.store', + 'uses' => 'IndexController@store', + ]); - Route::get('workflow/submit/index', [ - 'middleware' => ['permission:dataset-list'], - 'as' => 'workflow.submit.index', 'uses' => 'SubmitController@index', - ]); - Route::get('workflow/submit/edit/{id}', [ - 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], - 'as' => 'workflow.submit.edit', 'uses' => 'SubmitController@edit', - ]); - Route::post('workflow/submit/edit/{id}', [ - 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], - 'as' => 'workflow.submit.update', 'uses' => 'SubmitController@update', - ]); - Route::get('workflow/submit/release/{id}', [ - 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], - 'as' => 'workflow.submit.release', 'uses' => 'SubmitController@release', - ]); - Route::post('workflow/submit/release/{id}', [ - 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], - 'as' => 'workflow.submit.releaseUpdate', 'uses' => 'SubmitController@releaseUpdate', - ]); - Route::get('workflow/submit/delete/{id}', [ - 'middleware' => ['isUserDatasetAdmin:true'], - 'as' => 'workflow.submit.delete', 'uses' => 'SubmitController@delete', - ]); - Route::post('workflow/submit/delete/{id}', [ - 'middleware' => ['isUserDatasetAdmin:true'], - 'as' => 'workflow.submit.deleteUpdate', 'uses' => 'SubmitController@deleteUpdate', - ]); + Route::get('workflow/submit/index', [ + 'middleware' => ['permission:dataset-list'], + 'as' => 'workflow.submit.index', 'uses' => 'SubmitController@index', + ]); + Route::get('workflow/submit/edit/{id}', [ + 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], + 'as' => 'workflow.submit.edit', 'uses' => 'SubmitController@edit', + ]); + Route::post('workflow/submit/edit/{id}', [ + 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], + 'as' => 'workflow.submit.update', 'uses' => 'SubmitController@update', + ]); + Route::get('workflow/submit/release/{id}', [ + 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], + 'as' => 'workflow.submit.release', 'uses' => 'SubmitController@release', + ]); + Route::post('workflow/submit/release/{id}', [ + 'middleware' => ['permission:dataset-submit', 'isUserDatasetAdmin:true'], + 'as' => 'workflow.submit.releaseUpdate', 'uses' => 'SubmitController@releaseUpdate', + ]); + Route::get('workflow/submit/delete/{id}', [ + 'middleware' => ['isUserDatasetAdmin:true'], + 'as' => 'workflow.submit.delete', 'uses' => 'SubmitController@delete', + ]); + Route::post('workflow/submit/delete/{id}', [ + 'middleware' => ['isUserDatasetAdmin:true'], + 'as' => 'workflow.submit.deleteUpdate', 'uses' => 'SubmitController@deleteUpdate', + ]); - //editor - Route::get('workflow/editor/index', [ - 'middleware' => ['permission:dataset-editor-list'], - 'as' => 'workflow.editor.index', 'uses' => 'EditorController@index', - ]); - Route::get('workflow/editor/receive/{id}', [ - 'middleware' => ['permission:dataset-receive'], - 'as' => 'workflow.editor.receive', 'uses' => 'EditorController@receive', - ]); - Route::post('workflow/editor/receive/{id}', [ - 'middleware' => ['permission:dataset-receive'], - 'as' => 'workflow.editor.receiveUpdate', 'uses' => 'EditorController@receiveUpdate', - ]); - Route::get('workflow/editor/edit/{id}', [ - 'middleware' => ['permission:dataset-editor-update'], - 'as' => 'workflow.editor.edit', 'uses' => 'EditorController@edit', - ]); - Route::post('workflow/editor/edit/{id}', [ - 'middleware' => ['permission:dataset-editor-update'], - 'as' => 'workflow.editor.update', 'uses' => 'EditorController@update', - ]); - Route::get('workflow/editor/file/download/{id}', [ - 'middleware' => ['permission:dataset-editor-update'], - 'as' => 'workflow.editor.file.download', 'uses' => 'EditorController@download', - ]); - Route::get('workflow/editor/approve/{id}', [ - 'middleware' => ['permission:dataset-approve'], - 'as' => 'workflow.editor.approve', 'uses' => 'EditorController@approve', - ]); - Route::post('workflow/editor/approve/{id}', [ - 'middleware' => ['permission:dataset-approve'], - 'as' => 'workflow.editor.approveUpdate', 'uses' => 'EditorController@approveUpdate', - ]); - Route::get('workflow/editor/reject/{id}', [ - 'middleware' => ['permission:dataset-editor-reject'], - 'as' => 'workflow.editor.reject', 'uses' => 'EditorController@reject', - ]); - Route::post('workflow/editor/reject/{id}', [ - 'middleware' => ['permission:dataset-editor-reject'], - 'as' => 'workflow.editor.rejectUpdate', 'uses' => 'EditorController@rejectUpdate', - ]); - Route::get('workflow/editor/publish/{id}', [ - 'middleware' => ['permission:dataset-publish'], - 'as' => 'workflow.editor.publish', 'uses' => 'EditorController@publish', - ]); - Route::post('workflow/editor/publish/{id}', [ - 'middleware' => ['permission:dataset-publish'], - 'as' => 'workflow.editor.publishUpdate', 'uses' => 'EditorController@publishUpdate', - ]); - Route::get('workflow/editor/doi/{id}', [ - 'middleware' => ['permission:dataset-publish'], - 'as' => 'workflow.editor.doi', 'uses' => 'EditorController@doiCreate', - ]); - Route::post('workflow/editor/doi/{publish_id}', [ - 'middleware' => ['permission:dataset-publish'], - 'as' => 'workflow.editor.doiStore', 'uses' => 'EditorController@doiStore', - ]); + //editor + Route::get('workflow/editor/index', [ + 'middleware' => ['permission:dataset-editor-list'], + 'as' => 'workflow.editor.index', 'uses' => 'EditorController@index', + ]); + Route::get('workflow/editor/receive/{id}', [ + 'middleware' => ['permission:dataset-receive'], + 'as' => 'workflow.editor.receive', 'uses' => 'EditorController@receive', + ]); + Route::post('workflow/editor/receive/{id}', [ + 'middleware' => ['permission:dataset-receive'], + 'as' => 'workflow.editor.receiveUpdate', 'uses' => 'EditorController@receiveUpdate', + ]); + Route::get('workflow/editor/edit/{id}', [ + 'middleware' => ['permission:dataset-editor-update'], + 'as' => 'workflow.editor.edit', 'uses' => 'EditorController@edit', + ]); + Route::post('workflow/editor/edit/{id}', [ + 'middleware' => ['permission:dataset-editor-update'], + 'as' => 'workflow.editor.update', 'uses' => 'EditorController@update', + ]); + Route::get('workflow/editor/file/download/{id}', [ + 'middleware' => ['permission:dataset-editor-update'], + 'as' => 'workflow.editor.file.download', 'uses' => 'EditorController@download', + ]); + Route::get('workflow/editor/approve/{id}', [ + 'middleware' => ['permission:dataset-approve'], + 'as' => 'workflow.editor.approve', 'uses' => 'EditorController@approve', + ]); + Route::post('workflow/editor/approve/{id}', [ + 'middleware' => ['permission:dataset-approve'], + 'as' => 'workflow.editor.approveUpdate', 'uses' => 'EditorController@approveUpdate', + ]); + Route::get('workflow/editor/reject/{id}', [ + 'middleware' => ['permission:dataset-editor-reject'], + 'as' => 'workflow.editor.reject', 'uses' => 'EditorController@reject', + ]); + Route::post('workflow/editor/reject/{id}', [ + 'middleware' => ['permission:dataset-editor-reject'], + 'as' => 'workflow.editor.rejectUpdate', 'uses' => 'EditorController@rejectUpdate', + ]); + Route::get('workflow/editor/publish/{id}', [ + 'middleware' => ['permission:dataset-publish'], + 'as' => 'workflow.editor.publish', 'uses' => 'EditorController@publish', + ]); + Route::post('workflow/editor/publish/{id}', [ + 'middleware' => ['permission:dataset-publish'], + 'as' => 'workflow.editor.publishUpdate', 'uses' => 'EditorController@publishUpdate', + ]); + Route::get('workflow/editor/doi/{id}', [ + 'middleware' => ['permission:dataset-publish'], + 'as' => 'workflow.editor.doi', 'uses' => 'EditorController@doiCreate', + ]); + Route::post('workflow/editor/doi/{publish_id}', [ + 'middleware' => ['permission:dataset-publish'], + 'as' => 'workflow.editor.doiStore', 'uses' => 'EditorController@doiStore', + ]); - //doi - Route::get('workflow/doi/index', [ - 'middleware' => ['permission:dataset-editor-list'], - 'as' => 'workflow.doi.index', 'uses' => 'DoiController@index', - ]); - Route::get('workflow/doi/edit/{id}', [ - 'middleware' => ['permission:dataset-publish'], - 'as' => 'workflow.doi.edit', 'uses' => 'DoiController@edit', - ]); - Route::post('workflow/doi/update/{publish_id}', [ - 'middleware' => ['permission:dataset-publish'], - 'as' => 'workflow.doi.update', 'uses' => 'DoiController@update', - ]); + //doi + Route::get('workflow/doi/index', [ + 'middleware' => ['permission:dataset-editor-list'], + 'as' => 'workflow.doi.index', 'uses' => 'DoiController@index', + ]); + Route::get('workflow/doi/edit/{id}', [ + 'middleware' => ['permission:dataset-publish'], + 'as' => 'workflow.doi.edit', 'uses' => 'DoiController@edit', + ]); + Route::post('workflow/doi/update/{publish_id}', [ + 'middleware' => ['permission:dataset-publish'], + 'as' => 'workflow.doi.update', 'uses' => 'DoiController@update', + ]); - //reviewer - Route::get('workflow/review/index', [ - 'middleware' => ['permission:dataset-review-list'], - 'as' => 'workflow.review.index', 'uses' => 'ReviewController@index', - ]); - Route::get('workflow/review/{id}', [ - 'middleware' => ['permission:dataset-review'], - 'as' => 'workflow.review.review', 'uses' => 'ReviewController@review', - ]); - Route::post('workflow/review/{id}', [ - 'middleware' => ['permission:dataset-review'], - 'as' => 'workflow.review.reviewUpdate', 'uses' => 'ReviewController@reviewUpdate', - ]); - Route::get('workflow/review/reject/{id}', [ - 'middleware' => ['permission:dataset-review-reject'], - 'as' => 'workflow.review.reject', 'uses' => 'ReviewController@reject', - ]); - Route::post('workflow/review/reject/{id}', [ - 'middleware' => ['permission:dataset-review-reject'], - 'as' => 'workflow.review.rejectUpdate', 'uses' => 'ReviewController@rejectUpdate', - ]); + //reviewer + Route::get('workflow/review/index', [ + 'middleware' => ['permission:dataset-review-list'], + 'as' => 'workflow.review.index', 'uses' => 'ReviewController@index', + ]); + Route::get('workflow/review/{id}', [ + 'middleware' => ['permission:dataset-review'], + 'as' => 'workflow.review.review', 'uses' => 'ReviewController@review', + ]); + Route::post('workflow/review/{id}', [ + 'middleware' => ['permission:dataset-review'], + 'as' => 'workflow.review.reviewUpdate', 'uses' => 'ReviewController@reviewUpdate', + ]); + Route::get('workflow/review/reject/{id}', [ + 'middleware' => ['permission:dataset-review-reject'], + 'as' => 'workflow.review.reject', 'uses' => 'ReviewController@reject', + ]); + Route::post('workflow/review/reject/{id}', [ + 'middleware' => ['permission:dataset-review-reject'], + 'as' => 'workflow.review.rejectUpdate', 'uses' => 'ReviewController@rejectUpdate', + ]); - //publisher - Route::get('workflow/publish/index', [ - 'middleware' => ['permission:dataset-publish-list'], - 'as' => 'workflow.publish.index', 'uses' => 'PublishController@index', - ]); - // Route::get('workflow/publish/{id}', [ - // 'middleware' => ['permission:dataset-publish'], - // 'as' => 'workflow.publish.publish', 'uses' => 'PublishController@publish', - // ]); - // Route::post('workflow/publish/{id}', [ - // 'middleware' => ['permission:dataset-publish'], - // 'as' => 'workflow.publish.publishUpdate', 'uses' => 'PublishController@publishUpdate', - // ]); + //publisher + Route::get('workflow/publish/index', [ + 'middleware' => ['permission:dataset-publish-list'], + 'as' => 'workflow.publish.index', 'uses' => 'PublishController@index', + ]); + // Route::get('workflow/publish/{id}', [ + // 'middleware' => ['permission:dataset-publish'], + // 'as' => 'workflow.publish.publish', 'uses' => 'PublishController@publish', + // ]); + // Route::post('workflow/publish/{id}', [ + // 'middleware' => ['permission:dataset-publish'], + // 'as' => 'workflow.publish.publishUpdate', 'uses' => 'PublishController@publishUpdate', + // ]); - Route::get('workflow/changestate/{id}/changestate/{targetState}', [ - 'as' => 'review.changestate', 'uses' => 'SubmitController@changestate', - ]); - } -); + Route::get('workflow/changestate/{id}/changestate/{targetState}', [ + 'as' => 'review.changestate', 'uses' => 'SubmitController@changestate', + ]); + } + ); //=================================================setting users==================================================== -Route::group( - [ - 'namespace' => 'Settings\Access', - 'prefix' => 'settings/access', - 'as' => 'access.', - ], - function () { - //Route::resource('users','UserController'); - Route::get('user', [ - 'as' => 'user.index', 'uses' => 'UserController@index', 'middleware' => ['permission:settings'], - ]); - Route::get('user/create', [ - 'as' => 'user.create', 'uses' => 'UserController@create', 'middleware' => ['permission:settings'], - ]); - Route::post('user/store', [ - 'as' => 'user.store', 'uses' => 'UserController@store', 'middleware' => ['permission:settings'], - ]); - Route::get('user/edit/{id}', [ - 'as' => 'user.edit', 'uses' => 'UserController@edit', 'middleware' => ['auth'], - ]); - Route::patch('user/update/{id}', [ - 'as' => 'user.update', 'uses' => 'UserController@update', 'middleware' => ['auth'], - ]); - Route::get('user/destroy/{id}', [ - 'as' => 'user.destroy', 'uses' => 'UserController@destroy', 'middleware' => ['permission:settings'], - ]); + Route::group( + [ + 'namespace' => 'Settings\Access', + 'prefix' => 'settings/access', + 'as' => 'access.', + ], + function () { + //Route::resource('users','UserController'); + Route::get('user', [ + 'as' => 'user.index', 'uses' => 'UserController@index', 'middleware' => ['permission:settings'], + ]); + Route::get('user/create', [ + 'as' => 'user.create', 'uses' => 'UserController@create', 'middleware' => ['permission:settings'], + ]); + Route::post('user/store', [ + 'as' => 'user.store', 'uses' => 'UserController@store', 'middleware' => ['permission:settings'], + ]); + Route::get('user/edit/{id}', [ + 'as' => 'user.edit', 'uses' => 'UserController@edit', 'middleware' => ['auth'], + ]); + Route::patch('user/update/{id}', [ + 'as' => 'user.update', 'uses' => 'UserController@update', 'middleware' => ['auth'], + ]); + Route::get('user/destroy/{id}', [ + 'as' => 'user.destroy', 'uses' => 'UserController@destroy', 'middleware' => ['permission:settings'], + ]); - //Route::resource('users','RoleController'); - Route::get('role', [ - 'as' => 'role.index', 'uses' => 'RoleController@index', 'middleware' => ['permission:settings'], - ]); - Route::get('role/create', [ - 'as' => 'role.create', 'uses' => 'RoleController@create', 'middleware' => ['permission:settings'], - ]); - Route::post('role/store', [ - 'as' => 'role.store', 'uses' => 'RoleController@store', 'middleware' => ['permission:settings'], - ]); - Route::get('role/edit/{id}', [ - 'as' => 'role.edit', 'uses' => 'RoleController@edit', 'middleware' => ['permission:settings'], - ]); - Route::patch('role/update/{id}', [ - 'as' => 'role.update', 'uses' => 'RoleController@update', 'middleware' => ['permission:settings'], - ]); - } -); + //Route::resource('users','RoleController'); + Route::get('role', [ + 'as' => 'role.index', 'uses' => 'RoleController@index', 'middleware' => ['permission:settings'], + ]); + Route::get('role/create', [ + 'as' => 'role.create', 'uses' => 'RoleController@create', 'middleware' => ['permission:settings'], + ]); + Route::post('role/store', [ + 'as' => 'role.store', 'uses' => 'RoleController@store', 'middleware' => ['permission:settings'], + ]); + Route::get('role/edit/{id}', [ + 'as' => 'role.edit', 'uses' => 'RoleController@edit', 'middleware' => ['permission:settings'], + ]); + Route::patch('role/update/{id}', [ + 'as' => 'role.update', 'uses' => 'RoleController@update', 'middleware' => ['permission:settings'], + ]); + } + ); /* * CMS Pages Management============================================================================= */ -Route::group( - [ - 'middleware' => ['permission:settings'], - 'namespace' => 'Settings', - 'prefix' => 'settings', - 'as' => 'settings.', - ], - function () { - //Route::resource('page', 'PageController', ['except' => ['show', 'update']]); - Route::get('page', [ - 'as' => 'page.index', 'uses' => 'PageController@index', - ]); - Route::get('page/edit/{page}', [ - 'as' => 'page.edit', 'uses' => 'PageController@edit', - ]); - Route::patch('page/update/{id}', [ - 'as' => 'page.update', 'uses' => 'PageController@update', - ]); - // //For DataTables - Route::get('pages/get', ['uses' => 'PagesTableController@get'])->name('page.get'); - } -); + Route::group( + [ + 'middleware' => ['permission:settings'], + 'namespace' => 'Settings', + 'prefix' => 'settings', + 'as' => 'settings.', + ], + function () { + //Route::resource('page', 'PageController', ['except' => ['show', 'update']]); + Route::get('page', [ + 'as' => 'page.index', 'uses' => 'PageController@index', + ]); + Route::get('page/edit/{page}', [ + 'as' => 'page.edit', 'uses' => 'PageController@edit', + ]); + Route::patch('page/update/{id}', [ + 'as' => 'page.update', 'uses' => 'PageController@update', + ]); + // //For DataTables + Route::get('pages/get', ['uses' => 'PagesTableController@get'])->name('page.get'); + } + ); // //============================================================================================================= // //=================================================setting file============================================= -Route::get('settings/file/download/{id}', [ - 'middleware' => ['isUserFileOwner'], - 'as' => 'settings.file.download', 'uses' => 'Settings\FileController@download', -]); + Route::get('settings/file/download/{id}', [ + 'middleware' => ['isUserFileOwner'], + 'as' => 'settings.file.download', 'uses' => 'Settings\FileController@download', + ]); //=================================================setting home - dashboard======================================= -Route::get('settings/', [ - 'as' => 'settings.dashboard', 'uses' => 'Settings\DashboardController@index', -]); - -Route::group(['middleware' => ['permission:settings']], function () { - - //============================================================================================================= - //=================================================setting dataset============================================= - Route::get('settings/document', [ - 'as' => 'settings.document', 'uses' => 'Settings\DatasetController@index', - ]); - Route::get('settings/document/{id}', [ - 'as' => 'settings.document.show', 'uses' => 'Settings\DatasetController@show', - ]); - Route::get('settings/document/edit/{id}', [ - 'as' => 'settings.document.edit', 'uses' => 'Settings\DatasetController@edit', - ]); - Route::patch('settings/document/update/{id}', [ - 'as' => 'settings.document.update', 'uses' => 'Settings\DatasetController@update', - ]); - // Route::get('settings/file/download/{id}', [ - // 'as' => 'settings.file.download', 'uses' => 'Settings\DatasetController@download', - // ]); - - //=================================================setting mimetype============================================= - Route::get('/settings/mimetype', [ - 'as' => 'settings.mimetype.index', 'uses' => 'Settings\MimetypeController@index', + Route::get('settings/', [ + 'as' => 'settings.dashboard', 'uses' => 'Settings\DashboardController@index', ]); - // Route::get('/settings/collection/create', [ - // 'as' => 'settings.collection.create', 'uses' => 'Settings\CollectionController@create', - // ]); - // Route::post('settings/collection/store', [ - // 'as' => 'settings.collection.store', 'uses' => 'Settings\CollectionController@store', - // ]); + Route::group(['middleware' => ['permission:settings']], function () { - // Route::get('settings/collection/edit/{id}', [ - // 'as' => 'settings.collection.edit', 'uses' => 'Settings\CollectionController@edit', - // ]); - Route::patch('settings/mimetype/update', [ - 'as' => 'settings.mimetype.update', 'uses' => 'Settings\MimetypeController@update', - ]); - // Route::get('settings/collection/show/{collection}', [ - // 'as' => 'settings.collection.show', 'uses' => 'Settings\CollectionController@show', - // ]); - // Route::get('settings/collection/delete/{id}', [ - // 'as' => 'settings.collection.delete', 'uses' => 'Settings\CollectionController@delete', - // ]); - Route::get('settings/mimetype/down/{id}', [ - 'as' => 'settings.mimetype.down', 'uses' => 'Settings\MimetypeController@down', - ]); - Route::get('settings/mimetype/up/{id}', [ - 'as' => 'settings.mimetype.up', 'uses' => 'Settings\MimetypeController@up', - ]); + //============================================================================================================= + //=================================================setting dataset============================================= + Route::get('settings/document', [ + 'as' => 'settings.document', 'uses' => 'Settings\DatasetController@index', + ]); + Route::get('settings/document/{id}', [ + 'as' => 'settings.document.show', 'uses' => 'Settings\DatasetController@show', + ]); + Route::get('settings/document/edit/{id}', [ + 'as' => 'settings.document.edit', 'uses' => 'Settings\DatasetController@edit', + ]); + Route::patch('settings/document/update/{id}', [ + 'as' => 'settings.document.update', 'uses' => 'Settings\DatasetController@update', + ]); + // Route::get('settings/file/download/{id}', [ + // 'as' => 'settings.file.download', 'uses' => 'Settings\DatasetController@download', + // ]); - //=================================================setting collection============================================= - Route::get('/settings/collection', [ - 'as' => 'settings.collection.index', 'uses' => 'Settings\CollectionController@index', - ]); + //=================================================setting mimetype============================================= + Route::get('/settings/mimetype', [ + 'as' => 'settings.mimetype.index', 'uses' => 'Settings\MimetypeController@index', + ]); - Route::get('/settings/collection/create', [ - 'as' => 'settings.collection.create', 'uses' => 'Settings\CollectionController@create', - ]); - Route::post('settings/collection/store', [ - 'as' => 'settings.collection.store', 'uses' => 'Settings\CollectionController@store', - ]); + // Route::get('/settings/collection/create', [ + // 'as' => 'settings.collection.create', 'uses' => 'Settings\CollectionController@create', + // ]); + // Route::post('settings/collection/store', [ + // 'as' => 'settings.collection.store', 'uses' => 'Settings\CollectionController@store', + // ]); - Route::get('settings/collection/edit/{id}', [ - 'as' => 'settings.collection.edit', 'uses' => 'Settings\CollectionController@edit', - ]); - Route::patch('settings/collection/edit/{id}', [ - 'as' => 'settings.collection.update', 'uses' => 'Settings\CollectionController@update', - ]); - Route::get('settings/collection/show/{collection}', [ - 'as' => 'settings.collection.show', 'uses' => 'Settings\CollectionController@show', - ]); - Route::get('settings/collection/delete/{id}', [ - 'as' => 'settings.collection.delete', 'uses' => 'Settings\CollectionController@delete', - ]); - //=================================================setting collection_role========================================= - Route::get('/settings/collectionrole', [ - 'as' => 'settings.collectionrole.index', 'uses' => 'Settings\CollectionRoleController@index', - ]); + // Route::get('settings/collection/edit/{id}', [ + // 'as' => 'settings.collection.edit', 'uses' => 'Settings\CollectionController@edit', + // ]); + Route::patch('settings/mimetype/update', [ + 'as' => 'settings.mimetype.update', 'uses' => 'Settings\MimetypeController@update', + ]); + // Route::get('settings/collection/show/{collection}', [ + // 'as' => 'settings.collection.show', 'uses' => 'Settings\CollectionController@show', + // ]); + // Route::get('settings/collection/delete/{id}', [ + // 'as' => 'settings.collection.delete', 'uses' => 'Settings\CollectionController@delete', + // ]); + Route::get('settings/mimetype/down/{id}', [ + 'as' => 'settings.mimetype.down', 'uses' => 'Settings\MimetypeController@down', + ]); + Route::get('settings/mimetype/up/{id}', [ + 'as' => 'settings.mimetype.up', 'uses' => 'Settings\MimetypeController@up', + ]); - Route::get('settings/collectionrole/edit/{id}', [ - 'as' => 'settings.collectionrole.edit', 'uses' => 'Settings\CollectionRoleController@edit', - ]); - Route::patch('settings/collectionrole/update/{id}', [ - 'as' => 'settings.collectionrole.update', 'uses' => 'Settings\CollectionRoleController@update', - ]); - Route::get('settings/collectionrole/show/{collectionrole}', [ - 'as' => 'settings.collectionrole.show', 'uses' => 'Settings\CollectionRoleController@show', - ]); - Route::get('settings/collectionrole/hide/{id}', [ - 'as' => 'settings.collectionrole.hide', 'uses' => 'Settings\CollectionRoleController@hide', - ]); - Route::get('settings/collectionrole/up/{id}', [ - 'as' => 'settings.collectionrole.up', 'uses' => 'Settings\CollectionRoleController@up', - ]); + //=================================================setting collection============================================= + Route::get('/settings/collection', [ + 'as' => 'settings.collection.index', 'uses' => 'Settings\CollectionController@index', + ]); - //================================================================================================================== - //=================================================setting project================================================== - Route::get('/settings/project', [ - 'as' => 'settings.project', 'uses' => 'Settings\CategoryController@index', - ]); - Route::get('/settings/project/add', [ - 'as' => 'settings.project.add', 'uses' => 'Settings\CategoryController@add', - ]); - Route::post('settings/project/add', [ - 'as' => 'settings.project.post', 'uses' => 'Settings\CategoryController@store', - ]); - Route::get('settings/project/edit/{id}', [ - 'as' => 'settings.project.edit', 'uses' => 'Settings\CategoryController@edit', - ]); - Route::patch('settings/project/edit/{id}', [ - 'as' => 'settings.project.update', 'uses' => 'Settings\CategoryController@update', - ]); - Route::get('settings/project/delete/{id}', [ - 'as' => 'settings.project.delete', 'uses' => 'Settings\CategoryController@delete', - ]); - //=================================================================================================== - //=================================================setting person==================================== - Route::get('/settings/person', [ - 'as' => 'settings.person', 'uses' => 'Settings\PersonController@index', - ]); - Route::get('/settings/person/add', [ - 'as' => 'settings.person.add', 'uses' => 'Settings\PersonController@add', - ]); - Route::post('settings/person/add', [ - 'as' => 'settings.person.post', 'uses' => 'Settings\PersonController@store', - ]); - Route::get('settings/person/edit/{id}', [ - 'as' => 'settings.person.edit', 'uses' => 'Settings\PersonController@edit', - ]); - Route::patch('settings/person/edit/{id}', [ - 'as' => 'settings.person.update', 'uses' => 'Settings\PersonController@update', - ]); - Route::get('settings/person/delete/{id}', [ - 'as' => 'settings.person.delete', 'uses' => 'Settings\PersonController@delete', - ]); - Route::get('settings/person/down/{id}', [ - 'as' => 'settings.person.down', 'uses' => 'Settings\PersonController@down', - ]); - Route::get('settings/person/up/{id}', [ - 'as' => 'settings.person.up', 'uses' => 'Settings\PersonController@up', - ]); - //======================================================================================================= - //=================================================setting license======================================= - Route::get('/settings/license', [ - 'as' => 'settings.license', 'uses' => 'Settings\LicenseController@index', - ]); - Route::get('settings/license/edit/{id}', [ - 'as' => 'settings.license.edit', 'uses' => 'Settings\LicenseController@edit', - ]); - Route::patch('settings/license/update/{id}', [ - 'as' => 'settings.license.update', 'uses' => 'Settings\LicenseController@update', - ]); -}); + Route::get('/settings/collection/create', [ + 'as' => 'settings.collection.create', 'uses' => 'Settings\CollectionController@create', + ]); + Route::post('settings/collection/store', [ + 'as' => 'settings.collection.store', 'uses' => 'Settings\CollectionController@store', + ]); + + Route::get('settings/collection/edit/{id}', [ + 'as' => 'settings.collection.edit', 'uses' => 'Settings\CollectionController@edit', + ]); + Route::patch('settings/collection/edit/{id}', [ + 'as' => 'settings.collection.update', 'uses' => 'Settings\CollectionController@update', + ]); + Route::get('settings/collection/show/{collection}', [ + 'as' => 'settings.collection.show', 'uses' => 'Settings\CollectionController@show', + ]); + Route::get('settings/collection/delete/{id}', [ + 'as' => 'settings.collection.delete', 'uses' => 'Settings\CollectionController@delete', + ]); + //=================================================setting collection_role========================================= + Route::get('/settings/collectionrole', [ + 'as' => 'settings.collectionrole.index', 'uses' => 'Settings\CollectionRoleController@index', + ]); + + Route::get('settings/collectionrole/edit/{id}', [ + 'as' => 'settings.collectionrole.edit', 'uses' => 'Settings\CollectionRoleController@edit', + ]); + Route::patch('settings/collectionrole/update/{id}', [ + 'as' => 'settings.collectionrole.update', 'uses' => 'Settings\CollectionRoleController@update', + ]); + Route::get('settings/collectionrole/show/{collectionrole}', [ + 'as' => 'settings.collectionrole.show', 'uses' => 'Settings\CollectionRoleController@show', + ]); + Route::get('settings/collectionrole/hide/{id}', [ + 'as' => 'settings.collectionrole.hide', 'uses' => 'Settings\CollectionRoleController@hide', + ]); + Route::get('settings/collectionrole/up/{id}', [ + 'as' => 'settings.collectionrole.up', 'uses' => 'Settings\CollectionRoleController@up', + ]); + + //================================================================================================================== + //=================================================setting project================================================== + Route::get('/settings/project', [ + 'as' => 'settings.project', 'uses' => 'Settings\CategoryController@index', + ]); + Route::get('/settings/project/add', [ + 'as' => 'settings.project.add', 'uses' => 'Settings\CategoryController@add', + ]); + Route::post('settings/project/add', [ + 'as' => 'settings.project.post', 'uses' => 'Settings\CategoryController@store', + ]); + Route::get('settings/project/edit/{id}', [ + 'as' => 'settings.project.edit', 'uses' => 'Settings\CategoryController@edit', + ]); + Route::patch('settings/project/edit/{id}', [ + 'as' => 'settings.project.update', 'uses' => 'Settings\CategoryController@update', + ]); + Route::get('settings/project/delete/{id}', [ + 'as' => 'settings.project.delete', 'uses' => 'Settings\CategoryController@delete', + ]); + //=================================================================================================== + //=================================================setting person==================================== + Route::get('/settings/person', [ + 'as' => 'settings.person', 'uses' => 'Settings\PersonController@index', + ]); + Route::get('/settings/person/add', [ + 'as' => 'settings.person.add', 'uses' => 'Settings\PersonController@add', + ]); + Route::post('settings/person/add', [ + 'as' => 'settings.person.post', 'uses' => 'Settings\PersonController@store', + ]); + Route::get('settings/person/edit/{id}', [ + 'as' => 'settings.person.edit', 'uses' => 'Settings\PersonController@edit', + ]); + Route::patch('settings/person/edit/{id}', [ + 'as' => 'settings.person.update', 'uses' => 'Settings\PersonController@update', + ]); + Route::get('settings/person/delete/{id}', [ + 'as' => 'settings.person.delete', 'uses' => 'Settings\PersonController@delete', + ]); + Route::get('settings/person/down/{id}', [ + 'as' => 'settings.person.down', 'uses' => 'Settings\PersonController@down', + ]); + Route::get('settings/person/up/{id}', [ + 'as' => 'settings.person.up', 'uses' => 'Settings\PersonController@up', + ]); + //======================================================================================================= + //=================================================setting license======================================= + Route::get('/settings/license', [ + 'as' => 'settings.license', 'uses' => 'Settings\LicenseController@index', + ]); + Route::get('settings/license/edit/{id}', [ + 'as' => 'settings.license.edit', 'uses' => 'Settings\LicenseController@edit', + ]); + Route::patch('settings/license/update/{id}', [ + 'as' => 'settings.license.update', 'uses' => 'Settings\LicenseController@update', + ]); + }); //=================================================home frontend controller======================================= /* * Frontend Routes * Namespaces indicate folder structure */ -Route::group(['namespace' => 'Frontend', 'as' => 'frontend.'], function () { - // includeRouteFiles(__DIR__.'/Frontend/'); - Route::get('/test', [ - 'as' => 'home.index', 'uses' => 'HomeController@test', - ]); - Route::get('/', [ - 'as' => 'home.index', 'uses' => 'HomeController@index', - ]); - Route::get('/contact', [ - 'as' => 'home.contact', 'uses' => 'HomeController@contact', - ]); - Route::get('/imprint', [ - 'as' => 'home.imprint', 'uses' => 'HomeController@imprint', - ]); - Route::get('/intro', [ - 'as' => 'home.intro', 'uses' => 'HomeController@intro', - ]); - Route::get('/news', [ - 'as' => 'home.news', 'uses' => 'HomeController@news', - ]); - Route::get('/services', [ - 'as' => 'home.services', 'uses' => 'HomeController@services', - ]); - Route::get('/help', [ - 'as' => 'home.help', 'uses' => 'HomeController@help', - ]); - Route::get('/info', [ - 'as' => 'home.php_info', 'uses' => 'HomeController@phpInfo', - ]); + Route::group(['namespace' => 'Frontend', 'as' => 'frontend.'], function () { + // includeRouteFiles(__DIR__.'/Frontend/'); + Route::get('/test', [ + 'as' => 'home.index', 'uses' => 'HomeController@test', + ]); + Route::get('/', [ + 'as' => 'home.index', 'uses' => 'HomeController@index', + ]); + Route::get('/contact', [ + 'as' => 'home.contact', 'uses' => 'HomeController@contact', + ]); + Route::get('/imprint', [ + 'as' => 'home.imprint', 'uses' => 'HomeController@imprint', + ]); + Route::get('/intro', [ + 'as' => 'home.intro', 'uses' => 'HomeController@intro', + ]); + Route::get('/news', [ + 'as' => 'home.news', 'uses' => 'HomeController@news', + ]); + Route::get('/services', [ + 'as' => 'home.services', 'uses' => 'HomeController@services', + ]); + Route::get('/help', [ + 'as' => 'home.help', 'uses' => 'HomeController@help', + ]); + Route::get('/info', [ + 'as' => 'home.php_info', 'uses' => 'HomeController@phpInfo', + ]); - //=================================================Crawlers==================================================== - Route::get('sitelinks', [ - 'as' => 'sitelinks.index', 'uses' => 'SitelinkController@index', - ]); - Route::get('sitelinks/list/{year}', 'SitelinkController@listDocs')->name('sitelinks.list'); + //=================================================Crawlers==================================================== + Route::get('sitelinks', [ + 'as' => 'sitelinks.index', 'uses' => 'SitelinkController@index', + ]); + Route::get('sitelinks/list/{year}', 'SitelinkController@listDocs')->name('sitelinks.list'); - Route::get('/dataset', [ - 'as' => 'datasets', 'uses' => 'PagesController@datasets', - ]); - Route::get('/dataset/{id}', [ - 'as' => 'dataset.show', 'uses' => 'PagesController@show', - ]); + Route::get('/dataset', [ + 'as' => 'datasets', 'uses' => 'PagesController@datasets', + ]); + Route::get('/dataset/{id}', [ + 'as' => 'dataset.show', 'uses' => 'PagesController@show', + ]); - /* - * Show pages - */ - Route::get('pages/{slug}', 'HomeController@showPage')->name('pages.show'); + /* + * Show pages + */ + Route::get('pages/{slug}', 'HomeController@showPage')->name('pages.show'); - //=================================================solr search==================================================== - // Route::get('/index', [ - // 'as' => 'search.index', 'uses' => 'SearchController@index', - // ]); - Route::post('/queries', [ - 'as' => 'queries', 'uses' => 'SearchController@search', - ]); - Route::get('/queries/', [ - 'as' => 'queries1', 'uses' => 'SearchController@search', - ]); - // Route::get('/ping', 'SearchController@ping'); - Route::get('/ping', 'SolariumController@ping'); - // Route::get('/search', 'SolariumController@search'); - Route::get('/search', [ - 'as' => 'search.index', 'uses' => 'SolariumController@index', - ]); -}); + //=================================================solr search==================================================== + // Route::get('/index', [ + // 'as' => 'search.index', 'uses' => 'SearchController@index', + // ]); + Route::post('/queries', [ + 'as' => 'queries', 'uses' => 'SearchController@search', + ]); + Route::get('/queries/', [ + 'as' => 'queries1', 'uses' => 'SearchController@search', + ]); + // Route::get('/ping', 'SearchController@ping'); + Route::get('/ping', 'SolariumController@ping'); + // Route::get('/search', 'SolariumController@search'); + Route::get('/search', [ + 'as' => 'search.index', 'uses' => 'SolariumController@index', + ]); + }); //=================================================borrow==================================================== -Route::get('borrow', [ - 'as' => 'borrow.borrow', 'uses' => 'BorrowController@index', -]); -Route::post('borrow.post', [ - 'as' => 'borrow.post', 'uses' => 'BorrowController@store', -]); -Route::get('laporan', [ - 'as' => 'borrow.report', 'uses' => 'BorrowController@report', -]); -Route::get('pengembalian/{id}', [ - 'as' => 'borrow.pengembalian', 'uses' => 'BorrowController@pengembalian', -]); -Route::get('perpanjang/{id}', [ - 'as' => 'borrow.perpanjang', 'uses' => 'BorrowController@perpanjang', -]); -Route::get('history', [ - 'as' => 'borrow.history', 'uses' => 'BorrowController@histori', -]); + Route::get('borrow', [ + 'as' => 'borrow.borrow', 'uses' => 'BorrowController@index', + ]); + Route::post('borrow.post', [ + 'as' => 'borrow.post', 'uses' => 'BorrowController@store', + ]); + Route::get('laporan', [ + 'as' => 'borrow.report', 'uses' => 'BorrowController@report', + ]); + Route::get('pengembalian/{id}', [ + 'as' => 'borrow.pengembalian', 'uses' => 'BorrowController@pengembalian', + ]); + Route::get('perpanjang/{id}', [ + 'as' => 'borrow.perpanjang', 'uses' => 'BorrowController@perpanjang', + ]); + Route::get('history', [ + 'as' => 'borrow.history', 'uses' => 'BorrowController@histori', + ]); //====================================authentication=========================================================================== // Route::controllers([ @@ -542,9 +567,9 @@ Route::get('history', [ // ]); // Auth::routes(); // Authentication Routes... -Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); -Route::post('login', 'Auth\LoginController@login'); -Route::get('logout', 'Auth\LoginController@logout')->name('logout'); + Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); + Route::post('login', 'Auth\LoginController@login'); + Route::get('logout', 'Auth\LoginController@logout')->name('logout'); // // Registration Routes... // Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register'); @@ -555,6 +580,13 @@ Route::get('logout', 'Auth\LoginController@logout')->name('logout'); // Route::get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset'); // Route::post('password/reset', 'Auth\ResetPasswordController@reset'); -Route::get('refresh-csrf', function () { - return csrf_token(); -}); + Route::get('refresh-csrf', function () { + return csrf_token(); + }); + +}; + +Route::group(array('domain' => $base_domain), $appRoutes); +if ($alias_domain) { + Route::group(array('domain' => $alias_domain), $appRoutes); +} diff --git a/webpack.mix.js b/webpack.mix.js index 170e4ae..35214cc 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -1,5 +1,6 @@ let mix = require('laravel-mix'); - +require('dotenv').config(); +let webpack = require('webpack') /* |-------------------------------------------------------------------------- | Mix Asset Management siehe https://laravel.com/docs/5.5/mix @@ -55,7 +56,13 @@ mix.js('resources/js/datasetPublish.js', 'public/backend/publish').vue() // defaults. extensions: ['*', '.js', '.jsx', '.vue', '.ts', '.tsx'], }, - }); + plugins: [ + new webpack.DefinePlugin({ // Remove this plugin if you don't plan to define any global constants + DATACITE_PREFIX: JSON.stringify(process.env.DATACITE_PREFIX), + APP_URL: JSON.stringify(process.env.APP_URL) + }), + ] +}); // .options({ // //publicPath: '../' // processCssUrls: false