diff options
Diffstat (limited to 'apps/updatenotification/js/updatenotification.js')
-rw-r--r-- | apps/updatenotification/js/updatenotification.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/js/updatenotification.js b/apps/updatenotification/js/updatenotification.js index d5e2b8dac5d..524a459c6b4 100644 --- a/apps/updatenotification/js/updatenotification.js +++ b/apps/updatenotification/js/updatenotification.js @@ -290,7 +290,7 @@ var i=Object.freeze({});function r(t){return null==t}function o(t){return null!= * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -var i="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],o=0,a=0;a<r.length;a+=1)if(i&&navigator.userAgent.indexOf(r[a])>=0){o=1;break}var s=i&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};function l(t){return t&&"[object Function]"==={}.toString.call(t)}function c(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function p(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=c(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?t:p(u(t))}var d=i&&!(!window.MSInputMethodContext||!document.documentMode),f=i&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?d:10===t?f:d||f}function v(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}function A(t){return null!==t.parentNode?A(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&v(a.firstElementChild)!==a?v(l):l;var c=A(t);return c.host?m(c.host,e):m(t,A(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function y(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function b(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function _(){var t=document.body,e=document.documentElement,n=h(10)&&getComputedStyle(e);return{height:b("Height",t,e,n),width:b("Width",t,e,n)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),C=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function k(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),i=g(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_():{},a=o.width||t.clientWidth||r.right-r.left,s=o.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-a,u=t.offsetHeight-s;if(l||u){var p=c(t);l-=y(p,"x"),u-=y(p,"y"),r.width-=l,r.height-=u}return k(r)}function S(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),r="HTML"===e.nodeName,o=E(t),a=E(e),s=p(t),l=c(e),u=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&"HTML"===e.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=k({top:o.top-a.top-u,left:o.left-a.left-d,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!i&&r){var v=parseFloat(l.marginTop,10),A=parseFloat(l.marginLeft,10);f.top-=u-v,f.bottom-=u-v,f.left-=d-A,f.right-=d-A,f.marginTop=v,f.marginLeft=A}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(f=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),r=g(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}(f,e)),f}function T(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===c(e,"transform");)e=e.parentElement;return e||document.documentElement}function D(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?T(t):m(t,e);if("viewport"===i)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=S(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left");return k({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o})}(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=p(u(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=S(s,a,r);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(e,"position")||t(u(e)))}(a))o=l;else{var d=_(),f=d.height,h=d.width;o.top+=l.top-l.marginTop,o.bottom=f+l.top,o.left+=l.left-l.marginLeft,o.right=h+l.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function M(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=D(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return O({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function N(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,i?T(e):m(e,n),i)}function $(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function L(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function B(t,e,n){n=n.split("-")[0];var i=$(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[c]:e[L(s)],r}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=I(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&l(n)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=n(e,t))}),e}function P(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function R(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function F(t){var e=t.ownerDocument;return e?e.defaultView:window}function U(t,e,n,i){n.updateBound=i,F(t).addEventListener("resize",n.updateBound,{passive:!0});var r=p(t);return function t(e,n,i,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,i,{passive:!0}),o||t(p(a.parentNode),n,i,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function H(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,F(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function V(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Y(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&V(e[n])&&(i="px"),t.style[n]=e[n]+i})}function G(t,e,n){var i=I(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=Q.slice(3);function W(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=z.indexOf(t),i=z.slice(n+1).concat(z.slice(0,n));return e?i.reverse():i}var Z={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function J(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(I(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return k(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){V(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}var q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:C({},l,o[l]),end:C({},l,o[l]+o[c]-a[c])};t.offsets.popper=O({},a,u[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:J(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||v(t.instance.popper);t.instance.reference===n&&(n=v(n));var i=R("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=D(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=a,r[i]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),C({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),C({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=O({},u,p[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[c]),n[l]>o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",p=l?"Top":"Left",d=p.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",v=$(i)[u];s[h]-v<a[d]&&(t.offsets.popper[d]-=a[d]-(s[h]-v)),s[d]+v>a[h]&&(t.offsets.popper[d]+=s[d]+v-a[h]),t.offsets.popper=k(t.offsets.popper);var A=s[d]+s[u]/2-v/2,m=c(t.instance.popper),g=parseFloat(m["margin"+p],10),y=parseFloat(m["border"+p+"Width"],10),b=A-t.offsets.popper[d]-g-y;return b=Math.max(Math.min(a[u]-v,b),0),t.arrowElement=i,t.offsets.arrow=(C(n={},d,Math.round(b)),C(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(P(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=D(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=L(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Z.FLIP:a=[i,r];break;case Z.CLOCKWISE:a=W(i);break;case Z.COUNTERCLOCKWISE:a=W(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=L(i);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,d="left"===i&&p(c.right)>p(u.left)||"right"===i&&p(c.left)<p(u.right)||"top"===i&&p(c.bottom)>p(u.top)||"bottom"===i&&p(c.top)<p(u.bottom),f=p(c.left)<p(n.left),h=p(c.right)>p(n.right),v=p(c.top)<p(n.top),A=p(c.bottom)>p(n.bottom),m="left"===i&&f||"right"===i&&h||"top"===i&&v||"bottom"===i&&A,g=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(g&&"start"===o&&f||g&&"end"===o&&h||!g&&"start"===o&&v||!g&&"end"===o&&A);(d||m||y)&&(t.flipped=!0,(d||m)&&(i=a[l+1]),y&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=O({},t.offsets.popper,B(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=L(e),t.offsets.popper=k(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=E(v(t.instance.popper)),l={position:r.position},c={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},u="bottom"===n?"top":"bottom",p="right"===i?"left":"right",d=R("transform"),f=void 0,h=void 0;if(h="bottom"===u?-s.height+c.bottom:c.top,f="right"===p?-s.width+c.right:c.left,a&&d)l[d]="translate3d("+f+"px, "+h+"px, 0)",l[u]=0,l[p]=0,l.willChange="transform";else{var A="bottom"===u?-1:1,m="right"===p?-1:1;l[u]=h*A,l[p]=f*m,l.willChange=u+", "+p}var g={"x-placement":t.placement};return t.attributes=O({},g,t.attributes),t.styles=O({},l,t.styles),t.arrowStyles=O({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return Y(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&Y(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,r){var o=N(r,e,t,n.positionFixed),a=M(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),Y(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},X=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=s(this.update.bind(this)),this.options=O({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(O({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=O({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return O({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&l(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return x(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=M(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=B(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,P(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),t}();X.Utils=("undefined"!=typeof window?window:t).PopperUtils,X.placements=Q,X.Defaults=q;var K=function(){};function tt(t){return"string"==typeof t&&(t=t.split(" ")),t}function et(t,e){var n=tt(e),i=void 0;i=t.className instanceof K?tt(t.className.baseVal):tt(t.className),n.forEach(function(t){-1===i.indexOf(t)&&i.push(t)}),t instanceof SVGElement?t.setAttribute("class",i.join(" ")):t.className=i.join(" ")}function nt(t,e){var n=tt(e),i=void 0;i=t.className instanceof K?tt(t.className.baseVal):tt(t.className),n.forEach(function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}),t instanceof SVGElement?t.setAttribute("class",i.join(" ")):t.className=i.join(" ")}"undefined"!=typeof window&&(K=window.SVGAnimatedString);var it=!1;if("undefined"!=typeof window){it=!1;try{var rt=Object.defineProperty({},"passive",{get:function(){it=!0}});window.addEventListener("test",null,rt)}catch(t){}}var ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},st=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),lt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ct={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},ut=[],pt=function(){function t(e,n){at(this,t),dt.call(this),n=lt({},ct,n),e.jquery&&(e=e[0]),this.reference=e,this.options=n,this._isOpen=!1,this._init()}return st(t,[{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||_t.options.defaultClass;this._classes!==n&&(this.setClasses(n),e=!0),t=At(t);var i=!1,r=!1;for(var o in this.options.offset===t.offset&&this.options.placement===t.placement||(i=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(r=!0),t)this.options[o]=t[o];if(this._tooltipNode)if(r){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else i&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),this._setEventListeners(this.reference,t,this.options)}},{key:"_create",value:function(t,e){var n=window.document.createElement("div");n.innerHTML=e.trim();var i=n.childNodes[0];return i.id="tooltip_"+Math.random().toString(36).substr(2,10),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",this.hide),i.addEventListener("click",this.hide)),i}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then(function(){n.popperInstance.update()})}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise(function(i,r){var o=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var l=t();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,e.loadingClass&&et(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),l.then(function(t){return e.loadingClass&&nt(a,e.loadingClass),n._applyContent(t,e)}).then(i).catch(r)):n._applyContent(l,e).then(i).catch(r))}o?s.innerHTML=t:s.innerText=t}i()}})}},{key:"_show",value:function(t,e){if(e&&"string"==typeof e.container&&!document.querySelector(e.container))return;clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(et(this._tooltipNode,this._classes),n=!1);var i=this._ensureShown(t,e);return n&&this._tooltipNode&&et(this._tooltipNode,this._classes),et(t,["v-tooltip-open"]),i}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,ut.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var i=t.getAttribute("title")||e.title;if(!i)return this;var r=this._create(t,e.template);this._tooltipNode=r,this._setContent(i,e),t.setAttribute("aria-describedby",r.id);var o=this._findContainer(e.container,t);this._append(r,o);var a=lt({},e.popperOptions,{placement:e.placement});return a.modifiers=lt({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new X(t,r,a),requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&r.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var t=ut.indexOf(this);-1!==t&&ut.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=_t.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout(function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._tooltipNode.parentNode.removeChild(t._tooltipNode),t._tooltipNode=null)},e)),nt(this.reference,["v-tooltip-open"]),this}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this._events.forEach(function(e){var n=e.func,i=e.event;t.reference.removeEventListener(i,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var i=this,r=[],o=[];e.forEach(function(t){switch(t){case"hover":r.push("mouseenter"),o.push("mouseleave"),i.options.hideOnTargetClick&&o.push("click");break;case"focus":r.push("focus"),o.push("blur"),i.options.hideOnTargetClick&&o.push("click");break;case"click":r.push("click"),o.push("click")}}),r.forEach(function(e){var r=function(e){!0!==i._isOpen&&(e.usedByTooltip=!0,i._scheduleShow(t,n.delay,n,e))};i._events.push({event:e,func:r}),t.addEventListener(e,r)}),o.forEach(function(e){var r=function(e){!0!==e.usedByTooltip&&i._scheduleHide(t,n.delay,n,e)};i._events.push({event:e,func:r}),t.addEventListener(e,r)})}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var i=this,r=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return i._show(t,n)},r)}},{key:"_scheduleHide",value:function(t,e,n,i){var r=this,o=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==r._isOpen&&document.body.contains(r._tooltipNode)){if("mouseleave"===i.type)if(r._setTooltipNodeEvent(i,t,e,n))return;r._hide(t,n)}},o)}}]),t}(),dt=function(){var t=this;this.show=function(){t._show(t.reference,t.options)},this.hide=function(){t._hide()},this.dispose=function(){t._dispose()},this.toggle=function(){return t._isOpen?t.hide():t.show()},this._events=[],this._setTooltipNodeEvent=function(e,n,i,r){var o=e.relatedreference||e.toElement||e.relatedTarget;return!!t._tooltipNode.contains(o)&&(t._tooltipNode.addEventListener(e.type,function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;t._tooltipNode.removeEventListener(e.type,i),n.contains(a)||t._scheduleHide(n,r.delay,r,o)}),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",function(t){for(var e=0;e<ut.length;e++)ut[e]._onDocumentTouch(t)},!it||{passive:!0,capture:!0});var ft={enabled:!0},ht=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],vt={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function At(t){var e={placement:void 0!==t.placement?t.placement:_t.options.defaultPlacement,delay:void 0!==t.delay?t.delay:_t.options.defaultDelay,html:void 0!==t.html?t.html:_t.options.defaultHtml,template:void 0!==t.template?t.template:_t.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:_t.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:_t.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:_t.options.defaultTrigger,offset:void 0!==t.offset?t.offset:_t.options.defaultOffset,container:void 0!==t.container?t.container:_t.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:_t.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:_t.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:_t.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:_t.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:_t.options.defaultLoadingContent,popperOptions:lt({},void 0!==t.popperOptions?t.popperOptions:_t.options.defaultPopperOptions)};if(e.offset){var n=ot(e.offset),i=e.offset;("number"===n||"string"===n&&-1===i.indexOf(","))&&(i="0, "+i),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:i}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function mt(t,e){for(var n=t.placement,i=0;i<ht.length;i++){var r=ht[i];e[r]&&(n=r)}return n}function gt(t){var e=void 0===t?"undefined":ot(t);return"string"===e?t:!(!t||"object"!==e)&&t.content}function yt(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(nt(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function bt(t,e){var n=e.value,i=(e.oldValue,e.modifiers),r=gt(n);if(r&&ft.enabled){var o=void 0;t._tooltip?((o=t._tooltip).setContent(r),o.setOptions(lt({},n,{placement:mt(n,i)}))):o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=gt(e),r=void 0!==e.classes?e.classes:_t.options.defaultClass,o=lt({title:i},At(lt({},e,{placement:mt(e,n)}))),a=t._tooltip=new pt(t,o);a.setClasses(r),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:_t.options.defaultTargetClass;return t._tooltipTargetClasses=s,et(t,s),a}(t,n,i),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?o.show():o.hide())}else yt(t)}var _t={options:vt,bind:bt,update:bt,unbind:function(t){yt(t)}};function wt(t){t.addEventListener("click",Ct),t.addEventListener("touchstart",Ot,!!it&&{passive:!0})}function xt(t){t.removeEventListener("click",Ct),t.removeEventListener("touchstart",Ot),t.removeEventListener("touchend",kt),t.removeEventListener("touchcancel",Et)}function Ct(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Ot(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",kt),e.addEventListener("touchcancel",Et)}}function kt(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],i=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Et(t){t.currentTarget.$_vclosepopover_touch=!1}var St={bind:function(t,e){var n=e.value,i=e.modifiers;t.$_closePopoverModifiers=i,(void 0===n||n)&&wt(t)},update:function(t,e){var n=e.value,i=e.oldValue,r=e.modifiers;t.$_closePopoverModifiers=r,n!==i&&(void 0===n||n?wt(t):xt(t))},unbind:function(t){xt(t)}};var Tt=void 0;function Dt(){Dt.init||(Dt.init=!0,Tt=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}())}var Mt={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Tt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var t=this;Dt(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Tt&&this.$el.appendChild(e),e.data="about:blank",Tt||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}};var Nt={version:"0.4.4",install:function(t){t.component("resize-observer",Mt)}},$t=null;function Lt(t){var e=_t.options.popover[t];return void 0===e?_t.options[t]:e}"undefined"!=typeof window?$t=window.Vue:void 0!==t&&($t=t.Vue),$t&&$t.use(Nt);var Bt=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(Bt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var It=[],jt=function(){};"undefined"!=typeof window&&(jt=window.Element);var Pt={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-popover",class:t.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":t.popoverId,tabindex:-1!==t.trigger.indexOf("focus")?0:-1}},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",class:[t.popoverBaseClass,t.popoverClass,t.cssClass],style:{visibility:t.isOpen?"visible":"hidden"},attrs:{id:t.popoverId,"aria-hidden":t.isOpen?"false":"true"}},[n("div",{class:t.popoverWrapperClass},[n("div",{ref:"inner",class:t.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[t._t("popover")],2),t._v(" "),t.handleResize?n("ResizeObserver",{on:{notify:t.$_handleResize}}):t._e()],1),t._v(" "),n("div",{ref:"arrow",class:t.popoverArrowClass})])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:Mt},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return Lt("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return Lt("defaultDelay")}},offset:{type:[String,Number],default:function(){return Lt("defaultOffset")}},trigger:{type:String,default:function(){return Lt("defaultTrigger")}},container:{type:[String,Object,jt,Boolean],default:function(){return Lt("defaultContainer")}},boundariesElement:{type:[String,jt],default:function(){return Lt("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return Lt("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return Lt("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return _t.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return _t.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return _t.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return _t.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return _t.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return _t.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,i=this.$_findContainer(this.container,n);if(!i)return void console.warn("No container for popover",this);i.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper(function(){e.popperInstance.options.placement=t})},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event,i=(e.skipDelay,e.force);!(void 0!==i&&i)&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame(function(){t.$_beingShowed=!1})},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var i=this.$_findContainer(this.container,e);if(!i)return void console.warn("No container for popover",this);i.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var r=lt({},this.popperOptions,{placement:this.placement});if(r.modifiers=lt({},r.modifiers,{arrow:lt({},r.modifiers&&r.modifiers.arrow,{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();r.modifiers.offset=lt({},r.modifiers&&r.modifiers.offset,{offset:o})}this.boundariesElement&&(r.modifiers.preventOverflow=lt({},r.modifiers&&r.modifiers.preventOverflow,{boundariesElement:this.boundariesElement})),this.popperInstance=new X(e,n,r),requestAnimationFrame(function(){!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame(function(){t.$_isDisposed?t.dispose():t.isOpen=!0})):t.dispose()})}var a=this.openGroup;if(a)for(var s=void 0,l=0;l<It.length;l++)(s=It[l]).openGroup!==a&&(s.hide(),s.$emit("close-group"));It.push(this),this.$emit("apply-show")}},$_hide:function(){var t=this;if(this.isOpen){var e=It.indexOf(this);-1!==e&&It.splice(e,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=_t.options.popover.disposeTimeout||_t.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout(function(){var e=t.$refs.popover;e&&(e.parentNode&&e.parentNode.removeChild(e),t.$_mounted=!1)},n)),this.$emit("apply-hide")}},$_findContainer:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t},$_getOffset:function(){var t=ot(this.offset),e=this.offset;return("number"===t||"string"===t&&-1===e.indexOf(","))&&(e="0, "+e),e},$_addEventListeners:function(){var t=this,e=this.$refs.trigger,n=[],i=[];("string"==typeof this.trigger?this.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[]).forEach(function(t){switch(t){case"hover":n.push("mouseenter"),i.push("mouseleave");break;case"focus":n.push("focus"),i.push("blur");break;case"click":n.push("click"),i.push("click")}}),n.forEach(function(n){var i=function(e){t.isOpen||(e.usedByTooltip=!0,!t.$_preventOpen&&t.show({event:e}))};t.$_events.push({event:n,func:i}),e.addEventListener(n,i)}),i.forEach(function(n){var i=function(e){e.usedByTooltip||t.hide({event:e})};t.$_events.push({event:n,func:i}),e.addEventListener(n,i)})},$_scheduleShow:function(){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var i=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}},i)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,i=this.$refs.popover,r=t.relatedreference||t.toElement||t.relatedTarget;return!!i.contains(r)&&(i.addEventListener(t.type,function r(o){var a=o.relatedreference||o.toElement||o.relatedTarget;i.removeEventListener(t.type,r),n.contains(a)||e.hide({event:o})}),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach(function(e){var n=e.func,i=e.event;t.removeEventListener(i,n)}),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){e.$_preventOpen=!1},300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function Rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];requestAnimationFrame(function(){for(var n=void 0,i=0;i<It.length;i++)if((n=It[i]).$refs.popover){var r=n.$refs.popover.contains(t.target);(t.closeAllPopover||t.closePopover&&r||n.autoHide&&!r)&&n.$_handleGlobalClose(t,e)}})}"undefined"!=typeof document&&"undefined"!=typeof window&&(Bt?document.addEventListener("touchend",function(t){Rt(t,!0)},!it||{passive:!0,capture:!0}):window.addEventListener("click",function(t){Rt(t)},!0));var Ft="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var Ut,Ht=(function(t,e){var n=200,i="__lodash_hash_undefined__",r=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",p="[object Null]",d="[object Object]",f="[object Proxy]",h="[object Undefined]",v=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[s]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[c]=m["[object Map]"]=m["[object Number]"]=m[d]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g="object"==typeof Ft&&Ft&&Ft.Object===Object&&Ft,y="object"==typeof self&&self&&self.Object===Object&&self,b=g||y||Function("return this")(),_=e&&!e.nodeType&&e,w=_&&t&&!t.nodeType&&t,x=w&&w.exports===_,C=x&&g.process,O=function(){try{return C&&C.binding&&C.binding("util")}catch(t){}}(),k=O&&O.isTypedArray;function E(t,e){return"__proto__"==e?void 0:t[e]}var S,T,D,M=Array.prototype,N=Function.prototype,$=Object.prototype,L=b["__core-js_shared__"],B=N.toString,I=$.hasOwnProperty,j=(S=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",P=$.toString,R=B.call(Object),F=RegExp("^"+B.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=x?b.Buffer:void 0,H=b.Symbol,V=b.Uint8Array,Y=U?U.allocUnsafe:void 0,G=(T=Object.getPrototypeOf,D=Object,function(t){return T(D(t))}),Q=Object.create,z=$.propertyIsEnumerable,W=M.splice,Z=H?H.toStringTag:void 0,J=function(){try{var t=_t(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),q=U?U.isBuffer:void 0,X=Math.max,K=Date.now,tt=_t(b,"Map"),et=_t(Object,"create"),nt=function(){function t(){}return function(e){if(!Nt(e))return{};if(Q)return Q(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function it(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function rt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function ot(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function at(t){var e=this.__data__=new rt(t);this.size=e.size}function st(t,e){var n=Et(t),i=!n&&kt(t),r=!n&&!i&&Tt(t),o=!n&&!i&&!r&&Lt(t),a=n||i||r||o,s=a?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],l=s.length;for(var c in t)!e&&!I.call(t,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wt(c,l))||s.push(c);return s}function lt(t,e,n){(void 0===n||Ot(t[e],n))&&(void 0!==n||e in t)||pt(t,e,n)}function ct(t,e,n){var i=t[e];I.call(t,e)&&Ot(i,n)&&(void 0!==n||e in t)||pt(t,e,n)}function ut(t,e){for(var n=t.length;n--;)if(Ot(t[n][0],e))return n;return-1}function pt(t,e,n){"__proto__"==e&&J?J(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}it.prototype.clear=function(){this.__data__=et?et(null):{},this.size=0},it.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},it.prototype.get=function(t){var e=this.__data__;if(et){var n=e[t];return n===i?void 0:n}return I.call(e,t)?e[t]:void 0},it.prototype.has=function(t){var e=this.__data__;return et?void 0!==e[t]:I.call(e,t)},it.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=et&&void 0===e?i:e,this},rt.prototype.clear=function(){this.__data__=[],this.size=0},rt.prototype.delete=function(t){var e=this.__data__,n=ut(e,t);return!(n<0||(n==e.length-1?e.pop():W.call(e,n,1),--this.size,0))},rt.prototype.get=function(t){var e=this.__data__,n=ut(e,t);return n<0?void 0:e[n][1]},rt.prototype.has=function(t){return ut(this.__data__,t)>-1},rt.prototype.set=function(t,e){var n=this.__data__,i=ut(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},ot.prototype.clear=function(){this.size=0,this.__data__={hash:new it,map:new(tt||rt),string:new it}},ot.prototype.delete=function(t){var e=bt(this,t).delete(t);return this.size-=e?1:0,e},ot.prototype.get=function(t){return bt(this,t).get(t)},ot.prototype.has=function(t){return bt(this,t).has(t)},ot.prototype.set=function(t,e){var n=bt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},at.prototype.clear=function(){this.__data__=new rt,this.size=0},at.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},at.prototype.get=function(t){return this.__data__.get(t)},at.prototype.has=function(t){return this.__data__.has(t)},at.prototype.set=function(t,e){var i=this.__data__;if(i instanceof rt){var r=i.__data__;if(!tt||r.length<n-1)return r.push([t,e]),this.size=++i.size,this;i=this.__data__=new ot(r)}return i.set(t,e),this.size=i.size,this};var dt,ft=function(t,e,n){for(var i=-1,r=Object(t),o=n(t),a=o.length;a--;){var s=o[dt?a:++i];if(!1===e(r[s],s,r))break}return t};function ht(t){return null==t?void 0===t?h:p:Z&&Z in Object(t)?function(t){var e=I.call(t,Z),n=t[Z];try{t[Z]=void 0;var i=!0}catch(t){}var r=P.call(t);i&&(e?t[Z]=n:delete t[Z]);return r}(t):function(t){return P.call(t)}(t)}function vt(t){return $t(t)&&ht(t)==s}function At(t){return!(!Nt(t)||(e=t,j&&j in e))&&(Dt(t)?F:v).test(function(t){if(null!=t){try{return B.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function mt(t){if(!Nt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=xt(t),n=[];for(var i in t)("constructor"!=i||!e&&I.call(t,i))&&n.push(i);return n}function gt(t,e,n,i,r){t!==e&&ft(e,function(o,a){if(Nt(o))r||(r=new at),function(t,e,n,i,r,o,a){var s=E(t,n),l=E(e,n),c=a.get(l);if(c)return void lt(t,n,c);var u=o?o(s,l,n+"",t,e,a):void 0,p=void 0===u;if(p){var f=Et(l),h=!f&&Tt(l),v=!f&&!h&&Lt(l);u=l,f||h||v?Et(s)?u=s:$t(b=s)&&St(b)?u=function(t,e){var n=-1,i=t.length;e||(e=Array(i));for(;++n<i;)e[n]=t[n];return e}(s):h?(p=!1,u=function(t,e){if(e)return t.slice();var n=t.length,i=Y?Y(n):new t.constructor(n);return t.copy(i),i}(l,!0)):v?(p=!1,A=l,m=!0?(g=A.buffer,y=new g.constructor(g.byteLength),new V(y).set(new V(g)),y):A.buffer,u=new A.constructor(m,A.byteOffset,A.length)):u=[]:function(t){if(!$t(t)||ht(t)!=d)return!1;var e=G(t);if(null===e)return!0;var n=I.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&B.call(n)==R}(l)||kt(l)?(u=s,kt(s)?u=function(t){return function(t,e,n,i){var r=!n;n||(n={});var o=-1,a=e.length;for(;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),r?pt(n,s,l):ct(n,s,l)}return n}(t,Bt(t))}(s):(!Nt(s)||i&&Dt(s))&&(u=function(t){return"function"!=typeof t.constructor||xt(t)?{}:nt(G(t))}(l))):p=!1}var A,m,g,y;var b;p&&(a.set(l,u),r(u,l,i,o,a),a.delete(l));lt(t,n,u)}(t,e,a,n,gt,i,r);else{var s=i?i(E(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),lt(t,a,s)}},Bt)}function yt(t,e){return Ct(function(t,e,n){return e=X(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=X(i.length-e,0),a=Array(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,s)}}(t,e,Pt),t+"")}function bt(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function _t(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return At(n)?n:void 0}function wt(t,e){var n=typeof t;return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&A.test(t))&&t>-1&&t%1==0&&t<e}function xt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||$)}var Ct=function(t){var e=0,n=0;return function(){var i=K(),a=o-(i-n);if(n=i,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(J?function(t,e){return J(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Pt);function Ot(t,e){return t===e||t!=t&&e!=e}var kt=vt(function(){return arguments}())?vt:function(t){return $t(t)&&I.call(t,"callee")&&!z.call(t,"callee")},Et=Array.isArray;function St(t){return null!=t&&Mt(t.length)&&!Dt(t)}var Tt=q||function(){return!1};function Dt(t){if(!Nt(t))return!1;var e=ht(t);return e==c||e==u||e==l||e==f}function Mt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function Nt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function $t(t){return null!=t&&"object"==typeof t}var Lt=k?function(t){return function(e){return t(e)}}(k):function(t){return $t(t)&&Mt(t.length)&&!!m[ht(t)]};function Bt(t){return St(t)?st(t,!0):mt(t)}var It,jt=(It=function(t,e,n){gt(t,e,n)},yt(function(t,e){var n=-1,i=e.length,r=i>1?e[i-1]:void 0,o=i>2?e[2]:void 0;for(r=It.length>3&&"function"==typeof r?(i--,r):void 0,o&&function(t,e,n){if(!Nt(n))return!1;var i=typeof e;return!!("number"==i?St(n)&&wt(e,n.length):"string"==i&&e in n)&&Ot(n[e],t)}(e[0],e[1],o)&&(r=i<3?void 0:r,i=1),t=Object(t);++n<i;){var a=e[n];a&&It(t,a,n,r)}return t}));function Pt(t){return t}t.exports=jt}(Ut={exports:{}},Ut.exports),Ut.exports);var Vt=_t,Yt={install:function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t.installed){t.installed=!0;var i={};Ht(i,vt,n),Yt.options=i,_t.options=i,e.directive("tooltip",_t),e.directive("close-popover",St),e.component("v-popover",Pt)}},get enabled(){return ft.enabled},set enabled(t){ft.enabled=t}},Gt=null;"undefined"!=typeof window?Gt=window.Vue:void 0!==t&&(Gt=t.Vue),Gt&&Gt.use(Yt)}).call(this,n(0))},function(t,e){function n(t){return"function"==typeof t.value||(console.warn("[Vue-click-outside:] provided expression",t.expression,"is not a function."),!1)}function i(t){return void 0!==t.componentInstance&&t.componentInstance.$isServer}t.exports={bind:function(t,e,r){function o(e){if(r.context){var n=e.path||e.composedPath&&e.composedPath();n&&n.length>0&&n.unshift(e.target),t.contains(e.target)||function(t,e){if(!t||!e)return!1;for(var n=0,i=e.length;n<i;n++)try{if(t.contains(e[n]))return!0;if(e[n].contains(t))return!1}catch(t){return!1}return!1}(r.context.popupItem,n)||t.__vueClickOutside__.callback(e)}}n(e)&&(t.__vueClickOutside__={handler:o,callback:e.value},!i(r)&&document.addEventListener("click",o))},update:function(t,e){n(e)&&(t.__vueClickOutside__.callback=e.value)},unbind:function(t,e,n){!i(n)&&document.removeEventListener("click",t.__vueClickOutside__.handler),delete t.__vueClickOutside__}}},function(t,e,n){"use strict";var i=n(1);n.n(i).a},function(t,e,n){(t.exports=n(5)(!1)).push([t.i,"#updatenotification[data-v-6409f3eb] {\n margin-top: -25px;\n margin-bottom: 200px;\n}\n#updatenotification div.update[data-v-6409f3eb],\n #updatenotification p[data-v-6409f3eb]:not(.inlineblock) {\n margin-bottom: 25px;\n}\n#updatenotification h2.inlineblock[data-v-6409f3eb] {\n margin-top: 25px;\n}\n#updatenotification h3[data-v-6409f3eb] {\n cursor: pointer;\n}\n#updatenotification h3 .icon[data-v-6409f3eb] {\n cursor: pointer;\n}\n#updatenotification h3[data-v-6409f3eb]:first-of-type {\n margin-top: 0;\n}\n#updatenotification h3.update-channel-selector[data-v-6409f3eb] {\n display: inline-block;\n cursor: inherit;\n}\n#updatenotification .icon[data-v-6409f3eb] {\n display: inline-block;\n margin-bottom: -3px;\n}\n#updatenotification .icon-triangle-s[data-v-6409f3eb], #updatenotification .icon-triangle-n[data-v-6409f3eb] {\n opacity: 0.5;\n}\n#updatenotification .whatsNew[data-v-6409f3eb] {\n display: inline-block;\n}\n#updatenotification .toggleWhatsNew[data-v-6409f3eb] {\n position: relative;\n}\n#updatenotification .popovermenu[data-v-6409f3eb] {\n margin-top: 5px;\n width: 300px;\n}\n#updatenotification .popovermenu p[data-v-6409f3eb] {\n margin-bottom: 0;\n width: 100%;\n}\n#updatenotification .applist[data-v-6409f3eb] {\n margin-bottom: 25px;\n}\n#updatenotification .update-menu[data-v-6409f3eb] {\n position: relative;\n cursor: pointer;\n margin-left: 3px;\n display: inline-block;\n}\n#updatenotification .update-menu .icon-update-menu[data-v-6409f3eb] {\n cursor: inherit;\n}\n#updatenotification .update-menu .icon-update-menu .icon-triangle-s[data-v-6409f3eb] {\n display: inline-block;\n vertical-align: middle;\n cursor: inherit;\n opacity: 1;\n}\n#updatenotification .update-menu .popovermenu[data-v-6409f3eb] {\n display: none;\n top: 28px;\n}\n#updatenotification .update-menu .popovermenu.show-menu[data-v-6409f3eb] {\n display: block;\n}\n",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r,o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(t,e,n){"use strict";var i=n(2);n.n(i).a},function(t,e,n){(t.exports=n(5)(!1)).push([t.i,"/* override needed to make menu wider */\n#updatenotification .popovermenu {\n margin-top: 5px;\n width: 300px;\n}\n#updatenotification .popovermenu p {\n margin-top: 5px;\n width: 100%;\n}\n\n/* override needed to replace yellow hover state with a dark one */\n#updatenotification .update-menu .icon-star:hover,\n#updatenotification .update-menu .icon-star:focus {\n background-image: var(--icon-star-000);\n}\n",""])},function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(15),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,o,a,s,l=1,c={},u=!1,p=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){h(t.data)},i=function(t){o.port2.postMessage(t)}):p&&"onreadystatechange"in p.createElement("script")?(r=p.documentElement,i=function(t){var e=p.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return c[l]=r,i(l),l++},d.clearImmediate=f}function f(t){delete c[t]}function h(t){if(u)setTimeout(h,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,i=t.args;switch(i.length){case 0:e();break;case 1:e(i[0]);break;case 2:e(i[0],i[1]);break;case 3:e(i[0],i[1],i[2]);break;default:e.apply(n,i)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(0),n(16))},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,p=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):p=-1,c.length&&f())}function f(){if(!u){var t=s(d);u=!0;for(var e=c.length;e;){for(l=c,c=[];++p<e;)l&&l[p].run();p=-1,e=c.length}l=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,i,r){"use strict";r.r(i);var o=r(4),a=r(3),s=r(7),l=r(8),c=r.n(l),u={name:"root",components:{Multiselect:a.Multiselect,PopoverMenu:a.PopoverMenu},directives:{ClickOutside:c.a,tooltip:s.a},data:function(){return{newVersionString:"",lastCheckedDate:"",isUpdateChecked:!1,updaterEnabled:!0,versionIsEol:!1,downloadLink:"",isNewVersionAvailable:!1,updateServerURL:"",changelogURL:"",whatsNewData:[],currentChannel:"",channels:[],notifyGroups:"",availableGroups:[],isDefaultUpdateServerURL:!0,enableChangeWatcher:!1,availableAppUpdates:[],missingAppUpdates:[],appStoreFailed:!1,appStoreDisabled:!1,isListFetched:!1,hideMissingUpdates:!1,hideAvailableUpdates:!0,openedWhatsNew:!1,openedUpdateChannelMenu:!1}},_$el:null,_$notifyGroups:null,watch:{notifyGroups:function(t){if(this.enableChangeWatcher){var e=[];_.each(t,function(t){e.push(t.value)}),OCP.AppConfig.setValue("updatenotification","notify_groups",JSON.stringify(e))}},isNewVersionAvailable:function(){this.isNewVersionAvailable&&$.ajax({url:OC.linkToOCS("apps/updatenotification/api/v1/applist",2)+this.newVersion,type:"GET",beforeSend:function(t){t.setRequestHeader("Accept","application/json")},success:function(t){this.availableAppUpdates=t.ocs.data.available,this.missingAppUpdates=t.ocs.data.missing,this.isListFetched=!0,this.appStoreFailed=!1}.bind(this),error:function(t){this.availableAppUpdates=[],this.missingAppUpdates=[],this.appStoreDisabled=t.responseJSON.ocs.data.appstore_disabled,this.isListFetched=!0,this.appStoreFailed=!0}.bind(this)})}},computed:{newVersionAvailableString:function(){return t("updatenotification","A new version is available: <strong>{newVersionString}</strong>",{newVersionString:this.newVersionString})},lastCheckedOnString:function(){return t("updatenotification","Checked on {lastCheckedDate}",{lastCheckedDate:this.lastCheckedDate})},statusText:function(){return this.isListFetched?this.appStoreDisabled?t("updatenotification","Please make sure your config.php does not set <samp>appstoreenabled</samp> to false."):this.appStoreFailed?t("updatenotification","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore."):0===this.missingAppUpdates.length?t("updatenotification","<strong>All</strong> apps have an update for this version available",this):n("updatenotification","<strong>%n</strong> app has no update for this version available","<strong>%n</strong> apps have no update for this version available",this.missingAppUpdates.length):t("updatenotification","Checking apps for compatible updates")},whatsNew:function(){if(0===this.whatsNewData.length)return null;var e=[];for(var n in this.whatsNewData)e[n]={icon:"icon-checkmark",longtext:this.whatsNewData[n]};return this.changelogURL&&e.push({href:this.changelogURL,text:t("updatenotificaiton","View changelog"),icon:"icon-link",target:"_blank",action:""}),e},channelList:function(){var e=[];return e.push({text:t("updatenotificaiton","Stable"),longtext:t("updatenotification","The most recent stable version. It is suited for regular use and will always update to the latest major version."),icon:"icon-checkmark",active:"stable"===this.currentChannel,action:this.changeReleaseChannelToStable}),e.push({text:t("updatenotificaiton","Production"),longtext:t("updatenotification","Will always provide the latest patch level, but not update to the next major release immediately. That update usually happens with the second minor release (x.0.2) and only if the instance is already on the latest minor version."),icon:"icon-star",active:"production"===this.currentChannel,action:this.changeReleaseChannelToProduction}),e.push({text:t("updatenotificaiton","Beta"),longtext:t("updatenotification","A pre-release version only for testing new features, not for production environments."),icon:"icon-category-customization",active:"beta"===this.currentChannel,action:this.changeReleaseChannelToBeta}),this.isNonDefaultChannel&&e.push({text:this.currentChannel,icon:"icon-rename",active:!0}),e},isNonDefaultChannel:function(){return"production"!==this.currentChannel&&"stable"!==this.currentChannel&&"beta"!==this.currentChannel},localizedChannelName:function(){switch(this.currentChannel){case"production":return t("updatenotificaiton","Production");case"stable":return t("updatenotificaiton","Stable");case"beta":return t("updatenotificaiton","Beta");default:return this.currentChannel}}},methods:{clickUpdaterButton:function(){$.ajax({url:OC.generateUrl("/apps/updatenotification/credentials")}).success(function(t){var e=document.createElement("form");e.setAttribute("method","post"),e.setAttribute("action",OC.getRootPath()+"/updater/");var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","updater-secret-input"),n.setAttribute("value",t),e.appendChild(n),document.body.appendChild(e),e.submit()}.bind(this))},changeReleaseChannelToStable:function(){this.changeReleaseChannel("stable")},changeReleaseChannelToProduction:function(){this.changeReleaseChannel("production")},changeReleaseChannelToBeta:function(){this.changeReleaseChannel("beta")},changeReleaseChannel:function(t){this.currentChannel=t,$.ajax({url:OC.generateUrl("/apps/updatenotification/channel"),type:"POST",data:{channel:this.currentChannel},success:function(t){OC.msg.finishedAction("#channel_save_msg",t)}}),this.openedUpdateChannelMenu=!1},toggleUpdateChannelMenu:function(){this.openedUpdateChannelMenu=!this.openedUpdateChannelMenu},toggleHideMissingUpdates:function(){this.hideMissingUpdates=!this.hideMissingUpdates},toggleHideAvailableUpdates:function(){this.hideAvailableUpdates=!this.hideAvailableUpdates},toggleMenu:function(){this.openedWhatsNew=!this.openedWhatsNew},hideMenu:function(){this.openedWhatsNew=!1}},beforeMount:function(){var t=JSON.parse($("#updatenotification").attr("data-json"));this.newVersion=t.newVersion,this.newVersionString=t.newVersionString,this.lastCheckedDate=t.lastChecked,this.isUpdateChecked=t.isUpdateChecked,this.updaterEnabled=t.updaterEnabled,this.downloadLink=t.downloadLink,this.isNewVersionAvailable=t.isNewVersionAvailable,this.updateServerURL=t.updateServerURL,this.currentChannel=t.currentChannel,this.channels=t.channels,this.notifyGroups=t.notifyGroups,this.isDefaultUpdateServerURL=t.isDefaultUpdateServerURL,this.versionIsEol=t.versionIsEol,t.changes&&t.changes.changelogURL&&(this.changelogURL=t.changes.changelogURL),t.changes&&t.changes.whatsNew&&(t.changes.whatsNew.admin&&(this.whatsNewData=this.whatsNewData.concat(t.changes.whatsNew.admin)),this.whatsNewData=this.whatsNewData.concat(t.changes.whatsNew.regular))},mounted:function(){this._$el=$(this.$el),this._$notifyGroups=this._$el.find("#oca_updatenotification_groups_list"),this._$notifyGroups.on("change",function(){this.$emit("input")}.bind(this)),$.ajax({url:OC.linkToOCS("cloud",2)+"/groups",dataType:"json",success:function(t){var e=[];$.each(t.ocs.data.groups,function(t,n){e.push({value:n,label:n})}),this.availableGroups=e,this.enableChangeWatcher=!0}.bind(this)})}};r(9),r(12);var p=function(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}(u,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"followupsection",attrs:{id:"updatenotification"}},[n("div",{staticClass:"update"},[t.isNewVersionAvailable?[t.versionIsEol?n("p",[n("span",{staticClass:"warning"},[n("span",{staticClass:"icon icon-error-white"}),t._v("\n\t\t\t\t\t"+t._s(t.t("updatenotification","The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible."))+"\n\t\t\t\t")])]):t._e(),t._v(" "),n("p",[n("span",{domProps:{innerHTML:t._s(t.newVersionAvailableString)}}),n("br"),t._v(" "),t.isListFetched?t._e():n("span",{staticClass:"icon icon-loading-small"}),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.statusText)}})]),t._v(" "),t.missingAppUpdates.length?[n("h3",{on:{click:t.toggleHideMissingUpdates}},[t._v("\n\t\t\t\t\t"+t._s(t.t("updatenotification","Apps missing updates"))+"\n\t\t\t\t\t"),t.hideMissingUpdates?t._e():n("span",{staticClass:"icon icon-triangle-n"}),t._v(" "),t.hideMissingUpdates?n("span",{staticClass:"icon icon-triangle-s"}):t._e()]),t._v(" "),t.hideMissingUpdates?t._e():n("ul",{staticClass:"applist"},t._l(t.missingAppUpdates,function(e){return n("li",[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+e.appId,title:t.t("settings","View in store")}},[t._v(t._s(e.appName)+" ↗")])])}),0)]:t._e(),t._v(" "),t.availableAppUpdates.length?[n("h3",{on:{click:t.toggleHideAvailableUpdates}},[t._v("\n\t\t\t\t\t"+t._s(t.t("updatenotification","Apps with available updates"))+"\n\t\t\t\t\t"),t.hideAvailableUpdates?t._e():n("span",{staticClass:"icon icon-triangle-n"}),t._v(" "),t.hideAvailableUpdates?n("span",{staticClass:"icon icon-triangle-s"}):t._e()]),t._v(" "),n("ul",{staticClass:"applist"},t._l(t.availableAppUpdates,function(e){return t.hideAvailableUpdates?t._e():n("li",[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+e.appId,title:t.t("settings","View in store")}},[t._v(t._s(e.appName)+" ↗")])])}),0)]:t._e(),t._v(" "),n("div",[t.updaterEnabled?n("a",{staticClass:"button primary",attrs:{href:"#"},on:{click:t.clickUpdaterButton}},[t._v(t._s(t.t("updatenotification","Open updater")))]):t._e(),t._v(" "),t.downloadLink?n("a",{staticClass:"button",class:{hidden:!t.updaterEnabled},attrs:{href:t.downloadLink}},[t._v(t._s(t.t("updatenotification","Download now")))]):t._e(),t._v(" "),t.whatsNew?n("div",{staticClass:"whatsNew"},[n("div",{staticClass:"toggleWhatsNew"},[n("a",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideMenu,expression:"hideMenu"}],staticClass:"button",on:{click:t.toggleMenu}},[t._v(t._s(t.t("updatenotification","What's new?")))]),t._v(" "),n("div",{staticClass:"popovermenu",class:{"menu-center":!0,open:t.openedWhatsNew}},[n("popover-menu",{attrs:{menu:t.whatsNew}})],1)])]):t._e()])]:t.isUpdateChecked?[t._v("\n\t\t\t"+t._s(t.t("updatenotification","Your version is up to date."))+"\n\t\t\t"),n("span",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:t.lastCheckedOnString,expression:"lastCheckedOnString",modifiers:{auto:!0}}],staticClass:"icon-info svg"})]:[t._v(t._s(t.t("updatenotification","The update check is not yet finished. Please refresh the page.")))],t._v(" "),t.isDefaultUpdateServerURL?t._e():[n("p",[n("em",[t._v(t._s(t.t("updatenotification","A non-default update server is in use to be checked for updates:"))+" "),n("code",[t._v(t._s(t.updateServerURL))])])])]],2),t._v(" "),n("h3",{staticClass:"update-channel-selector"},[t._v("\n\t\t"+t._s(t.t("updatenotification","Update channel:"))+"\n\t\t"),n("div",{staticClass:"update-menu"},[n("span",{staticClass:"icon-update-menu",on:{click:t.toggleUpdateChannelMenu}},[t._v("\n\t\t\t\t"+t._s(t.localizedChannelName)+"\n\t\t\t\t"),n("span",{staticClass:"icon-triangle-s"})]),t._v(" "),n("div",{staticClass:"popovermenu menu menu-center",class:{"show-menu":t.openedUpdateChannelMenu}},[n("popover-menu",{attrs:{menu:t.channelList}})],1)])]),t._v(" "),n("span",{staticClass:"msg",attrs:{id:"channel_save_msg"}}),n("br"),t._v(" "),n("p",[n("em",[t._v(t._s(t.t("updatenotification","You can always update to a newer version. But you can never downgrade to a more stable version.")))]),n("br"),t._v(" "),n("em",[t._v(t._s(t.t("updatenotification","Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.")))])]),t._v(" "),n("p",{attrs:{id:"oca_updatenotification_groups"}},[t._v("\n\t\t"+t._s(t.t("updatenotification","Notify members of the following groups about available updates:"))+"\n\t\t"),n("multiselect",{attrs:{options:t.availableGroups,multiple:!0,label:"label","track-by":"value","tag-width":75},model:{value:t.notifyGroups,callback:function(e){t.notifyGroups=e},expression:"notifyGroups"}}),n("br"),t._v(" "),"daily"===t.currentChannel||"git"===t.currentChannel?n("em",[t._v(t._s(t.t("updatenotification","Only notification for app updates are available.")))]):t._e(),t._v(" "),"daily"===t.currentChannel?n("em",[t._v(t._s(t.t("updatenotification","The selected update channel makes dedicated notifications for the server obsolete.")))]):t._e(),t._v(" "),"git"===t.currentChannel?n("em",[t._v(t._s(t.t("updatenotification","The selected update channel does not support updates of the server.")))]):t._e()],1)])},[],!1,null,"6409f3eb",null).exports; +var i="undefined"!=typeof window&&"undefined"!=typeof document,r=["Edge","Trident","Firefox"],o=0,a=0;a<r.length;a+=1)if(i&&navigator.userAgent.indexOf(r[a])>=0){o=1;break}var s=i&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};function l(t){return t&&"[object Function]"==={}.toString.call(t)}function c(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function p(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=c(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?t:p(u(t))}var d=i&&!(!window.MSInputMethodContext||!document.documentMode),f=i&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?d:10===t?f:d||f}function v(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}function A(t){return null!==t.parentNode?A(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&v(a.firstElementChild)!==a?v(l):l;var c=A(t);return c.host?m(c.host,e):m(t,A(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function y(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function b(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function _(){var t=document.body,e=document.documentElement,n=h(10)&&getComputedStyle(e);return{height:b("Height",t,e,n),width:b("Width",t,e,n)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),C=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function k(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),i=g(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_():{},a=o.width||t.clientWidth||r.right-r.left,s=o.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-a,u=t.offsetHeight-s;if(l||u){var p=c(t);l-=y(p,"x"),u-=y(p,"y"),r.width-=l,r.height-=u}return k(r)}function S(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),r="HTML"===e.nodeName,o=E(t),a=E(e),s=p(t),l=c(e),u=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&"HTML"===e.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=k({top:o.top-a.top-u,left:o.left-a.left-d,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!i&&r){var v=parseFloat(l.marginTop,10),A=parseFloat(l.marginLeft,10);f.top-=u-v,f.bottom-=u-v,f.left-=d-A,f.right-=d-A,f.marginTop=v,f.marginLeft=A}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(f=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),r=g(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}(f,e)),f}function T(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===c(e,"transform");)e=e.parentElement;return e||document.documentElement}function D(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?T(t):m(t,e);if("viewport"===i)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=S(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left");return k({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o})}(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=p(u(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=S(s,a,r);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(e,"position")||t(u(e)))}(a))o=l;else{var d=_(),f=d.height,h=d.width;o.top+=l.top-l.marginTop,o.bottom=f+l.top,o.left+=l.left-l.marginLeft,o.right=h+l.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function M(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=D(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return O({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,p=t.split("-")[1];return u+(p?"-"+p:"")}function N(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return S(n,i?T(e):m(e,n),i)}function $(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function L(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function B(t,e,n){n=n.split("-")[0];var i=$(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[c]:e[L(s)],r}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=I(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&l(n)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=n(e,t))}),e}function P(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function R(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var r=e[i],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function F(t){var e=t.ownerDocument;return e?e.defaultView:window}function U(t,e,n,i){n.updateBound=i,F(t).addEventListener("resize",n.updateBound,{passive:!0});var r=p(t);return function t(e,n,i,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,i,{passive:!0}),o||t(p(a.parentNode),n,i,r),r.push(a)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function H(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,F(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function V(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Y(t,e){Object.keys(e).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&V(e[n])&&(i="px"),t.style[n]=e[n]+i})}function G(t,e,n){var i=I(t,function(t){return t.name===e}),r=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!r){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=Q.slice(3);function W(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=z.indexOf(t),i=z.slice(n+1).concat(z.slice(0,n));return e?i.reverse():i}var Z={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function J(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(I(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return k(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){V(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}var q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:C({},l,o[l]),end:C({},l,o[l]+o[c]-a[c])};t.offsets.popper=O({},a,u[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=V(+n)?[+n,0]:J(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||v(t.instance.popper);t.instance.reference===n&&(n=v(n));var i=R("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=D(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=a,r[i]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,p={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),C({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),C({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=O({},u,p[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<o(i[l])&&(t.offsets.popper[l]=o(i[l])-n[c]),n[l]>o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!G(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",p=l?"Top":"Left",d=p.toLowerCase(),f=l?"left":"top",h=l?"bottom":"right",v=$(i)[u];s[h]-v<a[d]&&(t.offsets.popper[d]-=a[d]-(s[h]-v)),s[d]+v>a[h]&&(t.offsets.popper[d]+=s[d]+v-a[h]),t.offsets.popper=k(t.offsets.popper);var A=s[d]+s[u]/2-v/2,m=c(t.instance.popper),g=parseFloat(m["margin"+p],10),y=parseFloat(m["border"+p+"Width"],10),b=A-t.offsets.popper[d]-g-y;return b=Math.max(Math.min(a[u]-v,b),0),t.arrowElement=i,t.offsets.arrow=(C(n={},d,Math.round(b)),C(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(P(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=D(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=L(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Z.FLIP:a=[i,r];break;case Z.CLOCKWISE:a=W(i);break;case Z.COUNTERCLOCKWISE:a=W(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=L(i);var c=t.offsets.popper,u=t.offsets.reference,p=Math.floor,d="left"===i&&p(c.right)>p(u.left)||"right"===i&&p(c.left)<p(u.right)||"top"===i&&p(c.bottom)>p(u.top)||"bottom"===i&&p(c.top)<p(u.bottom),f=p(c.left)<p(n.left),h=p(c.right)>p(n.right),v=p(c.top)<p(n.top),A=p(c.bottom)>p(n.bottom),m="left"===i&&f||"right"===i&&h||"top"===i&&v||"bottom"===i&&A,g=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(g&&"start"===o&&f||g&&"end"===o&&h||!g&&"start"===o&&v||!g&&"end"===o&&A);(d||m||y)&&(t.flipped=!0,(d||m)&&(i=a[l+1]),y&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=O({},t.offsets.popper,B(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=L(e),t.offsets.popper=k(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!G(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,r=t.offsets.popper,o=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=E(v(t.instance.popper)),l={position:r.position},c={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},u="bottom"===n?"top":"bottom",p="right"===i?"left":"right",d=R("transform"),f=void 0,h=void 0;if(h="bottom"===u?-s.height+c.bottom:c.top,f="right"===p?-s.width+c.right:c.left,a&&d)l[d]="translate3d("+f+"px, "+h+"px, 0)",l[u]=0,l[p]=0,l.willChange="transform";else{var A="bottom"===u?-1:1,m="right"===p?-1:1;l[u]=h*A,l[p]=f*m,l.willChange=u+", "+p}var g={"x-placement":t.placement};return t.attributes=O({},g,t.attributes),t.styles=O({},l,t.styles),t.arrowStyles=O({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return Y(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&Y(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,r){var o=N(r,e,t,n.positionFixed),a=M(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),Y(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},X=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=s(this.update.bind(this)),this.options=O({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(O({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=O({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return O({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&l(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return x(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=M(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=B(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,P(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=U(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return H.call(this)}}]),t}();X.Utils=("undefined"!=typeof window?window:t).PopperUtils,X.placements=Q,X.Defaults=q;var K=function(){};function tt(t){return"string"==typeof t&&(t=t.split(" ")),t}function et(t,e){var n=tt(e),i=void 0;i=t.className instanceof K?tt(t.className.baseVal):tt(t.className),n.forEach(function(t){-1===i.indexOf(t)&&i.push(t)}),t instanceof SVGElement?t.setAttribute("class",i.join(" ")):t.className=i.join(" ")}function nt(t,e){var n=tt(e),i=void 0;i=t.className instanceof K?tt(t.className.baseVal):tt(t.className),n.forEach(function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1)}),t instanceof SVGElement?t.setAttribute("class",i.join(" ")):t.className=i.join(" ")}"undefined"!=typeof window&&(K=window.SVGAnimatedString);var it=!1;if("undefined"!=typeof window){it=!1;try{var rt=Object.defineProperty({},"passive",{get:function(){it=!0}});window.addEventListener("test",null,rt)}catch(t){}}var ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},st=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),lt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ct={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},ut=[],pt=function(){function t(e,n){at(this,t),dt.call(this),n=lt({},ct,n),e.jquery&&(e=e[0]),this.reference=e,this.options=n,this._isOpen=!1,this._init()}return st(t,[{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||_t.options.defaultClass;this._classes!==n&&(this.setClasses(n),e=!0),t=At(t);var i=!1,r=!1;for(var o in this.options.offset===t.offset&&this.options.placement===t.placement||(i=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(r=!0),t)this.options[o]=t[o];if(this._tooltipNode)if(r){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else i&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),this._setEventListeners(this.reference,t,this.options)}},{key:"_create",value:function(t,e){var n=window.document.createElement("div");n.innerHTML=e.trim();var i=n.childNodes[0];return i.id="tooltip_"+Math.random().toString(36).substr(2,10),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",this.hide),i.addEventListener("click",this.hide)),i}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then(function(){n.popperInstance.update()})}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise(function(i,r){var o=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var l=t();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,e.loadingClass&&et(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),l.then(function(t){return e.loadingClass&&nt(a,e.loadingClass),n._applyContent(t,e)}).then(i).catch(r)):n._applyContent(l,e).then(i).catch(r))}o?s.innerHTML=t:s.innerText=t}i()}})}},{key:"_show",value:function(t,e){if(e&&"string"==typeof e.container&&!document.querySelector(e.container))return;clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(et(this._tooltipNode,this._classes),n=!1);var i=this._ensureShown(t,e);return n&&this._tooltipNode&&et(this._tooltipNode,this._classes),et(t,["v-tooltip-open"]),i}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,ut.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var i=t.getAttribute("title")||e.title;if(!i)return this;var r=this._create(t,e.template);this._tooltipNode=r,this._setContent(i,e),t.setAttribute("aria-describedby",r.id);var o=this._findContainer(e.container,t);this._append(r,o);var a=lt({},e.popperOptions,{placement:e.placement});return a.modifiers=lt({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new X(t,r,a),requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&r.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var t=ut.indexOf(this);-1!==t&&ut.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=_t.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout(function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._tooltipNode.parentNode.removeChild(t._tooltipNode),t._tooltipNode=null)},e)),nt(this.reference,["v-tooltip-open"]),this}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this._events.forEach(function(e){var n=e.func,i=e.event;t.reference.removeEventListener(i,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var i=this,r=[],o=[];e.forEach(function(t){switch(t){case"hover":r.push("mouseenter"),o.push("mouseleave"),i.options.hideOnTargetClick&&o.push("click");break;case"focus":r.push("focus"),o.push("blur"),i.options.hideOnTargetClick&&o.push("click");break;case"click":r.push("click"),o.push("click")}}),r.forEach(function(e){var r=function(e){!0!==i._isOpen&&(e.usedByTooltip=!0,i._scheduleShow(t,n.delay,n,e))};i._events.push({event:e,func:r}),t.addEventListener(e,r)}),o.forEach(function(e){var r=function(e){!0!==e.usedByTooltip&&i._scheduleHide(t,n.delay,n,e)};i._events.push({event:e,func:r}),t.addEventListener(e,r)})}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var i=this,r=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return i._show(t,n)},r)}},{key:"_scheduleHide",value:function(t,e,n,i){var r=this,o=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==r._isOpen&&document.body.contains(r._tooltipNode)){if("mouseleave"===i.type)if(r._setTooltipNodeEvent(i,t,e,n))return;r._hide(t,n)}},o)}}]),t}(),dt=function(){var t=this;this.show=function(){t._show(t.reference,t.options)},this.hide=function(){t._hide()},this.dispose=function(){t._dispose()},this.toggle=function(){return t._isOpen?t.hide():t.show()},this._events=[],this._setTooltipNodeEvent=function(e,n,i,r){var o=e.relatedreference||e.toElement||e.relatedTarget;return!!t._tooltipNode.contains(o)&&(t._tooltipNode.addEventListener(e.type,function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;t._tooltipNode.removeEventListener(e.type,i),n.contains(a)||t._scheduleHide(n,r.delay,r,o)}),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",function(t){for(var e=0;e<ut.length;e++)ut[e]._onDocumentTouch(t)},!it||{passive:!0,capture:!0});var ft={enabled:!0},ht=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],vt={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function At(t){var e={placement:void 0!==t.placement?t.placement:_t.options.defaultPlacement,delay:void 0!==t.delay?t.delay:_t.options.defaultDelay,html:void 0!==t.html?t.html:_t.options.defaultHtml,template:void 0!==t.template?t.template:_t.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:_t.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:_t.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:_t.options.defaultTrigger,offset:void 0!==t.offset?t.offset:_t.options.defaultOffset,container:void 0!==t.container?t.container:_t.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:_t.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:_t.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:_t.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:_t.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:_t.options.defaultLoadingContent,popperOptions:lt({},void 0!==t.popperOptions?t.popperOptions:_t.options.defaultPopperOptions)};if(e.offset){var n=ot(e.offset),i=e.offset;("number"===n||"string"===n&&-1===i.indexOf(","))&&(i="0, "+i),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:i}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function mt(t,e){for(var n=t.placement,i=0;i<ht.length;i++){var r=ht[i];e[r]&&(n=r)}return n}function gt(t){var e=void 0===t?"undefined":ot(t);return"string"===e?t:!(!t||"object"!==e)&&t.content}function yt(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(nt(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function bt(t,e){var n=e.value,i=(e.oldValue,e.modifiers),r=gt(n);if(r&&ft.enabled){var o=void 0;t._tooltip?((o=t._tooltip).setContent(r),o.setOptions(lt({},n,{placement:mt(n,i)}))):o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=gt(e),r=void 0!==e.classes?e.classes:_t.options.defaultClass,o=lt({title:i},At(lt({},e,{placement:mt(e,n)}))),a=t._tooltip=new pt(t,o);a.setClasses(r),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:_t.options.defaultTargetClass;return t._tooltipTargetClasses=s,et(t,s),a}(t,n,i),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?o.show():o.hide())}else yt(t)}var _t={options:vt,bind:bt,update:bt,unbind:function(t){yt(t)}};function wt(t){t.addEventListener("click",Ct),t.addEventListener("touchstart",Ot,!!it&&{passive:!0})}function xt(t){t.removeEventListener("click",Ct),t.removeEventListener("touchstart",Ot),t.removeEventListener("touchend",kt),t.removeEventListener("touchcancel",Et)}function Ct(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Ot(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",kt),e.addEventListener("touchcancel",Et)}}function kt(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],i=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-i.screenY)<20&&Math.abs(n.screenX-i.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Et(t){t.currentTarget.$_vclosepopover_touch=!1}var St={bind:function(t,e){var n=e.value,i=e.modifiers;t.$_closePopoverModifiers=i,(void 0===n||n)&&wt(t)},update:function(t,e){var n=e.value,i=e.oldValue,r=e.modifiers;t.$_closePopoverModifiers=r,n!==i&&(void 0===n||n?wt(t):xt(t))},unbind:function(t){xt(t)}};var Tt=void 0;function Dt(){Dt.init||(Dt.init=!0,Tt=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var i=t.indexOf("Edge/");return i>0?parseInt(t.substring(i+5,t.indexOf(".",i)),10):-1}())}var Mt={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Tt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var t=this;Dt(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Tt&&this.$el.appendChild(e),e.data="about:blank",Tt||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}};var Nt={version:"0.4.4",install:function(t){t.component("resize-observer",Mt)}},$t=null;function Lt(t){var e=_t.options.popover[t];return void 0===e?_t.options[t]:e}"undefined"!=typeof window?$t=window.Vue:void 0!==t&&($t=t.Vue),$t&&$t.use(Nt);var Bt=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(Bt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var It=[],jt=function(){};"undefined"!=typeof window&&(jt=window.Element);var Pt={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-popover",class:t.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":t.popoverId,tabindex:-1!==t.trigger.indexOf("focus")?0:-1}},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",class:[t.popoverBaseClass,t.popoverClass,t.cssClass],style:{visibility:t.isOpen?"visible":"hidden"},attrs:{id:t.popoverId,"aria-hidden":t.isOpen?"false":"true"}},[n("div",{class:t.popoverWrapperClass},[n("div",{ref:"inner",class:t.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[t._t("popover")],2),t._v(" "),t.handleResize?n("ResizeObserver",{on:{notify:t.$_handleResize}}):t._e()],1),t._v(" "),n("div",{ref:"arrow",class:t.popoverArrowClass})])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:Mt},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return Lt("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return Lt("defaultDelay")}},offset:{type:[String,Number],default:function(){return Lt("defaultOffset")}},trigger:{type:String,default:function(){return Lt("defaultTrigger")}},container:{type:[String,Object,jt,Boolean],default:function(){return Lt("defaultContainer")}},boundariesElement:{type:[String,jt],default:function(){return Lt("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return Lt("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return Lt("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return _t.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return _t.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return _t.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return _t.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return _t.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return _t.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,i=this.$_findContainer(this.container,n);if(!i)return void console.warn("No container for popover",this);i.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper(function(){e.popperInstance.options.placement=t})},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event,i=(e.skipDelay,e.force);!(void 0!==i&&i)&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame(function(){t.$_beingShowed=!1})},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var i=this.$_findContainer(this.container,e);if(!i)return void console.warn("No container for popover",this);i.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var r=lt({},this.popperOptions,{placement:this.placement});if(r.modifiers=lt({},r.modifiers,{arrow:lt({},r.modifiers&&r.modifiers.arrow,{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();r.modifiers.offset=lt({},r.modifiers&&r.modifiers.offset,{offset:o})}this.boundariesElement&&(r.modifiers.preventOverflow=lt({},r.modifiers&&r.modifiers.preventOverflow,{boundariesElement:this.boundariesElement})),this.popperInstance=new X(e,n,r),requestAnimationFrame(function(){!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame(function(){t.$_isDisposed?t.dispose():t.isOpen=!0})):t.dispose()})}var a=this.openGroup;if(a)for(var s=void 0,l=0;l<It.length;l++)(s=It[l]).openGroup!==a&&(s.hide(),s.$emit("close-group"));It.push(this),this.$emit("apply-show")}},$_hide:function(){var t=this;if(this.isOpen){var e=It.indexOf(this);-1!==e&&It.splice(e,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=_t.options.popover.disposeTimeout||_t.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout(function(){var e=t.$refs.popover;e&&(e.parentNode&&e.parentNode.removeChild(e),t.$_mounted=!1)},n)),this.$emit("apply-hide")}},$_findContainer:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t},$_getOffset:function(){var t=ot(this.offset),e=this.offset;return("number"===t||"string"===t&&-1===e.indexOf(","))&&(e="0, "+e),e},$_addEventListeners:function(){var t=this,e=this.$refs.trigger,n=[],i=[];("string"==typeof this.trigger?this.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[]).forEach(function(t){switch(t){case"hover":n.push("mouseenter"),i.push("mouseleave");break;case"focus":n.push("focus"),i.push("blur");break;case"click":n.push("click"),i.push("click")}}),n.forEach(function(n){var i=function(e){t.isOpen||(e.usedByTooltip=!0,!t.$_preventOpen&&t.show({event:e}))};t.$_events.push({event:n,func:i}),e.addEventListener(n,i)}),i.forEach(function(n){var i=function(e){e.usedByTooltip||t.hide({event:e})};t.$_events.push({event:n,func:i}),e.addEventListener(n,i)})},$_scheduleShow:function(){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var i=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}},i)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,i=this.$refs.popover,r=t.relatedreference||t.toElement||t.relatedTarget;return!!i.contains(r)&&(i.addEventListener(t.type,function r(o){var a=o.relatedreference||o.toElement||o.relatedTarget;i.removeEventListener(t.type,r),n.contains(a)||e.hide({event:o})}),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach(function(e){var n=e.func,i=e.event;t.removeEventListener(i,n)}),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){e.$_preventOpen=!1},300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function Rt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];requestAnimationFrame(function(){for(var n=void 0,i=0;i<It.length;i++)if((n=It[i]).$refs.popover){var r=n.$refs.popover.contains(t.target);(t.closeAllPopover||t.closePopover&&r||n.autoHide&&!r)&&n.$_handleGlobalClose(t,e)}})}"undefined"!=typeof document&&"undefined"!=typeof window&&(Bt?document.addEventListener("touchend",function(t){Rt(t,!0)},!it||{passive:!0,capture:!0}):window.addEventListener("click",function(t){Rt(t)},!0));var Ft="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var Ut,Ht=(function(t,e){var n=200,i="__lodash_hash_undefined__",r=800,o=16,a=9007199254740991,s="[object Arguments]",l="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",p="[object Null]",d="[object Object]",f="[object Proxy]",h="[object Undefined]",v=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[s]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[c]=m["[object Map]"]=m["[object Number]"]=m[d]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g="object"==typeof Ft&&Ft&&Ft.Object===Object&&Ft,y="object"==typeof self&&self&&self.Object===Object&&self,b=g||y||Function("return this")(),_=e&&!e.nodeType&&e,w=_&&t&&!t.nodeType&&t,x=w&&w.exports===_,C=x&&g.process,O=function(){try{return C&&C.binding&&C.binding("util")}catch(t){}}(),k=O&&O.isTypedArray;function E(t,e){return"__proto__"==e?void 0:t[e]}var S,T,D,M=Array.prototype,N=Function.prototype,$=Object.prototype,L=b["__core-js_shared__"],B=N.toString,I=$.hasOwnProperty,j=(S=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",P=$.toString,R=B.call(Object),F=RegExp("^"+B.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=x?b.Buffer:void 0,H=b.Symbol,V=b.Uint8Array,Y=U?U.allocUnsafe:void 0,G=(T=Object.getPrototypeOf,D=Object,function(t){return T(D(t))}),Q=Object.create,z=$.propertyIsEnumerable,W=M.splice,Z=H?H.toStringTag:void 0,J=function(){try{var t=_t(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),q=U?U.isBuffer:void 0,X=Math.max,K=Date.now,tt=_t(b,"Map"),et=_t(Object,"create"),nt=function(){function t(){}return function(e){if(!Nt(e))return{};if(Q)return Q(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function it(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function rt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function ot(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function at(t){var e=this.__data__=new rt(t);this.size=e.size}function st(t,e){var n=Et(t),i=!n&&kt(t),r=!n&&!i&&Tt(t),o=!n&&!i&&!r&&Lt(t),a=n||i||r||o,s=a?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],l=s.length;for(var c in t)!e&&!I.call(t,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wt(c,l))||s.push(c);return s}function lt(t,e,n){(void 0===n||Ot(t[e],n))&&(void 0!==n||e in t)||pt(t,e,n)}function ct(t,e,n){var i=t[e];I.call(t,e)&&Ot(i,n)&&(void 0!==n||e in t)||pt(t,e,n)}function ut(t,e){for(var n=t.length;n--;)if(Ot(t[n][0],e))return n;return-1}function pt(t,e,n){"__proto__"==e&&J?J(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}it.prototype.clear=function(){this.__data__=et?et(null):{},this.size=0},it.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},it.prototype.get=function(t){var e=this.__data__;if(et){var n=e[t];return n===i?void 0:n}return I.call(e,t)?e[t]:void 0},it.prototype.has=function(t){var e=this.__data__;return et?void 0!==e[t]:I.call(e,t)},it.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=et&&void 0===e?i:e,this},rt.prototype.clear=function(){this.__data__=[],this.size=0},rt.prototype.delete=function(t){var e=this.__data__,n=ut(e,t);return!(n<0||(n==e.length-1?e.pop():W.call(e,n,1),--this.size,0))},rt.prototype.get=function(t){var e=this.__data__,n=ut(e,t);return n<0?void 0:e[n][1]},rt.prototype.has=function(t){return ut(this.__data__,t)>-1},rt.prototype.set=function(t,e){var n=this.__data__,i=ut(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},ot.prototype.clear=function(){this.size=0,this.__data__={hash:new it,map:new(tt||rt),string:new it}},ot.prototype.delete=function(t){var e=bt(this,t).delete(t);return this.size-=e?1:0,e},ot.prototype.get=function(t){return bt(this,t).get(t)},ot.prototype.has=function(t){return bt(this,t).has(t)},ot.prototype.set=function(t,e){var n=bt(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},at.prototype.clear=function(){this.__data__=new rt,this.size=0},at.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},at.prototype.get=function(t){return this.__data__.get(t)},at.prototype.has=function(t){return this.__data__.has(t)},at.prototype.set=function(t,e){var i=this.__data__;if(i instanceof rt){var r=i.__data__;if(!tt||r.length<n-1)return r.push([t,e]),this.size=++i.size,this;i=this.__data__=new ot(r)}return i.set(t,e),this.size=i.size,this};var dt,ft=function(t,e,n){for(var i=-1,r=Object(t),o=n(t),a=o.length;a--;){var s=o[dt?a:++i];if(!1===e(r[s],s,r))break}return t};function ht(t){return null==t?void 0===t?h:p:Z&&Z in Object(t)?function(t){var e=I.call(t,Z),n=t[Z];try{t[Z]=void 0;var i=!0}catch(t){}var r=P.call(t);i&&(e?t[Z]=n:delete t[Z]);return r}(t):function(t){return P.call(t)}(t)}function vt(t){return $t(t)&&ht(t)==s}function At(t){return!(!Nt(t)||(e=t,j&&j in e))&&(Dt(t)?F:v).test(function(t){if(null!=t){try{return B.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function mt(t){if(!Nt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=xt(t),n=[];for(var i in t)("constructor"!=i||!e&&I.call(t,i))&&n.push(i);return n}function gt(t,e,n,i,r){t!==e&&ft(e,function(o,a){if(Nt(o))r||(r=new at),function(t,e,n,i,r,o,a){var s=E(t,n),l=E(e,n),c=a.get(l);if(c)return void lt(t,n,c);var u=o?o(s,l,n+"",t,e,a):void 0,p=void 0===u;if(p){var f=Et(l),h=!f&&Tt(l),v=!f&&!h&&Lt(l);u=l,f||h||v?Et(s)?u=s:$t(b=s)&&St(b)?u=function(t,e){var n=-1,i=t.length;e||(e=Array(i));for(;++n<i;)e[n]=t[n];return e}(s):h?(p=!1,u=function(t,e){if(e)return t.slice();var n=t.length,i=Y?Y(n):new t.constructor(n);return t.copy(i),i}(l,!0)):v?(p=!1,A=l,m=!0?(g=A.buffer,y=new g.constructor(g.byteLength),new V(y).set(new V(g)),y):A.buffer,u=new A.constructor(m,A.byteOffset,A.length)):u=[]:function(t){if(!$t(t)||ht(t)!=d)return!1;var e=G(t);if(null===e)return!0;var n=I.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&B.call(n)==R}(l)||kt(l)?(u=s,kt(s)?u=function(t){return function(t,e,n,i){var r=!n;n||(n={});var o=-1,a=e.length;for(;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),r?pt(n,s,l):ct(n,s,l)}return n}(t,Bt(t))}(s):(!Nt(s)||i&&Dt(s))&&(u=function(t){return"function"!=typeof t.constructor||xt(t)?{}:nt(G(t))}(l))):p=!1}var A,m,g,y;var b;p&&(a.set(l,u),r(u,l,i,o,a),a.delete(l));lt(t,n,u)}(t,e,a,n,gt,i,r);else{var s=i?i(E(t,a),o,a+"",t,e,r):void 0;void 0===s&&(s=o),lt(t,a,s)}},Bt)}function yt(t,e){return Ct(function(t,e,n){return e=X(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,o=X(i.length-e,0),a=Array(o);++r<o;)a[r]=i[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=i[r];return s[e]=n(a),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,s)}}(t,e,Pt),t+"")}function bt(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function _t(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return At(n)?n:void 0}function wt(t,e){var n=typeof t;return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&A.test(t))&&t>-1&&t%1==0&&t<e}function xt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||$)}var Ct=function(t){var e=0,n=0;return function(){var i=K(),a=o-(i-n);if(n=i,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(J?function(t,e){return J(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Pt);function Ot(t,e){return t===e||t!=t&&e!=e}var kt=vt(function(){return arguments}())?vt:function(t){return $t(t)&&I.call(t,"callee")&&!z.call(t,"callee")},Et=Array.isArray;function St(t){return null!=t&&Mt(t.length)&&!Dt(t)}var Tt=q||function(){return!1};function Dt(t){if(!Nt(t))return!1;var e=ht(t);return e==c||e==u||e==l||e==f}function Mt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function Nt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function $t(t){return null!=t&&"object"==typeof t}var Lt=k?function(t){return function(e){return t(e)}}(k):function(t){return $t(t)&&Mt(t.length)&&!!m[ht(t)]};function Bt(t){return St(t)?st(t,!0):mt(t)}var It,jt=(It=function(t,e,n){gt(t,e,n)},yt(function(t,e){var n=-1,i=e.length,r=i>1?e[i-1]:void 0,o=i>2?e[2]:void 0;for(r=It.length>3&&"function"==typeof r?(i--,r):void 0,o&&function(t,e,n){if(!Nt(n))return!1;var i=typeof e;return!!("number"==i?St(n)&&wt(e,n.length):"string"==i&&e in n)&&Ot(n[e],t)}(e[0],e[1],o)&&(r=i<3?void 0:r,i=1),t=Object(t);++n<i;){var a=e[n];a&&It(t,a,n,r)}return t}));function Pt(t){return t}t.exports=jt}(Ut={exports:{}},Ut.exports),Ut.exports);var Vt=_t,Yt={install:function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t.installed){t.installed=!0;var i={};Ht(i,vt,n),Yt.options=i,_t.options=i,e.directive("tooltip",_t),e.directive("close-popover",St),e.component("v-popover",Pt)}},get enabled(){return ft.enabled},set enabled(t){ft.enabled=t}},Gt=null;"undefined"!=typeof window?Gt=window.Vue:void 0!==t&&(Gt=t.Vue),Gt&&Gt.use(Yt)}).call(this,n(0))},function(t,e){function n(t){return"function"==typeof t.value||(console.warn("[Vue-click-outside:] provided expression",t.expression,"is not a function."),!1)}function i(t){return void 0!==t.componentInstance&&t.componentInstance.$isServer}t.exports={bind:function(t,e,r){function o(e){if(r.context){var n=e.path||e.composedPath&&e.composedPath();n&&n.length>0&&n.unshift(e.target),t.contains(e.target)||function(t,e){if(!t||!e)return!1;for(var n=0,i=e.length;n<i;n++)try{if(t.contains(e[n]))return!0;if(e[n].contains(t))return!1}catch(t){return!1}return!1}(r.context.popupItem,n)||t.__vueClickOutside__.callback(e)}}n(e)&&(t.__vueClickOutside__={handler:o,callback:e.value},!i(r)&&document.addEventListener("click",o))},update:function(t,e){n(e)&&(t.__vueClickOutside__.callback=e.value)},unbind:function(t,e,n){!i(n)&&document.removeEventListener("click",t.__vueClickOutside__.handler),delete t.__vueClickOutside__}}},function(t,e,n){"use strict";var i=n(1);n.n(i).a},function(t,e,n){(t.exports=n(5)(!1)).push([t.i,"#updatenotification[data-v-653098a4] {\n margin-top: -25px;\n margin-bottom: 200px;\n}\n#updatenotification div.update[data-v-653098a4],\n #updatenotification p[data-v-653098a4]:not(.inlineblock) {\n margin-bottom: 25px;\n}\n#updatenotification h2.inlineblock[data-v-653098a4] {\n margin-top: 25px;\n}\n#updatenotification h3[data-v-653098a4] {\n cursor: pointer;\n}\n#updatenotification h3 .icon[data-v-653098a4] {\n cursor: pointer;\n}\n#updatenotification h3[data-v-653098a4]:first-of-type {\n margin-top: 0;\n}\n#updatenotification h3.update-channel-selector[data-v-653098a4] {\n display: inline-block;\n cursor: inherit;\n}\n#updatenotification .icon[data-v-653098a4] {\n display: inline-block;\n margin-bottom: -3px;\n}\n#updatenotification .icon-triangle-s[data-v-653098a4], #updatenotification .icon-triangle-n[data-v-653098a4] {\n opacity: 0.5;\n}\n#updatenotification .whatsNew[data-v-653098a4] {\n display: inline-block;\n}\n#updatenotification .toggleWhatsNew[data-v-653098a4] {\n position: relative;\n}\n#updatenotification .popovermenu[data-v-653098a4] {\n margin-top: 5px;\n width: 300px;\n}\n#updatenotification .popovermenu p[data-v-653098a4] {\n margin-bottom: 0;\n width: 100%;\n}\n#updatenotification .applist[data-v-653098a4] {\n margin-bottom: 25px;\n}\n#updatenotification .update-menu[data-v-653098a4] {\n position: relative;\n cursor: pointer;\n margin-left: 3px;\n display: inline-block;\n}\n#updatenotification .update-menu .icon-update-menu[data-v-653098a4] {\n cursor: inherit;\n}\n#updatenotification .update-menu .icon-update-menu .icon-triangle-s[data-v-653098a4] {\n display: inline-block;\n vertical-align: middle;\n cursor: inherit;\n opacity: 1;\n}\n#updatenotification .update-menu .popovermenu[data-v-653098a4] {\n display: none;\n top: 28px;\n}\n#updatenotification .update-menu .popovermenu.show-menu[data-v-653098a4] {\n display: block;\n}\n",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r,o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(t,e,n){"use strict";var i=n(2);n.n(i).a},function(t,e,n){(t.exports=n(5)(!1)).push([t.i,"/* override needed to make menu wider */\n#updatenotification .popovermenu {\n margin-top: 5px;\n width: 300px;\n}\n#updatenotification .popovermenu p {\n margin-top: 5px;\n width: 100%;\n}\n\n/* override needed to replace yellow hover state with a dark one */\n#updatenotification .update-menu .icon-star:hover,\n#updatenotification .update-menu .icon-star:focus {\n background-image: var(--icon-star-000);\n}\n#updatenotification .topMargin {\n margin-top: 15px;\n}\n",""])},function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(15),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,o,a,s,l=1,c={},u=!1,p=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){h(t.data)},i=function(t){o.port2.postMessage(t)}):p&&"onreadystatechange"in p.createElement("script")?(r=p.documentElement,i=function(t){var e=p.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return c[l]=r,i(l),l++},d.clearImmediate=f}function f(t){delete c[t]}function h(t){if(u)setTimeout(h,0,t);else{var e=c[t];if(e){u=!0;try{!function(t){var e=t.callback,i=t.args;switch(i.length){case 0:e();break;case 1:e(i[0]);break;case 2:e(i[0],i[1]);break;case 3:e(i[0],i[1],i[2]);break;default:e.apply(n,i)}}(e)}finally{f(t),u=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(0),n(16))},function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,p=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):p=-1,c.length&&f())}function f(){if(!u){var t=s(d);u=!0;for(var e=c.length;e;){for(l=c,c=[];++p<e;)l&&l[p].run();p=-1,e=c.length}l=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||u||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,i,r){"use strict";r.r(i);var o=r(4),a=r(3),s=r(7),l=r(8),c=r.n(l),u={name:"root",components:{Multiselect:a.Multiselect,PopoverMenu:a.PopoverMenu},directives:{ClickOutside:c.a,tooltip:s.a},data:function(){return{newVersionString:"",lastCheckedDate:"",isUpdateChecked:!1,updaterEnabled:!0,versionIsEol:!1,downloadLink:"",isNewVersionAvailable:!1,updateServerURL:"",changelogURL:"",whatsNewData:[],currentChannel:"",channels:[],notifyGroups:"",availableGroups:[],isDefaultUpdateServerURL:!0,enableChangeWatcher:!1,availableAppUpdates:[],missingAppUpdates:[],appStoreFailed:!1,appStoreDisabled:!1,isListFetched:!1,hideMissingUpdates:!1,hideAvailableUpdates:!0,openedWhatsNew:!1,openedUpdateChannelMenu:!1}},_$el:null,_$notifyGroups:null,watch:{notifyGroups:function(t){if(this.enableChangeWatcher){var e=[];_.each(t,function(t){e.push(t.value)}),OCP.AppConfig.setValue("updatenotification","notify_groups",JSON.stringify(e))}},isNewVersionAvailable:function(){this.isNewVersionAvailable&&$.ajax({url:OC.linkToOCS("apps/updatenotification/api/v1/applist",2)+this.newVersion,type:"GET",beforeSend:function(t){t.setRequestHeader("Accept","application/json")},success:function(t){this.availableAppUpdates=t.ocs.data.available,this.missingAppUpdates=t.ocs.data.missing,this.isListFetched=!0,this.appStoreFailed=!1}.bind(this),error:function(t){this.availableAppUpdates=[],this.missingAppUpdates=[],this.appStoreDisabled=t.responseJSON.ocs.data.appstore_disabled,this.isListFetched=!0,this.appStoreFailed=!0}.bind(this)})}},computed:{newVersionAvailableString:function(){return t("updatenotification","A new version is available: <strong>{newVersionString}</strong>",{newVersionString:this.newVersionString})},lastCheckedOnString:function(){return t("updatenotification","Checked on {lastCheckedDate}",{lastCheckedDate:this.lastCheckedDate})},statusText:function(){return this.isListFetched?this.appStoreDisabled?t("updatenotification","Please make sure your config.php does not set <samp>appstoreenabled</samp> to false."):this.appStoreFailed?t("updatenotification","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore."):0===this.missingAppUpdates.length?t("updatenotification","<strong>All</strong> apps have an update for this version available",this):n("updatenotification","<strong>%n</strong> app has no update for this version available","<strong>%n</strong> apps have no update for this version available",this.missingAppUpdates.length):t("updatenotification","Checking apps for compatible updates")},whatsNew:function(){if(0===this.whatsNewData.length)return null;var e=[];for(var n in this.whatsNewData)e[n]={icon:"icon-checkmark",longtext:this.whatsNewData[n]};return this.changelogURL&&e.push({href:this.changelogURL,text:t("updatenotificaiton","View changelog"),icon:"icon-link",target:"_blank",action:""}),e},channelList:function(){var e=[];return e.push({text:t("updatenotificaiton","Stable"),longtext:t("updatenotification","The most recent stable version. It is suited for regular use and will always update to the latest major version."),icon:"icon-checkmark",active:"stable"===this.currentChannel,action:this.changeReleaseChannelToStable}),e.push({text:t("updatenotificaiton","Production"),longtext:t("updatenotification","Will always provide the latest patch level, but not update to the next major release immediately. That update usually happens with the second minor release (x.0.2) and only if the instance is already on the latest minor version."),icon:"icon-star",active:"production"===this.currentChannel,action:this.changeReleaseChannelToProduction}),e.push({text:t("updatenotificaiton","Beta"),longtext:t("updatenotification","A pre-release version only for testing new features, not for production environments."),icon:"icon-category-customization",active:"beta"===this.currentChannel,action:this.changeReleaseChannelToBeta}),this.isNonDefaultChannel&&e.push({text:this.currentChannel,icon:"icon-rename",active:!0}),e},isNonDefaultChannel:function(){return"production"!==this.currentChannel&&"stable"!==this.currentChannel&&"beta"!==this.currentChannel},localizedChannelName:function(){switch(this.currentChannel){case"production":return t("updatenotificaiton","Production");case"stable":return t("updatenotificaiton","Stable");case"beta":return t("updatenotificaiton","Beta");default:return this.currentChannel}}},methods:{clickUpdaterButton:function(){$.ajax({url:OC.generateUrl("/apps/updatenotification/credentials")}).success(function(t){var e=document.createElement("form");e.setAttribute("method","post"),e.setAttribute("action",OC.getRootPath()+"/updater/");var n=document.createElement("input");n.setAttribute("type","hidden"),n.setAttribute("name","updater-secret-input"),n.setAttribute("value",t),e.appendChild(n),document.body.appendChild(e),e.submit()}.bind(this))},changeReleaseChannelToStable:function(){this.changeReleaseChannel("stable")},changeReleaseChannelToProduction:function(){this.changeReleaseChannel("production")},changeReleaseChannelToBeta:function(){this.changeReleaseChannel("beta")},changeReleaseChannel:function(t){this.currentChannel=t,$.ajax({url:OC.generateUrl("/apps/updatenotification/channel"),type:"POST",data:{channel:this.currentChannel},success:function(t){OC.msg.finishedAction("#channel_save_msg",t)}}),this.openedUpdateChannelMenu=!1},toggleUpdateChannelMenu:function(){this.openedUpdateChannelMenu=!this.openedUpdateChannelMenu},toggleHideMissingUpdates:function(){this.hideMissingUpdates=!this.hideMissingUpdates},toggleHideAvailableUpdates:function(){this.hideAvailableUpdates=!this.hideAvailableUpdates},toggleMenu:function(){this.openedWhatsNew=!this.openedWhatsNew},hideMenu:function(){this.openedWhatsNew=!1}},beforeMount:function(){var t=JSON.parse($("#updatenotification").attr("data-json"));this.newVersion=t.newVersion,this.newVersionString=t.newVersionString,this.lastCheckedDate=t.lastChecked,this.isUpdateChecked=t.isUpdateChecked,this.updaterEnabled=t.updaterEnabled,this.downloadLink=t.downloadLink,this.isNewVersionAvailable=t.isNewVersionAvailable,this.updateServerURL=t.updateServerURL,this.currentChannel=t.currentChannel,this.channels=t.channels,this.notifyGroups=t.notifyGroups,this.isDefaultUpdateServerURL=t.isDefaultUpdateServerURL,this.versionIsEol=t.versionIsEol,t.changes&&t.changes.changelogURL&&(this.changelogURL=t.changes.changelogURL),t.changes&&t.changes.whatsNew&&(t.changes.whatsNew.admin&&(this.whatsNewData=this.whatsNewData.concat(t.changes.whatsNew.admin)),this.whatsNewData=this.whatsNewData.concat(t.changes.whatsNew.regular))},mounted:function(){this._$el=$(this.$el),this._$notifyGroups=this._$el.find("#oca_updatenotification_groups_list"),this._$notifyGroups.on("change",function(){this.$emit("input")}.bind(this)),$.ajax({url:OC.linkToOCS("cloud",2)+"/groups",dataType:"json",success:function(t){var e=[];$.each(t.ocs.data.groups,function(t,n){e.push({value:n,label:n})}),this.availableGroups=e,this.enableChangeWatcher=!0}.bind(this)})}};r(9),r(12);var p=function(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:c}}(u,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"followupsection",attrs:{id:"updatenotification"}},[n("div",{staticClass:"update"},[t.isNewVersionAvailable?[t.versionIsEol?n("p",[n("span",{staticClass:"warning"},[n("span",{staticClass:"icon icon-error-white"}),t._v("\n\t\t\t\t\t"+t._s(t.t("updatenotification","The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible."))+"\n\t\t\t\t")])]):t._e(),t._v(" "),n("p",[n("span",{domProps:{innerHTML:t._s(t.newVersionAvailableString)}}),n("br"),t._v(" "),t.isListFetched?t._e():n("span",{staticClass:"icon icon-loading-small"}),t._v(" "),n("span",{domProps:{innerHTML:t._s(t.statusText)}})]),t._v(" "),t.missingAppUpdates.length?[n("h3",{on:{click:t.toggleHideMissingUpdates}},[t._v("\n\t\t\t\t\t"+t._s(t.t("updatenotification","Apps missing updates"))+"\n\t\t\t\t\t"),t.hideMissingUpdates?t._e():n("span",{staticClass:"icon icon-triangle-n"}),t._v(" "),t.hideMissingUpdates?n("span",{staticClass:"icon icon-triangle-s"}):t._e()]),t._v(" "),t.hideMissingUpdates?t._e():n("ul",{staticClass:"applist"},t._l(t.missingAppUpdates,function(e){return n("li",[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+e.appId,title:t.t("settings","View in store")}},[t._v(t._s(e.appName)+" ↗")])])}),0)]:t._e(),t._v(" "),t.availableAppUpdates.length?[n("h3",{on:{click:t.toggleHideAvailableUpdates}},[t._v("\n\t\t\t\t\t"+t._s(t.t("updatenotification","Apps with available updates"))+"\n\t\t\t\t\t"),t.hideAvailableUpdates?t._e():n("span",{staticClass:"icon icon-triangle-n"}),t._v(" "),t.hideAvailableUpdates?n("span",{staticClass:"icon icon-triangle-s"}):t._e()]),t._v(" "),n("ul",{staticClass:"applist"},t._l(t.availableAppUpdates,function(e){return t.hideAvailableUpdates?t._e():n("li",[n("a",{attrs:{href:"https://apps.nextcloud.com/apps/"+e.appId,title:t.t("settings","View in store")}},[t._v(t._s(e.appName)+" ↗")])])}),0)]:t._e(),t._v(" "),n("div",[t.updaterEnabled?n("a",{staticClass:"button primary",attrs:{href:"#"},on:{click:t.clickUpdaterButton}},[t._v(t._s(t.t("updatenotification","Open updater")))]):t._e(),t._v(" "),t.downloadLink?n("a",{staticClass:"button",class:{hidden:!t.updaterEnabled},attrs:{href:t.downloadLink}},[t._v(t._s(t.t("updatenotification","Download now")))]):t._e(),t._v(" "),t.whatsNew?n("div",{staticClass:"whatsNew"},[n("div",{staticClass:"toggleWhatsNew"},[n("a",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideMenu,expression:"hideMenu"}],staticClass:"button",on:{click:t.toggleMenu}},[t._v(t._s(t.t("updatenotification","What's new?")))]),t._v(" "),n("div",{staticClass:"popovermenu",class:{"menu-center":!0,open:t.openedWhatsNew}},[n("popover-menu",{attrs:{menu:t.whatsNew}})],1)])]):t._e()])]:t.isUpdateChecked?[t._v("\n\t\t\t"+t._s(t.t("updatenotification","Your version is up to date."))+"\n\t\t\t"),n("span",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:t.lastCheckedOnString,expression:"lastCheckedOnString",modifiers:{auto:!0}}],staticClass:"icon-info svg"})]:[t._v(t._s(t.t("updatenotification","The update check is not yet finished. Please refresh the page.")))],t._v(" "),t.isDefaultUpdateServerURL?t._e():[n("p",{staticClass:"topMargin"},[n("em",[t._v(t._s(t.t("updatenotification","A non-default update server is in use to be checked for updates:"))+" "),n("code",[t._v(t._s(t.updateServerURL))])])])]],2),t._v(" "),n("h3",{staticClass:"update-channel-selector"},[t._v("\n\t\t"+t._s(t.t("updatenotification","Update channel:"))+"\n\t\t"),n("div",{staticClass:"update-menu"},[n("span",{staticClass:"icon-update-menu",on:{click:t.toggleUpdateChannelMenu}},[t._v("\n\t\t\t\t"+t._s(t.localizedChannelName)+"\n\t\t\t\t"),n("span",{staticClass:"icon-triangle-s"})]),t._v(" "),n("div",{staticClass:"popovermenu menu menu-center",class:{"show-menu":t.openedUpdateChannelMenu}},[n("popover-menu",{attrs:{menu:t.channelList}})],1)])]),t._v(" "),n("span",{staticClass:"msg",attrs:{id:"channel_save_msg"}}),n("br"),t._v(" "),n("p",[n("em",[t._v(t._s(t.t("updatenotification","You can always update to a newer version. But you can never downgrade to a more stable version.")))]),n("br"),t._v(" "),n("em",[t._v(t._s(t.t("updatenotification","Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.")))])]),t._v(" "),n("p",{attrs:{id:"oca_updatenotification_groups"}},[t._v("\n\t\t"+t._s(t.t("updatenotification","Notify members of the following groups about available updates:"))+"\n\t\t"),n("multiselect",{attrs:{options:t.availableGroups,multiple:!0,label:"label","track-by":"value","tag-width":75},model:{value:t.notifyGroups,callback:function(e){t.notifyGroups=e},expression:"notifyGroups"}}),n("br"),t._v(" "),"daily"===t.currentChannel||"git"===t.currentChannel?n("em",[t._v(t._s(t.t("updatenotification","Only notification for app updates are available.")))]):t._e(),t._v(" "),"daily"===t.currentChannel?n("em",[t._v(t._s(t.t("updatenotification","The selected update channel makes dedicated notifications for the server obsolete.")))]):t._e(),t._v(" "),"git"===t.currentChannel?n("em",[t._v(t._s(t.t("updatenotification","The selected update channel does not support updates of the server.")))]):t._e()],1)])},[],!1,null,"653098a4",null).exports; /** * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com> * |