logster 2.15.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/javascript/{chunk.143.0b76bade128635ff26b5.js → chunk.143.f0077efb01d860759a48.js} +4 -4
- data/assets/javascript/{chunk.178.7220dd5fc808cbd8a85c.js → chunk.178.c2a885a31b1689dc7773.js} +3 -3
- data/assets/javascript/client-app.js +455 -440
- data/assets/javascript/vendor.js +1 -1
- data/assets/stylesheets/client-app.css +1 -1
- data/client-app/app/controllers/index.js +81 -1
- data/client-app/app/styles/app.css +16 -7
- data/client-app/app/templates/index.hbs +28 -1
- data/client-app/config/icons.js +1 -0
- data/client-app/tests/unit/controllers/index-test.js +32 -1
- data/lib/logster/version.rb +1 -1
- metadata +4 -4
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict"
|
|
2
2
|
function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}define("client-app/app",["exports","@ember/application","ember-resolver","ember-load-initializers","client-app/config/environment"],(function(e,t,r,n,o){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
3
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function
|
|
3
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,p(n.key),n)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
4
4
|
if(Reflect.construct.sham)return!1
|
|
5
5
|
if("function"==typeof Proxy)return!0
|
|
6
6
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
7
|
-
return function(){var r,n=
|
|
8
|
-
if(t){var o=
|
|
7
|
+
return function(){var r,n=s(e)
|
|
8
|
+
if(t){var o=s(this).constructor
|
|
9
9
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
10
10
|
return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t
|
|
11
11
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
12
12
|
return l(e)}(this,r)}}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
13
|
-
return e}function
|
|
13
|
+
return e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function f(e,t,r){return(t=p(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){var t=function(e,t){if("object"!==i(e)||null===e)return e
|
|
14
14
|
var r=e[Symbol.toPrimitive]
|
|
15
15
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
16
16
|
if("object"!==i(n))return n
|
|
17
17
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
18
18
|
return"symbol"===i(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
19
19
|
var y=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
20
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
21
|
-
var t,n,i,
|
|
20
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)})(p,e)
|
|
21
|
+
var t,n,i,s=c(p)
|
|
22
22
|
function p(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,p)
|
|
23
23
|
for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i]
|
|
24
|
-
return
|
|
24
|
+
return f(l(e=s.call.apply(s,[this].concat(n))),"modulePrefix",o.default.modulePrefix),f(l(e),"podModulePrefix",o.default.podModulePrefix),f(l(e),"Resolver",r.default),e}return t=p,n&&a(t.prototype,n),i&&a(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default)
|
|
25
25
|
e.default=y,(0,n.default)(y,o.default.modulePrefix)})),define("client-app/component-managers/glimmer",["exports","@glimmer/component/-private/ember-component-manager"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/components/actions-menu",["exports","@ember-decorators/component","@ember/component","client-app/lib/decorators","@ember/object"],(function(e,t,r,n,o){var i,a
|
|
26
|
-
function
|
|
27
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function
|
|
26
|
+
function u(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
27
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t)
|
|
28
28
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
29
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
29
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},c.apply(this,arguments)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
30
30
|
if(Reflect.construct.sham)return!1
|
|
31
31
|
if("function"==typeof Proxy)return!0
|
|
32
32
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -35,7 +35,7 @@ if(t){var o=p(this).constructor
|
|
|
35
35
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
36
36
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
37
37
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
38
|
-
return
|
|
38
|
+
return f(e)}(this,r)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
39
39
|
return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function y(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
40
40
|
var r=e[Symbol.toPrimitive]
|
|
41
41
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
@@ -45,27 +45,27 @@ return"symbol"===_typeof(t)?t:String(t)}function d(e,t,r,n,o){var i={}
|
|
|
45
45
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
46
46
|
var h=(0,t.tagName)("span")((a=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
47
47
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)})(i,e)
|
|
48
|
-
var t,r,n,o=
|
|
48
|
+
var t,r,n,o=s(i)
|
|
49
49
|
function i(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
|
50
|
-
for(var a=arguments.length,
|
|
51
|
-
return e=o.call.apply(o,[this].concat(
|
|
50
|
+
for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c]
|
|
51
|
+
return e=o.call.apply(o,[this].concat(u)),t=f(e),n=!1,(r=y(r="showMenu"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=i,r=[{key:"willDestroyElement",value:function(){c(p(i.prototype),"willDestroyElement",this).apply(this,arguments),this.removeOutsideClickHandler()}},{key:"outsideClickHandler",value:function(e){this.element&&!this.element.contains(e.target)&&this.element!==e.target&&(this.set("showMenu",!1),this.updateMenu())}},{key:"updateMenu",value:function(){this.showMenu?this.addOutsideClickHandler():this.removeOutsideClickHandler()}},{key:"addOutsideClickHandler",value:function(){document.addEventListener("click",this.outsideClickHandler)}},{key:"removeOutsideClickHandler",value:function(){document.removeEventListener("click",this.outsideClickHandler)}},{key:"expandMenu",value:function(){this.toggleProperty("showMenu"),this.updateMenu()}}],r&&u(t.prototype,r),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.default),d(a.prototype,"outsideClickHandler",[n.bound],Object.getOwnPropertyDescriptor(a.prototype,"outsideClickHandler"),a.prototype),d(a.prototype,"expandMenu",[o.action],Object.getOwnPropertyDescriptor(a.prototype,"expandMenu"),a.prototype),i=a))||i
|
|
52
52
|
e.default=h})),define("client-app/components/back-trace",["exports","@ember/object","@ember/component","client-app/lib/preload"],(function(e,t,r,n){var o,i,a
|
|
53
|
-
function
|
|
54
|
-
if(null!=r){var n,o,i,a,
|
|
53
|
+
function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
54
|
+
if(null!=r){var n,o,i,a,u=[],c=!0,l=!1
|
|
55
55
|
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
|
56
|
-
|
|
57
|
-
if("string"==typeof e)return
|
|
56
|
+
c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(s){l=!0,o=s}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(e,t)||function(e,t){if(!e)return
|
|
57
|
+
if("string"==typeof e)return c(e,t)
|
|
58
58
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
59
59
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
60
60
|
if("Map"===r||"Set"===r)return Array.from(e)
|
|
61
|
-
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return
|
|
61
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
62
62
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
63
63
|
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
64
64
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
65
65
|
var r=e[Symbol.toPrimitive]
|
|
66
66
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
67
67
|
if("object"!==_typeof(n))return n
|
|
68
|
-
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function
|
|
68
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
69
69
|
if(Reflect.construct.sham)return!1
|
|
70
70
|
if("function"==typeof Proxy)return!0
|
|
71
71
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -76,41 +76,41 @@ return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return
|
|
|
76
76
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
77
77
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
78
78
|
return e}(e)}(this,r)}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function y(e,t,r,n,o){var i={}
|
|
79
|
-
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}function d(e){return e&&"/"!==e[e.length-1]?e+"/":e}function h(e){var t=e.repo,r=e.path,n=e.filename,o=e.lineNumber,i=e.commitSha,a=void 0===i?null:i,
|
|
80
|
-
return/\/tree\//.test(
|
|
79
|
+
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}function d(e){return e&&"/"!==e[e.length-1]?e+"/":e}function h(e){var t=e.repo,r=e.path,n=e.filename,o=e.lineNumber,i=e.commitSha,a=void 0===i?null:i,u=d(t)
|
|
80
|
+
return/\/tree\//.test(u)||(u+="blob/",u+=a?"".concat(a,"/"):"master/"),u+=r+n,/^[0-9]+$/.test(o)&&(u+="#L".concat(o)),u}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
81
81
|
var v=(o=(0,t.computed)("env.application_version"),i=(0,t.computed)("backtrace.length","commitSha"),a=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
82
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
83
|
-
var t,r,o,i=
|
|
82
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)})(a,e)
|
|
83
|
+
var t,r,o,i=f(a)
|
|
84
84
|
function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"commitSha",get:function(){var e=null
|
|
85
85
|
return Array.isArray(this.env)?e=this.env.map((function(e){return e.application_version})).filter((function(e){return e}))[0]:this.env&&(e=this.env.application_version),e||n.default.get("application_version")}},{key:"lines",get:function(){var e=this
|
|
86
86
|
return this.backtrace&&0!==this.backtrace.length?this.backtrace.split("\n").map((function(t){var r=function(e){if(e.startsWith(n.default.get("gems_dir"))){var t=n.default.get("gems_dir")
|
|
87
87
|
return e.substring(t.length)}return e}(t)
|
|
88
88
|
return{line:r,url:e.findGithubURL(t,r)}})):[]}},{key:"githubURLForGem",value:function(e){if(!n.default.get("backtrace_links_enabled"))return null
|
|
89
|
-
var t=
|
|
89
|
+
var t=u(e.match(/([^/]+)\/(.+\/)(.+):(\d+):.*/)||[],5),r=t[1],o=t[2],i=t[3],a=t[4]
|
|
90
90
|
if(!r)return null
|
|
91
|
-
var
|
|
92
|
-
return
|
|
91
|
+
var c=n.default.get("gems_data").filter((function(e){return r.startsWith("".concat(e.name,"-"))})).sortBy("name.length").reverse()[0]
|
|
92
|
+
return c?h({repo:c.url,path:o,filename:i,lineNumber:a}):null}},{key:"githubURLForApp",value:function(e){if(!n.default.get("backtrace_links_enabled"))return null
|
|
93
93
|
var t=n.default.get("directories").filter((function(t){return e.startsWith(t.path)})).sortBy("path.length").reverse()[0]
|
|
94
94
|
if(!t)return null
|
|
95
|
-
var r,o,i,a=d(t.path),
|
|
96
|
-
if(
|
|
97
|
-
l=
|
|
98
|
-
r=
|
|
95
|
+
var r,o,i,a=d(t.path),c=e.substring(a.length),l=""
|
|
96
|
+
if(c.includes("/")){var s=u(c.match(/(.+\/)(.+):(\d+)(:.*)/)||[],5)
|
|
97
|
+
l=s[1],r=s[2],o=s[3],i=s[4]}else{var f=u(c.match(/(.+):(\d+)(:.*)/)||[],4)
|
|
98
|
+
r=f[1],o=f[2],i=f[3]}if(!r||!o||!i)return null
|
|
99
99
|
var p=t.main_app?this.commitSha:null
|
|
100
100
|
return h({repo:t.url,path:l,filename:r,lineNumber:o,commitSha:p})}},{key:"findGithubURL",value:function(e,t){var r=n.default.get("directories")||[],o=e.startsWith(n.default.get("gems_dir")),i=r.some((function(t){return e.startsWith(t.path)}))
|
|
101
101
|
return o||!i?this.githubURLForGem(t):this.githubURLForApp(e)}}])&&l(t.prototype,r),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default),y(a.prototype,"commitSha",[o],Object.getOwnPropertyDescriptor(a.prototype,"commitSha"),a.prototype),y(a.prototype,"lines",[i],Object.getOwnPropertyDescriptor(a.prototype,"lines"),a.prototype),a)
|
|
102
|
-
e.default=v})),define("client-app/components/env-tab",["exports","@ember/object","@ember/component","client-app/lib/utilities","client-app/lib/preload","@ember/template"],(function(e,t,r,n,o,i){var a,c,
|
|
103
|
-
function
|
|
102
|
+
e.default=v})),define("client-app/components/env-tab",["exports","@ember/object","@ember/component","client-app/lib/utilities","client-app/lib/preload","@ember/template"],(function(e,t,r,n,o,i){var a,u,c,l
|
|
103
|
+
function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
104
104
|
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
|
105
|
-
if("string"==typeof e)return
|
|
105
|
+
if("string"==typeof e)return f(e,t)
|
|
106
106
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
107
107
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
108
108
|
if("Map"===r||"Set"===r)return Array.from(e)
|
|
109
|
-
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return
|
|
109
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
|
110
110
|
var n=0,o=function(){}
|
|
111
|
-
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,
|
|
111
|
+
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1
|
|
112
112
|
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
|
113
|
-
return a=e.done,e},e:function(e){
|
|
113
|
+
return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
114
114
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
115
115
|
return n}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
116
116
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
@@ -129,18 +129,18 @@ if(void 0!==t)throw new TypeError("Derived constructors may only return object o
|
|
|
129
129
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
130
130
|
return e}(e)}(this,r)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t,r,n,o){var i={}
|
|
131
131
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
132
|
-
var b=(a=(0,t.computed)("currentEnvPosition","isEnvArray","message.env"),
|
|
133
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(
|
|
134
|
-
var t,r,a,
|
|
135
|
-
function
|
|
136
|
-
var e,t=(0,n.clone)(this.currentEnv),r=
|
|
132
|
+
var b=(a=(0,t.computed)("currentEnvPosition","isEnvArray","message.env"),u=(0,t.computed)("message.env"),c=(0,t.computed)("currentEnv","expanded.[]","isEnvArray","message.env"),l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
133
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(c,e)
|
|
134
|
+
var t,r,a,u=d(c)
|
|
135
|
+
function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return t=c,(r=[{key:"currentEnv",get:function(){return this.isEnvArray?this.message.env[this.currentEnvPosition]:this.message.env}},{key:"isEnvArray",get:function(){return Array.isArray(this.message.env)}},{key:"html",get:function(){if(!this.isEnvArray)return(0,i.htmlSafe)((0,n.buildHashString)(this.message.env))
|
|
136
|
+
var e,t=(0,n.clone)(this.currentEnv),r=s(o.default.get("env_expandable_keys")||[])
|
|
137
137
|
try{for(r.s();!(e=r.n()).done;){var a=e.value
|
|
138
|
-
if(Object.prototype.hasOwnProperty.call(t,a)&&!Array.isArray(t[a])){var c
|
|
139
|
-
try{for(l.s();!(
|
|
140
|
-
|
|
141
|
-
e.default=b})),define("client-app/components/fa-icon",["exports","@fortawesome/ember-fontawesome/components/fa-icon"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/components/message-info",["exports","@ember/object/computed","@ember/component","@ember/object","client-app/lib/preload"],(function(e,t,r,n,o){var i,a,c,
|
|
142
|
-
function
|
|
143
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function
|
|
138
|
+
if(Object.prototype.hasOwnProperty.call(t,a)&&!Array.isArray(t[a])){var u,c=[t[a]],l=s(this.message.env)
|
|
139
|
+
try{for(l.s();!(u=l.n()).done;){var f=u.value
|
|
140
|
+
f[a]&&!c.includes(f[a])&&c.push(f[a])}}catch(p){l.e(p)}finally{l.f()}t[a]=c.length>1?c:c[0]}}}catch(p){r.e(p)}finally{r.f()}return(0,i.htmlSafe)((0,n.buildHashString)(t,!1,this.expanded||[]))}},{key:"click",value:function(e){var t=e.target,r=t.dataset.key;(o.default.get("env_expandable_keys")||[]).includes(r)&&t.classList.contains("expand-list")&&(e.preventDefault(),this.expanded?this.expanded.pushObject(r):this.set("expanded",[r]))}}])&&p(t.prototype,r),a&&p(t,a),Object.defineProperty(t,"prototype",{writable:!1}),c}(r.default),v(l.prototype,"currentEnv",[a],Object.getOwnPropertyDescriptor(l.prototype,"currentEnv"),l.prototype),v(l.prototype,"isEnvArray",[u],Object.getOwnPropertyDescriptor(l.prototype,"isEnvArray"),l.prototype),v(l.prototype,"html",[c],Object.getOwnPropertyDescriptor(l.prototype,"html"),l.prototype),l)
|
|
141
|
+
e.default=b})),define("client-app/components/fa-icon",["exports","@fortawesome/ember-fontawesome/components/fa-icon"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/components/message-info",["exports","@ember/object/computed","@ember/component","@ember/object","client-app/lib/preload"],(function(e,t,r,n,o){var i,a,u,c,l
|
|
142
|
+
function s(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
143
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
144
144
|
if(Reflect.construct.sham)return!1
|
|
145
145
|
if("function"==typeof Proxy)return!0
|
|
146
146
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -157,43 +157,43 @@ if("object"!==_typeof(n))return n
|
|
|
157
157
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
158
158
|
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
|
159
159
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
160
|
-
var b=(i=(0,t.bool)("currentRow.group"),a=(0,n.computed)("currentMessage.protected","showSolveAllButton","showSolveButton"),
|
|
161
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
160
|
+
var b=(i=(0,t.bool)("currentRow.group"),a=(0,n.computed)("currentMessage.protected","showSolveAllButton","showSolveButton"),u=(0,n.computed)("showSolveAllButton","currentMessage.{canSolve,env}"),c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
161
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)})(a,e)
|
|
162
162
|
var t,r,n,i=p(a)
|
|
163
163
|
function a(){var e,t,r,n,o;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a)
|
|
164
|
-
for(var
|
|
165
|
-
return e=i.call.apply(i,[this].concat(
|
|
164
|
+
for(var u=arguments.length,c=new Array(u),s=0;s<u;s++)c[s]=arguments[s]
|
|
165
|
+
return e=i.call.apply(i,[this].concat(c)),t=y(e),r="showSolveAllButton",n=l,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),e}return t=a,(r=[{key:"buttons",get:function(){var e=this.currentMessage.protected,t=[]
|
|
166
166
|
return!e&&this.showSolveButton&&t.push({klass:"solve",action:this.solve,icon:"check-square",label:"Solve",prefix:"far",danger:!0}),this.showSolveAllButton&&t.push({klass:"solve-all",action:this.solveAll,icon:"check-square",label:"Solve All",prefix:"far",danger:!0}),e?t.push({klass:"unprotect",action:this.unprotect,icon:"unlock",prefix:"fas",label:"Unprotect"}):t.push({klass:"remove",action:this.remove,icon:"trash-alt",label:"Remove",prefix:"far",danger:!0},{klass:"protect",action:this.protect,icon:"lock",prefix:"fas",label:"Protect"}),t.push({klass:"copy",action:this.copy,icon:"copy",prefix:"far",label:"Copy"}),t}},{key:"showSolveButton",get:function(){return!this.showSolveAllButton&&(this.currentMessage.env?this.currentMessage.canSolve:!!o.default.get("application_version"))}},{key:"copy",value:function(){var e=this.currentMessage.showCount?"Message (".concat(this.currentMessage.count," copies reported)"):"Message",t="".concat(e,"\n\n").concat(this.currentMessage.message),r="Backtrace\n\n".concat(this.currentMessage.backtrace.split("\n").slice(0,10).join("\n")),n=Array.isArray(this.currentMessage.env)?this.currentMessage.env.map((function(e){return e.HTTP_HOST})).filter((function(e,t,r){return e&&r.indexOf(e)===t})).join(", "):this.currentMessage.env.HTTP_HOST,o=[t,r,n?"Env\n\nHTTP HOSTS: ".concat(n):""].filter((function(e){return e})).join("\n\n"),i=document.createElement("TEXTAREA")
|
|
167
167
|
document.body.appendChild(i),i.value=o,i.select(),document.execCommand("copy"),document.body.removeChild(i)}},{key:"tabChanged",value:function(e){var t
|
|
168
|
-
null===(t=this.onTabChange)||void 0===t||t.call(this,e)}},{key:"protect",value:function(){this.currentMessage.protect()}},{key:"unprotect",value:function(){this.currentMessage.unprotect()}},{key:"remove",value:function(){this.removeMessage(this.currentMessage)}},{key:"solve",value:function(){this.solveMessage(this.currentMessage)}},{key:"solveAll",value:function(){this.currentRow.solveAll()}},{key:"share",value:function(){window.location.pathname=this.currentMessage.shareUrl}}])&&
|
|
168
|
+
null===(t=this.onTabChange)||void 0===t||t.call(this,e)}},{key:"protect",value:function(){this.currentMessage.protect()}},{key:"unprotect",value:function(){this.currentMessage.unprotect()}},{key:"remove",value:function(){this.removeMessage(this.currentMessage)}},{key:"solve",value:function(){this.solveMessage(this.currentMessage)}},{key:"solveAll",value:function(){this.currentRow.solveAll()}},{key:"share",value:function(){window.location.pathname=this.currentMessage.shareUrl}}])&&s(t.prototype,r),n&&s(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default),l=v(c.prototype,"showSolveAllButton",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(c.prototype,"buttons",[a],Object.getOwnPropertyDescriptor(c.prototype,"buttons"),c.prototype),v(c.prototype,"showSolveButton",[u],Object.getOwnPropertyDescriptor(c.prototype,"showSolveButton"),c.prototype),v(c.prototype,"copy",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"copy"),c.prototype),v(c.prototype,"tabChanged",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"tabChanged"),c.prototype),v(c.prototype,"protect",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"protect"),c.prototype),v(c.prototype,"unprotect",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"unprotect"),c.prototype),v(c.prototype,"remove",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"remove"),c.prototype),v(c.prototype,"solve",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"solve"),c.prototype),v(c.prototype,"solveAll",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"solveAll"),c.prototype),v(c.prototype,"share",[n.action],Object.getOwnPropertyDescriptor(c.prototype,"share"),c.prototype),c)
|
|
169
169
|
e.default=b})),define("client-app/components/message-row",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n,o,i
|
|
170
170
|
function a(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
171
171
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
172
172
|
var r=e[Symbol.toPrimitive]
|
|
173
173
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
174
174
|
if("object"!==_typeof(n))return n
|
|
175
|
-
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function
|
|
175
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function u(){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}(e,t)
|
|
176
176
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
177
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
177
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},u.apply(this,arguments)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
178
178
|
if(Reflect.construct.sham)return!1
|
|
179
179
|
if("function"==typeof Proxy)return!0
|
|
180
180
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
181
|
-
return function(){var r,n=
|
|
182
|
-
if(t){var o=
|
|
181
|
+
return function(){var r,n=s(e)
|
|
182
|
+
if(t){var o=s(this).constructor
|
|
183
183
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
184
184
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
185
185
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
186
186
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
187
|
-
return e}(e)}(this,r)}}function
|
|
188
|
-
var
|
|
189
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
190
|
-
var t,r,n,
|
|
191
|
-
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),
|
|
187
|
+
return e}(e)}(this,r)}}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
188
|
+
var f=(0,t.tagName)("div")(n=(0,t.classNameBindings)("model.rowClass",":message-row","model.selected:selected")(n=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
189
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)})(p,e)
|
|
190
|
+
var t,r,n,f=l(p)
|
|
191
|
+
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),f.apply(this,arguments)}return t=p,r=[{key:"willInsertElement",value:function(){if(u(s(p.prototype),"willInsertElement",this).apply(this,arguments),!o){var e=document.getElementById("top-panel")
|
|
192
192
|
if(e){var t=parseFloat(getComputedStyle(e).height)
|
|
193
|
-
i=e.scrollHeight-20<t+e.scrollTop,o=!0}}}},{key:"didInsertElement",value:function(){
|
|
193
|
+
i=e.scrollHeight-20<t+e.scrollTop,o=!0}}}},{key:"didInsertElement",value:function(){u(s(p.prototype),"didInsertElement",this).apply(this,arguments)
|
|
194
194
|
var e=document.getElementById("top-panel")
|
|
195
195
|
e&&(o=!1,i&&(i=!1,e.scrollTop=e.scrollHeight-parseFloat(getComputedStyle(e).height)))}},{key:"click",value:function(){this.selectRow()}}],r&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.default))||n)||n
|
|
196
|
-
e.default=
|
|
196
|
+
e.default=f})),define("client-app/components/page-nav",["exports","@ember-decorators/component","@ember/object/computed","@ember/component","@ember/object"],(function(e,t,r,n,o){var i,a,u,c,l,s,f,p
|
|
197
197
|
function y(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
198
198
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
199
199
|
if(Reflect.construct.sham)return!1
|
|
@@ -212,20 +212,20 @@ if("object"!==_typeof(n))return n
|
|
|
212
212
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
213
213
|
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
|
214
214
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
215
|
-
var w=(i=(0,t.classNames)("nav-controls"),a=(0,t.classNameBindings)("extraClasses"),
|
|
215
|
+
var w=(i=(0,t.classNames)("nav-controls"),a=(0,t.classNameBindings)("extraClasses"),u=(0,r.equal)("position",0),c=(0,o.computed)("position","list.length"),l=(0,o.computed)("position"),i(s=a((f=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
216
216
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)})(i,e)
|
|
217
217
|
var t,r,n,o=h(i)
|
|
218
218
|
function i(){var e,t,r,n,a;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
|
219
|
-
for(var
|
|
220
|
-
return e=o.call.apply(o,[this].concat(
|
|
219
|
+
for(var u=arguments.length,c=new Array(u),l=0;l<u;l++)c[l]=arguments[l]
|
|
220
|
+
return e=o.call.apply(o,[this].concat(c)),t=v(e),r="disableBackButtons",n=p,a=v(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(a):void 0}),e}return t=i,(r=[{key:"disableForwardButtons",get:function(){return this.position===this.list.length-1}},{key:"displayNumber",get:function(){return this.position+1}},{key:"takeStep",value:function(e){var t="back"===e?-1:1
|
|
221
221
|
if(!(1===t&&this.disableForwardButtons||-1===t&&this.disableBackButtons)){var r=this.position+t
|
|
222
222
|
this.navigate(r)}}},{key:"bigJump",value:function(e){var t="back"===e?0:this.list.length-1
|
|
223
|
-
this.navigate(t)}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(n.default),p=g(
|
|
224
|
-
e.default=w})),define("client-app/components/panel-resizer",["exports","@ember-decorators/component","@ember/service","@ember/component","@ember/runloop","client-app/lib/decorators"],(function(e,t,r,n,o,i){var a,c
|
|
223
|
+
this.navigate(t)}}])&&y(t.prototype,r),n&&y(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(n.default),p=g(f.prototype,"disableBackButtons",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(f.prototype,"disableForwardButtons",[c],Object.getOwnPropertyDescriptor(f.prototype,"disableForwardButtons"),f.prototype),g(f.prototype,"displayNumber",[l],Object.getOwnPropertyDescriptor(f.prototype,"displayNumber"),f.prototype),g(f.prototype,"takeStep",[o.action],Object.getOwnPropertyDescriptor(f.prototype,"takeStep"),f.prototype),g(f.prototype,"bigJump",[o.action],Object.getOwnPropertyDescriptor(f.prototype,"bigJump"),f.prototype),s=f))||s)||s)
|
|
224
|
+
e.default=w})),define("client-app/components/panel-resizer",["exports","@ember-decorators/component","@ember/service","@ember/component","@ember/runloop","client-app/lib/decorators"],(function(e,t,r,n,o,i){var a,u,c
|
|
225
225
|
function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
226
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function
|
|
226
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t)
|
|
227
227
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
228
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
228
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},s.apply(this,arguments)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
229
229
|
if(Reflect.construct.sham)return!1
|
|
230
230
|
if("function"==typeof Proxy)return!0
|
|
231
231
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -242,14 +242,14 @@ if("object"!==_typeof(n))return n
|
|
|
242
242
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
243
243
|
return"symbol"===_typeof(t)?t:String(t)}function v(e,t,r,n,o){var i={}
|
|
244
244
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
245
|
-
var b=["touchmove","mousemove"],m=["touchend","mouseup"],g=["touchstart","mousedown"],w=(0,t.classNames)("divider")((
|
|
246
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
245
|
+
var b=["touchmove","mousemove"],m=["touchend","mouseup"],g=["touchstart","mousedown"],w=(0,t.classNames)("divider")((u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
246
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)})(a,e)
|
|
247
247
|
var t,r,n,i=p(a)
|
|
248
|
-
function a(){var e,t,r,n,o,
|
|
249
|
-
for(var
|
|
250
|
-
return e=i.call.apply(i,[this].concat(p)),t=y(e),r="events",n=
|
|
248
|
+
function a(){var e,t,r,n,o,u,l,s;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,a)
|
|
249
|
+
for(var f=arguments.length,p=new Array(f),d=0;d<f;d++)p[d]=arguments[d]
|
|
250
|
+
return e=i.call.apply(i,[this].concat(p)),t=y(e),r="events",n=c,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),u=y(e),s=!1,(l=h(l="resizing"))in u?Object.defineProperty(u,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):u[l]=s,e}return t=a,r=[{key:"didInsertElement",value:function(){s(d(a.prototype),"didInsertElement",this).apply(this,arguments),this.set("divider",document.querySelector(".divider"))
|
|
251
251
|
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
|
252
|
-
this.divider.addEventListener(r,this.dividerClickHandler)}(0,o.scheduleOnce)("afterRender",this,"initialDivideView")}},{key:"willDestroyElement",value:function(){
|
|
252
|
+
this.divider.addEventListener(r,this.dividerClickHandler)}(0,o.scheduleOnce)("afterRender",this,"initialDivideView")}},{key:"willDestroyElement",value:function(){s(d(a.prototype),"willDestroyElement",this).apply(this,arguments)
|
|
253
253
|
for(var e=0,t=g;e<t.length;e++){var r=t[e]
|
|
254
254
|
this.divider.removeEventListener(r,this.dividerClickHandler)}}},{key:"initialDivideView",value:function(){var e=localStorage&&localStorage.logster_divider_bottom||300,t=window.innerHeight-parseInt(e,10)
|
|
255
255
|
this.divideView(t)}},{key:"divideView",value:function(e){var t=window.innerHeight,r=t-e
|
|
@@ -261,50 +261,50 @@ document.removeEventListener(a,this.endDrag)}}},{key:"dividerClickHandler",value
|
|
|
261
261
|
var t=document.createElement("DIV")
|
|
262
262
|
t.id="overlay",document.body.appendChild(t),this.set("resizing",!0)
|
|
263
263
|
for(var r=0,n=b;r<n.length;r++){var o=n[r]
|
|
264
|
-
document.addEventListener(o,this.performDrag)}for(var i=0,a=m;i<a.length;i++){var
|
|
265
|
-
document.addEventListener(
|
|
266
|
-
e.default=w})),define("client-app/components/patterns-list",["exports","@ember/object/computed","@ember/component","@ember/object","client-app/models/pattern-item","client-app/lib/utilities"],(function(e,t,r,n,o,i){var a,c,
|
|
264
|
+
document.addEventListener(o,this.performDrag)}for(var i=0,a=m;i<a.length;i++){var u=a[i]
|
|
265
|
+
document.addEventListener(u,this.endDrag)}}}],r&&l(t.prototype,r),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(n.default),c=v(u.prototype,"events",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v(u.prototype,"performDrag",[i.bound],Object.getOwnPropertyDescriptor(u.prototype,"performDrag"),u.prototype),v(u.prototype,"endDrag",[i.bound],Object.getOwnPropertyDescriptor(u.prototype,"endDrag"),u.prototype),v(u.prototype,"dividerClickHandler",[i.bound],Object.getOwnPropertyDescriptor(u.prototype,"dividerClickHandler"),u.prototype),a=u))||a
|
|
266
|
+
e.default=w})),define("client-app/components/patterns-list",["exports","@ember/object/computed","@ember/component","@ember/object","client-app/models/pattern-item","client-app/lib/utilities"],(function(e,t,r,n,o,i){var a,u,c,l,s,f
|
|
267
267
|
function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e}
|
|
268
|
-
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",
|
|
269
|
-
function
|
|
270
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
271
|
-
var
|
|
268
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag"
|
|
269
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(R){c=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),u=new k(o||[])
|
|
270
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
|
271
|
+
var f={}
|
|
272
272
|
function y(){}function d(){}function h(){}var v={}
|
|
273
|
-
|
|
273
|
+
c(v,i,(function(){return this}))
|
|
274
274
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
275
275
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
276
276
|
var g=h.prototype=y.prototype=Object.create(v)
|
|
277
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
278
|
-
if("throw"!==
|
|
279
|
-
return
|
|
277
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=s(e[n],e,i)
|
|
278
|
+
if("throw"!==c.type){var l=c.arg,f=l.value
|
|
279
|
+
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
280
280
|
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
|
281
281
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
282
282
|
if("completed"===n){if("throw"===o)throw i
|
|
283
283
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
284
|
-
if(a){var
|
|
285
|
-
if(
|
|
286
|
-
return
|
|
284
|
+
if(a){var u=P(a,r)
|
|
285
|
+
if(u){if(u===f)continue
|
|
286
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
287
287
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
288
288
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
289
289
|
n="executing"
|
|
290
|
-
var
|
|
291
|
-
if("normal"===
|
|
292
|
-
return{value:
|
|
293
|
-
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),
|
|
294
|
-
var o=
|
|
295
|
-
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,
|
|
290
|
+
var c=s(e,t,r)
|
|
291
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue
|
|
292
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
293
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f
|
|
294
|
+
var o=s(n,e.iterator,t.arg)
|
|
295
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f
|
|
296
296
|
var i=o.arg
|
|
297
|
-
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,
|
|
297
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(e){var t={tryLoc:e[0]}
|
|
298
298
|
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
|
299
299
|
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
|
300
300
|
if(t)return t.call(e)
|
|
301
301
|
if("function"==typeof e.next)return e
|
|
302
302
|
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
|
303
303
|
return t.value=void 0,t.done=!0,t}
|
|
304
|
-
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=
|
|
305
|
-
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,
|
|
304
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=c(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
305
|
+
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
306
306
|
var a=new O(l(t,r,n,o),i)
|
|
307
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
307
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
308
308
|
for(var n in t)r.push(n)
|
|
309
309
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
310
310
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -314,21 +314,21 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
314
314
|
var t=this
|
|
315
315
|
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
|
316
316
|
if("root"===i.tryLoc)return n("end")
|
|
317
|
-
if(i.tryLoc<=this.prev){var
|
|
318
|
-
if(c
|
|
319
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
317
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
318
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
319
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
320
320
|
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
|
321
321
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
322
322
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
323
323
|
var a=i?i.completion:{}
|
|
324
|
-
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,
|
|
325
|
-
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),
|
|
326
|
-
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),
|
|
324
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
|
325
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
326
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
327
327
|
if(r.tryLoc===e){var n=r.completion
|
|
328
328
|
if("throw"===n.type){var o=n.arg
|
|
329
|
-
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),
|
|
329
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function y(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function d(e){return function(){var t=this,r=arguments
|
|
330
330
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
331
|
-
function a(e){y(i,n,o,a,
|
|
331
|
+
function a(e){y(i,n,o,a,u,"next",e)}function u(e){y(i,n,o,a,u,"throw",e)}a(void 0)}))}}function h(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return
|
|
332
332
|
if("string"==typeof e)return v(e,t)
|
|
333
333
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
334
334
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
@@ -355,21 +355,21 @@ if("object"!==_typeof(n))return n
|
|
|
355
355
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
356
356
|
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
|
357
357
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
358
|
-
var k=(a=(0,t.not)("mutable"),
|
|
358
|
+
var k=(a=(0,t.not)("mutable"),u=(0,t.equal)("key","suppression"),c=(0,n.computed)("patterns.[]","newPatterns.[]"),l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
359
359
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&w(e,t)})(y,e)
|
|
360
|
-
var t,r,n,a,c,
|
|
360
|
+
var t,r,n,a,u,c,l=O(y)
|
|
361
361
|
function y(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,y)
|
|
362
362
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
363
|
-
return b(j(e=l.call.apply(l,[this].concat(r))),"immutable",
|
|
363
|
+
return b(j(e=l.call.apply(l,[this].concat(r))),"immutable",s,j(e)),b(j(e),"showCounter",f,j(e)),e}return t=y,r=[{key:"init",value:function(){g(P(y.prototype),"init",this).apply(this,arguments),this.patterns.length<1&&this.mutable&&this.create()}},{key:"allPatterns",get:function(){var e=this.patterns,t=this.newPatterns||[]
|
|
364
364
|
return[].concat(h(t.reverse()),h(e.reverse()))}},{key:"makeAPICall",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.method
|
|
365
|
-
return delete e.method,(0,i.ajax)("/patterns/".concat(this.key,".json"),{method:t,data:e})}},{key:"finallyBlock",value:function(e){e.set("saving",!1)}},{key:"catchBlock",value:function(e,t){t.responseText?e.set("error",t.responseText):e.set("error","Unknown error occurred. Please see dev console.")}},{key:"requestInit",value:function(e){e.setProperties({saving:!0,error:null})}},{key:"create",value:function(){this.newPatterns||this.set("newPatterns",[]),this.newPatterns.pushObject(o.default.create({isNew:!0}))}},{key:"trash",value:(
|
|
365
|
+
return delete e.method,(0,i.ajax)("/patterns/".concat(this.key,".json"),{method:t,data:e})}},{key:"finallyBlock",value:function(e){e.set("saving",!1)}},{key:"catchBlock",value:function(e,t){t.responseText?e.set("error",t.responseText):e.set("error","Unknown error occurred. Please see dev console.")}},{key:"requestInit",value:function(e){e.setProperties({saving:!0,error:null})}},{key:"create",value:function(){this.newPatterns||this.set("newPatterns",[]),this.newPatterns.pushObject(o.default.create({isNew:!0}))}},{key:"trash",value:(c=d(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isNew){e.next=4
|
|
366
366
|
break}return this.newPatterns.removeObject(t),t.destroy(),e.abrupt("return")
|
|
367
367
|
case 4:return this.requestInit(t),e.prev=5,e.next=8,this.makeAPICall({method:"DELETE",pattern:t.value})
|
|
368
368
|
case 8:this.patterns.removeObject(t),t.destroy(),e.next=15
|
|
369
369
|
break
|
|
370
370
|
case 12:e.prev=12,e.t0=e.catch(5),this.catchBlock(t,e.t0)
|
|
371
371
|
case 15:return e.prev=15,this.finallyBlock(t),e.finish(15)
|
|
372
|
-
case 18:case"end":return e.stop()}}),e,this,[[5,12,15,18]])}))),function(e){return
|
|
372
|
+
case 18:case"end":return e.stop()}}),e,this,[[5,12,15,18]])}))),function(e){return c.apply(this,arguments)})},{key:"save",value:(u=d(p().mark((function e(t){var r,n
|
|
373
373
|
return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.requestInit(t),e.prev=1,!t.isNew){e.next=12
|
|
374
374
|
break}return e.next=5,this.makeAPICall({method:"POST",pattern:t.valueBuffer,retroactive:!!t.retroactive})
|
|
375
375
|
case 5:r=e.sent,t.updateValue(r.pattern),t.set("isNew",!1),this.patterns.pushObject(t),this.newPatterns.removeObject(t),e.next=17
|
|
@@ -380,17 +380,17 @@ case 17:e.next=22
|
|
|
380
380
|
break
|
|
381
381
|
case 19:e.prev=19,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
|
382
382
|
case 22:return e.prev=22,this.finallyBlock(t),e.finish(22)
|
|
383
|
-
case 25:case"end":return e.stop()}}),e,this,[[1,19,22,25]])}))),function(e){return
|
|
383
|
+
case 25:case"end":return e.stop()}}),e,this,[[1,19,22,25]])}))),function(e){return u.apply(this,arguments)})},{key:"resetCount",value:(a=d(p().mark((function e(t){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.set("saving",!0),e.prev=1,e.next=4,(0,i.ajax)("/reset-count.json",{method:"PUT",data:{pattern:t.value,hard:!!t.hard}})
|
|
384
384
|
case 4:t.set("count",0),e.next=10
|
|
385
385
|
break
|
|
386
386
|
case 7:e.prev=7,e.t0=e.catch(1),this.catchBlock(t,e.t0)
|
|
387
387
|
case 10:return e.prev=10,this.finallyBlock(t),e.finish(10)
|
|
388
|
-
case 13:case"end":return e.stop()}}),e,this,[[1,7,10,13]])}))),function(e){return a.apply(this,arguments)})},{key:"checkboxChanged",value:function(e){e.toggleProperty("retroactive")}}],r&&m(t.prototype,r),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.default),
|
|
388
|
+
case 13:case"end":return e.stop()}}),e,this,[[1,7,10,13]])}))),function(e){return a.apply(this,arguments)})},{key:"checkboxChanged",value:function(e){e.toggleProperty("retroactive")}}],r&&m(t.prototype,r),n&&m(t,n),Object.defineProperty(t,"prototype",{writable:!1}),y}(r.default),s=x(l.prototype,"immutable",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=x(l.prototype,"showCounter",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x(l.prototype,"allPatterns",[c],Object.getOwnPropertyDescriptor(l.prototype,"allPatterns"),l.prototype),x(l.prototype,"create",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"create"),l.prototype),x(l.prototype,"trash",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"trash"),l.prototype),x(l.prototype,"save",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"save"),l.prototype),x(l.prototype,"resetCount",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"resetCount"),l.prototype),x(l.prototype,"checkboxChanged",[n.action],Object.getOwnPropertyDescriptor(l.prototype,"checkboxChanged"),l.prototype),l)
|
|
389
389
|
e.default=k})),define("client-app/components/tab-contents",["exports","@ember-decorators/component","@ember/component"],(function(e,t,r){var n
|
|
390
390
|
function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
391
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,
|
|
391
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=l(e)););return e}(e,t)
|
|
392
392
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
393
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function
|
|
393
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
394
394
|
if(Reflect.construct.sham)return!1
|
|
395
395
|
if("function"==typeof Proxy)return!0
|
|
396
396
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -399,22 +399,22 @@ if(t){var o=l(this).constructor
|
|
|
399
399
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
400
400
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
401
401
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
402
|
-
return
|
|
403
|
-
return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function
|
|
402
|
+
return c(e)}(this,r)}}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
403
|
+
return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function s(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
404
404
|
var r=e[Symbol.toPrimitive]
|
|
405
405
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
406
406
|
if("object"!==_typeof(n))return n
|
|
407
407
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
408
408
|
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
409
|
-
var
|
|
409
|
+
var f=(0,t.classNameBindings)("active",":content","name")(n=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
410
410
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,e)
|
|
411
|
-
var t,r,n,
|
|
411
|
+
var t,r,n,f=u(p)
|
|
412
412
|
function p(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,p)
|
|
413
413
|
for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a]
|
|
414
|
-
return e=
|
|
415
|
-
e.default=
|
|
414
|
+
return e=f.call.apply(f,[this].concat(i)),t=c(e),n=!1,(r=s(r="isLink"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=p,r=[{key:"didInsertElement",value:function(){i(l(p.prototype),"didInsertElement",this).apply(this,arguments),this.tabActions.addTab(this),this.defaultTab&&this.tabActions.selectTab(this)}},{key:"willDestroyElement",value:function(){i(l(p.prototype),"willDestroyElement",this).apply(this,arguments),this.tabActions.removeTab(this)}}],r&&o(t.prototype,r),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),p}(r.default))||n
|
|
415
|
+
e.default=f})),define("client-app/components/tabbed-section",["exports","@ember/component","@ember/array","@ember/object"],(function(e,t,r,n){var o
|
|
416
416
|
function i(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
417
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,
|
|
417
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
418
418
|
if(Reflect.construct.sham)return!1
|
|
419
419
|
if("function"==typeof Proxy)return!0
|
|
420
420
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -423,8 +423,8 @@ if(t){var o=l(this).constructor
|
|
|
423
423
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
424
424
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
425
425
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
426
|
-
return
|
|
427
|
-
return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function
|
|
426
|
+
return c(e)}(this,r)}}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
427
|
+
return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function s(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
428
428
|
var r=e[Symbol.toPrimitive]
|
|
429
429
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
430
430
|
if("object"!==_typeof(n))return n
|
|
@@ -432,13 +432,13 @@ throw new TypeError("@@toPrimitive must return a primitive value.")}return("stri
|
|
|
432
432
|
return"symbol"===_typeof(t)?t:String(t)}function p(e,t,r,n,o){var i={}
|
|
433
433
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
434
434
|
var y=(o=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
435
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(
|
|
436
|
-
var t,n,o,l=
|
|
437
|
-
function
|
|
435
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(f,e)
|
|
436
|
+
var t,n,o,l=u(f)
|
|
437
|
+
function f(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,f)
|
|
438
438
|
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
|
439
|
-
return
|
|
440
|
-
e.default=y})),define("client-app/components/time-formatter",["exports","@ember-decorators/component","@ember/object","@ember/component","client-app/lib/utilities","@ember/runloop"],(function(e,t,r,n,o,i){var a,c,
|
|
441
|
-
function
|
|
439
|
+
return s(c(e=l.call.apply(l,[this].concat(n))),"tabs",(0,r.A)()),s(c(e),"selected",null),e}return t=f,(n=[{key:"selectTab",value:function(e){e.isLink?this.triggerAction(e.action):(this.selected&&this.selected.set("active",!1),this.set("selected",e),e.set("active",!0),this.onTabChange(e.name))}},{key:"addTab",value:function(e){this.tabs.addObject(e),this.selected||e.isLink||this.selectTab(e)}},{key:"removeTab",value:function(e){this.selected===e&&this.set("selected",null),this.tabs.removeObject(e)}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),f}(t.default),p(o.prototype,"selectTab",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"selectTab"),o.prototype),p(o.prototype,"addTab",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"addTab"),o.prototype),p(o.prototype,"removeTab",[n.action],Object.getOwnPropertyDescriptor(o.prototype,"removeTab"),o.prototype),o)
|
|
440
|
+
e.default=y})),define("client-app/components/time-formatter",["exports","@ember-decorators/component","@ember/object","@ember/component","client-app/lib/utilities","@ember/runloop"],(function(e,t,r,n,o,i){var a,u,c,l,s
|
|
441
|
+
function f(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
442
442
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
443
443
|
var r=e[Symbol.toPrimitive]
|
|
444
444
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
@@ -457,52 +457,59 @@ if(void 0!==t)throw new TypeError("Derived constructors may only return object o
|
|
|
457
457
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
458
458
|
return e}(e)}(this,r)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function v(e,t,r,n,o){var i={}
|
|
459
459
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
460
|
-
var b=6e4,m=(a=(0,t.tagName)(""),
|
|
461
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(
|
|
462
|
-
var t,r,n,a=d(
|
|
463
|
-
function
|
|
464
|
-
e.default=m})),define("client-app/controllers/index",["exports","@ember/runloop","@ember/object","@ember/controller","client-app/lib/utilities","client-app/lib/preload","@glimmer/tracking"],(function(e,t,r,n,o,i,a){var c,
|
|
465
|
-
function
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
460
|
+
var b=6e4,m=(a=(0,t.tagName)(""),u=(0,r.computed)("timestamp"),c=(0,r.computed)("timestamp"),a((s=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
461
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(u,e)
|
|
462
|
+
var t,r,n,a=d(u)
|
|
463
|
+
function u(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a.apply(this,arguments)}return t=u,r=[{key:"didInsertElement",value:function(){p(h(u.prototype),"didInsertElement",this).apply(this,arguments),(0,i.later)(this,this.updateTime,b)}},{key:"title",get:function(){return moment(this.timestamp).format()}},{key:"time",get:function(){return(0,o.formatTime)(this.timestamp)}},{key:"updateTime",value:function(){this.isDestroying||this.isDestroyed||(this.notifyPropertyChange("timestamp"),(0,i.later)(this,this.updateTime,b))}}],r&&f(t.prototype,r),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(n.default),v(s.prototype,"title",[u],Object.getOwnPropertyDescriptor(s.prototype,"title"),s.prototype),v(s.prototype,"time",[c],Object.getOwnPropertyDescriptor(s.prototype,"time"),s.prototype),l=s))||l)
|
|
464
|
+
e.default=m})),define("client-app/controllers/index",["exports","@ember/runloop","@ember/object","@ember/controller","client-app/lib/utilities","client-app/lib/preload","@glimmer/tracking"],(function(e,t,r,n,o,i,a){var u,c,l,s,f
|
|
465
|
+
function p(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return
|
|
466
|
+
if("string"==typeof e)return y(e,t)
|
|
467
|
+
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
468
|
+
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
469
|
+
if("Map"===r||"Set"===r)return Array.from(e)
|
|
470
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
471
|
+
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
472
|
+
return n}function d(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */d=function(){return e}
|
|
473
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag"
|
|
474
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(R){c=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),u=new k(o||[])
|
|
475
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
|
476
|
+
var f={}
|
|
477
|
+
function p(){}function y(){}function h(){}var v={}
|
|
478
|
+
c(v,i,(function(){return this}))
|
|
472
479
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
473
480
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
474
|
-
var g=h.prototype=
|
|
475
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
476
|
-
if("throw"!==
|
|
477
|
-
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,
|
|
481
|
+
var g=h.prototype=p.prototype=Object.create(v)
|
|
482
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=s(e[n],e,i)
|
|
483
|
+
if("throw"!==c.type){var l=c.arg,f=l.value
|
|
484
|
+
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
478
485
|
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
|
479
486
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
480
487
|
if("completed"===n){if("throw"===o)throw i
|
|
481
488
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
482
|
-
if(a){var
|
|
483
|
-
if(
|
|
484
|
-
return
|
|
489
|
+
if(a){var u=P(a,r)
|
|
490
|
+
if(u){if(u===f)continue
|
|
491
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
485
492
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
486
493
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
487
494
|
n="executing"
|
|
488
|
-
var
|
|
489
|
-
if("normal"===
|
|
490
|
-
return{value:
|
|
491
|
-
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),
|
|
495
|
+
var c=s(e,t,r)
|
|
496
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue
|
|
497
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
498
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f
|
|
492
499
|
var o=s(n,e.iterator,t.arg)
|
|
493
|
-
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,
|
|
500
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f
|
|
494
501
|
var i=o.arg
|
|
495
|
-
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,
|
|
502
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(e){var t={tryLoc:e[0]}
|
|
496
503
|
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
|
497
504
|
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
|
498
505
|
if(t)return t.call(e)
|
|
499
506
|
if("function"==typeof e.next)return e
|
|
500
507
|
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
|
501
508
|
return t.value=void 0,t.done=!0,t}
|
|
502
|
-
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return
|
|
503
|
-
return!!t&&(t===
|
|
509
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:y,configurable:!0}),y.displayName=c(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
510
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
504
511
|
var a=new O(l(t,r,n,o),i)
|
|
505
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
512
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
506
513
|
for(var n in t)r.push(n)
|
|
507
514
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
508
515
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -512,86 +519,94 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
512
519
|
var t=this
|
|
513
520
|
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
|
514
521
|
if("root"===i.tryLoc)return n("end")
|
|
515
|
-
if(i.tryLoc<=this.prev){var
|
|
516
|
-
if(c
|
|
517
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
522
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
523
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
524
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
518
525
|
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
|
519
526
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
520
527
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
521
528
|
var a=i?i.completion:{}
|
|
522
|
-
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,
|
|
523
|
-
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),
|
|
524
|
-
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),
|
|
529
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
|
530
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
531
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
525
532
|
if(r.tryLoc===e){var n=r.completion
|
|
526
533
|
if("throw"===n.type){var o=n.arg
|
|
527
|
-
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),
|
|
534
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function h(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function v(e){return function(){var t=this,r=arguments
|
|
528
535
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
529
|
-
function a(e){
|
|
530
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,
|
|
536
|
+
function a(e){h(i,n,o,a,u,"next",e)}function u(e){h(i,n,o,a,u,"throw",e)}a(void 0)}))}}function b(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
537
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
531
538
|
if(Reflect.construct.sham)return!1
|
|
532
539
|
if("function"==typeof Proxy)return!0
|
|
533
540
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
534
|
-
return function(){var r,n=
|
|
535
|
-
if(t){var o=
|
|
541
|
+
return function(){var r,n=j(e)
|
|
542
|
+
if(t){var o=j(this).constructor
|
|
536
543
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
537
544
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
538
545
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
539
|
-
return
|
|
540
|
-
return e}function
|
|
546
|
+
return O(e)}(this,r)}}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
547
|
+
return e}function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function P(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
541
548
|
var r=e[Symbol.toPrimitive]
|
|
542
549
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
543
550
|
if("object"!==_typeof(n))return n
|
|
544
551
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
545
|
-
return"symbol"===_typeof(t)?t:String(t)}function
|
|
552
|
+
return"symbol"===_typeof(t)?t:String(t)}function x(e,t,r,n,o){var i={}
|
|
546
553
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
547
|
-
var
|
|
548
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
549
|
-
var r,n,a,c,
|
|
550
|
-
function
|
|
551
|
-
for(var
|
|
552
|
-
return e=
|
|
554
|
+
var k=(u=(0,r.computed)("search"),c=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
555
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)})(_,e)
|
|
556
|
+
var r,n,a,u,c,y,h,j=w(_)
|
|
557
|
+
function _(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,_)
|
|
558
|
+
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
559
|
+
return b(O(e=j.call.apply(j,[this].concat(r))),"loading",l,O(e)),b(O(e),"buildingGroupingPattern",s,O(e)),b(O(e),"rowMessagesForGroupingPattern",f,O(e)),P(O(e),"showDebug",(0,o.getLocalStorage)("showDebug",!1)),P(O(e),"showInfo",(0,o.getLocalStorage)("showInfo",!1)),P(O(e),"showWarn",(0,o.getLocalStorage)("showWarn",!0)),P(O(e),"showErr",(0,o.getLocalStorage)("showErr",!0)),P(O(e),"showFatal",(0,o.getLocalStorage)("showFatal",!0)),P(O(e),"search",null),P(O(e),"queryParams",["search"]),e}return r=_,n=[{key:"showSettings",get:function(){return i.default.get("patterns_enabled")}},{key:"actionsInMenu",get:function(){return/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent)}},{key:"showCreateGroupingPattern",get:function(){return this.buildingGroupingPattern&&this.rowMessagesForGroupingPattern.length>1}},{key:"searchTerm",get:function(){return this.search?(this.doSearch(this.search),this.search):null}},{key:"doSearch",value:(h=v(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.model.set("search",t),this.loading=!0,e.next=4,this.model.reload()
|
|
553
560
|
case 4:this.loading=!1,this.model.updateSelectedRow()
|
|
554
|
-
case 6:case"end":return e.stop()}}),e,this)}))),function(e){return
|
|
561
|
+
case 6:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"resizePanels",value:function(e){var t=document.getElementById("bottom-panel"),r=document.getElementById("top-panel")
|
|
555
562
|
t.style.height="".concat(e-13,"px"),r.style.bottom="".concat(e+12,"px")}},{key:"expandMessage",value:function(e){e.expand()}},{key:"selectRowAction",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
|
556
|
-
this.model.selectRow(e,t)}},{key:"tabChangedAction",value:function(e){this.model.tabChanged(e)}},{key:"showMoreBefore",value:function(){this.model.showMoreBefore()}},{key:"loadMore",value:function(){return this.model.loadMore()}},{key:"clear",value:(
|
|
563
|
+
this.model.selectRow(e,t)}},{key:"handleCheckboxChange",value:function(e,t){t.target.checked?this.rowMessagesForGroupingPattern=[].concat(p(this.rowMessagesForGroupingPattern),[e.message]):this.rowMessagesForGroupingPattern=this.rowMessagesForGroupingPattern.filter((function(t){return t!==e.message}))}},{key:"tabChangedAction",value:function(e){this.model.tabChanged(e)}},{key:"showMoreBefore",value:function(){this.model.showMoreBefore()}},{key:"loadMore",value:function(){return this.model.loadMore()}},{key:"clear",value:(y=v(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!confirm("Clear the logs?\n\nCancel = No, OK = Clear")){e.next=5
|
|
557
564
|
break}return e.next=3,(0,o.ajax)("/clear",{type:"POST"})
|
|
558
|
-
case 3:this.
|
|
559
|
-
case
|
|
565
|
+
case 3:this.model.reload(),this.loading=!1
|
|
566
|
+
case 5:case"end":return e.stop()}}),e,this)}))),function(){return y.apply(this,arguments)})},{key:"removeMessage",value:function(e){var t=this.model.currentRow.group?this.model.currentRow:null,r=this.model.rows,n=t?r.indexOf(t):r.indexOf(e)
|
|
560
567
|
e.destroy(),e.set("selected",!1),this.model.set("total",this.model.total-1)
|
|
561
568
|
var o=!1,i=0
|
|
562
|
-
t?(i=t.messages.indexOf(e),t.messages.removeObject(e),i=Math.min(i,t.messages.length-1),0===t.messages.length&&(r.removeObject(t),o=!0)):(r.removeObject(e),o=!0),o?n>0?this.model.selectRow(r[n-1]):this.model.total>0?this.model.selectRow(r[0]):this.model.reload():t&&this.model.selectRow(r[n],{messageIndex:i})}},{key:"solveMessage",value:function(e){this.model.solve(e)}},{key:"groupedMessageChangedAction",value:function(e){this.model.groupedMessageChanged(e)}},{key:"envChangedAction",value:function(e){this.model.envChanged(e)}},{key:"updateFilter",value:(c=
|
|
569
|
+
t?(i=t.messages.indexOf(e),t.messages.removeObject(e),i=Math.min(i,t.messages.length-1),0===t.messages.length&&(r.removeObject(t),o=!0)):(r.removeObject(e),o=!0),o?n>0?this.model.selectRow(r[n-1]):this.model.total>0?this.model.selectRow(r[0]):this.model.reload():t&&this.model.selectRow(r[n],{messageIndex:i})}},{key:"solveMessage",value:function(e){this.model.solve(e)}},{key:"groupedMessageChangedAction",value:function(e){this.model.groupedMessageChanged(e)}},{key:"envChangedAction",value:function(e){this.model.envChanged(e)}},{key:"updateFilter",value:(c=v(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.toggleProperty(t),this.model.set(t,this[t]),(0,o.setLocalStorage)(t,this[t]),this.loading=!0,e.next=6,this.model.reload()
|
|
563
570
|
case 6:this.loading=!1,this.model.updateSelectedRow()
|
|
564
571
|
case 8:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"updateSearch",value:function(e){var r=e.target.value
|
|
565
|
-
r!==this.search&&(r&&1===r.length||(0,t.debounce)(this,this.doSearch,r,250))}}
|
|
566
|
-
e.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
572
|
+
r!==this.search&&(r&&1===r.length||(0,t.debounce)(this,this.doSearch,r,250))}},{key:"toggleGroupingPatternFromSelectedRows",value:function(){this.buildingGroupingPattern=!this.buildingGroupingPattern,this.rowMessagesForGroupingPattern=[]}},{key:"createGroupingPatternFromSelectedRows",value:(u=v(d().mark((function e(){var t
|
|
573
|
+
return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.findLongestMatchingPrefix(this.rowMessagesForGroupingPattern),!(t=this.escapeRegExp(t)).trim().length||!confirm('Do you want to create the grouping pattern\n\n"'.concat(t,'"\n\nCancel = No, OK = Create'))){e.next=10
|
|
574
|
+
break}return e.next=5,(0,o.ajax)("/patterns/grouping.json",{method:"POST",data:{pattern:t}})
|
|
575
|
+
case 5:this.rowMessagesForGroupingPattern=[],this.buildingGroupingPattern=!1,this.model.reload(),e.next=11
|
|
576
|
+
break
|
|
577
|
+
case 10:t.trim().length||alert("Can not create a grouping pattern with the given rows")
|
|
578
|
+
case 11:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"findLongestMatchingPrefix",value:function(e){for(var t=e.reduce((function(e,t){return t.length<e.length?t:e}),e[0]),r="",n=function(){var n=t.substring(0,o+1)
|
|
579
|
+
if(!e.every((function(e){return e.includes(n)})))return"break"
|
|
580
|
+
r=n},o=0;o<t.length&&"break"!==n();o++);return r}},{key:"escapeRegExp",value:function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}],n&&m(r.prototype,n),a&&m(r,a),Object.defineProperty(r,"prototype",{writable:!1}),_}(n.default),l=x(c.prototype,"loading",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=x(c.prototype,"buildingGroupingPattern",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f=x(c.prototype,"rowMessagesForGroupingPattern",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),x(c.prototype,"showSettings",[r.computed],Object.getOwnPropertyDescriptor(c.prototype,"showSettings"),c.prototype),x(c.prototype,"searchTerm",[u],Object.getOwnPropertyDescriptor(c.prototype,"searchTerm"),c.prototype),x(c.prototype,"expandMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"expandMessage"),c.prototype),x(c.prototype,"selectRowAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"selectRowAction"),c.prototype),x(c.prototype,"handleCheckboxChange",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"handleCheckboxChange"),c.prototype),x(c.prototype,"tabChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"tabChangedAction"),c.prototype),x(c.prototype,"showMoreBefore",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"showMoreBefore"),c.prototype),x(c.prototype,"loadMore",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"loadMore"),c.prototype),x(c.prototype,"clear",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"clear"),c.prototype),x(c.prototype,"removeMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"removeMessage"),c.prototype),x(c.prototype,"solveMessage",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"solveMessage"),c.prototype),x(c.prototype,"groupedMessageChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"groupedMessageChangedAction"),c.prototype),x(c.prototype,"envChangedAction",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"envChangedAction"),c.prototype),x(c.prototype,"updateFilter",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"updateFilter"),c.prototype),x(c.prototype,"updateSearch",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"updateSearch"),c.prototype),x(c.prototype,"toggleGroupingPatternFromSelectedRows",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"toggleGroupingPatternFromSelectedRows"),c.prototype),x(c.prototype,"createGroupingPatternFromSelectedRows",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"createGroupingPatternFromSelectedRows"),c.prototype),c)
|
|
581
|
+
e.default=k})),define("client-app/controllers/show",["exports","@ember/controller","@ember/object","@ember/service"],(function(e,t,r,n){var o,i,a,u
|
|
582
|
+
function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e}
|
|
583
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag"
|
|
584
|
+
function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(R){l=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),u=new k(o||[])
|
|
585
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=s
|
|
571
586
|
var p={}
|
|
572
587
|
function y(){}function d(){}function h(){}var v={}
|
|
573
588
|
l(v,i,(function(){return this}))
|
|
574
589
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
575
590
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
576
591
|
var g=h.prototype=y.prototype=Object.create(v)
|
|
577
|
-
function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,
|
|
578
|
-
if("throw"!==
|
|
579
|
-
return
|
|
592
|
+
function w(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=f(e[n],e,i)
|
|
593
|
+
if("throw"!==c.type){var l=c.arg,s=l.value
|
|
594
|
+
return s&&"object"==_typeof(s)&&r.call(s,"__await")?t.resolve(s.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(s).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
580
595
|
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
|
581
596
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
582
597
|
if("completed"===n){if("throw"===o)throw i
|
|
583
598
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
584
|
-
if(a){var
|
|
585
|
-
if(
|
|
586
|
-
return
|
|
599
|
+
if(a){var u=P(a,r)
|
|
600
|
+
if(u){if(u===p)continue
|
|
601
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
587
602
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
588
603
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
589
604
|
n="executing"
|
|
590
|
-
var
|
|
591
|
-
if("normal"===
|
|
592
|
-
return{value:
|
|
605
|
+
var c=f(e,t,r)
|
|
606
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===p)continue
|
|
607
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
593
608
|
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p
|
|
594
|
-
var o=
|
|
609
|
+
var o=f(n,e.iterator,t.arg)
|
|
595
610
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p
|
|
596
611
|
var i=o.arg
|
|
597
612
|
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function _(e){var t={tryLoc:e[0]}
|
|
@@ -601,10 +616,10 @@ if(t)return t.call(e)
|
|
|
601
616
|
if("function"==typeof e.next)return e
|
|
602
617
|
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
|
603
618
|
return t.value=void 0,t.done=!0,t}
|
|
604
|
-
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=l(h,
|
|
605
|
-
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,
|
|
606
|
-
var a=new O(
|
|
607
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),l(g,
|
|
619
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=l(h,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
620
|
+
return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,l(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),l(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
621
|
+
var a=new O(s(t,r,n,o),i)
|
|
622
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),l(g,u,"Generator"),l(g,i,(function(){return this})),l(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
608
623
|
for(var n in t)r.push(n)
|
|
609
624
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
610
625
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -614,9 +629,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
614
629
|
var t=this
|
|
615
630
|
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
|
616
631
|
if("root"===i.tryLoc)return n("end")
|
|
617
|
-
if(i.tryLoc<=this.prev){var
|
|
618
|
-
if(c
|
|
619
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
632
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
633
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
634
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
620
635
|
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
|
621
636
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
622
637
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -626,9 +641,9 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
626
641
|
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
627
642
|
if(r.tryLoc===e){var n=r.completion
|
|
628
643
|
if("throw"===n.type){var o=n.arg
|
|
629
|
-
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function l(e,t,r,n,o,i,a){try{var
|
|
644
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function l(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function s(e){return function(){var t=this,r=arguments
|
|
630
645
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
631
|
-
function a(e){l(i,n,o,a,
|
|
646
|
+
function a(e){l(i,n,o,a,u,"next",e)}function u(e){l(i,n,o,a,u,"throw",e)}a(void 0)}))}}function f(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
632
647
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,b(n.key),n)}}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
633
648
|
if(Reflect.construct.sham)return!1
|
|
634
649
|
if("function"==typeof Proxy)return!0
|
|
@@ -650,14 +665,14 @@ var g=(o=(0,t.inject)("index"),i=function(e){(function(e,t){if("function"!=typeo
|
|
|
650
665
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(v,e)
|
|
651
666
|
var t,r,n,o,i,l=d(v)
|
|
652
667
|
function v(){var e,t,r,n;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,v)
|
|
653
|
-
for(var o=arguments.length,i=new Array(o),
|
|
654
|
-
return
|
|
668
|
+
for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c]
|
|
669
|
+
return f(h(e=l.call.apply(l,[this].concat(i))),"router",a,h(e)),f(h(e),"indexController",u,h(e)),t=h(e),n=0,(r=b(r="envPosition"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,e}return t=v,r=[{key:"protect",value:function(){this.model.protect()}},{key:"unprotect",value:function(){this.model.unprotect()}},{key:"solveMessage",value:(i=s(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.solve()
|
|
655
670
|
case 2:this.router.transitionTo("index")
|
|
656
|
-
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"removeMessage",value:(o=
|
|
671
|
+
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"removeMessage",value:(o=s(c().mark((function e(t){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.destroy()
|
|
657
672
|
case 2:this.router.transitionTo("index")
|
|
658
|
-
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"envChanged",value:function(e){this.set("envPosition",e)}}],r&&p(t.prototype,r),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(t.default),a=m(i.prototype,"router",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),
|
|
659
|
-
e.default=g})),define("client-app/helpers/app-version",["exports","@ember/component/helper","client-app/config/environment","ember-cli-app-version/utils/regexp"],(function(e,t,r,n){function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.default.APP.version,i=t.versionOnly||t.hideSha,a=t.shaOnly||t.hideVersion,
|
|
660
|
-
return i&&(t.showExtended&&(
|
|
673
|
+
case 3:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"envChanged",value:function(e){this.set("envPosition",e)}}],r&&p(t.prototype,r),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(t.default),a=m(i.prototype,"router",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=m(i.prototype,"indexController",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m(i.prototype,"protect",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"protect"),i.prototype),m(i.prototype,"unprotect",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"unprotect"),i.prototype),m(i.prototype,"solveMessage",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"solveMessage"),i.prototype),m(i.prototype,"removeMessage",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"removeMessage"),i.prototype),m(i.prototype,"envChanged",[r.action],Object.getOwnPropertyDescriptor(i.prototype,"envChanged"),i.prototype),i)
|
|
674
|
+
e.default=g})),define("client-app/helpers/app-version",["exports","@ember/component/helper","client-app/config/environment","ember-cli-app-version/utils/regexp"],(function(e,t,r,n){function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.default.APP.version,i=t.versionOnly||t.hideSha,a=t.shaOnly||t.hideVersion,u=null
|
|
675
|
+
return i&&(t.showExtended&&(u=o.match(n.versionExtendedRegExp)),u||(u=o.match(n.versionRegExp))),a&&(u=o.match(n.shaRegExp)),u?u[0]:o}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=o,e.default=void 0
|
|
661
676
|
var i=(0,t.helper)(o)
|
|
662
677
|
e.default=i})),define("client-app/helpers/ensure-safe-component",["exports","@embroider/util"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.EnsureSafeComponentHelper}})})),define("client-app/helpers/logster-url",["exports","@ember/component/helper","client-app/lib/preload"],(function(e,t,r){function n(e){var t=e[0]
|
|
663
678
|
return"/"!==t[0]&&(t="/".concat(t)),(0,r.getRootPath)()+t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.logsterUrl=n
|
|
@@ -667,46 +682,46 @@ var n=(0,t.helper)(r)
|
|
|
667
682
|
e.default=n})),define("client-app/helpers/page-title",["exports","ember-page-title/helpers/page-title"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
668
683
|
var r=t.default
|
|
669
684
|
e.default=r})),define("client-app/initializers/app-init",["exports","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return e}
|
|
670
|
-
var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},
|
|
671
|
-
function
|
|
672
|
-
return i(a,"_invoke",{value:P(e,r,
|
|
685
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag"
|
|
686
|
+
function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(L){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),u=new S(n||[])
|
|
687
|
+
return i(a,"_invoke",{value:P(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=f
|
|
673
688
|
var y={}
|
|
674
689
|
function d(){}function h(){}function v(){}var b={}
|
|
675
|
-
|
|
690
|
+
s(b,u,(function(){return this}))
|
|
676
691
|
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
|
677
|
-
g&&g!==t&&r.call(g,
|
|
692
|
+
g&&g!==t&&r.call(g,u)&&(b=g)
|
|
678
693
|
var w=v.prototype=d.prototype=Object.create(b)
|
|
679
|
-
function O(e){["next","throw","return"].forEach((function(t){
|
|
680
|
-
if("throw"!==l.type){var
|
|
681
|
-
return
|
|
694
|
+
function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(i,a,u,c){var l=p(e[i],e,a)
|
|
695
|
+
if("throw"!==l.type){var s=l.arg,f=s.value
|
|
696
|
+
return f&&"object"==n(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,u,c)}),(function(e){o("throw",e,u,c)})):t.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return o("throw",e,u,c)}))}c(l.arg)}var a
|
|
682
697
|
i(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function P(e,t,r){var n="suspendedStart"
|
|
683
698
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
684
699
|
if("completed"===n){if("throw"===o)throw i
|
|
685
|
-
return
|
|
686
|
-
if(a){var
|
|
687
|
-
if(
|
|
688
|
-
return
|
|
700
|
+
return R()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
701
|
+
if(a){var u=_(a,r)
|
|
702
|
+
if(u){if(u===y)continue
|
|
703
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
689
704
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
690
705
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
691
706
|
n="executing"
|
|
692
|
-
var
|
|
693
|
-
if("normal"===
|
|
694
|
-
return{value:
|
|
707
|
+
var c=p(e,t,r)
|
|
708
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===y)continue
|
|
709
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r]
|
|
695
710
|
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y
|
|
696
711
|
var o=p(n,e.iterator,t.arg)
|
|
697
712
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
|
698
713
|
var i=o.arg
|
|
699
714
|
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,y):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function x(e){var t={tryLoc:e[0]}
|
|
700
715
|
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{}
|
|
701
|
-
t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var t=e[
|
|
716
|
+
t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var t=e[u]
|
|
702
717
|
if(t)return t.call(e)
|
|
703
718
|
if("function"==typeof e.next)return e
|
|
704
719
|
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
|
705
720
|
return t.value=void 0,t.done=!0,t}
|
|
706
|
-
return o.next=o}}return{next:
|
|
707
|
-
return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,
|
|
708
|
-
var a=new j(
|
|
709
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),
|
|
721
|
+
return o.next=o}}return{next:R}}function R(){return{value:void 0,done:!0}}return h.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:h,configurable:!0}),h.displayName=s(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
722
|
+
return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
723
|
+
var a=new j(f(t,r,n,o),i)
|
|
724
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),s(w,l,"Generator"),s(w,u,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
710
725
|
for(var n in t)r.push(n)
|
|
711
726
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
712
727
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -716,9 +731,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
716
731
|
var t=this
|
|
717
732
|
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
|
718
733
|
if("root"===i.tryLoc)return n("end")
|
|
719
|
-
if(i.tryLoc<=this.prev){var
|
|
720
|
-
if(c
|
|
721
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
734
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
735
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
736
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
722
737
|
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
|
723
738
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
724
739
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -728,26 +743,26 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
728
743
|
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
729
744
|
if(r.tryLoc===e){var n=r.completion
|
|
730
745
|
if("throw"===n.type){var o=n.arg
|
|
731
|
-
k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),y}},e}function i(e,t,r,n,o,i,a){try{var
|
|
732
|
-
return e=o().mark((function e(n){var i,a,c,
|
|
746
|
+
k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),y}},e}function i(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function a(e){return u.apply(this,arguments)}function u(){var e
|
|
747
|
+
return e=o().mark((function e(n){var i,a,u,c,l,s,f,p
|
|
733
748
|
return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.resolveRegistration("config:environment"),(0,r.setRootPath)(i.rootURL.replace(/\/$/,"")),"development"!==i.environment){e.next=18
|
|
734
749
|
break}return n.deferReadiness(),e.prev=4,e.next=7,(0,t.ajax)("/development-preload.json")
|
|
735
750
|
case 7:a=e.sent,document.getElementById("preloaded-data").setAttribute("data-preloaded",JSON.stringify(a)),e.next=15
|
|
736
751
|
break
|
|
737
752
|
case 12:e.prev=12,e.t0=e.catch(4),console.error("Fetching preload data failed.",e.t0)
|
|
738
753
|
case 15:return e.prev=15,n.advanceReadiness(),e.finish(15)
|
|
739
|
-
case 18:moment.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"secs",m:"a min",mm:"%d mins",h:"an hr",hh:"%d hrs",d:"a day",dd:"%d days",M:"a mth",MM:"%d mths",y:"a yr",yy:"%d yrs"}}),l=0,
|
|
740
|
-
case 20:if(!(l<
|
|
741
|
-
break}if(s
|
|
742
|
-
break}return
|
|
754
|
+
case 18:moment.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"secs",m:"a min",mm:"%d mins",h:"an hr",hh:"%d hrs",d:"a day",dd:"%d days",M:"a mth",MM:"%d mths",y:"a yr",yy:"%d yrs"}}),l=0,s=["","webkit","ms","moz","ms"]
|
|
755
|
+
case 20:if(!(l<s.length)){e.next=30
|
|
756
|
+
break}if(f=s[l],p=f+(""===f?"hidden":"Hidden"),void 0===document[p]){e.next=27
|
|
757
|
+
break}return u=p,c=f+"visibilitychange",e.abrupt("break",30)
|
|
743
758
|
case 27:l++,e.next=20
|
|
744
759
|
break
|
|
745
|
-
case 30:(0,t.updateHiddenProperty)(
|
|
746
|
-
case 34:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})),
|
|
760
|
+
case 30:(0,t.updateHiddenProperty)(u),document.addEventListener(c,t.resetTitleCount,!1),/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent)&&document.body.classList.add("mobile")
|
|
761
|
+
case 34:case"end":return e.stop()}}),e,null,[[4,12,15,18]])})),u=function(){var t=this,r=arguments
|
|
747
762
|
return new Promise((function(n,o){var a=e.apply(t,r)
|
|
748
|
-
function
|
|
749
|
-
var
|
|
750
|
-
e.default=
|
|
763
|
+
function u(e){i(a,n,o,u,c,"next",e)}function c(e){i(a,n,o,u,c,"throw",e)}u(void 0)}))},u.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=a
|
|
764
|
+
var c={initialize:a}
|
|
765
|
+
e.default=c})),define("client-app/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","client-app/config/environment"],(function(e,t,r){var n,o
|
|
751
766
|
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r.default.APP&&(n=r.default.APP.name,o=r.default.APP.version)
|
|
752
767
|
var i={name:"App Version",initialize:(0,t.default)(n,o)}
|
|
753
768
|
e.default=i})),define("client-app/initializers/container-debug-adapter",["exports","ember-resolver/resolvers/classic/container-debug-adapter"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
@@ -765,46 +780,46 @@ return{get:function(){return this[o]||this.set(o,n.bind(this)),this[o]}}}})),def
|
|
|
765
780
|
var r,n={},o=!1
|
|
766
781
|
function i(){var e=document.getElementById("preloaded-data").dataset;(n=e.preloaded?JSON.parse(e.preloaded):{}).rootPath=r,o=!0}var a={get:function(e){return o||i(),n[e]}}
|
|
767
782
|
e.default=a})),define("client-app/lib/utilities",["exports","client-app/lib/preload"],(function(e,t){function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e}
|
|
768
|
-
var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},
|
|
769
|
-
function
|
|
770
|
-
return i(a,"_invoke",{value:P(e,r,
|
|
783
|
+
var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag"
|
|
784
|
+
function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(L){s=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var o=t&&t.prototype instanceof d?t:d,a=Object.create(o.prototype),u=new S(n||[])
|
|
785
|
+
return i(a,"_invoke",{value:P(e,r,u)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(L){return{type:"throw",arg:L}}}e.wrap=f
|
|
771
786
|
var y={}
|
|
772
787
|
function d(){}function h(){}function v(){}var b={}
|
|
773
|
-
|
|
788
|
+
s(b,u,(function(){return this}))
|
|
774
789
|
var m=Object.getPrototypeOf,g=m&&m(m(E([])))
|
|
775
|
-
g&&g!==t&&o.call(g,
|
|
790
|
+
g&&g!==t&&o.call(g,u)&&(b=g)
|
|
776
791
|
var w=v.prototype=d.prototype=Object.create(b)
|
|
777
|
-
function O(e){["next","throw","return"].forEach((function(t){
|
|
778
|
-
if("throw"!==l.type){var
|
|
779
|
-
return
|
|
792
|
+
function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(i,a,u,c){var l=p(e[i],e,a)
|
|
793
|
+
if("throw"!==l.type){var s=l.arg,f=s.value
|
|
794
|
+
return f&&"object"==n(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,u,c)}),(function(e){r("throw",e,u,c)})):t.resolve(f).then((function(e){s.value=e,u(s)}),(function(e){return r("throw",e,u,c)}))}c(l.arg)}var a
|
|
780
795
|
i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function P(e,t,r){var n="suspendedStart"
|
|
781
796
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
782
797
|
if("completed"===n){if("throw"===o)throw i
|
|
783
|
-
return
|
|
784
|
-
if(a){var
|
|
785
|
-
if(
|
|
786
|
-
return
|
|
798
|
+
return R()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
799
|
+
if(a){var u=_(a,r)
|
|
800
|
+
if(u){if(u===y)continue
|
|
801
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
787
802
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
788
803
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
789
804
|
n="executing"
|
|
790
|
-
var
|
|
791
|
-
if("normal"===
|
|
792
|
-
return{value:
|
|
805
|
+
var c=p(e,t,r)
|
|
806
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===y)continue
|
|
807
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function _(e,t){var r=t.method,n=e.iterator[r]
|
|
793
808
|
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y
|
|
794
809
|
var o=p(n,e.iterator,t.arg)
|
|
795
810
|
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,y
|
|
796
811
|
var i=o.arg
|
|
797
812
|
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,y):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,y)}function x(e){var t={tryLoc:e[0]}
|
|
798
813
|
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{}
|
|
799
|
-
t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var t=e[
|
|
814
|
+
t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e){var t=e[u]
|
|
800
815
|
if(t)return t.call(e)
|
|
801
816
|
if("function"==typeof e.next)return e
|
|
802
817
|
if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t
|
|
803
818
|
return t.value=void 0,t.done=!0,t}
|
|
804
|
-
return n.next=n}}return{next:
|
|
805
|
-
return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,
|
|
806
|
-
var a=new j(
|
|
807
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),
|
|
819
|
+
return n.next=n}}return{next:R}}function R(){return{value:void 0,done:!0}}return h.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:h,configurable:!0}),h.displayName=s(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
820
|
+
return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(j.prototype),s(j.prototype,c,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
821
|
+
var a=new j(f(t,r,n,o),i)
|
|
822
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),s(w,l,"Generator"),s(w,u,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
808
823
|
for(var n in t)r.push(n)
|
|
809
824
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
810
825
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -814,9 +829,9 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
814
829
|
var t=this
|
|
815
830
|
function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion
|
|
816
831
|
if("root"===i.tryLoc)return r("end")
|
|
817
|
-
if(i.tryLoc<=this.prev){var
|
|
818
|
-
if(c
|
|
819
|
-
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(
|
|
832
|
+
if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc")
|
|
833
|
+
if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)
|
|
834
|
+
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
820
835
|
if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r]
|
|
821
836
|
if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n
|
|
822
837
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
@@ -826,10 +841,10 @@ return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(t
|
|
|
826
841
|
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
827
842
|
if(r.tryLoc===e){var n=r.completion
|
|
828
843
|
if("throw"===n.type){var o=n.arg
|
|
829
|
-
k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),y}},e}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t,r,n,o,i,a){try{var
|
|
830
|
-
if(null!=r){var n,o,i,a,
|
|
844
|
+
k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),y}},e}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
845
|
+
if(null!=r){var n,o,i,a,u=[],c=!0,l=!1
|
|
831
846
|
try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return
|
|
832
|
-
|
|
847
|
+
c=!1}else for(;!(c=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(s){l=!0,o=s}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return u}}(e,t)||function(e,t){if(!e)return
|
|
833
848
|
if("string"==typeof e)return a(e,t)
|
|
834
849
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
835
850
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
@@ -838,22 +853,22 @@ if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(
|
|
|
838
853
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
839
854
|
return n}Object.defineProperty(e,"__esModule",{value:!0}),e.ajax=p,e.buildArrayString=v,e.buildHashString=function e(r,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]
|
|
840
855
|
if(!r)return""
|
|
841
|
-
for(var
|
|
842
|
-
if(null===b)
|
|
856
|
+
for(var u=[],c=[],l=t.default.get("env_expandable_keys")||[],s=0,p=Object.entries(r);s<p.length;s++){var y=i(p[s],2),d=y[0],b=y[1]
|
|
857
|
+
if(null===b)u.push("null")
|
|
843
858
|
else if("[object Array]"===Object.prototype.toString.call(b)){var m=""
|
|
844
|
-
m=l.includes(d)&&!o&&!a.includes(d)&&b.length>3?"".concat(
|
|
859
|
+
m=l.includes(d)&&!o&&!a.includes(d)&&b.length>3?"".concat(f(b[0]),', <a class="expand-list" data-key=').concat(d,">").concat(b.length-1," more</a>"):"".concat(f(b[0]),", ").concat(v(b.slice(1,b.length))),u.push("<tr><td>".concat(f(d),"</td><td>").concat(m,"</td></tr>"))}else if("object"===n(b))c.push(d)
|
|
845
860
|
else if("time"===d&&"number"==typeof b){var g=moment(b).format(),w=h(b)
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
t[a]=
|
|
861
|
+
u.push('<tr title="'.concat(g,'"><td>').concat(d,"</td><td>").concat(w,"</td></tr>"))}else u.push("<tr><td>".concat(f(d),"</td><td>").concat(f(b),"</td></tr>"))}for(var O=0,j=c;O<j.length;O++){var P=j[O],_=r[P]
|
|
862
|
+
u.push("<tr><td></td><td><table>"),u.push("<td>".concat(f(P),"</td><td>").concat(e(_,!0),"</td>")),u.push("</table></td></tr>")}return"<table class='".concat(o?"":"env-table","'>").concat(u.join("\n"),"</table>")},e.clone=function(e){for(var t={},r=0,n=Object.entries(e);r<n.length;r++){var o=i(n[r],2),a=o[0],u=o[1]
|
|
863
|
+
t[a]=u}return t},e.escapeHtml=f,e.formatTime=h,e.getLocalStorage=function(e,t){try{if(window.localStorage){e="logster-"+e
|
|
849
864
|
var r=window.localStorage.getItem(e)
|
|
850
865
|
return null===r?t:"true"===r||"false"!==r&&r}return t}catch(n){return t}},e.increaseTitleCount=function(e){if(!d())return
|
|
851
|
-
|
|
852
|
-
var c,
|
|
853
|
-
function
|
|
866
|
+
c||(c=document.title),l||(l=0),l+=e,document.title="".concat(c," (").concat(l,")")},e.isHidden=d,e.preloadOrAjax=function(e,t){return y.apply(this,arguments)},e.resetTitleCount=function(){l=0,document.title=c||document.title},e.setLocalStorage=function(e,t){try{window.localStorage&&(e="logster-"+e,window.localStorage.setItem(e,t))}catch(r){}},e.updateHiddenProperty=function(e){u=e}
|
|
867
|
+
var u,c,l,s={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}
|
|
868
|
+
function f(e){return String(e).replace(/[&<>"'/]/g,(function(e){return s[e]}))}function p(e,r){return new Promise((function(n,o){r||(r={})
|
|
854
869
|
var a=new XMLHttpRequest
|
|
855
|
-
if(e=(0,t.getRootPath)()+e,r.data)for(var
|
|
856
|
-
e+=e.includes("?")?"&":"?",e+="".concat(
|
|
870
|
+
if(e=(0,t.getRootPath)()+e,r.data)for(var u=0,c=Object.entries(r.data);u<c.length;u++){var l=i(c[u],2),s=l[0],f=l[1]
|
|
871
|
+
e+=e.includes("?")?"&":"?",e+="".concat(s,"=").concat(encodeURIComponent(f))}if(a.open(r.method||r.type||"GET",e),a.setRequestHeader("X-SILENCE-LOGGER",!0),r.headers)for(var p=0,y=Object.entries(r.headers);p<y.length;p++){var d=i(y[p],2),h=d[0],v=d[1]
|
|
857
872
|
a.setRequestHeader(h,v)}a.onreadystatechange=function(){if(4===a.readyState){var e=a.status
|
|
858
873
|
if(e>=200&&e<300||304===e){var t=a.getResponseHeader("Content-Type"),r=a.responseText;/\bjson\b/.test(t)&&(r=JSON.parse(r)),n(r)}else o(a)}},a.send()}))}function y(){var e
|
|
859
874
|
return e=r().mark((function e(n,o){var i
|
|
@@ -863,9 +878,9 @@ case 5:return e.next=7,p(n,o)
|
|
|
863
878
|
case 7:return e.abrupt("return",e.sent)
|
|
864
879
|
case 8:case"end":return e.stop()}}),e)})),y=function(){var t=this,r=arguments
|
|
865
880
|
return new Promise((function(n,i){var a=e.apply(t,r)
|
|
866
|
-
function
|
|
867
|
-
return t.diff(r.startOf("day"))>0?t.format("h:mm a"):t.diff(r.startOf("week"))>0?t.format("dd h:mm a"):t.diff(r.startOf("year"))>0?t.format("D MMM h:mm a"):t.format("D MMM YY")}function v(e){return"["+e.map((function(e){return null===e?"null":Array.isArray(e)?v(e):
|
|
868
|
-
function
|
|
881
|
+
function u(e){o(a,n,i,u,c,"next",e)}function c(e){o(a,n,i,u,c,"throw",e)}u(void 0)}))},y.apply(this,arguments)}function d(){return void 0!==u?document[u]:!document.hasFocus}function h(e){var t=moment(e),r=moment()
|
|
882
|
+
return t.diff(r.startOf("day"))>0?t.format("h:mm a"):t.diff(r.startOf("week"))>0?t.format("dd h:mm a"):t.diff(r.startOf("year"))>0?t.format("D MMM h:mm a"):t.format("D MMM YY")}function v(e){return"["+e.map((function(e){return null===e?"null":Array.isArray(e)?v(e):f(e.toString())})).join(", ")+"]"}})),define("client-app/models/group",["exports","@ember/object/computed","client-app/models/message","@ember/object","client-app/lib/utilities"],(function(e,t,r,n,o){var i,a,u,c,l
|
|
883
|
+
function s(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
869
884
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t)
|
|
870
885
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
871
886
|
return o.get?o.get.call(arguments.length<3?e:r):o.value}},p.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
@@ -885,61 +900,61 @@ if("object"!==_typeof(n))return n
|
|
|
885
900
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
886
901
|
return"symbol"===_typeof(t)?t:String(t)}function g(e,t,r,n,o){var i={}
|
|
887
902
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
888
|
-
var w=(i=(0,t.reads)("regex"),a=(0,t.reads)("messages.firstObject.message"),
|
|
889
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(
|
|
890
|
-
var t,n,i,a=d(
|
|
891
|
-
function
|
|
903
|
+
var w=(i=(0,t.reads)("regex"),a=(0,t.reads)("messages.firstObject.message"),u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
904
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)})(u,e)
|
|
905
|
+
var t,n,i,a=d(u)
|
|
906
|
+
function u(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,u)
|
|
892
907
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
893
|
-
return b(h(e=a.call.apply(a,[this].concat(r))),"selected",!1),b(h(e),"showCount",!0),
|
|
908
|
+
return b(h(e=a.call.apply(a,[this].concat(r))),"selected",!1),b(h(e),"showCount",!0),s(h(e),"key",c,h(e)),s(h(e),"displayMessage",l,h(e)),e}return t=u,n=[{key:"init",value:function(){p(v(u.prototype),"init",this).apply(this,arguments)
|
|
894
909
|
var e=this.messages.map((function(e){return r.default.create(e)}))
|
|
895
|
-
this.set("messages",e)}},{key:"glyph",get:function(){return"clone"}},{key:"prefix",get:function(){return"far"}},{key:"solveAll",value:function(){return(0,o.ajax)("/solve-group",{type:"POST",data:{regex:this.regex}})}}],n&&
|
|
896
|
-
e.default=w})),define("client-app/models/message-collection",["exports","client-app/lib/utilities","client-app/models/message","client-app/models/group","@ember/utils","@ember/object","@ember/array"],(function(e,t,r,n,o,i,a){var c,
|
|
910
|
+
this.set("messages",e)}},{key:"glyph",get:function(){return"clone"}},{key:"prefix",get:function(){return"far"}},{key:"solveAll",value:function(){return(0,o.ajax)("/solve-group",{type:"POST",data:{regex:this.regex}})}}],n&&f(t.prototype,n),i&&f(t,i),Object.defineProperty(t,"prototype",{writable:!1}),u}(n.default),c=g(u.prototype,"key",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=g(u.prototype,"displayMessage",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g(u.prototype,"glyph",[n.computed],Object.getOwnPropertyDescriptor(u.prototype,"glyph"),u.prototype),g(u.prototype,"prefix",[n.computed],Object.getOwnPropertyDescriptor(u.prototype,"prefix"),u.prototype),u)
|
|
911
|
+
e.default=w})),define("client-app/models/message-collection",["exports","client-app/lib/utilities","client-app/models/message","client-app/models/group","@ember/utils","@ember/object","@ember/array"],(function(e,t,r,n,o,i,a){var u,c,l,s,f,p,y
|
|
897
912
|
function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
898
913
|
if(!r){if(Array.isArray(e)||(r=k(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
|
899
914
|
var n=0,o=function(){}
|
|
900
|
-
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,
|
|
915
|
+
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1
|
|
901
916
|
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
|
902
|
-
return a=e.done,e},e:function(e){
|
|
903
|
-
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",
|
|
904
|
-
function
|
|
905
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
906
|
-
var
|
|
917
|
+
return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e}
|
|
918
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag"
|
|
919
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(R){c=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),u=new k(o||[])
|
|
920
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
|
921
|
+
var f={}
|
|
907
922
|
function p(){}function y(){}function d(){}var v={}
|
|
908
|
-
|
|
923
|
+
c(v,i,(function(){return this}))
|
|
909
924
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
910
925
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
911
926
|
var g=d.prototype=p.prototype=Object.create(v)
|
|
912
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
913
|
-
if("throw"!==
|
|
914
|
-
return
|
|
927
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=s(e[n],e,i)
|
|
928
|
+
if("throw"!==c.type){var l=c.arg,f=l.value
|
|
929
|
+
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
915
930
|
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
|
916
931
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
917
932
|
if("completed"===n){if("throw"===o)throw i
|
|
918
933
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
919
|
-
if(a){var
|
|
920
|
-
if(
|
|
921
|
-
return
|
|
934
|
+
if(a){var u=P(a,r)
|
|
935
|
+
if(u){if(u===f)continue
|
|
936
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
922
937
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
923
938
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
924
939
|
n="executing"
|
|
925
|
-
var
|
|
926
|
-
if("normal"===
|
|
927
|
-
return{value:
|
|
928
|
-
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),
|
|
929
|
-
var o=
|
|
930
|
-
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,
|
|
940
|
+
var c=s(e,t,r)
|
|
941
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue
|
|
942
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
943
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f
|
|
944
|
+
var o=s(n,e.iterator,t.arg)
|
|
945
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f
|
|
931
946
|
var i=o.arg
|
|
932
|
-
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,
|
|
947
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(e){var t={tryLoc:e[0]}
|
|
933
948
|
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
|
934
949
|
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
|
935
950
|
if(t)return t.call(e)
|
|
936
951
|
if("function"==typeof e.next)return e
|
|
937
952
|
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
|
938
953
|
return t.value=void 0,t.done=!0,t}
|
|
939
|
-
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:y,configurable:!0}),y.displayName=
|
|
940
|
-
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,
|
|
954
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:y,configurable:!0}),y.displayName=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
955
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
941
956
|
var a=new O(l(t,r,n,o),i)
|
|
942
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
957
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
943
958
|
for(var n in t)r.push(n)
|
|
944
959
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
945
960
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -949,21 +964,21 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
949
964
|
var t=this
|
|
950
965
|
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
|
951
966
|
if("root"===i.tryLoc)return n("end")
|
|
952
|
-
if(i.tryLoc<=this.prev){var
|
|
953
|
-
if(c
|
|
954
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
967
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
968
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
969
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
955
970
|
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
|
956
971
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
957
972
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
958
973
|
var a=i?i.completion:{}
|
|
959
|
-
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,
|
|
960
|
-
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),
|
|
961
|
-
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),
|
|
974
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
|
975
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
976
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
962
977
|
if(r.tryLoc===e){var n=r.completion
|
|
963
978
|
if("throw"===n.type){var o=n.arg
|
|
964
|
-
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),
|
|
979
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function v(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function b(e){return function(){var t=this,r=arguments
|
|
965
980
|
return new Promise((function(n,o){var i=e.apply(t,r)
|
|
966
|
-
function a(e){v(i,n,o,a,
|
|
981
|
+
function a(e){v(i,n,o,a,u,"next",e)}function u(e){v(i,n,o,a,u,"throw",e)}a(void 0)}))}}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
967
982
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
968
983
|
if(Reflect.construct.sham)return!1
|
|
969
984
|
if("function"==typeof Proxy)return!0
|
|
@@ -987,12 +1002,12 @@ for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
|
987
1002
|
return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SEVERITIES=void 0
|
|
988
1003
|
var E=["Debug","Info","Warn","Err","Fatal"]
|
|
989
1004
|
e.SEVERITIES=E
|
|
990
|
-
var L
|
|
1005
|
+
var R,L=(u=i.computed.apply(void 0,function(e){if(Array.isArray(e))return S(e)}(R=E.map((function(e){return"show".concat(e)})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(R)||k(R)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=(0,i.computed)("currentRow","currentGroupedMessagesPosition"),l=(0,i.computed)("filter","search.length"),s=(0,i.computed)("rows.length","canLoadMore"),f=(0,i.computed)("total","rows.length"),p=(0,i.computed)("search"),y=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
991
1006
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)})(v,e)
|
|
992
|
-
var i,c,
|
|
1007
|
+
var i,u,c,l,s,f,p,y=w(v)
|
|
993
1008
|
function v(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,v)
|
|
994
1009
|
for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
|
|
995
|
-
return P(O(e=y.call.apply(y,[this].concat(r))),"total",0),P(O(e),"rows",(0,a.A)()),P(O(e),"currentRow",null),P(O(e),"currentTab",null),P(O(e),"currentEnvPosition",0),P(O(e),"currentGroupedMessagesPosition",0),P(O(e),"search",""),e}return i=v,
|
|
1010
|
+
return P(O(e=y.call.apply(y,[this].concat(r))),"total",0),P(O(e),"rows",(0,a.A)()),P(O(e),"currentRow",null),P(O(e),"currentTab",null),P(O(e),"currentEnvPosition",0),P(O(e),"currentGroupedMessagesPosition",0),P(O(e),"search",""),e}return i=v,u=[{key:"filter",get:function(){var e=this,t=[]
|
|
996
1011
|
return E.forEach((function(r,n){e["show".concat(r)]&&t.push(n)})),t.push(5),t}},{key:"currentMessage",get:function(){var e=this.currentRow,t=this.currentGroupedMessagesPosition
|
|
997
1012
|
return e&&e.group?e.messages[t]:e}},{key:"hideCountInLoadMore",get:function(){var e=this.filter
|
|
998
1013
|
return this.search&&this.search.length>0||e&&e.length<6}},{key:"moreBefore",get:function(){return this.rows.length>=50&&this.canLoadMore}},{key:"totalBefore",get:function(){return this.total-this.rows.length}},{key:"regexSearch",get:function(){var e=this.search
|
|
@@ -1011,7 +1026,7 @@ if(t.force||r&&!r.env&&"env"===this.currentTab)return this.set("loadingEnv",!0),
|
|
|
1011
1026
|
return null!=e&&e.group&&null!==(t=this.currentRow)&&void 0!==t&&t.group&&e.key===this.currentRow.key&&(r=e.messages.mapBy("key").indexOf(this.currentMessage.key),r=Math.max(0,r)),r}},{key:"updateSelectedRow",value:function(){var e,t=null===(e=this.currentRow)||void 0===e?void 0:e.key
|
|
1012
1027
|
if(t&&this.rows){var r=this.rows.find((function(e){return e.key===t}))
|
|
1013
1028
|
if(r){var n=this.findEquivalentMessageIndex(r)
|
|
1014
|
-
this.selectRow(r,{messageIndex:n})}else this.setProperties({currentRow:null,currentEnvPosition:0,currentGroupedMessagesPosition:0})}}},{key:"load",value:(
|
|
1029
|
+
this.selectRow(r,{messageIndex:n})}else this.setProperties({currentRow:null,currentEnvPosition:0,currentGroupedMessagesPosition:0})}}},{key:"load",value:(f=b(h().mark((function e(r){var n,i,a,u,c,l,s,f,p,y
|
|
1015
1030
|
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r||(r={}),n={filter:this.filter.join("_")},this.search&&this.search.length>0&&(n.search=this.search,this.regexSearch&&(n.regex_search="true")),r.before&&(n.before=r.before,r.knownGroups&&(n.known_groups=r.knownGroups)),r.after&&(n.after=r.after),this.set("loading",!0),e.prev=6,e.next=9,(0,t.ajax)("/messages.json",{data:n,method:"POST"})
|
|
1016
1031
|
case 9:if(i=e.sent,0===(0,o.compare)(i.filter,this.filter)){e.next=12
|
|
1017
1032
|
break}return e.abrupt("return")
|
|
@@ -1021,79 +1036,79 @@ case 14:if(!(i.messages.length>0)){e.next=56
|
|
|
1021
1036
|
break}if(a=this.toObjects(i.messages),!r.before){e.next=20
|
|
1022
1037
|
break}this.rows.unshiftObjects(a),e.next=56
|
|
1023
1038
|
break
|
|
1024
|
-
case 20:
|
|
1025
|
-
case 23:if((u
|
|
1026
|
-
break}l=
|
|
1027
|
-
case 28:if((s
|
|
1028
|
-
break}if((p=
|
|
1039
|
+
case 20:u=d(a),e.prev=21,u.s()
|
|
1040
|
+
case 23:if((c=u.n()).done){e.next=46
|
|
1041
|
+
break}l=c.value,s=d(this.rows),e.prev=26,s.s()
|
|
1042
|
+
case 28:if((f=s.n()).done){e.next=36
|
|
1043
|
+
break}if((p=f.value).key===l.key){e.next=32
|
|
1029
1044
|
break}return e.abrupt("continue",34)
|
|
1030
1045
|
case 32:this.rows.removeObject(p),this.currentRow===p&&(y=this.findEquivalentMessageIndex(l),this.selectRow(l,{messageIndex:y}))
|
|
1031
1046
|
case 34:e.next=28
|
|
1032
1047
|
break
|
|
1033
1048
|
case 36:e.next=41
|
|
1034
1049
|
break
|
|
1035
|
-
case 38:e.prev=38,e.t0=e.catch(26),
|
|
1036
|
-
case 41:return e.prev=41,
|
|
1050
|
+
case 38:e.prev=38,e.t0=e.catch(26),s.e(e.t0)
|
|
1051
|
+
case 41:return e.prev=41,s.f(),e.finish(41)
|
|
1037
1052
|
case 44:e.next=23
|
|
1038
1053
|
break
|
|
1039
1054
|
case 46:e.next=51
|
|
1040
1055
|
break
|
|
1041
|
-
case 48:e.prev=48,e.t1=e.catch(21),
|
|
1042
|
-
case 51:return e.prev=51,
|
|
1056
|
+
case 48:e.prev=48,e.t1=e.catch(21),u.e(e.t1)
|
|
1057
|
+
case 51:return e.prev=51,u.f(),e.finish(51)
|
|
1043
1058
|
case 54:this.rows.addObjects(a),a.length>0&&(0,t.increaseTitleCount)(a.length)
|
|
1044
1059
|
case 56:return this.set("total",i.total),e.abrupt("return",i)
|
|
1045
1060
|
case 58:return e.prev=58,this.set("loading",!1),e.finish(58)
|
|
1046
|
-
case 61:case"end":return e.stop()}}),e,this,[[6,,58,61],[21,48,51,54],[26,38,41,44]])}))),function(e){return
|
|
1061
|
+
case 61:case"end":return e.stop()}}),e,this,[[6,,58,61],[21,48,51,54],[26,38,41,44]])}))),function(e){return f.apply(this,arguments)})},{key:"reload",value:(s=b(h().mark((function e(){var t
|
|
1047
1062
|
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.set("total",0),this.rows.clear(),e.next=4,this.load()
|
|
1048
1063
|
case 4:t=e.sent,this.updateCanLoadMore(t)
|
|
1049
|
-
case 6:case"end":return e.stop()}}),e,this)}))),function(){return
|
|
1064
|
+
case 6:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"updateCanLoadMore",value:function(e){e&&(e.messages.length<50?this.set("canLoadMore",!1):this.set("canLoadMore",!0))}},{key:"loadMore",value:function(){if(0!==this.rows.length){var e=this.rows[this.rows.length-1],t=e.group?e.row_id:e.key
|
|
1050
1065
|
this.load({after:t})}else this.load({})}},{key:"showMoreBefore",value:(l=b(h().mark((function e(){var t,r,n,o
|
|
1051
1066
|
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.rows[0],r=t.group?t.row_id:t.key,n=this.rows.filterBy("group").mapBy("regex"),e.next=5,this.load({before:r,knownGroups:n})
|
|
1052
1067
|
case 5:o=e.sent,this.updateCanLoadMore(o)
|
|
1053
|
-
case 7:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"toObjects",value:function(e){return e.map((function(e){return e.group?n.default.create(e):r.default.create(e)}))}}],
|
|
1054
|
-
e.default=
|
|
1055
|
-
define("client-app/models/message",["exports","@ember/object/computed","@ember/object","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,r,n,o){var i,a,c,
|
|
1068
|
+
case 7:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"toObjects",value:function(e){return e.map((function(e){return e.group?n.default.create(e):r.default.create(e)}))}}],u&&m(i.prototype,u),c&&m(i,c),Object.defineProperty(i,"prototype",{writable:!1}),v}(i.default),x(y.prototype,"filter",[u],Object.getOwnPropertyDescriptor(y.prototype,"filter"),y.prototype),x(y.prototype,"currentMessage",[c],Object.getOwnPropertyDescriptor(y.prototype,"currentMessage"),y.prototype),x(y.prototype,"hideCountInLoadMore",[l],Object.getOwnPropertyDescriptor(y.prototype,"hideCountInLoadMore"),y.prototype),x(y.prototype,"moreBefore",[s],Object.getOwnPropertyDescriptor(y.prototype,"moreBefore"),y.prototype),x(y.prototype,"totalBefore",[f],Object.getOwnPropertyDescriptor(y.prototype,"totalBefore"),y.prototype),x(y.prototype,"regexSearch",[p],Object.getOwnPropertyDescriptor(y.prototype,"regexSearch"),y.prototype),y)
|
|
1069
|
+
e.default=L}))
|
|
1070
|
+
define("client-app/models/message",["exports","@ember/object/computed","@ember/object","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,r,n,o){var i,a,u,c,l,s,f,p,y,d
|
|
1056
1071
|
function h(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */h=function(){return e}
|
|
1057
|
-
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",
|
|
1058
|
-
function
|
|
1059
|
-
return n(a,"_invoke",{value:j(e,r,
|
|
1060
|
-
var
|
|
1072
|
+
var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag"
|
|
1073
|
+
function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(R){c=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),u=new k(o||[])
|
|
1074
|
+
return n(a,"_invoke",{value:j(e,r,u)}),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l
|
|
1075
|
+
var f={}
|
|
1061
1076
|
function p(){}function y(){}function d(){}var v={}
|
|
1062
|
-
|
|
1077
|
+
c(v,i,(function(){return this}))
|
|
1063
1078
|
var b=Object.getPrototypeOf,m=b&&b(b(S([])))
|
|
1064
1079
|
m&&m!==t&&r.call(m,i)&&(v=m)
|
|
1065
1080
|
var g=d.prototype=p.prototype=Object.create(v)
|
|
1066
|
-
function w(e){["next","throw","return"].forEach((function(t){
|
|
1067
|
-
if("throw"!==
|
|
1068
|
-
return
|
|
1081
|
+
function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function o(n,i,a,u){var c=s(e[n],e,i)
|
|
1082
|
+
if("throw"!==c.type){var l=c.arg,f=l.value
|
|
1083
|
+
return f&&"object"==_typeof(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,a,u)}),(function(e){o("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return o("throw",e,a,u)}))}u(c.arg)}var i
|
|
1069
1084
|
n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function j(e,t,r){var n="suspendedStart"
|
|
1070
1085
|
return function(o,i){if("executing"===n)throw new Error("Generator is already running")
|
|
1071
1086
|
if("completed"===n){if("throw"===o)throw i
|
|
1072
1087
|
return E()}for(r.method=o,r.arg=i;;){var a=r.delegate
|
|
1073
|
-
if(a){var
|
|
1074
|
-
if(
|
|
1075
|
-
return
|
|
1088
|
+
if(a){var u=P(a,r)
|
|
1089
|
+
if(u){if(u===f)continue
|
|
1090
|
+
return u}}if("next"===r.method)r.sent=r._sent=r.arg
|
|
1076
1091
|
else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg
|
|
1077
1092
|
r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg)
|
|
1078
1093
|
n="executing"
|
|
1079
|
-
var
|
|
1080
|
-
if("normal"===
|
|
1081
|
-
return{value:
|
|
1082
|
-
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),
|
|
1083
|
-
var o=
|
|
1084
|
-
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,
|
|
1094
|
+
var c=s(e,t,r)
|
|
1095
|
+
if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===f)continue
|
|
1096
|
+
return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(e,t){var r=t.method,n=e.iterator[r]
|
|
1097
|
+
if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,P(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f
|
|
1098
|
+
var o=s(n,e.iterator,t.arg)
|
|
1099
|
+
if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f
|
|
1085
1100
|
var i=o.arg
|
|
1086
|
-
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,
|
|
1101
|
+
return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function _(e){var t={tryLoc:e[0]}
|
|
1087
1102
|
1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{}
|
|
1088
1103
|
t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function S(e){if(e){var t=e[i]
|
|
1089
1104
|
if(t)return t.call(e)
|
|
1090
1105
|
if("function"==typeof e.next)return e
|
|
1091
1106
|
if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t
|
|
1092
1107
|
return t.value=void 0,t.done=!0,t}
|
|
1093
|
-
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:y,configurable:!0}),y.displayName=
|
|
1094
|
-
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,
|
|
1108
|
+
return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return y.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:y,configurable:!0}),y.displayName=c(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor
|
|
1109
|
+
return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},w(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise)
|
|
1095
1110
|
var a=new O(l(t,r,n,o),i)
|
|
1096
|
-
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),
|
|
1111
|
+
return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[]
|
|
1097
1112
|
for(var n in t)r.push(n)
|
|
1098
1113
|
return r.reverse(),function e(){for(;r.length;){var n=r.pop()
|
|
1099
1114
|
if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0
|
|
@@ -1103,19 +1118,19 @@ return this.rval},dispatchException:function(e){if(this.done)throw e
|
|
|
1103
1118
|
var t=this
|
|
1104
1119
|
function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion
|
|
1105
1120
|
if("root"===i.tryLoc)return n("end")
|
|
1106
|
-
if(i.tryLoc<=this.prev){var
|
|
1107
|
-
if(c
|
|
1108
|
-
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(
|
|
1121
|
+
if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc")
|
|
1122
|
+
if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)
|
|
1123
|
+
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally")
|
|
1109
1124
|
if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n]
|
|
1110
1125
|
if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o
|
|
1111
1126
|
break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null)
|
|
1112
1127
|
var a=i?i.completion:{}
|
|
1113
|
-
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,
|
|
1114
|
-
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),
|
|
1115
|
-
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),
|
|
1128
|
+
return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg
|
|
1129
|
+
return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
1130
|
+
if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t]
|
|
1116
1131
|
if(r.tryLoc===e){var n=r.completion
|
|
1117
1132
|
if("throw"===n.type){var o=n.arg
|
|
1118
|
-
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),
|
|
1133
|
+
x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function v(e,t,r,n,o,i,a){try{var u=e[i](a),c=u.value}catch(l){return void r(l)}u.done?t(c):Promise.resolve(c).then(n,o)}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1119
1134
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,j(n.key),n)}}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1120
1135
|
if(Reflect.construct.sham)return!1
|
|
1121
1136
|
if("function"==typeof Proxy)return!0
|
|
@@ -1133,12 +1148,12 @@ if("object"!==_typeof(n))return n
|
|
|
1133
1148
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
1134
1149
|
return"symbol"===_typeof(t)?t:String(t)}function P(e,t,r,n,o){var i={}
|
|
1135
1150
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1136
|
-
var _=(i=(0,t.gt)("count",1),a=(0,r.computed)("MAX_LEN","expanded","message.length"),
|
|
1151
|
+
var _=(i=(0,t.gt)("count",1),a=(0,r.computed)("MAX_LEN","expanded","message.length"),u=(0,r.computed)("key"),c=(0,r.computed)("MAX_LEN","expanded","message.length"),l=(0,r.computed)("backtrace.length","env.{application_version,length}"),s=(0,r.computed)("severity"),f=(0,r.computed)("severity"),p=(0,r.computed)("severity"),y=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1137
1152
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)})(l,e)
|
|
1138
|
-
var t,r,i,a,c
|
|
1139
|
-
function l(){var e,t,r,n,o,i,a,
|
|
1140
|
-
for(var
|
|
1141
|
-
return e=
|
|
1153
|
+
var t,r,i,a,u,c=g(l)
|
|
1154
|
+
function l(){var e,t,r,n,o,i,a,u;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,l)
|
|
1155
|
+
for(var s=arguments.length,f=new Array(s),p=0;p<s;p++)f[p]=arguments[p]
|
|
1156
|
+
return e=c.call.apply(c,[this].concat(f)),t=w(e),n=200,(r=j(r="MAX_LEN"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,o=w(e),i="showCount",a=d,u=w(e),a&&Object.defineProperty(o,i,{enumerable:a.enumerable,configurable:a.configurable,writable:a.writable,value:a.initializer?a.initializer.call(u):void 0}),e}return t=l,r=[{key:"hasMore",get:function(){return!this.expanded&&this.message.length>this.MAX_LEN}},{key:"shareUrl",get:function(){return"".concat((0,o.getRootPath)(),"/show/").concat(this.key)}},{key:"displayMessage",get:function(){var e=this.message
|
|
1142
1157
|
return!this.expanded&&this.message.length>this.MAX_LEN&&(e=this.message.substr(0,this.MAX_LEN)),e}},{key:"canSolve",get:function(){return(Array.isArray(this.env)?this.env.map((function(e){return e.application_version})).compact().join(""):this.env&&this.env.application_version)&&this.backtrace&&this.backtrace.length>0}},{key:"rowClass",get:function(){switch(this.severity){case 0:return"debug"
|
|
1143
1158
|
case 1:return"info"
|
|
1144
1159
|
case 2:return"warn"
|
|
@@ -1154,14 +1169,14 @@ case 4:return"fatal"
|
|
|
1154
1169
|
default:return"unknown"}}},{key:"fetchEnv",value:(a=h().mark((function e(){var t
|
|
1155
1170
|
return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,n.ajax)("/fetch-env/".concat(this.key,".json"))
|
|
1156
1171
|
case 2:t=e.sent,this.set("env",t)
|
|
1157
|
-
case 4:case"end":return e.stop()}}),e,this)})),
|
|
1172
|
+
case 4:case"end":return e.stop()}}),e,this)})),u=function(){var e=this,t=arguments
|
|
1158
1173
|
return new Promise((function(r,n){var o=a.apply(e,t)
|
|
1159
|
-
function i(e){v(o,r,n,i,
|
|
1174
|
+
function i(e){v(o,r,n,i,u,"next",e)}function u(e){v(o,r,n,i,u,"throw",e)}i(void 0)}))},function(){return u.apply(this,arguments)})},{key:"expand",value:function(){this.set("expanded",!0)}},{key:"solve",value:function(){return(0,n.ajax)("/solve/".concat(this.key),{type:"PUT"})}},{key:"destroy",value:function(){return(0,n.ajax)("/message/".concat(this.key),{type:"DELETE"})}},{key:"protect",value:function(){return this.set("protected",!0),(0,n.ajax)("/protect/".concat(this.key),{type:"PUT"})}},{key:"unprotect",value:function(){return this.set("protected",!1),(0,n.ajax)("/unprotect/".concat(this.key),{type:"DELETE"})}}],r&&b(t.prototype,r),i&&b(t,i),Object.defineProperty(t,"prototype",{writable:!1}),l}(r.default),d=P(y.prototype,"showCount",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P(y.prototype,"hasMore",[a],Object.getOwnPropertyDescriptor(y.prototype,"hasMore"),y.prototype),P(y.prototype,"shareUrl",[u],Object.getOwnPropertyDescriptor(y.prototype,"shareUrl"),y.prototype),P(y.prototype,"displayMessage",[c],Object.getOwnPropertyDescriptor(y.prototype,"displayMessage"),y.prototype),P(y.prototype,"canSolve",[l],Object.getOwnPropertyDescriptor(y.prototype,"canSolve"),y.prototype),P(y.prototype,"rowClass",[s],Object.getOwnPropertyDescriptor(y.prototype,"rowClass"),y.prototype),P(y.prototype,"glyph",[f],Object.getOwnPropertyDescriptor(y.prototype,"glyph"),y.prototype),P(y.prototype,"klass",[p],Object.getOwnPropertyDescriptor(y.prototype,"klass"),y.prototype),y)
|
|
1160
1175
|
e.default=_})),define("client-app/models/pattern-item",["exports","@ember/object/computed","@ember/object"],(function(e,t,r){var n,o,i,a
|
|
1161
|
-
function
|
|
1162
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function
|
|
1176
|
+
function u(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1177
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t)
|
|
1163
1178
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1164
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
1179
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},c.apply(this,arguments)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1165
1180
|
if(Reflect.construct.sham)return!1
|
|
1166
1181
|
if("function"==typeof Proxy)return!0
|
|
1167
1182
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -1170,7 +1185,7 @@ if(t){var o=p(this).constructor
|
|
|
1170
1185
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
1171
1186
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
1172
1187
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1173
|
-
return
|
|
1188
|
+
return f(e)}(this,r)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1174
1189
|
return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function y(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
1175
1190
|
var r=e[Symbol.toPrimitive]
|
|
1176
1191
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
@@ -1180,52 +1195,52 @@ return"symbol"===_typeof(t)?t:String(t)}function h(e,t,r,n,o){var i={}
|
|
|
1180
1195
|
return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1181
1196
|
var v=(n=(0,t.lte)("count",0),o=(0,r.computed)("value","valueBuffer"),i=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1182
1197
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)})(i,e)
|
|
1183
|
-
var t,r,n,o=
|
|
1184
|
-
function i(){var e,t,r,n,
|
|
1185
|
-
for(var
|
|
1186
|
-
return y(
|
|
1198
|
+
var t,r,n,o=s(i)
|
|
1199
|
+
function i(){var e,t,r,n,u;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,i)
|
|
1200
|
+
for(var c=arguments.length,l=new Array(c),s=0;s<c;s++)l[s]=arguments[s]
|
|
1201
|
+
return y(f(e=o.call.apply(o,[this].concat(l))),"isNew",!1),y(f(e),"value",""),y(f(e),"valueBuffer",""),y(f(e),"error",null),y(f(e),"saving",!1),y(f(e),"count",0),t=f(e),r="zeroCount",n=a,u=f(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(u):void 0}),e}return t=i,r=[{key:"init",value:function(){c(p(i.prototype),"init",this).apply(this,arguments),this.set("valueBuffer",this.value)}},{key:"hasBuffer",get:function(){return this.value!==this.valueBuffer}},{key:"updateValue",value:function(e){this.setProperties({value:e,valueBuffer:e})}}],r&&u(t.prototype,r),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),i}(r.default),a=h(i.prototype,"zeroCount",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h(i.prototype,"hasBuffer",[o],Object.getOwnPropertyDescriptor(i.prototype,"hasBuffer"),i.prototype),i)
|
|
1187
1202
|
e.default=v})),define("client-app/resolver",["exports","ember-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1188
1203
|
var r=t.default
|
|
1189
1204
|
e.default=r})),define("client-app/router",["exports","@ember/routing/router","client-app/config/environment"],(function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1190
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,
|
|
1205
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1191
1206
|
if(Reflect.construct.sham)return!1
|
|
1192
1207
|
if("function"==typeof Proxy)return!0
|
|
1193
1208
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
1194
|
-
return function(){var r,o=
|
|
1195
|
-
if(t){var i=
|
|
1209
|
+
return function(){var r,o=c(e)
|
|
1210
|
+
if(t){var i=c(this).constructor
|
|
1196
1211
|
r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments)
|
|
1197
1212
|
return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t
|
|
1198
1213
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1199
|
-
return
|
|
1200
|
-
return e}function
|
|
1214
|
+
return u(e)}(this,r)}}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1215
|
+
return e}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function l(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=function(e,t){if("object"!==n(e)||null===e)return e
|
|
1201
1216
|
var r=e[Symbol.toPrimitive]
|
|
1202
1217
|
if(void 0!==r){var o=r.call(e,t||"default")
|
|
1203
1218
|
if("object"!==n(o))return o
|
|
1204
1219
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
1205
1220
|
return"symbol"===n(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1206
|
-
var
|
|
1207
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)})(
|
|
1208
|
-
var t,n,
|
|
1209
|
-
function
|
|
1221
|
+
var f=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1222
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)})(f,e)
|
|
1223
|
+
var t,n,c,s=a(f)
|
|
1224
|
+
function f(){var e;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,f)
|
|
1210
1225
|
for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o]
|
|
1211
|
-
return l(
|
|
1212
|
-
e.default=
|
|
1213
|
-
function
|
|
1226
|
+
return l(u(e=s.call.apply(s,[this].concat(n))),"location",r.default.locationType),l(u(e),"rootURL",r.default.rootURL),e}return t=f,n&&o(t.prototype,n),c&&o(t,c),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default)
|
|
1227
|
+
e.default=f,f.map((function(){this.route("index",{path:"/"}),this.route("show",{path:"/show/:id"}),this.route("settings")}))})),define("client-app/routes/index",["exports","@ember/service","@ember/routing/route","client-app/models/message-collection","client-app/lib/utilities"],(function(e,t,r,n,o){var i,a
|
|
1228
|
+
function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
|
|
1214
1229
|
if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return
|
|
1215
|
-
if("string"==typeof e)return
|
|
1230
|
+
if("string"==typeof e)return c(e,t)
|
|
1216
1231
|
var r=Object.prototype.toString.call(e).slice(8,-1)
|
|
1217
1232
|
"Object"===r&&e.constructor&&(r=e.constructor.name)
|
|
1218
1233
|
if("Map"===r||"Set"===r)return Array.from(e)
|
|
1219
|
-
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return
|
|
1234
|
+
if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
|
|
1220
1235
|
var n=0,o=function(){}
|
|
1221
|
-
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,
|
|
1236
|
+
return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1
|
|
1222
1237
|
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
|
|
1223
|
-
return a=e.done,e},e:function(e){
|
|
1238
|
+
return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length)
|
|
1224
1239
|
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
|
|
1225
1240
|
return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1226
|
-
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function
|
|
1241
|
+
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,h(n.key),n)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t)
|
|
1227
1242
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1228
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},
|
|
1243
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},s.apply(this,arguments)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1229
1244
|
if(Reflect.construct.sham)return!1
|
|
1230
1245
|
if("function"==typeof Proxy)return!0
|
|
1231
1246
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
@@ -1242,64 +1257,64 @@ if("object"!==_typeof(n))return n
|
|
|
1242
1257
|
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
|
|
1243
1258
|
return"symbol"===_typeof(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1244
1259
|
var v,b,m,g,w,O,j=(i=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1245
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&
|
|
1246
|
-
var t,r,i,
|
|
1260
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)})(h,e)
|
|
1261
|
+
var t,r,i,c=p(h)
|
|
1247
1262
|
function h(){var e,t,r,n,o;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,h)
|
|
1248
|
-
for(var i=arguments.length,
|
|
1249
|
-
return e=
|
|
1250
|
-
var r,i=
|
|
1263
|
+
for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l]
|
|
1264
|
+
return e=c.call.apply(c,[this].concat(u)),t=y(e),r="events",n=a,o=y(e),n&&Object.defineProperty(t,r,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0}),e}return t=h,(r=[{key:"model",value:function(){return n.default.create()}},{key:"setupController",value:function(e,t){s(d(h.prototype),"setupController",this).call(this,e,t)
|
|
1265
|
+
var r,i=u(n.SEVERITIES)
|
|
1251
1266
|
try{for(i.s();!(r=i.n()).done;){var a=r.value
|
|
1252
|
-
t.set("show".concat(a),e["show".concat(a)])}}catch(
|
|
1253
|
-
var
|
|
1254
|
-
this.refreshInterval=setInterval((function(){if(!t.loading){
|
|
1267
|
+
t.set("show".concat(a),e["show".concat(a)])}}catch(f){i.e(f)}finally{i.f()}t.reload()
|
|
1268
|
+
var c=0,l=1
|
|
1269
|
+
this.refreshInterval=setInterval((function(){if(!t.loading){c+=1
|
|
1255
1270
|
var e=(0,o.isHidden)(),r=!e
|
|
1256
|
-
e&&
|
|
1271
|
+
e&&c%l==0&&(r=!0,l<20&&l++),r&&(t.loadMore(),e||(l=1))}}),3e3),this.events.on("panelResized",(function(t){e.resizePanels(t)}))}},{key:"deactivate",value:function(){clearInterval(this.refreshInterval)}}])&&l(t.prototype,r),i&&l(t,i),Object.defineProperty(t,"prototype",{writable:!1}),h}(r.default),v=i.prototype,b="events",m=[t.inject],g={configurable:!0,enumerable:!0,writable:!0,initializer:null},O={},Object.keys(g).forEach((function(e){O[e]=g[e]})),O.enumerable=!!O.enumerable,O.configurable=!!O.configurable,("value"in O||O.initializer)&&(O.writable=!0),O=m.slice().reverse().reduce((function(e,t){return t(v,b,e)||e}),O),w&&void 0!==O.initializer&&(O.value=O.initializer?O.initializer.call(w):void 0,O.initializer=void 0),void 0===O.initializer&&(Object.defineProperty(v,b,O),O=null),a=O,i)
|
|
1257
1272
|
e.default=j})),define("client-app/routes/settings",["exports","@ember/routing/route","client-app/lib/utilities","client-app/models/pattern-item"],(function(e,t,r,n){function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1258
1273
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
1259
1274
|
var r=e[Symbol.toPrimitive]
|
|
1260
1275
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
1261
1276
|
if("object"!==_typeof(n))return n
|
|
1262
|
-
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=
|
|
1277
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t)
|
|
1263
1278
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1264
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function
|
|
1279
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1265
1280
|
if(Reflect.construct.sham)return!1
|
|
1266
1281
|
if("function"==typeof Proxy)return!0
|
|
1267
1282
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
1268
|
-
return function(){var r,n=
|
|
1269
|
-
if(t){var o=
|
|
1283
|
+
return function(){var r,n=c(e)
|
|
1284
|
+
if(t){var o=c(this).constructor
|
|
1270
1285
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
1271
1286
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
1272
1287
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1273
1288
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1274
|
-
return e}(e)}(this,r)}}function
|
|
1289
|
+
return e}(e)}(this,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1275
1290
|
var l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1276
1291
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,e)
|
|
1277
|
-
var t,l,f
|
|
1278
|
-
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),
|
|
1279
|
-
var r=t.suppression,o=r.filter((function(e){return e.hard})).map((function(e){return n.default.create(e)})),a=r.reject((function(e){return e.hard})).map((function(e){return n.default.create(e)})),
|
|
1280
|
-
e.setProperties({showCodedSuppression:l,codedSuppression:o,customSuppression:a,grouping:
|
|
1292
|
+
var t,l,s,f=u(p)
|
|
1293
|
+
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),f.apply(this,arguments)}return t=p,l=[{key:"model",value:function(){return(0,r.ajax)("/settings.json")}},{key:"setupController",value:function(e,t){i(c(p.prototype),"setupController",this).apply(this,arguments)
|
|
1294
|
+
var r=t.suppression,o=r.filter((function(e){return e.hard})).map((function(e){return n.default.create(e)})),a=r.reject((function(e){return e.hard})).map((function(e){return n.default.create(e)})),u=t.grouping.map((function(e){return n.default.create(e)})),l=o.length>0
|
|
1295
|
+
e.setProperties({showCodedSuppression:l,codedSuppression:o,customSuppression:a,grouping:u})}}],l&&o(t.prototype,l),s&&o(t,s),Object.defineProperty(t,"prototype",{writable:!1}),p}(t.default)
|
|
1281
1296
|
e.default=l})),define("client-app/routes/show",["exports","@ember/routing/route","client-app/models/message","client-app/lib/utilities"],(function(e,t,r,n){function o(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1282
1297
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
1283
1298
|
var r=e[Symbol.toPrimitive]
|
|
1284
1299
|
if(void 0!==r){var n=r.call(e,t||"default")
|
|
1285
1300
|
if("object"!==_typeof(n))return n
|
|
1286
|
-
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=
|
|
1301
|
+
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===_typeof(i)?i:String(i)),n)}var o,i}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t)
|
|
1287
1302
|
if(n){var o=Object.getOwnPropertyDescriptor(n,t)
|
|
1288
|
-
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function
|
|
1303
|
+
return o.get?o.get.call(arguments.length<3?e:r):o.value}},i.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
|
|
1289
1304
|
if(Reflect.construct.sham)return!1
|
|
1290
1305
|
if("function"==typeof Proxy)return!0
|
|
1291
1306
|
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
|
|
1292
|
-
return function(){var r,n=
|
|
1293
|
-
if(t){var o=
|
|
1307
|
+
return function(){var r,n=c(e)
|
|
1308
|
+
if(t){var o=c(this).constructor
|
|
1294
1309
|
r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments)
|
|
1295
1310
|
return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t
|
|
1296
1311
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1297
1312
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1298
|
-
return e}(e)}(this,r)}}function
|
|
1313
|
+
return e}(e)}(this,r)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1299
1314
|
var l=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1300
1315
|
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)})(p,e)
|
|
1301
|
-
var t,l,f
|
|
1302
|
-
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),
|
|
1316
|
+
var t,l,s,f=u(p)
|
|
1317
|
+
function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),f.apply(this,arguments)}return t=p,l=[{key:"model",value:function(e){return(0,n.preloadOrAjax)("/show/"+e.id+".json")}},{key:"setupController",value:function(e,t){i(c(p.prototype),"setupController",this).apply(this,arguments),e.set("model",r.default.create(t))}}],l&&o(t.prototype,l),s&&o(t,s),Object.defineProperty(t,"prototype",{writable:!1}),p}(t.default)
|
|
1303
1318
|
e.default=l})),define("client-app/services/-ensure-registered",["exports","@embroider/util/services/ensure-registered"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/services/events",["exports","@ember/service","@ember/object/evented"],(function(e,t,r){function n(e,t){for(var r=0;r<t.length;r++){var n=t[r]
|
|
1304
1319
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=n.key,i=void 0,i=function(e,t){if("object"!==_typeof(e)||null===e)return e
|
|
1305
1320
|
var r=e[Symbol.toPrimitive]
|
|
@@ -1316,11 +1331,11 @@ return function(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return
|
|
|
1316
1331
|
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
|
|
1317
1332
|
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
|
1318
1333
|
return e}(e)}(this,r)}}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1319
|
-
var
|
|
1320
|
-
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)})(
|
|
1321
|
-
var t,r,a,
|
|
1322
|
-
function
|
|
1323
|
-
e.default=
|
|
1334
|
+
var u=function(e){(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
|
|
1335
|
+
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)})(c,e)
|
|
1336
|
+
var t,r,a,u=i(c)
|
|
1337
|
+
function c(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.apply(this,arguments)}return t=c,r&&n(t.prototype,r),a&&n(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(t.default.extend(r.default))
|
|
1338
|
+
e.default=u})),define("client-app/services/page-title-list",["exports","ember-page-title/services/page-title-list"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/services/page-title",["exports","ember-page-title/services/page-title"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/templates/application",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1324
1339
|
var r=(0,t.createTemplateFactory)({id:"jRr4M5Lv",block:'[[[46,[28,[37,1],null,null],null,null,null]],[],false,["component","-outlet"]]',moduleName:"client-app/templates/application.hbs",isStrictMode:!1})
|
|
1325
1340
|
e.default=r})),define("client-app/templates/components/actions-menu",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1326
1341
|
var r=(0,t.createTemplateFactory)({id:"+wA0Wtkp",block:'[[[41,[30,1],[[[41,[30,0,["showMenu"]],[[[1," "],[10,0],[14,0,"actions-menu"],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[24,0,"expand btn no-text"],[24,4,"button"],[4,[38,2],["click",[30,0,["expandMenu"]]],null],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["ellipsis-h"]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2],[[[1," "],[11,"button"],[24,0,"share btn"],[24,4,"button"],[4,[38,2],["click",[30,0,["share"]]],null],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["share"]],null],[1,"\\n "],[10,1],[12],[1,"Share"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[1," "],[18,3,null],[1,"\\n\\n"],[41,[30,2],[[[1," "],[11,"button"],[24,0,"share btn"],[24,4,"button"],[4,[38,2],["click",[30,0,["share"]]],null],[12],[1,"\\n "],[8,[39,3],null,[["@icon"],["share"]],null],[1,"\\n "],[10,1],[12],[1,"Share"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]]],["@actionsInMenu","@showShare","&default"],false,["if","yield","on","fa-icon"]]',moduleName:"client-app/templates/components/actions-menu.hbs",isStrictMode:!1})
|
|
@@ -1343,10 +1358,10 @@ var r=(0,t.createTemplateFactory)({id:"jowUyE+e",block:'[[[18,2,[[28,[37,1],null
|
|
|
1343
1358
|
e.default=r})),define("client-app/templates/components/time-formatter",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1344
1359
|
var r=(0,t.createTemplateFactory)({id:"A3xKeZxN",block:'[[[10,1],[15,"title",[30,0,["title"]]],[12],[1,[30,0,["time"]]],[13]],[],false,[]]',moduleName:"client-app/templates/components/time-formatter.hbs",isStrictMode:!1})
|
|
1345
1360
|
e.default=r})),define("client-app/templates/index",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1346
|
-
var r=(0,t.createTemplateFactory)({id:"
|
|
1361
|
+
var r=(0,t.createTemplateFactory)({id:"rAb1VWuD",block:'[[[10,0],[14,1,"top-panel"],[12],[1,"\\n "],[10,0],[14,1,"log-table"],[12],[1,"\\n"],[41,[30,0,["model","moreBefore"]],[[[1," "],[11,0],[24,0,"show-more"],[4,[38,1],["click",[30,0,["showMoreBefore"]]],null],[12],[1,"\\n"],[41,[30,0,["model","hideCountInLoadMore"]],[[[1," Load more\\n"]],[]],[[[1," Select to see\\n "],[1,[30,0,["model","totalBefore"]]],[1,"\\n more\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["loading"]],[[[1," "],[10,0],[14,0,"loading"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,0,["model","rows"]]],null]],null],null,[[[1," "],[10,0],[14,0,"message-row-wrapper"],[12],[1,"\\n"],[41,[30,0,["buildingGroupingPattern"]],[[[1," "],[11,"input"],[24,0,"grouping-checkbox"],[24,4,"checkbox"],[4,[38,1],["change",[28,[37,4],[[30,0,["handleCheckboxChange"]],[30,1]],null]],null],[12],[13],[1,"\\n"]],[]],null],[1," "],[8,[39,5],null,[["@model","@selectRow"],[[30,1],[28,[37,4],[[30,0,["selectRowAction"]],[30,1]],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,0],[14,1,"bottom-panel"],[15,0,[52,[30,0,["model","currentRow","group"]],"group-view"]],[12],[1,"\\n"],[41,[30,0,["model","currentRow","group"]],[[[1," "],[8,[39,6],null,[["@list","@position","@extraClasses","@navigate"],[[30,0,["model","currentRow","messages"]],[30,0,["model","currentGroupedMessagesPosition"]],"group-nav",[30,0,["groupedMessageChangedAction"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,7],null,[["@currentMessage","@currentRow","@loadingEnv","@removeMessage","@solveMessage","@onTabChange","@envChangedAction","@currentEnvPosition","@actionsInMenu","@showShare"],[[30,0,["model","currentMessage"]],[30,0,["model","currentRow"]],[30,0,["model","loadingEnv"]],[30,0,["removeMessage"]],[30,0,["solveMessage"]],[30,0,["tabChangedAction"]],[30,0,["envChangedAction"]],[30,0,["model","currentEnvPosition"]],[30,0,["actionsInMenu"]],true]],null],[1,"\\n\\n "],[10,0],[14,0,"action-panel"],[12],[1,"\\n "],[10,0],[14,0,"severity-filters"],[12],[1,"\\n "],[10,0],[14,0,"more-wrapping"],[12],[1,"\\n "],[10,"label"],[14,0,"debug"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showDebug"]]],[15,"onchange",[28,[37,4],[[30,0,["updateFilter"]],"showDebug"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[10,1],[12],[1,"Debug"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"info"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showInfo"]]],[15,"onchange",[28,[37,4],[[30,0,["updateFilter"]],"showInfo"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[10,1],[12],[1,"Info"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"warn"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showWarn"]]],[15,"onchange",[28,[37,4],[[30,0,["updateFilter"]],"showWarn"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[8,[39,8],[[24,0,"warning"]],[["@icon"],["exclamation-circle"]],null],[1,"\\n "],[10,1],[12],[1,"Warning"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"error"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showErr"]]],[15,"onchange",[28,[37,4],[[30,0,["updateFilter"]],"showErr"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[8,[39,8],[[24,0,"error"]],[["@icon"],["times-circle"]],null],[1,"\\n "],[10,1],[12],[1,"Error"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"label"],[14,0,"fatal"],[12],[1,"\\n "],[10,"input"],[15,"checked",[30,0,["showFatal"]]],[15,"onchange",[28,[37,4],[[30,0,["updateFilter"]],"showFatal"],null]],[14,4,"checkbox"],[12],[13],[1,"\\n "],[8,[39,8],[[24,0,"fatal"]],[["@icon"],["times-circle"]],null],[1,"\\n "],[10,1],[12],[1,"Fatal"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"search-clear-all"],[12],[1,"\\n "],[10,"input"],[14,0,"search"],[14,"placeholder","Search"],[15,2,[30,0,["searchTerm"]]],[15,"onkeyup",[30,0,["updateSearch"]]],[14,4,"text"],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"footer-btns"],[12],[1,"\\n"],[41,[30,0,["showSettings"]],[[[41,[30,0,["showCreateGroupingPattern"]],[[[1," "],[11,"button"],[24,0,"settings btn"],[24,4,"button"],[4,[38,1],["click",[30,0,["createGroupingPatternFromSelectedRows"]]],null],[12],[1,"\\n "],[10,1],[12],[1,"Create Grouping Pattern"],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,9],[[24,0,"settings btn no-text"]],[["@route"],["settings"]],[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@icon"],["cog"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[11,"button"],[24,0,"settings btn no-text"],[24,4,"button"],[4,[38,1],["click",[30,0,["toggleGroupingPatternFromSelectedRows"]]],null],[12],[1,"\\n "],[8,[39,8],null,[["@icon"],["list"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[24,0,"clear btn danger"],[24,4,"button"],[4,[38,1],["click",[30,0,["clear"]]],null],[12],[1,"\\n "],[8,[39,8],[[24,"prefix","far"]],[["@icon"],["trash-alt"]],null],[1,"\\n "],[10,1],[12],[1,"Clear logs"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,10],null,null,null]],["row"],false,["if","on","each","-track-array","fn","message-row","page-nav","message-info","fa-icon","link-to","panel-resizer"]]',moduleName:"client-app/templates/index.hbs",isStrictMode:!1})
|
|
1347
1362
|
e.default=r})),define("client-app/templates/settings",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1348
1363
|
var r=(0,t.createTemplateFactory)({id:"qqSpoh9d",block:'[[[10,0],[14,0,"settings-page"],[12],[1,"\\n "],[8,[39,0],null,[["@route"],["index"]],[["default"],[[[[1,"Home"]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"settings-header"],[12],[1,"\\n "],[10,"h1"],[14,0,"header-title"],[12],[1,"Settings"],[13],[1,"\\n "],[10,"img"],[14,0,"header-logo"],[15,"src",[28,[37,1],["images/icon_144x144.png"],null]],[12],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"settings-section suppression-patterns"],[12],[1,"\\n "],[10,"h2"],[14,0,"section-title"],[12],[1,"Suppression Patterns"],[13],[1,"\\n\\n "],[10,0],[12],[1,"New messages that match these Regular Expression patterns will be\\n suppressed. Checking Apply retroactively will remove all existing messages\\n that match the patterns."],[13],[1,"\\n\\n"],[41,[30,0,["showCodedSuppression"]],[[[1," "],[10,"h3"],[14,0,"subsection-title"],[12],[1,"Hard-coded patterns:"],[13],[1,"\\n\\n "],[10,0],[14,0,"tip"],[12],[1,"These patterns can\'t be removed via the UI because they\\n are commited to the source code of your app."],[13],[1,"\\n\\n "],[8,[39,3],null,[["@patterns","@mutable"],[[30,0,["codedSuppression"]],false]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,"h3"],[14,0,"subsection-title"],[12],[1,"Custom patterns:"],[13],[1,"\\n\\n "],[8,[39,3],null,[["@patterns","@key","@applyRetroactivelyCheckbox","@mutable"],[[30,0,["customSuppression"]],"suppression",true,true]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"settings-section grouping-patterns"],[12],[1,"\\n "],[10,"h2"],[14,0,"section-title"],[12],[1,"Grouping Patterns"],[13],[1,"\\n\\n "],[10,0],[12],[1,"Add a Regular Expression pattern to group all new and existing messages\\n into a single row when viewing the logs."],[13],[1,"\\n\\n "],[8,[39,3],null,[["@patterns","@key","@mutable"],[[30,0,["grouping"]],"grouping",true]],null],[1,"\\n "],[13],[1,"\\n"],[13]],[],false,["link-to","logster-url","if","patterns-list"]]',moduleName:"client-app/templates/settings.hbs",isStrictMode:!1})
|
|
1349
1364
|
e.default=r})),define("client-app/templates/show",["exports","@ember/template-factory"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
|
1350
1365
|
var r=(0,t.createTemplateFactory)({id:"d6AYgHoB",block:'[[[8,[39,0],[[24,0,"recent-link"]],[["@route"],["index"]],[["default"],[[[[1,"Recent"]],[]]]]],[1,"\\n\\n"],[10,0],[14,1,"bottom-panel"],[14,0,"full"],[12],[1,"\\n "],[8,[39,1],null,[["@currentMessage","@showTitle","@removeMessage","@solveMessage","@envChangedAction","@currentEnvPosition","@actionsInMenu"],[[30,0,["model"]],"true",[30,0,["removeMessage"]],[30,0,["solveMessage"]],[30,0,["envChanged"]],[30,0,["envPosition"]],false]],null],[1,"\\n"],[13]],[],false,["link-to","message-info"]]',moduleName:"client-app/templates/show.hbs",isStrictMode:!1})
|
|
1351
1366
|
e.default=r})),define("client-app/config/environment",[],(function(){try{var e="client-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),r={default:JSON.parse(decodeURIComponent(t))}
|
|
1352
|
-
return Object.defineProperty(r,"__esModule",{value:!0}),r}catch(n){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+
|
|
1367
|
+
return Object.defineProperty(r,"__esModule",{value:!0}),r}catch(n){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+b726b746"})
|