"use strict" define("client-app/adapters/-json-api",["exports","@ember-data/adapter/json-api"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/app",["exports","@babel/runtime/helpers/esm/classCallCheck","@babel/runtime/helpers/esm/possibleConstructorReturn","@babel/runtime/helpers/esm/getPrototypeOf","@babel/runtime/helpers/esm/assertThisInitialized","@babel/runtime/helpers/esm/inherits","@babel/runtime/helpers/esm/defineProperty","client-app/resolver","ember-load-initializers","client-app/config/environment"],(function(e,t,n,a,r,s,i,o,l,u){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var c=function(e){function l(){var e,s;(0,t.default)(this,l) for(var c=arguments.length,d=new Array(c),p=0;pe.length)&&e.substring(0,t.length)==t}function r(){return n.default.get("backtrace_links_enabled")}function s(e){return e&&"/"!==e[e.length-1]?e+"/":e}function i(e){var t=e.repo,n=e.path,a=e.filename,r=e.lineNumber,i=e.commitSha,o=void 0===i?null:i,l=s(t) return/\/tree\//.test(l)||(l+="blob/",l+=o?"".concat(o,"/"):"master/"),l+=n+a,/^[0-9]+$/.test(r)&&(l+="#L".concat(r)),l}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var o=Ember.Component.extend({GithubURLForGem:function(e){var s=null if(!r())return s var o=e.match(/([^/]+)\/(.+\/)(.+):(\d+):.*/)||[],l=(0,t.default)(o,5),u=l[1],c=l[2],d=l[3],p=l[4],f=n.default.get("gems_data").filter((function(e){return a(u,"".concat(e.name,"-"))})).sortBy("name.length").reverse()[0] return f&&(s=i({repo:f.url,path:c,filename:d,lineNumber:p})),s},GithubURLForApp:function(e){var o=null if(!r())return o var l=n.default.get("directories").filter((function(t){return a(e,t.path)})).sortBy("path.length").reverse()[0] if(l){var u,c,d,p=s(l.path),f=e.substring(p.length),m="",h=-1!==f.indexOf("/"),v=h?/(.+\/)(.+):(\d+)(:.*)/:/(.+):(\d+)(:.*)/ if(h){var b=f.match(v)||[],g=(0,t.default)(b,5) m=g[1],u=g[2],c=g[3],d=g[4]}else{var y=f.match(v)||[],E=(0,t.default)(y,4) u=E[1],c=E[2],d=E[3]}if(u&&c&&d){var x=l.main_app?this.commitSha:null o=i({repo:l.url,path:m,filename:u,lineNumber:c,commitSha:x})}}return o},findGithubURL:function(e,t){return a(e,n.default.get("gems_dir"))?this.GithubURLForGem(t):this.GithubURLForApp(e)},commitSha:Ember.computed("env",(function(){var e=null 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")})),lines:Ember.computed("backtrace","commitSha",(function(){var e=this return this.backtrace&&0!==this.backtrace.length?this.backtrace.split("\n").map((function(t){var r=function(e){if(a(e,n.default.get("gems_dir"))){var t=n.default.get("gems_dir") return e.substring(t.length)}return e}(t) return{line:r,url:e.findGithubURL(t,r)}})):[]}))}) e.default=o})),define("client-app/components/env-tab",["exports","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a=Ember.Component.extend({currentEnv:Ember.computed("isEnvArray","currentEnvPosition",(function(){return this.isEnvArray?this.message.env[this.currentEnvPosition]:this.message.env})),isEnvArray:Ember.computed("message.env",(function(){return Array.isArray(this.get("message.env"))})),html:Ember.computed("isEnvArray","currentEnv","expanded.[]",(function(){var e=this if(this.isEnvArray){var a=n.default.get("env_expandable_keys")||[],r={} return a.forEach((function(t){if(Object.prototype.hasOwnProperty.call(e.currentEnv,t)&&!Array.isArray(e.currentEnv[t])){var n=[e.currentEnv[t]] e.message.env.forEach((function(e){e[t]&&-1===n.indexOf(e[t])&&n.push(e[t])})),r[t]=n}})),(0,t.buildHashString)(this.currentEnv,!1,this.expanded,r)}return(0,t.buildHashString)(this.get("message.env"))})),click:function(e){var t=e.target,a=t.dataset.key;-1!==(n.default.get("env_expandable_keys")||[]).indexOf(a)&&t.classList.contains("expand-list")&&(e.preventDefault(),this.expanded?this.expanded.pushObject(a):this.set("expanded",[a]))}}) e.default=a})),define("client-app/components/message-info",["exports","client-app/lib/preload"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=Ember.Component.extend({showSolveAllButton:Ember.computed.bool("currentRow.group"),buttons:Ember.computed("currentMessage.protected","showSolveButton",(function(){var e=this.get("currentMessage.protected"),t=[] return!e&&this.showSolveButton&&t.push({klass:"solve",action:"solve",icon:"check-square-o",label:"Solve",danger:!0}),this.showSolveAllButton&&t.push({klass:"solve-all",action:"solveAll",icon:"check-square-o",label:"Solve All",danger:!0}),e?t.push({klass:"unprotect",action:"unprotect",icon:"unlock",label:"Unprotect"}):t.push({klass:"remove",action:"remove",icon:"trash-o",label:"Remove",danger:!0},{klass:"protect",action:"protect",icon:"lock",label:"Protect"}),t.push({klass:"copy",action:"copyAction",icon:"clipboard",label:"Copy"}),t})),showSolveButton:Ember.computed("showSolveAllButton","currentMessage.{canSolve,env}",(function(){return!this.showSolveAllButton&&(this.currentMessage.env?this.currentMessage.canSolve:!!t.default.get("application_version"))})),copy:function(){var e=document.createElement("TEXTAREA") document.body.appendChild(e) var t=this.currentMessage.showCount?"Message (".concat(this.currentMessage.count," copies reported)"):"Message",n="".concat(t,"\n\n").concat(this.currentMessage.message),a="Backtrace\n\n".concat(this.currentMessage.backtrace.split("\n").slice(0,10).join("\n")),r=Array.isArray(this.currentMessage.env)?this.currentMessage.env.map((function(e){return e.HTTP_HOST})).filter((function(e,t,n){return e&&n.indexOf(e)===t})).join(", "):this.currentMessage.env.HTTP_HOST,s=[n,a,r?"Env\n\nHTTP HOSTS: ".concat(r):""].filter((function(e){return e})).join("\n\n") e.value=s,e.select(),document.execCommand("copy"),document.body.removeChild(e)},actions:{tabChanged:function(e){this.onTabChange&&this.onTabChange(e)},protect:function(){this.currentMessage.protect()},unprotect:function(){this.currentMessage.unprotect()},remove:function(){this.removeMessage(this.currentMessage)},solve:function(){this.solveMessage(this.currentMessage)},solveAll:function(){this.currentRow.solveAll()},share:function(){window.location.pathname=this.get("currentMessage.shareUrl")},copyAction:function(){this.copy()}}}) e.default=n})),define("client-app/components/message-row",["exports"],(function(e){var t,n Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a=Ember.Component.extend({tagName:"div",classNameBindings:["model.rowClass",":message-row","model.selected:selected"],click:function(){this.selectRow()},willInsertElement:function(){if(!t){var e=document.getElementById("top-panel") if(e){var a=parseFloat(getComputedStyle(e).height) n=e.scrollHeight-20t||(this.divider.style.bottom="".concat(n-5,"px"),this.events.trigger("panelResized",n))},performDrag:function(e){Ember.run.throttle(this,this.throttledPerformDrag,e,25)},throttledPerformDrag:function(e){this.resizing&&this.divideView(e.clientY||e.touches&&e.touches[0]&&e.touches[0].clientY)},endDrag:function(){var e=this,t=document.getElementById("overlay") t&&t.parentElement.removeChild(t),this.set("resizing",!1),localStorage&&(localStorage.logster_divider_bottom=parseInt(this.divider.style.bottom,10)),r.forEach((function(t){return document.removeEventListener(t,e.performDrag)})),s.forEach((function(t){return document.removeEventListener(t,e.endDrag)}))},dividerClickHandler:function(e){var t=this e.preventDefault() var n=document.createElement("DIV") n.id="overlay",document.body.appendChild(n),this.set("resizing",!0),r.forEach((function(e){return document.addEventListener(e,t.performDrag)})),s.forEach((function(e){return document.addEventListener(e,t.endDrag)}))},didInsertElement:function(){var e=this this.set("divider",document.querySelector(".divider")),i.forEach((function(t){e.divider.addEventListener(t,e.dividerClickHandler)})),Ember.run.scheduleOnce("afterRender",this,"initialDivideView")},initialDivideView:function(){var e=localStorage&&localStorage.logster_divider_bottom||300,t=window.innerHeight-parseInt(e,10) this.divideView(t)},willDestroyElement:function(){var e=this i.forEach((function(t){return e.divider.removeEventListener(t,e.dividerClickHandler)}))}},(0,t.default)(a,"performDrag",[n.bound],Object.getOwnPropertyDescriptor(a,"performDrag"),a),(0,t.default)(a,"endDrag",[n.bound],Object.getOwnPropertyDescriptor(a,"endDrag"),a),(0,t.default)(a,"dividerClickHandler",[n.bound],Object.getOwnPropertyDescriptor(a,"dividerClickHandler"),a),a)) e.default=o})),define("client-app/components/patterns-list",["exports","@babel/runtime/helpers/esm/toConsumableArray","client-app/models/pattern-item","client-app/lib/utilities"],(function(e,t,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var r=Ember.Component.extend({immutable:Ember.computed.not("mutable"),showCounter:Ember.computed.equal("key","suppression"),init:function(){this._super.apply(this,arguments),this.get("patterns.length")<1&&this.get("mutable")&&this.send("create")},allPatterns:Ember.computed("patterns.[]","newPatterns.[]",(function(){var e=this.get("patterns"),n=this.get("newPatterns")||[] return[].concat((0,t.default)(n.reverse()),(0,t.default)(e.reverse()))})),makeAPICall:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.method return delete e.method,(0,a.ajax)("/patterns/".concat(this.get("key"),".json"),{method:t,data:e})},finallyBlock:function(e){e.set("saving",!1)},catchBlock:function(e,t){t.responseText?e.set("error",t.responseText):e.set("error","Unkown error occured. Please see dev console.")},requestInit:function(e){e.setProperties({saving:!0,error:null})},actions:{create:function(){this.get("newPatterns")||this.set("newPatterns",[]),this.get("newPatterns").pushObject(n.default.create({isNew:!0}))},trash:function(e){var t=this e.get("isNew")?(this.get("newPatterns").removeObject(e),e.destroy()):(this.requestInit(e),this.makeAPICall({method:"DELETE",pattern:e.get("value")}).then((function(){t.get("patterns").removeObject(e),e.destroy()})).catch((function(n){return t.catchBlock(e,n)})).finally((function(){return t.finallyBlock(e)})))},save:function(e){var t=this this.requestInit(e),(e.get("isNew")?this.makeAPICall({method:"POST",pattern:e.valueBuffer,retroactive:!!e.retroactive}).then((function(n){e.updateValue(n.pattern),e.set("isNew",!1),t.get("patterns").pushObject(e),t.get("newPatterns").removeObject(e)})):this.makeAPICall({method:"PUT",pattern:e.get("value"),new_pattern:e.get("valueBuffer")}).then((function(t){e.updateValue(t.pattern),e.set("count",0)}))).catch((function(n){t.catchBlock(e,n)})).finally((function(){return t.finallyBlock(e)}))},resetCount:function(e){var t=this e.set("saving",!0),(0,a.ajax)("/reset-count.json",{method:"PUT",data:{pattern:e.get("value"),hard:!!e.get("hard")}}).then((function(){e.set("count",0)})).catch((function(n){return t.catchBlock(e,n)})).finally((function(){return t.finallyBlock(e)}))},checkboxChanged:function(e){e.toggleProperty("retroactive")}}}) e.default=r})),define("client-app/components/tab-contents",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Component.extend({classNameBindings:["active",":content","name"],isLink:!1,invokeParent:function(e){for(var t=this.get("parentView");t&&!t[e];)t=t.get("parentView") t&&t[e](this)},didInsertElement:function(){this.invokeParent("addTab"),this.get("defaultTab")&&this.invokeParent("selectTab")},willDestroyElement:function(){this.invokeParent("removeTab")}}) e.default=t})),define("client-app/components/tabbed-section",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Component.extend({tabs:Em.A(),selectTab:function(e){if(e.get("isLink"))this.triggerAction(e.get("action")) else{var t=this.get("selected") t&&t.set("active",!1),this.set("selected",e),e.set("active",!0),this.onTabChange(e.name)}},addTab:function(e){this.get("tabs").addObject(e),this.get("selected")||e.get("isLink")||this.selectTab(e)},removeTab:function(e){this.get("selected")===e&&this.set("selected",null),this.get("tabs").removeObject(e)}}) e.default=t})),define("client-app/components/time-formatter",["exports","client-app/lib/utilities"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=Ember.Component.extend({tagName:"span",classNames:"auto-update-time",attributeBindings:["dataTimestamp:data-timestamp","title"],title:Ember.computed((function(){return this.get("moment").format()})),dataTimestamp:Ember.computed((function(){return this.get("timestamp")})),moment:Ember.computed((function(){return moment(this.get("timestamp"))})),time:Ember.computed("timestamp",(function(){return(0,t.formatTime)(this.get("timestamp"))}))}) e.default=n})),define("client-app/components/update-time",["exports","client-app/lib/utilities"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=Ember.Component.extend({didInsertElement:function(){Ember.run.later(this,this.updateTimes,6e4)},updateTimes:function(){Array.from(document.querySelectorAll(".auto-update-time")).forEach((function(e){var n=parseInt(e.dataset.timestamp) if(n){var a=(0,t.formatTime)(n) a!==e.innerText&&(e.innerText=a)}})),Ember.run.later(this,this.updateTimes,6e4)}}) e.default=n})),define("client-app/controllers/index",["exports","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a=Ember.Controller.extend({showDebug:!0,showInfo:!0,showWarn:!0,showErr:!0,showFatal:!0,search:"",queryParams:["search"],showSettings:Ember.computed((function(){return n.default.get("patterns_enabled")})),resizePanels:function(e){var t=document.getElementById("bottom-panel"),n=document.getElementById("top-panel") t.style.height="".concat(e-13,"px"),n.style.bottom="".concat(e+12,"px")},actionsInMenu:Ember.computed((function(){return this.site.isMobile})),actions:{expandMessage:function(e){e.expand()},selectRowAction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{} this.model.selectRow(e,t)},tabChangedAction:function(e){this.model.tabChanged(e)},showMoreBefore:function(){this.model.showMoreBefore()},loadMore:function(){return this.model.loadMore()},clear:function(){var e=this confirm("Clear the logs?\n\nCancel = No, OK = Clear")&&(0,t.ajax)("/clear",{type:"POST"}).then((function(){e.model.reload()}))},removeMessage:function(e){var t=this.model.currentRow.group?this.model.currentRow:null,n=this.model.rows,a=t?n.indexOf(t):n.indexOf(e) e.destroy(),e.set("selected",!1),this.model.set("total",this.model.total-1) var r=!1,s=0 t?(s=t.messages.indexOf(e),t.messages.removeObject(e),s=Math.min(s,t.messages.length-1),0===t.messages.length&&(n.removeObject(t),r=!0)):(n.removeObject(e),r=!0),r?a>0?this.model.selectRow(n[a-1]):this.model.total>0?this.model.selectRow(n[0]):this.model.reload():t&&this.model.selectRow(n[a],{messageIndex:s})},solveMessage:function(e){this.model.solve(e)},groupedMessageChangedAction:function(e){this.model.groupedMessageChanged(e)},envChangedAction:function(e){this.model.envChanged(e)},updateFilter:function(e){var t=this this.toggleProperty(e) var n=[];["Debug","Info","Warn","Err","Fatal"].forEach((function(e,a){t.get("show".concat(e))&&n.push(a)})),n.push(5),this.model.set("filter",n),this.model.reload().then((function(){return t.model.updateSelectedRow()}))},updateSearch:function(e){e&&1===e.length||Ember.run.debounce(this,this.doSearch,e,250)}},doSearch:function(e){var t=this this.model.set("search",e),this.model.reload().then((function(){return t.model.updateSelectedRow()}))}}) e.default=a})),define("client-app/controllers/show",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Controller.extend({envPosition:0,actions:{protect:function(){this.get("model").protect()},unprotect:function(){this.get("model").unprotect()},envChanged:function(e){this.set("envPosition",e)}}}) e.default=t})),define("client-app/data-adapter",["exports","@ember-data/debug"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/helpers/app-version",["exports","client-app/config/environment","ember-cli-app-version/utils/regexp"],(function(e,t,n){function a(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.default.APP.version,s=a.versionOnly||a.hideSha,i=a.shaOnly||a.hideVersion,o=null return s&&(a.showExtended&&(o=r.match(n.versionExtendedRegExp)),o||(o=r.match(n.versionRegExp))),i&&(o=r.match(n.shaRegExp)),o?o[0]:r}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=a,e.default=void 0 var r=Ember.Helper.helper(a) e.default=r})),define("client-app/helpers/logster-url",["exports","client-app/lib/preload"],(function(e,t){function n(e){var n=e[0] return"/"!==n[0]&&(n="/".concat(n)),t.default.get("rootPath")+n}Object.defineProperty(e,"__esModule",{value:!0}),e.logsterUrl=n,e.default=void 0 var a=Ember.Helper.helper(n) e.default=a})),define("client-app/helpers/or",["exports"],(function(e){function t(e){return e.some((function(e){return e}))}Object.defineProperty(e,"__esModule",{value:!0}),e.or=t,e.default=void 0 var n=Ember.Helper.helper(t) e.default=n})),define("client-app/helpers/pluralize",["exports","ember-inflector/lib/helpers/pluralize"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=t.default e.default=n})),define("client-app/helpers/singularize",["exports","ember-inflector/lib/helpers/singularize"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=t.default e.default=n})),define("client-app/initializers/app-init",["exports","client-app/lib/utilities"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=a,e.default=void 0 var n=["component","route"] function a(e){var a,r 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"}}),["","webkit","ms","moz","ms"].forEach((function(e){var t=e+(""===e?"hidden":"Hidden") void 0===document[t]||a||(a=t,r=e+"visibilitychange")})),(0,t.updateHiddenProperty)(a),document.addEventListener(r,(function(){(0,t.resetTitleCount)()}),!1),e.register("events:main",Ember.Object.extend(Ember.Evented).create(),{instantiate:!1}),n.forEach((function(t){return e.inject(t,"events","events:main")})) var s=/mobile/i.test(navigator.userAgent)&&!/iPad/.test(navigator.userAgent) s&&document.body.classList.add("mobile"),e.register("site:main",{isMobile:s},{instantiate:!1}),e.inject("controller","site","site:main")}var r={initialize:a} e.default=r})),define("client-app/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","client-app/config/environment"],(function(e,t,n){var a,r Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n.default.APP&&(a=n.default.APP.name,r=n.default.APP.version) var s={name:"App Version",initialize:(0,t.default)(a,r)} e.default=s})),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 var n={name:"container-debug-adapter",initialize:function(){var e=arguments[1]||arguments[0] e.register("container-debug-adapter:main",t.default),e.inject("container-debug-adapter:main","namespace","application:main")}} e.default=n})),define("client-app/initializers/ember-data-data-adapter",["exports","@ember-data/debug/setup"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/initializers/ember-data",["exports","ember-data/setup-container","ember-data"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a={name:"ember-data",initialize:t.default} e.default=a})),define("client-app/initializers/export-application-global",["exports","client-app/config/environment"],(function(e,t){function n(){var e=arguments[1]||arguments[0] if(!1!==t.default.exportApplicationGlobal){var n if("undefined"!=typeof window)n=window else if("undefined"!=typeof global)n=global else{if("undefined"==typeof self)return n=self}var a,r=t.default.exportApplicationGlobal a="string"==typeof r?r:Ember.String.classify(t.default.modulePrefix),n[a]||(n[a]=e,e.reopen({willDestroy:function(){this._super.apply(this,arguments),delete n[a]}}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.initialize=n,e.default=void 0 var a={name:"export-application-global",initialize:n} e.default=a})),define("client-app/instance-initializers/ember-data",["exports","ember-data/initialize-store-service"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n={name:"ember-data",initialize:t.default} e.default=n})) define("client-app/lib/decorators",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.bound=function(e,t,n){var a=n.value,r="_".concat(t,"Bound") return{get:function(){return this[r]?this[r]:(this.set(r,a.bind(this)),this[r])}}}})),define("client-app/lib/preload",["exports"],(function(e){var t Object.defineProperty(e,"__esModule",{value:!0}),e.init=a,e.mutatePreload=function(e,r){n||a() Em.set(t,e,r)},e.uninitialize=function(){n=!1},e.default=void 0 var n=!1 function a(){var e=document.getElementById("preloaded-data").dataset;(t=JSON.parse(e.preloaded)).rootPath=e.rootPath,n=!0}var r={get:function(e){return n||a(),Em.get(t,e)}} e.default=r})),define("client-app/lib/utilities",["exports","@babel/runtime/helpers/esm/typeof","client-app/lib/preload"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.escapeHtml=o,e.ajax=l,e.preloadOrAjax=function(e,t){var a=n.default.get(e.replace(".json","")) return a?Ember.RSVP.resolve(a):l(e,t)},e.updateHiddenProperty=function(e){a=e},e.isHidden=u,e.increaseTitleCount=function(e){if(!u())return r=r||document.title,s=s||0,s+=e,document.title="".concat(r," (").concat(s,")")},e.resetTitleCount=function(){s=0,document.title=r||document.title},e.formatTime=c,e.buildArrayString=d,e.buildHashString=function e(a,r){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{} if(!a)return"" var l=[],u=[],p=n.default.get("env_expandable_keys")||[] Object.keys(a).forEach((function(e){var n=a[e] if(null===n)l.push("null") else if(-1===p.indexOf(e)||r)if("[object Array]"===Object.prototype.toString.call(n)){var f=d(n) l.push("".concat(o(e),"").concat(f,""))}else if("object"===(0,t.default)(n))u.push(e) else if("time"===e&&"number"==typeof n){var m=moment(n).format(),h=c(n) l.push('').concat(e,"").concat(h,""))}else l.push("".concat(o(e),"").concat(o(n),"")) else{var v="" v=-1!==s.indexOf(e)||i[e]&&i[e].length<3?i[e]&&1===i[e].length?o(i[e][0]):d(i[e]):"".concat(o(i[e][0]),', ").concat(l.join("\n"),"")} var a,r,s,i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"} function o(e){return String(e).replace(/[&<>"'/]/g,(function(e){return i[e]}))}function l(e,t){return new Ember.RSVP.Promise((function(a,r){t=t||{} var s=new XMLHttpRequest if(e=n.default.get("rootPath")+e,t.data)for(var i in t.data){var o=-1===e.indexOf("?")?"?":"&" e+=o,e+="".concat(i,"=").concat(encodeURIComponent(t.data[i]))}if(s.open(t.method||t.type||"GET",e),s.setRequestHeader("X-SILENCE-LOGGER",!0),t.headers)for(var l in t.headers)s.setRequestHeader(l,t.headers[l]) s.onreadystatechange=function(){if(4===s.readyState){var e=s.status if(e>=200&&e<300||304===e){var t=s.getResponseHeader("Content-Type"),n=s.responseText;/\bjson\b/.test(t)&&(n=JSON.parse(n)),a(n)}else r(s)}},s.send()}))}function u(){return void 0!==a?document[a]:!document.hasFocus}function c(e){var t=moment(e),n=moment() return t.diff(n.startOf("day"))>0?t.format("h:mm a"):t.diff(n.startOf("week"))>0?t.format("dd h:mm a"):t.diff(n.startOf("year"))>0?t.format("D MMM h:mm a"):t.format("D MMM YY")}function d(e){var t=[] return e.forEach((function(e){null===e?t.push("null"):"[object Array]"===Object.prototype.toString.call(e)?t.push(d(e)):t.push(o(e.toString()))})),"["+t.join(", ")+"]"}})),define("client-app/models/group",["exports","client-app/models/message","client-app/lib/utilities"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a=Ember.Object.extend({selected:!1,showCount:!0,key:Ember.computed.reads("regex"),displayMessage:Ember.computed.reads("messages.firstObject.message"),init:function(){this._super.apply(this,arguments) var e=this.messages.map((function(e){return t.default.create(e)})) this.set("messages",e)},glyph:Ember.computed((function(){return""})),solveAll:function(){return(0,n.ajax)("/solve-group",{type:"POST",data:{regex:this.regex}})}}) e.default=a})),define("client-app/models/message-collection",["exports","client-app/lib/utilities","client-app/models/message","client-app/models/group"],(function(e,t,n,a){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var r=[0,1,2,3,4,5],s=Ember.Object.extend({total:0,rows:null,currentRow:null,currentTab:null,currentEnvPosition:0,currentGroupedMessagesPosition:0,init:function(){this._super.apply(this,arguments),this.setProperties({filter:r,search:"",rows:Ember.A()})},currentMessage:Ember.computed("currentRow","currentGroupedMessagesPosition",(function(){var e=this.currentRow,t=this.currentGroupedMessagesPosition return e&&e.group?e.messages[t]:e})),solve:function(e){var t=this e.solve().then((function(){t.reload()}))},selectRow:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.currentRow n&&n.set("selected",!1),e.set("selected",!0) var a=t.messageIndex||0,r=a===this.currentGroupedMessagesPosition this.setProperties({currentRow:e,loadingEnv:!1,currentGroupedMessagesPosition:a,currentEnvPosition:0}),r&&this.notifyPropertyChange("currentGroupedMessagesPosition") var s=this.currentMessage&&!this.currentMessage.env this.fetchEnv({force:s})},tabChanged:function(e){this.setProperties({currentTab:e,loadingEnv:!1}),this.fetchEnv()},groupedMessageChanged:function(e){this.setProperties({currentGroupedMessagesPosition:e,currentEnvPosition:0}),this.fetchEnv()},envChanged:function(e){this.set("currentEnvPosition",e),this.fetchEnv()},fetchEnv:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.currentMessage if(t.force||n&&!n.env&&"env"===this.currentTab)return this.set("loadingEnv",!0),n.fetchEnv().finally((function(){return e.set("loadingEnv",!1)}))},findEquivalentMessageIndex:function(e){var t=0 return e&&e.group&&this.currentRow&&this.currentRow.group&&e.key===this.currentRow.key&&(t=e.messages.mapBy("key").indexOf(this.currentMessage.key),t=Math.max(0,t)),t},updateSelectedRow:function(){var e=this.get("currentRow.key") if(e&&this.rows){var t=this.rows.find((function(t){return t.key===e})) if(t){var n=this.findEquivalentMessageIndex(t) this.selectRow(t,{messageIndex:n})}else this.setProperties({currentRow:null,currentEnvPosition:0,currentGroupedMessagesPosition:0})}},load:function(e){var n=this e=e||{} var a={filter:this.filter.join("_")} this.search&&this.search.length>0&&(a.search=this.search,this.regexSearch&&(a.regex_search="true")) return e.before&&(a.before=e.before,e.knownGroups&&(a.known_groups=e.knownGroups)),e.after&&(a.after=e.after),this.set("loading",!0),(0,t.ajax)("/messages.json",{data:a}).then((function(a){if(0==Ember.compare(a.filter,n.filter)&&0==Ember.compare(a.search,n.search)){if(a.messages.length>0){var r=n.toObjects(a.messages),s=n.rows e.before?s.unshiftObjects(r):(r.forEach((function(e){s.forEach((function(t){if(t.key===e.key&&(s.removeObject(t),n.currentRow===t)){var a=n.findEquivalentMessageIndex(e) n.selectRow(e,{messageIndex:a})}}))})),s.addObjects(r),r.length>0&&(0,t.increaseTitleCount)(r.length))}return n.set("total",a.total),a}})).finally((function(){return n.set("loading",!1)}))},reload:function(){var e=this return this.set("total",0),this.rows.clear(),this.load().then((function(t){return e.updateCanLoadMore(t)}))},updateCanLoadMore:function(e){e&&(e.messages.length<50?this.set("canLoadMore",!1):this.set("canLoadMore",!0))},loadMore:function(){var e=this.rows if(0!==e.length){var t=e[e.length-1],n=t.group?t.row_id:t.key this.load({after:n})}else this.load({})},hideCountInLoadMore:Ember.computed("search","filter",(function(){var e=this.filter return this.search&&this.search.length>0||e&&e.length<6})),moreBefore:Ember.computed("rows.length","canLoadMore",(function(){return this.get("rows.length")>=50&&this.canLoadMore})),totalBefore:Ember.computed("total","rows.length",(function(){return this.total-this.rows.length})),showMoreBefore:function(){var e=this,t=this.rows,n=t[0],a=n.group?n.row_id:n.key,r=t.filterBy("group").mapBy("regex") this.load({before:a,knownGroups:r}).then((function(t){return e.updateCanLoadMore(t)}))},regexSearch:Ember.computed("search",(function(){var e=this.search if(e&&e.length>2&&"/"===e[0]){var t=e.match(/\/(.*)\/(.*)/) if(t&&3===t.length)try{return new RegExp(t[1],t[2])}catch(n){}}return null})),toObjects:function(e){return e.map((function(e){return e.group?a.default.create(e):n.default.create(e)}))}}) e.default=s})),define("client-app/models/message",["exports","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a=Em.Object.extend({MAX_LEN:200,fetchEnv:function(){var e=this return(0,t.ajax)("/fetch-env/".concat(this.key,".json")).then((function(t){return e.set("env",t)}))},expand:function(){this.set("expanded",!0)},solve:function(){return(0,t.ajax)("/solve/".concat(this.key),{type:"PUT"})},destroy:function(){return(0,t.ajax)("/message/".concat(this.key),{type:"DELETE"})},protect:function(){return this.set("protected",!0),(0,t.ajax)("/protect/".concat(this.key),{type:"PUT"})},unprotect:function(){return this.set("protected",!1),(0,t.ajax)("/unprotect/".concat(this.key),{type:"DELETE"})},showCount:Ember.computed("count",(function(){return this.count>1})),hasMore:Ember.computed("message","expanded",(function(){return!this.expanded&&this.message.length>this.MAX_LEN})),shareUrl:Ember.computed("key",(function(){return"".concat(n.default.get("rootPath"),"/show/").concat(this.key)})),displayMessage:Ember.computed("message","expanded",(function(){var e=this.message return!this.expanded&&this.message.length>this.MAX_LEN&&(e=this.message.substr(0,this.MAX_LEN)),e})),updateFromObject:function(e){this.set("count",e.get("count"))},canSolve:Ember.computed("env.{application_version,length}",(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})),rowClass:Ember.computed("severity",(function(){switch(this.get("severity")){case 0:return"debug" case 1:return"info" case 2:return"warn" case 3:return"error" case 4:return"fatal" default:return"unknown"}})),glyph:Ember.computed("severity",(function(){switch(this.get("severity")){case 0:case 1:return"" case 2:return"" case 3:return"" case 4:return"" default:return""}}))}) e.default=a})),define("client-app/models/pattern-item",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.Object.extend({isNew:!1,value:"",valueBuffer:"",error:null,saving:!1,count:0,init:function(){this._super.apply(this,arguments),this.set("valueBuffer",this.get("value"))},updateValue:function(e){this.setProperties({value:e,valueBuffer:e})},hasBuffer:Ember.computed("value","valueBuffer",(function(){return this.get("value")!==this.get("valueBuffer")})),zeroCount:Ember.computed("count",(function(){return this.get("count")<=0}))}) e.default=t})),define("client-app/resolver",["exports","ember-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var n=t.default e.default=n})),define("client-app/router",["exports","@babel/runtime/helpers/esm/classCallCheck","@babel/runtime/helpers/esm/possibleConstructorReturn","@babel/runtime/helpers/esm/getPrototypeOf","@babel/runtime/helpers/esm/assertThisInitialized","@babel/runtime/helpers/esm/inherits","@babel/runtime/helpers/esm/defineProperty","client-app/config/environment"],(function(e,t,n,a,r,s,i,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var l=function(e){function l(){var e,s;(0,t.default)(this,l) for(var u=arguments.length,c=new Array(u),d=0;d0 e.setProperties({showCodedSuppression:o,codedSuppression:r,customSuppression:s,grouping:i})}}) e.default=a})),define("client-app/routes/show",["exports","client-app/models/message","client-app/lib/utilities"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var a=Ember.Route.extend({model:function(e){return(0,n.preloadOrAjax)("/show/"+e.id+".json")},setupController:function(e,n){this._super.apply(this,arguments),e.set("model",t.default.create(n))}}) e.default=a})),define("client-app/serializers/-default",["exports","@ember-data/serializer/json"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/serializers/-json-api",["exports","@ember-data/serializer/json-api"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/serializers/-rest",["exports","@ember-data/serializer/rest"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("client-app/services/store",["exports","ember-data/store"],(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"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"Jmulcwk9",block:'{"symbols":[],"statements":[[1,[22,"update-time"],false],[0,"\\n"],[1,[22,"outlet"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/application.hbs"}}) e.default=t})),define("client-app/templates/components/actions-menu",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"0D8OukUv",block:'{"symbols":["&default"],"statements":[[4,"if",[[24,["actionsInMenu"]]],null,{"statements":[[4,"if",[[24,["showMenu"]]],null,{"statements":[[0," "],[7,"div",true],[10,"class","actions-menu"],[8],[0,"\\n "],[14,1],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[7,"button",false],[12,"class","expand btn no-text"],[3,"action",[[23,0,[]],"expandMenu"]],[8],[7,"i",true],[10,"class","fa fa-ellipsis-h"],[8],[9],[9],[0,"\\n"],[4,"if",[[24,["showShare"]]],null,{"statements":[[0," "],[7,"button",false],[12,"class","share btn"],[3,"action",[[23,0,[]],"share"]],[8],[7,"i",true],[10,"class","fa fa-share"],[8],[9],[7,"span",true],[8],[0,"Share"],[9],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},{"statements":[[0," "],[14,1],[0,"\\n"],[4,"if",[[24,["showShare"]]],null,{"statements":[[0," "],[7,"button",false],[12,"class","share btn"],[3,"action",[[23,0,[]],"share"]],[8],[7,"i",true],[10,"class","fa fa-share"],[8],[9],[7,"span",true],[8],[0,"Share"],[9],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]}]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/actions-menu.hbs"}}) e.default=t})),define("client-app/templates/components/back-trace",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"OLySMQ5Y",block:'{"symbols":["line"],"statements":[[4,"each",[[24,["lines"]]],null,{"statements":[[7,"div",true],[10,"class","backtrace-line"],[8],[1,[23,1,["line"]],false],[4,"if",[[23,1,["url"]]],null,{"statements":[[7,"a",true],[11,"href",[29,[[23,1,["url"]]]]],[10,"target","_blank"],[10,"class","line-link"],[8],[7,"i",true],[10,"class","fa fa-external-link-square"],[8],[9],[9]],"parameters":[]},null],[9]],"parameters":[1]},null]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/back-trace.hbs"}}) e.default=t})),define("client-app/templates/components/env-tab",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"LEg262h6",block:'{"symbols":[],"statements":[[4,"if",[[24,["isEnvArray"]]],null,{"statements":[[0," "],[1,[28,"page-nav",null,[["list","position","extraClasses","navigate"],[[24,["message","env"]],[24,["currentEnvPosition"]],"env-nav",[24,["envChangedAction"]]]]],false],[0,"\\n"]],"parameters":[]},null],[1,[22,"html"],true],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/env-tab.hbs"}}) e.default=t})),define("client-app/templates/components/message-info",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"xUaasKAn",block:'{"symbols":["btn"],"statements":[[7,"div",true],[10,"class","message-info"],[8],[0,"\\n"],[4,"tabbed-section",null,[["onTabChange"],[[28,"action",[[23,0,[]],"tabChanged"],null]]],{"statements":[[4,"tab-contents",null,[["name","hint","currentMessage"],["info","show info",[24,["currentMessage"]]]],{"statements":[[4,"if",[[24,["showTitle"]]],null,{"statements":[[0," "],[7,"h3",true],[8],[0,"Message\\n"],[4,"if",[[24,["currentMessage","showCount"]]],null,{"statements":[[0," ("],[1,[24,["currentMessage","count"]],false],[0," copies reported)\\n"]],"parameters":[]},null],[0," "],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[7,"pre",true],[8],[1,[24,["currentMessage","message"]],false],[9],[0,"\\n"]],"parameters":[]},null],[4,"tab-contents",null,[["name","defaultTab","hint","currentMessage"],["backtrace","true","show backtrace",[24,["currentMessage"]]]],{"statements":[[4,"if",[[24,["showTitle"]]],null,{"statements":[[0," "],[7,"h3",true],[8],[0,"Backtrace"],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[7,"pre",true],[8],[1,[28,"back-trace",null,[["class","backtrace","env"],["backtrace",[24,["currentMessage","backtrace"]],[24,["currentMessage","env"]]]]],false],[9],[0,"\\n"]],"parameters":[]},null],[4,"tab-contents",null,[["className","name","hint","currentMessage"],["env","env","show environment",[24,["currentMessage"]]]],{"statements":[[4,"if",[[24,["currentMessage"]]],null,{"statements":[[4,"if",[[24,["currentMessage","env"]]],null,{"statements":[[4,"if",[[24,["showTitle"]]],null,{"statements":[[0," "],[7,"h3",true],[8],[0,"Env"],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[1,[28,"env-tab",null,[["message","currentEnvPosition","envChangedAction"],[[24,["currentMessage"]],[24,["currentEnvPosition"]],[24,["envChangedAction"]]]]],false],[0,"\\n"]],"parameters":[]},{"statements":[[4,"if",[[24,["loadingEnv"]]],null,{"statements":[[0," Loading env...\\n"]],"parameters":[]},{"statements":[[0," No env for this message.\\n "]],"parameters":[]}]],"parameters":[]}]],"parameters":[]},null]],"parameters":[]},null]],"parameters":[]},null],[0,"\\n"],[4,"if",[[24,["currentMessage"]]],null,{"statements":[[0," "],[7,"div",true],[10,"class","message-actions"],[8],[0,"\\n"],[4,"actions-menu",null,[["actionsInMenu","showShare","share"],[[24,["actionsInMenu"]],[24,["showShare"]],[28,"action",[[23,0,[]],"share"],null]]],{"statements":[[4,"each",[[24,["buttons"]]],null,{"statements":[[0," "],[7,"button",false],[12,"class",[29,[[23,1,["klass"]]," btn ",[28,"if",[[23,1,["danger"]],"danger",""],null]]]],[3,"action",[[23,0,[]],[23,1,["action"]]]],[8],[0,"\\n "],[7,"i",true],[11,"class",[29,["fa fa-",[23,1,["icon"]]]]],[8],[9],[0,"\\n "],[7,"span",true],[8],[1,[23,1,["label"]],false],[9],[0,"\\n "],[9],[0,"\\n"]],"parameters":[1]},null]],"parameters":[]},null],[0," "],[9],[0,"\\n"]],"parameters":[]},null],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/message-info.hbs"}}) e.default=t})),define("client-app/templates/components/message-row",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"y51tJEuM",block:'{"symbols":[],"statements":[[7,"div",true],[10,"class","count"],[8],[0,"\\n"],[4,"if",[[24,["model","showCount"]]],null,{"statements":[[0," "],[1,[24,["model","count"]],false],[0,"\\n"]],"parameters":[]},null],[9],[0,"\\n"],[7,"div",true],[10,"class","severity"],[8],[1,[24,["model","glyph"]],true],[9],[0,"\\n"],[7,"div",true],[10,"class","message-body"],[8],[0,"\\n "],[1,[24,["model","displayMessage"]],false],[0,"\\n"],[9],[0,"\\n"],[7,"div",true],[10,"class","protected"],[8],[0,"\\n"],[4,"if",[[24,["model","protected"]]],null,{"statements":[[0," "],[7,"i",true],[10,"title","message is protected, clearing will not remove it"],[10,"class","fa fa-lock"],[8],[9],[0,"\\n"]],"parameters":[]},null],[9],[0,"\\n"],[7,"div",true],[10,"class","time"],[8],[1,[28,"time-formatter",null,[["timestamp"],[[24,["model","timestamp"]]]]],false],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/message-row.hbs"}}) e.default=t})),define("client-app/templates/components/page-nav",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"LtWub9my",block:'{"symbols":[],"statements":[[7,"button",false],[12,"disabled",[22,"disableBackButtons"]],[12,"class","btn nav-btn no-text"],[3,"action",[[23,0,[]],"bigJump","back"]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-fast-backward"],[8],[9],[0,"\\n"],[9],[0,"\\n"],[7,"button",false],[12,"disabled",[22,"disableBackButtons"]],[12,"class","btn nav-btn no-text"],[3,"action",[[23,0,[]],"takeStep","back"]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-backward"],[8],[9],[0,"\\n"],[9],[0,"\\n"],[7,"span",true],[10,"class","current-number"],[8],[1,[22,"displayNumber"],false],[0,"/"],[1,[24,["list","length"]],false],[9],[0,"\\n"],[7,"button",false],[12,"disabled",[22,"disableForwardButtons"]],[12,"class","btn nav-btn no-text"],[3,"action",[[23,0,[]],"takeStep","front"]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-forward"],[8],[9],[0,"\\n"],[9],[0,"\\n"],[7,"button",false],[12,"disabled",[22,"disableForwardButtons"]],[12,"class","btn nav-btn no-text"],[3,"action",[[23,0,[]],"bigJump","front"]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-fast-forward"],[8],[9],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/page-nav.hbs"}}) e.default=t})),define("client-app/templates/components/panel-resizer",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"mMcWs7yM",block:'{"symbols":[],"statements":[[7,"div",true],[10,"class","line-1"],[8],[9],[0,"\\n"],[7,"div",true],[10,"class","line-2"],[8],[9],[0,"\\n"],[7,"div",true],[10,"class","line-3"],[8],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/panel-resizer.hbs"}}) e.default=t})),define("client-app/templates/components/patterns-list",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"uOSj4xjF",block:'{"symbols":["pattern"],"statements":[[4,"if",[[24,["mutable"]]],null,{"statements":[[0," "],[7,"button",false],[12,"class","btn new-pattern"],[3,"action",[[23,0,[]],"create"]],[8],[7,"i",true],[10,"class","fa fa-plus"],[8],[9],[0," New"],[9],[0,"\\n"]],"parameters":[]},null],[4,"each",[[24,["allPatterns"]]],null,{"statements":[[0," "],[7,"div",true],[10,"class","pattern-wrapper"],[8],[0,"\\n "],[1,[28,"input",null,[["type","class","placeholder","value","disabled"],["textfield","pattern-input","Enter regular expression…",[23,1,["valueBuffer"]],[28,"or",[[24,["immutable"]],[23,1,["saving"]]],null]]]],false],[0,"\\n"],[4,"if",[[24,["mutable"]]],null,{"statements":[[4,"if",[[23,1,["hasBuffer"]]],null,{"statements":[[0," "],[7,"button",false],[12,"disabled",[23,1,["saving"]]],[12,"class","btn ok no-text save shrink"],[3,"action",[[23,0,[]],"save",[23,1,[]]]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-check"],[8],[9],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[7,"button",false],[12,"disabled",[23,1,["saving"]]],[12,"class","btn no-text trash shrink"],[3,"action",[[23,0,[]],"trash",[23,1,[]]]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-trash"],[8],[9],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0,"\\n"],[4,"if",[[24,["showCounter"]]],null,{"statements":[[0," "],[7,"input",true],[10,"disabled","true"],[10,"title","Number of logs that have been suppressed by this pattern"],[10,"class","count shrink"],[11,"value",[23,1,["count"]]],[8],[9],[0,"\\n "],[7,"button",false],[12,"class","btn no-text reset shrink"],[12,"title","Reset count of suppressed logs"],[12,"disabled",[23,1,["zeroCount"]]],[3,"action",[[23,0,[]],"resetCount",[23,1,[]]]],[8],[0,"\\n "],[7,"i",true],[10,"class","fa fa-rotate-right"],[8],[9],[0,"\\n "],[9],[0,"\\n"]],"parameters":[]},null],[0," "],[9],[0,"\\n"],[4,"if",[[24,["applyRetroactivelyCheckbox"]]],null,{"statements":[[4,"if",[[23,1,["isNew"]]],null,{"statements":[[0," "],[7,"div",true],[10,"class","retro-checkbox"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[23,1,["retroactive"]]],[10,"class","checkbox"],[11,"onclick",[28,"action",[[23,0,[]],"checkboxChanged",[23,1,[]]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n Apply retroactively\\n "],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[4,"if",[[23,1,["error"]]],null,{"statements":[[7,"pre",true],[10,"class","api-error"],[8],[1,[23,1,["error"]],false],[9]],"parameters":[]},null]],"parameters":[1]},null]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/patterns-list.hbs"}}) e.default=t})),define("client-app/templates/components/tabbed-section",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"66JSiIiX",block:'{"symbols":["tab","&default"],"statements":[[14,2],[0,"\\n"],[7,"ul",true],[10,"class","tabs"],[8],[0,"\\n"],[4,"each",[[24,["tabs"]]],null,{"statements":[[0," "],[7,"li",true],[8],[0,"\\n "],[7,"a",false],[12,"title",[29,[[28,"unbound",[[23,1,["hint"]]],null]]]],[12,"href","#"],[12,"class",[29,[[28,"if",[[23,1,["active"]],"active"],null]]]],[3,"action",[[23,0,[]],[24,["selectTab"]],[23,1,[]]]],[8],[0,"\\n "],[1,[28,"unbound",[[23,1,["name"]]],null],false],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n"]],"parameters":[1]},null],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/tabbed-section.hbs"}}) e.default=t})),define("client-app/templates/components/time-formatter",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"Nb2l5Onl",block:'{"symbols":[],"statements":[[1,[22,"time"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/time-formatter.hbs"}}) e.default=t})),define("client-app/templates/index",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"LtMzTg2n",block:'{"symbols":["row"],"statements":[[7,"div",true],[10,"id","top-panel"],[8],[0,"\\n "],[7,"div",true],[10,"id","log-table"],[8],[0,"\\n"],[4,"if",[[24,["model","moreBefore"]]],null,{"statements":[[0," "],[7,"div",false],[12,"class","show-more"],[3,"action",[[23,0,[]],"showMoreBefore"]],[8],[0,"\\n"],[4,"if",[[24,["model","hideCountInLoadMore"]]],null,{"statements":[[0," Load more\\n"]],"parameters":[]},{"statements":[[0," Select to see "],[1,[24,["model","totalBefore"]],false],[0," more\\n"]],"parameters":[]}],[0," "],[9],[0,"\\n"]],"parameters":[]},null],[4,"each",[[24,["model","rows"]]],null,{"statements":[[0," "],[1,[28,"message-row",null,[["model","selectRow"],[[23,1,[]],[28,"action",[[23,0,[]],"selectRowAction",[23,1,[]]],null]]]],false],[0,"\\n"]],"parameters":[1]},null],[0," "],[9],[0,"\\n"],[9],[0,"\\n"],[7,"div",true],[10,"id","bottom-panel"],[11,"class",[29,[[28,"if",[[24,["model","currentRow","group"]],"group-view"],null]]]],[8],[0,"\\n"],[4,"if",[[24,["model","currentRow","group"]]],null,{"statements":[[0," "],[1,[28,"page-nav",null,[["list","position","extraClasses","navigate"],[[24,["model","currentRow","messages"]],[24,["model","currentGroupedMessagesPosition"]],"group-nav",[28,"action",[[23,0,[]],"groupedMessageChangedAction"],null]]]],false],[0,"\\n"]],"parameters":[]},null],[0," "],[1,[28,"message-info",null,[["currentMessage","currentRow","loadingEnv","removeMessage","solveMessage","onTabChange","envChangedAction","currentEnvPosition","actionsInMenu","showShare"],[[24,["model","currentMessage"]],[24,["model","currentRow"]],[24,["model","loadingEnv"]],[28,"action",[[23,0,[]],"removeMessage"],null],[28,"action",[[23,0,[]],"solveMessage"],null],[28,"action",[[23,0,[]],"tabChangedAction"],null],[28,"action",[[23,0,[]],"envChangedAction"],null],[24,["model","currentEnvPosition"]],[24,["actionsInMenu"]],true]]],false],[0,"\\n\\n "],[7,"div",true],[10,"class","action-panel"],[8],[0,"\\n "],[7,"div",true],[10,"class","severity-filters"],[8],[0,"\\n "],[7,"div",true],[10,"class","more-wrapping"],[8],[0,"\\n "],[7,"label",true],[10,"class","debug"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showDebug"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showDebug"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Debug"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","info"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showInfo"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showInfo"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Info"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","warn"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showWarn"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showWarn"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-exclamation-circle warning"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Warning"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","error"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showErr"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showErr"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-times-circle error"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Error"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","fatal"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showFatal"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showFatal"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-times-circle fatal"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Fatal"],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","search-clear-all"],[8],[0,"\\n "],[7,"input",true],[10,"class","search"],[10,"placeholder","Search"],[11,"onkeyup",[28,"action",[[23,0,[]],"updateSearch"],[["value"],["target.value"]]]],[10,"type","text"],[8],[9],[0,"\\n "],[7,"div",true],[10,"class","footer-btns"],[8],[0,"\\n"],[4,"if",[[24,["showSettings"]]],null,{"statements":[[4,"link-to",null,[["class","route"],["settings btn no-text","settings"]],{"statements":[[0," "],[7,"i",true],[10,"class","fa fa-cog"],[8],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[0," "],[7,"button",false],[12,"class","clear btn danger"],[3,"action",[[23,0,[]],"clear"]],[8],[7,"i",true],[10,"class","fa fa-trash-o"],[8],[9],[7,"span",true],[8],[0,"Clear logs"],[9],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"],[1,[22,"panel-resizer"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/index.hbs"}}) e.default=t})),define("client-app/templates/settings",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"QRu+EVou",block:'{"symbols":[],"statements":[[7,"div",true],[10,"class","settings-page"],[8],[0,"\\n "],[4,"link-to",null,[["route"],["index"]],{"statements":[[0,"Home"]],"parameters":[]},null],[0,"\\n "],[7,"div",true],[10,"class","settings-header"],[8],[0,"\\n "],[7,"h1",true],[10,"class","header-title"],[8],[0,"Settings"],[9],[0,"\\n "],[7,"img",true],[10,"class","header-logo"],[11,"src",[28,"logster-url",["images/icon_144x144.png"],null]],[8],[9],[0,"\\n "],[9],[0,"\\n\\n "],[7,"div",true],[10,"class","settings-section suppression-patterns"],[8],[0,"\\n "],[7,"h2",true],[10,"class","section-title"],[8],[0,"Suppression Patterns"],[9],[0,"\\n "],[7,"div",true],[8],[0,"New messages that match these Regular Expression patterns will be suppressed. Checking Apply retroactively will remove all existing messages that match the patterns."],[9],[0,"\\n\\n"],[4,"if",[[24,["showCodedSuppression"]]],null,{"statements":[[0," "],[7,"h3",true],[10,"class","subsection-title"],[8],[0,"Hard-coded patterns:"],[9],[0,"\\n "],[7,"div",true],[10,"class","tip"],[8],[0,"These patterns can\'t be removed via the UI because they are commited to the source code of your app."],[9],[0,"\\n "],[1,[28,"patterns-list",null,[["patterns","mutable"],[[24,["codedSuppression"]],false]]],false],[0,"\\n"]],"parameters":[]},null],[0,"\\n "],[7,"h3",true],[10,"class","subsection-title"],[8],[0,"Custom patterns:"],[9],[0,"\\n "],[1,[28,"patterns-list",null,[["patterns","key","applyRetroactivelyCheckbox","mutable"],[[24,["customSuppression"]],"suppression",true,true]]],false],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","settings-section grouping-patterns"],[8],[0,"\\n "],[7,"h2",true],[10,"class","section-title"],[8],[0,"Grouping Patterns"],[9],[0,"\\n "],[7,"div",true],[8],[0,"Add a Regular Expression pattern to group all new and existing messages into a single row when viewing the logs."],[9],[0,"\\n\\n "],[1,[28,"patterns-list",null,[["patterns","key","mutable"],[[24,["grouping"]],"grouping",true]]],false],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/settings.hbs"}}) e.default=t})),define("client-app/templates/show",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0 var t=Ember.HTMLBars.template({id:"Xt+M1cRV",block:'{"symbols":[],"statements":[[4,"link-to",null,[["route"],["index"]],{"statements":[[0,"Recent"]],"parameters":[]},null],[0,"\\n"],[7,"div",true],[10,"id","bottom-panel"],[10,"class","full"],[8],[0,"\\n "],[1,[28,"message-info",null,[["currentMessage","showTitle","envChangedAction","currentEnvPosition","actionsInMenu"],[[24,["model"]],"true",[28,"action",[[23,0,[]],"envChanged"],null],[24,["envPosition"]],false]]],false],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/show.hbs"}}) e.default=t})) define("client-app/transforms/boolean",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.BooleanTransform}})})),define("client-app/transforms/date",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.DateTransform}})})),define("client-app/transforms/number",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.NumberTransform}})})),define("client-app/transforms/string",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.StringTransform}})})),define("client-app/config/environment",[],(function(){try{var e="client-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))} return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(a){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"v2.6.0+229f0a27"})