All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.builtins.567b98aaba093175141f.js Maven / Gradle / Ivy

There is a newer version: 5.2.7
Show newest version
!function(n){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=n,i.c=r,i.d=function(exports,t,e){if(!i.o(exports,t))Object.defineProperty(exports,t,{enumerable:!0,get:e})},i.r=function(exports){if("undefined"!=typeof Symbol&&Symbol.toStringTag)Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});Object.defineProperty(exports,"__esModule",{value:!0})},i.t=function(e,t){if(1&t)e=i(e);if(8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=0)}({"+CppQpVm":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=e("ZX4j5H1r");if(!window.graylogHistory)window.graylogHistory=n.browserHistory;var r=window.graylogHistory;exports.default=r,t.exports=exports.default},"+b6oEDsX":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=s(e("4KF7VOU5")),r=s(e("GZfD0NTG")),i=s(e("72UfWcJe")),o=s(e("QlBQbb2U")),a=s(e("21p8kIWv"));function s(t){return t&&t.__esModule?t:{default:t}}var u=a.default.get("Session"),l=u.SessionStore,c=u.SessionActions,f=a.default.get("Startpage").StartpageStore,d=n.default.createStore({listenables:[c],currentUser:void 0,init:function(){this.listenTo(l,this.sessionUpdate,this.sessionUpdate),this.listenTo(f,this.reload,this.reload)},getInitialState:function(){return{currentUser:this.currentUser}},get:function(){return this.currentUser},sessionUpdate:function(t){if(t.sessionId&&t.username){var e=t.username;this.update(e)}else this.currentUser=void 0,this.trigger({currentUser:this.currentUser})},reload:function(){if(void 0!==this.currentUser)return this.update(this.currentUser.username)},update:function(t){var e=this;return(0,i.default)("GET",r.default.qualifyUrl(o.default.UsersApiController.load(encodeURIComponent(t)).url)).then(function(t){e.currentUser=t,e.trigger({currentUser:e.currentUser})})}});exports.default=d,t.exports=exports.default},"+efuPE8h":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({loadMessage:{asyncResult:!0},fieldTerms:{asyncResult:!0},loadRawMessage:{asyncResult:!0}});exports.default=r,t.exports=exports.default},"/8dZfPfB":function(qs,exports,zs){var Bs,Hs;!function(){var D={version:"3.5.17"},o=[].slice,d=function(t){return o.call(t)},_=this.document;function s(t){return t&&(t.ownerDocument||t.document||t).documentElement}function I(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}if(_)try{d(_.documentElement.childNodes)[0].nodeType}catch(t){d=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(!Date.now)Date.now=function(){return+new Date};if(_)try{_.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var e=this.Element.prototype,n=e.setAttribute,r=e.setAttributeNS,i=this.CSSStyleDeclaration.prototype,a=i.setProperty;e.setAttribute=function(t,e){n.call(this,t,e+"")},e.setAttributeNS=function(t,e,n){r.call(this,t,e,n+"")},i.setProperty=function(t,e,n){a.call(this,t,e+"",n)}}function u(t,e){return t>>1;if(o(t[i],e)<0)n=i+1;else r=i}return n},right:function(t,e,n,r){if(arguments.length<3)n=0;if(arguments.length<4)r=t.length;for(;n>>1;if(0e;)i.push(r/o);else for(;(r=t+n*++a)=p.length)return d?d.call(h,t):f?t.sort(f):t;for(var e,i,o,a,s=-1,u=t.length,l=p[r++],c=new y;++s=p.length)return t;var i=[],o=e[r++];return t.forEach(function(t,e){i.push({key:t,values:n(e,r)})}),o?i.sort(function(t,e){return o(t.key,e.key)}):i}(g(D.map,t,0),0)},h.key=function(t){return p.push(t),h},h.sortKeys=function(t){return e[p.length-1]=t,h},h.sortValues=function(t){return f=t,h},h.rollup=function(t){return d=t,h},h},D.set=function(t){var e=new A;if(t)for(var n=0,r=t.length;n>16,t>>8&255,255&t)}function se(t){return ae(t)+""}$t.brighter=function(t){return new Jt(Math.min(100,this.l+Yt*(arguments.length?t:1)),this.a,this.b)},$t.darker=function(t){return new Jt(Math.max(0,this.l-Yt*(arguments.length?t:1)),this.a,this.b)},$t.rgb=function(){return te(this.l,this.a,this.b)};var ue=(D.rgb=oe).prototype=new qt;function le(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function ce(t,e,n){var r,i,o,a=0,s=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return e(pe(i[0]),pe(i[1]),pe(i[2]))}if(o=ge.get(t))return e(o.r,o.g,o.b);if(null!=t&&"#"===t.charAt(0)&&!isNaN(o=parseInt(t.slice(1),16)))if(4===t.length)a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,u=15&o,u|=u<<4;else if(7===t.length)a=(16711680&o)>>16,s=(65280&o)>>8,u=255&o;return e(a,s,u)}function fe(t,e,n){var r,i,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,u=(a+o)/2;if(s){if(i=u<.5?s/(a+o):s/(2-a-o),t==a)r=(e-n)/s+(e=e.t&&e.c(t-e.t))e.c=null;e=e.n}return t}function Ee(){for(var t,e=_e,n=1/0;e;)if(e.c){if(e.t=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Pe=D.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=D.round(t,Te(t,e))).toFixed(Math.max(0,Math.min(20,Te(t*(1+1e-15),e))))}});function Re(t){return t+""}var Ue=D.time={},De=Date;function Ie(){this._=new Date(1e)break;o=u[i=(i+1)%u.length]}return r.reverse().join(s)}:j,function(t){var e=Oe.exec(t),c=e[1]||" ",f=e[2]||">",d=e[3]||"-",n=e[4]||"",h=e[5],p=+e[6],g=e[7],v=e[8],m=e[9],y=1,_="",b="",w=!1,x=!0;if(v)v=+v.substring(1);if(h||"0"===c&&"="===f)h=c="0",f="=";switch(m){case"n":g=!0,m="g";break;case"%":y=100,b="%",m="f";break;case"p":y=100,b="%",m="r";break;case"b":case"o":case"x":case"X":if("#"===n)_="0"+m.toLowerCase();case"c":x=!1;case"d":w=!0,v=0;break;case"s":y=-1,m="r"}if("$"===n)_=r[0],b=r[1];if("r"==m&&!v)m="g";if(null!=v)if("g"==m)v=Math.max(1,Math.min(21,v));else if("e"==m||"f"==m)v=Math.max(0,Math.min(20,v));m=Pe.get(m)||Re;var S=h&&g;return function(t){var e=b;if(w&&t%1)return"";var n=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===d?"":d;if(y<0){var r=D.formatPrefix(t,v);t=r.scale(t),e=r.symbol+b}else t*=y;var i,o,a=(t=m(t,v)).lastIndexOf(".");if(a<0){var s=x?t.lastIndexOf("e"):-1;if(s<0)i=t,o="";else i=t.substring(0,s),o=t.substring(s)}else i=t.substring(0,a),o=C+t.substring(a+1);if(!h&&g)i=k(i,1/0);var u=_.length+i.length+o.length+(S?0:n.length),l=u"===f?l+n+t:"^"===f?l.substring(0,u>>=1)+n+t+l.substring(u):n+(S?t:l+t))+e}}),timeFormat:function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths;function l(s){var u=s.length;function t(t){for(var e,n,r,i=[],o=-1,a=0;++o_(c,d))d=t}else if(_(t,d)>_(c,d))c=t}else if(c<=d){if(t_(c,d))d=t}else if(_(t,d)>_(c,d))c=t}else m(t,e);g=n,p=t}function t(){v.point=a}function e(){l[0]=c,l[1]=d,v.point=m,g=null}function n(t,e){if(g){var n=t-p;o+=180St)c=-(d=180);l[0]=c,l[1]=d,g=null}function _(t,e){return(e-=t)<0?e+360:e}function b(t,e){return t[0]-e[0]}function w(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t_(s[0],s[1]))s[1]=o[1];if(_(o[0],s[1])>_(s[0],s[1]))s[0]=o[0]}else n.push(s=o);for(var r,i,o,a=-1/0,s=(e=0,n[i=n.length-1]);e<=i;s=o,++e)if(o=n[e],(r=_(s[1],o[0]))>a)a=r,c=o[0],d=s[1]}return u=l=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[d,h]]}}(),D.geo.centroid=function(t){yn=_n=bn=wn=xn=Sn=Cn=kn=An=En=Tn=0,D.geo.stream(t,Gn);var e=An,n=En,r=Tn,i=e*e+n*n+r*r;if(iSt?Math.atan((Math.sin(r)*(s=Math.cos(o))*Math.sin(i)-Math.sin(o)*(a=Math.cos(r))*Math.sin(n))/(a*s*u)):(r+o)/2,f.point(g,p),f.lineEnd(),f.lineStart(),f.point(l,p),d=0}f.point(h=t,p=e),g=l},lineEnd:function(){f.lineEnd(),h=p=NaN},clean:function(){return 2-d}}},function(t,e,n,r){var i;if(null==t)i=n*Tt,r.point(-kt,i),r.point(0,i),r.point(kt,i),r.point(kt,0),r.point(kt,-i),r.point(0,-i),r.point(-kt,-i),r.point(-kt,0),r.point(-kt,i);else if(U(t[0]-e[0])>St){var o=t[0]r&&0St;return Zn(g,function(s){var u,l,c,f,d;return{lineStart:function(){f=c=!1,d=1},point:function(t,e){var n,r=[t,e],i=g(t,e),o=h?i?0:m(t,e):i?m(t+(t<0?kt:-kt),e):0;if(!u&&(f=c=i))s.lineStart();if(i!==c)if(n=v(u,r),Ln(u,n)||Ln(r,n))r[0]+=St,r[1]+=St,i=g(r[0],r[1]);if(i!==c){if(d=0,i)s.lineStart(),n=v(r,u),s.point(n[0],n[1]);else n=v(u,r),s.point(n[0],n[1]),s.lineEnd();u=n}else if(p&&u&&h^i){var a;if(!(o&l)&&(a=v(r,u,!0)))if(d=0,h)s.lineStart(),s.point(a[0][0],a[0][1]),s.point(a[1][0],a[1][1]),s.lineEnd();else s.point(a[1][0],a[1][1]),s.lineEnd(),s.lineStart(),s.point(a[0][0],a[0][1])}if(i&&(!u||!Ln(u,r)))s.point(r[0],r[1]);u=r,c=i,l=o},lineEnd:function(){if(c)s.lineEnd();u=null},clean:function(){return d|(f&&c)<<1}}},Fr(i,6*Mt),h?[0,-i]:[-kt,i-kt]);function g(t,e){return Math.cos(t)*Math.cos(e)>A}function v(t,e,n){var r=[1,0,0],i=Dn(Rn(t),Rn(e)),o=Un(i,i),a=i[0],s=o-a*a;if(!s)return!n&&t;var u=A*o/s,l=-A*a/s,c=Dn(r,i),f=jn(r,u);In(f,jn(i,l));var d=c,h=Un(f,d),p=Un(d,d),g=h*h-p*(Un(f,f)-1);if(!(g<0)){var v=Math.sqrt(g),m=jn(d,(-h-v)/p);if(In(m,f),m=Nn(m),!n)return m;var y,_=t[0],b=e[0],w=t[1],x=e[1];if(b<_)y=_,_=b,b=y;var S=b-_,C=U(S-kt)St}).map(l)).concat(D.range(Math.ceil(a/p)*p,o,p).filter(function(t){return U(t%v)>St}).map(c))}return y.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[f(i).concat(d(s).slice(1),f(r).reverse().slice(1),d(u).reverse().slice(1))]}},y.extent=function(t){if(!arguments.length)return y.minorExtent();else return y.majorExtent(t).minorExtent(t)},y.majorExtent=function(t){if(!arguments.length)return[[i,u],[r,s]];if(i=+t[0][0],r=+t[1][0],u=+t[0][1],s=+t[1][1],r=l)return;n={x:v,y:l}}else{if(!o)o={x:v,y:l};else if(o.y=l)return;n={x:(l-i)/r,y:l}}else{if(!o)o={x:(l-i)/r,y:l};else if(o.y=s)return;n={x:s,y:r*s+i}}else{if(!o)o={x:s,y:r*s+i};else if(o.xSt||U(i-n)>St)s.splice(a,0,new Ri((m=o.site,y=c,_=U(r-f)=a&&r.x<=u&&r.y>=s&&r.y<=l?[[a,l],[u,l],[u,s],[a,s]]:[]).point=i[e]}),o}function f(t){return t.map(function(t,e){return{x:Math.round(r(t,e)/St)*St,y:Math.round(i(t,e)/St)*St,i:e}})}return o.links=function(e){return Ni(f(e)).edges.filter(function(t){return t.l&&t.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},o.triangles=function(d){var h=[];return Ni(f(d)).cells.forEach(function(t,e){for(var n,r,i,o,a=t.site,s=t.edges.sort(Ci),u=-1,l=s.length,c=s[l-1].edge,f=c.l===a?c.r:c.l;++uo)if(i=r.slice(o,i),s[a])s[a]+=i;else s[++a]=i;if((e=e[0])===(n=n[0]))if(s[a])s[a]+=n;else s[++a]=n;else s[++a]=null,u.push({i:a,x:Vi(e,n)});o=Ji.lastIndex}if(ou)u=e.x;if(e.y>l)l=e.y;n.push(e.x),r.push(e.y)}else for(i=0;ii)r=n,i=e;return r}function Ho(t){return t.reduce(Vo,0)}function Vo(t,e){return t+e[1]}function Wo(t,e){return Qo(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Qo(t,e){for(var n=-1,r=+t[0],i=(t[1]-r)/e,o=[];++n<=e;)o[n]=i*n+r;return o}function Jo(t){return[D.min(t),D.max(t)]}function Yo(t,e){return t.value-e.value}function Ko(t,e){var n=t._pack_next;(t._pack_next=e)._pack_prev=t,(e._pack_next=n)._pack_prev=e}function Zo(t,e){(t._pack_next=e)._pack_prev=t}function Xo(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return n*n+r*r<.999*i*i}function $o(t){if((e=t.children)&&(u=e.length)){var e,n,r,i,o,a,s,u,l=1/0,c=-1/0,f=1/0,d=-1/0;if(e.forEach(ta),(n=e[0]).x=-n.r,n.y=0,_(n),1=a[0]&&r<=a[1])(n=i[D.bisect(s,r,1,l)-1]).y+=c,n.push(t[e]);return i}return n.value=function(t){if(!arguments.length)return d;else return d=t,n},n.range=function(t){if(!arguments.length)return h;else return h=ve(t),n},n.bins=function(e){if(!arguments.length)return p;else return p="number"==typeof e?function(t){return Qo(t,e)}:ve(e),n},n.frequency=function(t){if(!arguments.length)return f;else return f=!!t,n},n},D.layout.pack=function(){var u,l=D.layout.hierarchy().sort(Yo),c=0,f=[1,1];function e(t,e){var n=l.call(this,t,e),r=n[0],i=f[0],o=f[1],a=null==u?Math.sqrt:"function"==typeof u?u:function(){return u};if(r.x=r.y=0,Oo(r,function(t){t.r=+a(t.value)}),Oo(r,$o),c){var s=c*(u?1:Math.max(2*r.r/i,2*r.r/o))/2;Oo(r,function(t){t.r+=s}),Oo(r,$o),Oo(r,function(t){t.r-=s})}return function t(e,n,r,i){var o=e.children;e.x=n+=i*e.x;e.y=r+=i*e.y;e.r*=i;if(o)for(var a=-1,s=o.length;++aa.x)a=t;if(t.depth>s.depth)s=t});var u=g(o,a)/2-o.x,l=d[0]/(a.x+g(a,o)/2+u),c=d[1]/(s.depth||1);Mo(r,function(t){t.x=(t.x+u)*l,t.y=t.depth*c})}return n}function p(t){var e=t.children,n=t.parent.children,r=t.i?n[t.i-1]:null;if(e.length){!function(t){var e,n=0,r=0,i=t.children,o=i.length;for(;0<=--o;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(t);var i=(e[0].z+e[e.length-1].z)/2;if(r)t.z=r.z+g(t._,r._),t.m=t.z-i;else t.z=i}else if(r)t.z=r.z+g(t._,r._);t.parent.A=function(t,e,n){if(e){for(var r,i=t,o=t,a=e,s=i.parent.children[0],u=i.m,l=o.m,c=a.m,f=s.m;a=oa(a),i=ia(i),a&&i;){if(s=ia(s),(o=oa(o)).a=t,0<(r=a.z+c-i.z-u+g(a._,i._)))aa((h=t,p=n,(d=a).a.parent===h.parent?d.a:p),t,r),u+=r,l+=r;c+=a.m,u+=i.m,f+=s.m,l+=o.m}if(a&&!oa(o))o.t=a,o.m+=c-l;if(i&&!ia(s))s.t=i,s.m+=u-f,n=t}var d,h,p;return n}(t,r,t.parent.A||n[0])}function v(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function m(t){t.x*=d[0],t.y=t.depth*d[1]}return e.separation=function(t){if(!arguments.length)return g;else return g=t,e},e.size=function(t){if(!arguments.length)return h?null:d;else return h=null==(d=t)?m:null,e},e.nodeSize=function(t){if(!arguments.length)return h?d:null;else return h=null==(d=t)?null:m,e},To(e,f)},D.layout.cluster=function(){var c=D.layout.hierarchy().sort(null).value(null),f=ra,d=[1,1],h=!1;function e(t,e){var i,n=c.call(this,t,e),r=n[0],o=0;Oo(r,function(t){var e,n,r=t.children;if(r&&r.length)t.x=(n=r).reduce(function(t,e){return t+e.x},0)/n.length,t.y=(e=r,1+D.max(e,function(t){return t.y}));else t.x=i?o+=f(t,i):0,t.y=0,i=t});var a=function t(e){var n=e.children;return n&&n.length?t(n[0]):e}(r),s=function t(e){var n,r=e.children;return r&&(n=r.length)?t(r[n-1]):e}(r),u=a.x-f(a,s)/2,l=s.x+f(s,a)/2;return Oo(r,h?function(t){t.x=(t.x-r.x)*d[0],t.y=(r.y-t.y)*d[1]}:function(t){t.x=(t.x-u)/(l-u)*d[0],t.y=(1-(r.y?t.y/r.y:1))*d[1]}),n}return e.separation=function(t){if(!arguments.length)return f;else return f=t,e},e.size=function(t){if(!arguments.length)return h?null:d;else return h=null==(d=t),e},e.nodeSize=function(t){if(!arguments.length)return h?d:null;else return h=null!=(d=t),e},To(e,c)},D.layout.treemap=function(){var r,i=D.layout.hierarchy(),c=Math.round,o=[1,1],a=null,f=sa,s=!1,d="squarify",u=.5*(1+Math.sqrt(5));function h(t,e){for(var n,r,i=-1,o=t.length;++in.dy)l=n.dy;for(;++on.dx)l=n.dx;for(;++or;o--);e=e.slice(i,o)}return e};i.tickFormat=function(t,n){if(!arguments.length)return Sa;if(arguments.length<2)n=Sa;else if("function"!=typeof n)n=D.format(n);var r=Math.max(1,u*t/i.ticks().length);return function(t){var e=t/d(Math.round(f(t)));if(e*urect,.s>rect").attr("width",S[1]-S[0])}function O(t){t.select(".extent").attr("y",C[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",C[1]-C[0])}function s(){var f,n,r=this,t=D.select(D.event.target),i=b.of(r,arguments),o=D.select(r),e=t.datum(),a=!/^(n|s)$/.test(e)&&w,s=!/^(e|w)$/.test(e)&&x,d=t.classed("extent"),u=_t(r),h=D.mouse(r),l=D.select(I(r)).on("keydown.brush",function(){if(32==D.event.keyCode){if(!d)f=null,h[0]-=S[1],h[1]-=C[1],d=2;F()}}).on("keyup.brush",function(){if(32==D.event.keyCode&&2==d)h[0]+=S[1],h[1]+=C[1],d=0,F()});if(D.event.changedTouches)l.on("touchmove.brush",g).on("touchend.brush",m);else l.on("mousemove.brush",g).on("mouseup.brush",m);if(o.interrupt().selectAll("*").interrupt(),d)h[0]=S[0]-h[0],h[1]=C[0]-h[1];else if(e){var c=+/w$/.test(e),p=+/^n/.test(e);n=[S[1-c]-h[0],C[1-p]-h[1]],h[0]=S[c],h[1]=C[p]}else if(D.event.altKey)f=h.slice();function g(){var t=D.mouse(r),e=!1;if(n)t[0]+=n[0],t[1]+=n[1];if(!d)if(D.event.altKey){if(!f)f=[(S[0]+S[1])/2,(C[0]+C[1])/2];h[0]=S[+(t[0]=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?r.apply(exports,i):r)||(e.exports=o)}()},"843IJxye":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({listPaginated:{asyncResult:!0},getSidecar:{asyncResult:!0},getSidecarActions:{asyncResult:!0},restartCollector:{asyncResult:!0},assignConfigurations:{asyncResult:!0}});exports.default=r,t.exports=exports.default},"8E7bWa3x":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.generateId=v,exports.FieldChart=void 0;var h=d(e("gCzbTwtZ"));e("fq/PlmTL"),e("Wxlw3M3z");var n=d(e("2gEPIf6i")),u=d(e("9pdI12pI")),l=d(e("rHbN75bt")),c=(d(e("0yKdGkhh")),d(e("ZQrLAKBX")),d(e("QDVhqBhn"))),f=d(e("wy2cP4gd")),r=d(e("GZfD0NTG")),i=d(e("72UfWcJe")),o=d(e("QlBQbb2U")),s=d(e("8GJ6oOEd")),p=d(e("H1SnJhgx")),a=d(e("VrIkJ5a+"));function d(t){return t&&t.__esModule?t:{default:t}}var g=d(e("1VnJesae")).default.getStore("Search");function v(){for(var t="",e=0;e<4;e++)t+=Math.random().toString(36).substr(2,9);return t}var m={fieldGraphs:{},GRAPH_HEIGHT:120,palette:new l.default.Color.Palette({scheme:"colorwheel"}),reload:function(){this.palette=new l.default.Color.Palette({scheme:"colorwheel"})},_getDefaultOptions:function(t){var e=g.getOriginalSearchParams().toJS();if(void 0===t.chartid)t.chartid=v();if(void 0===t.interval)t.interval=e.interval||"minute";if(void 0===t.interpolation)t.interpolation="linear";if(void 0===t.renderer)t.renderer="bar";if(void 0===t.valuetype)t.valuetype="count";if(void 0===t.query)t.query=e.query;if(void 0===t.createdAt)t.createdAt=(0,n.default)().valueOf();switch(t.streamid=e.streamId,t.rangetype=e.range_type,t.range={},t.rangetype){case"relative":t.range.relative=e.relative;break;case"absolute":t.range.from=e.from,t.range.to=e.to;break;case"keyword":t.range.keyword=e.keyword}return t},_getTimeRangeParams:function(t){var e={};switch(t.rangetype){case"relative":e.range=t.range.relative;break;case"absolute":e.from=t.range.from,e.to=t.range.to;break;case"keyword":e.keyword=t.range.keyword}return e},_onFieldHistogramLoad:function(t,e,n,r,i){if(0"),i='');return"".concat(i,"[").concat(t.valuetype,"] ").concat(t.field,": ").concat((0,u.default)(n).format("0,0.[000]"),"
").concat(r)}}),new l.default.Graph.Graylog2Selector({graph:a}),"scatterplot"===r.renderer)a.renderer.dotSize=2;if("area"===r.renderer)a.renderer.stroke=!0;a.render(),this.fieldGraphs[r.chartid]=a,t.draggable({handle:".reposition-handle",cursor:"move",scope:"#field-graphs",revert:"invalid",opacity:.5,containment:(0,h.default)("#field-graphs"),axis:"y",snap:(0,h.default)(".field-graph-container"),snapMode:"inner"});var s=this;t.droppable({scope:"#field-graphs",tolerance:"intersect",activate:function(t,e){(0,h.default)("#field-graphs .merge-hint").not((0,h.default)(".merge-hint",e.draggable)).show()},deactivate:function(){(0,h.default)("#field-graphs .merge-hint").hide()},over:function(){(0,h.default)(this).css("background-color","#C7E2ED"),(0,h.default)(".merge-hint span",(0,h.default)(this)).switchClass("alpha80","merge-drop-ready")},out:function(){(0,h.default)(this).css("background-color","#fff"),(0,h.default)(".merge-hint span",(0,h.default)(this)).switchClass("merge-drop-ready","alpha80")},drop:function(t,e){var n=(0,h.default)(this).attr("data-chart-id"),r=e.draggable.attr("data-chart-id");e.draggable.hide(),(0,h.default)(this).css("background-color","#fff"),s._mergeCharts(n,r)}})},_onFieldHistogramFail:function(t,e,n){if(n.additional&&400===n.additional.status)o=e.chartid,a="Field graphs are only available for numeric fields.",(0,h.default)(document).trigger("failed.graylog.fieldgraph",{graphId:o,errorMessage:a});else{var r=(0,h.default)("
").addClass("alert").addClass("alert-warning").text("Field graph could not be loaded, please try again after reloading the page.");t.html(r);var i=n.additional?" with status ".concat(n.additional.status):" with error: ".concat(n.message);s.default.error("Loading field graph for '".concat(e.field,"' failed ").concat(i)),console.error(n)}var o,a},_chartOptionsFromContainer:function(t){try{return JSON.parse(t.attr("data-lines"))}catch(t){return this._getDefaultOptions()}},_changeGraphConfig:function(t,e,n){var r,i=this._chartOptionsFromContainer(t);i[e]=n,t.attr("data-lines",JSON.stringify(i)),r=i,(0,h.default)(document).trigger("updated.graylog.fieldgraph",{graphOptions:r})},_insertSpinner:function(t,e){if(e)this._getGraphElement(t).hide(),this._getGraphYAxis(t).hide();var n=(0,h.default)('
'));t.append(n)},_deleteSpinner:function(t,e){if((0,h.default)(".spinner",t).remove(),e)this._getGraphElement(t).show(),this._getGraphYAxis(t).show()},_fetchData:function(n,t){var e=o.default.UniversalSearchApiController.fieldHistogram(n.rangetype,n.query||"*",n.field,n.interval,t,n.streamid,"cardinality"===n.valuetype).url;return(0,i.default)("GET",r.default.qualifyUrl(e)).then(function(t){var e={time:t.time,interval:t.interval,from:t.queried_timerange.from,to:t.queried_timerange.to};return e.values=a.default.format(t.results,t.queried_timerange,n.interval,(0,h.default)(window).width(),"relative"===n.rangetype&&0===n.range.relative,n.valuetype,!0),e})},_getGraphElement:function(t){return(0,h.default)(".field-graph",t)},_getGraphYAxis:function(t){return(0,h.default)(".field-graph-y-axis",t)},renderFieldChart:function(n,t,e){var r=this,i=e||{},o=(0,h.default)(t),a=this._getGraphElement(o),s=this._getGraphYAxis(o);if(i.newGraph)this._insertSpinner(o);n=this._getDefaultOptions(n);var u=this._getTimeRangeParams(n);this._fetchData(n,u).then(function(t){if(a.html(""),s.html(""),s.hide(),r._onFieldHistogramLoad(o,a,s,n,t),i.newGraph)e=n,(0,h.default)(document).trigger("created.graylog.fieldgraph",{graphOptions:e});var e}).catch(function(t){return r._onFieldHistogramFail(a,n,t)}).finally(function(){if(s.show(),i.newGraph)r._deleteSpinner(o)})},updateFieldChartData:function(r,i,o,t){var a=this;i=this._getDefaultOptions(i);var e=this._getTimeRangeParams(i);this._insertSpinner(t,!0),this._fetchData(i,e).then(function(t){var e=a.fieldGraphs[r];if(e){var n=e.series.filter(function(t){return t.name===o})[0];if(n)n.valuetype=f.default.getReadableFieldChartStatisticalFunction(i.valuetype),n.data=t.values,e.update()}},function(t){s.default.error("Updating field graph data failed: ".concat(t),"Could not update field graph data")}).finally(function(){a._deleteSpinner(t,!0)})},_updateStatisticalFunctionText:function(t,e){(0,h.default)(".type-description",t).text("[".concat(f.default.getReadableFieldChartStatisticalFunction(e.valuetype),"] ").concat(e.field,", "))},renderNewFieldChart:function(t,e){this.renderFieldChart(t,e,{newGraph:!0})},changeInterpolation:function(t,e){var n=this._chartOptionsFromContainer(t);this._changeGraphConfig(t,"interpolation",e);var r=this.fieldGraphs[n.chartid];r.interpolation=e,r.render()},changeRenderer:function(t,e){var n=this._chartOptionsFromContainer(t);this._changeGraphConfig(t,"renderer",e);var r=this.fieldGraphs[n.chartid];if(r.setRenderer(e),"scatterplot"===e)r.renderer.dotSize=2;if("area"===e)r.renderer.stroke=!0;r.renderer.unstack=!0,r.render()},changeResolution:function(t,e){var n=this._chartOptionsFromContainer(t);n.interval=e,this._changeGraphConfig(t,"interval",e),this.updateFieldChartData(n.chartid,n,n.chartid,t)},changeStatisticalFunction:function(t,e){var n=this._chartOptionsFromContainer(t);n.valuetype=e,this._changeGraphConfig(t,"valuetype",e),this.updateFieldChartData(n.chartid,n,n.chartid,t),this._updateStatisticalFunctionText(t,n)},_mergeCharts:function(t,e){for(var n,r,i=this.fieldGraphs[t],o=this.fieldGraphs[e],a=(0,h.default)(".field-graph-container[data-chart-id='".concat(t,"']")),s=0;s
')+'['.concat(p.default.escapeHTML(l.valuetype),"] ").concat(l.field,", ")+'Query: '.concat(p.default.escapeHTML(c),"");(0,h.default)("ul.field-graph-query-container",a).append("
  • ".concat(f,"
  • "));var d={name:l.name,color:u,gl2_query:c,valuetype:l.valuetype,field:l.field};d.data=l.data,i.series.push(d)}i.renderer.unstack=!0,n=t,r=e,(0,h.default)(document).trigger("merged.graylog.fieldgraph",{targetGraphId:n,draggedGraphId:r}),i.update(),i.render()},stackGraphs:function(t,e){this._mergeCharts(t,e),(0,h.default)('.field-graph-container[data-chart-id="'.concat(e,'"]')).hide()},redraw:function(t){var e=this.fieldGraphs[t];if(e){var n=(0,h.default)('.field-graph-container[data-chart-id="'.concat(t,'"]')),r=(0,h.default)(".field-graph",n);e.configure({width:r.width()}),e.render()}}};exports.FieldChart=m,(0,h.default)(document).on("click",".field-graph-container ul.renderer-selector li a",function(t){t.preventDefault();var e=(0,h.default)(this).closest(".field-graph-container"),n=(0,h.default)(this).attr("data-type");m.changeRenderer(e,n)}),(0,h.default)(document).on("click",".field-graph-container ul.interpolation-selector li a",function(t){t.preventDefault();var e=(0,h.default)(this).closest(".field-graph-container"),n=(0,h.default)(this).attr("data-type");m.changeInterpolation(e,n)}),(0,h.default)(document).on("click",".field-graph-container ul.interval-selector li a",function(t){t.preventDefault();var e=(0,h.default)(this).closest(".field-graph-container"),n=(0,h.default)(this).attr("data-type");m.changeResolution(e,n)}),(0,h.default)(document).on("click",".field-graph-container ul.valuetype-selector li a",function(t){t.preventDefault();var e=(0,h.default)(this).closest(".field-graph-container"),n=(0,h.default)(this).attr("data-type");m.changeStatisticalFunction(e,n)})},"8FtKQWAV":function(t,exports){t.exports=function e(t,n){"use strict";var r,i,o=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,u=/^0x[0-9a-f]+$/i,l=/^0/,c=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},f=c(t).replace(a,"")||"",d=c(n).replace(a,"")||"",h=f.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=d.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(f.match(u),16)||1!==h.length&&f.match(s)&&Date.parse(f),v=parseInt(d.match(u),16)||g&&d.match(s)&&Date.parse(d)||null;if(v)if(g>>1;if(e>>1;if(o(t[i])>>1);0<--i;)o(t,i,r,e);return t}function o(t,e,n,r){for(var i,o=t[--r+e],a=s(o);(i=e<<1)<=n;){if(is(t[r+i+1]))i++;if(a<=s(t[r+i]))break;t[r+e]=t[r+i],e=i}t[r+e]=o}return t.sort=function(t,e,n){for(var r,i=n-e;0<--i;)r=t[e],t[e]=t[e+i],t[e+i]=r,o(t,1,i,e);return t},t}function H(u){var l=B(u);return function(t,e,n,r){var i,o,a,s=new Array(r=Math.min(n-e,r));for(o=0;oi)s[0]=a,i=u(l(s,0,r)[0])}while(++ea;--i)t[i]=t[i-1];t[i]=o}return t}}function T(R){var r=e(R);function U(t,e,n){return(n-e>1,u=s-i,l=s+i,c=t[o],f=R(c),d=t[u],h=R(d),p=t[s],g=R(p),v=t[l],m=R(v),y=t[a],_=R(y);if(h=e)return t;var n=new t.constructor(e);return n.set(t),n},W=function(t,e){var n;switch(e){case 16:n=r(t.length);break;case 32:n=o(t.length);break;default:throw new Error("invalid array width!")}return n.set(t),n};function a(t){for(var e=new Array(t),n=-1;++n=b&&0=s);)++v;for(;v=r)break;s=y(t[v])}m()}for(;g=Math.pow(10,12)&&!g||p)c+=y[_.currentLanguage].abbreviations.trillion,t/=Math.pow(10,12);else if(r=Math.pow(10,9)&&!g||h)c+=y[_.currentLanguage].abbreviations.billion,t/=Math.pow(10,9);else if(r=Math.pow(10,6)&&!g||d)c+=y[_.currentLanguage].abbreviations.million,t/=Math.pow(10,6);else if(r=Math.pow(10,3)&&!g||f)c+=y[_.currentLanguage].abbreviations.thousand,t/=Math.pow(10,3)}if(-1>>0,i=0;if(2===arguments.length)e=arguments[1];else{for(;i=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(t,e);if(!0===n)return!0;if(!1===n)return!1}catch(t){console.error(t)}if(e&&e.status&&500<=e.status&&501!=e.status)return!0;if(t){if(t.code&&~r.indexOf(t.code))return!0;if(t.timeout&&"ECONNABORTED"==t.code)return!0;if(t.crossDomain)return!0}return!1},n.prototype._retry=function(){if(this.clearTimeout(),this.req)this.req=null,this.req=this.request();return this._aborted=!1,this.timedout=!1,this._end()},n.prototype.then=function(t,e){if(!this._fullfilledPromise){var i=this;if(this._endCalled)console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises");this._fullfilledPromise=new Promise(function(n,r){i.end(function(t,e){if(t)r(t);else n(e)})})}return this._fullfilledPromise.then(t,e)},n.prototype.catch=function(t){return this.then(void 0,t)},n.prototype.use=function(t){return t(this),this},n.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},n.prototype._isResponseOK=function(t){if(!t)return!1;if(this._okCallback)return this._okCallback(t);else return 200<=t.status&&t.status<300},n.prototype.getHeader=n.prototype.get=function(t){return this._header[t.toLowerCase()]},n.prototype.set=function(t,e){if(i(t)){for(var n in t)this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},n.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},n.prototype.field=function(t,e){if(null==t)throw new Error(".field(name, val) name can not be empty");if(this._data)console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(i(t)){for(var n in t)this.field(n,t[n]);return this}if(Array.isArray(e)){for(var r in e)this.field(t,e[r]);return this}if(null==e)throw new Error(".field(name, val) val can not be empty");if("boolean"==typeof e)e=""+e;return this._getFormData().append(t,e),this},n.prototype.abort=function(){if(this._aborted)return this;else return this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this},n.prototype._auth=function(t,e,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(t+":"+e));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer "+t)}return this},n.prototype.withCredentials=function(t){if(null==t)t=!0;return this._withCredentials=t,this},n.prototype.redirects=function(t){return this._maxRedirects=t,this},n.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw TypeError("Invalid argument");return this._maxResponseSize=t,this},n.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},n.prototype.send=function(t){var e=i(t),n=this._header["content-type"];if(this._formData)console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(e&&!this._data){if(Array.isArray(t))this._data=[];else if(!this._isHost(t))this._data={}}else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(e&&i(this._data))for(var r in t)this._data[r]=t[r];else if("string"==typeof t){if(!n)this.type("form");if("application/x-www-form-urlencoded"==(n=this._header["content-type"]))this._data=this._data?this._data+"&"+t:t;else this._data=(this._data||"")+t}else this._data=t;if(!e||this._isHost(t))return this;if(!n)this.type("json");return this},n.prototype.sortQuery=function(t){return this._sort=void 0===t?!0:t,this},n.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t)this.url+=(0<=this.url.indexOf("?")?"&":"?")+t;if(this._query.length=0,this._sort){var e=this.url.indexOf("?");if(0<=e){var n=this.url.substring(e+1).split("&");if("function"==typeof this._sort)n.sort(this._sort);else n.sort();this.url=this.url.substring(0,e)+"?"+n.join("&")}}},n.prototype._appendQueryString=function(){console.trace("Unsupported")},n.prototype._timeoutError=function(t,e,n){if(!this._aborted){var r=new Error(t+e+"ms exceeded");r.timeout=e,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},n.prototype._setTimeouts=function(){var t=this;if(this._timeout&&!this._timer)this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout);if(this._responseTimeout&&!this._responseTimeoutTimer)this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout)}},"A91Apzz+":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({list:{asyncResult:!0},getJob:{asyncResult:!0},cancelJob:{asyncResult:!0}});exports.default=r,t.exports=exports.default},AFTZni7Z:function(n,exports,r){var i,o; /*! * URI.js - Mutating URLs * Second Level Domain (SLD) Support * * Version: 1.19.1 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ /*! * URI.js - Mutating URLs * Second Level Domain (SLD) Support * * Version: 1.19.1 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ !function(t,e){"use strict";if(n.exports)n.exports=e();else if(1)void 0===(o="function"==typeof(i=e)?i.call(exports,r,exports,n):i)||(n.exports=o)}(0,function(t){"use strict";var e=t&&t.SecondLevelDomains,i={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var n=t.lastIndexOf(".",e-1);if(n<=0||e-1<=n)return!1;var r=i.list[t.slice(e+1)];if(!r)return!1;else return 0<=r.indexOf(" "+t.slice(n+1,e)+" ")},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;if(0<=t.lastIndexOf(".",e-1))return!1;var n=i.list[t.slice(e+1)];if(!n)return!1;else return 0<=n.indexOf(" "+t.slice(0,e)+" ")},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var n=t.lastIndexOf(".",e-1);if(n<=0||e-1<=n)return null;var r=i.list[t.slice(e+1)];if(!r)return null;if(r.indexOf(" "+t.slice(n+1,e)+" ")<0)return null;else return t.slice(n+1)},noConflict:function(){if(t.SecondLevelDomains===this)t.SecondLevelDomains=e;return this}};return i})},AKMpLma3:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=s(e("4KF7VOU5")),r=s(e("QlBQbb2U")),i=s(e("72UfWcJe")),o=s(e("GZfD0NTG")),a=s(e("8GJ6oOEd"));function s(t){return t&&t.__esModule?t:{default:t}}var u=s(e("21p8kIWv")).default.get("CodecTypes").CodecTypesActions,l=n.default.createStore({listenables:[u],codecTypes:void 0,getInitialState:function(){return{codecTypes:this.codecTypes}},list:function(){var e=this,t=(0,i.default)("GET",o.default.qualifyUrl(r.default.CodecTypesController.list().url));t.then(function(t){e.codecTypes=t,e.trigger(e.getInitialState())},function(t){a.default.error("Fetching codec types failed with status: ".concat(t),"Could not retrieve codec types")}),u.list.promise(t)}});exports.default=l,t.exports=exports.default},"AXCy/LZT":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({all:{asyncResult:!0},list:{asyncResult:!0},listUploads:{asyncResult:!0},getConfiguration:{asyncResult:!0},getConfigurationSidecars:{asyncResult:!0},getUploads:{asyncResult:!0},createConfiguration:{asyncResult:!0},updateConfiguration:{asyncResult:!0},renderPreview:{asyncResult:!0},copyConfiguration:{asyncResult:!0},delete:{asyncResult:!0},validate:{asyncResult:!0}});exports.default=r,t.exports=exports.default},AhJZIvQE:function(t,exports,e){var n,r,i; /*! * dc 2.0.5 * http://dc-js.github.io/dc.js/ * Copyright 2012-2016 Nick Zhu & the dc.js Developers * https://github.com/dc-js/dc.js/blob/master/AUTHORS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /*! * dc 2.0.5 * http://dc-js.github.io/dc.js/ * Copyright 2012-2016 Nick Zhu & the dc.js Developers * https://github.com/dc-js/dc.js/blob/master/AUTHORS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ !function(){if(1)r=[e("/8dZfPfB"),e("zZ9hESjW")],void 0===(i="function"==typeof(n=function(tt,z){"use strict";var et={version:"2.0.5",constants:{CHART_CLASS:"dc-chart",DEBUG_GROUP_CLASS:"debug",STACK_CLASS:"stack",DESELECTED_CLASS:"deselected",SELECTED_CLASS:"selected",NODE_INDEX_NAME:"__index__",GROUP_INDEX_NAME:"__group_index__",DEFAULT_CHART_GROUP:"__default_chart_group__",EVENT_DELAY:40,NEGLIGIBLE_NUMBER:1e-10},_renderlet:null};et.chartRegistry=function(){var r={};function i(t){if(!t)t=et.constants.DEFAULT_CHART_GROUP;if(!r[t])r[t]=[];return t}return{has:function(t){for(var e in r)if(0<=r[e].indexOf(t))return!0;return!1},register:function(t,e){e=i(e),r[e].push(t)},deregister:function(t,e){e=i(e);for(var n=0;n "+et.utils.printSingleValue(t[1])+"]";else if(1<=t.length)e=et.utils.printSingleValue(t[0])}else e=et.utils.printSingleValue(t);return e},et.pluck=function(n,r){if(!r)return function(t){return t[n]};else return function(t,e){return r.call(t,t[n],e)}},et.utils={},et.utils.printSingleValue=function(t){var e=""+t;if(t instanceof Date)e=et.dateFormat(t);else if("string"==typeof t)e=t;else if(et.utils.isFloat(t))e=et.utils.printSingleValue.fformat(t);else if(et.utils.isInteger(t))e=Math.round(t);return e},et.utils.printSingleValue.fformat=tt.format(".2f"),et.utils.add=function(t,e,n){if("string"==typeof e)e=e.replace("%","");if(t instanceof Date){if("string"==typeof e)e=+e;if("millis"===n)return new Date(t.getTime()+e);else return n=n||"day",tt.time[n].offset(t,e)}else if("string"==typeof e){var r=+e/100;return 0-et.constants.NEGLIGIBLE_NUMBER},et.utils.clamp=function(t,e,n){return t=this[0]&&t=r[0][0]&&e=r[0][1]&&n=e){t.splice(n,1);break}return t};r.removeFilterHandler=function(t){if(!arguments.length)return L;else return L=t,r};var G=function(t,e){return t.push(e),t};r.addFilterHandler=function(t){if(!arguments.length)return G;else return G=t,r};var q=function(t){return[]};return r.resetFilterHandler=function(t){if(!arguments.length)return q;else return q=t,r},r.replaceFilter=function(t){return U=q(U),r.filter(t),r},r.filter=function(t){if(!arguments.length)return 0", renderletFunction)'),r.chartGroup=function(t){if(!arguments.length)return P;if(!s)et.deregisterChart(r,P);if(P=t,!s)et.registerChart(r,P);return r},r.expireCache=function(){return r},r.legend=function(t){if(!arguments.length)return f;else return(f=t).parent(r),r},r.chartID=function(){return r.__dcFlag__},r.options=function(t){var e=["anchor","group","xAxisLabel","yAxisLabel","stack","title","point","getColor","overlayGeoJson"];for(var n in t)if("function"==typeof r[n])if(t[n]instanceof Array&&-1!==e.indexOf(n))r[n].apply(r,t[n]);else r[n].call(r,t[n]);else et.logger.debug("Not a valid option setter name: "+n);return r},r.on=function(t,e){return R.on(t,e),r},r},et.marginMixin=function(e){var n={top:10,right:50,bottom:30,left:30};return e.margins=function(t){if(!arguments.length)return n;else return n=t,e},e.effectiveWidth=function(){return e.width()-e.margins().left-e.margins().right},e.effectiveHeight=function(){return e.height()-e.margins().top-e.margins().bottom},e},et.colorMixin=function(e){var n=tt.scale.category20c(),r=!0,i=function(t){return e.keyAccessor()(t)};return e.colors=function(t){if(!arguments.length)return n;if(t instanceof Array)n=tt.scale.quantize().range(t);else n=tt.functor(t);return e},e.ordinalColors=function(t){return e.colors(tt.scale.ordinal().range(t))},e.linearColors=function(t){return e.colors(tt.scale.linear().range(t).interpolate(tt.interpolateHcl))},e.colorAccessor=function(t){if(!arguments.length)return i;else return i=t,r=!1,e},e.defaultColorAccessor=function(){return r},e.colorDomain=function(t){if(!arguments.length)return n.domain();else return n.domain(t),e},e.calculateColorDomain=function(){var t=[tt.min(e.data(),e.colorAccessor()),tt.max(e.data(),e.colorAccessor())];return n.domain(t),e},e.getColor=function(t,e){return n(i.call(this,t,e))},e.colorCalculator=et.logger.deprecate(function(t){if(!arguments.length)return e.getColor;else return e.getColor=t,e},"colorMixin.colorCalculator has been deprecated. Please colorMixin.colors and colorMixin.colorAccessor instead"),e},et.coordinateGridMixin=function(s){var i,n,r,o,a,u="grid-line",l="horizontal",c="vertical",f="y-axis-label",d="x-axis-label";(s=et.colorMixin(et.marginMixin(et.baseMixin(s)))).colors(tt.scale.category10()),s._mandatoryAttributes().push("x");var h,p,g,v,e,m,y,_,b=tt.svg.axis().orient("bottom"),w=et.units.integers,x=0,S="day",C=!1,k=0,A=tt.svg.axis().orient("left"),E=0,T=!1,M=0,O=tt.svg.brush(),P=!0,R=!1,U=!1,D=!1,I=!1,j=[1,1/0],F=!0,N=tt.behavior.zoom().on("zoom",Z),t=tt.behavior.zoom().on("zoom",null),L=!1,G=!1,q=0,z=.5,B=0,H=!1;function V(t,e){if(!s.isOrdinal()){if(s.elasticX())o.domain([s.xAxisMin(),s.xAxisMax()])}else if(s.elasticX()||0===o.domain().length)o.domain(s._ordinalXDomain());var n,r,i=o.domain();if(e||(r=i,!(n=p)||!r||n.length!==r.length||n.some(function(t,e){return t&&r[e]?t.toString()!==r[e].toString():t===r[e]})))s.rescale();if(p=i,s.isOrdinal())o.rangeBands([0,s.xAxisLength()],B,s._useOuterPadding()?z:0);else o.range([0,s.xAxisLength()]);b=b.scale(s.x()),function(t){var e=t.select("g."+c);if(U){if(e.empty())e=t.insert("g",":first-child").attr("class",u+" "+c).attr("transform","translate("+s.margins().left+","+s.margins().top+")");var n=b.tickValues()?b.tickValues():"function"==typeof o.ticks?o.ticks(b.ticks()[0]):o.domain(),r=e.selectAll("line").data(n),i=r.enter().append("line").attr("x1",function(t){return o(t)}).attr("y1",s._xAxisY()-s.margins().top).attr("x2",function(t){return o(t)}).attr("y2",0).attr("opacity",0);et.transition(i,s.transitionDuration(),s.transitionDelay()).attr("opacity",1),et.transition(r,s.transitionDuration(),s.transitionDelay()).attr("x1",function(t){return o(t)}).attr("y1",s._xAxisY()-s.margins().top).attr("x2",function(t){return o(t)}).attr("y2",0),r.exit().remove()}else e.selectAll("line").remove()}(t)}function W(){return s._xAxisY()-s.margins().top}function Q(){return s.anchorName().replace(/[ .#=\[\]"]/g,"-")+"-clip"}function J(){var t=et.utils.appendOrSelect(i,"defs"),e=Q(),n=et.utils.appendOrSelect(t,"#"+e,"clipPath").attr("id",e),r=2*q;et.utils.appendOrSelect(n,"rect").attr("width",s.xAxisLength()+r).attr("height",s.yAxisHeight()+r).attr("transform","translate(-"+q+", -"+q+")")}function Y(t){if(s.isOrdinal())P=!1;if(V(s.g(),t),s._prepareYAxis(s.g()),s.plotData(),s.elasticX()||I||t)s.renderXAxis(s.g());if(s.elasticY()||I||t)s.renderYAxis(s.g());if(t)s.renderBrush(s.g(),!1);else s.redrawBrush(s.g(),I);s.fadeDeselectedArea(),I=!1}function K(){if(G)s._enableMouseZoom();else if(L)s._disableMouseZoom()}function Z(){if(D=!0,F){var t=a;if(y)t=function(t,e){if(t[0]>e[1]||t[1]e[1])return[Math.max(e[0],et.utils.subtract(e[1],n,"millis")),e[1]];else return null}(s.x().domain(),t);if(e)s.x().domain(e)}var n=s.x().domain(),r=et.filters.RangedFilter(n[0],n[1]);if(s.replaceFilter(r),s.rescale(),s.redraw(),y&&!X(s.filter(),y.filter()))et.events.trigger(function(){y.replaceFilter(r),y.redraw()});s._invokeZoomedListener(),et.events.trigger(function(){s.redrawGroup()},et.constants.EVENT_DELAY),D=!X(n,a)}function X(t,e){if(!t&&!e)return!0;else if(!t||!e)return!1;else if(0===t.length&&0===e.length)return!0;else if(t[0].valueOf()===e[0].valueOf()&&t[1].valueOf()===e[1].valueOf())return!0;return!1}return s.rescale=function(){return I=!(m=void 0),s},s.resizing=function(){return I},s.rangeChart=function(t){if(!arguments.length)return y;else return(y=t).focusChart(s),s},s.zoomScale=function(t){if(!arguments.length)return j;else return j=t,s},s.zoomOutRestrict=function(t){if(!arguments.length)return F;else return j[0]=t?1:0,F=t,s},s._generateG=function(t){if(void 0===t)i=s.svg();else i=t;var e=window.location.href.split("#")[0];return n=i.append("g"),r=n.append("g").attr("class","chart-body").attr("transform","translate("+s.margins().left+", "+s.margins().top+")").attr("clip-path","url("+e+"#"+Q()+")"),n},s.g=function(t){if(!arguments.length)return n;else return n=t,s},s.mouseZoomable=function(t){if(!arguments.length)return G;else return G=t,s},s.chartBodyG=function(t){if(!arguments.length)return r;else return r=t,s},s.x=function(t){if(!arguments.length)return o;else return a=(o=t).domain(),s.rescale(),s},s.xOriginalDomain=function(){return a},s.xUnits=function(t){if(!arguments.length)return w;else return w=t,s},s.xAxis=function(t){if(!arguments.length)return b;else return b=t,s},s.elasticX=function(t){if(!arguments.length)return C;else return C=t,s},s.xAxisPadding=function(t){if(!arguments.length)return x;else return x=t,s},s.xAxisPaddingUnit=function(t){if(!arguments.length)return S;else return S=t,s},s.xUnitCount=function(){if(void 0===m){var t=s.xUnits()(s.x().domain()[0],s.x().domain()[1],s.x().domain());if(t instanceof Array)m=t.length;else m=t}return m},s.useRightYAxis=function(t){if(!arguments.length)return H;else return H=t,s},s.isOrdinal=function(){return s.xUnits()===et.units.ordinal},s._useOuterPadding=function(){return!0},s._ordinalXDomain=function(){return s._computeOrderedGroups(s.data()).map(s.keyAccessor())},s.renderXAxis=function(t){var e=t.select("g.x");if(e.empty())e=t.append("g").attr("class","axis x").attr("transform","translate("+s.margins().left+","+s._xAxisY()+")");var n=t.select("text."+d);if(n.empty()&&s.xAxisLabel())n=t.append("text").attr("class",d).attr("transform","translate("+(s.margins().left+s.xAxisLength()/2)+","+(s.height()-k)+")").attr("text-anchor","middle");if(s.xAxisLabel()&&n.text()!==s.xAxisLabel())n.text(s.xAxisLabel());et.transition(e,s.transitionDuration(),s.transitionDelay()).attr("transform","translate("+s.margins().left+","+s._xAxisY()+")").call(b),et.transition(n,s.transitionDuration(),s.transitionDelay()).attr("transform","translate("+(s.margins().left+s.xAxisLength()/2)+","+(s.height()-k)+")")},s._xAxisY=function(){return s.height()-s.margins().bottom},s.xAxisLength=function(){return s.effectiveWidth()},s.xAxisLabel=function(t,e){if(!arguments.length)return h;else return h=t,s.margins().bottom-=k,k=void 0===e?12:e,s.margins().bottom+=k,s},s._prepareYAxis=function(t){if(void 0===g||s.elasticY()){if(void 0===g)g=tt.scale.linear();var e=s.yAxisMin()||0,n=s.yAxisMax()||0;g.domain([e,n]).rangeRound([s.yAxisHeight(),0])}if(g.range([s.yAxisHeight(),0]),A=A.scale(g),H)A.orient("right");s._renderHorizontalGridLinesForAxis(t,g,A)},s.renderYAxisLabel=function(t,e,n,r){r=r||M;var i=s.g().select("text."+f+"."+t+"-label"),o=s.margins().top+s.yAxisHeight()/2;if(i.empty()&&e)i=s.g().append("text").attr("transform","translate("+r+","+o+"),rotate("+n+")").attr("class",f+" "+t+"-label").attr("text-anchor","middle").text(e);if(e&&i.text()!==e)i.text(e);et.transition(i,s.transitionDuration(),s.transitionDelay()).attr("transform","translate("+r+","+o+"),rotate("+n+")")},s.renderYAxisAt=function(t,e,n){var r=s.g().select("g."+t);if(r.empty())r=s.g().append("g").attr("class","axis "+t).attr("transform","translate("+n+","+s.margins().top+")");et.transition(r,s.transitionDuration(),s.transitionDelay()).attr("transform","translate("+n+","+s.margins().top+")").call(e)},s.renderYAxis=function(){var t=H?s.width()-s.margins().right:s._yAxisX();s.renderYAxisAt("y",A,t);var e=H?s.width()-M:M,n=H?90:-90;s.renderYAxisLabel("y",s.yAxisLabel(),n,e)},s._renderHorizontalGridLinesForAxis=function(t,e,n){var r=t.select("g."+l);if(R){var i=n.tickValues()?n.tickValues():e.ticks(n.ticks()[0]);if(r.empty())r=t.insert("g",":first-child").attr("class",u+" "+l).attr("transform","translate("+s.margins().left+","+s.margins().top+")");var o=r.selectAll("line").data(i),a=o.enter().append("line").attr("x1",1).attr("y1",function(t){return e(t)}).attr("x2",s.xAxisLength()).attr("y2",function(t){return e(t)}).attr("opacity",0);et.transition(a,s.transitionDuration(),s.transitionDelay()).attr("opacity",1),et.transition(o,s.transitionDuration(),s.transitionDelay()).attr("x1",1).attr("y1",function(t){return e(t)}).attr("x2",s.xAxisLength()).attr("y2",function(t){return e(t)}),o.exit().remove()}else r.selectAll("line").remove()},s._yAxisX=function(){return s.useRightYAxis()?s.width()-s.margins().right:s.margins().left},s.yAxisLabel=function(t,e){if(!arguments.length)return v;else return v=t,s.margins().left-=M,M=void 0===e?12:e,s.margins().left+=M,s},s.y=function(t){if(!arguments.length)return g;else return g=t,s.rescale(),s},s.yAxis=function(t){if(!arguments.length)return A;else return A=t,s},s.elasticY=function(t){if(!arguments.length)return T;else return T=t,s},s.renderHorizontalGridLines=function(t){if(!arguments.length)return R;else return R=t,s},s.renderVerticalGridLines=function(t){if(!arguments.length)return U;else return U=t,s},s.xAxisMin=function(){var t=tt.min(s.data(),function(t){return s.keyAccessor()(t)});return et.utils.subtract(t,x,S)},s.xAxisMax=function(){var t=tt.max(s.data(),function(t){return s.keyAccessor()(t)});return et.utils.add(t,x,S)},s.yAxisMin=function(){var t=tt.min(s.data(),function(t){return s.valueAccessor()(t)});return et.utils.subtract(t,E)},s.yAxisMax=function(){var t=tt.max(s.data(),function(t){return s.valueAccessor()(t)});return et.utils.add(t,E)},s.yAxisPadding=function(t){if(!arguments.length)return E;else return E=t,s},s.yAxisHeight=function(){return s.effectiveHeight()},s.round=function(t){if(!arguments.length)return e;else return e=t,s},s._rangeBandPadding=function(t){if(!arguments.length)return B;else return B=t,s},s._outerRangeBandPadding=function(t){if(!arguments.length)return z;else return z=t,s},et.override(s,"filter",function(t){if(!arguments.length)return s._filter();if(s._filter(t),t)s.brush().extent(t);else s.brush().clear();return s}),s.brush=function(t){if(!arguments.length)return O;else return O=t,s},s.renderBrush=function(t){if(P){O.on("brush",s._brushing),O.on("brushstart",s._disableMouseZoom),O.on("brushend",K);var e=t.append("g").attr("class","brush").attr("transform","translate("+s.margins().left+","+s.margins().top+")").call(O.x(s.x()));if(s.setBrushY(e,!1),s.setHandlePaths(e),s.hasFilter())s.redrawBrush(t,!1)}},s.setHandlePaths=function(t){t.selectAll(".resize").append("path").attr("d",s.resizeHandlePath)},s.setBrushY=function(t){t.selectAll("rect").attr("height",W()),t.selectAll(".resize path").attr("d",s.resizeHandlePath)},s.extendBrush=function(){var t=O.extent();if(s.round())t[0]=t.map(s.round())[0],t[1]=t.map(s.round())[1],n.select(".brush").call(O.extent(t));return t},s.brushIsEmpty=function(t){return O.empty()||!t||t[1]<=t[0]},s._brushing=function(){var t=s.extendBrush();if(s.redrawBrush(n,!1),s.brushIsEmpty(t))et.events.trigger(function(){s.filter(null),s.redrawGroup()},et.constants.EVENT_DELAY);else{var e=et.filters.RangedFilter(t[0],t[1]);et.events.trigger(function(){s.replaceFilter(e),s.redrawGroup()},et.constants.EVENT_DELAY)}},s.redrawBrush=function(t,e){if(P){if(s.filter()&&s.brush().empty())s.brush().extent(s.filter());var n=et.optionalTransition(e,s.transitionDuration(),s.transitionDelay())(t.select("g.brush"));s.setBrushY(n),n.call(s.brush().x(s.x()).extent(s.brush().extent()))}s.fadeDeselectedArea()},s.fadeDeselectedArea=function(){},s.resizeHandlePath=function(t){var e=+("e"===t),n=e?1:-1,r=W()/3;return"M"+.5*n+","+r+"A6,6 0 0 "+e+" "+6.5*n+","+(r+6)+"V"+(2*r-6)+"A6,6 0 0 "+e+" "+.5*n+","+2*r+"ZM"+2.5*n+","+(r+8)+"V"+(2*r-8)+"M"+4.5*n+","+(r+8)+"V"+(2*r-8)},s.clipPadding=function(t){if(!arguments.length)return q;else return q=t,s},s._preprocessData=function(){},s._doRender=function(){return s.resetSvg(),s._preprocessData(),s._generateG(),J(),Y(!0),K(),s},s._doRedraw=function(){return s._preprocessData(),Y(!1),J(),s},s._enableMouseZoom=function(){L=!0,N.x(s.x()).scaleExtent(j).size([s.width(),s.height()]).duration(s.transitionDuration()),s.root().call(N)},s._disableMouseZoom=function(){s.root().call(t)},s.focus=function(t){if((e=t)instanceof Array&&1=e[0]&&t.x<=e[e.length-1]}}()),n.values}var n=tt.layout.stack().values(e),o=[],r={},a=!1,s=!1;function u(t){var e=o.map(et.pluck("name")).indexOf(t);return o[e]}function l(){var t=i.data().map(function(t){return t.values});return Array.prototype.concat.apply([],t)}function c(t){return!t.hidden}return i.stack=function(t,e,n){if(!arguments.length)return o;if(arguments.length<=2)n=e;var r={group:t};if("string"==typeof e)r.name=e;if("function"==typeof n)r.accessor=n;return o.push(r),i},et.override(i,"group",function(t,e,n){if(!arguments.length)return i._group();if(o=[],r={},i.stack(t,e),n)i.valueAccessor(n);return i._group(t,e)}),i.hidableStacks=function(t){if(!arguments.length)return a;else return a=t,i},i.hideStack=function(t){var e=u(t);if(e)e.hidden=!0;return i},i.showStack=function(t){var e=u(t);if(e)e.hidden=!1;return i},i.getValueAccessorByIndex=function(t){return o[t].accessor||i.valueAccessor()},i.yAxisMin=function(){var t=tt.min(l(),function(t){return t.y<0?t.y+t.y0:t.y0});return et.utils.subtract(t,i.yAxisPadding())},i.yAxisMax=function(){var t=tt.max(l(),function(t){return 0n},u=function(t){return s(t)?1:0},l=function(t){return s(t)?"all":"none"};r._doRenderLabel=function(t){if(r.renderLabel()){var e=t.select("text");if(e.empty())e=t.append("text").attr("text-anchor","middle").attr("dy",".3em").on("click",r.onClick);e.attr("opacity",0).attr("pointer-events",l).text(a),et.transition(e,r.transitionDuration(),r.transitionDelay()).attr("opacity",u)}},r.doUpdateLabels=function(t){if(r.renderLabel()){var e=t.select("text").attr("pointer-events",l).text(a);et.transition(e,r.transitionDuration(),r.transitionDelay()).attr("opacity",u)}};var c=function(t){return r.title()(t)};return r._doRenderTitles=function(t){if(r.renderTitle())if(t.select("title").empty())t.append("title").text(c)},r.doUpdateTitles=function(t){if(r.renderTitle())t.select("title").text(c)},r.minRadius=function(t){if(!arguments.length)return r.MIN_RADIUS;else return r.MIN_RADIUS=t,r},r.minRadiusWithLabel=function(t){if(!arguments.length)return n;else return n=t,r},r.maxBubbleRelativeSize=function(t){if(!arguments.length)return e;else return e=t,r},r.fadeDeselectedArea=function(){if(r.hasFilter())r.selectAll("g."+r.BUBBLE_NODE_CLASS).each(function(t){if(r.isSelectedNode(t))r.highlightSelected(this);else r.fadeDeselected(this)});else r.selectAll("g."+r.BUBBLE_NODE_CLASS).each(function(){r.resetHighlight(this)})},r.isSelectedNode=function(t){return r.hasFilter(t.key)},r.onClick=function(t){var e=t.key;et.events.trigger(function(){r.filter(e),r.redrawGroup()})},r},et.pieChart=function(t,e){var h,p,g,n,r,v,m="pie-slice",y="pie-label",_="pie-slice-group",b="pie-label-group",w="empty-chart",x="empty",i=0,o=0,a=.5,S=!1,C=et.capMixin(et.colorMixin(et.baseMixin({})));function s(){var t=tt.min([C.width(),C.height()])/2;h=p&&p=r})}else t.classed(et.constants.DESELECTED_CLASS,!1)},a.centerBar=function(t){if(!arguments.length)return u;else return u=t,a},et.override(a,"onClick",function(t){a._onClick(t.data)}),a.barPadding=function(t){if(!arguments.length)return a._rangeBandPadding();else return a._rangeBandPadding(t),s=void 0,a},a._useOuterPadding=function(){return void 0===s},a.outerPadding=a._outerRangeBandPadding,a.gap=function(t){if(!arguments.length)return s;else return s=t,a},a.extendBrush=function(){var t=a.brush().extent();if(a.round()&&(!u||n))t[0]=t.map(a.round())[0],t[1]=t.map(a.round())[1],a.chartBodyG().select(".brush").call(a.brush().extent(t));return t},a.alwaysUseRounding=function(t){if(!arguments.length)return n;else return n=t,a},a.legendHighlight=function(t){if(!a.isLegendableHidden(t))a.g().selectAll("rect.bar").classed("highlight",r(t.color)).classed("fadeout",r(t.color,!0))},a.legendReset=function(){a.g().selectAll("rect.bar").classed("highlight",!1).classed("fadeout",!1)},et.override(a,"xAxisMax",function(){var t=this._xAxisMax();if("resolution"in a.xUnits())t+=a.xUnits().resolution;return t}),a.anchor(t,e)},et.lineChart=function(t,e){var a,i,s="dc-tooltip",l="yRef",c="xRef",f=et.stackMixin(et.coordinateGridMixin({})),o=!1,d=5,n=null,h=1e-6,p=1e-6,u="linear",g=.7,r=!0;function v(t,e){return f.getColor.call(t,t.values,e)}function m(t){return!t||0<=t.indexOf("NaN")?"M0,0":t}function y(){return n||d}function _(t,e){if(f.renderTitle())t.select("title").remove(),t.append("title").text(et.pluck("data",f.title(e.name)))}function b(n,r,i){return function(){var t=tt.select(this),e=t.attr("stroke")===n&&t.attr("stroke-dasharray")===(r instanceof Array?r.join(","):null)||t.attr("fill")===n;return i?!e:e}}return f.transitionDuration(500),f.transitionDelay(0),f._rangeBandPadding(1),f.plotData=function(){var t=f.chartBodyG(),e=t.select("g.stack-list");if(e.empty())e=t.append("g").attr("class","stack-list");var n=e.selectAll("g.stack").data(f.data()),r=n.enter().append("g").attr("class",function(t,e){return"stack _"+e});if(function(t,e){var n=tt.svg.line().x(function(t){return f.x()(t.x)}).y(function(t){return f.y()(t.y+t.y0)}).interpolate(u).tension(g);if(a)n.defined(a);var r=t.append("path").attr("class","line").attr("stroke",v);if(i)r.attr("stroke-dasharray",i);et.transition(e.select("path.line"),f.transitionDuration(),f.transitionDelay()).attr("stroke",v).attr("d",function(t){return m(n(t.values))})}(r,n),function(t,e){if(o){var n=tt.svg.area().x(function(t){return f.x()(t.x)}).y(function(t){return f.y()(t.y+t.y0)}).y0(function(t){return f.y()(t.y0)}).interpolate(u).tension(g);if(a)n.defined(a);t.append("path").attr("class","area").attr("fill",v).attr("d",function(t){return m(n(t.values))}),et.transition(e.select("path.area"),f.transitionDuration(),f.transitionDelay()).attr("fill",v).attr("d",function(t){return m(n(t.values))})}}(r,n),function(t,e){if("always"===f.xyTipsOn()||!f.brushOn()&&f.xyTipsOn()){var n=s+"-list",o=t.select("g."+n);if(o.empty())o=t.append("g").attr("class",n);e.each(function(t,e){var n=t.values;if(a)n=n.filter(a);var r,u=o.select("g."+s+"._"+e);if(u.empty())u=o.append("g").attr("class",s+" _"+e);((r=u).select("path."+l).empty()?r.append("path").attr("class",l):r.select("path."+l)).style("display","none").attr("stroke-dasharray","5,5"),(r.select("path."+c).empty()?r.append("path").attr("class",c):r.select("path."+c)).style("display","none").attr("stroke-dasharray","5,5");var i=u.selectAll("circle.dot").data(n,et.pluck("x"));i.enter().append("circle").attr("class","dot").attr("r",y()).style("fill-opacity",h).style("stroke-opacity",p).attr("fill",f.getColor).on("mousemove",function(){var t,e,n,r,i,o,a,s=tt.select(this);(t=s).style("fill-opacity",.8),t.style("stroke-opacity",.8),t.attr("r",d),n=u,r=(e=s).attr("cx"),i=e.attr("cy"),o="M"+(f._yAxisX()-f.margins().left)+" "+i+"L"+r+" "+i,a="M"+r+" "+f.yAxisHeight()+"L"+r+" "+i,n.select("path."+l).style("display","").attr("d",o),n.select("path."+c).style("display","").attr("d",a)}).on("mouseout",function(){var t,e=tt.select(this);e.style("fill-opacity",h).style("stroke-opacity",p).attr("r",y()),(t=u).select("path."+l).style("display","none"),t.select("path."+c).style("display","none")}),i.call(_,t),et.transition(i,f.transitionDuration()).attr("cx",function(t){return et.utils.safeNumber(f.x()(t.x))}).attr("cy",function(t){return et.utils.safeNumber(f.y()(t.y+t.y0))}).attr("fill",f.getColor),i.exit().remove()})}}(t,n),f.renderLabel())n.each(function(t,e){var n=tt.select(this),r=n.selectAll("text.lineLabel").data(t.values,et.pluck("x"));r.enter().append("text").attr("class","lineLabel").attr("text-anchor","middle"),et.transition(r,f.transitionDuration()).attr("x",function(t){return et.utils.safeNumber(f.x()(t.x))}).attr("y",function(t){var e=f.y()(t.y+t.y0)-3;return et.utils.safeNumber(e)}).text(function(t){return f.label()(t)}),et.transition(r.exit(),f.transitionDuration()).attr("height",0).remove()})},f.interpolate=function(t){if(!arguments.length)return u;else return u=t,f},f.tension=function(t){if(!arguments.length)return g;else return g=t,f},f.defined=function(t){if(!arguments.length)return a;else return a=t,f},f.dashStyle=function(t){if(!arguments.length)return i;else return i=t,f},f.renderArea=function(t){if(!arguments.length)return o;else return o=t,f},f.label(function(t){return et.utils.printSingleValue(t.y0+t.y)},!1),f.xyTipsOn=function(t){if(!arguments.length)return r;else return r=t,f},f.dotRadius=function(t){if(!arguments.length)return d;else return d=t,f},f.renderDataPoints=function(t){if(!arguments.length)return{fillOpacity:h,strokeOpacity:p,radius:n};else if(!t)p=h=1e-6,n=null;else h=t.fillOpacity||.8,p=t.strokeOpacity||.8,n=t.radius||2;return f},f.legendHighlight=function(t){if(!f.isLegendableHidden(t))f.g().selectAll("path.line, path.area").classed("highlight",b(t.color,t.dashstyle)).classed("fadeout",b(t.color,t.dashstyle,!0))},f.legendReset=function(){f.g().selectAll("path.line, path.area").classed("highlight",!1).classed("fadeout",!1)},et.override(f,"legendables",function(){var t=f._legendables();if(!i)return t;else return t.map(function(t){return t.dashstyle=i,t})}),f.anchor(t,e)},et.dataCount=function(t,e){var i=tt.format(",d"),o=et.baseMixin({}),a={some:"",all:""};return o.html=function(t){if(!arguments.length)return a;if(t.all)a.all=t.all;if(t.some)a.some=t.some;return o},o.formatNumber=function(t){if(!arguments.length)return i;else return i=t,o},o._doRender=function(){var t=o.dimension().size(),e=o.group().value(),n=i(t),r=i(e);if(t===e&&""!==a.all)o.root().html(a.all.replace("%total-count",n).replace("%filter-count",r));else if(""!==a.some)o.root().html(a.some.replace("%total-count",n).replace("%filter-count",r));else o.selectAll(".total-count").text(n),o.selectAll(".filter-count").text(r);return o},o._doRedraw=function(){return o._doRender()},o.anchor(t,e)},et.dataTable=function(t,e){var a,r="dc-table-row",s=et.baseMixin({}),u=25,l=[],c=function(t){return t},f=tt.ascending,d=0,h=!0;return s._doRender=function(){var t,e,n;return s.selectAll("tbody").remove(),t=function(){var e=!0;if(l.forEach(function(t){e&="function"==typeof t}),!e){var t=s.selectAll("thead").data([0]);t.enter().append("thead"),t.exit().remove();var n=t.selectAll("tr").data([0]);n.enter().append("tr"),n.exit().remove();var r=n.selectAll("th").data(l);r.enter().append("th"),r.exit().remove(),r.attr("class","dc-table-head").html(function(t){return s._doColumnHeaderFormat(t)})}var i=s.root().selectAll("tbody").data(function(){var t;if(f===tt.ascending)t=s.dimension().bottom(u);else t=s.dimension().top(u);return tt.nest().key(s.group()).sortKeys(f).entries(t.sort(function(t,e){return f(c(t),c(e))}).slice(d,a))}(),function(t){return s.keyAccessor()(t)}),o=i.enter().append("tbody");if(!0===h)o.append("tr").attr("class","dc-table-group").append("td").attr("class","dc-table-label").attr("colspan",l.length).html(function(t){return s.keyAccessor()(t)});return i.exit().remove(),o}(),e=t.order().selectAll("tr."+r).data(function(t){return t.values}),n=e.enter().append("tr").attr("class",r),l.forEach(function(e,t){n.append("td").attr("class","dc-table-column _"+t).html(function(t){return s._doColumnValueFormat(e,t)})}),e.exit().remove(),s},s._doColumnValueFormat=function(t,e){return"function"==typeof t?t(e):"string"==typeof t?e[t]:t.format(e)},s._doColumnHeaderFormat=function(t){return"function"==typeof t?s._doColumnHeaderFnToString(t):"string"==typeof t?s._doColumnHeaderCapitalize(t):String(t.label)},s._doColumnHeaderCapitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},s._doColumnHeaderFnToString=function(t){var e=String(t),n=e.indexOf("return ");if(0<=n){var r=e.lastIndexOf(";");if(0<=r)if(0<=(e=e.substring(n+7,r)).indexOf("numberFormat"))e=e.replace("numberFormat","")}return e},s._doRedraw=function(){return s._doRender()},s.size=function(t){if(!arguments.length)return u;else return u=t,s},s.beginSlice=function(t){if(!arguments.length)return d;else return d=t,s},s.endSlice=function(t){if(!arguments.length)return a;else return a=t,s},s.columns=function(t){if(!arguments.length)return l;else return l=t,s},s.sortBy=function(t){if(!arguments.length)return c;else return c=t,s},s.order=function(t){if(!arguments.length)return f;else return f=t,s},s.showGroups=function(t){if(!arguments.length)return h;else return h=t,s},s.anchor(t,e)},et.dataGrid=function(t,e){var r,n="dc-grid-item",i="dc-grid-top",o=et.baseMixin({}),a=999,s=function(t){return"you need to provide an html() handling param: "+JSON.stringify(t)},u=function(t){return t},l=tt.ascending,c=0,f=function(t){return"

    "+o.keyAccessor()(t)+"

    "};return o._doRender=function(){var t,e;return o.selectAll("div."+i).remove(),t=function(){var t,e=o.root().selectAll("div."+i).data((t=o.dimension().top(a),tt.nest().key(o.group()).sortKeys(l).entries(t.sort(function(t,e){return l(u(t),u(e))}).slice(c,r))),function(t){return o.keyAccessor()(t)}),n=e.enter().append("div").attr("class",i);if(f)n.html(function(t){return f(t)});return e.exit().remove(),n}(),(e=t.order().selectAll("div."+n).data(function(t){return t.values})).enter().append("div").attr("class",n).html(function(t){return s(t)}),e.exit().remove(),o},o._doRedraw=function(){return o._doRender()},o.beginSlice=function(t){if(!arguments.length)return c;else return c=t,o},o.endSlice=function(t){if(!arguments.length)return r;else return r=t,o},o.size=function(t){if(!arguments.length)return a;else return a=t,o},o.html=function(t){if(!arguments.length)return s;else return s=t,o},o.htmlGroup=function(t){if(!arguments.length)return f;else return f=t,o},o.sortBy=function(t){if(!arguments.length)return u;else return u=t,o},o.order=function(t){if(!arguments.length)return l;else return l=t,o},o.anchor(t,e)},et.bubbleChart=function(t,e){var a=et.bubbleMixin(et.coordinateGridMixin({})),s=!1,u=!1;a.transitionDuration(750),a.transitionDelay(0);var l=function(t){return"translate("+function(t){var e=a.x()(a.keyAccessor()(t));if(isNaN(e))e=0;return e}(t)+","+function(t){var e=a.y()(a.valueAccessor()(t));if(isNaN(e))e=0;return e}(t)+")"};return a.elasticRadius=function(t){if(!arguments.length)return s;else return s=t,a},a.sortBubbleSize=function(t){if(!arguments.length)return u;else return u=t,a},a.plotData=function(){if(s)a.r().domain([a.rMin(),a.rMax()]);a.r().range([a.MIN_RADIUS,a.xAxisLength()*a.maxBubbleRelativeSize()]);var t=a.data();if(u){var n=a.radiusValueAccessor();t.sort(function(t,e){return tt.descending(n(t),n(e))})}var e,r,i,o=a.chartBodyG().selectAll("g."+a.BUBBLE_NODE_CLASS).data(t,function(t){return t.key});if(u)o.order();(r=(e=o).enter().append("g")).attr("class",a.BUBBLE_NODE_CLASS).attr("transform",l).append("circle").attr("class",function(t,e){return a.BUBBLE_CLASS+" _"+e}).on("click",a.onClick).attr("fill",a.getColor).attr("r",0),et.transition(e,a.transitionDuration(),a.transitionDelay()).select("circle."+a.BUBBLE_CLASS).attr("r",function(t){return a.bubbleR(t)}).attr("opacity",function(t){return 0=t[1][0]||t[0][1]>=t[1][1]},i._brushing=function(){var t=i.extendBrush();if(i.redrawBrush(i.g()),i.brushIsEmpty(t))et.events.trigger(function(){i.filter(null),i.redrawGroup()});else{var e=et.filters.RangedTwoDimensionalFilter(t);et.events.trigger(function(){i.filter(null),i.filter(e),i.redrawGroup()},et.constants.EVENT_DELAY)}},i.setBrushY=function(t){t.call(i.brush().y(i.y()))},i.anchor(t,e)},et.numberDisplay=function(t,e){var n,r="number-display",i=tt.format(".2s"),o=et.baseMixin({}),a={one:"",some:"",none:""};return o._mandatoryAttributes(["group"]),o.html=function(t){if(!arguments.length)return a;if(t.none)a.none=t.none;else if(t.one)a.none=t.one;else if(t.some)a.none=t.some;if(t.one)a.one=t.one;else if(t.some)a.one=t.some;if(t.some)a.some=t.some;else if(t.one)a.some=t.one;return o},o.value=function(){return o.data()},o.data(function(t){var e=t.value?t.value():t.top(1)[0];return o.valueAccessor()(e)}),o.transitionDuration(250),o.transitionDelay(0),o._doRender=function(){var i=o.value(),t=o.selectAll("."+r);if(t.empty())t=t.data([0]).enter().append("span").attr("class",r);t.transition().duration(o.transitionDuration()).delay(o.transitionDelay()).ease("quad-out-in").tween("text",function(){var t=isFinite(n)?n:0,r=tt.interpolateNumber(t||0,i);return n=i,function(t){var e=null,n=o.formatNumber()(r(t));if(0===i&&""!==a.none)e=a.none;else if(1===i&&""!==a.one)e=a.one;else if(""!==a.some)e=a.some;this.innerHTML=e?e.replace("%number",n):n}})},o._doRedraw=function(){return o._doRender()},o.formatNumber=function(t){if(!arguments.length)return i;else return i=t,o},o.anchor(t,e)},et.heatMap=function(t,e){var d,n,r,h=6.75,p=6.75,g=et.colorMixin(et.marginMixin(et.baseMixin({})));g._mandatoryAttributes(["group"]),g.title(g.colorAccessor());var i=function(t){return t},o=function(t){return t};g.colsLabel=function(t){if(!arguments.length)return i;else return i=t,g},g.rowsLabel=function(t){if(!arguments.length)return o;else return o=t,g};var a=function(t){l(0,t)},s=function(t){l(1,t)},u=function(t){var e=t.key;et.events.trigger(function(){g.filter(e),g.redrawGroup()})};function l(e,n){var r=g.selectAll(".box-group").filter(function(t){return t.key[e]===n}),i=r.filter(function(t){return!g.hasFilter(t.key)});et.events.trigger(function(){var t=(i.empty()?r:i).data().map(function(t){return et.filters.TwoDimensionalFilter(t.key)});g._filter([t]),g.redrawGroup()})}function c(t,e,n){return!e||n[e-1]!==t}return et.override(g,"filter",function(t){if(!arguments.length)return g._filter();else return g._filter(et.filters.TwoDimensionalFilter(t))}),g.rows=function(t){if(arguments.length)return r=t,g;if(r)return r;var e=g.data().map(g.valueAccessor());return e.sort(tt.ascending),tt.scale.ordinal().domain(e.filter(c))},g.cols=function(t){if(arguments.length)return n=t,g;if(n)return n;var e=g.data().map(g.keyAccessor());return e.sort(tt.ascending),tt.scale.ordinal().domain(e.filter(c))},g._doRender=function(){return g.resetSvg(),d=g.svg().append("g").attr("class","heatmap").attr("transform","translate("+g.margins().left+","+g.margins().top+")"),g._doRedraw()},g._doRedraw=function(){var n=g.rows(),r=g.cols(),t=n.domain().length,e=r.domain().length,i=Math.floor(g.effectiveWidth()/e),o=Math.floor(g.effectiveHeight()/t);r.rangeRoundBands([0,g.effectiveWidth()]),n.rangeRoundBands([g.effectiveHeight(),0]);var a=d.selectAll("g.box-group").data(g.data(),function(t,e){return g.keyAccessor()(t,e)+"\0"+g.valueAccessor()(t,e)}),s=a.enter().append("g").attr("class","box-group");if(s.append("rect").attr("class","heat-box").attr("fill","white").on("click",g.boxOnClick()),g.renderTitle())s.append("title"),a.select("title").text(g.title());et.transition(a.select("rect"),g.transitionDuration(),g.transitionDelay()).attr("x",function(t,e){return r(g.keyAccessor()(t,e))}).attr("y",function(t,e){return n(g.valueAccessor()(t,e))}).attr("rx",h).attr("ry",p).attr("fill",g.getColor).attr("width",i).attr("height",o),a.exit().remove();var u=d.select("g.cols");if(u.empty())u=d.append("g").attr("class","cols axis");var l=u.selectAll("text").data(r.domain());l.enter().append("text").attr("x",function(t){return r(t)+i/2}).style("text-anchor","middle").attr("y",g.effectiveHeight()).attr("dy",12).on("click",g.xAxisOnClick()).text(g.colsLabel()),et.transition(l,g.transitionDuration(),g.transitionDelay()).text(g.colsLabel()).attr("x",function(t){return r(t)+i/2}).attr("y",g.effectiveHeight()),l.exit().remove();var c=d.select("g.rows");if(c.empty())c=d.append("g").attr("class","rows axis");var f=c.selectAll("text").data(n.domain());if(f.enter().append("text").attr("dy",6).style("text-anchor","end").attr("x",0).attr("dx",-2).on("click",g.yAxisOnClick()).text(g.rowsLabel()),et.transition(f,g.transitionDuration(),g.transitionDelay()).text(g.rowsLabel()).attr("y",function(t){return n(t)+o/2}),f.exit().remove(),g.hasFilter())g.selectAll("g.box-group").each(function(t){if(g.isSelectedNode(t))g.highlightSelected(this);else g.fadeDeselected(this)});else g.selectAll("g.box-group").each(function(){g.resetHighlight(this)});return g},g.boxOnClick=function(t){if(!arguments.length)return u;else return u=t,g},g.xAxisOnClick=function(t){if(!arguments.length)return a;else return a=t,g},g.yAxisOnClick=function(t){if(!arguments.length)return s;else return s=t,g},g.xBorderRadius=function(t){if(!arguments.length)return h;else return h=t,g},g.yBorderRadius=function(t){if(!arguments.length)return p;else return p=t,g},g.isSelectedNode=function(t){return g.hasFilter(t.key)},g.anchor(t,e)},function(){function t(t){return[0,t.length-1]}function n(t){return[tt.quantile(t,.25),tt.quantile(t,.5),tt.quantile(t,.75)]}tt.box=function(){var b=1,w=1,x=0,S=null,C=Number,k=t,A=n,E=null;function e(t){t.each(function(e,t){e=e.map(C).sort(tt.ascending);var n=tt.select(this),r=e.length,i=e[0],o=e[r-1],a=e.quartiles=A(e),s=k&&k.call(this,e,t),u=s&&s.map(function(t){return e[t]}),l=s?tt.range(0,s[0]).concat(tt.range(s[1]+1,r)):tt.range(r),c=tt.scale.linear().domain(S&&S.call(this,e,t)||[i,o]).range([w,0]),f=this.__chart__||tt.scale.linear().domain([0,1/0]).range(c.range());this.__chart__=c;var d=n.selectAll("line.center").data(u?[u]:[]);d.enter().insert("line","rect").attr("class","center").attr("x1",b/2).attr("y1",function(t){return f(t[0])}).attr("x2",b/2).attr("y2",function(t){return f(t[1])}).style("opacity",1e-6).transition().duration(x).delay(0).style("opacity",1).attr("y1",function(t){return c(t[0])}).attr("y2",function(t){return c(t[1])}),d.transition().duration(x).delay(0).style("opacity",1).attr("x1",b/2).attr("x2",b/2).attr("y1",function(t){return c(t[0])}).attr("y2",function(t){return c(t[1])}),d.exit().transition().duration(x).delay(0).style("opacity",1e-6).attr("y1",function(t){return c(t[0])}).attr("y2",function(t){return c(t[1])}).remove();var h=n.selectAll("rect.box").data([a]);h.enter().append("rect").attr("class","box").attr("x",0).attr("y",function(t){return f(t[2])}).attr("width",b).attr("height",function(t){return f(t[0])-f(t[2])}).transition().duration(x).delay(0).attr("y",function(t){return c(t[2])}).attr("height",function(t){return c(t[0])-c(t[2])}),h.transition().duration(x).delay(0).attr("width",b).attr("y",function(t){return c(t[2])}).attr("height",function(t){return c(t[0])-c(t[2])});var p=n.selectAll("line.median").data([a[1]]);p.enter().append("line").attr("class","median").attr("x1",0).attr("y1",f).attr("x2",b).attr("y2",f).transition().duration(x).delay(0).attr("y1",c).attr("y2",c),p.transition().duration(x).delay(0).attr("x1",0).attr("x2",b).attr("y1",c).attr("y2",c);var g=n.selectAll("line.whisker").data(u||[]);g.enter().insert("line","circle, text").attr("class","whisker").attr("x1",0).attr("y1",f).attr("x2",b).attr("y2",f).style("opacity",1e-6).transition().duration(x).delay(0).attr("y1",c).attr("y2",c).style("opacity",1),g.transition().duration(x).delay(0).attr("x1",0).attr("x2",b).attr("y1",c).attr("y2",c).style("opacity",1),g.exit().transition().duration(x).delay(0).attr("y1",c).attr("y2",c).style("opacity",1e-6).remove();var v=n.selectAll("circle.outlier").data(l,Number);v.enter().insert("circle","text").attr("class","outlier").attr("r",5).attr("cx",b/2).attr("cy",function(t){return f(e[t])}).style("opacity",1e-6).transition().duration(x).delay(0).attr("cy",function(t){return c(e[t])}).style("opacity",1),v.transition().duration(x).delay(0).attr("cx",b/2).attr("cy",function(t){return c(e[t])}).style("opacity",1),v.exit().transition().duration(x).delay(0).attr("cy",function(t){return c(e[t])}).style("opacity",1e-6).remove();var m=E||c.tickFormat(8),y=n.selectAll("text.box").data(a);y.enter().append("text").attr("class","box").attr("dy",".3em").attr("dx",function(t,e){return 1&e?6:-6}).attr("x",function(t,e){return 1&e?b:0}).attr("y",f).attr("text-anchor",function(t,e){return 1&e?"start":"end"}).text(m).transition().duration(x).delay(0).attr("y",c),y.transition().duration(x).delay(0).text(m).attr("x",function(t,e){return 1&e?b:0}).attr("y",c);var _=n.selectAll("text.whisker").data(u||[]);_.enter().append("text").attr("class","whisker").attr("dy",".3em").attr("dx",6).attr("x",b).attr("y",f).text(m).style("opacity",1e-6).transition().duration(x).delay(0).attr("y",c).style("opacity",1),_.transition().duration(x).delay(0).text(m).attr("x",b).attr("y",c).style("opacity",1),_.exit().transition().duration(x).delay(0).attr("y",c).style("opacity",1e-6).remove()}),tt.timer.flush()}return e.width=function(t){if(!arguments.length)return b;else return b=t,e},e.height=function(t){if(!arguments.length)return w;else return w=t,e},e.tickFormat=function(t){if(!arguments.length)return E;else return E=t,e},e.duration=function(t){if(!arguments.length)return x;else return x=t,e},e.domain=function(t){if(!arguments.length)return S;else return S=null===t?t:tt.functor(t),e},e.value=function(t){if(!arguments.length)return C;else return C=t,e},e.whiskers=function(t){if(!arguments.length)return k;else return k=t,e},e.quartiles=function(t){if(!arguments.length)return A;else return A=t,e},e}}(),et.boxPlot=function(t,e){var a,o=et.coordinateGridMixin({}),r=(a=1.5,function(t){for(var e=t.quartiles[0],n=t.quartiles[2],r=(n-e)*a,i=-1,o=t.length;t[++i]n+r;);return[i,o]}),i=tt.box(),s=null,u=function(t,e){if(o.isOrdinal())return o.x().rangeBand();else return t/(1+o.boxPadding())/e};o.yAxisPadding(12),o.x(tt.scale.ordinal()),o.xUnits(et.units.ordinal),o.data(function(t){return t.all().map(function(e){return e.map=function(t){return t.call(e,e)},e}).filter(function(t){return 0!==o.valueAccessor()(t).length})}),o.boxPadding=o._rangeBandPadding,o.boxPadding(.8),o.outerPadding=o._outerRangeBandPadding,o.outerPadding(.5),o.boxWidth=function(t){if(!arguments.length)return u;else return u=tt.functor(t),o};var l=function(t,e){return"translate("+o.x()(o.keyAccessor()(t,e))+", 0)"};return o._preprocessData=function(){if(o.elasticX())o.x().domain([])},o.plotData=function(){var t=u(o.effectiveWidth(),o.xUnitCount());i.whiskers(r).width(t).height(o.effectiveHeight()).value(o.valueAccessor()).domain(o.y().domain()).duration(o.transitionDuration()).tickFormat(s);var e,n=o.chartBodyG().selectAll("g.box").data(o.data(),o.keyAccessor());n.enter().append("g").attr("class","box").attr("transform",l).call(i).on("click",function(t){o.filter(o.keyAccessor()(t)),o.redrawGroup()}),e=n,et.transition(e,o.transitionDuration(),o.transitionDelay()).attr("transform",l).call(i).each(function(){tt.select(this).select("rect.box").attr("fill",o.getColor)}),n.exit().remove().call(i),o.fadeDeselectedArea()},o.fadeDeselectedArea=function(){if(o.hasFilter())if(o.isOrdinal())o.g().selectAll("g.box").each(function(t){if(o.isSelectedNode(t))o.highlightSelected(this);else o.fadeDeselected(this)});else{var t=o.brush().extent(),n=t[0],r=t[1],i=o.keyAccessor();o.g().selectAll("g.box").each(function(t){var e=i(t);if(e>>24)|4278255360&(n[u]<<24|n[u]>>>8);n[r>>>5]|=128<>>9<<4)]=r;var l=w._ff,c=w._gg,f=w._hh,d=w._ii;for(u=0;u>>0,o=o+p>>>0,a=a+g>>>0,s=s+v>>>0}return m.endian([i,o,a,s])})._ff=function(t,e,n,r,i,o,a){var s=t+(e&n|~e&r)+(i>>>0)+a;return(s<>>32-o)+e},w._gg=function(t,e,n,r,i,o,a){var s=t+(e&r|n&~r)+(i>>>0)+a;return(s<>>32-o)+e},w._hh=function(t,e,n,r,i,o,a){var s=t+(e^n^r)+(i>>>0)+a;return(s<>>32-o)+e},w._ii=function(t,e,n,r,i,o,a){var s=t+(n^(e|~r))+(i>>>0)+a;return(s<>>32-o)+e},w._blocksize=16,w._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=m.wordsToBytes(w(t,e));return e&&e.asBytes?n:e&&e.asString?b.bytesToString(n):m.bytesToHex(n)}},DUuaJyXG:function(t,exports,e){"use strict";var i=e("8GJ6oOEd"),o=e("GZfD0NTG"),a=e("QlBQbb2U"),s=e("72UfWcJe").default,n={OUTPUTS_URL:o.qualifyUrl(a.OutputsApiController.index().url),load:function(t){s("GET",this.OUTPUTS_URL).then(t,this._failCallback)},loadForStreamId:function(t,e){var n=o.qualifyUrl(a.StreamOutputsApiController.index(t).url);s("GET",n).then(e,this._failCallback)},loadAvailableTypes:function(t){var e=o.qualifyUrl(a.OutputsApiController.availableTypes().url);s("GET",e).then(t,this._failCallback)},loadAvailable:function(e,t){var n=o.qualifyUrl(a.OutputsApiController.availableTypes().url);s("GET",n).then(function(t){return t.types[e]},this._failCallback).then(t)},remove:function(t,e){var n=o.qualifyUrl(a.OutputsApiController.delete(t).url);s("DELETE",n).then(e,function(t){i.error("Terminating output failed with status: "+t,"Could not terminate output")})},save:function(e,t){var n=o.qualifyUrl(a.OutputsApiController.create().url);s("POST",n,e).then(t,function(t){i.error('Saving Output "'+e.title+'" failed with status: '+t,"Could not save Output")})},update:function(e,t,n){var r=o.qualifyUrl(a.OutputsApiController.update(e.id).url);s("PUT",r,t).then(n,function(t){i.error('Updating Output "'+e.title+'" failed with status: '+t,"Could not update Output")})},_failCallback:function(t){i.error("Loading outputs failed with status: "+t,"Could not load outputs")}};t.exports=n},"E8yCj/By":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),i=r(e("GZfD0NTG")),o=r(e("QlBQbb2U")),a=r(e("72UfWcJe"));function r(t){return t&&t.__esModule?t:{default:t}}var s=r(e("JBQWIv26")).default.getActions("IndexerOverview"),u=n.default.createStore({listenables:[s],list:function(t){var n=this,e=i.default.qualifyUrl(o.default.IndexerOverviewApiResource.list(t).url),r=(0,a.default)("GET",e);return r.then(function(t){n.trigger({indexerOverview:t,indexerOverviewError:void 0})},function(t){if(t.additional&&503===t.additional.status){var e=t.additional.body&&t.additional.body.message?t.additional.body.message:"Elasticsearch is unavailable. Check your configuration and logs for more information.";n.trigger({indexerOverviewError:e})}}),s.list.promise(r),r}});exports.default=u,t.exports=exports.default},EO537oyf:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5"));function r(t){return t&&t.__esModule?t:{default:t}}var i=r(e("JBQWIv26")).default.getActions("Refresh"),o=n.default.createStore({listenables:[i],interval:5e3,enabled:!1,getInitialState:function(){return{interval:this.interval,enabled:this.enabled}},changeInterval:function(t){this.interval=t,this._update()},disable:function(){this.enabled=!1,this._update()},enable:function(){this.enabled=!0,this._update()},_update:function(){this.trigger(this.getInitialState())}});exports.default=o,t.exports=exports.default},EbvmO17y:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n,r=(n=e("21p8kIWv"))&&n.__esModule?n:{default:n};var i={AlarmCallbackHistory:function(){return e("D4QbN2+o")},AlarmCallbacks:function(){return e("qNJjS6qu")},AlertConditions:function(){return e("s6moyxK/")},AlertNotifications:function(){return e("dr49jahX")},Alerts:function(){return e("C7WUsZ7w")},Authentication:function(){return e("lotYfEOB")},Catalog:function(){return e("2+FPf/1a")},ClusterTraffic:function(){return e("aBNIXdvW")},CodecTypes:function(){return e("riE38/bO")},CollectorConfigurations:function(){return e("AXCy/LZT")},Collectors:function(){return e("dbXDjaMA")},Configuration:function(){return e("GHO4z1CW")},Configurations:function(){return e("GHO4z1CW")},ConfigurationVariable:function(){return e("UozvG4NC")},ContentPacks:function(){return e("o808ceIw")},Dashboards:function(){return e("8UmmyyCA")},Decorators:function(){return e("xmm2qTl3")},Deflector:function(){return e("brYhaDaZ")},Extractors:function(){return e("1UTPl9n2")},FieldQuickValues:function(){return e("bh4ljutt")},GettingStarted:function(){return e("t9Y6YFC1")},HistogramData:function(){return e("LcWFEzys")},IndexerCluster:function(){return e("nWEVKtVt")},IndexerOverview:function(){return e("YyAIWqjM")},IndexRanges:function(){return e("EorfC/Vc")},IndexSets:function(){return e("I7axAJ76")},Indices:function(){return e("zrBetBEQ")},IndicesConfiguration:function(){return e("v/8DPNPT")},Inputs:function(){return e("K/u0IGVS")},InputTypes:function(){return e("9SZBCN7s")},Ldap:function(){return e("LGy8nMdg")},LdapGroups:function(){return e("VQmrpCq3")},Loggers:function(){return e("Facw8pjZ")},LookupTableCaches:function(){return e("nP6a+huQ")},LookupTableDataAdapters:function(){return e("LXU4I1ih")},LookupTables:function(){return e("OCgyXZDB")},MessageCounts:function(){return e("qRO8SbdC")},Messages:function(){return e("+efuPE8h")},Metrics:function(){return e("sMq7wTr3")},Nodes:function(){return e("Vv+Cyhd5")},Notifications:function(){return e("Z01hayOw")},PipelineConnections:function(){return e("kHC6R5+Z")},Pipelines:function(){return e("xkdMMYNG")},Refresh:function(){return e("opWT/UjU")},Rules:function(){return e("vXHY3KVU")},SavedSearches:function(){return e("4WFYibpp")},ServerAvailability:function(){return e("MOgudJ7o")},Session:function(){return e("BSRFGq4X")},Sidecars:function(){return e("843IJxye")},SidecarsAdministration:function(){return e("Osspz6vV")},Simulator:function(){return e("Q5pcoIBS")},SingleNode:function(){return e("BrPJAV99")},Streams:function(){return e("VErHFKte")},SystemJobs:function(){return e("A91Apzz+")},Widgets:function(){return e("zPsgSoui")}},o={AlarmCallbackHistory:function(){return e("gf/srPUZ")},AlarmCallbacks:function(){return e("OK84qaE1")},AlertConditions:function(){return e("BLeQIiIw")},AlertNotifications:function(){return e("vwnmHHSx")},Alerts:function(){return e("I4+ngRkl")},Authentication:function(){return e("d/Kp+4D3")},Catalog:function(){return e("9pBmxVng")},ClusterOverview:function(){return e("Pny8KqFd")},ClusterTraffic:function(){return e("WwqffQLQ")},CodecTypes:function(){return e("AKMpLma3")},CollectorConfigurations:function(){return e("xGIIJ/bV")},Collectors:function(){return e("nAgQ+QaO")},ContentPacks:function(){return e("V7AGmkLH")},Configuration:function(){return e("nBZE8bEY")},Configurations:function(){return e("nBZE8bEY")},CurrentUser:function(){return e("+b6oEDsX")},Dashboards:function(){return e("4MEO7XBo")},Decorators:function(){return e("ktz8mRoG")},Deflector:function(){return e("wdcFljFk")},Extractors:function(){return e("6Xnj3wDA")},FieldGraphs:function(){return e("Z3h2JH4w")},FieldQuickValues:function(){return e("ON/hzEVR")},Fields:function(){return e("GAkHaCVr")},FieldStatistics:function(){return e("Zn5Cqcud")},Focus:function(){return e("Hn7awk7A")},GettingStarted:function(){return e("WqZl6gnz")},GlobalThroughput:function(){return e("hdfdRIZp")},GrokPatterns:function(){return e("XVyiyjEH")},HistogramData:function(){return e("LHf7AyS6")},IndexerCluster:function(){return e("7cemt1Ep")},IndexerFailures:function(){return e("JAJKCDO0")},IndexerOverview:function(){return e("E8yCj/By")},IndexRanges:function(){return e("pCKQRfa/")},IndexSets:function(){return e("GIKujoUw")},Indices:function(){return e("IAPgyCbw")},IndicesConfiguration:function(){return e("uhNzOVoQ")},Inputs:function(){return e("jelr2954")},InputStates:function(){return e("dMoiwkUG")},InputStaticFields:function(){return e("8Yr86ech")},InputTypes:function(){return e("wgoDjPq3")},Journal:function(){return e("M8845gaG")},LdapGroups:function(){return e("kyigJ3Cw")},Ldap:function(){return e("IAKCr329")},Loggers:function(){return e("rGl2woZV")},LookupTables:function(){return e("ouSSrS/2")},LookupTableCaches:function(){return e("jhd7wna9")},LookupTableDataAdapters:function(){return e("nz9+JOMX")},MessageCounts:function(){return e("2dNmioND")},MessageFields:function(){return e("IGO2mk1p")},Messages:function(){return e("Sj+oSYgh")},Metrics:function(){return e("aWMUjnOv")},Nodes:function(){return e("Kng96koB")},Notifications:function(){return e("j+ADSPtK")},Outputs:function(){return e("DUuaJyXG")},PipelineConnections:function(){return e("Wc80yWFm")},Pipelines:function(){return e("tcAYyL5m")},Plugins:function(){return e("OG4cRe8e")},Preferences:function(){return e("yGVfroSW")},Refresh:function(){return e("EO537oyf")},Roles:function(){return e("USaXJEUg")},Rules:function(){return e("S5weOHWC")},SavedSearches:function(){return e("HlvQkmVe")},Search:function(){return e("jq1egyWr")},ServerAvailability:function(){return e("IhpvXlBC")},Session:function(){return e("YzlTs7L7")},Sidecars:function(){return e("mpNbWoWl")},SidecarsAdministration:function(){return e("o2/ojYnk")},Simulator:function(){return e("tJiYTY+2")},SingleNode:function(){return e("XaE5Pedj")},Sources:function(){return e("mMRe/5UB")},Startpage:function(){return e("0c+KX6ru")},StreamRules:function(){return e("SfNtpioX")},Streams:function(){return e("keedmmMh")},System:function(){return e("HQf5gZZO")},SystemJobs:function(){return e("QO2VALLf")},SystemLoadBalancer:function(){return e("skjvrYTP")},SystemMessages:function(){return e("O/XBOW6x")},SystemProcessing:function(){return e("X/Uj5g7g")},SystemShutdown:function(){return e("ZeWH2HBo")},ConfigurationVariable:function(){return e("L6CWRq7U")},Tools:function(){return e("qto9y7Uf")},UniversalSearch:function(){return e("4jYmNgIv")},Users:function(){return e("u9eZhSLy")},Widgets:function(){return e("SjsViyLG")}};exports.default=function(){Object.keys(i).forEach(function(t){return r.default.registerAction(t,i[t])}),Object.keys(o).forEach(function(t){return r.default.registerStore(t,o[t])})},t.exports=exports.default},"EorfC/Vc":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({list:{asyncResult:!0},recalculate:{asyncResult:!0},recalculateIndex:{asyncResult:!0}});exports.default=r,t.exports=exports.default},Facw8pjZ:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({loggers:{asyncResult:!0},subsystems:{asyncResult:!0},setSubsystemLoggerLevel:{asyncResult:!0}});exports.default=r,t.exports=exports.default},GAkHaCVr:function(t,exports,e){"use strict";var n=e("QlBQbb2U"),r=e("72UfWcJe").default,i=e("8GJ6oOEd"),o=e("GZfD0NTG"),a={loadFields:function(){var t=n.SystemApiController.fields().url,e=r("GET",o.qualifyUrl(t));return(e=e.then(function(t){return t.fields})).catch(function(t){i.error("Loading field information failed with status: "+t.additional.message,"Could not load field information")}),e}};t.exports=a},GHO4z1CW:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({list:{asyncResult:!0},listSearchesClusterConfig:{asyncResult:!0},listMessageProcessorsConfig:{asyncResult:!0},update:{asyncResult:!0},updateMessageProcessorsConfig:{asyncResult:!0}});exports.default=r,t.exports=exports.default},GIKujoUw:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),a=r(e("QlBQbb2U")),s=r(e("72UfWcJe")),u=r(e("GZfD0NTG")),l=r(e("8GJ6oOEd"));function r(t){return t&&t.__esModule?t:{default:t}}var c=r(e("JBQWIv26")).default.getActions("IndexSets"),i=n.default.createStore({listenables:[c],list:function(t){var e=this,n=u.default.qualifyUrl(a.default.IndexSetsApiController.list(t).url),r=(0,s.default)("GET",n);r.then(function(t){return e.trigger({indexSetsCount:t.total,indexSets:t.index_sets,indexSetStats:t.stats})},function(t){l.default.error("Fetching index sets list failed: ".concat(t.message),"Could not retrieve index sets.")}),c.list.promise(r)},listPaginated:function(t,e,n){var r=this,i=u.default.qualifyUrl(a.default.IndexSetsApiController.listPaginated(t,e,n).url),o=(0,s.default)("GET",i);o.then(function(t){return r.trigger({indexSetsCount:t.total,indexSets:t.index_sets,indexSetStats:t.stats})},function(t){l.default.error("Fetching index sets list failed: ".concat(r._errorMessage(t)),"Could not retrieve index sets.")}),c.listPaginated.promise(o)},get:function(e){var n=this,t=u.default.qualifyUrl(a.default.IndexSetsApiController.get(e).url),r=(0,s.default)("GET",t);r.then(function(t){return n.trigger({indexSet:t}),t},function(t){l.default.error("Fetching index set '".concat(e,"' failed with status: ").concat(n._errorMessage(t)),"Could not retrieve index set.")}),c.get.promise(r)},update:function(e){var n=this,t=u.default.qualifyUrl(a.default.IndexSetsApiController.get(e.id).url),r=(0,s.default)("PUT",t,e);r.then(function(t){return l.default.success("Successfully updated index set '".concat(e.title,"'"),"Success"),n.trigger({indexSet:t}),t},function(t){l.default.error("Updating index set '".concat(e.title,"' failed with status: ").concat(n._errorMessage(t)),"Could not update index set.")}),c.update.promise(r)},create:function(e){var n=this,t=u.default.qualifyUrl(a.default.IndexSetsApiController.create().url),r=(0,s.default)("POST",t,e);r.then(function(t){return l.default.success("Successfully created index set '".concat(e.title,"'"),"Success"),n.trigger({indexSet:t}),t},function(t){l.default.error("Creating index set '".concat(e.title,"' failed with status: ").concat(n._errorMessage(t)),"Could not create index set.")}),c.create.promise(r)},delete:function(e,t){var n=this,r=u.default.qualifyUrl(a.default.IndexSetsApiController.delete(e.id,t).url),i=(0,s.default)("DELETE",r);i.then(function(){l.default.success("Successfully deleted index set '".concat(e.title,"'"),"Success")},function(t){l.default.error("Deleting index set '".concat(e.title,"' failed with status: ").concat(n._errorMessage(t)),"Could not delete index set.")}),c.delete.promise(i)},setDefault:function(e){var n=this,t=u.default.qualifyUrl(a.default.IndexSetsApiController.setDefault(e.id).url),r=(0,s.default)("PUT",t);r.then(function(){l.default.success("Successfully set index set '".concat(e.title,"' as default"),"Success")},function(t){l.default.error("Setting index set '".concat(e.title,"' as default failed with status: ").concat(n._errorMessage(t)),"Could not set default index set.")}),c.setDefault.promise(r)},stats:function(){var e=this,t=u.default.qualifyUrl(a.default.IndexSetsApiController.stats().url),n=(0,s.default)("GET",t);n.then(function(t){return e.trigger({globalIndexSetStats:{indices:t.indices,documents:t.documents,size:t.size}})},function(t){l.default.error("Fetching global index stats failed: ".concat(t.message),"Could not retrieve global index stats.")}),c.stats.promise(n)},_errorMessage:function(e){try{return e.additional.body.message}catch(t){return e.message}}});exports.default=i,t.exports=exports.default},GZfD0NTG:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=o(e("pjsNBHWI")),n=o(e("oCSEoDew")),i=o(e("mlLZmLl3"));function o(t){return t&&t.__esModule?t:{default:t}}var a={parser:new(o(e("COXm4vGc")).default),qualifyUrl:function(t){return new n.default(i.default.gl2ServerUrl()+t).normalizePathname().toString()},appPrefixed:function(t){return this.concatURLPath(i.default.gl2AppPathPrefix(),t)},getParsedSearch:function(t){var e={},n=t.search;if(n)if(0===n.indexOf("?")&&1>>1;if(e>>1;if(o(t[i])>>1);0<--i;)o(t,i,r,e);return t}function o(t,e,n,r){for(var i,o=t[--r+e],a=s(o);(i=e<<1)<=n;){if(is(t[r+i+1]))i++;if(a<=s(t[r+i]))break;t[r+e]=t[r+i],e=i}t[r+e]=o}return t.sort=function(t,e,n){for(var r,i=n-e;0<--i;)r=t[e],t[e]=t[e+i],t[e+i]=r,o(t,1,i,e);return t},t}function H(u){var l=B(u);return function(t,e,n,r){var i,o,a,s=new Array(r=Math.min(n-e,r));for(o=0;oi)s[0]=a,i=u(l(s,0,r)[0])}while(++ea;--i)t[i]=t[i-1];t[i]=o}return t}}function T(R){var r=e(R);function U(t,e,n){return(n-e>1,u=s-i,l=s+i,c=t[o],f=R(c),d=t[u],h=R(d),p=t[s],g=R(p),v=t[l],m=R(v),y=t[a],_=R(y);if(h=e)return t;var n=new t.constructor(e);return n.set(t),n},W=function(t,e){var n;switch(e){case 16:n=r(t.length);break;case 32:n=o(t.length);break;default:throw new Error("invalid array width!")}return n.set(t),n};function a(t){for(var e=new Array(t),n=-1;++n=b&&0=s);)++v;for(;v=r)break;s=y(t[v])}m()}for(;g>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?A(t)+e:e}function T(){return!0}function M(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&n<=e)}function O(t,e){return R(t,e,0)}function P(t,e){return R(t,e,e)}function R(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var U=0,D=1,I=2,j="function"==typeof Symbol&&Symbol.iterator,F="@@iterator",N=j||F;function L(t){this.next=t}function G(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function q(){return{value:void 0,done:!0}}function z(t){return!!V(t)}function B(t){return t&&"function"==typeof t.next}function H(t){var e=V(t);return e&&e.call(t)}function V(t){var e=t&&(j&&t[j]||t[F]);if("function"==typeof e)return e}function W(t){return t&&"number"==typeof t.length}function Q(t){return null==t?st():c(t)?t.toSeq():function(t){var e=ct(t)||"object"==typeof t&&new rt(t);if(e)return e;throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t)}(t)}function J(t){return null==t?st().toKeyedSeq():c(t)?f(t)?t.toSeq():t.fromEntrySeq():ut(t)}function Y(t){return null==t?st():!c(t)?lt(t):f(t)?t.entrySeq():t.toIndexedSeq()}function K(t){return(null==t?st():!c(t)?lt(t):f(t)?t.entrySeq():t).toSetSeq()}L.prototype.toString=function(){return"[Iterator]"},L.KEYS=U,L.VALUES=D,L.ENTRIES=I,L.prototype.inspect=L.prototype.toSource=function(){return this.toString()},L.prototype[N]=function(){return this},t(Q,u),Q.of=function(){return Q(arguments)},Q.prototype.toSeq=function(){return this},Q.prototype.toString=function(){return this.__toString("Seq {","}")},Q.prototype.cacheResult=function(){if(!this._cache&&this.__iterateUncached)this._cache=this.entrySeq().toArray(),this.size=this._cache.length;return this},Q.prototype.__iterate=function(t,e){return ft(this,t,e,!0)},Q.prototype.__iterator=function(t,e){return dt(this,t,e,!0)},t(J,Q),J.prototype.toKeyedSeq=function(){return this},t(Y,Q),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(t,e){return ft(this,t,e,!1)},Y.prototype.__iterator=function(t,e){return dt(this,t,e,!1)},t(K,Q),K.of=function(){return K(arguments)},K.prototype.toSetSeq=function(){return this},Q.isSeq=at,Q.Keyed=J,Q.Set=K,Q.Indexed=Y;var Z,X,tt,et="@@__IMMUTABLE_SEQ__@@";function nt(t){this._array=t,this.size=t.length}function rt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function it(t){this._iterable=t,this.size=t.length||t.size}function ot(t){this._iterator=t,this._iteratorCache=[]}function at(t){return!(!t||!t[et])}function st(){return Z||(Z=new nt([]))}function ut(t){var e=Array.isArray(t)?new nt(t).fromEntrySeq():B(t)?new ot(t).fromEntrySeq():z(t)?new it(t).fromEntrySeq():"object"==typeof t?new rt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function lt(t){var e=ct(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ct(t){return W(t)?new nt(t):B(t)?new ot(t):z(t)?new it(t):void 0}function ft(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function dt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new L(function(){var t=i[n?o-a:a];return a++>o?{value:void 0,done:!0}:G(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function ht(t,e){return e?function n(r,i,t,e){if(Array.isArray(i))return r.call(e,t,Y(i).map(function(t,e){return n(r,t,e,i)}));if(gt(i))return r.call(e,t,J(i).map(function(t,e){return n(r,t,e,i)}));else return i}(e,t,"",{"":t}):pt(t)}function pt(t){if(Array.isArray(t))return Y(t).map(pt).toList();if(gt(t))return J(t).map(pt).toMap();else return t}function gt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function vt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}if("function"==typeof t.equals&&"function"==typeof e.equals&&t.equals(e))return!0;else return!1}function mt(n,t){if(n===t)return!0;if(!c(t)||void 0!==n.size&&void 0!==t.size&&n.size!==t.size||void 0!==n.__hash&&void 0!==t.__hash&&n.__hash!==t.__hash||f(n)!==f(t)||d(n)!==d(t)||p(n)!==p(t))return!1;if(0===n.size&&0===t.size)return!0;var r=!h(n);if(p(n)){var i=n.entries();return t.every(function(t,e){var n=i.next().value;return n&&vt(n[1],t)&&(r||vt(n[0],e))})&&i.next().done}var o=!1;if(void 0===n.size)if(void 0===t.size){if("function"==typeof n.cacheResult)n.cacheResult()}else{o=!0;var e=n;n=t,t=e}var a=!0,s=t.__iterate(function(t,e){if(r?!n.has(t):o?!vt(t,n.get(e,w)):!vt(n.get(e,w),t))return a=!1});return a&&n.size===s}function yt(t,e){if(!(this instanceof yt))return new yt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(X)return X;X=this}}function _t(t,e){if(!t)throw new Error(e)}function bt(t,e,n){if(!(this instanceof bt))return new bt(t,e,n);if(_t(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e)e=1/0;if(n=void 0===n?1:Math.abs(n),eo?{value:void 0,done:!0}:G(e,t,r[t])})},rt.prototype[a]=!0,t(it,Y),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=H(n),i=0;if(B(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},it.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=H(n);if(!B(r))return new L(q);var i=0;return new L(function(){var t=r.next();return t.done?t:G(e,i++,t.value)})},t(ot,Y),ot.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return G(e,i,r[i++])})},t(yt,Y),yt.prototype.toString=function(){if(0===this.size)return"Repeat []";else return"Repeat [ "+this._value+" "+this.size+" times ]"},yt.prototype.get=function(t,e){return this.has(t)?this._value:e},yt.prototype.includes=function(t){return vt(this._value,t)},yt.prototype.slice=function(t,e){var n=this.size;return M(t,e,n)?this:new yt(this._value,P(e,n)-O(t,n))},yt.prototype.reverse=function(){return this},yt.prototype.indexOf=function(t){if(vt(this._value,t))return 0;else return-1},yt.prototype.lastIndexOf=function(t){if(vt(this._value,t))return this.size;else return-1},yt.prototype.__iterate=function(t,e){for(var n=0;n>>16)*r+n*(e>>>16)<<16>>>0)|0};function At(t){return t>>>1&1073741824|3221225471&t}function Et(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf)if(!1===(t=t.valueOf())||null==t)return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var n=0|t;if(n!==t)n^=4294967295*t;for(;4294967295It?function(t){var e=Nt[t];if(void 0===e){if(e=Tt(t),Ft===jt)Ft=0,Nt={};Ft++,Nt[t]=e}return e}(t):Tt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return function(t){var e;if(Rt)if(void 0!==(e=Mt.get(t)))return e;if(void 0!==(e=t[Dt]))return e;if(!Pt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Dt]))return e;if(void 0!==(e=function(t){if(t&&0=n.length)throw new Error("Missing value for key: "+n[e]);t.set(n[e],n[e+1])}})},Gt.prototype.toString=function(){return this.__toString("Map {","}")},Gt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Gt.prototype.set=function(t,e){return ee(this,t,e)},Gt.prototype.setIn=function(t,e){return this.updateIn(t,w,function(){return e})},Gt.prototype.remove=function(t){return ee(this,t,w)},Gt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return w})},Gt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Gt.prototype.updateIn=function(t,e,n){if(!n)n=e,e=void 0;var r=function t(e,n,r,i){var o=e===w,a=n.next();if(a.done){var s=o?r:e,u=i(s);return u===s?e:u}_t(o||e&&e.set,"invalid keyPath");var l=a.value,c=o?w:e.get(l,w),f=t(c,n,r,i);return f===c?e:f===w?e.remove(l):(o?te():e).set(l,f)}(this,on(t),e,n);return r===w?void 0:r},Gt.prototype.clear=function(){if(0===this.size)return this;if(this.__ownerID)return this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this;else return te()},Gt.prototype.merge=function(){return oe(this,void 0,arguments)},Gt.prototype.mergeWith=function(t){var e=r.call(arguments,1);return oe(this,t,e)},Gt.prototype.mergeIn=function(t){var e=r.call(arguments,1);return this.updateIn(t,te(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},Gt.prototype.mergeDeep=function(){return oe(this,ae,arguments)},Gt.prototype.mergeDeepWith=function(t){var e=r.call(arguments,1);return oe(this,se(t),e)},Gt.prototype.mergeDeepIn=function(t){var e=r.call(arguments,1);return this.updateIn(t,te(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},Gt.prototype.sort=function(t){return Pe(Qe(this,t))},Gt.prototype.sortBy=function(t,e){return Pe(Qe(this,e,t))},Gt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Gt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new C)},Gt.prototype.asImmutable=function(){return this.__ensureOwner()},Gt.prototype.wasAltered=function(){return this.__altered},Gt.prototype.__iterator=function(t,e){return new Kt(this,t,e)},Gt.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},Gt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;if(!t)return this.__ownerID=t,this.__altered=!1,this;else return $t(this.size,this._root,t,this.__hash)},Gt.isMap=qt;var zt,Bt="@@__IMMUTABLE_MAP__@@",Ht=Gt.prototype;function Vt(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Qt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Jt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Kt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Xt(t._root)}function Zt(t,e){return G(t,e[0],e[1])}function Xt(t,e){return{node:t,index:0,__prev:e}}function $t(t,e,n,r){var i=Object.create(Ht);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function te(){return zt||(zt=$t(0))}function ee(t,e,n){var r,i;if(!t._root){if(n===w)return t;i=1,r=new Vt(t.__ownerID,[[e,n]])}else{var o=x(v),a=x(m);if(r=ne(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===w?-1:1:0)}if(t.__ownerID)return t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t;else return r?$t(i,r):te()}function ne(t,e,n,r,i,o,a,s){if(!t)if(o===w)return t;else return S(s),S(a),new Yt(e,r,[i,o]);return t.update(e,n,r,i,o,a,s)}function re(t){return t.constructor===Yt||t.constructor===Jt}function ie(t,e,n,r,i){if(t.keyHash===r)return new Jt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&b,s=(0===n?r:r>>>n)&b,u=a===s?[ie(t,e,n+_,r,i)]:(o=new Yt(e,r,i),a>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function ce(t,e,n,r){var i=r?t:k(t);return i[e]=n,i}Ht[Bt]=!0,Ht[g]=Ht.remove,Ht.removeIn=Ht.deleteIn,Vt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o=fe)return function(t,e,n,r){if(!t)t=new C;for(var i=new Yt(t,Et(n),[n,r]),o=0;o>>t)&b),o=this.bitmap;return 0==(o&i)?r:this.nodes[le(o&i-1)].get(t+_,e,n,r)},Wt.prototype.update=function(t,e,n,r,i,o,a){if(void 0===n)n=Et(r);var s=(0===e?n:n>>>e)&b,u=1<=de)return function(t,e,n,r,i){for(var o=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new Qt(t,o+1,a)}(t,d,l,s,p);if(c&&!p&&2===d.length&&re(d[1^f]))return d[1^f];if(c&&p&&1===d.length&&re(p))return p;var g=t&&t===this.ownerID,v=c?p?l:l^u:l|u,m=c?p?ce(d,f,p,g):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;a>>t)&b,o=this.nodes[i];return o?o.get(t+_,e,n,r):r},Qt.prototype.update=function(t,e,n,r,i,o,a){if(void 0===n)n=Et(r);var s=(0===e?n:n>>>e)&b,u=i===w,l=this.nodes,c=l[s];if(u&&!c)return this;var f=ne(c,t,e+_,n,r,i,o,a);if(f===c)return this;var d=this.count;if(!c)d++;else if(!f)if(--d=t.size||e<0)return t.withMutations(function(t){e<0?Te(t,e).set(0,n):Te(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=x(m);if(e>=Oe(t._capacity))r=ke(r,t.__ownerID,0,e,n,o);else i=ke(i,t.__ownerID,t._level,e,n,o);if(!o.value)return t;if(t.__ownerID)return t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t;else return Se(t._origin,t._capacity,t._level,i,r)}(this,t,e)},pe.prototype.remove=function(t){return!this.has(t)?this:0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1)},pe.prototype.insert=function(t,e){return this.splice(t,0,e)},pe.prototype.clear=function(){if(0===this.size)return this;if(this.__ownerID)return this.size=this._origin=this._capacity=0,this._level=_,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this;else return Ce()},pe.prototype.push=function(){var n=arguments,r=this.size;return this.withMutations(function(t){Te(t,0,r+n.length);for(var e=0;e>>e&b;if(r>=this.array.length)return new ye([],t);var i,o=0===r;if(0>>e&b;if(i>=this.array.length)return this;if(0>n,s=1+(c-r>>n);if(y>>n&b,u=t&&s=Oe(t._capacity))return t._tail;if(e<1<>>r&b],r-=_;return n}}function Te(t,e,n){if(void 0!==e)e|=0;if(void 0!==n)n|=0;var r=t.__ownerID||new C,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(s<=a)return t.clear();for(var u=t._level,l=t._root,c=0;a+c<0;)l=new ye(l&&l.array.length?[void 0,l]:[],r),c+=1<<(u+=_);if(c)a+=c,i+=c,s+=c,o+=c;for(var f=Oe(o),d=Oe(s);1<>>v&b;g=g.array[m]=Ae(g.array[m],r)}g.array[f>>>_&b]=h}if(s>>u&b;if(y!==d>>>u&b)break;if(y)c+=(1<i)i=s.size;if(!c(a))s=s.map(function(t){return ht(t)});r.push(s)}if(i>t.size)t=t.setSize(i);return ue(t,e,r)}function Oe(t){return t>>_<<_}function Pe(e){return null==e?De():Re(e)?e:De().withMutations(function(n){var t=s(e);Lt(t.size),t.forEach(function(t,e){return n.set(e,t)})})}function Re(t){return qt(t)&&p(t)}function Ue(t,e,n,r){var i=Object.create(Pe.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function De(){return be||(be=Ue(te(),Ce()))}function Ie(t,e,n){var r,i,o=t._map,a=t._list,s=o.get(e),u=void 0!==s;if(n===w){if(!u)return t;if(a.size>=y&&a.size>=2*o.size){if(i=a.filter(function(t,e){return void 0!==t&&s!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID)r.__ownerID=i.__ownerID=t.__ownerID}else r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0)}else if(u){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);if(t.__ownerID)return t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t;else return Ue(r,i)}function je(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Fe(t){this._iter=t,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Le(t){this._iter=t,this.size=t.size}function Ge(i){var t=en(i);return t._iter=i,t.size=i.size,t.flip=function(){return i},t.reverse=function(){var t=i.reverse.apply(this);return t.flip=function(){return i.reverse()},t},t.has=function(t){return i.includes(t)},t.includes=function(t){return i.has(t)},t.cacheResult=nn,t.__iterateUncached=function(n,t){var r=this;return i.__iterate(function(t,e){return!1!==n(e,t,r)},t)},t.__iteratorUncached=function(t,e){if(t!==I)return i.__iterator(t===D?U:D,e);var n=i.__iterator(t,e);return new L(function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})},t}function qe(o,a,s){var t=en(o);return t.size=o.size,t.has=function(t){return o.has(t)},t.get=function(t,e){var n=o.get(t,w);return n===w?e:a.call(s,n,t,o)},t.__iterateUncached=function(r,t){var i=this;return o.__iterate(function(t,e,n){return!1!==r(a.call(s,t,e,n),e,i)},t)},t.__iteratorUncached=function(r,t){var i=o.__iterator(I,t);return new L(function(){var t=i.next();if(t.done)return t;var e=t.value,n=e[0];return G(r,n,a.call(s,e[1],n,o),t)})},t}function ze(i,n){var t=en(i);if(t._iter=i,t.size=i.size,t.reverse=function(){return i},i.flip)t.flip=function(){var t=Ge(i);return t.reverse=function(){return i.flip()},t};return t.get=function(t,e){return i.get(n?t:-1-t,e)},t.has=function(t){return i.has(n?t:-1-t)},t.includes=function(t){return i.includes(t)},t.cacheResult=nn,t.__iterate=function(n,t){var r=this;return i.__iterate(function(t,e){return n(t,e,r)},!t)},t.__iterator=function(t,e){return i.__iterator(t,!e)},t}function Be(s,u,l,c){var t=en(s);if(c)t.has=function(t){var e=s.get(t,w);return e!==w&&!!u.call(l,e,t,s)},t.get=function(t,e){var n=s.get(t,w);return n!==w&&u.call(l,n,t,s)?n:e};return t.__iterateUncached=function(r,t){var i=this,o=0;return s.__iterate(function(t,e,n){if(u.call(l,t,e,n))return o++,r(t,c?e:o-1,i)},t),o},t.__iteratorUncached=function(i,t){var o=s.__iterator(I,t),a=0;return new L(function(){for(;;){var t=o.next();if(t.done)return t;var e=t.value,n=e[0],r=e[1];if(u.call(l,r,n,s))return G(i,c?n:a++,r,t)}})},t}function He(s,t,e,u){var n=s.size;if(void 0!==t)t|=0;if(void 0!==e)if(e===1/0)e=n;else e|=0;if(M(t,e,n))return s;var l=O(t,n),r=P(e,n);if(l!=l||r!=r)return He(s.toSeq().cacheResult(),t,e,u);var c,i=r-l;if(i==i)c=i<0?0:i;var o=en(s);if(o.size=0===c?c:s.size&&c||void 0,!u&&at(s)&&0<=c)o.get=function(t,e){return 0<=(t=E(this,t))&&tc)return{value:void 0,done:!0};var t=n.next();if(u||e===D)return t;else if(e===U)return G(e,i-1,void 0,t);else return G(e,i-1,t.value[1],t)})},o}function Ve(e,l,c,f){var t=en(e);return t.__iterateUncached=function(r,t){var i=this;if(t)return this.cacheResult().__iterate(r,t);var o=!0,a=0;return e.__iterate(function(t,e,n){if(!o||!(o=l.call(c,t,e,n)))return a++,r(t,f?e:a-1,i)}),a},t.__iteratorUncached=function(i,t){var o=this;if(t)return this.cacheResult().__iterator(i,t);var a=e.__iterator(I,t),s=!0,u=0;return new L(function(){var t,e,n;do{if((t=a.next()).done)if(f||i===D)return t;else if(i===U)return G(i,u++,void 0,t);else return G(i,u++,t.value[1],t);var r=t.value;e=r[0],n=r[1],s&&(s=l.call(c,n,e,o))}while(s);return i===I?t:G(i,e,n,t)})},t}function We(t,u,l){var e=en(t);return e.__iterateUncached=function(o,e){var a=0,s=!1;return function n(t,r){var i=this;t.__iterate(function(t,e){if((!u||r>>-15,461845907),n=kt(n<<13|n>>>-13,5),n=kt((n=(n+3864292196|0)^e)^n>>>16,2246822507),n=At((n=kt(n^n>>>13,3266489909))^n>>>16)}(this))}});var Rn=u.prototype;Rn[e]=!0,Rn[N]=Rn.values,Rn.__toJS=Rn.toArray,Rn.__toStringMapper=Nn,Rn.inspect=Rn.toSource=function(){return this.toString()},Rn.chain=Rn.flatMap,Rn.contains=Rn.includes,Pn(s,{flip:function(){return Ze(this,Ge(this))},mapEntries:function(n,r){var i=this,o=0;return Ze(this,this.toSeq().map(function(t,e){return n.call(r,[e,t],o++,i)}).fromEntrySeq())},mapKeys:function(n,r){var i=this;return Ze(this,this.toSeq().flip().map(function(t,e){return n.call(r,t,e,i)}).flip())}});var Un=s.prototype;function Dn(t,e){return e}function In(t,e){return[e,t]}function jn(t){return function(){return!t.apply(this,arguments)}}function Fn(t){return function(){return-t.apply(this,arguments)}}function Nn(t){return"string"==typeof t?JSON.stringify(t):String(t)}function Ln(){return k(arguments)}function Gn(t,e){return t>2)|0}return Un[n]=!0,Un[N]=Rn.entries,Un.__toJS=Rn.toObject,Un.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Nn(t)},Pn(l,{toKeyedSeq:function(){return new je(this,!1)},filter:function(t,e){return Ze(this,Be(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ze(this,ze(this,!1))},slice:function(t,e){return Ze(this,He(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=O(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ze(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Ze(this,We(this,t,!1))},get:function(n,t){return(n=E(this,n))<0||this.size===1/0||void 0!==this.size&&n>this.size?t:this.find(function(t,e){return e===n},void 0,t)},has:function(t){return 0<=(t=E(this,t))&&(void 0!==this.size?this.size===1/0||t>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n>>6*(3-i)&63));else e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],n=0,r=0;n>>6-2*r);return e}},t.exports=n},VjfI77yX:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n,o=(n=e("VPaD/Np4"))&&n.__esModule?n:{default:n};function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n, no stack trace)"}function B(){return"function"==typeof J}var H=function(){return!1},V=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function W(t){var e=t.match(V);if(e)return{fileName:e[1],line:parseInt(e[2],10)}}function Q(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);if(J(this,Q),32=o)return n[e]=t,this._queue.push(e),!1;if(null!==i)i[e]=t;var a=this._promise,s=this._callback,u=a._boundValue();a._pushContext();var l=v(s).call(u,t,e,r),c=a._popContext();if(g.checkForgottenReturns(l,c,null!==i?"Promise.filter":"Promise.map",a),l===m)return this._reject(l.e),!0;var f=p(l,this._promise);if(f instanceof h){var d=(f=f._target())._bitField;if(0==(50397184&d)){if(1<=o)this._inFlight++;return(n[e]=f)._proxy(this,-1*(e+1)),!1}else if(0!=(33554432&d))l=f._value();else if(0!=(16777216&d))return this._reject(f._reason()),!0;else return this._cancel(),!0}n[e]=l}if(r<=++this._totalResolved){if(null!==i)this._filter(n,i);else this._resolve(n);return!0}return!1},c.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;0>>16)){if(t===this){var n=u();return this._attachExtraTrace(n),this._reject(n)}if(this._setFulfilled(),this._rejectionHandler0=t,0<(65535&e))if(0!=(134217728&e))this._settlePromises();else g.settlePromises(this)}},A.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return g.fatalError(t,p.isNode);if(0<(65535&e))g.settlePromises(this);else this._ensurePossibleRejectionHandled()}},A.prototype._fulfillPromises=function(t,e){for(var n=1;n=this._length)return this._resolve(this._values),!0;else return!1},e.prototype._promiseCancelled=function(){return this._cancel(),!0},e.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},e.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof s)t.cancel();else for(var e=0;e=this._length){var n;if(this._isMap)n=function(t){for(var e=new s,n=t.length/2|0,r=0;r>1},r.prototype.props=function(){return n(this)},r.props=function(t){return n(t)}}},{"./es5":13,"./util":36}],26:[function(t,e,exports){"use strict";function n(t){this._capacity=t,this._length=0,this._front=0}n.prototype._willBeOverCapacity=function(t){return this._capacity=this._length)return this._resolve(this._values),!0;else return!1},i.prototype._promiseFulfilled=function(t,e){var n=new r;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},i.prototype._promiseRejected=function(t,e){var n=new r;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},t.settle=function(t){return n.deprecated(".settle()",".reflect()"),new i(t).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(c,t,exports){"use strict";t.exports=function(t,e,i){var n=c("./util"),r=c("./errors").RangeError,o=c("./errors").AggregateError,a=n.isArray,s={};function u(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function l(t,e){if((0|e)!==e||e<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var n=new u(t),r=n.promise();return n.setHowMany(e),n.init(),r}n.inherits(u,e),u.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var t=a(this._values);if(!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill())this._reject(this._getRangeError(this.length()))}else this._resolve([])},u.prototype.init=function(){this._initialized=!0,this._init()},u.prototype.setUnwrap=function(){this._unwrap=!0},u.prototype.howMany=function(){return this._howMany},u.prototype.setHowMany=function(t){this._howMany=t},u.prototype._promiseFulfilled=function(t){if(this._addFulfilled(t),this._fulfilled()!==this.howMany())return!1;if(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap)this._resolve(this._values[0]);else this._resolve(this._values);return!0},u.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},u.prototype._promiseCancelled=function(){if(this._values instanceof t||null==this._values)return this._cancel();else return this._addRejected(s),this._checkOutcome()},u.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new o,e=this.length();e>18]+a[128|i>>12&63]+a[128|i>>6&63]+a[128|63&i];else n+=a[224|i>>12]+a[128|i>>6&63]+a[128|63&i];else n+=a[192|i>>6]+a[128|63&i];else n+=a[i];else n+=e.charAt(r)}return n},exports.compact=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){if(this.iframeBlocks)this.iframeBlocks.remove(),delete this.iframeBlocks},_blurActiveElement:function(t){var e=$.ui.safeActiveElement(this.document[0]);if(!$(t.target).closest(e).length)$.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;if(this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),$.ui.ddmanager)$.ui.ddmanager.current=this;if(this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0n[2])u=n[2]+this.offset.click.left;if(t.pageY-this.offset.click.top>n[3])l=n[3]+this.offset.click.top}if(a.grid)i=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=n?i-this.offset.click.top>=n[1]||i-this.offset.click.top>n[3]?i:i-this.offset.click.top>=n[1]?i-a.grid[1]:i+a.grid[1]:i,o=a.grid[0]?this.originalPageX+Math.round((u-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,u=n?o-this.offset.click.left>=n[0]||o-this.offset.click.left>n[2]?o:o-this.offset.click.left>=n[0]?o-a.grid[0]:o+a.grid[0]:o;if("y"===a.axis)u=this.originalPageX;if("x"===a.axis)l=this.originalPageY}return{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:u-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){if(this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]!==this.element[0]&&!this.cancelHelperRemoval)this.helper.remove();if(this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear)this.destroy()},_trigger:function(t,e,n){if(n=n||this._uiHash(),$.ui.plugin.call(this,t,[e,n,this],!0),/^(drag|start|stop)/.test(t))this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs;return $.Widget.prototype._trigger.call(this,t,e,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),$.ui.plugin.add("draggable","connectToSortable",{start:function(e,t,n){var r=$.extend({},t,{item:n.element});n.sortables=[],$(n.options.connectToSortable).each(function(){var t=$(this).sortable("instance");if(t&&!t.options.disabled)n.sortables.push(t),t.refreshPositions(),t._trigger("activate",e,r)})},stop:function(e,t,n){var r=$.extend({},t,{item:n.element});n.cancelHelperRemoval=!1,$.each(n.sortables,function(){var t=this;if(t.isOver)t.isOver=0,n.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper;else t.cancelHelperRemoval=!0,t._trigger("deactivate",e,r)})},drag:function(n,r,i){$.each(i.sortables,function(){var t=!1,e=this;if(e.positionAbs=i.positionAbs,e.helperProportions=i.helperProportions,e.offset.click=i.offset.click,e._intersectsWith(e.containerCache))t=!0,$.each(i.sortables,function(){if(this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==e&&this._intersectsWith(this.containerCache)&&$.contains(e.element[0],this.element[0]))t=!1;return t});if(t){if(!e.isOver)e.isOver=1,i._parent=r.helper.parent(),e.currentItem=r.helper.appendTo(e.element).data("ui-sortable-item",!0),e.options._helper=e.options.helper,e.options.helper=function(){return r.helper[0]},n.target=e.currentItem[0],e._mouseCapture(n,!0),e._mouseStart(n,!0,!0),e.offset.click.top=i.offset.click.top,e.offset.click.left=i.offset.click.left,e.offset.parent.left-=i.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=i.offset.parent.top-e.offset.parent.top,i._trigger("toSortable",n),i.dropped=e.element,$.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,e.fromOutside=i;if(e.currentItem)e._mouseDrag(n),r.position=e.position}else if(e.isOver){if(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger("out",n,e._uiHash(e)),e._mouseStop(n,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder)e.placeholder.remove();r.helper.appendTo(i._parent),i._refreshOffsets(n),r.position=i._generatePosition(n,!0),i._trigger("fromSortable",n),i.dropped=!1,$.each(i.sortables,function(){this.refreshPositions()})}})}}),$.ui.plugin.add("draggable","cursor",{start:function(t,e,n){var r=$("body"),i=n.options;if(r.css("cursor"))i._cursor=r.css("cursor");r.css("cursor",i.cursor)},stop:function(t,e,n){var r=n.options;if(r._cursor)$("body").css("cursor",r._cursor)}}),$.ui.plugin.add("draggable","opacity",{start:function(t,e,n){var r=$(e.helper),i=n.options;if(r.css("opacity"))i._opacity=r.css("opacity");r.css("opacity",i.opacity)},stop:function(t,e,n){var r=n.options;if(r._opacity)$(e.helper).css("opacity",r._opacity)}}),$.ui.plugin.add("draggable","scroll",{start:function(t,e,n){if(!n.scrollParentNotHidden)n.scrollParentNotHidden=n.helper.scrollParent(!1);if(n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName)n.overflowOffset=n.scrollParentNotHidden.offset()},drag:function(t,e,n){var r=n.options,i=!1,o=n.scrollParentNotHidden[0],a=n.document[0];if(o!==a&&"HTML"!==o.tagName){if(!r.axis||"x"!==r.axis)if(n.overflowOffset.top+o.offsetHeight-t.pageY").attr("id",n.containerId).addClass(n.positionClass)).appendTo($(n.target)),v=v;var n;return v}function s(t,e,n){var r=n&&n.force?n.force:!1;if(t&&(r||0===$(":focus",t).length))return t[e.hideMethod]({duration:e.hideDuration,easing:e.hideEasing,complete:function(){x(t)}}),!0;else return!1}function b(t){if(e)e(t)}function u(e){var i=w(),t=e.iconClass||i.iconClass;if(void 0!==e.optionsOverride)i=$.extend(i,e.optionsOverride),t=e.optionsOverride.iconClass||t;if(!function(t,e){if(t.preventDuplicates)if(e.message===m)return!0;else m=e.message;return!1}(i,e)){y++,v=_(i,!0);var o=null,a=$("
    "),n=$("
    "),r=$("
    "),s=$("
    "),u=$(i.closeHtml),l={intervalId:null,hideEta:null,maxHideTime:null},c={toastId:y,state:"visible",startTime:new Date,options:i,map:e};if(function(){if(e.iconClass)a.addClass(i.toastClass).addClass(t)}(),function(){if(e.title){var t=e.title;if(i.escapeHtml)t=f(e.title);n.append(t).addClass(i.titleClass),a.append(n)}}(),function(){if(e.message){var t=e.message;if(i.escapeHtml)t=f(e.message);r.append(t).addClass(i.messageClass),a.append(r)}}(),function(){if(i.closeButton)u.addClass(i.closeClass).attr("role","button"),a.prepend(u)}(),function(){if(i.progressBar)s.addClass(i.progressClass),a.prepend(s)}(),function(){if(i.rtl)a.addClass("rtl")}(),function(){if(i.newestOnTop)v.prepend(a);else v.append(a)}(),function(){var t="";switch(e.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}a.attr("aria-live",t)}(),function(){if(a.hide(),a[i.showMethod]({duration:i.showDuration,easing:i.showEasing,complete:i.onShown}),0/g,">")}function d(t){var e=t&&!1!==i.closeMethod?i.closeMethod:i.hideMethod,n=t&&!1!==i.closeDuration?i.closeDuration:i.hideDuration,r=t&&!1!==i.closeEasing?i.closeEasing:i.hideEasing;if(!$(":focus",a).length||t)return clearTimeout(l.intervalId),a[e]({duration:n,easing:r,complete:function(){if(x(a),clearTimeout(o),i.onHidden&&"hidden"!==c.state)i.onHidden();c.state="hidden",c.endTime=new Date,b(c)}})}function h(){if(0×',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},t.options)}function x(t){if(!v)v=_();if(!t.is(":visible"))if(t.remove(),t=null,0===v.children().length)v.remove(),m=void 0}}()}.apply(exports,n))||(t.exports=r)},ii0bleBb:function(t,exports,e){t.exports=e("jaIgFIJB")(9)},ivGQtwpr:function(t,exports,e){t.exports=e("jaIgFIJB")(0)},"j+ADSPtK":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=a(e("4KF7VOU5")),r=a(e("GZfD0NTG")),i=a(e("QlBQbb2U")),o=function(t){if(t&&t.__esModule)return t;else{var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};if(r.get||r.set)Object.defineProperty(e,n,r);else e[n]=t[n]}return e.default=t,e}}(e("72UfWcJe"));function a(t){return t&&t.__esModule?t:{default:t}}var s=a(e("JBQWIv26")).default.getActions("Notifications"),u=n.default.createStore({listenables:[s],notifications:void 0,promises:{},init:function(){this.list()},getInitialState:function(){if(this.notifications)return this.notifications;else return{}},list:function(){var t=this,e=r.default.qualifyUrl(i.default.NotificationsApiController.list().url),n=this.promises.list||(0,o.fetchPeriodically)("GET",e).finally(function(){return delete t.promises.list});this.promises.list=n,s.list.promise(n)},listCompleted:function(t){this.notifications=t,this.trigger(t)},delete:function(t){var e=r.default.qualifyUrl(i.default.NotificationsApiController.delete(t).url),n=(0,o.default)("DELETE",e);s.delete.promise(n)},deleteCompleted:function(){this.list()}});exports.default=u,t.exports=exports.default},jXmgUcYu:function(e,exports){(function(t){e.exports=t}).call(this,{})},jaIgFIJB:function(t,exports){t.exports=__vendor},jelr2954:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=u(e("4KF7VOU5")),i=u(e("GZfD0NTG")),o=u(e("72UfWcJe")),a=u(e("8GJ6oOEd")),r=u(e("1VnJesae")),s=u(e("JBQWIv26"));function u(t){return t&&t.__esModule?t:{default:t}}var l=r.default.getStore("InputStaticFields"),c=s.default.getActions("Inputs"),f=n.default.createStore({listenables:[c],sourceUrl:"/system/inputs",inputs:void 0,input:void 0,init:function(){this.trigger({inputs:this.inputs,input:this.input}),this.listenTo(l,this.list)},list:function(){var e=this,t=(0,o.default)("GET",i.default.qualifyUrl(this.sourceUrl));t.then(function(t){return e.inputs=t.inputs,e.trigger({inputs:e.inputs}),e.inputs},function(t){a.default.error("Fetching Inputs failed with status: ".concat(t),"Could not retrieve Inputs")}),c.list.promise(t)},get:function(t){return this.getOptional(t,!0)},getOptional:function(e,n){var r=this,t=(0,o.default)("GET",i.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(e)));t.then(function(t){return r.input=t,r.trigger({input:r.input}),r.input},function(t){if(n)a.default.error("Fetching input ".concat(e," failed with status: ").concat(t),"Could not retrieve input");else r.trigger({input:{}})}),c.get.promise(t)},create:function(e){var t=(0,o.default)("POST",i.default.qualifyUrl(this.sourceUrl),e);t.then(function(){a.default.success("Input '".concat(e.title,"' launched successfully")),c.list()},function(t){a.default.error("Launching input '".concat(e.title,"' failed with status: ").concat(t),"Could not launch input")}),c.create.promise(t)},delete:function(t){var e=t.id,n=t.title,r=(0,o.default)("DELETE",i.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(e)));r.then(function(){a.default.success("Input '".concat(n,"' deleted successfully")),c.list()},function(t){a.default.error("Deleting input '".concat(n,"' failed with status: ").concat(t),"Could not delete input")}),c.delete.promise(r)},update:function(t,e){var n=(0,o.default)("PUT",i.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(t)),e);n.then(function(){a.default.success("Input '".concat(e.title,"' updated successfully")),c.list()},function(t){a.default.error("Updating input '".concat(e.title,"' failed with status: ").concat(t),"Could not update input")}),c.update.promise(n)}});f.inputsAsMap=function(t){var e={};return t.forEach(function(t){e[t.id]=t}),e};var d=f;exports.default=d,t.exports=exports.default},jhd7wna9:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=i(e("4KF7VOU5")),o=i(e("8GJ6oOEd")),r=i(e("GZfD0NTG")),a=i(e("72UfWcJe"));function i(t){return t&&t.__esModule?t:{default:t}}var s=i(e("JBQWIv26")).default.getActions("LookupTableCaches"),u=n.default.createStore({listenables:[s],init:function(){this.pagination={page:1,per_page:10,total:0,count:0,query:null}},getInitialState:function(){return{caches:void 0,pagination:this.pagination,validationErrors:{}}},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return s.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r,i=this;if(n)r=this._url("caches?page=".concat(t,"&per_page=").concat(e,"&query=").concat(encodeURIComponent(n)));else r=this._url("caches?page=".concat(t,"&per_page=").concat(e));var o=(0,a.default)("GET",r);return o.then(function(t){i.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},i.trigger({pagination:i.pagination,caches:t.caches})},this._errorHandler("Fetching lookup table caches failed","Could not retrieve the lookup caches")),s.searchPaginated.promise(o),o},get:function(t){var e=this,n=this._url("caches/".concat(t)),r=(0,a.default)("GET",n);return r.then(function(t){e.trigger({cache:t})},this._errorHandler("Fetching lookup table cache ".concat(t," failed"),"Could not retrieve lookup table cache")),s.get.promise(r),r},create:function(t){var e=this,n=this._url("caches"),r=(0,a.default)("POST",n,t);return r.then(function(t){e.trigger({cache:t})},this._errorHandler("Creating lookup table cache failed",'Could not create lookup table cache "'.concat(t.name,'"'))),s.create.promise(r),r},update:function(t){var e=this,n=this._url("caches/".concat(t.id)),r=(0,a.default)("PUT",n,t);return r.then(function(t){e.trigger({cache:t})},this._errorHandler("Updating lookup table cache failed",'Could not update lookup table cache "'.concat(t.name,'"'))),s.update.promise(r),r},getTypes:function(){var e=this,t=this._url("types/caches"),n=(0,a.default)("GET",t);return n.then(function(t){e.trigger({types:t})},this._errorHandler("Fetching available types failed","Could not fetch the available lookup table cache types")),s.getTypes.promise(n),n},delete:function(t){var e=this._url("caches/".concat(t)),n=(0,a.default)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table cache failed",'Could not delete lookup table cache "'.concat(t,'"'))),s.delete.promise(n),n},validate:function(t){var e=this,n=this._url("caches/validate"),r=(0,a.default)("POST",n,t);return r.then(function(t){e.trigger({validationErrors:t.errors})},this._errorHandler("Lookup table cache validation failed",'Could not validate lookup table cache "'.concat(t.name,'"'))),s.validate.promise(r),r},_errorHandler:function(t,r,i){return function(e){var n;try{n=e.additional.body.message}catch(t){n=e.message}if(o.default.error("".concat(t,": ").concat(n),r),i)i(e)}},_url:function(t){return r.default.qualifyUrl("/system/lookup/".concat(t))}});exports.default=u,t.exports=exports.default},jq1egyWr:function(t,exports,e){"use strict";var r=e("VPaD/Np4"),n=e("W+sNG9T1"),a=e("pjsNBHWI"),i=e("GZfD0NTG"),o=(e("2gEPIf6i"),e("+CppQpVm")),u=e("QDVhqBhn"),s=new(function(){function s(){var t=this;this.load(!0),window.addEventListener("resize",function(){return t.width=window.innerWidth})}return s.prototype.load=function(t){var e=r.Map(i.getParsedSearch(window.location));if(this.originalSearch=s._initializeOriginalSearch(e),t)this.query=this.originalSearch.get("query"),this.rangeType=this.originalSearch.get("rangeType"),this.rangeParams=this.originalSearch.get("rangeParams"),this.page=this.originalSearch.get("page"),this.resolution=this.originalSearch.get("resolution"),this.highlightMessage=this.originalSearch.get("highlightMessage");else this._query=this.originalSearch.get("query"),this._rangeType=this.originalSearch.get("rangeType"),this._rangeParams=this.originalSearch.get("rangeParams"),this._page=this.originalSearch.get("page"),this._resolution=this.originalSearch.get("resolution"),this._highlightMessage=this.originalSearch.get("highlightMessage");this.savedSearch=this.originalSearch.get("saved"),this.sortField=this.originalSearch.get("sortField"),this.sortOrder=this.originalSearch.get("sortOrder"),this.width=window.innerWidth},s.prototype.unload=function(){var t=this;window.removeEventListener("resize",function(){return t.width=window.innerWidth})},s.prototype.initializeFieldsFromHash=function(){var t=r.Map(i.getParsedSearch(window.location)),e=r.Map(i.getParsedHash(window.location)).get("fields"),n=t.get("fields");if(void 0===e)if(void 0===n)this.fields=r.Set(["message","source"]);else this.fields=r.Set(n.split(","));else this.fields=r.Set(e.split(","))},Object.defineProperty(s.prototype,"query",{get:function(){return this._query},set:function(t){if(this._query=t,void 0!==this.onParamsChanged)this.onParamsChanged(this.getParams())},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"originalQuery",{get:function(){var t=this.originalSearch.get("query");return 0/g," "),this.isPhrase(e))e='"'+(e=String(e).replace(/(\"|\\)/g,"\\$&"))+'"';else e=String(e).replace(/(&&|\|\||[\:\\\/\+\-\!\(\)\{\}\[\]\^\"\~\*\?])/g,"\\$&");return e},s.prototype.queryContainsTerm=function(t,e){return-1!=t.indexOf(e)},s.prototype.addQueryTerm=function(t,e,n){if(this.queryContainsTerm(t,e))return t;var r="";if(void 0!==n&&""!==t&&"*"!==t)r=t+" "+n+" ";return r+=e},s.prototype.getParams=function(){return{query:this.query,rangeType:this.rangeType,rangeParams:this.rangeParams}},s.prototype.getOriginalSearchParams=function(){var t=r.Map();if(t=(t=(t=(t=t.set("range_type",this.originalSearch.get("rangeType"))).merge(this.originalSearch.get("rangeParams"))).set("query",this.originalSearch.get("query"))).set("interval",this.originalSearch.get("resolution")),this.searchInStream)t=t.set("streamId",this.searchInStream.id);return t},s.prototype.getOriginalSearchParamsWithFields=function(){var t=this.getOriginalSearchParams();return t=t.set("fields",this.fields.join(","))},s.prototype.getOriginalSearchURLParams=function(){var t=r.Map();if(t=(t=(t=(t=(t=(t=(t=(t=t.set("rangetype",this.originalSearch.get("rangeType"))).merge(this.originalSearch.get("rangeParams"))).set("q",this.originalSearch.get("query"))).set("interval",this.originalSearch.get("resolution"))).set("page",this.originalSearch.get("page"))).set("fields",this.fields?this.fields.join(","):"")).set("sortField",this.originalSearch.get("sortField"))).set("sortOrder",this.originalSearch.get("sortOrder")),this.originalSearch.has("saved"))t=t.set("saved",this.originalSearch.get("saved"));return t},s.prototype.searchBaseLocation=function(t){var e;if(this.searchInStream)e=n.stream_search(this.searchInStream.id);else e=n.SEARCH;return e},s.prototype._reloadSearchWithNewParam=function(t,e){var n=this.getOriginalSearchURLParams();n=(n=n.set("width",this.width)).set(t,e),this.executeSearch(this.searchBaseLocation("index")+"?"+a.stringify(n.toJS()))},s.prototype._reloadSearchWithNewParams=function(t){var e=this.getOriginalSearchURLParams();e=(e=e.set("width",this.width)).merge(t),this.executeSearch(this.searchBaseLocation("index")+"?"+a.stringify(e.toJS()))},s.prototype.executeSearch=function(t){o.push(t)},s.prototype.searchSurroundingMessages=function(t,e,n,r){var i=this.getOriginalSearchParamsWithFields().toJS(),o={rangetype:"absolute",from:e,to:n,q:Object.keys(r).filter(function(t){return r[t]}).map(function(t){return t+':"'+s.escape(r[t])+'"'}).join(" AND "),highlightMessage:t,fields:i.fields};return this.searchBaseLocation("index")+"?"+a.stringify(o)},s.NOT_OPERATOR="NOT",s.OR_OPERATOR="OR",s.AND_OPERATOR="AND",s}());t.exports=s},jsXbfUoq:function(t,exports){for(var i=[],e=0;e<256;++e)i[e]=(e+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0,r=i;return r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+"-"+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]+r[t[n++]]}},"kHC6R5+Z":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({list:{asyncResult:!0},connectToStream:{asyncResult:!0},connectToPipeline:{asyncResult:!0}});exports.default=r,t.exports=exports.default},keedmmMh:function(t,exports,e){"use strict";var o=e("8GJ6oOEd"),a=e("GZfD0NTG"),s=e("QlBQbb2U"),u=e("72UfWcJe").default,n=e("nHcjWeCO"),l=e("21p8kIWv").get("CurrentUser").CurrentUserStore,r=new(function(){function t(){this.callbacks=[]}return t.prototype.listStreams=function(){return u("GET",a.qualifyUrl("/streams")).then(function(t){return t.streams}).catch(function(t){o.error("Loading streams failed with status: "+t,"Could not load streams")})},t.prototype.load=function(e){this.listStreams().then(function(t){e(t)})},t.prototype.get=function(t,e){var n=s.StreamsApiController.get(t).url;u("GET",a.qualifyUrl(n)).then(e,function(t){o.error("Loading Stream failed with status: "+t,"Could not retrieve Stream")})},t.prototype.remove=function(t,e){var n=this,r=a.qualifyUrl(s.StreamsApiController.delete(t).url);u("DELETE",r).then(e,function(t){o.error("Removing Stream failed with status: "+t,"Could not remove Stream")}).then(function(){return l.reload().then(n._emitChange.bind(n))})},t.prototype.pause=function(t,e){var n=this,r=a.qualifyUrl(s.StreamsApiController.pause(t).url);return u("POST",r).then(e,function(t){o.error("Pausing Stream failed with status: "+t,"Could not pause Stream")}).then(function(t){return n._emitChange(),t})},t.prototype.resume=function(t,e){var n=this,r=a.qualifyUrl(s.StreamsApiController.resume(t).url);return u("POST",r).then(e,function(t){o.error("Resuming Stream failed with status: "+t,"Could not resume Stream")}).then(function(t){return n._emitChange(),t})},t.prototype.save=function(t,e){var n=this,r=a.qualifyUrl(s.StreamsApiController.create().url);u("POST",r,t).then(e,function(t){o.error("Saving Stream failed with status: "+t,"Could not save Stream")}).then(function(){return l.reload().then(n._emitChange.bind(n))})},t.prototype.update=function(t,e,n){var r=a.qualifyUrl(s.StreamsApiController.update(t).url);u("PUT",r,e).then(n,function(t){o.error("Updating Stream failed with status: "+t,"Could not update Stream")}).then(this._emitChange.bind(this))},t.prototype.cloneStream=function(t,e,n){var r=this,i=a.qualifyUrl(s.StreamsApiController.cloneStream(t).url);u("POST",i,e).then(n,function(t){o.error("Cloning Stream failed with status: "+t,"Could not clone Stream")}).then(function(){return l.reload().then(r._emitChange.bind(r))})},t.prototype.removeOutput=function(t,e,n){var r=a.qualifyUrl(s.StreamOutputsApiController.delete(t,e).url);u("DELETE",r).then(n,function(t){o.error("Removing output from stream failed with status: "+t,"Could not remove output from stream")}).then(this._emitChange.bind(this))},t.prototype.addOutput=function(t,e,n){var r=a.qualifyUrl(s.StreamOutputsApiController.add(t,e).url);u("POST",r,{outputs:[e]}).then(n,function(t){o.error("Adding output to stream failed with status: "+t,"Could not add output to stream")}).then(this._emitChange.bind(this))},t.prototype.testMatch=function(t,e,n){var r=a.qualifyUrl(s.StreamsApiController.testMatch(t).url);u("POST",r,e).then(n,function(t){o.error("Testing stream rules of stream failed with status: "+t.message,"Could not test stream rules of stream")})},t.prototype.onChange=function(t){this.callbacks.push(t)},t.prototype._emitChange=function(){this.callbacks.forEach(function(t){return t()})},t.prototype.unregister=function(t){n.pull(this.callbacks,t)},t}());t.exports=r},ktz8mRoG:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),i=r(e("GZfD0NTG")),o=r(e("QlBQbb2U")),a=r(e("72UfWcJe"));function r(t){return t&&t.__esModule?t:{default:t}}var s=r(e("JBQWIv26")).default.getActions("Decorators"),u=n.default.createStore({listenables:[s],state:{},getInitialState:function(){return this.state},init:function(){s.available(),s.list()},list:function(){var e=this,t=i.default.qualifyUrl(o.default.DecoratorsResource.get().url),n=(0,a.default)("GET",t);return n.then(function(t){e.trigger({decorators:t}),e.state.decorators=t}),s.list.promise(n),n},available:function(){var e=this,t=i.default.qualifyUrl(o.default.DecoratorsResource.available().url),n=(0,a.default)("GET",t);return n.then(function(t){e.trigger({types:t}),e.state.types=t}),s.available.promise(n),n},create:function(t){var e=i.default.qualifyUrl(o.default.DecoratorsResource.create().url),n=(0,a.default)("POST",e,t);return s.create.promise(n),n},createCompleted:function(){s.list()},remove:function(t){var e=i.default.qualifyUrl(o.default.DecoratorsResource.remove(t).url),n=(0,a.default)("DELETE",e);return s.remove.promise(n),n},removeCompleted:function(){s.list()},update:function(t,e){var n=i.default.qualifyUrl(o.default.DecoratorsResource.update(t).url),r=(0,a.default)("PUT",n,e);return s.update.promise(r),r},updateCompleted:function(){s.list()}});exports.default=u,t.exports=exports.default},kyigJ3Cw:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),i=r(e("GZfD0NTG")),o=r(e("8GJ6oOEd")),a=r(e("72UfWcJe"));function r(t){return t&&t.__esModule?t:{default:t}}var s=r(e("JBQWIv26")).default.getActions("LdapGroups"),u=n.default.createStore({listenables:[s],sourceUrl:"/system/ldap",groups:void 0,mapping:void 0,getInitialState:function(){return{groups:this.groups,mapping:this.mapping}},loadGroups:function(){var e=this,t=i.default.qualifyUrl("".concat(this.sourceUrl,"/groups")),n=(0,a.default)("GET",t);n.then(function(t){e.groups=t,e.trigger({groups:e.groups})},function(t){if(400!==t.additional.status)o.default.error("Loading LDAP group list failed with status: ".concat(t),"Could not load LDAP group list")}),s.loadGroups.promise(n)},loadMapping:function(){var e=this,t=i.default.qualifyUrl("".concat(this.sourceUrl,"/settings/groups")),n=(0,a.default)("GET",t);n.then(function(t){e.mapping=t,e.trigger({mapping:e.mapping})},function(t){o.default.error("Loading LDAP group mapping failed with status: ".concat(t),"Could not load LDAP group mapping")}),s.loadMapping.promise(n)},saveMapping:function(t){var e=this,n=i.default.qualifyUrl("".concat(this.sourceUrl,"/settings/groups")),r=(0,a.default)("PUT",n,t);r.then(function(){e.loadMapping(),o.default.success("LDAP group mapping successfully updated.")},function(t){o.default.error("Updating LDAP group mapping failed with status: ".concat(t),"Could not update LDAP group mapping")}),s.saveMapping.promise(r)}});exports.default=u,t.exports=exports.default},l1Orqn78:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n={FILTERED_FIELDS:["_id","_ttl","_source","_all","_index","_type","_score","gl2_source_node","gl2_source_input","gl2_source_collector","gl2_source_collector_input","gl2_remote_ip","gl2_remote_port","gl2_remote_hostname","streams","gl2_source_radio","gl2_source_radio_input"],filterFields:function(e){var n=this,r={};return Object.keys(e).forEach(function(t){if(n.FILTERED_FIELDS.indexOf(t)<0)r[t]=e[t]}),r}};exports.default=n,t.exports=exports.default},"lhJz+pY1":function(t,exports){function e(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach(function(t){e.prototype[t]=function(){return this._defaults.push({fn:t,arguments:arguments}),this}}),e.prototype._setDefaults=function(e){this._defaults.forEach(function(t){e[t.fn].apply(e,t.arguments)})},t.exports=e},lotYfEOB:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({load:{asyncResult:!0},update:{asyncResult:!0}});exports.default=r,t.exports=exports.default},"mMRe/5UB":function(t,exports,e){"use strict";var $=e("gCzbTwtZ"),n=e("8GJ6oOEd"),r=e("GZfD0NTG"),a=e("H1SnJhgx"),i=e("72UfWcJe").default,o={SOURCES_URL:"/sources",loadSources:function(t,o){var e=r.qualifyUrl(this.SOURCES_URL);if(void 0!==t)e+="?range="+t;i("GET",e).then(function(t){var e,n,r,i=(e=t.sources,n=0,r=[],$.each(e,function(t,e){n+=Number(e),r.push({name:a.escapeHTML(t),message_count:e})}),r.forEach(function(t){t.percentage=t.message_count/n*100}),r);o(i)}).catch(function(t){n.error("Loading of sources data failed with status: "+t+". Try reloading the page.","Could not load sources data")})}};t.exports=o},mbAtyfs4:function(t,exports,e){"use strict";t.exports=function(t){return null!==t&&"object"==typeof t}},mlLZmLl3:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n={gl2ServerUrl:function(){if("undefined"!=typeof GRAYLOG_HTTP_PUBLISH_URI)return GRAYLOG_HTTP_PUBLISH_URI;else return this.appConfig().gl2ServerUrl},gl2AppPathPrefix:function(){return this.appConfig().gl2AppPathPrefix},gl2DevMode:function(){return"undefined"!=typeof DEVELOPMENT&&DEVELOPMENT},rootTimeZone:function(){return this.appConfig().rootTimeZone},appConfig:function(){return window.appConfig||{}}};exports.default=n,t.exports=exports.default},mpNbWoWl:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),v=r(e("oCSEoDew")),m=r(e("GZfD0NTG")),y=r(e("8GJ6oOEd")),_=function(t){if(t&&t.__esModule)return t;else{var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};if(r.get||r.set)Object.defineProperty(e,n,r);else e[n]=t[n]}return e.default=t,e}}(e("72UfWcJe"));function r(t){return t&&t.__esModule?t:{default:t}}var b=r(e("21p8kIWv")).default.get("Sidecars").SidecarsActions,i=n.default.createStore({listenables:[b],sourceUrl:"/sidecars",sidecars:void 0,onlyActive:void 0,pagination:{count:void 0,page:void 0,pageSize:void 0,total:void 0},query:void 0,sort:{field:void 0,order:void 0},init:function(){this.propagateChanges()},propagateChanges:function(){this.trigger({sidecars:this.sidecars,query:this.query,onlyActive:this.onlyActive,pagination:this.pagination,sort:this.sort})},listPaginated:function(t){var e=this,n=t.query,r=void 0===n?"":n,i=t.page,o=void 0===i?1:i,a=t.pageSize,s=void 0===a?50:a,u=t.onlyActive,l=void 0===u?!1:u,c=t.sortField,f=void 0===c?"node_name":c,d=t.order,h={query:r,page:o,per_page:s,only_active:l,sort:f,order:void 0===d?"asc":d},p=(0,v.default)(this.sourceUrl).search(h).toString(),g=(0,_.fetchPeriodically)("GET",m.default.qualifyUrl(p));g.then(function(t){return e.sidecars=t.sidecars,e.query=t.query,e.onlyActive=t.only_active,e.pagination={total:t.pagination.total,count:t.pagination.count,page:t.pagination.page,pageSize:t.pagination.per_page},e.sort={field:t.sort,order:t.order},e.propagateChanges(),t},function(t){y.default.error(400===t.status?t.responseMessage:"Fetching Sidecars failed with status: ".concat(t.message),"Could not retrieve Sidecars")}),b.listPaginated.promise(g)},getSidecar:function(n){var t=(0,_.fetchPeriodically)("GET",m.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(n)));t.catch(function(t){var e="Fetching Sidecar failed with status: ".concat(t);if(404===t.status)e="Unable to find a sidecar with ID <".concat(n,">, maybe it was inactive for too long.");y.default.error(e,"Could not retrieve Sidecar")}),b.getSidecar.promise(t)},restartCollector:function(t,e){var n={};n.collector=e,n.properties={},n.properties.restart=!0;var r=(0,_.default)("PUT",m.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(t,"/action")),[n]);r.catch(function(t){y.default.error("Restarting Sidecar failed with status: ".concat(t),"Could not restart Sidecar")}),b.restartCollector.promise(r)},getSidecarActions:function(t){var e=(0,_.fetchPeriodically)("GET",m.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(t,"/action")));e.catch(function(t){y.default.error("Fetching Sidecar actions failed with status: ".concat(t),"Could not retrieve Sidecar actions")}),b.getSidecarActions.promise(e)},toConfigurationAssignmentDto:function(t,e,n){return{node_id:t,collector_id:e,configuration_id:n}},assignConfigurations:function(e,i){var t=e.map(function(t){var e=t.sidecar,n=t.collector,r=e.assignments.filter(function(t){return t.collector_id!==n.id});return i.forEach(function(t){r.push({collector_id:n.id,configuration_id:t.id})}),{node_id:e.node_id,assignments:r}}),n=(0,_.default)("PUT",m.default.qualifyUrl("".concat(this.sourceUrl,"/configurations")),{nodes:t});n.then(function(t){return y.default.success("","Configuration change for ".concat(e.length," collectors requested")),t},function(t){y.default.error("Fetching Sidecar actions failed with status: ".concat(t),"Could not retrieve Sidecar actions")}),b.assignConfigurations.promise(n)}});exports.default=i,t.exports=exports.default},n0MLhWIl:function(t,exports){var e="undefined"!=typeof crypto&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&msCrypto.getRandomValues.bind(msCrypto);if(e){var n=new Uint8Array(16);t.exports=function(){return e(n),n}}else{var r=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++){if(0==(3&e))t=4294967296*Math.random();r[e]=t>>>((3&e)<<3)&255}return r}}},"nAgQ+QaO":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=s(e("4KF7VOU5")),r=s(e("oCSEoDew")),i=s(e("nHcjWeCO")),o=s(e("GZfD0NTG")),a=s(e("72UfWcJe")),l=s(e("8GJ6oOEd"));function s(t){return t&&t.__esModule?t:{default:t}}var c=s(e("21p8kIWv")).default.get("Collectors").CollectorsActions,u=n.default.createStore({listenables:[c],sourceUrl:"/sidecar",collectors:void 0,query:void 0,pagination:{page:void 0,pageSize:void 0,total:void 0},total:void 0,paginatedCollectors:void 0,getInitialState:function(){return{collectors:this.collectors}},propagateChanges:function(){this.trigger({collectors:this.collectors,paginatedCollectors:this.paginatedCollectors,query:this.query,total:this.total,pagination:this.pagination})},getCollector:function(n){var t=(0,a.default)("GET",o.default.qualifyUrl("".concat(this.sourceUrl,"/collectors/").concat(n)));t.catch(function(t){var e="Fetching Collector failed with status: ".concat(t);if(404===t.status)e="Unable to find a collector with ID <".concat(n,">, please ensure it was not deleted.");l.default.error(e,"Could not retrieve Collector")}),c.getCollector.promise(t)},_fetchCollectors:function(t){var e={query:t.query,page:t.page,per_page:t.pageSize},n=(0,r.default)("".concat(this.sourceUrl,"/collectors/summary")).search(e).toString();return(0,a.default)("GET",o.default.qualifyUrl(n))},all:function(){var e=this,t=this._fetchCollectors({pageSize:0});t.then(function(t){return e.collectors=t.collectors,e.propagateChanges(),t.collectors},function(t){l.default.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")}),c.all.promise(t)},list:function(t){var e=this,n=t.query,r=void 0===n?"":n,i=t.page,o=void 0===i?1:i,a=t.pageSize,s=void 0===a?10:a,u=this._fetchCollectors({query:r,page:o,pageSize:s});u.then(function(t){return e.query=t.query,e.pagination={page:t.pagination.page,pageSize:t.pagination.per_page,total:t.pagination.total},e.total=t.total,e.paginatedCollectors=t.collectors,e.propagateChanges(),t.collectors},function(t){l.default.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")}),c.list.promise(u)},refreshList:function(){this.list({query:this.query,page:this.pagination.page,pageSize:this.pagination.pageSize})},create:function(t){var e=this,n=(0,a.default)("POST",o.default.qualifyUrl("".concat(this.sourceUrl,"/collectors")),t);n.then(function(t){return l.default.success("","Collector successfully created"),e.collectors=t.collectors,e.propagateChanges(),e.collectors},function(t){l.default.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")}),c.create.promise(n)},update:function(t){var e=this,n=(0,a.default)("PUT",o.default.qualifyUrl("".concat(this.sourceUrl,"/collectors/").concat(t.id)),t);n.then(function(t){return l.default.success("","Collector successfully updated"),e.collectors=t.collectors,e.propagateChanges(),e.collectors},function(t){l.default.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")}),c.update.promise(n)},delete:function(e){var n=this,t=o.default.qualifyUrl("".concat(this.sourceUrl,"/collectors/").concat(e.id)),r=(0,a.default)("DELETE",t);r.then(function(t){return l.default.success("",'Collector "'.concat(e.name,'" successfully deleted')),n.refreshList(),t},function(t){l.default.error("Deleting Collector failed: ".concat(400===t.status?t.responseMessage:t.message),'Could not delete Collector "'.concat(e.name,'"'))}),c.delete.promise(r)},copy:function(t,e){var n=this,r=o.default.qualifyUrl("".concat(this.sourceUrl,"/collectors/").concat(t,"/").concat(e)),i=(0,a.default)("POST",r);i.then(function(t){return l.default.success("",'Collector "'.concat(e,'" successfully copied')),n.refreshList(),t},function(t){l.default.error('Saving collector "'.concat(e,'" failed with status: ').concat(t.message),"Could not save Collector")}),c.copy.promise(i)},validate:function(t){var e={id:" ",service_type:"exec",executable_path:" ",default_template:" "};i.default.merge(e,t);var n=(0,a.default)("POST",o.default.qualifyUrl("".concat(this.sourceUrl,"/collectors/validate")),e);n.then(function(t){return t},function(t){return l.default.error('Validating collector "'.concat(e.name,'" failed with status: ').concat(t.message),"Could not validate collector")}),c.validate.promise(n)}});exports.default=u,t.exports=exports.default},nBZE8bEY:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),i=r(e("GZfD0NTG")),o=r(e("72UfWcJe")),a=r(e("8GJ6oOEd"));function r(t){return t&&t.__esModule?t:{default:t}}var s=r(e("JBQWIv26")).default.getActions("Configuration"),u=n.default.createStore({listenables:[s],configuration:{},_url:function(t){return i.default.qualifyUrl("/system/cluster_config"+t)},list:function(e){var n=this,t=(0,o.default)("GET",this._url("/".concat(e)));t.then(function(t){return n.configuration[e]=t,n.trigger({configuration:n.configuration}),t}),s.list.promise(t)},listSearchesClusterConfig:function(){var e=this,t=(0,o.default)("GET",this._url("/org.graylog2.indexer.searches.SearchesClusterConfig")).then(function(t){return e.trigger({searchesClusterConfig:t}),t});s.listSearchesClusterConfig.promise(t)},listMessageProcessorsConfig:function(e){var n=this,t=(0,o.default)("GET",i.default.qualifyUrl("/system/messageprocessors/config")).then(function(t){return n.configuration[e]=t,n.trigger({configuration:n.configuration}),t});s.listMessageProcessorsConfig.promise(t)},update:function(e,t){var n=this,r=(0,o.default)("PUT",this._url("/".concat(e)),t);r.then(function(t){return n.configuration[e]=t,n.trigger({configuration:n.configuration}),a.default.success("Configuration updated successfully"),t},function(t){a.default.error("Search config update failed: ".concat(t),"Could not update search config: ".concat(e))}),s.update.promise(r)},updateMessageProcessorsConfig:function(e,t){var n=this,r=(0,o.default)("PUT",i.default.qualifyUrl("/system/messageprocessors/config"),t);r.then(function(t){return n.configuration[e]=t,n.trigger({configuration:n.configuration}),a.default.success("Configuration updated successfully"),t},function(t){a.default.error("Message processors config update failed: ".concat(t),"Could not update config: ".concat(e))}),s.updateMessageProcessorsConfig.promise(r)}});exports.default=u,t.exports=exports.default},nHcjWeCO:function(t,exports,z){(function(L,G){var q; /** * @license * Lodash * Copyright JS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var na,ra="Expected a function",ia="__lodash_hash_undefined__",oa="__lodash_placeholder__",aa=9007199254740991,sa=NaN,ua=4294967295,la=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],ca="[object Arguments]",fa="[object Array]",da="[object Boolean]",ha="[object Date]",pa="[object Error]",ga="[object Function]",va="[object GeneratorFunction]",ma="[object Map]",ya="[object Number]",_a="[object Object]",ba="[object Promise]",wa="[object RegExp]",xa="[object Set]",Sa="[object String]",Ca="[object Symbol]",ka="[object WeakMap]",Aa="[object ArrayBuffer]",Ea="[object DataView]",Ta="[object Float32Array]",Ma="[object Float64Array]",Oa="[object Int8Array]",Pa="[object Int16Array]",Ra="[object Int32Array]",Ua="[object Uint8Array]",Da="[object Uint8ClampedArray]",Ia="[object Uint16Array]",ja="[object Uint32Array]",Fa=/\b__p \+= '';/g,Na=/\b(__p \+=) '' \+/g,La=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ga=/&(?:amp|lt|gt|quot|#39);/g,qa=/[&<>"']/g,za=RegExp(Ga.source),Ba=RegExp(qa.source),Ha=/<%-([\s\S]+?)%>/g,Va=/<%([\s\S]+?)%>/g,Wa=/<%=([\s\S]+?)%>/g,Qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ja=/^\w*$/,Ya=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ka=/[\\^$.*+?()[\]{}|]/g,Za=RegExp(Ka.source),Xa=/^\s+|\s+$/g,$a=/^\s+/,ts=/\s+$/,es=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ns=/\{\n\/\* \[wrapped with (.+)\] \*/,rs=/,? & /,is=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,os=/\\(\\)?/g,as=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ss=/\w*$/,us=/^[-+]0x[0-9a-f]+$/i,ls=/^0b[01]+$/i,cs=/^\[object .+?Constructor\]$/,fs=/^0o[0-7]+$/i,ds=/^(?:0|[1-9]\d*)$/,hs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ps=/($^)/,gs=/['\n\r\u2028\u2029\\]/g,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\ufe0e\\ufe0f",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="["+t+"]",u="["+a+"]",l="["+e+"]",c="\\d+",f="["+n+"]",d="["+r+"]",h="[^"+t+a+c+n+r+i+"]",p="\\ud83c[\\udffb-\\udfff]",g="[^"+t+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",y="["+i+"]",_="(?:"+d+"|"+h+")",b="(?:"+y+"|"+h+")",w="(?:['’](?:d|ll|m|re|s|t|ve))?",x="(?:['’](?:D|LL|M|RE|S|T|VE))?",S="(?:"+l+"|"+p+")"+"?",C="["+o+"]?",k=C+S+("(?:\\u200d(?:"+[g,v,m].join("|")+")"+C+S+")*"),A="(?:"+[f,v,m].join("|")+")"+k,E="(?:"+[g+l+"?",l,v,m,s].join("|")+")",vs=RegExp("['’]","g"),ms=RegExp(l,"g"),T=RegExp(p+"(?="+p+")|"+E+k,"g"),ys=RegExp([y+"?"+d+"+"+w+"(?="+[u,y,"$"].join("|")+")",b+"+"+x+"(?="+[u,y+_,"$"].join("|")+")",y+"?"+_+"+"+w,y+"+"+x,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",c,A].join("|"),"g"),M=RegExp("[\\u200d"+t+e+o+"]"),_s=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ws=-1,xs={};xs[Ta]=xs[Ma]=xs[Oa]=xs[Pa]=xs[Ra]=xs[Ua]=xs[Da]=xs[Ia]=xs[ja]=!0,xs[ca]=xs[fa]=xs[Aa]=xs[da]=xs[Ea]=xs[ha]=xs[pa]=xs[ga]=xs[ma]=xs[ya]=xs[_a]=xs[wa]=xs[xa]=xs[Sa]=xs[ka]=!1;var Ss={};Ss[ca]=Ss[fa]=Ss[Aa]=Ss[Ea]=Ss[da]=Ss[ha]=Ss[Ta]=Ss[Ma]=Ss[Oa]=Ss[Pa]=Ss[Ra]=Ss[ma]=Ss[ya]=Ss[_a]=Ss[wa]=Ss[xa]=Ss[Sa]=Ss[Ca]=Ss[Ua]=Ss[Da]=Ss[Ia]=Ss[ja]=!0,Ss[pa]=Ss[ga]=Ss[ka]=!1;var O={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cs=parseFloat,ks=parseInt,P="object"==typeof L&&L&&L.Object===Object&&L,R="object"==typeof self&&self&&self.Object===Object&&self,As=P||R||Function("return this")(),U=exports&&!exports.nodeType&&exports,D=U&&"object"==typeof G&&G&&!G.nodeType&&G,Es=D&&D.exports===U,I=Es&&P.process,j=function(){try{return I&&I.binding&&I.binding("util")}catch(t){}}(),Ts=j&&j.isArrayBuffer,Ms=j&&j.isDate,Os=j&&j.isMap,Ps=j&&j.isRegExp,Rs=j&&j.isSet,Us=j&&j.isTypedArray;function Ds(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)}function Is(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i":">",'"':""","'":"'"});function cu(t){return"\\"+O[t]}function fu(t){return M.test(t)}function du(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}function hu(e,n){return function(t){return e(n(t))}}function pu(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var bu=function t(e){var n,T=(e=null==e?As:bu.defaults(As.Object(),e,bu.pick(As,bs))).Array,r=e.Date,i=e.Error,v=e.Function,o=e.Math,w=e.Object,m=e.RegExp,c=e.String,M=e.TypeError,a=T.prototype,s=v.prototype,f=w.prototype,u=e["__core-js_shared__"],l=s.toString,x=f.hasOwnProperty,d=0,h=(n=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",p=f.toString,g=l.call(w),y=As._,_=m("^"+l.call(x).replace(Ka,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=Es?e.Buffer:na,S=e.Symbol,C=e.Uint8Array,k=b?b.allocUnsafe:na,A=hu(w.getPrototypeOf,w),E=w.create,O=f.propertyIsEnumerable,P=a.splice,R=S?S.isConcatSpreadable:na,U=S?S.iterator:na,D=S?S.toStringTag:na,I=function(){try{var t=qn(w,"defineProperty");return t({},"",{}),t}catch(t){}}(),j=e.clearTimeout!==As.clearTimeout&&e.clearTimeout,F=r&&r.now!==As.Date.now&&r.now,N=e.setTimeout!==As.setTimeout&&e.setTimeout,L=o.ceil,G=o.floor,q=w.getOwnPropertySymbols,z=b?b.isBuffer:na,B=e.isFinite,H=a.join,V=hu(w.keys,w),W=o.max,Q=o.min,J=r.now,Y=e.parseInt,K=o.random,Z=a.reverse,X=qn(e,"DataView"),tt=qn(e,"Map"),et=qn(e,"Promise"),nt=qn(e,"Set"),rt=qn(e,"WeakMap"),it=qn(w,"create"),ot=rt&&new rt,at={},st=pr(X),ut=pr(tt),lt=pr(et),ct=pr(nt),ft=pr(rt),dt=S?S.prototype:na,ht=dt?dt.valueOf:na,pt=dt?dt.toString:na;function gt(t){if(Pi(t)&&!bi(t)&&!(t instanceof _t)){if(t instanceof yt)return t;if(x.call(t,"__wrapped__"))return gr(t)}return new yt(t)}var vt=function(){function n(){}return function(t){if(!Oi(t))return{};if(E)return E(t);n.prototype=t;var e=new n;return n.prototype=na,e}}();function mt(){}function yt(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=na}function _t(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ua,this.__views__=[]}function bt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e>>0,e>>>=0;for(var o=T(i);++r>>1,a=t[o];if(null!==a&&!Ni(a)&&(n?a<=e:a>>0))return[];if((t=Ji(t))&&("string"==typeof e||null!=e&&!Ii(e)))if(!(e=Ne(e))&&fu(t))return Ke(yu(t),0,n);return t.split(e,n)},gt.spread=function(r,i){if("function"!=typeof r)throw new M(ra);return i=null==i?0:W(Hi(i),0),ke(function(t){var e=t[i],n=Ke(t,0,i);if(e)Bs(n,e);return Ds(r,this,n)})},gt.tail=function(t){var e=null==t?0:t.length;return e?Re(t,1,e):[]},gt.take=function(t,e,n){if(!t||!t.length)return[];else return Re(t,0,(e=n||e===na?1:Hi(e))<0?0:e)},gt.takeRight=function(t,e,n){var r=null==t?0:t.length;if(!r)return[];else return Re(t,(e=r-(e=n||e===na?1:Hi(e)))<0?0:e,r)},gt.takeRightWhile=function(t,e){return t&&t.length?ze(t,Nn(e,3),!1,!0):[]},gt.takeWhile=function(t,e){return t&&t.length?ze(t,Nn(e,3)):[]},gt.tap=function(t,e){return e(t),t},gt.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new M(ra);if(Oi(n))r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i;return si(t,e,{leading:r,maxWait:e,trailing:i})},gt.thru=Br,gt.toArray=zi,gt.toPairs=go,gt.toPairsIn=vo,gt.toPath=function(t){if(bi(t))return zs(t,hr);else return Ni(t)?[t]:on(dr(Ji(t)))},gt.toPlainObject=Qi,gt.transform=function(t,r,i){var e=bi(t),n=e||Ci(t)||Li(t);if(r=Nn(r,4),null==i){var o=t&&t.constructor;if(n)i=e?new o:[];else if(Oi(t))i=Ei(o)?vt(A(t)):{};else i={}}return(n?js:Yt)(t,function(t,e,n){return r(i,t,e,n)}),i},gt.unary=function(t){return ri(t,1)},gt.union=Pr,gt.unionBy=Rr,gt.unionWith=Ur,gt.uniq=function(t){return t&&t.length?Le(t):[]},gt.uniqBy=function(t,e){return t&&t.length?Le(t,Nn(e,2)):[]},gt.uniqWith=function(t,e){return e="function"==typeof e?e:na,t&&t.length?Le(t,na,e):[]},gt.unset=function(t,e){return null==t?!0:Ge(t,e)},gt.unzip=Dr,gt.unzipWith=Ir,gt.update=function(t,e,n){return null==t?t:qe(t,e,Qe(n))},gt.updateWith=function(t,e,n,r){return r="function"==typeof r?r:na,null==t?t:qe(t,e,Qe(n),r)},gt.values=mo,gt.valuesIn=function(t){return null==t?[]:iu(t,uo(t))},gt.without=jr,gt.words=To,gt.wrap=function(t,e){return hi(Qe(e),t)},gt.xor=Fr,gt.xorBy=Nr,gt.xorWith=Lr,gt.zip=Gr,gt.zipObject=function(t,e){return Ve(t||[],e||[],Ot)},gt.zipObjectDeep=function(t,e){return Ve(t||[],e||[],Te)},gt.zipWith=qr,gt.entries=go,gt.entriesIn=vo,gt.extend=Ki,gt.extendWith=Zi,No(gt,gt),gt.add=Jo,gt.attempt=Mo,gt.camelCase=yo,gt.capitalize=_o,gt.ceil=Yo,gt.clamp=function(t,e,n){if(n===na)n=e,e=na;if(n!==na)n=(n=Wi(n))==n?n:0;if(e!==na)e=(e=Wi(e))==e?e:0;return jt(Wi(t),e,n)},gt.clone=function(t){return Ft(t,4)},gt.cloneDeep=function(t){return Ft(t,5)},gt.cloneDeepWith=function(t,e){return Ft(t,5,e="function"==typeof e?e:na)},gt.cloneWith=function(t,e){return Ft(t,4,e="function"==typeof e?e:na)},gt.conformsTo=function(t,e){return null==e||Nt(t,e,so(e))},gt.deburr=bo,gt.defaultTo=function(t,e){return null==t||t!=t?e:t},gt.divide=Ko,gt.endsWith=function(t,e,n){t=Ji(t),e=Ne(e);var r=t.length,i=n=n===na?r:jt(Hi(n),0,r);return 0<=(n-=e.length)&&t.slice(n,i)==e},gt.eq=vi,gt.escape=function(t){return(t=Ji(t))&&Ba.test(t)?t.replace(qa,lu):t},gt.escapeRegExp=function(t){return(t=Ji(t))&&Za.test(t)?t.replace(Ka,"\\$&"):t},gt.every=function(t,e,n){var r=bi(t)?Ns:Bt;if(n&&Yn(t,e,n))e=na;return r(t,Nn(e,3))},gt.find=Wr,gt.findIndex=_r,gt.findKey=function(t,e){return Qs(t,Nn(e,3),Yt)},gt.findLast=Qr,gt.findLastIndex=br,gt.findLastKey=function(t,e){return Qs(t,Nn(e,3),Kt)},gt.floor=Zo,gt.forEach=Jr,gt.forEachRight=Yr,gt.forIn=function(t,e){return null==t?t:Qt(t,Nn(e,3),uo)},gt.forInRight=function(t,e){return null==t?t:Jt(t,Nn(e,3),uo)},gt.forOwn=function(t,e){return t&&Yt(t,Nn(e,3))},gt.forOwnRight=function(t,e){return t&&Kt(t,Nn(e,3))},gt.get=no,gt.gt=mi,gt.gte=yi,gt.has=function(t,e){return null!=t&&Vn(t,e,ne)},gt.hasIn=ro,gt.head=xr,gt.identity=Do,gt.includes=function(t,e,n,r){t=xi(t)?t:mo(t),n=n&&!r?Hi(n):0;var i=t.length;if(n<0)n=W(i+n,0);return Fi(t)?n<=i&&-1=Q(i=e,o=n)&&r=this.__values__.length;return{done:t,value:t?na:this.__values__[this.__index__++]}},gt.prototype.plant=function(t){for(var e,n=this;n instanceof mt;){var r=gr(n);if(r.__index__=0,r.__values__=na,e)i.__wrapped__=r;else e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},gt.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof _t){var e=t;if(this.__actions__.length)e=new _t(this);return(e=e.reverse()).__actions__.push({func:Br,args:[Or],thisArg:na}),new yt(e,this.__chain__)}return this.thru(Or)},gt.prototype.toJSON=gt.prototype.valueOf=gt.prototype.value=function(){return Be(this.__wrapped__,this.__actions__)},gt.prototype.first=gt.prototype.head,U)gt.prototype[U]=function(){return this};return gt}();if(1)As._=bu,(q=function(){return bu}.call(exports,z,exports,G))===na||(G.exports=q)}).call(this)}).call(this,z("aY11sVfy"),z("9YbPW59L")(t))},"nP6a+huQ":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({searchPaginated:{asyncResult:!0},reloadPage:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},update:{asyncResult:!0},getTypes:{asyncResult:!0},validate:{asyncResult:!0}});exports.default=r,t.exports=exports.default},nWEVKtVt:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({health:{asyncResult:!0},name:{asyncResult:!0}});exports.default=r,t.exports=exports.default},"nz9+JOMX":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=i(e("4KF7VOU5")),o=i(e("8GJ6oOEd")),r=i(e("GZfD0NTG")),a=i(e("72UfWcJe"));function i(t){return t&&t.__esModule?t:{default:t}}var s=i(e("JBQWIv26")).default.getActions("LookupTableDataAdapters"),u=n.default.createStore({listenables:[s],init:function(){this.pagination={page:1,per_page:10,total:0,count:0,query:null}},getInitialState:function(){return{dataAdapters:void 0,pagination:this.pagination,validationErrors:{}}},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return s.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r,i=this;if(n)r=this._url("adapters?page=".concat(t,"&per_page=").concat(e,"&query=").concat(encodeURIComponent(n)));else r=this._url("adapters?page=".concat(t,"&per_page=").concat(e));var o=(0,a.default)("GET",r);return o.then(function(t){i.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},i.trigger({pagination:i.pagination,dataAdapters:t.data_adapters})},this._errorHandler("Fetching lookup table data adapters failed","Could not retrieve the lookup dataAdapters")),s.searchPaginated.promise(o),o},get:function(t){var e=this,n=this._url("adapters/".concat(t)),r=(0,a.default)("GET",n);return r.then(function(t){e.trigger({dataAdapter:t})},this._errorHandler("Fetching lookup table data adapter ".concat(t," failed"),"Could not retrieve lookup table data adapter")),s.get.promise(r),r},create:function(t){var e=this,n=this._url("adapters"),r=(0,a.default)("POST",n,t);return r.then(function(t){e.trigger({dataAdapter:t})},this._errorHandler("Creating lookup table data adapter failed",'Could not create lookup table data adapter "'.concat(t.name,'"'))),s.create.promise(r),r},update:function(t){var e=this,n=this._url("adapters/".concat(t.id)),r=(0,a.default)("PUT",n,t);return r.then(function(t){e.trigger({dataAdapter:t})},this._errorHandler("Updating lookup table data adapter failed",'Could not update lookup table data adapter "'.concat(t.name,'"'))),s.update.promise(r),r},getTypes:function(){var e=this,t=this._url("types/adapters"),n=(0,a.default)("GET",t);return n.then(function(t){e.trigger({types:t})},this._errorHandler("Fetching available types failed","Could not fetch the available lookup table data adapter types")),s.getTypes.promise(n),n},delete:function(t){var e=this._url("adapters/".concat(t)),n=(0,a.default)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table data adapter failed",'Could not delete lookup table data adapter "'.concat(t,'"'))),s.delete.promise(n),n},lookup:function(t,e){var n=this,r=(0,a.default)("GET",this._url("adapters/".concat(t,"/query?key=").concat(encodeURIComponent(e))));return r.then(function(t){n.trigger({lookupResult:t})},this._errorHandler("Lookup failed",'Could not lookup value for key "'.concat(e,'" in lookup table data adapter "').concat(t,'"'))),s.lookup.promise(r),r},validate:function(t){var e=this,n=this._url("adapters/validate"),r=(0,a.default)("POST",n,t);return r.then(function(t){e.trigger({validationErrors:t.errors})},this._errorHandler("Lookup table data adapter validation failed",'Could not validate lookup table data adapter "'.concat(t.name,'"'))),s.validate.promise(r),r},_errorHandler:function(t,r,i){return function(e){var n;try{n=e.additional.body.message}catch(t){n=e.message}if(o.default.error("".concat(t,": ").concat(n),r),i)i(e)}},_url:function(t){return r.default.qualifyUrl("/system/lookup/".concat(t))}});exports.default=u,t.exports=exports.default},"o/Lf6FxK":function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var f=n(e("QDVhqBhn")),d=n(e("2gEPIf6i"));function n(t){return t&&t.__esModule?t:{default:t}}var r={dateTimeFormats:[{formatString:".SSS",condition:function(t){return 0!==t.milliseconds()}},{formatString:":s",condition:function(t){return 0!==t.seconds()}},{formatString:"HH:mm",condition:function(t){return 0!==t.minutes()}},{formatString:"HH:mm",condition:function(t){return 0!==t.hours()}},{formatString:"ddd DD",condition:function(t){return 1!==t.isoWeekday()&&1!==t.date()}},{formatString:"MMM DD",condition:function(t){return 1!==t.date()}},{formatString:"MMM",condition:function(t){return 0!==t.month()}},{formatString:"YYYY",condition:function(){return!0}}],intervalResolutions:[{interval:"year",unit:"year",step:1,condition:function(t){return 1]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,m.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},m.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},m.hostProtocols=["http","https"],m.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,m.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},m.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return m.domAttributes[e]}},m.encode=o,m.decode=decodeURIComponent,m.iso8859=function(){m.encode=escape,m.decode=unescape},m.unicode=function(){m.encode=o,m.decode=decodeURIComponent},m.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},m.encodeQuery=function(t,e){var n=m.encode(t+"");if(void 0===e)e=m.escapeQuerySpace;return e?n.replace(/%20/g,"+"):n},m.decodeQuery=function(e,t){if(e+="",void 0===t)t=m.escapeQuerySpace;try{return m.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var v,y={encode:"encode",decode:"decode"},_=function(n,r){return function(e){try{return m[r](e+"").replace(m.characters[n][r].expression,function(t){return m.characters[n][r].map[t]})}catch(t){return e}}};for(v in y)m[v+"PathSegment"]=_("pathname",y[v]),m[v+"UrnPathSegment"]=_("urnpath",y[v]);var b=function(o,a,s){return function(t){var e;if(!s)e=m[a];else e=function(t){return m[a](m[s](t))};for(var n=(t+"").split(o),r=0,i=n.length;r")[0],v=c.each;function m(t,e,n){var r=g[e.type]||{};if(null==t)return n||!e.def?null:e.def;if(t=r.floor?~~t:parseFloat(t),isNaN(t))return e.def;if(r.mod)return(t+r.mod)%r.mod;else return t<0?0:r.maxo.mod/2)r+=o.mod;else if(r-i>o.mod/2)r-=o.mod;l[n]=m((i-r)*a+r,e)}}),this[e](l)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),n=e.pop(),r=h(t)._rgba;return h(c.map(e,function(t,e){return(1-n)*r[e]+n*t}))},toRgbaString:function(){var t="rgba(",e=c.map(this._rgba,function(t,e){return null==t?2
    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:n.width(),height:n.height()},i=document.activeElement;try{i.id}catch(t){i=document.body}if(n.wrap(t),n[0]===i||$.contains(n[0],i))$(i).trigger("focus");if(t=n.parent(),"static"===n.css("position"))t.css({position:"relative"}),n.css({position:"relative"});else $.extend(r,{position:n.css("position"),zIndex:n.css("z-index")}),$.each(["top","left","bottom","right"],function(t,e){if(r[e]=n.css(e),isNaN(parseInt(r[e],10)))r[e]="auto"}),n.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"});return n.css(e),t.css(r).show()},removeWrapper:function(t){var e=document.activeElement;if(t.parent().is(".ui-effects-wrapper"))if(t.parent().replaceWith(t),t[0]===e||$.contains(t[0],e))$(e).trigger("focus");return t}});function c(t,e,n,r){if($.isPlainObject(t))t=(e=t).effect;if(t={effect:t},null==e)e={};if($.isFunction(e))r=e,n=null,e={};if("number"==typeof e||$.fx.speeds[e])r=n,n=e,e={};if($.isFunction(n))r=n,n=null;if(e)$.extend(t,e);return n=n||e.duration,t.duration=$.fx.off?0:"number"==typeof n?n:n in $.fx.speeds?$.fx.speeds[n]:$.fx.speeds._default,t.complete=r||e.complete,t}function o(t){if(!t||"number"==typeof t||$.fx.speeds[t])return!0;if("string"==typeof t&&!$.effects.effect[t])return!0;if($.isFunction(t))return!0;if("object"==typeof t&&!t.effect)return!0;else return!1}function a(t,e){var n=e.outerWidth(),r=e.outerHeight(),i=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,n,r,0];return{top:parseFloat(i[1])||0,right:"auto"===i[2]?n:parseFloat(i[2]),bottom:"auto"===i[3]?r:parseFloat(i[3]),left:parseFloat(i[4])||0}}$.extend($.effects,{version:"1.12.1",define:function(t,e,n){if(!n)n=e,e="effect";return $.effects.effect[t]=n,$.effects.effect[t].mode=e,n},scaledDimensions:function(t,e,n){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var r="horizontal"!==n?(e||100)/100:1,i="vertical"!==n?(e||100)/100:1;return{height:t.height()*i,width:t.width()*r,outerHeight:t.outerHeight()*i,outerWidth:t.outerWidth()*r}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,n){var r=t.queue();if(1").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(s+"placeholder",e);return t.css({position:n,left:r.left,top:r.top}),e},removePlaceholder:function(t){var e=s+"placeholder",n=t.data(e);if(n)n.remove(),t.removeData(e)},cleanUp:function(t){$.effects.restoreStyle(t),$.effects.removePlaceholder(t)},setTransition:function(r,t,i,o){return o=o||{},$.each(t,function(t,e){var n=r.cssUnit(e);if(0
    ").appendTo("body").addClass(t.className).css({top:c.top-a,left:c.left-s,height:n.innerHeight(),width:n.innerWidth(),position:i?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){if(f.remove(),$.isFunction(e))e()})}}),$.fx.step.clip=function(t){if(!t.clipInit){if(t.start=$(t.elem).cssClip(),"string"==typeof t.end)t.end=a(t.end,t.elem);t.clipInit=!0}$(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),r={},$.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){r[t]=function(t){return Math.pow(t,e+2)}}),$.extend(r,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),$.each(r,function(t,e){$.easing["easeIn"+t]=e,$.easing["easeOut"+t]=function(t){return 1-e(1-t)},$.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}}),$.effects;var r})?r.apply(exports,i):r)||(e.exports=o)}()},pHCdsgY0:function(t,exports){!function($){"use strict";var g=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};g.VERSION="3.4.0",g.TRANSITION_DURATION=150,g.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},g.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=$(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&$(document).find($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),i=r.length;i--;){var o=r[i];if("click"==o)this.$element.on("click."+this.type,this.options.selector,$.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focusin",s="hover"==o?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,$.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,$.proxy(this.leave,this))}}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.getOptions=function(t){if((t=$.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay)t.delay={show:t.delay,hide:t.delay};return t},g.prototype.getDelegateOptions=function(){var n={},r=this.getDefaults();return this._options&&$.each(this._options,function(t,e){if(r[t]!=e)n[t]=e}),n},g.prototype.enter=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(!e)e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e);if(t instanceof $.Event)e.inState["focusin"==t.type?"focus":"hover"]=!0;if(!e.tip().hasClass("in")&&"in"!=e.hoverState){if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){if("in"==e.hoverState)e.show()},e.options.delay.show)}else e.hoverState="in"},g.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},g.prototype.leave=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(!e)e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e);if(t instanceof $.Event)e.inState["focusout"==t.type?"focus":"hover"]=!1;if(!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){if("out"==e.hoverState)e.hide()},e.options.delay.hide)}},g.prototype.show=function(){var t=$.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var n=this,r=this.tip(),i=this.getUID(this.type);if(this.setContent(),r.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation)r.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,s=a.test(o);if(s)o=o.replace(a,"")||"top";r.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?r.appendTo($(document).find(this.options.container)):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),l=r[0].offsetWidth,c=r[0].offsetHeight;if(s){var f=o,d=this.getPosition(this.$viewport);o="bottom"==o&&u.bottom+c>d.bottom?"top":"top"==o&&u.top-cd.width?"left":"left"==o&&u.left-la.top+a.height)i.top=a.top+a.height-u}else{var l=e.left-o,c=e.left+o+n;if(la.right)i.left=a.left+a.width-c}return i},g.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},g.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},g.prototype.tip=function(){if(!this.$tip)if(this.$tip=$(this.options.template),1!=this.$tip.length)throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},g.prototype.enable=function(){this.enabled=!0},g.prototype.disable=function(){this.enabled=!1},g.prototype.toggleEnabled=function(){this.enabled=!this.enabled},g.prototype.toggle=function(t){var e=this;if(t)if(!(e=$(t.currentTarget).data("bs."+this.type)))e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e);if(t)if(e.inState.click=!e.inState.click,e.isInStateTrue())e.enter(e);else e.leave(e);else e.tip().hasClass("in")?e.leave(e):e.enter(e)},g.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){if(t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip)t.$tip.detach();t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var t=$.fn.tooltip;$.fn.tooltip=function(r){return this.each(function(){var t=$(this),e=t.data("bs.tooltip"),n="object"==typeof r&&r;if(e||!/destroy|hide/.test(r)){if(!e)t.data("bs.tooltip",e=new g(this,n));if("string"==typeof r)e[r]()}})},$.fn.tooltip.Constructor=g,$.fn.tooltip.noConflict=function(){return $.fn.tooltip=t,this}}(jQuery)},pSISWc05:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=window.localStorage,r={set:function(t,e){n.setItem(t,JSON.stringify(e))},get:function(t){var e=n.getItem(t);if(null!=e)try{return JSON.parse(e)}catch(t){return e}},delete:function(t){n.removeItem(t)}};exports.default=r,t.exports=exports.default},pjsNBHWI:function(t,exports,e){"use strict";var n=e("oD1gNWWo"),r=e("frDNOaGF"),i=e("4eKcM05w");t.exports={formats:i,parse:r,stringify:n}},poXm9ntF:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n,r=(n=e("/8dZfPfB"))&&n.__esModule?n:{default:n};var i={glColourPalette:function(){return r.default.scale.ordinal().range(["#16ACE3","#FBB040","#ED8EEF","#7CE255","#8DB3ED","#EAF253","#CED945","#EF8DB6","#D4A8ED","#F495D9"])},tooltipRenderlet:function(t,e,n){t.on("renderlet.tooltip",function(t){r.default.select(t.root()[0][0]).selectAll(e).attr("rel","tooltip").attr("data-original-title",n)})}};exports.default=i,t.exports=exports.default},qNJjS6qu:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({delete:{asyncResult:!0},list:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0}});exports.default=r,t.exports=exports.default},qRO8SbdC:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({total:{asyncResult:!0}});exports.default=r,t.exports=exports.default},qto9y7Uf:function(t,exports,e){"use strict";var f=e("QlBQbb2U"),d=e("GZfD0NTG"),h=e("8GJ6oOEd"),p=e("72UfWcJe").default,n={testNaturalDate:function(t){var e=f.ToolsApiController.naturalDateTest(t).url,n=p("GET",d.qualifyUrl(e));return n.catch(function(t){if(422!==t.additional.status)h.error("Loading keyword preview failed with status: "+t,"Could not load keyword preview")}),n},testGrok:function(t,e,n){var r=f.ToolsApiController.grokTest().url,i=p("POST",d.qualifyUrl(r),{pattern:t,string:n,named_captures_only:e});return i.catch(function(t){h.error("Details: "+t,"We were not able to run the grok extraction. Please check your parameters.")}),i},testJSON:function(t,e,n,r,i,o,a,s){var u=f.ToolsApiController.jsonTest().url,l={flatten:t,list_separator:e,key_separator:n,kv_separator:r,replace_key_whitespace:i,key_whitespace_replacement:o,key_prefix:a,string:s},c=p("POST",d.qualifyUrl(u),l);return c.catch(function(t){h.error("Details: "+t,"We were not able to run the JSON extraction. Please check your parameters.")}),c},testRegex:function(t,e){var n=f.ToolsApiController.regexTest().url,r=p("POST",d.qualifyUrl(n),{regex:t,string:e});return r.catch(function(t){h.error("Details: "+t,"Could not try regular expression. Make sure that it is valid.")}),r},testRegexReplace:function(t,e,n,r){var i=f.ToolsApiController.regexReplaceTest().url,o={regex:t,replacement:e,replace_all:n,string:r},a=p("POST",d.qualifyUrl(i),o);return a.catch(function(t){h.error("Details: "+t,"Could not try regular expression. Make sure that it is valid.")}),a},testSplitAndIndex:function(t,e,n){var r=f.ToolsApiController.splitAndIndexTest().url,i={split_by:t,index:e,string:n},o=p("POST",d.qualifyUrl(r),i);return o.catch(function(t){h.error("Details: "+t,"We were not able to run the split and index extraction. Please check your parameters.")}),o},testSubstring:function(t,e,n){var r=f.ToolsApiController.substringTest().url,i={start:t,end:e,string:n},o=p("POST",d.qualifyUrl(r),i);return o.catch(function(t){h.error("Details: "+t,"We were not able to run the substring extraction. Please check index boundaries.")}),o},testContainsString:function(t,e){var n=f.ToolsApiController.containsStringTest().url,r=p("POST",d.qualifyUrl(n),{search_string:t,string:e});return r.catch(function(t){h.error("Details: "+t,"Could not check if field contains the string")}),r},testLookupTable:function(t,e){var n=f.ToolsApiController.lookupTableTest().url,r=p("POST",d.qualifyUrl(n),{lookup_table_name:t,string:e});return r.catch(function(t){h.error("Details: "+t,"Could not check if lookup table translates the string")}),r}};t.exports=n},r7NGCpeE:function(e,exports,n){var r,i,o;!function(t){if(1)i=[n("gCzbTwtZ")],void 0===(o="function"==typeof(r=function($){return $.ui=$.ui||{},$.ui.version="1.12.1"})?r.apply(exports,i):r)||(e.exports=o)}()},rGl2woZV:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),a=r(e("GZfD0NTG")),s=r(e("QlBQbb2U")),u=r(e("72UfWcJe"));function r(t){return t&&t.__esModule?t:{default:t}}var l=r(e("JBQWIv26")).default.getActions("Loggers"),i=n.default.createStore({listenables:[l],state:{availableLoglevels:["fatal","error","warn","info","debug","trace"]},init:function(){this.loggers(),this.subsystems()},getInitialState:function(){return this.state},loggers:function(){var e=this,t=a.default.qualifyUrl(s.default.ClusterLoggersResource.loggers().url),n=(0,u.default)("GET",t).then(function(t){return e.state.loggers=t,e.trigger(e.state),t});l.loggers.promise(n)},subsystems:function(){var e=this,t=a.default.qualifyUrl(s.default.ClusterLoggersResource.subsystems().url),n=(0,u.default)("GET",t).then(function(t){return e.state.subsystems=t,e.trigger(e.state),t});l.loggers.promise(n)},setSubsystemLoggerLevel:function(t,e,n){var r=this,i=a.default.qualifyUrl(s.default.ClusterLoggersResource.setSubsystemLoggerLevel(t,e,n).url),o=(0,u.default)("PUT",i);o.then(function(){r.init()}),l.setSubsystemLoggerLevel.promise(o)}});exports.default=i,t.exports=exports.default},rHbN75bt:function(n,exports,r){var i,o;!function(e,t){if(1)i=[r("/8dZfPfB")],void 0===(o=function(t){return e.Rickshaw=function(y){var u={version:"1.6.5",namespace:function(t,e){for(var n=t.split("."),r=u,i=1,o=n.length;ithis.window.xMax)e=!1;return e}return!0},this.onUpdate=function(t){this.updateCallbacks.push(t)},this.onConfigure=function(t){this.configureCallbacks.push(t)},this.registerRenderer=function(t){this._renderers=this._renderers||{},this._renderers[t.name]=t},this.configure=function(e){if(this.config=this.config||{},e.width||e.height)this.setSize(e);if(u.keys(this.defaults).forEach(function(t){this.config[t]=t in e?e[t]:t in this?this[t]:this.defaults[t]},this),u.keys(this.config).forEach(function(t){this[t]=this.config[t]},this),"stack"in e)e.unstack=!e.stack;var t=e.renderer||this.renderer&&this.renderer.name||"stack";this.setRenderer(t,e),this.configureCallbacks.forEach(function(t){t(e)})},this.setRenderer=function(t,e){if("function"==typeof t)this.renderer=new t({graph:o}),this.registerRenderer(this.renderer);else{if(!this._renderers[t])throw"couldn't find renderer "+t;this.renderer=this._renderers[t]}if("object"==typeof e)this.renderer.configure(e)},this.setSize=function(t){if((t=t||{}).width&&t.height)this.width=t.width,this.height=t.height;else{if("undefined"!=typeof window)var e=window.getComputedStyle(this.element,null),n=parseInt(e.getPropertyValue("width"),10),r=parseInt(e.getPropertyValue("height"),10);this.width=t.width||n||400,this.height=t.height||r||250}this.vis&&this.vis.attr("width",this.width).attr("height",this.height)},this.initialize(t)},u.namespace("Rickshaw.Fixtures.Color"),u.Fixtures.Color=function(){this.schemes={},this.schemes.spectrum14=["#ecb796","#dc8f70","#b2a470","#92875a","#716c49","#d2ed82","#bbe468","#a1d05d","#e7cbe6","#d8aad6","#a888c2","#9dc2d3","#649eb9","#387aa3"].reverse(),this.schemes.spectrum2000=["#57306f","#514c76","#646583","#738394","#6b9c7d","#84b665","#a7ca50","#bfe746","#e2f528","#fff726","#ecdd00","#d4b11d","#de8800","#de4800","#c91515","#9a0000","#7b0429","#580839","#31082b"],this.schemes.spectrum2001=["#2f243f","#3c2c55","#4a3768","#565270","#6b6b7c","#72957f","#86ad6e","#a1bc5e","#b8d954","#d3e04e","#ccad2a","#cc8412","#c1521d","#ad3821","#8a1010","#681717","#531e1e","#3d1818","#320a1b"],this.schemes.classic9=["#423d4f","#4a6860","#848f39","#a2b73c","#ddcb53","#c5a32f","#7d5836","#963b20","#7c2626","#491d37","#2f254a"].reverse(),this.schemes.httpStatus={503:"#ea5029",502:"#d23f14",500:"#bf3613",410:"#efacea",409:"#e291dc",403:"#f457e8",408:"#e121d2",401:"#b92dae",405:"#f47ceb",404:"#a82a9f",400:"#b263c6",301:"#6fa024",302:"#87c32b",307:"#a0d84c",304:"#28b55c",200:"#1a4f74",206:"#27839f",201:"#52adc9",202:"#7c979f",203:"#a5b8bd",204:"#c1cdd1"},this.schemes.colorwheel=["#b5b6a9","#858772","#785f43","#96557e","#4682b4","#65b9ac","#73c03a","#cb513a"].reverse(),this.schemes.cool=["#5e9d2f","#73c03a","#4682b4","#7bc3b8","#a9884e","#c1b266","#a47493","#c09fb5"],this.schemes.munin=["#00cc00","#0066b3","#ff8000","#ffcc00","#330099","#990099","#ccff00","#ff0000","#808080","#008f00","#00487d","#b35a00","#b38f00","#6b006b","#8fb300","#b30000","#bebebe","#80ff80","#80c9ff","#ffc080","#ffe680","#aa80ff","#ee00cc","#ff8080","#666600","#ffbfff","#00ffcc","#cc6699","#999900"]},u.namespace("Rickshaw.Fixtures.RandomData"),u.Fixtures.RandomData=function(a){a=a||1;var e=200,s=Math.floor((new Date).getTime()/1e3);this.addData=function(t){var r=100*Math.random()+15+e,i=t[0].length,o=1;t.forEach(function(t){var e=20*Math.random(),n=r/25+o+++15*(Math.cos(i*o*11/960)+2)+7*(Math.cos(i/7)+2)+1*(Math.cos(i/17)+2);t.push({x:i*a+s,y:n+e})}),e=.85*r},this.removeData=function(t){t.forEach(function(t){t.shift()}),s+=a}},u.namespace("Rickshaw.Fixtures.Time"),u.Fixtures.Time=function(){var e=this;this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.units=[{name:"decade",seconds:315576e3,formatter:function(t){return 10*parseInt(t.getUTCFullYear()/10,10)}},{name:"year",seconds:31557600,formatter:function(t){return t.getUTCFullYear()}},{name:"month",seconds:2635200,formatter:function(t){return e.months[t.getUTCMonth()]}},{name:"week",seconds:604800,formatter:function(t){return e.formatDate(t)}},{name:"day",seconds:86400,formatter:function(t){return t.getUTCDate()}},{name:"6 hour",seconds:21600,formatter:function(t){return e.formatTime(t)}},{name:"hour",seconds:3600,formatter:function(t){return e.formatTime(t)}},{name:"15 minute",seconds:900,formatter:function(t){return e.formatTime(t)}},{name:"minute",seconds:60,formatter:function(t){return t.getUTCMinutes()+"m"}},{name:"15 second",seconds:15,formatter:function(t){return t.getUTCSeconds()+"s"}},{name:"second",seconds:1,formatter:function(t){return t.getUTCSeconds()+"s"}},{name:"decisecond",seconds:.1,formatter:function(t){return t.getUTCMilliseconds()+"ms"}},{name:"centisecond",seconds:.01,formatter:function(t){return t.getUTCMilliseconds()+"ms"}}],this.unit=function(e){return this.units.filter(function(t){return e==t.name}).shift()},this.formatDate=function(t){return y.time.format("%b %e")(t)},this.formatTime=function(t){return t.toUTCString().match(/(\d+:\d+):/)[1]},this.ceil=function(t,e){var n,r;if("month"==e.name){if(n=new Date(1e3*t),Date.UTC(n.getUTCFullYear(),n.getUTCMonth())/1e3==t)return t;r=n.getUTCFullYear();var i=n.getUTCMonth();if(11==i)i=0,r+=1;else i+=1;return Date.UTC(r,i)/1e3}if("year"==e.name)if(n=new Date(1e3*t),Date.UTC(n.getUTCFullYear(),0)/1e3==t)return t;else return r=n.getUTCFullYear()+1,Date.UTC(r,0)/1e3;return Math.ceil(t/e.seconds)*e.seconds}},u.namespace("Rickshaw.Fixtures.Time.Local"),u.Fixtures.Time.Local=function(){var e=this;this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.units=[{name:"decade",seconds:315576e3,formatter:function(t){return 10*parseInt(t.getFullYear()/10,10)}},{name:"year",seconds:31557600,formatter:function(t){return t.getFullYear()}},{name:"month",seconds:2635200,formatter:function(t){return e.months[t.getMonth()]}},{name:"week",seconds:604800,formatter:function(t){return e.formatDate(t)}},{name:"day",seconds:86400,formatter:function(t){return t.getDate()}},{name:"6 hour",seconds:21600,formatter:function(t){return e.formatTime(t)}},{name:"hour",seconds:3600,formatter:function(t){return e.formatTime(t)}},{name:"15 minute",seconds:900,formatter:function(t){return e.formatTime(t)}},{name:"minute",seconds:60,formatter:function(t){return t.getMinutes()}},{name:"15 second",seconds:15,formatter:function(t){return t.getSeconds()+"s"}},{name:"second",seconds:1,formatter:function(t){return t.getSeconds()+"s"}},{name:"decisecond",seconds:.1,formatter:function(t){return t.getMilliseconds()+"ms"}},{name:"centisecond",seconds:.01,formatter:function(t){return t.getMilliseconds()+"ms"}}],this.unit=function(e){return this.units.filter(function(t){return e==t.name}).shift()},this.formatDate=function(t){return y.time.format("%b %e")(t)},this.formatTime=function(t){return t.toString().match(/(\d+:\d+):/)[1]},this.ceil=function(t,e){var n,r,i;if("day"==e.name){var o=new Date(1e3*(t+e.seconds-1)),a=new Date(0);return a.setFullYear(o.getFullYear()),a.setMonth(o.getMonth()),a.setDate(o.getDate()),a.setMilliseconds(0),a.setSeconds(0),a.setMinutes(0),a.setHours(0),a.getTime()/1e3}if("month"==e.name){if(n=new Date(1e3*t),new Date(n.getFullYear(),n.getMonth()).getTime()/1e3==t)return t;r=n.getFullYear();var s=n.getMonth();if(11==s)s=0,r+=1;else s+=1;return new Date(r,s).getTime()/1e3}if("year"==e.name)if(n=new Date(1e3*t),new Date(n.getUTCFullYear(),0).getTime()/1e3==t)return t;else return r=n.getFullYear()+1,new Date(r,0).getTime()/1e3;return i=60*new Date(1e3*t).getTimezoneOffset(),Math.ceil((t-i)/e.seconds)*e.seconds+i}},u.namespace("Rickshaw.Fixtures.Number"),u.Fixtures.Number.formatKMBT=function(t){var e=Math.abs(t);if(1e12<=e)return t/1e12+"T";else if(1e9<=e)return t/1e9+"B";else if(1e6<=e)return t/1e6+"M";else if(1e3<=e)return t/1e3+"K";else if(e<1&&0s.graph.x.range()[1])){if(!o.element){var e=o.element=document.createElement("div");e.classList.add("annotation"),this.elements.timeline.appendChild(e),e.addEventListener("click",function(t){e.classList.toggle("active"),o.line.classList.toggle("active"),o.boxes.forEach(function(t){if(t.rangeElement)t.rangeElement.classList.toggle("active")})},!1)}o.element.style.left=a+"px",o.element.style.display="block",o.boxes.forEach(function(t){var e=t.element;if(!e)if((e=t.element=document.createElement("div")).classList.add("content"),e.innerHTML=t.content,o.element.appendChild(e),o.line=document.createElement("div"),o.line.classList.add("annotation_line"),s.graph.element.appendChild(o.line),t.end)t.rangeElement=document.createElement("div"),t.rangeElement.classList.add("annotation_range"),s.graph.element.appendChild(t.rangeElement);if(t.end){var n=a,r=Math.min(s.graph.x(t.end),s.graph.x.range()[1]);if(rr.graph.x.range()[1])){var e=document.createElement("div");e.style.left=r.graph.x(t.value)+"px",e.classList.add("x_tick"),e.classList.add(r.ticksTreatment);var n=document.createElement("div");n.classList.add("title"),n.innerHTML=t.unit.formatter(new Date(1e3*t.value)),e.appendChild(n),r.graph.element.appendChild(e),r.elements.push(e)}})},this.graph.onUpdate(function(){r.render()})},u.namespace("Rickshaw.Graph.Axis.X"),u.Graph.Axis.X=function(o){var e=this;this.initialize=function(t){if(this.graph=t.graph,this.orientation=t.orientation||"top",this.pixelsPerTick=t.pixelsPerTick||75,t.ticks)this.staticTicks=t.ticks;if(t.tickValues)this.tickValues=t.tickValues;if(this.tickSize=t.tickSize||4,this.ticksTreatment=t.ticksTreatment||"plain",t.element)this.element=t.element,this._discoverSize(t.element,t),this.vis=y.select(t.element).append("svg:svg").attr("height",this.height).attr("width",this.width).attr("class","rickshaw_graph x_axis_d3"),this.element=this.vis[0][0],this.element.style.position="relative",this.setSize({width:t.width,height:t.height});else this.vis=this.graph.vis;this.graph.onUpdate(function(){e.render()})},this.setSize=function(t){if(t=t||{},this.element){this._discoverSize(this.element.parentNode,t),this.vis.attr("height",this.height).attr("width",1.1*this.width);var e=Math.floor(.1*this.width/2);this.element.style.left=-1*e+"px"}},this.render=function(){if(void 0!==this._renderWidth&&this.graph.width!==this._renderWidth)this.setSize({auto:!0});var t=y.svg.axis().scale(this.graph.x).orient(this.orientation);if(t.tickFormat(o.tickFormat||function(t){return t}),this.tickValues)t.tickValues(this.tickValues);this.ticks=this.staticTicks||Math.floor(this.graph.width/this.pixelsPerTick);var e,n=Math.floor(.1*this.width/2)||0,r="bar"==this.graph.renderer.name&&Math.ceil(.95*this.graph.width/this.graph.series[0].data.length/2)||0;if("top"==this.orientation)e="translate("+(n+r)+","+(this.height||this.graph.height)+")";else e="translate("+(n+r)+", 0)";if(this.element)this.vis.selectAll("*").remove();this.vis.append("svg:g").attr("class",["x_ticks_d3",this.ticksTreatment].join(" ")).attr("transform",e).call(t.ticks(this.ticks).tickSubdivide(0).tickSize(this.tickSize));var i=("bottom"==this.orientation?1:-1)*this.graph.height;this.graph.vis.append("svg:g").attr("class","x_grid_d3").call(t.ticks(this.ticks).tickSubdivide(0).tickSize(i)).selectAll("text").each(function(){this.parentNode.setAttribute("data-x-value",this.textContent)}),this._renderHeight=this.graph.height},this._discoverSize=function(t,e){if("undefined"!=typeof window){var n=window.getComputedStyle(t,null),r=parseInt(n.getPropertyValue("height"),10);if(!e.auto)var i=parseInt(n.getPropertyValue("width"),10)}this.width=1.1*(e.width||i||this.graph.width),this.height=e.height||r||40},this.initialize(o)},u.namespace("Rickshaw.Graph.Axis.Y"),u.Graph.Axis.Y=u.Class.create({initialize:function(t){if(this.graph=t.graph,this.orientation=t.orientation||"right",this.pixelsPerTick=t.pixelsPerTick||75,t.ticks)this.staticTicks=t.ticks;if(t.tickValues)this.tickValues=t.tickValues;if(this.tickSize=t.tickSize||4,this.ticksTreatment=t.ticksTreatment||"plain",this.tickFormat=t.tickFormat||function(t){return t},this.berthRate=.1,t.element)this.element=t.element,this.vis=y.select(t.element).append("svg:svg").attr("class","rickshaw_graph y_axis"),this.element=this.vis[0][0],this.element.style.position="relative",this.setSize({width:t.width,height:t.height});else this.vis=this.graph.vis;var e=this;this.graph.onUpdate(function(){e.render()})},setSize:function(t){if(t=t||{},this.element){if("undefined"!=typeof window){var e=window.getComputedStyle(this.element.parentNode,null),n=parseInt(e.getPropertyValue("width"),10);if(!t.auto)var r=parseInt(e.getPropertyValue("height"),10)}this.width=t.width||n||this.graph.width*this.berthRate,this.height=t.height||r||this.graph.height,this.vis.attr("width",this.width).attr("height",this.height*(1+this.berthRate));var i=this.height*this.berthRate;if("left"==this.orientation)this.element.style.top=-1*i+"px"}},render:function(){if(void 0!==this._renderHeight&&this.graph.height!==this._renderHeight)this.setSize({auto:!0});this.ticks=this.staticTicks||Math.floor(this.graph.height/this.pixelsPerTick);var t=this._drawAxis(this.graph.y);this._drawGrid(t),this._renderHeight=this.graph.height},_drawAxis:function(t){var e=y.svg.axis().scale(t).orient(this.orientation);if(e.tickFormat(this.tickFormat),this.tickValues)e.tickValues(this.tickValues);if("left"==this.orientation)var n=this.height*this.berthRate,r="translate("+this.width+", "+n+")";if(this.element)this.vis.selectAll("*").remove();return this.vis.append("svg:g").attr("class",["y_ticks",this.ticksTreatment].join(" ")).attr("transform",r).call(e.ticks(this.ticks).tickSubdivide(0).tickSize(this.tickSize)),e},_drawGrid:function(t){var e=("right"==this.orientation?1:-1)*this.graph.width;this.graph.vis.append("svg:g").attr("class","y_grid").call(t.ticks(this.ticks).tickSubdivide(0).tickSize(e)).selectAll("text").each(function(){this.parentNode.setAttribute("data-y-value",this.textContent)})}}),u.namespace("Rickshaw.Graph.Axis.Y.Scaled"),u.Graph.Axis.Y.Scaled=u.Class.create(u.Graph.Axis.Y,{initialize:function($super,t){if(void 0===t.scale)throw new Error("Scaled requires scale");if(this.scale=t.scale,void 0===t.grid)this.grid=!0;else this.grid=t.grid;$super(t)},_drawAxis:function($super,t){var e=this.scale.domain(),n=this.graph.renderer.domain().y,r=[Math.min.apply(Math,e),Math.max.apply(Math,e)],i=y.scale.linear().domain([0,1]).range(r),o=[i(n[0]),i(n[1])],a=y.scale.linear().domain(r).range(o);return $super(this.scale.copy().domain(e.map(a)).range(t.range()))},_drawGrid:function($super,t){if(this.grid)$super(t)}}),u.namespace("Rickshaw.Graph.Behavior.Series.Highlight"),u.Graph.Behavior.Series.Highlight=function(t){this.graph=t.graph,this.legend=t.legend;var i=this,o={},e=null,a=t.disabledColor||function(t){return y.interpolateRgb(t,y.rgb("#d8d8d8"))(.8).toString()};if(this.addHighlightEvents=function(r){r.element.addEventListener("mouseover",function(t){if(!e)e=r,i.legend.lines.forEach(function(t){if(r!==t)o[t.series.name]=o[t.series.name]||t.series.color,t.series.color=a(t.series.color);else if(i.graph.renderer.unstack&&(t.series.renderer?t.series.renderer.unstack:1)){var e=i.graph.series.indexOf(t.series);t.originalIndex=e;var n=i.graph.series.splice(e,1)[0];i.graph.series.push(n)}}),i.graph.update()},!1),r.element.addEventListener("mouseout",function(t){if(e)e=null,i.legend.lines.forEach(function(t){if(r===t&&t.hasOwnProperty("originalIndex")){var e=i.graph.series.pop();i.graph.series.splice(t.originalIndex,0,e),delete t.originalIndex}if(o[t.series.name])t.series.color=o[t.series.name]}),i.graph.update()},!1)},this.legend)this.legend.lines.forEach(function(t){i.addHighlightEvents(t)})},u.namespace("Rickshaw.Graph.Behavior.Series.Order"),u.Graph.Behavior.Series.Order=function(t){this.graph=t.graph,this.legend=t.legend;var i=this;if(void 0===window.jQuery)throw"couldn't find jQuery at window.jQuery";if(void 0===window.jQuery.ui)throw"couldn't find jQuery UI at window.jQuery.ui";jQuery(function(){jQuery(i.legend.list).sortable({containment:"parent",tolerance:"pointer",update:function(t,e){var n=[];jQuery(i.legend.list).find("li").each(function(t,e){if(e.series)n.push(e.series)});for(var r=i.graph.series.length-1;0<=r;r--)i.graph.series[r]=n.shift();i.graph.update()}}),jQuery(i.legend.list).disableSelection()}),this.graph.onUpdate(function(){var t=window.getComputedStyle(i.legend.element).height;i.legend.element.style.height=t})},u.namespace("Rickshaw.Graph.Behavior.Series.Toggle"),u.Graph.Behavior.Series.Toggle=function(t){this.graph=t.graph,this.legend=t.legend;var o=this;if(this.addAnchor=function(i){var t=document.createElement("a");t.innerHTML="✔",t.classList.add("action"),i.element.insertBefore(t,i.element.firstChild),t.onclick=function(t){if(i.series.disabled)i.series.enable(),i.element.classList.remove("disabled");else{if(this.graph.series.filter(function(t){return!t.disabled}).length<=1)return;i.series.disable(),i.element.classList.add("disabled")}o.graph.update()}.bind(this),i.element.getElementsByTagName("span")[0].onclick=function(t){var e=i.series.disabled;if(!e)for(var n=0;no.svgWidth-1||t<1)){var e=[a.startPX,t].sort(u),n=e[1]-e[0];if(isNaN(n))return s(this);r.attr("fill",o.fill).attr("x",e[0]).attr("width",n)}}function s(t){y.select(t).on("mousemove",null),y.select(document).on("mouseup",null),a={},r.remove()}function u(t,e){return t-e}function l(t){return Math.floor(o.graph.x.invert(t.offsetX||t.layerX))}this.svg.on("mousedown",function(){var t=y.select(this);if(r=t.append("rect").style("opacity",o.opacity).attr("y",0).attr("height","100%"),y.event.preventDefault)y.event.preventDefault();else y.event.returnValue=!1;a.target=y.event.target,a.startDt=l(y.event),a.startPX=y.event.offsetX||y.event.layerX,t.on("mousemove",i),y.select(document).on("mouseup",n),y.select(document).on("keyup",function(){if(y.event.keyCode===e)s(this)})})}}),u.namespace("Rickshaw.Graph.HoverDetail"),u.Graph.HoverDetail=u.Class.create({initialize:function(t){var e=this.graph=t.graph;this.xFormatter=t.xFormatter||function(t){return new Date(1e3*t).toUTCString()},this.yFormatter=t.yFormatter||function(t){return null===t?t:t.toFixed(2)};var n=this.element=document.createElement("div");n.className="detail inactive",this.visible=!0,e.element.appendChild(n),this.lastEvent=null,this._addListeners(),this.onShow=t.onShow,this.onHide=t.onHide,this.onRender=t.onRender,this.formatter=t.formatter||this.formatter},formatter:function(t,e,n,r,i,o){return t.name+": "+i},update:function(t){if(t=t||this.lastEvent)if((this.lastEvent=t).target.nodeName.match(/^(path|svg|rect|circle)$/)){var d,h=this.graph,e=h.element.getBoundingClientRect(),p=t.clientX-e.left,g=t.clientY-e.top,v=0,m=[];if(this.graph.series.active().forEach(function(t){var e=this.graph.stackedData[v++];if(e.length){var n=h.x.invert(p),r=y.scale.linear().domain([e[0].x,e.slice(-1)[0].x]).range([0,e.length-1]),i=Math.round(r(n));if(i==e.length-1)i--;for(var o=Math.min(i||0,e.length-1),a=i;an){o=Math.abs(n-e[a].x)n.right)r+=e.right-n.right;if(e.left=a.previewWidth)r[0]-=r[1]-a.previewWidth,r[1]=a.previewWidth}a.graphs.forEach(function(e){var t=y.scale.linear().interpolate(y.interpolateNumber).domain([0,a.previewWidth]).range(e.dataDomain()),n=[t(r[0]),t(r[1])];if(a.slideCallbacks.forEach(function(t){t(e,n[0],n[1])}),0===r[0])n[0]=void 0;if(r[1]===a.previewWidth)n[1]=void 0;e.window.xMin=n[0],e.window.xMax=n[1],e.update()})}function n(){o.target=y.event.target,o.start=a._getClientXFromEvent(y.event,o),a.frameBeforeDrag=a.currentFrame.slice(),y.event.preventDefault?y.event.preventDefault():y.event.returnValue=!1,y.select(document).on("mousemove.rickshaw_range_slider_preview",e),y.select(document).on("mouseup.rickshaw_range_slider_preview",u),y.select(document).on("touchmove.rickshaw_range_slider_preview",e),y.select(document).on("touchend.rickshaw_range_slider_preview",u),y.select(document).on("touchcancel.rickshaw_range_slider_preview",u)}function r(t,e){o.left=!0,n()}function i(t,e){o.right=!0,n()}function s(t,e){o.left=!0,o.right=!0,o.rigid=!0,n()}function u(t,e){y.select(document).on("mousemove.rickshaw_range_slider_preview",null),y.select(document).on("mouseup.rickshaw_range_slider_preview",null),y.select(document).on("touchmove.rickshaw_range_slider_preview",null),y.select(document).on("touchend.rickshaw_range_slider_preview",null),y.select(document).on("touchcancel.rickshaw_range_slider_preview",null),delete a.frameBeforeDrag,o.left=!1,o.right=!1,o.rigid=!1}t.select("rect.left_handle").on("mousedown",r),t.select("rect.right_handle").on("mousedown",i),t.select("rect.middle_handle").on("mousedown",s),t.select("rect.left_handle").on("touchstart",r),t.select("rect.right_handle").on("touchstart",i),t.select("rect.middle_handle").on("touchstart",s)},_getClientXFromEvent:function(t,e){switch(t.type){case"touchstart":case"touchmove":for(var n=t.changedTouches,r=null,i=0;ir)r=t[t.length-1].x}}),n-=(r-n)*this.padding.left,r+=(r-n)*this.padding.right,i="auto"===this.graph.min?i:this.graph.min||0,o=void 0===this.graph.max?o:this.graph.max,"auto"===this.graph.min||i<0)i-=(o-i)*this.padding.bottom;if(void 0===this.graph.max)o+=(o-i)*this.padding.top;return{x:[n,r],y:[i,o]}},render:function(t){t=t||{};var e=this.graph,n=t.series||e.series,r=t.vis||e.vis;r.selectAll("*").remove();var i=n.filter(function(t){return!t.disabled}).map(function(t){return t.stack}),o=r.selectAll("path.path").data(i).enter().append("svg:path").classed("path",!0).attr("d",this.seriesPathFactory());if(this.stroke)var a=r.selectAll("path.stroke").data(i).enter().append("svg:path").classed("stroke",!0).attr("d",this.seriesStrokeFactory());var s=0;n.forEach(function(t){if(!t.disabled){if(t.path=o[0][s],this.stroke)t.stroke=a[0][s];this._styleSeries(t),s++}},this)},_styleSeries:function(t){var e=this.fill?t.color:"none",n=this.stroke?t.color:"none",r=t.strokeWidth?t.strokeWidth:this.strokeWidth,i=t.opacity?t.opacity:this.opacity;if(t.path.setAttribute("fill",e),t.path.setAttribute("stroke",n),t.path.setAttribute("stroke-width",r),t.path.setAttribute("opacity",i),t.className)y.select(t.path).classed(t.className,!0);if(t.className&&this.stroke)y.select(t.stroke).classed(t.className,!0)},configure:function(n){n=n||{},u.keys(this.defaults()).forEach(function(e){if(n.hasOwnProperty(e))if("object"==typeof this.defaults()[e])u.keys(this.defaults()[e]).forEach(function(t){this[e][t]=void 0!==n[e][t]?n[e][t]:void 0!==this[e][t]?this[e][t]:this.defaults()[e][t]},this);else this[e]=void 0!==n[e]?n[e]:void 0!==this[e]?this[e]:void 0!==this.graph[e]?this.graph[e]:this.defaults()[e];else this[e]=this[e]||this.graph[e]||this.defaults()[e]},this)},setStrokeWidth:function(t){if(void 0!==t)this.strokeWidth=t},setTension:function(t){if(void 0!==t)this.tension=t}}),u.namespace("Rickshaw.Graph.Renderer.Line"),u.Graph.Renderer.Line=u.Class.create(u.Graph.Renderer,{name:"line",defaults:function($super){return u.extend($super(),{unstack:!0,fill:!1,stroke:!0})},seriesPathFactory:function(){var e=this.graph,t=y.svg.line().x(function(t){return e.x(t.x)}).y(function(t){return e.y(t.y)}).interpolate(this.graph.interpolation).tension(this.tension);return t.defined&&t.defined(function(t){return null!==t.y}),t}}),u.namespace("Rickshaw.Graph.Renderer.Stack"),u.Graph.Renderer.Stack=u.Class.create(u.Graph.Renderer,{name:"stack",defaults:function($super){return u.extend($super(),{fill:!0,stroke:!1,unstack:!1})},seriesPathFactory:function(){var e=this.graph,t=y.svg.area().x(function(t){return e.x(t.x)}).y0(function(t){return e.y(t.y0)}).y1(function(t){return e.y(t.y+t.y0)}).interpolate(this.graph.interpolation).tension(this.tension);return t.defined&&t.defined(function(t){return null!==t.y}),t}}),u.namespace("Rickshaw.Graph.Renderer.Bar"),u.Graph.Renderer.Bar=u.Class.create(u.Graph.Renderer,{name:"bar",defaults:function($super){var t=u.extend($super(),{gapSize:.05,unstack:!1,opacity:1});return delete t.tension,t},initialize:function($super,t){t=t||{},this.gapSize=t.gapSize||this.gapSize,$super(t)},domain:function($super){var t=$super(),e=this._frequentInterval(this.graph.stackedData.slice(-1).shift());return t.x[1]+=Number(e.magnitude),t},barWidth:function(t){var e=this._frequentInterval(t.stack);return this.graph.x.magnitude(e.magnitude)*(1-this.gapSize)},render:function(t){t=t||{};var n=this.graph,e=t.series||n.series,r=t.vis||n.vis;r.selectAll("*").remove();var i=this.barWidth(e.active()[0]),o=0,a=e.filter(function(t){return!t.disabled}).length,s=this.unstack?i/a:i,u=function(t){return"matrix("+[1,0,0,t.y<0?-1:1,0,t.y<0?2*n.y.magnitude(Math.abs(t.y)):0].join(",")+")"};e.forEach(function(e){if(!e.disabled){this.barWidth(e);var t=r.selectAll("path").data(e.stack.filter(function(t){return null!==t.y})).enter().append("svg:rect").attr("x",function(t){return n.x(t.x)+o}).attr("y",function(t){return n.y(t.y0+Math.abs(t.y))*(t.y<0?-1:1)}).attr("width",s).attr("height",function(t){return n.y.magnitude(Math.abs(t.y))}).attr("opacity",e.opacity).attr("transform",u);if(Array.prototype.forEach.call(t[0],function(t){t.setAttribute("fill",e.color)}),this.unstack)o+=s}},this)},_frequentInterval:function(t){for(var e={},n=0;nthis.maxDataPoints;)this.dropData()},dropData:function(){this.forEach(function(t){t.data.splice(0,1)}),this.currentSize-=1},getIndex:function(){return this.currentIndex}}),u}(t)}.apply(exports,i))||(n.exports=o)}(this)},"riE38/bO":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({list:{asyncResult:!0}});exports.default=r,t.exports=exports.default},s1qejPic:function(t,exports,e){"use strict";var n;(0,((n=e("EbvmO17y"))&&n.__esModule?n:{default:n}).default)()},s2hN4RJZ:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n={clone:function(t){return JSON.parse(JSON.stringify(t))},isEmpty:function(t){var e=Object.keys(t);return e&&0===e.length}};exports.default=n,t.exports=exports.default},"s6moyxK/":function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({available:{asyncResult:!0},delete:{asyncResult:!0},list:{asyncResult:!0},listAll:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0},get:{asyncResult:!0},test:{asyncResult:!0}});exports.default=r,t.exports=exports.default},sMq7wTr3:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({add:{asyncResult:!0},addGlobal:{asyncResult:!0},clear:{asyncResult:!0},filter:{asyncResult:!0},list:{asyncResult:!0},names:{asyncResult:!0},remove:{asyncResult:!0},removeGlobal:{asyncResult:!0}});exports.default=r,t.exports=exports.default},sOLBHnFn:function(t,exports){var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){if(e=$(e||this.defaultElement||this)[0],this.element=$(e),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=$(),this.hoverable=$(),this.focusable=$(),this.classesElementLookup={},e!==this)$.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){if(t.target===e)this.destroy()}}),this.document=$(e.style?e.ownerDocument:e.document||e),this.window=$(this.document[0].defaultView||this.document[0].parentWindow);if(this.options=$.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled)this._setOptionDisabled(this.options.disabled);this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:$.noop,_create:$.noop,_init:$.noop,destroy:function(){var n=this;this._destroy(),$.each(this.classesElementLookup,function(t,e){n._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:$.noop,widget:function(){return this.element},option:function(t,e){var n,r,i,o=t;if(0===arguments.length)return $.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(r=o[t]=$.widget.extend({},this.options[t]),i=0;i * @license MIT */ t.exports=function(t){return null!=t&&(n(t)||"function"==typeof(e=t).readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))||!!t._isBuffer);var e}},wdcFljFk:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),i=r(e("GZfD0NTG")),o=r(e("QlBQbb2U")),a=r(e("72UfWcJe"));function r(t){return t&&t.__esModule?t:{default:t}}var s=r(e("JBQWIv26")).default.getActions("Deflector"),u=n.default.createStore({listenables:[s],deflector:{info:void 0},getInitialState:function(){return{deflector:this.deflector}},cycle:function(t){var e=i.default.qualifyUrl(o.default.DeflectorApiController.cycle(t).url),n=(0,a.default)("POST",e);s.cycle.promise(n)},list:function(t){var e=this,n=i.default.qualifyUrl(o.default.DeflectorApiController.list(t).url),r=(0,a.default)("GET",n).then(function(t){e.deflector.info=t,e.trigger({deflector:e.deflector})});s.list.promise(r)}});exports.default=u,t.exports=exports.default},wgoDjPq3:function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var n=r(e("4KF7VOU5")),i=r(e("GZfD0NTG")),o=r(e("72UfWcJe")),a=r(e("8GJ6oOEd"));function r(t){return t&&t.__esModule?t:{default:t}}var s=r(e("JBQWIv26")).default.getActions("InputTypes"),u=n.default.createStore({listenables:[s],sourceUrl:"/system/inputs/types",inputTypes:void 0,inputDescriptions:void 0,init:function(){this.list()},getInitialState:function(){return{inputTypes:this.inputTypes,inputDescriptions:this.inputDescriptions}},list:function(){var e=this,t=(0,o.default)("GET",i.default.qualifyUrl(this.sourceUrl)),n=(0,o.default)("GET",i.default.qualifyUrl("".concat(this.sourceUrl,"/all"))),r=Promise.all([t,n]);r.then(function(t){e.inputTypes=t[0].types,e.inputDescriptions=t[1],e.trigger(e.getInitialState())},function(t){a.default.error("Fetching Input Types failed with status: ".concat(t),"Could not retrieve Inputs")}),s.list.promise(r)},get:function(e){var t=(0,o.default)("GET",i.default.qualifyUrl("".concat(this.sourceUrl,"/").concat(e)));t.catch(function(t){a.default.error("Fetching input ".concat(e," failed with status: ").concat(t),"Could not retrieve input")}),s.get.promise(t)}});exports.default=u,t.exports=exports.default},wy2cP4gd:function(A,exports,E){"use strict";(function(t){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=o(E("ii0bleBb")),n=o(E("ivGQtwpr")),s=(o(E("Y/FKx0zi")),o(E("9pdI12pI"))),r=o(E("TivnP0t5")),c=o(E("AhJZIvQE")),f=o(E("/8dZfPfB")),i=o(E("HL1wWrxB")),d=o(E("nHcjWeCO")),u=o(E("QDVhqBhn")),l=o(E("VrIkJ5a+")),h=o(E("poXm9ntF")),p=o(E("6zjGdd8x")),g=o(E("o/Lf6FxK")),v=o(E("gCzbTwtZ"));function o(t){return t&&t.__esModule?t:{default:t}}function m(t){if("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator)m=function(t){return typeof t};else m=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};return m(t)}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){for(var n=0;n");return'
    '.concat(r,"
    ").concat(i,"
    ")}),x(w(w(o)),"_resizeVisualization",function(t,e){o.graph.width(t).height(e),o.triggerRender=!0}),x(w(w(o)),"drawData",function(){if(o.graph.xUnits(function(){return Math.max(o.state.dataPoints.length-1,1)}),o.graphData.remove(),o.graphData.add(o.state.dataPoints),o.triggerRender)o.graph.render(),o.triggerRender=!1;else o.graph.redraw();if(o.props.config.threshold)o.renderThreshold()}),x(w(w(o)),"renderThreshold",function(){var s=o.props.config.threshold,u=o.props.config.threshold_color||"#f00",l=o.props.config.threshold_tooltip||"threshold: ".concat(s);o.graph.on("renderlet.threshold",function(e){var t=[{x:e.x().range()[0],y:e.y()(s)},{x:e.x().range()[1],y:e.y()(s)}],n=f.default.svg.line().x(function(t){return t.x}).y(function(t){return t.y}).interpolate("linear"),r=e.select("g.chart-body"),i=r.selectAll("path.threshold").data([t]);i.attr("stroke",u).attr("d",n),i.enter().append("path").attr("class","threshold").attr("stroke",u).attr("stroke-width",1).attr("stroke-dasharray","2").attr("d",n),i.exit().remove();var o=e.data().reduce(function(e,t){return t.values.forEach(function(t){return e.push(t.x)}),e},[]),a=r.selectAll("circle.threshold").data(o);a.enter().append("circle").attr("class","threshold").attr("r",4).attr("rel","tooltip").attr("data-original-title",function(){return'
    '.concat(d.default.escape(l),"
    ")}).style("stroke-opacity",1e-6).style("fill-opacity",1e-6).on("mousemove",function(){f.default.select(this).style("stroke-opacity",.8).style("fill-opacity",.8)}).on("mouseout",function(){f.default.select(this).style("stroke-opacity",1e-6).style("fill-opacity",1e-6)}),a.attr("cx",function(t){return c.default.utils.safeNumber(e.x()(t))}).attr("cy",function(){return c.default.utils.safeNumber(e.y()(s))}).attr("data-original-title",function(){return'
    '.concat(l,"
    ")}).attr("fill",u),a.exit().remove()})}),x(w(w(o)),"renderGraph",function(){var t=o._graph,e=o.props.interactive;if(o.graph=S(o.props.config,t,e,o._formatTooltipTitle),o.graph.width(o.props.width).height(o.props.height).margins({left:50,right:15,top:10,bottom:35}).dimension(o.dimension).group(o.group).x(f.default.time.scale()).elasticX(!0).elasticY(!0).renderHorizontalGridLines(!0).brushOn(!1).xAxisLabel("Time").yAxisLabel(o.props.config.field).renderTitle(!1).colors(h.default.glColourPalette()),o.graph.on("postRender",o.props.onRenderComplete),e)(0,v.default)(t).tooltip({selector:'[rel="tooltip"]',container:"body",placement:"auto",delay:{show:300,hide:100},html:!0});o.graph.xAxis().ticks(g.default.customTickInterval()).tickFormat(g.default.customDateTimeFormat()),o.graph.yAxis().ticks(3).tickFormat(function(t){return 1e30, please ensure it was not deleted.");l.default.error(e,"Could not retrieve Configuration")}),f.getConfiguration.promise(t)},getConfigurationSidecars:function(n){var t=(0,c.default)("GET",u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations/").concat(n,"/sidecars")));t.catch(function(t){var e="Fetching Configuration failed with status: ".concat(t);if(404===t.status)e="Unable to find a Configuration with ID <".concat(n,">, please ensure it was not deleted.");l.default.error(e,"Could not retrieve Configuration")}),f.getConfigurationSidecars.promise(t)},renderPreview:function(t){var e={template:t},n=(0,c.default)("POST",u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations/render/preview")),e);n.catch(function(t){l.default.error("Fetching configuration preview failed with status: ".concat(t),"Could not retrieve preview")}),f.renderPreview.promise(n)},createConfiguration:function(t){var e=u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations")),n=(0,c.default)("POST",e,t);n.then(function(t){return l.default.success("","Configuration successfully created"),t},function(t){l.default.error(400===t.status?t.responseMessage:"Creating configuration failed with status: ".concat(t.message),"Could not save configuration")}),f.createConfiguration.promise(n)},updateConfiguration:function(e){var n=this,t=u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations/").concat(e.id)),r=(0,c.default)("PUT",t,e);r.then(function(t){return l.default.success("","Configuration successfully updated"),n.refreshList(),t},function(t){l.default.error("Updating Configuration failed: ".concat(400===t.status?t.responseMessage:t.message),"Could not update Configuration ".concat(e.name))}),f.updateConfiguration.promise(r)},copyConfiguration:function(t,e){var n=this,r=u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations/").concat(t,"/").concat(e)),i=(0,c.default)("POST",r);i.then(function(t){return l.default.success("",'Configuration "'.concat(e,'" successfully copied')),n.refreshList(),t},function(t){l.default.error('Saving configuration "'.concat(e,'" failed with status: ').concat(t.message),"Could not save Configuration")}),f.copyConfiguration.promise(i)},delete:function(e){var n=this,t=u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations/").concat(e.id)),r=(0,c.default)("DELETE",t);r.then(function(t){return l.default.success("",'Configuration "'.concat(e.name,'" successfully deleted')),n.refreshList(),t},function(t){l.default.error("Deleting Configuration failed: ".concat(400===t.status?t.responseMessage:t.message),"Could not delete Configuration ".concat(e.name))}),f.delete.promise(r)},validate:function(t){var e={name:" ",collector_id:" ",color:" ",template:" "};r.default.merge(e,t);var n=(0,c.default)("POST",u.default.qualifyUrl("".concat(this.sourceUrl,"/configurations/validate")),e);n.then(function(t){return t},function(t){return l.default.error('Validating configuration "'.concat(e.name,'" failed with status: ').concat(t.message),"Could not validate configuration")}),f.validate.promise(n)}});exports.default=o,t.exports=exports.default},xkdMMYNG:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({delete:{asyncResult:!0},list:{asyncResult:!0},get:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0},parse:{asyncResult:!0}});exports.default=r,t.exports=exports.default},xmm2qTl3:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({available:{asyncResult:!0},create:{asyncResult:!0},list:{asyncResult:!0},remove:{asyncResult:!0},update:{asyncResult:!0}});exports.default=r,t.exports=exports.default},"y/Amwd9T":function(t,exports,R){(function(p,g){var P;/*! https://mths.be/punycode v1.4.0 by @mathias */!function(t){exports&&exports.nodeType,p&&p.nodeType;var e="object"==typeof g&&g;if(e.global===e||e.window===e||e.self===e)e;var n,m=2147483647,y=36,_=1,b=26,i=38,o=700,w=72,x=128,S="-",r=/^xn--/,a=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=y-_,C=Math.floor,k=String.fromCharCode;function A(t){throw new RangeError(u[t])}function c(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function f(t,e){var n=t.split("@"),r="";if(1>>10&1023|55296),t=56320|1023&t;return e+=k(t)}).join("")}function T(t){if(t-48<10)return t-22;if(t-65<26)return t-65;if(t-97<26)return t-97;else return y}function M(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function O(t,e,n){var r=0;for(t=n?C(t/o):t>>1,t+=C(t/e);l*b>>1C((m-h)/a))A("overflow");if(h+=u*a,u<(l=s<=g?_:g+b<=s?b:s-g))break;if(a>C(m/(c=y-l)))A("overflow");a*=c}if(g=O(h-o,e=f.length+1,0==o),C(h/e)>m-p)A("overflow");p+=C(h/e),h%=e,f.splice(h++,0,p)}return v(f)}function h(t){var e,n,r,i,o,a,s,u,l,c,f,d,h,p,g,v=[];for(d=(t=E(t)).length,e=x,o=w,a=n=0;aC((m-n)/(h=r+1)))A("overflow");for(n+=(s-e)*h,e=s,a=0;am)A("overflow");if(f==e){for(u=n,l=y;!(u<(c=l<=o?_:o+b<=l?b:l-o));l+=y)g=u-c,p=y-c,v.push(k(M(c+g%p,0))),u=C(g/p);v.push(k(M(u,0))),o=O(n,h,r==i),n=0,++r}}++n,++e}return v.join("")}if(n={version:"1.3.2",ucs2:{decode:E,encode:v},decode:d,encode:h,toASCII:function(t){return f(t,function(t){return a.test(t)?"xn--"+h(t):t})},toUnicode:function(t){return f(t,function(t){return r.test(t)?d(t.slice(4).toLowerCase()):t})}})void 0===(P=function(){return n}.call(exports,R,exports,p))||(p.exports=P)}()}).call(this,R("9YbPW59L")(t),R("aY11sVfy"))},yGVfroSW:function(t,exports,e){"use strict";var o=e("8GJ6oOEd"),n=e("GZfD0NTG"),a=e("72UfWcJe").default,r={URL:n.qualifyUrl("/users/"),convertPreferenceMapToArray:function(e){e=e||{};var t=Object.keys(e).map(function(t){return{name:t,value:e[t]}});return t=t.sort(function(t,e){return t.name.localeCompare(e.name)})},convertPreferenceArrayToMap:function(t){var e={};return t.forEach(function(t){e[t.name]=!0===t.value||"true"===t.value}),e},saveUserPreferences:function(t,e){var n=this;if(!this._userName)throw new Error("Need to load user preferences before you can save them");var r=this.convertPreferenceArrayToMap(t),i=this.URL+this._userName+"/preferences";a("PUT",i,{preferences:r}).then(function(){o.success("User preferences successfully saved"),e(t)},function(t){o.error('Saving of preferences for "'+n._userName+'" failed with status: '+t,"Could not save user preferences")})},loadUserPreferences:function(e,n){var r=this;this._userName=e;var t=this.URL+e;a("GET",t).then(function(t){var e=r.convertPreferenceMapToArray(t.preferences);n(e)},function(t){o.error('Loading of user preferences for "'+e+'" failed with status: '+t+". Try reloading the page","Could not retrieve user preferences from server")})}};t.exports=r},zPsgSoui:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({removeWidget:{asyncResult:!0}});exports.default=r,t.exports=exports.default},zZ9hESjW:function(t,exports,e){t.exports=e("9TIQGsxl").crossfilter},zrBetBEQ:function(t,exports,e){"use strict";var n;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var r=((n=e("4KF7VOU5"))&&n.__esModule?n:{default:n}).default.createActions({list:{asyncResult:!0},listAll:{asyncResult:!0},close:{asyncResult:!0},delete:{asyncResult:!0},multiple:{asyncResult:!0},reopen:{asyncResult:!0},subscribe:{asyncResult:!1},unsubscribe:{asyncResult:!1}});exports.default=r,t.exports=exports.default}}); //# sourceMappingURL=builtins.567b98aaba093175141f.js.map




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy