Migrate rest of JS out of HTML

This commit is contained in:
Tyler Vigario committed 2020-06-09 18:11:19 -07:00
1 parent 66bf1f1510
commit 716b55b020
5 files changed
+105 -71

No files matched your search

+4 -4
View File
@@ -11,7 +11,7 @@
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/!function(t,c){"use strict";"object"==typeof e.exports?e.exports=t.document?c(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return c(e)}:c(t)}("undefined"!=typeof window?window:this,(function(c,i){"use strict";var a=[],r=Object.getPrototypeOf,o=a.slice,s=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},l=a.push,f=a.indexOf,h={},u=h.toString,p=h.hasOwnProperty,v=p.toString,m=v.call(Object),d={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},z=function(e){return null!=e&&e===e.window},y=c.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,c){var n,i,a=(c=c||y).createElement("script");if(a.text=e,t)for(n in x)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,i);c.head.appendChild(a).parentNode.removeChild(a)}function M(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[u.call(e)]||"object":typeof e}var H=function(e,t){return new H.fn.init(e,t)};function b(e){var t=!!e&&"length"in e&&e.length,c=M(e);return!g(e)&&!z(e)&&("array"===c||0===t||"number"==typeof t&&t>0&&t-1 in e)}H.fn=H.prototype={jquery:"3.5.1",constructor:H,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=H.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return H.each(this,e)},map:function(e){return this.pushStack(H.map(this,(function(t,c){return e.call(t,c,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(H.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(H.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,c=+e+(e<0?t:0);return this.pushStack(c>=0&&c<t?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:a.sort,splice:a.splice},H.extend=H.fn.extend=function(){var e,t,c,n,i,a,r=arguments[0]||{},o=1,s=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[o]||{},o++),"object"==typeof r||g(r)||(r={}),o===s&&(r=this,o--);o<s;o++)if(null!=(e=arguments[o]))for(t in e)n=e[t],"__proto__"!==t&&r!==n&&(l&&n&&(H.isPlainObject(n)||(i=Array.isArray(n)))?(c=r[t],a=i&&!Array.isArray(c)?[]:i||H.isPlainObject(c)?c:{},i=!1,r[t]=H.extend(l,a,n)):void 0!==n&&(r[t]=n));return r},H.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,c;return!(!e||"[object Object]"!==u.call(e))&&(!(t=r(e))||"function"==typeof(c=p.call(t,"constructor")&&t.constructor)&&v.call(c)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,c){C(e,{nonce:t&&t.nonce},c)},each:function(e,t){var c,n=0;if(b(e))for(c=e.length;n<c&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var c=t||[];return null!=e&&(b(Object(e))?H.merge(c,"string"==typeof e?[e]:e):l.call(c,e)),c},inArray:function(e,t,c){return null==t?-1:f.call(t,e,c)},merge:function(e,t){for(var c=+t.length,n=0,i=e.length;n<c;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,c){for(var n=[],i=0,a=e.length,r=!c;i<a;i++)!t(e[i],i)!==r&&n.push(e[i]);return n},map:function(e,t,c){var n,i,a=0,r=[];if(b(e))for(n=e.length;a<n;a++)null!=(i=t(e[a],a,c))&&r.push(i);else for(a in e)null!=(i=t(e[a],a,c))&&r.push(i);return s(r)},guid:1,support:d}),"function"==typeof Symbol&&(H.fn[Symbol.iterator]=a[Symbol.iterator]),H.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){h["[object "+t+"]"]=t.toLowerCase()}));var V=
*/!function(t,c){"use strict";"object"==typeof e.exports?e.exports=t.document?c(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return c(e)}:c(t)}("undefined"!=typeof window?window:this,(function(c,i){"use strict";var a=[],r=Object.getPrototypeOf,o=a.slice,s=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},l=a.push,f=a.indexOf,h={},u=h.toString,p=h.hasOwnProperty,v=p.toString,m=v.call(Object),d={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},z=function(e){return null!=e&&e===e.window},y=c.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,c){var n,i,a=(c=c||y).createElement("script");if(a.text=e,t)for(n in x)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,i);c.head.appendChild(a).parentNode.removeChild(a)}function M(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[u.call(e)]||"object":typeof e}var H=function(e,t){return new H.fn.init(e,t)};function b(e){var t=!!e&&"length"in e&&e.length,c=M(e);return!g(e)&&!z(e)&&("array"===c||0===t||"number"==typeof t&&t>0&&t-1 in e)}H.fn=H.prototype={jquery:"3.5.1",constructor:H,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=H.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return H.each(this,e)},map:function(e){return this.pushStack(H.map(this,(function(t,c){return e.call(t,c,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(H.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(H.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,c=+e+(e<0?t:0);return this.pushStack(c>=0&&c<t?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:a.sort,splice:a.splice},H.extend=H.fn.extend=function(){var e,t,c,n,i,a,r=arguments[0]||{},o=1,s=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[o]||{},o++),"object"==typeof r||g(r)||(r={}),o===s&&(r=this,o--);o<s;o++)if(null!=(e=arguments[o]))for(t in e)n=e[t],"__proto__"!==t&&r!==n&&(l&&n&&(H.isPlainObject(n)||(i=Array.isArray(n)))?(c=r[t],a=i&&!Array.isArray(c)?[]:i||H.isPlainObject(c)?c:{},i=!1,r[t]=H.extend(l,a,n)):void 0!==n&&(r[t]=n));return r},H.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,c;return!(!e||"[object Object]"!==u.call(e))&&(!(t=r(e))||"function"==typeof(c=p.call(t,"constructor")&&t.constructor)&&v.call(c)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,c){C(e,{nonce:t&&t.nonce},c)},each:function(e,t){var c,n=0;if(b(e))for(c=e.length;n<c&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var c=t||[];return null!=e&&(b(Object(e))?H.merge(c,"string"==typeof e?[e]:e):l.call(c,e)),c},inArray:function(e,t,c){return null==t?-1:f.call(t,e,c)},merge:function(e,t){for(var c=+t.length,n=0,i=e.length;n<c;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,c){for(var n=[],i=0,a=e.length,r=!c;i<a;i++)!t(e[i],i)!==r&&n.push(e[i]);return n},map:function(e,t,c){var n,i,a=0,r=[];if(b(e))for(n=e.length;a<n;a++)null!=(i=t(e[a],a,c))&&r.push(i);else for(a in e)null!=(i=t(e[a],a,c))&&r.push(i);return s(r)},guid:1,support:d}),"function"==typeof Symbol&&(H.fn[Symbol.iterator]=a[Symbol.iterator]),H.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){h["[object "+t+"]"]=t.toLowerCase()}));var L=
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
@@ -22,7 +22,7 @@
*
* Date: 2020-03-14
*/
function(e){var t,c,n,i,a,r,o,s,l,f,h,u,p,v,m,d,g,z,y,x="sizzle"+1*new Date,C=e.document,M=0,H=0,b=se(),V=se(),L=se(),w=se(),N=function(e,t){return e===t&&(h=!0),0},S={}.hasOwnProperty,A=[],T=A.pop,_=A.push,E=A.push,k=A.slice,j=function(e,t){for(var c=0,n=e.length;c<n;c++)if(e[c]===t)return c;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",P="(?:\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+O+"*("+P+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+O+"*\\]",q=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",R=new RegExp(O+"+","g"),F=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),B=new RegExp("^"+O+"*,"+O+"*"),Q=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),$=new RegExp(O+"|>"),W=new RegExp(q),Z=new RegExp("^"+P+"$"),U={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\([^\\r\\n\\f])","g"),ce=function(e,t){var c="0x"+e.slice(1)-65536;return t||(c<0?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,1023&c|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){u()},re=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{E.apply(A=k.call(C.childNodes),C.childNodes),A[C.childNodes.length].nodeType}catch(e){E={apply:A.length?function(e,t){_.apply(e,k.call(t))}:function(e,t){for(var c=e.length,n=0;e[c++]=t[n++];);e.length=c-1}}}function oe(e,t,n,i){var a,o,l,f,h,v,g,z=t&&t.ownerDocument,C=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return n;if(!i&&(u(t),t=t||p,m)){if(11!==C&&(h=J.exec(e)))if(a=h[1]){if(9===C){if(!(l=t.getElementById(a)))return n;if(l.id===a)return n.push(l),n}else if(z&&(l=z.getElementById(a))&&y(t,l)&&l.id===a)return n.push(l),n}else{if(h[2])return E.apply(n,t.getElementsByTagName(e)),n;if((a=h[3])&&c.getElementsByClassName&&t.getElementsByClassName)return E.apply(n,t.getElementsByClassName(a)),n}if(c.qsa&&!w[e+" "]&&(!d||!d.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(g=e,z=t,1===C&&($.test(e)||Q.test(e))){for((z=ee.test(e)&&ge(t.parentNode)||t)===t&&c.scope||((f=t.getAttribute("id"))?f=f.replace(ne,ie):t.setAttribute("id",f=x)),o=(v=r(e)).length;o--;)v[o]=(f?"#"+f:":scope")+" "+ye(v[o]);g=v.join(",")}try{return E.apply(n,z.querySelectorAll(g)),n}catch(t){w(e,!0)}finally{f===x&&t.removeAttribute("id")}}}return s(e.replace(F,"$1"),t,n,i)}function se(){var e=[];return function t(c,i){return e.push(c+" ")>n.cacheLength&&delete t[e.shift()],t[c+" "]=i}}function le(e){return e[x]=!0,e}function fe(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var c=e.split("|"),i=c.length;i--;)n.attrHandle[c[i]]=t}function ue(e,t){var c=t&&e,n=c&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(c)for(;c=c.nextSibling;)if(c===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ve(e){return function(t){var c=t.nodeName.toLowerCase();return("input"===c||"button"===c)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function de(e){return le((function(t){return t=+t,le((function(c,n){for(var i,a=e([],c.length,t),r=a.length;r--;)c[i=a[r]]&&(c[i]=!(n[i]=c[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in c=oe.support={},a=oe.isXML=function(e){var t=e.namespaceURI,c=(e.ownerDocument||e).documentElement;return!G.test(t||c&&c.nodeName||"HTML")},u=oe.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:C;return r!=p&&9===r.nodeType&&r.documentElement?(v=(p=r).documentElement,m=!a(p),C!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),c.scope=fe((function(e){return v.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySLine truncated
function(e){var t,c,n,i,a,r,o,s,l,f,h,u,p,v,m,d,g,z,y,x="sizzle"+1*new Date,C=e.document,M=0,H=0,b=se(),L=se(),V=se(),w=se(),N=function(e,t){return e===t&&(h=!0),0},S={}.hasOwnProperty,A=[],T=A.pop,_=A.push,E=A.push,k=A.slice,j=function(e,t){for(var c=0,n=e.length;c<n;c++)if(e[c]===t)return c;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",P="(?:\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+O+"*("+P+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+O+"*\\]",q=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",R=new RegExp(O+"+","g"),B=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),Q=new RegExp("^"+O+"*([>+~]|"+O+")"+O+"*"),$=new RegExp(O+"|>"),W=new RegExp(q),Z=new RegExp("^"+P+"$"),U={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+O+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+O+"?|\\\\([^\\r\\n\\f])","g"),ce=function(e,t){var c="0x"+e.slice(1)-65536;return t||(c<0?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,1023&c|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){u()},re=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{E.apply(A=k.call(C.childNodes),C.childNodes),A[C.childNodes.length].nodeType}catch(e){E={apply:A.length?function(e,t){_.apply(e,k.call(t))}:function(e,t){for(var c=e.length,n=0;e[c++]=t[n++];);e.length=c-1}}}function oe(e,t,n,i){var a,o,l,f,h,v,g,z=t&&t.ownerDocument,C=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return n;if(!i&&(u(t),t=t||p,m)){if(11!==C&&(h=J.exec(e)))if(a=h[1]){if(9===C){if(!(l=t.getElementById(a)))return n;if(l.id===a)return n.push(l),n}else if(z&&(l=z.getElementById(a))&&y(t,l)&&l.id===a)return n.push(l),n}else{if(h[2])return E.apply(n,t.getElementsByTagName(e)),n;if((a=h[3])&&c.getElementsByClassName&&t.getElementsByClassName)return E.apply(n,t.getElementsByClassName(a)),n}if(c.qsa&&!w[e+" "]&&(!d||!d.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(g=e,z=t,1===C&&($.test(e)||Q.test(e))){for((z=ee.test(e)&&ge(t.parentNode)||t)===t&&c.scope||((f=t.getAttribute("id"))?f=f.replace(ne,ie):t.setAttribute("id",f=x)),o=(v=r(e)).length;o--;)v[o]=(f?"#"+f:":scope")+" "+ye(v[o]);g=v.join(",")}try{return E.apply(n,z.querySelectorAll(g)),n}catch(t){w(e,!0)}finally{f===x&&t.removeAttribute("id")}}}return s(e.replace(B,"$1"),t,n,i)}function se(){var e=[];return function t(c,i){return e.push(c+" ")>n.cacheLength&&delete t[e.shift()],t[c+" "]=i}}function le(e){return e[x]=!0,e}function fe(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var c=e.split("|"),i=c.length;i--;)n.attrHandle[c[i]]=t}function ue(e,t){var c=t&&e,n=c&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(c)for(;c=c.nextSibling;)if(c===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ve(e){return function(t){var c=t.nodeName.toLowerCase();return("input"===c||"button"===c)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function de(e){return le((function(t){return t=+t,le((function(c,n){for(var i,a=e([],c.length,t),r=a.length;r--;)c[i=a[r]]&&(c[i]=!(n[i]=c[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in c=oe.support={},a=oe.isXML=function(e){var t=e.namespaceURI,c=(e.ownerDocument||e).documentElement;return!G.test(t||c&&c.nodeName||"HTML")},u=oe.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:C;return r!=p&&9===r.nodeType&&r.documentElement?(v=(p=r).documentElement,m=!a(p),C!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),c.scope=fe((function(e){return v.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySLine truncated
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
@@ -47,7 +47,7 @@ function(e){var t,c,n,i,a,r,o,s,l,f,h,u,p,v,m,d,g,z,y,x="sizzle"+1*new Date,C=e.
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var c="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,n=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(c&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=c&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),n))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function r(e,t){if(1!==e.nodeType)return[];var c=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?c[t]:c}function o(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=r(e),c=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(c+i+n)?e:s(o(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var f=c&&!(!window.MSInputMethodContext||!document.documentMode),h=c&&/MSIE 10/.test(navigator.userAgent);function u(e){return 11===e?f:10===e?h:f||h}function p(e){if(!e)return document.documentElement;for(var t=u(10)?document.body:null,c=e.offsetParent||null;c===t&&e.nextElementSibling;)c=(e=e.nextElementSibling).offsetParent;var n=c&&c.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(c.nodeName)&&"static"===r(c,"position")?p(c):c:e?e.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var c=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=c?e:t,i=c?t:e,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var r,o,s=a.commonAncestorContainer;if(e!==s&&t!==s||n.contains(i))return"BODY"===(o=(r=s).nodeName)||"HTML"!==o&&p(r.firstElementChild)!==r?p(s):s;var l=v(e);return l.host?m(l.host,t):m(e,v(t).host)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",c="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||i;return a[c]}return e[c]}function g(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(t,"top"),i=d(t,"left"),a=c?-1:1;return e.top+=n*a,e.bottom+=n*a,e.left+=i*a,e.right+=i*a,e}function z(e,t){var c="x"===t?"Left":"Top",n="Left"===c?"Right":"Bottom";return parseFloat(e["border"+c+"Width"])+parseFloat(e["border"+n+"Width"])}function y(e,t,c,n){return Math.max(t["offset"+e],t["scroll"+e],c["client"+e],c["offset"+e],c["scroll"+e],u(10)?parseInt(c["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,c=e.documentElement,n=u(10)&&getComputedStyle(c);return{height:y("Height",t,c,n),width:y("Width",t,c,n)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=function(){function e(e,t){for(var c=0;c<t.length;c++){var n=t[c];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,c,n){return c&&e(t.prototype,c),n&&e(t,n),t}}(),H=function(e,t,c){return t in e?Object.defineProperty(e,t,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[t]=c,e},b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var c=arguments[t];for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e};function V(e){return b({},e,{right:e.left+e.width,bottom:e.top+e.height})}function L(e){var t={};try{if(u(10)){t=e.getBoundingClientRect();var c=d(e,"top"),n=d(e,"left");t.top+=c,t.left+=n,t.bottom+=c,t.right+=n}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?x(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,s=a.height||e.clientHeight||i.height,l=e.offsetWidth-o,f=e.offsetHeight-s;if(l||f){var h=r(e);l-=z(h,"x"),f-=z(h,"y"),i.width-=l,i.height-=f}return V(i)}function w(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=u(10),i="HTML"===t.nodeName,a=L(e),o=L(t),l=s(e),f=r(t),h=parseFloat(f.borderTopWidth),p=parseFloat(f.borderLeftWidth);c&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var v=V({top:a.top-o.top-h,left:a.left-o.left-p,width:a.width,height:a.height});if(v.marginTop=0,v.marginLeft=0,!n&&i){var m=parseFloat(f.marginTop),d=parseFloat(f.marginLeft);v.top-=h-m,v.bottom-=h-m,v.left-=p-d,v.right-=p-d,v.marginTop=m,v.marginLeft=d}return(n&&!c?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(v=g(v,t)),v}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=e.ownerDocument.documentElement,n=w(e,c),i=Math.max(c.clientWidth,window.innerWidth||0),a=Math.max(c.clientHeight,window.innerHeight||0),r=t?0:d(c),o=t?0:d(c,"left"),s={top:r-n.top+n.marginTop,left:o-Line truncated
var c="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,n=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(c&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=c&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),n))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function r(e,t){if(1!==e.nodeType)return[];var c=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?c[t]:c}function o(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function s(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=r(e),c=t.overflow,n=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(c+i+n)?e:s(o(e))}function l(e){return e&&e.referenceNode?e.referenceNode:e}var f=c&&!(!window.MSInputMethodContext||!document.documentMode),h=c&&/MSIE 10/.test(navigator.userAgent);function u(e){return 11===e?f:10===e?h:f||h}function p(e){if(!e)return document.documentElement;for(var t=u(10)?document.body:null,c=e.offsetParent||null;c===t&&e.nextElementSibling;)c=(e=e.nextElementSibling).offsetParent;var n=c&&c.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(c.nodeName)&&"static"===r(c,"position")?p(c):c:e?e.ownerDocument.documentElement:document.documentElement}function v(e){return null!==e.parentNode?v(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var c=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=c?e:t,i=c?t:e,a=document.createRange();a.setStart(n,0),a.setEnd(i,0);var r,o,s=a.commonAncestorContainer;if(e!==s&&t!==s||n.contains(i))return"BODY"===(o=(r=s).nodeName)||"HTML"!==o&&p(r.firstElementChild)!==r?p(s):s;var l=v(e);return l.host?m(l.host,t):m(e,v(t).host)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",c="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||i;return a[c]}return e[c]}function g(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=d(t,"top"),i=d(t,"left"),a=c?-1:1;return e.top+=n*a,e.bottom+=n*a,e.left+=i*a,e.right+=i*a,e}function z(e,t){var c="x"===t?"Left":"Top",n="Left"===c?"Right":"Bottom";return parseFloat(e["border"+c+"Width"])+parseFloat(e["border"+n+"Width"])}function y(e,t,c,n){return Math.max(t["offset"+e],t["scroll"+e],c["client"+e],c["offset"+e],c["scroll"+e],u(10)?parseInt(c["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,c=e.documentElement,n=u(10)&&getComputedStyle(c);return{height:y("Height",t,c,n),width:y("Width",t,c,n)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M=function(){function e(e,t){for(var c=0;c<t.length;c++){var n=t[c];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,c,n){return c&&e(t.prototype,c),n&&e(t,n),t}}(),H=function(e,t,c){return t in e?Object.defineProperty(e,t,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[t]=c,e},b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var c=arguments[t];for(var n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n])}return e};function L(e){return b({},e,{right:e.left+e.width,bottom:e.top+e.height})}function V(e){var t={};try{if(u(10)){t=e.getBoundingClientRect();var c=d(e,"top"),n=d(e,"left");t.top+=c,t.left+=n,t.bottom+=c,t.right+=n}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===e.nodeName?x(e.ownerDocument):{},o=a.width||e.clientWidth||i.width,s=a.height||e.clientHeight||i.height,l=e.offsetWidth-o,f=e.offsetHeight-s;if(l||f){var h=r(e);l-=z(h,"x"),f-=z(h,"y"),i.width-=l,i.height-=f}return L(i)}function w(e,t){var c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=u(10),i="HTML"===t.nodeName,a=V(e),o=V(t),l=s(e),f=r(t),h=parseFloat(f.borderTopWidth),p=parseFloat(f.borderLeftWidth);c&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var v=L({top:a.top-o.top-h,left:a.left-o.left-p,width:a.width,height:a.height});if(v.marginTop=0,v.marginLeft=0,!n&&i){var m=parseFloat(f.marginTop),d=parseFloat(f.marginLeft);v.top-=h-m,v.bottom-=h-m,v.left-=p-d,v.right-=p-d,v.marginTop=m,v.marginLeft=d}return(n&&!c?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(v=g(v,t)),v}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=e.ownerDocument.documentElement,n=w(e,c),i=Math.max(c.clientWidth,window.innerWidth||0),a=Math.max(c.clientHeight,window.innerHeight||0),r=t?0:d(c),o=t?0:d(c,"left"),s={top:r-n.top+n.marginTop,left:o-Line truncated
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
@@ -57,5 +57,5 @@ var c="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typ
* https://js.foundation/
*
* Date: 2020-03-14
*/!function(i){var a,r,o,s,l,f,h,u,p,v,m,d,g,z,y,x,C,M,H,b="sizzle"+1*new Date,V=i.document,L=0,w=0,N=ue(),S=ue(),A=ue(),T=ue(),_=function(e,t){return e===t&&(m=!0),0},E={}.hasOwnProperty,k=[],j=k.pop,D=k.push,O=k.push,P=k.slice,I=function(e,t){for(var c=0,n=e.length;c<n;c++)if(e[c]===t)return c;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+R+"*("+F+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+R+"*\\]",Q=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",$=new RegExp(R+"+","g"),W=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),Z=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),G=new RegExp(R+"|>"),X=new RegExp(Q),Y=new RegExp("^"+F+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,ee=/^(?:input|select|textarea|button)$/i,te=/^h\d$/i,ce=/^[^{]+\{\s*\[native \w/,ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ie=/[+~]/,ae=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,t){var c="0x"+e.slice(1)-65536;return t||(c<0?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,1023&c|56320))},oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,se=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},le=function(){d()},fe=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(k=P.call(V.childNodes),V.childNodes),k[V.childNodes.length].nodeType}catch(e){O={apply:k.length?function(e,t){D.apply(e,P.call(t))}:function(e,t){for(var c=e.length,n=0;e[c++]=t[n++];);e.length=c-1}}}function he(e,t,c,n){var i,a,o,s,l,h,p,v=t&&t.ownerDocument,m=t?t.nodeType:9;if(c=c||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return c;if(!n&&(d(t),t=t||g,y)){if(11!==m&&(l=ne.exec(e)))if(i=l[1]){if(9===m){if(!(o=t.getElementById(i)))return c;if(o.id===i)return c.push(o),c}else if(v&&(o=v.getElementById(i))&&H(t,o)&&o.id===i)return c.push(o),c}else{if(l[2])return O.apply(c,t.getElementsByTagName(e)),c;if((i=l[3])&&r.getElementsByClassName&&t.getElementsByClassName)return O.apply(c,t.getElementsByClassName(i)),c}if(r.qsa&&!T[e+" "]&&(!x||!x.test(e))&&(1!==m||"object"!==t.nodeName.toLowerCase())){if(p=e,v=t,1===m&&(G.test(e)||U.test(e))){for((v=ie.test(e)&&Ce(t.parentNode)||t)===t&&r.scope||((s=t.getAttribute("id"))?s=s.replace(oe,se):t.setAttribute("id",s=b)),a=(h=f(e)).length;a--;)h[a]=(s?"#"+s:":scope")+" "+He(h[a]);p=h.join(",")}try{return O.apply(c,v.querySelectorAll(p)),c}catch(t){T(e,!0)}finally{s===b&&t.removeAttribute("id")}}}return u(e.replace(W,"$1"),t,c,n)}function ue(){var e=[];return function t(c,n){return e.push(c+" ")>o.cacheLength&&delete t[e.shift()],t[c+" "]=n}}function pe(e){return e[b]=!0,e}function ve(e){var t=g.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function me(e,t){for(var c=e.split("|"),n=c.length;n--;)o.attrHandle[c[n]]=t}function de(e,t){var c=t&&e,n=c&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(c)for(;c=c.nextSibling;)if(c===t)return-1;return e?1:-1}function ge(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ze(e){return function(t){var c=t.nodeName.toLowerCase();return("input"===c||"button"===c)&&t.type===e}}function ye(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&fe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function xe(e){return pe((function(t){return t=+t,pe((function(c,n){for(var i,a=e([],c.length,t),r=a.length;r--;)c[i=a[r]]&&(c[i]=!(n[i]=c[i]))}))}))}function Ce(e){return e&&void 0!==e.getElementsByTagName&&e}for(a in r=he.support={},l=he.isXML=function(e){var t=e.namespaceURI,c=(e.ownerDocument||e).documentElement;return!J.test(t||c&&c.nodeName||"HTML")},d=he.setDocument=function(e){var t,c,n=e?e.ownerDocument||e:V;return n!=g&&9===n.nodeType&&n.documentElement?(z=(g=n).documentElement,y=!l(g),V!=g&&(c=g.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener("unload",le,!1):c.attachEvent&&c.attachEvent("onunload",le)),r.scope=ve((function(e){return z.appendChild(e).appendChild(g.createElement("div")),void 0!=Line truncated
*/!function(i){var a,r,o,s,l,f,h,u,p,v,m,d,g,z,y,x,C,M,H,b="sizzle"+1*new Date,L=i.document,V=0,w=0,N=ue(),S=ue(),A=ue(),T=ue(),_=function(e,t){return e===t&&(m=!0),0},E={}.hasOwnProperty,k=[],j=k.pop,D=k.push,O=k.push,P=k.slice,I=function(e,t){for(var c=0,n=e.length;c<n;c++)if(e[c]===t)return c;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+R+"*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",Q=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",$=new RegExp(R+"+","g"),W=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),Z=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),G=new RegExp(R+"|>"),X=new RegExp(Q),Y=new RegExp("^"+B+"$"),K={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,ee=/^(?:input|select|textarea|button)$/i,te=/^h\d$/i,ce=/^[^{]+\{\s*\[native \w/,ne=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ie=/[+~]/,ae=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,t){var c="0x"+e.slice(1)-65536;return t||(c<0?String.fromCharCode(c+65536):String.fromCharCode(c>>10|55296,1023&c|56320))},oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,se=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},le=function(){d()},fe=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(k=P.call(L.childNodes),L.childNodes),k[L.childNodes.length].nodeType}catch(e){O={apply:k.length?function(e,t){D.apply(e,P.call(t))}:function(e,t){for(var c=e.length,n=0;e[c++]=t[n++];);e.length=c-1}}}function he(e,t,c,n){var i,a,o,s,l,h,p,v=t&&t.ownerDocument,m=t?t.nodeType:9;if(c=c||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return c;if(!n&&(d(t),t=t||g,y)){if(11!==m&&(l=ne.exec(e)))if(i=l[1]){if(9===m){if(!(o=t.getElementById(i)))return c;if(o.id===i)return c.push(o),c}else if(v&&(o=v.getElementById(i))&&H(t,o)&&o.id===i)return c.push(o),c}else{if(l[2])return O.apply(c,t.getElementsByTagName(e)),c;if((i=l[3])&&r.getElementsByClassName&&t.getElementsByClassName)return O.apply(c,t.getElementsByClassName(i)),c}if(r.qsa&&!T[e+" "]&&(!x||!x.test(e))&&(1!==m||"object"!==t.nodeName.toLowerCase())){if(p=e,v=t,1===m&&(G.test(e)||U.test(e))){for((v=ie.test(e)&&Ce(t.parentNode)||t)===t&&r.scope||((s=t.getAttribute("id"))?s=s.replace(oe,se):t.setAttribute("id",s=b)),a=(h=f(e)).length;a--;)h[a]=(s?"#"+s:":scope")+" "+He(h[a]);p=h.join(",")}try{return O.apply(c,v.querySelectorAll(p)),c}catch(t){T(e,!0)}finally{s===b&&t.removeAttribute("id")}}}return u(e.replace(W,"$1"),t,c,n)}function ue(){var e=[];return function t(c,n){return e.push(c+" ")>o.cacheLength&&delete t[e.shift()],t[c+" "]=n}}function pe(e){return e[b]=!0,e}function ve(e){var t=g.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function me(e,t){for(var c=e.split("|"),n=c.length;n--;)o.attrHandle[c[n]]=t}function de(e,t){var c=t&&e,n=c&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(c)for(;c=c.nextSibling;)if(c===t)return-1;return e?1:-1}function ge(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ze(e){return function(t){var c=t.nodeName.toLowerCase();return("input"===c||"button"===c)&&t.type===e}}function ye(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&fe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function xe(e){return pe((function(t){return t=+t,pe((function(c,n){for(var i,a=e([],c.length,t),r=a.length;r--;)c[i=a[r]]&&(c[i]=!(n[i]=c[i]))}))}))}function Ce(e){return e&&void 0!==e.getElementsByTagName&&e}for(a in r=he.support={},l=he.isXML=function(e){var t=e.namespaceURI,c=(e.ownerDocument||e).documentElement;return!J.test(t||c&&c.nodeName||"HTML")},d=he.setDocument=function(e){var t,c,n=e?e.ownerDocument||e:L;return n!=g&&9===n.nodeType&&n.documentElement?(z=(g=n).documentElement,y=!l(g),L!=g&&(c=g.defaultView)&&c.top!==c&&(c.addEventListener?c.addEventListener("unload",le,!1):c.attachEvent&&c.attachEvent("onunload",le)),r.scope=ve((function(e){return z.appendChild(e).appendChild(g.createElement("div")),void 0!=Line truncated
//# sourceMappingURL=main.js.map
+1 -1
View File
@@ -1 +1 @@
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/jquery/dist/jquery.js","webpack:///./node_modules/jquery/src/core.js","webpack:///./node_modules/jquery/src/var/isFunction.js","webpack:///./node_modules/core-js/internals/well-known-symbol.js","webpack:///./node_modules/core-js/internals/export.js","webpack:///./node_modules/core-js/internals/global.js","webpack:///./node_modules/jquery/src/var/document.js","webpack:///./node_modules/core-js/internals/fails.js","webpack:///./node_modules/jquery/src/selector.js","webpack:///./node_modules/core-js/internals/has.js","webpack:///./node_modules/core-js/internals/an-object.js","webpack:///./node_modules/jquery/src/core/init.js","webpack:///./node_modules/core-js/internals/descriptors.js","webpack:///./node_modules/core-js/internals/object-define-property.js","webpack:///./node_modules/jquery/src/data/var/dataPriv.js","webpack:///./node_modules/core-js/internals/is-object.js","webpack:///./node_modules/core-js/internals/create-non-enumerable-property.js","webpack:///./node_modules/core-js/internals/to-indexed-object.js","webpack:///./node_modules/jquery/src/core/nodeName.js","webpack:///./node_modules/jquery/src/var/rnothtmlwhite.js","webpack:///./node_modules/jquery/src/var/support.js","webpack:///./node_modules/jquery/src/core/access.js","webpack:///./node_modules/jquery/src/ajax.js","webpack:///./node_modules/core-js/internals/require-object-coercible.js","webpack:///./node_modules/core-js/internals/redefine.js","webpack:///./node_modules/jquery/src/core/toType.js","webpack:///./node_modules/jquery/src/traversing.js","webpack:///./node_modules/jquery/src/deferred.js","webpack:///./node_modules/jquery/src/event.js","webpack:///./node_modules/core-js/internals/to-length.js","webpack:///./node_modules/popper.js/dist/esm/popper.js","webpack:///./node_modules/jquery/src/var/arr.js","webpack:///./node_modules/jquery/src/var/isWindow.js","webpack:///./node_modules/jquery/src/core/camelCase.js","webpack:///./node_modules/jquery/src/css.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/core-js/internals/create-property-descriptor.js","webpack:///./node_modules/core-js/internals/classof-raw.js","webpack:///./node_modules/core-js/internals/to-object.js","webpack:///./node_modules/core-js/internals/array-method-uses-to-length.js","webpack:///./node_modules/core-js/internals/iterators.js","webpack:///./node_modules/jquery/src/var/slice.js","webpack:///./node_modules/jquery/src/var/class2type.js","webpack:///./node_modules/jquery/src/data/var/acceptData.js","webpack:///./node_modules/jquery/src/core/isAttached.js","webpack:///./node_modules/jquery/src/var/documentElement.js","webpack:///./node_modules/jquery/src/manipulation.js","webpack:///./node_modules/core-js/internals/to-primitive.js","webpack:///./node_modules/core-js/internals/internal-state.js","webpack:///./node_modules/core-js/internals/shared-key.js","webpack:///./node_modules/core-js/internals/is-pure.js","webpack:///./node_modules/core-js/internals/hidden-keys.js","webpack:///./node_modules/core-js/internals/get-built-in.js","webpack:///./node_modules/core-js/internals/to-integer.js","webpack:///./node_modules/core-js/internals/is-array.js","webpack:///./node_modules/core-js/internals/array-iteration.js","webpack:///./node_modules/core-js/internals/regexp-exec.js","webpack:///./node_modules/jquery/src/var/indexOf.js","webpack:///./node_modules/jquery/src/var/hasOwn.js","webpack:///./node_modules/jquery/src/callbacks.js","webpack:///./node_modules/jquery/src/queue.js","webpack:///./node_modules/jquery/src/effects.js","webpack:///./node_modules/jquery/src/var/rcssNum.js","webpack:///./node_modules/jquery/src/css/var/cssExpand.js","webpack:///./node_modules/jquery/src/var/rcheckableType.js","webpack:///./node_modules/jquery/src/css/var/rnumnonpx.js","webpack:///./node_modules/jquery/src/css/support.js","webpack:///./node_modules/jquery/src/attributes/support.js","webpack:///./node_modules/jquery/src/core/stripAndCollapse.js","webpack:///./node_modules/jquery/src/event/trigger.js","webpack:///./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack:///./node_modules/core-js/internals/object-property-is-enumerable.js","webpack:///./node_modules/core-js/internals/indexed-object.js","webpack:///./node_modules/core-js/internals/set-global.js","webpack:///./node_modules/core-js/internals/shared.js","webpack:///./node_modules/core-js/internals/uid.js","webpack:///./node_modules/core-js/internals/object-get-own-property-names.js","webpack:///./node_modules/core-js/internals/enum-bug-keys.js","webpack:///./node_modules/core-js/internals/native-symbol.js","webpack:///./node_modules/core-js/internals/object-create.js","webpack:///./node_modules/core-js/internals/object-keys.js","webpack:///./node_modules/core-js/internals/set-to-string-tag.js","webpack:///./node_modules/core-js/internals/add-to-unscopables.js","webpack:///./node_modules/core-js/intLine truncated
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/jquery/dist/jquery.js","webpack:///./node_modules/jquery/src/core.js","webpack:///./node_modules/jquery/src/var/isFunction.js","webpack:///./node_modules/core-js/internals/well-known-symbol.js","webpack:///./node_modules/core-js/internals/export.js","webpack:///./node_modules/core-js/internals/global.js","webpack:///./node_modules/jquery/src/var/document.js","webpack:///./node_modules/core-js/internals/fails.js","webpack:///./node_modules/jquery/src/selector.js","webpack:///./node_modules/core-js/internals/has.js","webpack:///./node_modules/core-js/internals/an-object.js","webpack:///./node_modules/jquery/src/core/init.js","webpack:///./node_modules/core-js/internals/descriptors.js","webpack:///./node_modules/core-js/internals/object-define-property.js","webpack:///./node_modules/jquery/src/data/var/dataPriv.js","webpack:///./node_modules/core-js/internals/is-object.js","webpack:///./node_modules/core-js/internals/create-non-enumerable-property.js","webpack:///./node_modules/core-js/internals/to-indexed-object.js","webpack:///./node_modules/jquery/src/core/nodeName.js","webpack:///./node_modules/jquery/src/var/rnothtmlwhite.js","webpack:///./node_modules/jquery/src/var/support.js","webpack:///./node_modules/jquery/src/core/access.js","webpack:///./node_modules/jquery/src/ajax.js","webpack:///./node_modules/core-js/internals/require-object-coercible.js","webpack:///./node_modules/core-js/internals/redefine.js","webpack:///./node_modules/jquery/src/core/toType.js","webpack:///./node_modules/jquery/src/traversing.js","webpack:///./node_modules/jquery/src/deferred.js","webpack:///./node_modules/jquery/src/event.js","webpack:///./node_modules/core-js/internals/to-length.js","webpack:///./node_modules/popper.js/dist/esm/popper.js","webpack:///./node_modules/jquery/src/var/arr.js","webpack:///./node_modules/jquery/src/var/isWindow.js","webpack:///./node_modules/jquery/src/core/camelCase.js","webpack:///./node_modules/jquery/src/css.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/core-js/internals/create-property-descriptor.js","webpack:///./node_modules/core-js/internals/classof-raw.js","webpack:///./node_modules/core-js/internals/to-object.js","webpack:///./node_modules/core-js/internals/array-method-uses-to-length.js","webpack:///./node_modules/core-js/internals/iterators.js","webpack:///./node_modules/jquery/src/var/slice.js","webpack:///./node_modules/jquery/src/var/class2type.js","webpack:///./node_modules/jquery/src/data/var/acceptData.js","webpack:///./node_modules/jquery/src/core/isAttached.js","webpack:///./node_modules/jquery/src/var/documentElement.js","webpack:///./node_modules/jquery/src/manipulation.js","webpack:///./node_modules/core-js/internals/to-primitive.js","webpack:///./node_modules/core-js/internals/internal-state.js","webpack:///./node_modules/core-js/internals/shared-key.js","webpack:///./node_modules/core-js/internals/is-pure.js","webpack:///./node_modules/core-js/internals/hidden-keys.js","webpack:///./node_modules/core-js/internals/get-built-in.js","webpack:///./node_modules/core-js/internals/to-integer.js","webpack:///./node_modules/core-js/internals/is-array.js","webpack:///./node_modules/core-js/internals/array-iteration.js","webpack:///./node_modules/core-js/internals/regexp-exec.js","webpack:///./node_modules/jquery/src/var/indexOf.js","webpack:///./node_modules/jquery/src/var/hasOwn.js","webpack:///./node_modules/jquery/src/callbacks.js","webpack:///./node_modules/jquery/src/queue.js","webpack:///./node_modules/jquery/src/effects.js","webpack:///./node_modules/jquery/src/var/rcssNum.js","webpack:///./node_modules/jquery/src/css/var/cssExpand.js","webpack:///./node_modules/jquery/src/var/rcheckableType.js","webpack:///./node_modules/jquery/src/css/var/rnumnonpx.js","webpack:///./node_modules/jquery/src/css/support.js","webpack:///./node_modules/jquery/src/attributes/support.js","webpack:///./node_modules/jquery/src/core/stripAndCollapse.js","webpack:///./node_modules/jquery/src/event/trigger.js","webpack:///./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack:///./node_modules/core-js/internals/object-property-is-enumerable.js","webpack:///./node_modules/core-js/internals/indexed-object.js","webpack:///./node_modules/core-js/internals/set-global.js","webpack:///./node_modules/core-js/internals/shared.js","webpack:///./node_modules/core-js/internals/uid.js","webpack:///./node_modules/core-js/internals/object-get-own-property-names.js","webpack:///./node_modules/core-js/internals/enum-bug-keys.js","webpack:///./node_modules/core-js/internals/native-symbol.js","webpack:///./node_modules/core-js/internals/object-create.js","webpack:///./node_modules/core-js/internals/object-keys.js","webpack:///./node_modules/core-js/internals/set-to-string-tag.js","webpack:///./node_modules/core-js/internals/add-to-unscopables.js","webpack:///./node_modules/core-js/intLine truncated
+1 -1
View File
@@ -1 +1 @@
<!doctype html><head><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta charset="UTF-8"><title>botamusique web interface</title><link rel="icon" href="static/img/favicon.ico"/><link id="pagestyle" rel="stylesheet" href="static/css/main.css"></head><body><div class="container page-header mb-5" id="banner"><div class="row"><div class="col-auto"><img src="static/img/logo.png" height="200px"></div><div class="col my-auto"><h1>botamusique Web Interface</h1></div></div></div><div id="playlist" class="container mb-5"><div class="btn-toolbar mb-2" role="toolbar" aria-label="Playlist controls"><button type="button" id="play-pause-btn" class="btn btn-info mb-2 btn-space"><i class="fas fa-play"></i></button> <button type="button" id="fast-forward-btn" class="btn btn-info mb-2"><i class="fas fa-fast-forward"></i></button><div class="ml-auto"><div class="dropdown mr-2"><button class="btn btn-secondary dropdown-toggle" type="button" id="play-mode" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-tasks mr-2" aria-hidden="true" id="modeIndicator"></i></button><div class="dropdown-menu" aria-labelledby="play-mode"><a class="dropdown-item" href="#" id="one-shot-mode-btn"><i class="fas fa-tasks mr-2" aria-hidden="true"></i>One-shot </a><a class="dropdown-item" href="#" id="random-mode-btn"><i class="fas fa-random mr-2" aria-hidden="true"></i>Random </a><a class="dropdown-item" href="#" id="repeat-mode-btn"><i class="fas fa-redo mr-2" aria-hidden="true"></i>Repeat </a><a class="dropdown-item" href="#" id="autoplay-mode-btn"><i class="fas fa-robot mr-2" aria-hidden="true"></i>Autoplay</a></div></div><button type="button" id="volume-popover-btn" class="btn btn-warning ml-1"><i class="fa fa-volume-up" aria-hidden="true"></i></button><div id="volume-popover"><a id="volume-down-btn"><i class="fa fa-volume-down" aria-hidden="true"></i> </a><input type="range" class="custom-range ml-1" id="volume-slider" min="0" max="1" step="0.01" value="0.5"/> <a id="volume-up-btn"><i class="fa fa-volume-up" aria-hidden="true"></i></a><div id="volume-popover-arrow"></div></div></div></div><div class="table-responsive"><table class="table table-striped table-hover"><thead><tr><th scope="col" class="d-none d-md-table-cell">#</th><th scope="col" class="w-50">Title</th><th scope="col" class="d-none d-md-table-cell">Url/Path</th><th scope="col">Action</th></tr></thead><tbody id="playlist-table" class="playlist-table"><tr id="playlist-loading"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="static/img/loading.svg"/></td></tr><tr id="playlist-empty" class="d-none"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="static/img/empty_box.svg"/></td></tr><tr class="playlist-expand table-dark d-none"><td colspan="4" class="text-center"><a class="text-muted" href="javascript:">See item <span class="playlist-expand-item-range"></span> on the playlist.</a></td></tr><tr class="playlist-item-template d-none"><th scope="row" class="playlist-item-index d-none d-md-table-cell"></th><td><input hidden class="playlist-item-id" value=""/><div class="float-left"><img width="80" class="playlist-item-thumbnail" src="static/img/unknown-album.png"/></div><div class="playlist-artwork"><b class="playlist-item-title"></b> <span class="playlist-item-type badge badge-secondary"></span><br/><span class="playlist-item-artist"></span><br/><div class="playlist-item-tags"><a class="playlist-item-edit tag-space tag-click"><i class="fas fa-edit" style="color: #AAAAAA"></i></a></div></div></td><td class="d-none d-md-table-cell"><small class="playlist-item-path"></small></td><td><div class="btn-group"><button type="button" class="playlist-item-play btn btn-info btn-sm"><i class="fas fa-play" aria-hidden="true"></i></button> <button type="button" class="playlist-item-trash btn btn-danger btn-sm ml-1"><i class="fas fa-trash-alt" aria-hidden="true"></i></button></div></td></tr></tbody></table></div><div class="btn-group"><button type="button" id="clear-playlist-btn" class="btn btn-danger mr-1"><i class="fas fa-trash-alt" aria-hidden="true"></i> Clear Playlist</button></div></div><div class="container mb-3"><h2 id="forms">Music Library</h2><div class="card mb-3"><div class="card-header"><h5 class="card-title">Filters</h5><hr><div class="row"><div class="col"><label>Type</label><div id="filter-type" class="input-group mb-2"><div class="btn-group btn-group-sm btn-group-toggle"><label id="filter-type-file" class="btn btn-secondary"><input type="checkbox" name="options"> File</label> <label id="filter-type-url" class="btn btn-secondary"><input type="checkbox" name="options"> URL</label> <label id="filter-type-radio" class="btn btn-secondary"><input type="checkbox" name="options"> Radio</label></div></div><label for="filter-dir">Directory</label><div id="filter-path" class="input-group mb-2"><select class="form-control form-control-sm" id="filter-dir" disabled="disLine truncated
<!doctype html><head><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta charset="UTF-8"><title>botamusique web interface</title><link rel="icon" href="static/img/favicon.ico"/><link id="pagestyle" rel="stylesheet" href="static/css/main.css"></head><body><div class="container page-header mb-5" id="banner"><div class="row"><div class="col-auto"><img src="static/img/logo.png" height="200px"></div><div class="col my-auto"><h1>botamusique Web Interface</h1></div></div></div><div id="playlist" class="container mb-5"><div class="btn-toolbar mb-2" role="toolbar" aria-label="Playlist controls"><button type="button" id="play-pause-btn" class="btn btn-info mb-2 btn-space"><i class="fas fa-play"></i></button> <button type="button" id="fast-forward-btn" class="btn btn-info mb-2"><i class="fas fa-fast-forward"></i></button><div class="ml-auto"><div class="dropdown mr-2"><button class="btn btn-secondary dropdown-toggle" type="button" id="play-mode" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-tasks mr-2" aria-hidden="true" id="modeIndicator"></i></button><div class="dropdown-menu" aria-labelledby="play-mode"><a class="dropdown-item" href="#" id="one-shot-mode-btn"><i class="fas fa-tasks mr-2" aria-hidden="true"></i>One-shot </a><a class="dropdown-item" href="#" id="random-mode-btn"><i class="fas fa-random mr-2" aria-hidden="true"></i>Random </a><a class="dropdown-item" href="#" id="repeat-mode-btn"><i class="fas fa-redo mr-2" aria-hidden="true"></i>Repeat </a><a class="dropdown-item" href="#" id="autoplay-mode-btn"><i class="fas fa-robot mr-2" aria-hidden="true"></i>Autoplay</a></div></div><button type="button" id="volume-popover-btn" class="btn btn-warning ml-1"><i class="fa fa-volume-up" aria-hidden="true"></i></button><div id="volume-popover"><a id="volume-down-btn"><i class="fa fa-volume-down" aria-hidden="true"></i> </a><input type="range" class="custom-range ml-1" id="volume-slider" min="0" max="1" step="0.01" value="0.5"/> <a id="volume-up-btn"><i class="fa fa-volume-up" aria-hidden="true"></i></a><div id="volume-popover-arrow"></div></div></div></div><div class="table-responsive"><table class="table table-striped table-hover"><thead><tr><th scope="col" class="d-none d-md-table-cell">#</th><th scope="col" class="w-50">Title</th><th scope="col" class="d-none d-md-table-cell">Url/Path</th><th scope="col">Action</th></tr></thead><tbody id="playlist-table" class="playlist-table"><tr id="playlist-loading"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="static/img/loading.svg"/></td></tr><tr id="playlist-empty" class="d-none"><td colspan="4" class="text-center"><img style="margin: auto; width: 35px;" src="static/img/empty_box.svg"/></td></tr><tr class="playlist-expand table-dark d-none"><td colspan="4" class="text-center"><a class="text-muted" href="javascript:">See item <span class="playlist-expand-item-range"></span> on the playlist.</a></td></tr><tr class="playlist-item-template d-none"><th scope="row" class="playlist-item-index d-none d-md-table-cell"></th><td><input hidden class="playlist-item-id" value=""/><div class="float-left"><img width="80" class="playlist-item-thumbnail" src="static/img/unknown-album.png"/></div><div class="playlist-artwork"><b class="playlist-item-title"></b> <span class="playlist-item-type badge badge-secondary"></span><br/><span class="playlist-item-artist"></span><br/><div class="playlist-item-tags"><a class="playlist-item-edit tag-space tag-click"><i class="fas fa-edit" style="color: #AAAAAA"></i></a></div></div></td><td class="d-none d-md-table-cell"><small class="playlist-item-path"></small></td><td><div class="btn-group"><button type="button" class="playlist-item-play btn btn-info btn-sm"><i class="fas fa-play" aria-hidden="true"></i></button> <button type="button" class="playlist-item-trash btn btn-danger btn-sm ml-1"><i class="fas fa-trash-alt" aria-hidden="true"></i></button></div></td></tr></tbody></table></div><div class="btn-group"><button type="button" id="clear-playlist-btn" class="btn btn-danger mr-1"><i class="fas fa-trash-alt" aria-hidden="true"></i> Clear Playlist</button></div></div><div class="container mb-3"><h2 id="forms">Music Library</h2><div class="card mb-3"><div class="card-header"><h5 class="card-title">Filters</h5><hr><div class="row"><div class="col"><label>Type</label><div id="filter-type" class="input-group mb-2"><div class="btn-group btn-group-sm btn-group-toggle"><label id="filter-type-file" class="btn btn-secondary"><input type="checkbox" name="options"> File</label> <label id="filter-type-url" class="btn btn-secondary"><input type="checkbox" name="options"> URL</label> <label id="filter-type-radio" class="btn btn-secondary"><input type="checkbox" name="options"> Radio</label></div></div><label for="filter-dir">Directory</label><div id="filter-path" class="input-group mb-2"><select class="form-control form-control-sm" id="filter-dir" disabled="disLine truncated
+46 -12
View File
@@ -603,7 +603,7 @@ const download_dir = download_form.find('input[name=\'dir\']');
const download_tags = download_form.find('input[name=\'tags\']');
const download_keywords = download_form.find('input[name=\'keywords\']');
function addAllResults() {
document.getElementById('add-to-playlist-btn').addEventListener('click', () => {
const data = getFilters();
data.action = 'add';
@@ -616,9 +616,9 @@ function addAllResults() {
});
checkForPlaylistUpdate();
}
});
function deleteAllResults() {
document.getElementById('library-delete-btn').addEventListener('click', () => {
const data = getFilters();
data.action = 'delete';
@@ -632,9 +632,9 @@ function deleteAllResults() {
checkForPlaylistUpdate();
updateResults();
}
});
function downloadAllResults() {
document.getElementById('library-download-btn').addEventListener('click', () => {
const cond = getFilters();
download_id.val();
download_type.val(cond.type);
@@ -642,7 +642,12 @@ function downloadAllResults() {
download_tags.val(cond.tags);
download_keywords.val(cond.keywords);
download_form.submit();
}
});
document.getElementById('library-rescan-btn').addEventListener('click', () => {
request('post', {action: 'rescan'});
updateResults();
});
function downloadId(id) {
download_id.attr('value', id);
@@ -760,7 +765,7 @@ function addTagModalShow(_id, _title, _tag_tuples) {
add_tag_modal.modal('show');
}
function addTagModalAdd() {
document.getElementById('addTagModalAddBtn').addEventListener('click', () => {
const new_tags = add_tag_modal_input.val().split(',').map(function(str) {
return str.trim();
});
@@ -776,9 +781,9 @@ function addTagModalAdd() {
modal_tag_text.html('');
});
add_tag_modal_input.val('');
}
});
function addTagModalSubmit() {
document.getElementById('addTagModalSubmit').addEventListener('click', () => {
const all_tags = $('.modal-tag-text');
const tags = [];
all_tags.each(function(i, element) {
@@ -797,7 +802,7 @@ function addTagModalSubmit() {
},
});
updateResults(active_page);
}
});
// ---------------------
// ------- Volume ------
@@ -1030,6 +1035,23 @@ function uploadCancel() {
areYouSureToCancelUploading = !areYouSureToCancelUploading;
}
//
// URLS & Radio
//
const musicUrlInput = document.getElementById('music-url-input');
const radioUrlInput = document.getElementById('radio-url-input');
document.getElementById('add-music-url').querySelector('button').addEventListener('click', () => {
request('post', {add_url: musicUrlInput.value});
musicUrlInput.value = '';
});
document.getElementById('add-radio-url').querySelector('button').addEventListener('click', () => {
request('post', {add_radio: radioUrlInput.value});
radioUrlInput.value = '';
});
// ---------------------
// ------ Player ------
// ---------------------
@@ -1047,9 +1069,21 @@ const playerSkipBtn = document.getElementById('playerSkipBtn');
let currentPlayingItem = null;
function togglePlayer() {
playerPlayBtn.addEventListener('click', () => {
request('post', {action: 'resume'});
});
playerPauseBtn.addEventListener('click', () => {
request('post', {action: 'pause'});
});
playerSkipBtn.addEventListener('click', () => {
request('post', {action: 'next'});
});
document.getElementById('player-toast').addEventListener('click', () => {
$(player).toast('show');
}
});
function playerSetIdle() {
playerArtwork.style.display = 'none';
+53 -53
View File
@@ -237,13 +237,11 @@
<path d="m5.700245,3.92964l0,14.150376l11.451127,-7.075188l-11.451127,-7.075188z"></path>
<path d="m20.942859,18.221072l-3.323292,0l0,3.323292l-1.107764,0l0,-3.323292l-3.323292,0l0,-1.107764l3.323292,0l0,-3.323292l1.107764,0l0,3.323292l3.323292,0l0,1.107764z"></path>
</svg>
</button>
<button class="library-item-add-bottom library-btn btn btn-info btn-sm btn-space" type="button" title="Add to bottom">
<svg class="library-btn-svg" style="width: 1rem; fill: currentColor;" viewBox="2 2 20 20">
<path d="M2,16H10V14H2M18,14V10H16V14H12V16H16V20H18V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z"></path>
</svg>
</button>
<button class="library-item-download btn btn-primary btn-sm btn-space" type="button">
<i class="fas fa-download" aria-hidden="true"></i>
@@ -257,48 +255,50 @@
</div>
<div class="list-group">
<div id="library-pagination" style="margin-left: auto; margin-top: 10px;">
<ul id="library-page-ul" class="pagination pagination">
<li class="library-page-li page-item active">
<a class="library-page-no page-link">1</a>
</li>
</ul>
</div>
<div id="library-pagination" style="margin-left: auto; margin-top: 10px;">
<ul id="library-page-ul" class="pagination pagination">
<li class="library-page-li page-item active">
<a class="library-page-no page-link">1</a>
</li>
</ul>
</div>
</div>
<div class="btn-group mb-2" role="group">
<button type="submit" class="btn btn-secondary mr-1" onclick="addAllResults()"><i class="fas fa-plus" aria-hidden="true"></i> Add All
</button>
<button type="submit" class="btn btn-secondary mr-1" onclick="request('post', {action : 'rescan'}); updateResults()">
<i class="fas fa-sync-alt" aria-hidden="true"></i> Rescan Files
</button>
<button type="submit" class="btn btn-secondary mr-1" onclick="downloadAllResults()"><i class="fas fa-download" aria-hidden="true"></i> Download All
</button>
<button type="button" class="btn btn-danger mr-1" data-toggle="modal" data-target="#deleteWarningModal"><i class="fas fa-trash-alt" aria-hidden="true"></i>
Delete All
</button>
<button id="add-to-playlist-btn" type="button" class="btn btn-secondary mr-1">
<i class="fas fa-plus" aria-hidden="true"></i> Add All
</button>
<button id="library-rescan-btn" type="button" class="btn btn-secondary mr-1">
<i class="fas fa-sync-alt" aria-hidden="true"></i> Rescan Files
</button>
<button id="library-download-btn" type="button" class="btn btn-secondary mr-1">
<i class="fas fa-download" aria-hidden="true"></i> Download All
</button>
<button type="button" class="btn btn-danger mr-1" data-toggle="modal" data-target="#deleteWarningModal">
<i class="fas fa-trash-alt" aria-hidden="true"></i> Delete All
</button>
</div>
<div class="modal fade" id="deleteWarningModal" tabindex="-1" role="dialog" aria-labelledby="Warning-Delete-File" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="deleteWarningModalLabel">Are you really sure?</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
All files listed here, include files on other pages, will be deleted from your
hard-drive.
Is that what you want?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger" data-dismiss="modal" onclick="deleteAllResults()">Delete All Listed Files</button>
</div>
</div>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="deleteWarningModalLabel">Are you really sure?</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
All files listed here, include files on other pages, will be deleted from your
hard-drive.
Is that what you want?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button id="library-delete-btn" type="button" class="btn btn-danger" data-dismiss="modal">Delete All Listed Files</button>
</div>
</div>
</div>
</div>
</div>
</div>
@@ -357,38 +357,38 @@
<div class="container mb-5">
<div class="card-deck">
<div class="card">
<div id="add-music-url" class="card">
<div class="card-header">
<h5 class="card-title">Add URL</h5>
</div>
<div class="card-body">
<label for="add_url_input">Add Youtube or Soundcloud URL</label>
<label for="music-url-input">Add Youtube or Soundcloud URL</label>
<div class="input-group mb-2">
<input class="form-control" type="text" id="add_url_input" placeholder="URL...">
<input class="form-control" type="text" id="music-url-input" placeholder="URL...">
</div>
<button type="submit" class="btn btn-primary" onclick="var $i = $('#add_url_input')[0]; request('post', {add_url : $i.value }); $i.value = ''; ">Add
URL
<button type="submit" class="btn btn-primary">
Add URL
</button>
</div>
</div>
<div class="card">
<div id="add-radio-url" class="card">
<div class="card-header">
<h5 class="card-title">Add Radio</h5>
</div>
<div class="card-body">
<label for="add_radio_input">Add Radio URL</label>
<label for="radio-url-input">Add Radio URL</label>
<div class="input-group mb-2">
<input class="form-control" type="text" id="add_radio_input" placeholder="Radio Address...">
<input id="radio-url-input" class="form-control" type="text" placeholder="Radio Address...">
</div>
<button type="submit" class="btn btn-primary" onclick="var $i = $('#add_radio_input')[0]; request('post', {add_radio : $i.value }); $i.value = '';">Add
Radio
<button type="submit" class="btn btn-primary">
Add Radio
</button>
</div>
</div>
</div>
</div>
<div class="floating-button" style="bottom: 120px;" onclick="togglePlayer()">
<div id="player-toast" class="floating-button" style="bottom: 120px;">
<i class="fas fa-play" aria-hidden="true"></i>
</div>
@@ -409,13 +409,13 @@
<img id="playerArtwork" src="static/img/unknown-album.png" style="display: none;" />
<div id="playerInfo">
<div id="playerActionBox">
<button id="playerPlayBtn" class="btn btn-primary btn-sm btn-space" style="display: none" onclick="request('post', {action: 'resume'})">
<button id="playerPlayBtn" class="btn btn-primary btn-sm btn-space" style="display: none">
<i class="fas fa-play"></i>
</button>
<button id="playerPauseBtn" class="btn btn-primary btn-sm btn-space" style="display: none" onclick="request('post', {action: 'pause'})">
<button id="playerPauseBtn" class="btn btn-primary btn-sm btn-space" style="display: none">
<i class="fas fa-pause"></i>
</button>
<button id="playerSkipBtn" class="btn btn-primary btn-sm" onclick="request('post', {action : 'next'})">
<button id="playerSkipBtn" class="btn btn-primary btn-sm">
<i class="fas fa-fast-forward"></i>
</button>
</div>
@@ -461,7 +461,7 @@
</div>
<div class="input-group">
<input class="form-control form-control-sm btn-space" type="text" id="addTagModalInput" placeholder="tag1,tag2,...">
<button id="addTagModalAddBtn" type="button" class="btn btn-primary btn-sm" onclick="addTagModalAdd()">
<button id="addTagModalAddBtn" type="button" class="btn btn-primary btn-sm">
<i class="fas fa-plus" aria-hidden="true"></i>
Add
</button>
@@ -469,7 +469,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button id="addTagModalSubmit" type="button" class="btn btn-success" data-dismiss="modal" onclick="addTagModalSubmit()">Edit!</button>
<button id="addTagModalSubmit" type="button" class="btn btn-success" data-dismiss="modal">Edit!</button>
</div>
</div>
</div>