front_end_builds 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0d4fd75e239eb5ea2cc4562c8d042a1b2c6eed6
4
- data.tar.gz: c517be74a19227923b861f8506c0a062c5347789
3
+ metadata.gz: ba99d004a657c889a0ca4c38b006d060472ee84a
4
+ data.tar.gz: a1a1407b989b066189e8c77c106cb908ea8c96ff
5
5
  SHA512:
6
- metadata.gz: 0d431e71675905541f2dc670d92bfa79070cfac851deaca4960692196befdaada9649ec0cbb5ab6602c461b0770c839e15fc6862c6f39901fd298b9c4d89f285
7
- data.tar.gz: b12006107d54bac39024538e39deeec7432fe787d82da8c40330d784806ee0aa6c1ec9283d8a9067da30627415b323876ef4762441f2cba9f68d78bdab6dc5aa
6
+ metadata.gz: 6cab43a615a7c1abdb4d583bde7fde8acfbbd00e1e20db22af991921c0301b44035d6ecfe87e6acc6b519fd8464218075ecafc888022d4eaafe92595644a1ce7
7
+ data.tar.gz: 4b0bef062f2504784de1319e26bc6995b1425e85765b4be3d91d2692e0e5b7a14baf6906d3addafa72c0314da2eac8d99295d473a645313afe80c9c0d2014582
@@ -1,2 +1,2 @@
1
- define("admin/adapters/application",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.ActiveModelAdapter.extend({namespace:window.RAILS_ENV.baseURL+(window.RAILS_ENV.baseURL?"/":"")+"api"})}),define("admin/app",["ember","ember/resolver","ember/load-initializers","admin/config/environment","admin/pretender/index","exports"],function(e,t,s,n,a,i){"use strict";var r=e["default"],o=t["default"],l=s["default"],u=n["default"],p=a["default"];u.usePretender&&p.initialize(),r.MODEL_FACTORY_INJECTIONS=!0;var d=r.Application.extend({modulePrefix:u.modulePrefix,podModulePrefix:u.podModulePrefix,Resolver:o});l(d,u.modulePrefix),i["default"]=d}),define("admin/components/async-button",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({tagName:"button",textState:"default",reset:!1,classNames:["async-button"],classNameBindings:["textState"],attributeBindings:["disabled","type"],type:"submit",disabled:s.computed.equal("textState","pending"),click:function(){var e=this;return this.sendAction("action",function(t){e.set("promise",t)}),this.set("textState","pending"),!1},text:s.computed("textState","default","pending","resolved","fulfilled","rejected",function(){return this.getWithDefault(this.textState,this.get("default"))}),resetObserver:s.observer("textState","reset",function(){this.get("reset")&&["resolved","rejected","fulfilled"].contains(this.get("textState"))&&this.set("textState","default")}),handleActionPromise:s.observer("promise",function(){var e=this;this.get("promise").then(function(){e.isDestroyed||e.set("textState","fulfilled")})["catch"](function(){e.isDestroyed||e.set("textState","rejected")})}),setUnknownProperty:function(e,t){"resolved"===e&&(s.deprecate("The 'resolved' property is deprecated. Please use 'fulfilled'",!1),e="fulfilled"),this[e]=null,this.set(e,t)}})}),define("admin/components/lf-overlay",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({tagName:"span",classNames:["lf-overlay"],didInsertElement:function(){s.$("body").addClass("lf-modal-open")},willDestroy:function(){s.$("body").removeClass("lf-modal-open")},click:function(){this.sendAction("clickAway")}})}),define("admin/components/liquid-modal",["ember","exports"],function(e,t){"use strict";function s(e,t){var s=e.get("innerViewInstance");s&&s.send(t)}var n=e["default"];t["default"]=n.Component.extend({classNames:["liquid-modal"],currentContext:n.computed.oneWay("owner.modalContexts.lastObject"),owner:null,innerView:n.computed("currentContext",function(){var e=this,t=this.get("currentContext"),s=t.get("name"),a=this.get("container"),i=a.lookup("component-lookup:main").lookupFactory(s);n.assert("Tried to render a modal using component '"+s+"', but couldn't find it.",!!i);var r=n.copy(t.get("params"));r.registerMyself=n.on("init",function(){e.set("innerViewInstance",this)}),r._source=n.computed(function(){return t.get("source")});var o,l,u=t.get("options.otherParams");for(o in u)l=u[o],r[l]=n.computed.alias("_source."+o);var p=t.get("options.actions")||{};return r.sendAction=function(e){var s=p[e];if(!s)return void this._super.apply(this,Array.prototype.slice.call(arguments));var n=t.get("source"),a=Array.prototype.slice.call(arguments,1);a.unshift(s),n.send.apply(n,a)},i.extend(r)}),actions:{outsideClick:function(){this.get("currentContext.options.dismissWithOutsideClick")?this.send("dismiss"):s(this,"outsideClick")},escape:function(){this.get("currentContext.options.dismissWithEscape")?this.send("dismiss"):s(this,"escape")},dismiss:function(){var e=this.get("currentContext.source"),t=e.constructor.proto(),s=this.get("currentContext.options.withParams"),n={};for(var a in s)n[a]=t[a];e.setProperties(n)}}})}),define("admin/components/lm-container",["ember","liquid-fire/tabbable","exports"],function(e,t,s){"use strict";function n(){i&&i.focus()}var a=e["default"],i=null;a.$(document).on("focusin",n),s["default"]=a.Component.extend({classNames:["lm-container"],attributeBindings:["tabindex"],tabindex:0,keyUp:function(e){27===e.keyCode&&this.sendAction()},keyDown:function(e){9===e.keyCode&&this.constrainTabNavigation(e)},didInsertElement:function(){this.focus(),i=this},willDestroy:function(){i=null},focus:function(){if(!this.get("element").contains(document.activeElement)){var e=this.$("[autofocus]");e.length||(e=this.$(":tabbable")),e.length||(e=this.$()),e[0].focus()}},constrainTabNavigation:function(e){var t=this.$(":tabbable"),s=t[e.shiftKey?"first":"last"]()[0],n=s===document.activeElement||this.get("element")===document.activeElement;n&&(e.preventDefault(),t[e.shiftKey?"last":"first"]()[0].focus())}})}),define("admin/helpers/fa-icon",["ember","exports"],function(e,t){"use strict";var s=e["default"],n=/^fa\-.+/,a=s.Logger.warn,i=function(e,t){if("string"!==s.typeOf(e)){var i="fa-icon: no icon specified";return a(i),new s.Handlebars.SafeString(i)}var r=t.hash,o=[],l="";return o.push("fa"),e.match(n)||(e="fa-"+e),o.push(e),r.spin&&o.push("fa-spin"),r.flip&&o.push("fa-flip-"+r.flip),r.rotate&&o.push("fa-rotate-"+r.rotate),r.lg&&(a("fa-icon: the 'lg' parameter is deprecated. Use 'size' instead. I.e. {{fa-icon size=\"lg\"}}"),o.push("fa-lg")),r.x&&(a("fa-icon: the 'x' parameter is deprecated. Use 'size' instead. I.e. {{fa-icon size=\""+r.x+'"}}'),o.push("fa-"+r.x+"x")),r.size&&o.push("number"===s.typeOf(r.size)?"fa-"+r.size+"x":"fa-"+r.size),r.fixedWidth&&o.push("fa-fw"),r.listItem&&o.push("fa-li"),r.pull&&o.push("pull-"+r.pull),r.border&&o.push("fa-border"),r.classNames&&!s.isArray(r.classNames)&&(r.classNames=[r.classNames]),s.isEmpty(r.classNames)||Array.prototype.push.apply(o,r.classNames),l+="<i",l+=" class='"+o.join(" ")+"'",r.title&&(l+=" title='"+r.title+"'"),l+="></i>",new s.Handlebars.SafeString(l)};t.faIcon=i,t["default"]=s.Handlebars.makeBoundHelper(i)}),define("admin/helpers/liquid-bind",["exports"],function(e){"use strict";function t(){var e,t;s?(e=arguments[2],t=this.container):(e=arguments[arguments.length-1],t=e.data.view.container);var n=t.lookupFactory("template:liquid-with-self"),a=t.lookupFactory("helper:liquid-with");return s?e.template=n:e.fn=n,s?void a.helperFunction.apply(this,arguments):a.apply(this,arguments)}var s=!!Ember.HTMLBars,n=t;Ember.HTMLBars&&(n={isHTMLBars:!0,helperFunction:t,preprocessArguments:function(){}}),e["default"]=n}),define("admin/helpers/liquid-box",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=function(){s.assert("liquid-box is deprecated, see CHANGELOG.md",!1)}}),define("admin/helpers/liquid-if",["ember","exports"],function(e,t){"use strict";function s(e){function t(){var t,s,i,r,o;a?(t=arguments[0][0],s=arguments[1],i=arguments[2],r=arguments[3],o=this.container):(t=arguments[0],i=arguments[1],s=i.hash,o=i.data.view.container);var l=o.lookupFactory("view:liquid-if"),u=[i.fn||i.template,i.inverse];return e&&u.reverse(),delete i.fn,delete i.template,delete i.inverse,s.containerless&&(l=l.extend(n._Metamorph)),s.templates=u,a?(s.showFirst=t,void r.helpers.view.helperFunction.call(this,[l],s,i,r)):(s.showFirstBinding=t,n.Handlebars.helpers.view.call(this,l,i))}return n.HTMLBars?{isHTMLBars:!0,helperFunction:t,preprocessArguments:function(){}}:t}var n=e["default"],a=!!n.HTMLBars;t.factory=s,t["default"]=s(!1)}),define("admin/helpers/liquid-measure",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=function(){s.assert("liquid-measure is deprecated, see CHANGELOG.md",!1)}}),define("admin/helpers/liquid-outlet",["ember","exports"],function(e,t){"use strict";function s(e,t){var e,t,s,i,r;a?(e=arguments[0][0],i=arguments[1],t=arguments[2],r=arguments[3],s=this.container,e||(e="main",t.paramTypes=["string"])):(e=arguments[0],e&&e.data&&e.data.isRenderData&&(t=e,e="main",t.types.push("STRING")),s=t.data.view.container,i=t.hash);var o=s.lookupFactory("view:liquid-outlet");return i.containerless&&(o=o.extend(n._Metamorph)),i.viewClass=o,a?void r.helpers.outlet.helperFunction.call(this,[e],i,t,r):n.Handlebars.helpers.outlet.call(this,e,t)}var n=e["default"],a=!!n.HTMLBars,i=s;n.HTMLBars&&(i={isHTMLBars:!0,helperFunction:s,preprocessArguments:function(){}}),t["default"]=i}),define("admin/helpers/liquid-unless",["admin/helpers/liquid-if","exports"],function(e,t){"use strict";var s=e.factory;t["default"]=s(!0)}),define("admin/helpers/liquid-with",["ember","exports"],function(e,t){"use strict";function s(){var e,t,s,i,r,o,l,u,r={hashTypes:{}},p={};a?(e=arguments[0],l=arguments[1],s=arguments[2],u=arguments[3],t=e[0],i=this.container,o=arguments[3].data,r.morph=s.morph,3===e.length&&(l.keywordName=e[2]._label,e=[t])):(e=Array.prototype.slice.apply(arguments,[0,-1]),t=arguments[0],s=arguments[arguments.length-1],o=s.data,l=s.hash,i=o.view.container,r.data=o,r.hash=p);var d=i.lookupFactory("view:liquid-with");return d=d.extend({originalArgs:e,originalHash:l,originalHashTypes:s.hashTypes,innerTemplate:s.fn||s.template}),l.containerless&&(d=d.extend(n._Metamorph)),p.boundContextBinding=t,["class","classNames","classNameBindings","use","id","growDuration","growPixelsPerSecond","growEasing","enableGrowth","containerless"].forEach(function(e){l.hasOwnProperty(e)&&(p[e]=l[e],r.hashTypes[e]=s.hashTypes?s.hashTypes[e]:void 0)}),a?void u.helpers.view.helperFunction.call(this,[d],p,r,u):n.Handlebars.helpers.view.call(this,d,r)}var n=e["default"],a=!!n.HTMLBars,i=s;a&&(i={isHTMLBars:!0,helperFunction:s,preprocessArguments:function(){}}),t["default"]=i}),define("admin/helpers/with-apply",["ember","exports"],function(e,t){"use strict";function s(){var e,t,s,i;a?(e=arguments[1],t=arguments[2],s=arguments[3],i=this):(t=arguments[0],e=t.hash,i=t.data.view);var r=i.get("liquidWithParent"),o=r.get("originalArgs").slice();return o[0]="lwith-view.boundContext",t=n.copy(t),i._keywords||(i._keywords={}),i._keywords["lwith-view"]=i,a||(t.data.keywords||(t.data.keywords={}),t.data.keywords["lwith-view"]=i),a?t.template=r.get("innerTemplate"):t.fn=r.get("innerTemplate"),e=r.get("originalHash"),t.hashTypes=r.get("originalHashTypes"),a?void s.helpers["with"].helperFunction.call(this,[i.getStream(o[0])],e,t,s):(t.hash=e,o.push(t),n.Handlebars.helpers["with"].apply(this,o))}var n=e["default"],a=!!n.HTMLBars,i=s;n.HTMLBars&&(i={isHTMLBars:!0,helperFunction:s,preprocessArguments:function(){}}),t["default"]=i}),define("admin/initializers/ember-moment",["ember-moment/helpers/moment","ember-moment/helpers/ago","ember","exports"],function(e,t,s,n){"use strict";var a=e.moment,i=t.ago,r=s["default"],o=function(){r.Handlebars.helper("moment",a),r.Handlebars.helper("ago",i)};n.initialize=o,n["default"]={name:"ember-moment",initialize:o}}),define("admin/initializers/export-application-global",["ember","admin/config/environment","exports"],function(e,t,s){"use strict";function n(e,t){var s=a.String.classify(i.modulePrefix);i.exportApplicationGlobal&&(window[s]=t)}var a=e["default"],i=t["default"];s.initialize=n,s["default"]={name:"export-application-global",initialize:n}}),define("admin/initializers/liquid-fire",["liquid-fire","ember","exports"],function(e,t,s){"use strict";var n=e.initialize,a=t["default"];s["default"]={name:"liquid-fire",initialize:function(e){if(a.$.Velocity){var t=a.$.Velocity.version,s=[0,11,8];1===a.compare(s,[t.major,t.minor,t.patch])&&a.warn("You should probably upgrade Velocity.js, recommended minimum is "+s.join("."))}else a.warn("Velocity.js is missing");n(e)}}}),define("admin/models/app",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Model.extend({builds:s.hasMany("build"),bestBuildId:s.attr("string"),name:s.attr("string",{defaultValue:""}),apiKey:s.attr("string"),location:s.attr("string"),bestBuild:function(){return this.get("builds").findBy("id",this.get("bestBuildId"))}.property("builds.@each.isBest","bestBuildId")})}),define("admin/models/build",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Model.extend({app:s.belongsTo("app"),sha:s.attr("string"),job:s.attr("string"),branch:s.attr("string"),active:s.attr("boolean"),createdAt:s.attr("date"),isBest:function(){return this.get("id")==this.get("app.bestBuildId")}.property("app.bestBuildId"),shortSha:function(){return this.get("sha").slice(0,6)}.property("sha")})}),define("admin/models/host-app",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Model.extend({name:s.attr("string"),friendlyName:function(){return this.get("name").replace("_"," ").capitalize()}.property("name")})}),define("admin/pods/app/controller",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Controller.extend({actions:{willRenameApp:function(){this.set("willRename",!0)},willDeleteApp:function(){this.set("willDelete",!0)}}})}),define("admin/pods/app/route",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Route.extend({actions:{appDeleted:function(){this.set("controller.willDelete",void 0),this.transitionTo("apps")}}})}),define("admin/pods/app/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a="";return t.buffer.push('\n <div class="panel panel-default">\n <div class="panel-heading">\n <h3 class=\'panel-title\'>Current live build</h3>\n </div>\n <div class="panel-body">\n <p>Branch: <strong>'),s=n._triageMustache.call(e,"model.bestBuild.branch",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</strong></p>\n <p>Sha: <strong>"),s=n._triageMustache.call(e,"model.bestBuild.sha",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</strong></p>\n <p>Job: <strong>"),s=n._triageMustache.call(e,"model.bestBuild.job",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</strong></p>\n </div>\n </div>\n "),a}function o(e,t){var s="";return t.buffer.push('\n <div class="text-muted">\n <p class=\'lead\'>No active build.</p>\n\n <p>\n To start pushing builds, install <a href="https://github.com/tedconf/ember-cli-front-end-builds" target="_blank">Ember CLI FrontEndBuilds</a> and deploy with <code>ember deploy</code>.\n </p>\n <p>\n <strong>API key:</strong> <br>\n <pre>'),t.buffer.push(c(n._triageMustache.call(e,"model.apiKey",{hash:{unescaped:"true"},hashTypes:{unescaped:"STRING"},hashContexts:{unescaped:e},contexts:[e],types:["ID"],data:t}))),t.buffer.push("</pre>\n </p>\n </div>\n "),s}function l(e,t){var s,a,i="";return t.buffer.push("\n <h3 class='appDetail-buildListTitle'>All builds</h3>\n "),t.buffer.push(c((s=n["build-list"]||e&&e["build-list"],a={hash:{builds:"model.builds"},hashTypes:{builds:"ID"},hashContexts:{builds:e},contexts:[],types:[],data:t},s?s.call(e,a):f.call(e,"build-list",a)))),t.buffer.push("\n"),i}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var u,p,d,h="",c=this.escapeExpression,f=n.helperMissing,m=this;return i.buffer.push('<div class="page-header">\n <h1>\n '),i.buffer.push(c((p=n["link-to"]||t&&t["link-to"],d={hash:{"class":"link-subtle"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},contexts:[t,t],types:["STRING","STRING"],data:i},p?p.call(t,"Apps/","apps",d):f.call(t,"link-to","Apps/","apps",d)))),u=n._triageMustache.call(t,"model.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(u||0===u)&&i.buffer.push(u),i.buffer.push('\n </h1>\n</div>\n\n<div class="row">\n <div class="col-sm-8">\n '),u=n["if"].call(t,"model.bestBuild",{hash:{},hashTypes:{},hashContexts:{},inverse:m.program(3,o,i),fn:m.program(1,r,i),contexts:[t],types:["ID"],data:i}),(u||0===u)&&i.buffer.push(u),i.buffer.push('\n\n </div>\n\n <div class="col-sm-4">\n <div class="panel panel-default">\n <div class="panel-heading">Options</div>\n <div class="list-group">\n <a '),i.buffer.push(c(n.action.call(t,"willRenameApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" href='#' class=\"list-group-item\">Rename<a>\n <a "),i.buffer.push(c(n.action.call(t,"willDeleteApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" href='#' class=\"list-group-item\">Delete</a>\n </div>\n </div>\n </div>\n</div>\n\n"),u=n["if"].call(t,"model.builds",{hash:{},hashTypes:{},hashContexts:{},inverse:m.noop,fn:m.program(5,l,i),contexts:[t],types:["ID"],data:i}),(u||0===u)&&i.buffer.push(u),i.buffer.push("\n"),h})}),define("admin/pods/application/route",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Route.extend({model:function(){return this.store.find("host-app","current")}})}),define("admin/pods/application/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a="";return t.buffer.push("\n <strong>"),s=n._triageMustache.call(e,"model.friendlyName",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("'s</strong> frontend apps\n "),a}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var o,l,u,p="",d=this,h=n.helperMissing;return i.buffer.push('<nav class="navbar navbar-inverse" role="navigation">\n <div class="container-fluid">\n <div class="navbar-header">\n '),l=n["link-to"]||t&&t["link-to"],u={hash:{"class":"navbar-brand"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},inverse:d.noop,fn:d.program(1,r,i),contexts:[t],types:["STRING"],data:i},o=l?l.call(t,"apps",u):h.call(t,"link-to","apps",u),(o||0===o)&&i.buffer.push(o),i.buffer.push('\n </div>\n </div>\n</nav>\n\n<div class="container-fluid">\n '),o=n._triageMustache.call(t,"outlet",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(o||0===o)&&i.buffer.push(o),i.buffer.push("\n</div>\n\n"),o=n._triageMustache.call(t,"liquid-modal",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(o||0===o)&&i.buffer.push(o),i.buffer.push("\n"),p})}),define("admin/pods/apps/controller",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Controller.extend({savedApps:s.computed.filterBy("model","isNew",!1),newApp:function(){return this.get("model").filterBy("isNew",!0).get("firstObject")}.property("model.@each.isNew"),actions:{createApp:function(){this.store.createRecord("app")}}})}),define("admin/pods/apps/route",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Route.extend({model:function(){return this.store.find("app")}})}),define("admin/pods/apps/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a,i="";return t.buffer.push('\n <div class="col-sm-4">\n '),t.buffer.push(c((s=n["app-card"]||e&&e["app-card"],a={hash:{app:"app"},hashTypes:{app:"ID"},hashContexts:{app:e},contexts:[],types:[],data:t},s?s.call(e,a):h.call(e,"app-card",a)))),t.buffer.push("\n </div>\n "),i}function o(e,t){var s,a,i="";return t.buffer.push('\n <div class="col-sm-4">\n '),t.buffer.push(c((s=n["new-app-card"]||e&&e["new-app-card"],a={hash:{app:"newApp"},hashTypes:{app:"ID"},hashContexts:{app:e},contexts:[],types:[],data:t},s?s.call(e,a):h.call(e,"new-app-card",a)))),t.buffer.push("\n </div>\n "),i}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var l,u,p,d="",h=n.helperMissing,c=this.escapeExpression,f=this;return i.buffer.push("<div class=\"page-header\">\n <h1>Apps</h1>\n</div>\n\n<div class='text-right u-margin-bottom'>\n <button "),i.buffer.push(c(n.action.call(t,"createApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(' class="btn btn-default btn-sm">\n '),i.buffer.push(c((u=n["fa-icon"]||t&&t["fa-icon"],p={hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i},u?u.call(t,"plus",p):h.call(t,"fa-icon","plus",p)))),i.buffer.push('\n New app\n </button>\n</div>\n\n<div class="row">\n '),l=n.each.call(t,"app","in","savedApps",{hash:{},hashTypes:{},hashContexts:{},inverse:f.noop,fn:f.program(1,r,i),contexts:[t,t,t],types:["ID","ID","ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n\n "),l=n["if"].call(t,"newApp",{hash:{},hashTypes:{},hashContexts:{},inverse:f.noop,fn:f.program(3,o,i),contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n</div>\n\n"),l=n._triageMustache.call(t,"liquid-modal",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n"),d})}),define("admin/pods/components/app-card/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a="";return t.buffer.push('\n <div class="row">\n <div class="col-xs-4">\n <p class=\'App-card__info-label\'>Branch</p>\n <p>'),s=n._triageMustache.call(e,"app.bestBuild.branch",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</p>\n </div>\n <div class=\"col-xs-4\">\n <p class='App-card__info-label'>Sha</p>\n <p>"),s=n._triageMustache.call(e,"app.bestBuild.shortSha",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</p>\n </div>\n <div class=\"col-xs-4\">\n <p class='App-card__info-label'>Job</p>\n <p>"),s=n._triageMustache.call(e,"app.bestBuild.job",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</p>\n </div>\n </div>\n\n <hr class='short-divider'>\n\n <p class='u-no-margin-bottom'>\n API key:\n <span class='App-card__api'>\n ********\n <small class='App-card__copy-api-button'>copy</small>\n </span>\n </p>\n\n "),a}function o(e,t){var s,a="";return t.buffer.push('\n\n <div class="text-muted">\n <p class=\'text-center\'>No active build.</p>\n <hr class=\'short-divider\'>\n <p class=\'App-card__instructions\'>\n To start pushing builds, install <a href="https://github.com/tedconf/ember-cli-front-end-builds" target="_blank">Ember CLI FrontEndBuilds</a> and deploy with <code>ember deploy</code>.\n </p>\n <p class="App-card__instructions">\n <strong>API key:</strong> <br>\n <pre>'),s=n._triageMustache.call(e,"app.apiKey",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</pre>\n </p>\n </div>\n\n "),a}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var l,u,p,d="",h=n.helperMissing,c=this.escapeExpression,f=this;return i.buffer.push('<div class="App-card panel panel-primary">\n <div class="panel-heading">\n <h3 class="panel-title">\n '),i.buffer.push(c((u=n["link-to"]||t&&t["link-to"],p={hash:{},hashTypes:{},hashContexts:{},contexts:[t,t,t],types:["ID","STRING","ID"],data:i},u?u.call(t,"app.name","app","app",p):h.call(t,"link-to","app.name","app","app",p)))),i.buffer.push('\n </h3>\n </div>\n <div class="panel-body">\n\n '),l=n["if"].call(t,"app.bestBuild",{hash:{},hashTypes:{},hashContexts:{},inverse:f.program(3,o,i),fn:f.program(1,r,i),contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n\n </div>\n</div>\n"),d})}),define("admin/pods/components/build-list/component",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({orderedBuildsSortingProps:["createdAt:desc"],orderedBuilds:s.computed.sort("builds","orderedBuildsSortingProps")})}),define("admin/pods/components/build-list/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a,i,r="";return t.buffer.push("\n <tr "),t.buffer.push(h(n["bind-attr"].call(e,{hash:{"class":"build.isBest:success :appDetail-buildListItem"},hashTypes:{"class":"STRING"},hashContexts:{"class":e},contexts:[],types:[],data:t}))),t.buffer.push(">\n <td class='appDetail-buildListItemCell'>\n #"),s=n._triageMustache.call(e,"build.id",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n "),s=n["if"].call(e,"build.isBest",{hash:{},hashTypes:{},hashContexts:{},inverse:c.noop,fn:c.program(2,o,t),contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n </td>\n <td class='appDetail-buildListItemCell'>\n <p>"),t.buffer.push(h((a=n.ago||e&&e.ago,i={hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t},a?a.call(e,"build.createdAt",i):f.call(e,"ago","build.createdAt",i)))),t.buffer.push("</p>\n </td>\n <td class='appDetail-buildListItemCell'>#"),s=n._triageMustache.call(e,"build.shortSha",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</td>\n <td class='appDetail-buildListItemCell text-right'>\n "),s=n["if"].call(e,"build.isBest",{hash:{},hashTypes:{},hashContexts:{},inverse:c.program(6,u,t),fn:c.program(4,l,t),contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n </td>\n </tr>\n "),r}function o(e,t){t.buffer.push("\n <span class='pull-right'>\n <span class='label label-success'>Live</span>\n </span>\n ")}function l(e,t){t.buffer.push('\n <button class="btn btn-danger btn-xs">Deactivate</button>\n ')}function u(e,t){t.buffer.push('\n <button class="btn btn-warning btn-xs">Make live</button>\n ')}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var p,d="",h=this.escapeExpression,c=this,f=n.helperMissing;return i.buffer.push("<table class='table table-hover appDetail-buildList'>\n <thead>\n <tr>\n <th class='appDetail-buildListItemCell'>ID</th>\n <th class='appDetail-buildListItemCell'>Built</th>\n <th class='appDetail-buildListItemCell'>Commit</th>\n <th class='appDetail-buildListItemCell'></th>\n </tr>\n </thead>\n <tbody>\n "),p=n.each.call(t,"build","in","orderedBuilds",{hash:{},hashTypes:{},hashContexts:{},inverse:c.noop,fn:c.program(1,r,i),contexts:[t,t,t],types:["ID","ID","ID"],data:i}),(p||0===p)&&i.buffer.push(p),i.buffer.push("\n </tbody>\n</table>\n"),d})}),define("admin/pods/components/delete-app-form/component",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({canDelete:function(){return this.get("app.name")===this.get("confirmedName")}.property("app.name","confirmedName"),actions:{dismiss:function(){this.sendAction("dismiss")},deleteApp:function(){var e=this;this.get("app").destroyRecord().then(function(){e.sendAction("deleted")},function(){console.error("something happened")})}}})}),define("admin/pods/components/delete-app-form/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var r,o,l,u="",p=this.escapeExpression,d=n.helperMissing;return i.buffer.push('<div class="modal-header">\n <button '),i.buffer.push(p(n.action.call(t,"dismiss",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(' type="button" class="close"><span aria-hidden="true">&times;</span></button>\n <h4 class="modal-title">Are you sure?</h4>\n</div>\n<div class="modal-body">\n <p>This action <strong>CANNOT</strong> be undone. If you delete the <strong>'),r=n._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("</strong> app, users will no longer be able to view it when they visit <a "),i.buffer.push(p(n["bind-attr"].call(t,{hash:{href:"app.location"},hashTypes:{href:"STRING"},hashContexts:{href:t},contexts:[],types:[],data:i}))),i.buffer.push(" target='_blank'>"),r=n._triageMustache.call(t,"app.location",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push('</a>.</p>\n <p>Please type in the name of this app to confirm.</p>\n\n <div class="form-group">\n '),i.buffer.push(p((o=n.input||t&&t.input,l={hash:{"class":"form-control",value:"confirmedName"},hashTypes:{"class":"STRING",value:"ID"},hashContexts:{"class":t,value:t},contexts:[],types:[],data:i},o?o.call(t,l):d.call(t,"input",l)))),i.buffer.push("\n </div>\n\n <button "),i.buffer.push(p(n.action.call(t,"deleteApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" "),i.buffer.push(p(n["bind-attr"].call(t,{hash:{"class":"canDelete::disabled :btn :btn-block :btn-danger"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},contexts:[],types:[],data:i}))),i.buffer.push(">I understand, delete the app</button>\n\n</div>\n"),u})}),define("admin/pods/components/new-app-card/component",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({didInsertElement:function(){var e=this;this.$("input").focus().on("keyup",function(t){27==t.keyCode&&e.send("discardNewApp")})},actions:{createApp:function(){return this.get("app").save()},discardNewApp:function(){this.get("app").deleteRecord()}}})}),define("admin/pods/components/new-app-card/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var r,o,l="",u=this.escapeExpression,p=n.helperMissing;return i.buffer.push("<form "),i.buffer.push(u(n.action.call(t,"createApp",{hash:{on:"submit"},hashTypes:{on:"STRING"},hashContexts:{on:t},contexts:[t],types:["STRING"],data:i}))),i.buffer.push('>\n <div class="App-card panel panel-primary">\n <div class="panel-heading">\n <h3 class="panel-title">\n '),i.buffer.push(u((r=n.input||t&&t.input,o={hash:{value:"app.name","class":"App-card__new-input",placeholder:"Enter an app name"},hashTypes:{value:"ID","class":"STRING",placeholder:"STRING"},hashContexts:{value:t,"class":t,placeholder:t},contexts:[],types:[],data:i},r?r.call(t,o):p.call(t,"input",o)))),i.buffer.push("\n </h3>\n </div>\n <div class='panel-body'>\n <p class='text-muted'><small>Once your app is created, you'll receive an API key you can use to push out new builds.</small></p>\n\n "),i.buffer.push(u((r=n["async-button"]||t&&t["async-button"],o={hash:{action:"createApp",type:"submit","class":"btn btn-sm btn-success","default":"Create",pending:"Creating..."},hashTypes:{action:"STRING",type:"STRING","class":"STRING","default":"STRING",pending:"STRING"},hashContexts:{action:t,type:t,"class":t,"default":t,pending:t},contexts:[],types:[],data:i},r?r.call(t,o):p.call(t,"async-button",o)))),i.buffer.push("\n\n <button "),i.buffer.push(u(n.action.call(t,"discardNewApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" class='btn btn-link btn-default'>\n "),i.buffer.push(u((r=n["fa-icon"]||t&&t["fa-icon"],o={hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i},r?r.call(t,"remove",o):p.call(t,"fa-icon","remove",o)))),i.buffer.push("\n </button>\n\n </div>\n </div>\n</form>\n"),l
2
- })}),define("admin/pods/components/rename-app-form/component",["ember","ember-buffered-proxy/proxy","exports"],function(e,t,s){"use strict";var n=e["default"],a=t["default"];s["default"]=n.Component.extend({proxy:function(){return a.create({content:this.get("app")})}.property("app"),nameHasChanged:function(){return this.get("app.name")!==this.get("proxy.name")}.property("app.name","proxy.name"),actions:{dismiss:function(){this.sendAction("dismiss")},renameApp:function(){var e=this;this.get("proxy").applyChanges(),this.get("app").save().then(function(){e.sendAction("dismiss")},function(){console.error("something happened")})}}})}),define("admin/pods/components/rename-app-form/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var r,o,l,u="",p=this.escapeExpression,d=n.helperMissing;return i.buffer.push('<div class="modal-header">\n <button '),i.buffer.push(p(n.action.call(t,"dismiss",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(' type="button" class="close"><span aria-hidden="true">&times;</span></button>\n <h4 class="modal-title">Rename this app?</h4>\n</div>\n<div class="modal-body">\n <p>If you rename your <strong>'),r=n._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("</strong> app, you'll need to update the <code>routes.rb</code> file in your Rails app. Currently it probably looks something like this:</p>\n\n<pre>\nRails.application.routes.draw do\n front_end '"),r=n._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("', '/some-url'\nend\n</pre>\n\n <p>You'll need to change the <code>'"),r=n._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push('\'</code> portion to match the updated app name.</p>\n\n <hr>\n\n <div class="clearfix">\n <label for="">App name</label>\n <div class="row">\n <div class="col-sm-8">\n '),i.buffer.push(p((o=n.input||t&&t.input,l={hash:{"class":"form-control",value:"proxy.name"},hashTypes:{"class":"STRING",value:"ID"},hashContexts:{"class":t,value:t},contexts:[],types:[],data:i},o?o.call(t,l):d.call(t,"input",l)))),i.buffer.push('\n </div>\n <div class="col-sm-4">\n <button '),i.buffer.push(p(n.action.call(t,"renameApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" "),i.buffer.push(p(n["bind-attr"].call(t,{hash:{"class":"nameHasChanged::disabled :btn :btn-block :btn-default"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},contexts:[],types:[],data:i}))),i.buffer.push(">Rename</button>\n </div>\n </div>\n </div>\n</div>\n"),u})}),define("admin/pretender/data/apps",["exports"],function(e){"use strict";e["default"]=[{id:1,name:"blog",api_key:"f6db3e76-8f6a-4591-9231-28c271aca36b",location:"/engineering/blog",best_build_id:2,build_ids:[1,2,3]},{id:2,name:"accounting-reports",location:"/finance/reports",api_key:"e241cdf3-5b46-49e6-a962-c857a557d470",build_ids:[]},{id:3,name:"crm",location:"/people",api_key:"eca7ad25-5de4-467d-8a28-6ca2d2f48c55",build_ids:[]}]}),define("admin/pretender/data/builds",["exports"],function(e){"use strict";e["default"]=[{id:1,app_id:1,sha:"1bc3gdw",job:1,branch:"nonmaster",created_at:"2015-01-03 00:00:00"},{id:2,app_id:1,sha:"83jnbj",job:2,branch:"master",created_at:"2014-12-27 00:00:00"},{id:3,app_id:1,sha:"jt83ndl",job:3,branch:"master",created_at:"2014-12-25 00:00:00"}]}),define("admin/pretender/data/hostApp",["exports"],function(e){"use strict";e["default"]={id:"current",name:"acme_portal"}}),define("admin/pretender/index",["pretender","admin/pretender/data/hostApp","admin/pretender/data/apps","admin/pretender/data/builds","exports"],function(e,t,s,n,a){"use strict";var i=e["default"],r=t["default"],o=s["default"],l=n["default"],u={hostApp:r,apps:o,builds:l};u.validLogin=!0,u.currentUser={email:"sam.selikoff@gmail.com",firstname:"Sam",id:"current",lastname:"Selikoff"};var p=function(){this.prepareBody=function(e){return e?JSON.stringify(e):'{"error": "not found"}'},this.stubUrl=function(e,t,s){this[e].call(this,"/api"+t,function(){return console.log("Hitting "+t),console.log(s),[200,{},s]})}.bind(this),this.unhandledRequest=function(e,t){console.error("FAILED REQUEST"),console.error(e,t)},this.setupGlobalRoutes=function(e){var t=this;this.stubUrl("get","/host_apps/current",{host_app:e.hostApp}),this.stubUrl("get","/apps",{apps:e.apps,builds:e.builds}),this.stubUrl("post","/apps",{}),this.get("/api/apps/:id",function(t){var s=+t.params.id,n=e.apps.findBy("id",s),a=e.builds.filterBy("app_id",s),i={app:n,builds:a};return console.log("Hitting /api/apps/:id"),console.log(i),[200,{},i]}),this.put("/api/apps/:id",function(t){var s=+t.params.id,n=e.apps.findBy("id",s),a=e.apps.indexOf(n),i=JSON.parse(t.requestBody);return i.app.id=s,e.apps[a]=i,console.log("PUT /api/apps/:id"),console.log(i),[200,{},i]}),this["delete"]("/api/apps/:id",function(s){var n=+s.params.id;return e.apps=e.apps.rejectBy("id",n),e.builds=e.builds.rejectBy("app_id",n),t.setupGlobalRoutes.call(t,e),[204,{}]})}.bind(this),this.resetGlobalRoutes=function(){var e=jQuery.extend(!0,{},u);this.setupGlobalRoutes(e)},this.resetGlobalRoutes()};a["default"]={initialize:function(){return new i(p)}}}),define("admin/router",["ember","admin/config/environment","exports"],function(e,t,s){"use strict";var n=e["default"],a=t["default"],i=n.Router.extend({location:a.locationType,baseURL:window.RAILS_ENV.baseURL});i.map(function(){this.resource("apps",{path:"/"}),this.resource("app",{path:"/:app_id"},function(){this.modal("delete-app-form",{withParams:["willDelete"],otherParams:{model:"app"},actions:{deleted:"appDeleted"}}),this.modal("rename-app-form",{withParams:["willRename"],otherParams:{model:"app"}})})}),s["default"]=i}),define("admin/serializers/application",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.ActiveModelSerializer.extend({})}),define("admin/templates/components/async-button",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a="";return t.buffer.push("\n "),s=n._triageMustache.call(e,"yield",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n"),a}function o(e,t){var s,a="";return t.buffer.push("\n "),s=n._triageMustache.call(e,"view.text",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n"),a}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var l,u="",p=this;return l=n["if"].call(t,"template",{hash:{},hashTypes:{},hashContexts:{},inverse:p.program(3,o,i),fn:p.program(1,r,i),contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n"),u})}),define("admin/templates/components/liquid-modal",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){function r(e,t){var s,a,i,r="";return t.buffer.push("\n "),a=n["lm-container"]||e&&e["lm-container"],i={hash:{action:"escape"},hashTypes:{action:"STRING"},hashContexts:{action:e},inverse:f.noop,fn:f.program(2,o,t),contexts:[],types:[],data:t},s=a?a.call(e,i):c.call(e,"lm-container",i),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n"),r}function o(e,t){var s,a,i="";return t.buffer.push("\n <div "),t.buffer.push(h(n["bind-attr"].call(e,{hash:{"class":":lf-dialog cc.options.dialogClass"},hashTypes:{"class":"STRING"},hashContexts:{"class":e},contexts:[],types:[],data:t}))),t.buffer.push(' role="dialog" '),t.buffer.push(h(n["bind-attr"].call(e,{hash:{"aria-labelledby":"cc.options.ariaLabelledBy","aria-label":"cc.options.ariaLabel"},hashTypes:{"aria-labelledby":"STRING","aria-label":"STRING"},hashContexts:{"aria-labelledby":e,"aria-label":e},contexts:[],types:[],data:t}))),t.buffer.push(">\n "),t.buffer.push(h(n.view.call(e,"innerView",{hash:{dismiss:"dismiss"},hashTypes:{dismiss:"STRING"},hashContexts:{dismiss:e},contexts:[e],types:["ID"],data:t}))),t.buffer.push("\n </div>\n "),t.buffer.push(h((s=n["lf-overlay"]||e&&e["lf-overlay"],a={hash:{clickAway:"outsideClick"},hashTypes:{clickAway:"STRING"},hashContexts:{clickAway:e},contexts:[],types:[],data:t},s?s.call(e,a):c.call(e,"lf-overlay",a)))),t.buffer.push("\n "),i}this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var l,u,p,d="",h=this.escapeExpression,c=n.helperMissing,f=this;return u=n["liquid-with"]||t&&t["liquid-with"],p={hash:{"class":"lm-with",containerless:!0},hashTypes:{"class":"STRING",containerless:"BOOLEAN"},hashContexts:{"class":t,containerless:t},inverse:f.noop,fn:f.program(1,r,i),contexts:[t,t,t],types:["ID","ID","ID"],data:i},l=u?u.call(t,"currentContext","as","cc",p):c.call(t,"liquid-with","currentContext","as","cc",p),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n"),d})}),define("admin/templates/liquid-with-self",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var r,o="";return r=n._triageMustache.call(t,"",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("\n"),o})}),define("admin/templates/liquid-with",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,n,a,i){this.compilerInfo=[4,">= 1.0.0"],n=this.merge(n,s.Handlebars.helpers),i=i||{};var r,o="";return r=n._triageMustache.call(t,"with-apply",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("\n\n\n"),o})}),define("admin/transitions/cross-fade",["liquid-fire","exports"],function(e,t){"use strict";var s=e.animate,n=e.stop,a=e.Promise;t["default"]=function(e,t,i){return n(e),t().then(function(t){return a.all([s(e,{opacity:0},i),s(t,{opacity:[1,0]},i)])})}}),define("admin/transitions/fade",["liquid-fire","exports"],function(e,t){"use strict";var s=e.isAnimating,n=e.finish,a=e.timeSpent,i=e.animate,r=e.stop;t["default"]=function(e,t,o){var l,u=o;return s(e,"fade-out")?l=n(e,"fade-out"):(s(e,"fade-in")&&(u={duration:a(e,"fade-in")}),r(e),l=i(e,{opacity:0},u,"fade-out")),l.then(t).then(function(e){return i(e,{opacity:[1,0]},o,"fade-in")})}}),define("admin/transitions/flex-grow",["liquid-fire","exports"],function(e,t){"use strict";var s=e.animate,n=e.stop,a=e.Promise;t["default"]=function(e,t,i){return n(e),t().then(function(t){return a.all([s(e,{"flex-grow":0},i),s(t,{"flex-grow":[1,0]},i)])})}}),define("admin/transitions/modal-popup",["exports"],function(e){"use strict";e["default"]=function(e,t){return t().then(function(e){e&&e.$().css({display:"",visibility:""})})}}),define("admin/transitions/move-over",["liquid-fire","exports"],function(e,t){"use strict";var s=e.stop,n=e.animate,a=e.Promise,i=e.isAnimating,r=e.finish;t["default"]=function(e,t,o,l,u){var p,d,h,c={},f={};return"x"===o.toLowerCase()?(d="translateX",h="width"):(d="translateY",h="height"),i(e,"moving-in")?p=r(e,"moving-in"):(s(e),p=a.resolve()),p.then(t).then(function(t){if(t&&t.$()&&e&&e.$()){var s=[parseInt(t.$().css(h),10),parseInt(e.$().css(h),10)],i=Math.max.apply(null,s);c[d]=i*l+"px",f[d]=["0px",-1*i*l+"px"]}else c[d]=100*l+"%",f[d]=["0%",-100*l+"%"];return a.all([n(e,c,u),n(t,f,u,"moving-in")])})}}),define("admin/transitions/scroll-then",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=function(){s.assert("You must provide a transition name as the first argument to scrollThen. Example: this.use('scrollThen', 'toLeft')","string"==typeof arguments[2]);var e=document.getElementsByTagName("html"),t=Array.prototype.slice.call(arguments,0,2),n=this.lookup(arguments[2]),a=this,i=arguments[3]||{};return s.assert("The second argument to scrollThen is passed to Velocity's scroll function and must be an object","object"==typeof i),i=s.merge({duration:500,offset:0},i),t.push.apply(t,Array.prototype.slice.call(arguments,4)),window.$.Velocity(e,"scroll",i).then(function(){n.apply(a,t)})}}),define("admin/transitions/to-down",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","y",1)}),define("admin/transitions/to-left",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","x",-1)}),define("admin/transitions/to-right",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","x",1)}),define("admin/transitions/to-up",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","y",-1)}),define("admin/views/liquid-child",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.ContainerView.extend({classNames:["liquid-child"],resolveInsertionPromise:s.on("didInsertElement",function(){this.$().css({visibility:"hidden"}).hide(),this._resolveInsertion&&this._resolveInsertion(this)})})}),define("admin/views/liquid-if",["admin/views/liquid-outlet","ember","exports"],function(e,t,s){"use strict";var n=e["default"],a=t["default"],i=!!a.HTMLBars;s["default"]=n.extend({liquidUpdate:a.on("init",a.observer("showFirst",function(){var e=this.get("templates")[this.get("showFirst")?0:1];if(!e||!i&&e===a.Handlebars.VM.noop)return void this.set("currentView",null);var t=a._MetamorphView.create({container:this.container,template:e,liquidParent:this,contextBinding:"liquidParent.context",liquidContext:this.get("showFirst"),hasLiquidContext:!0});this.set("currentView",t)}))})}),define("admin/views/liquid-outlet",["ember","liquid-fire","exports"],function(e,t,s){"use strict";function n(e){return{width:e.width(),literalWidth:parseInt(e.css("width"),10),height:e.height(),literalHeight:parseInt(e.css("height"),10)}}var a=e["default"],i=t.Promise,r=t.animate,o=t.stop,l=a.String.capitalize;s["default"]=a.ContainerView.extend({classNames:["liquid-container"],growDuration:250,growPixelsPerSecond:200,growEasing:"slide",enableGrowth:!0,init:function(){this._super(),a.A(this._childViews).clear(),this.get("containerless")&&(this.set("innerClassNameBindings",this.get("classNameBindings")),this.set("classNameBindings",a.A()))},_currentViewWillChange:a.beforeObserver("currentView",function(){}),_currentViewDidChange:a.on("init",a.observer("currentView",function(){var e,t=this.get("childViews.lastObject"),s=this.get("currentView");if(e=!this._hasTransitioned,this._hasTransitioned=!0,!(!t&&!s||t&&t.get("currentView")===s||this._runningTransition&&this._runningTransition.oldView===t&&this._runningTransition.newContent===s)){var n=this.get("transitions").transitionFor(this,t,s,this.get("use"),e);this._runningTransition&&this._runningTransition.interrupt(),this._runningTransition=n,n.run()["catch"](function(e){a.RSVP.Promise.resolve()._onerror(e)})}})),_liquidChildFor:function(e){e&&!e.get("hasLiquidContext")&&e.set("liquidContext",e.get("context"));var t=this.container.lookupFactory("view:liquid-child"),s={currentView:e};return this.get("containerless")&&(s.classNames=this.get("classNames").without("liquid-container"),s.classNameBindings=this.get("innerClassNameBindings")),t.create(s)},_pushNewView:function(e){if(!e)return i.resolve();var t=this._liquidChildFor(e),s=new i(function(e){t._resolveInsertion=e});return this.pushObject(t),s},cacheSize:function(){var e=this.$();e&&(this._cachedSize=n(e))},unlockSize:function(){function e(){var e=t.$();e&&e.css({width:"",height:""})}var t=this;this._scaling?this._scaling.then(e):e()},_durationFor:function(e,t){return Math.min(this.get("growDuration"),1e3*Math.abs(e-t)/this.get("growPixelsPerSecond"))},_adaptDimension:function(e,t,s){if(t[e]!==s[e]&&this.get("enableGrowth")){var n={};return n[e]=[s["literal"+l(e)],t["literal"+l(e)]],r(this,n,{duration:this._durationFor(t[e],s[e]),queue:!1,easing:this.get("growEasing")})}var a=this.$();return a&&a[e](s[e]),i.resolve()},adaptSize:function(){o(this);var e=this.$();if(e){var t=n(e);"undefined"==typeof this._cachedSize&&(this._cachedSize=t),e.width(this._cachedSize.width),e.height(this._cachedSize.height),this._scaling=i.all([this._adaptDimension("width",this._cachedSize,t),this._adaptDimension("height",this._cachedSize,t)])}}})}),define("admin/views/liquid-with",["admin/views/liquid-outlet","ember","exports"],function(e,t,s){"use strict";var n=e["default"],a=t["default"];s["default"]=n.extend({liquidUpdate:a.on("init",a.observer("boundContext",function(){var e=this.get("boundContext");if(a.isEmpty(e))return void this.set("currentView",null);var t=a._MetamorphView.create({container:this.container,templateName:"liquid-with",boundContext:e,liquidWithParent:this,liquidContext:e,hasLiquidContext:!0});this.set("currentView",t)}))})}),define("admin/config/environment",["ember"],function(e){var t="admin";try{var s=t+"/config/environment",n=e["default"].$('meta[name="'+s+'"]').attr("content"),a=JSON.parse(unescape(n));return{"default":a}}catch(i){throw new Error('Could not read config from meta tag with name "'+s+'".')}}),runningTests?require("admin/tests/test-helper"):require("admin/app")["default"].create({});
1
+ define("admin/adapters/application",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.ActiveModelAdapter.extend({namespace:window.RAILS_ENV.baseURL+(window.RAILS_ENV.baseURL?"/":"")+"api"})}),define("admin/app",["ember","ember/resolver","ember/load-initializers","admin/config/environment","admin/pretender/index","exports"],function(e,t,s,a,n,i){"use strict";var r=e["default"],o=t["default"],l=s["default"],u=a["default"],p=n["default"];u.usePretender&&p.initialize(),r.MODEL_FACTORY_INJECTIONS=!0;var h=r.Application.extend({modulePrefix:u.modulePrefix,podModulePrefix:u.podModulePrefix,Resolver:o});l(h,u.modulePrefix),i["default"]=h}),define("admin/components/async-button",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({tagName:"button",textState:"default",reset:!1,classNames:["async-button"],classNameBindings:["textState"],attributeBindings:["disabled","type"],type:"submit",disabled:s.computed.equal("textState","pending"),click:function(){var e=this;return this.sendAction("action",function(t){e.set("promise",t)}),this.set("textState","pending"),!1},text:s.computed("textState","default","pending","resolved","fulfilled","rejected",function(){return this.getWithDefault(this.textState,this.get("default"))}),resetObserver:s.observer("textState","reset",function(){this.get("reset")&&["resolved","rejected","fulfilled"].contains(this.get("textState"))&&this.set("textState","default")}),handleActionPromise:s.observer("promise",function(){var e=this;this.get("promise").then(function(){e.isDestroyed||e.set("textState","fulfilled")})["catch"](function(){e.isDestroyed||e.set("textState","rejected")})}),setUnknownProperty:function(e,t){"resolved"===e&&(s.deprecate("The 'resolved' property is deprecated. Please use 'fulfilled'",!1),e="fulfilled"),this[e]=null,this.set(e,t)}})}),define("admin/components/lf-overlay",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({tagName:"span",classNames:["lf-overlay"],didInsertElement:function(){s.$("body").addClass("lf-modal-open")},willDestroy:function(){s.$("body").removeClass("lf-modal-open")},click:function(){this.sendAction("clickAway")}})}),define("admin/components/liquid-modal",["ember","exports"],function(e,t){"use strict";function s(e,t){var s=e.get("innerViewInstance");s&&s.send(t)}var a=e["default"];t["default"]=a.Component.extend({classNames:["liquid-modal"],currentContext:a.computed.oneWay("owner.modalContexts.lastObject"),owner:null,innerView:a.computed("currentContext",function(){var e=this,t=this.get("currentContext"),s=t.get("name"),n=this.get("container"),i=n.lookup("component-lookup:main").lookupFactory(s);a.assert("Tried to render a modal using component '"+s+"', but couldn't find it.",!!i);var r=a.copy(t.get("params"));r.registerMyself=a.on("init",function(){e.set("innerViewInstance",this)}),r._source=a.computed(function(){return t.get("source")});var o,l,u=t.get("options.otherParams");for(o in u)l=u[o],r[l]=a.computed.alias("_source."+o);var p=t.get("options.actions")||{};return r.sendAction=function(e){var s=p[e];if(!s)return void this._super.apply(this,Array.prototype.slice.call(arguments));var a=t.get("source"),n=Array.prototype.slice.call(arguments,1);n.unshift(s),a.send.apply(a,n)},i.extend(r)}),actions:{outsideClick:function(){this.get("currentContext.options.dismissWithOutsideClick")?this.send("dismiss"):s(this,"outsideClick")},escape:function(){this.get("currentContext.options.dismissWithEscape")?this.send("dismiss"):s(this,"escape")},dismiss:function(){var e=this.get("currentContext.source"),t=e.constructor.proto(),s=this.get("currentContext.options.withParams"),a={};for(var n in s)a[n]=t[n];e.setProperties(a)}}})}),define("admin/components/lm-container",["ember","liquid-fire/tabbable","exports"],function(e,t,s){"use strict";function a(){i&&i.focus()}var n=e["default"],i=null;n.$(document).on("focusin",a),s["default"]=n.Component.extend({classNames:["lm-container"],attributeBindings:["tabindex"],tabindex:0,keyUp:function(e){27===e.keyCode&&this.sendAction()},keyDown:function(e){9===e.keyCode&&this.constrainTabNavigation(e)},didInsertElement:function(){this.focus(),i=this},willDestroy:function(){i=null},focus:function(){if(!this.get("element").contains(document.activeElement)){var e=this.$("[autofocus]");e.length||(e=this.$(":tabbable")),e.length||(e=this.$()),e[0].focus()}},constrainTabNavigation:function(e){var t=this.$(":tabbable"),s=t[e.shiftKey?"first":"last"]()[0],a=s===document.activeElement||this.get("element")===document.activeElement;a&&(e.preventDefault(),t[e.shiftKey?"last":"first"]()[0].focus())}})}),define("admin/helpers/fa-icon",["ember","exports"],function(e,t){"use strict";var s=e["default"],a=/^fa\-.+/,n=s.Logger.warn,i=function(e,t){if("string"!==s.typeOf(e)){var i="fa-icon: no icon specified";return n(i),new s.Handlebars.SafeString(i)}var r=t.hash,o=[],l="";return o.push("fa"),e.match(a)||(e="fa-"+e),o.push(e),r.spin&&o.push("fa-spin"),r.flip&&o.push("fa-flip-"+r.flip),r.rotate&&o.push("fa-rotate-"+r.rotate),r.lg&&(n("fa-icon: the 'lg' parameter is deprecated. Use 'size' instead. I.e. {{fa-icon size=\"lg\"}}"),o.push("fa-lg")),r.x&&(n("fa-icon: the 'x' parameter is deprecated. Use 'size' instead. I.e. {{fa-icon size=\""+r.x+'"}}'),o.push("fa-"+r.x+"x")),r.size&&o.push("number"===s.typeOf(r.size)?"fa-"+r.size+"x":"fa-"+r.size),r.fixedWidth&&o.push("fa-fw"),r.listItem&&o.push("fa-li"),r.pull&&o.push("pull-"+r.pull),r.border&&o.push("fa-border"),r.classNames&&!s.isArray(r.classNames)&&(r.classNames=[r.classNames]),s.isEmpty(r.classNames)||Array.prototype.push.apply(o,r.classNames),l+="<i",l+=" class='"+o.join(" ")+"'",r.title&&(l+=" title='"+r.title+"'"),l+="></i>",new s.Handlebars.SafeString(l)};t.faIcon=i,t["default"]=s.Handlebars.makeBoundHelper(i)}),define("admin/helpers/liquid-bind",["exports"],function(e){"use strict";function t(){var e,t;s?(e=arguments[2],t=this.container):(e=arguments[arguments.length-1],t=e.data.view.container);var a=t.lookupFactory("template:liquid-with-self"),n=t.lookupFactory("helper:liquid-with");return s?e.template=a:e.fn=a,s?void n.helperFunction.apply(this,arguments):n.apply(this,arguments)}var s=!!Ember.HTMLBars,a=t;Ember.HTMLBars&&(a={isHTMLBars:!0,helperFunction:t,preprocessArguments:function(){}}),e["default"]=a}),define("admin/helpers/liquid-box",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=function(){s.assert("liquid-box is deprecated, see CHANGELOG.md",!1)}}),define("admin/helpers/liquid-if",["ember","exports"],function(e,t){"use strict";function s(e){var t=function(){var t,s,i,r,o;n?(t=arguments[0][0],s=arguments[1],i=arguments[2],r=arguments[3],o=this.container):(t=arguments[0],i=arguments[1],s=i.hash,o=i.data.view.container);var l=o.lookupFactory("view:liquid-if"),u=[i.fn||i.template,i.inverse];return e&&u.reverse(),delete i.fn,delete i.template,delete i.inverse,s.containerless&&(l=l.extend(a._Metamorph)),s.templates=u,n?(s.showFirst=t,void r.helpers.view.helperFunction.call(this,[l],s,i,r)):(s.showFirstBinding=t,a.Handlebars.helpers.view.call(this,l,i))};return a.HTMLBars?{isHTMLBars:!0,helperFunction:t,preprocessArguments:function(){}}:t}var a=e["default"],n=!!a.HTMLBars;t.factory=s,t["default"]=s(!1)}),define("admin/helpers/liquid-measure",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=function(){s.assert("liquid-measure is deprecated, see CHANGELOG.md",!1)}}),define("admin/helpers/liquid-outlet",["ember","exports"],function(e,t){"use strict";function s(e,t){var e,t,s,i,r;n?(e=arguments[0][0],i=arguments[1],t=arguments[2],r=arguments[3],s=this.container,e||(e="main",t.paramTypes=["string"])):(e=arguments[0],e&&e.data&&e.data.isRenderData&&(t=e,e="main",t.types.push("STRING")),s=t.data.view.container,i=t.hash);var o=s.lookupFactory("view:liquid-outlet");return i.containerless&&(o=o.extend(a._Metamorph)),i.viewClass=o,n?void r.helpers.outlet.helperFunction.call(this,[e],i,t,r):a.Handlebars.helpers.outlet.call(this,e,t)}var a=e["default"],n=!!a.HTMLBars,i=s;a.HTMLBars&&(i={isHTMLBars:!0,helperFunction:s,preprocessArguments:function(){}}),t["default"]=i}),define("admin/helpers/liquid-unless",["admin/helpers/liquid-if","exports"],function(e,t){"use strict";var s=e.factory;t["default"]=s(!0)}),define("admin/helpers/liquid-with",["ember","exports"],function(e,t){"use strict";function s(){var e,t,s,i,r,o,l,u,r={hashTypes:{}},p={};n?(e=arguments[0],l=arguments[1],s=arguments[2],u=arguments[3],t=e[0],i=this.container,o=arguments[3].data,r.morph=s.morph,3===e.length&&(l.keywordName=e[2]._label,e=[t])):(e=Array.prototype.slice.apply(arguments,[0,-1]),t=arguments[0],s=arguments[arguments.length-1],o=s.data,l=s.hash,i=o.view.container,r.data=o,r.hash=p);var h=i.lookupFactory("view:liquid-with");return h=h.extend({originalArgs:e,originalHash:l,originalHashTypes:s.hashTypes,innerTemplate:s.fn||s.template}),l.containerless&&(h=h.extend(a._Metamorph)),p.boundContextBinding=t,["class","classNames","classNameBindings","use","id","growDuration","growPixelsPerSecond","growEasing","enableGrowth","containerless"].forEach(function(e){l.hasOwnProperty(e)&&(p[e]=l[e],r.hashTypes[e]=s.hashTypes?s.hashTypes[e]:void 0)}),n?void u.helpers.view.helperFunction.call(this,[h],p,r,u):a.Handlebars.helpers.view.call(this,h,r)}var a=e["default"],n=!!a.HTMLBars,i=s;n&&(i={isHTMLBars:!0,helperFunction:s,preprocessArguments:function(){}}),t["default"]=i}),define("admin/helpers/with-apply",["ember","exports"],function(e,t){"use strict";function s(){var e,t,s,i;n?(e=arguments[1],t=arguments[2],s=arguments[3],i=this):(t=arguments[0],e=t.hash,i=t.data.view);var r=i.get("liquidWithParent"),o=r.get("originalArgs").slice();return o[0]="lwith-view.boundContext",t=a.copy(t),i._keywords||(i._keywords={}),i._keywords["lwith-view"]=i,n||(t.data.keywords||(t.data.keywords={}),t.data.keywords["lwith-view"]=i),n?t.template=r.get("innerTemplate"):t.fn=r.get("innerTemplate"),e=r.get("originalHash"),t.hashTypes=r.get("originalHashTypes"),n?void s.helpers["with"].helperFunction.call(this,[i.getStream(o[0])],e,t,s):(t.hash=e,o.push(t),a.Handlebars.helpers["with"].apply(this,o))}var a=e["default"],n=!!a.HTMLBars,i=s;a.HTMLBars&&(i={isHTMLBars:!0,helperFunction:s,preprocessArguments:function(){}}),t["default"]=i}),define("admin/initializers/ember-moment",["ember-moment/helpers/moment","ember-moment/helpers/ago","ember","exports"],function(e,t,s,a){"use strict";var n=e.moment,i=t.ago,r=s["default"],o=function(){r.Handlebars.helper("moment",n),r.Handlebars.helper("ago",i)};a.initialize=o,a["default"]={name:"ember-moment",initialize:o}}),define("admin/initializers/export-application-global",["ember","admin/config/environment","exports"],function(e,t,s){"use strict";function a(e,t){var s=n.String.classify(i.modulePrefix);i.exportApplicationGlobal&&(window[s]=t)}var n=e["default"],i=t["default"];s.initialize=a,s["default"]={name:"export-application-global",initialize:a}}),define("admin/initializers/liquid-fire",["liquid-fire","ember","exports"],function(e,t,s){"use strict";var a=e.initialize,n=t["default"];s["default"]={name:"liquid-fire",initialize:function(e){if(n.$.Velocity){var t=n.$.Velocity.version,s=[0,11,8];1===n.compare(s,[t.major,t.minor,t.patch])&&n.warn("You should probably upgrade Velocity.js, recommended minimum is "+s.join("."))}else n.warn("Velocity.js is missing");a(e)}}}),define("admin/models/app",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Model.extend({builds:s.hasMany("build"),name:s.attr("string",{defaultValue:""}),apiKey:s.attr("string"),location:s.attr("string"),requireManualActivation:s.attr("boolean"),buildsSorting:["createdAt:desc"],orderedBuilds:Ember.computed.sort("builds","buildsSorting"),bestBuild:function(){return this.get("orderedBuilds").filterBy("active").filterBy("branch","master").get("firstObject")}.property("builds.length","builds.@each.active")})}),define("admin/models/build",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Model.extend({app:s.belongsTo("app"),sha:s.attr("string"),job:s.attr("string"),branch:s.attr("string"),active:s.attr("boolean"),createdAt:s.attr("date"),isBest:function(){return this===this.get("app.bestBuild")}.property("app.bestBuild"),shortSha:function(){return this.get("sha").slice(0,6)}.property("sha"),location:function(){var e=this.get("app.location"),t=this.get("isBest"),s=this.get("sha");return t?e:""+e+"?sha="+s}.property("app.location","isBest","sha")})}),define("admin/models/host-app",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Model.extend({name:s.attr("string"),friendlyName:function(){return this.get("name").replace("_"," ").capitalize()}.property("name")})}),define("admin/pods/app/controller",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Controller.extend({actions:{willRenameApp:function(){this.set("willRename",!0)},willDeleteApp:function(){this.set("willDelete",!0)}}})}),define("admin/pods/app/route",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Route.extend({actions:{appDeleted:function(){this.set("controller.willDelete",void 0),this.transitionTo("apps")}}})}),define("admin/pods/app/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n,i,r="";return t.buffer.push("\n <div class=\"panel panel-default\">\n <div class=\"panel-heading\">\n <h3 class='panel-title'>\n Current live build\n <a class='App-detail__link' "),t.buffer.push(f(a["bind-attr"].call(e,{hash:{href:"model.location"},hashTypes:{href:"ID"},hashContexts:{href:e},contexts:[],types:[],data:t}))),t.buffer.push(">\n "),t.buffer.push(f((n=a["fa-icon"]||e&&e["fa-icon"],i={hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["STRING"],data:t},n?n.call(e,"external-link",i):m.call(e,"fa-icon","external-link",i)))),t.buffer.push('\n </a>\n </h3>\n </div>\n <div class="panel-body">\n <p>Branch: <strong>'),s=a._triageMustache.call(e,"model.bestBuild.branch",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</strong></p>\n <p>Sha: <strong>"),s=a._triageMustache.call(e,"model.bestBuild.sha",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</strong></p>\n <p>Job: <strong>"),s=a._triageMustache.call(e,"model.bestBuild.job",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</strong></p>\n </div>\n </div>\n "),r}function o(e,t){var s="";return t.buffer.push('\n <div class="text-muted">\n <p class=\'lead\'>No active build.</p>\n\n <p>\n To start pushing builds, install <a href="https://github.com/tedconf/ember-cli-front-end-builds" target="_blank">Ember CLI FrontEndBuilds</a> and deploy with <code>ember deploy</code>.\n </p>\n <p>\n <strong>API key:</strong> <br>\n <pre>'),t.buffer.push(f(a._triageMustache.call(e,"model.apiKey",{hash:{unescaped:"true"},hashTypes:{unescaped:"STRING"},hashContexts:{unescaped:e},contexts:[e],types:["ID"],data:t}))),t.buffer.push("</pre>\n </p>\n </div>\n "),s}function l(e,t){var s,n,i,r="";return t.buffer.push("\n <h3 class='appDetail-buildListTitle'>All builds</h3>\n "),s=a["if"].call(e,"model.requireManualActivation",{hash:{},hashTypes:{},hashContexts:{},inverse:b.noop,fn:b.program(6,u,t),contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n "),t.buffer.push(f((n=a["build-list"]||e&&e["build-list"],i={hash:{builds:"model.orderedBuilds"},hashTypes:{builds:"ID"},hashContexts:{builds:e},contexts:[],types:[],data:t},n?n.call(e,i):m.call(e,"build-list",i)))),t.buffer.push("\n"),r}function u(e,t){t.buffer.push("\n <p class='text-muted'>This app <strong>requires</strong> new builds to be activated manually.</p>\n ")}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var p,h,d,c="",f=this.escapeExpression,m=a.helperMissing,b=this;return i.buffer.push('<div class="page-header">\n <h1>\n '),i.buffer.push(f((h=a["link-to"]||t&&t["link-to"],d={hash:{"class":"link-subtle"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},contexts:[t,t],types:["STRING","STRING"],data:i},h?h.call(t,"Apps/","apps",d):m.call(t,"link-to","Apps/","apps",d)))),p=a._triageMustache.call(t,"model.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(p||0===p)&&i.buffer.push(p),i.buffer.push('\n </h1>\n</div>\n\n<div class="row">\n <div class="col-sm-8">\n '),p=a["if"].call(t,"model.bestBuild",{hash:{},hashTypes:{},hashContexts:{},inverse:b.program(3,o,i),fn:b.program(1,r,i),contexts:[t],types:["ID"],data:i}),(p||0===p)&&i.buffer.push(p),i.buffer.push('\n\n </div>\n\n <div class="col-sm-4">\n <div class="panel panel-default">\n <div class="panel-heading">Options</div>\n <div class="list-group">\n <a '),i.buffer.push(f(a.action.call(t,"willRenameApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" href='#' class=\"list-group-item\">Rename<a>\n <a "),i.buffer.push(f(a.action.call(t,"willDeleteApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" href='#' class=\"list-group-item\">Delete</a>\n </div>\n </div>\n </div>\n</div>\n\n"),p=a["if"].call(t,"model.orderedBuilds",{hash:{},hashTypes:{},hashContexts:{},inverse:b.noop,fn:b.program(5,l,i),contexts:[t],types:["ID"],data:i}),(p||0===p)&&i.buffer.push(p),i.buffer.push("\n"),c})}),define("admin/pods/application/route",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Route.extend({model:function(){return this.store.find("host-app","current")}})}),define("admin/pods/application/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n="";return t.buffer.push("\n <strong>"),s=a._triageMustache.call(e,"model.friendlyName",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("'s</strong> frontend apps\n "),n}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var o,l,u,p="",h=this,d=a.helperMissing;return i.buffer.push('<nav class="navbar navbar-inverse" role="navigation">\n <div class="container-fluid">\n <div class="navbar-header">\n '),l=a["link-to"]||t&&t["link-to"],u={hash:{"class":"navbar-brand"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},inverse:h.noop,fn:h.program(1,r,i),contexts:[t],types:["STRING"],data:i},o=l?l.call(t,"apps",u):d.call(t,"link-to","apps",u),(o||0===o)&&i.buffer.push(o),i.buffer.push('\n </div>\n </div>\n</nav>\n\n<div class="container-fluid">\n '),o=a._triageMustache.call(t,"outlet",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(o||0===o)&&i.buffer.push(o),i.buffer.push("\n</div>\n\n"),o=a._triageMustache.call(t,"liquid-modal",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(o||0===o)&&i.buffer.push(o),i.buffer.push("\n"),p})}),define("admin/pods/apps/controller",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Controller.extend({savedApps:s.computed.filterBy("model","isNew",!1),newApp:function(){return this.get("model").filterBy("isNew",!0).get("firstObject")}.property("model.@each.isNew"),actions:{createApp:function(){this.store.createRecord("app")}}})}),define("admin/pods/apps/route",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Route.extend({model:function(){return this.store.find("app")}})}),define("admin/pods/apps/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n,i="";return t.buffer.push('\n <div class="col-sm-4">\n '),t.buffer.push(c((s=a["app-card"]||e&&e["app-card"],n={hash:{app:"app"},hashTypes:{app:"ID"},hashContexts:{app:e},contexts:[],types:[],data:t},s?s.call(e,n):d.call(e,"app-card",n)))),t.buffer.push("\n </div>\n "),i}function o(e,t){var s,n,i="";return t.buffer.push('\n <div class="col-sm-4">\n '),t.buffer.push(c((s=a["new-app-card"]||e&&e["new-app-card"],n={hash:{app:"newApp"},hashTypes:{app:"ID"},hashContexts:{app:e},contexts:[],types:[],data:t},s?s.call(e,n):d.call(e,"new-app-card",n)))),t.buffer.push("\n </div>\n "),i}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var l,u,p,h="",d=a.helperMissing,c=this.escapeExpression,f=this;return i.buffer.push("<div class=\"page-header\">\n <h1>Apps</h1>\n</div>\n\n<div class='text-right u-margin-bottom'>\n <button "),i.buffer.push(c(a.action.call(t,"createApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(' class="btn btn-default btn-sm">\n '),i.buffer.push(c((u=a["fa-icon"]||t&&t["fa-icon"],p={hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i},u?u.call(t,"plus",p):d.call(t,"fa-icon","plus",p)))),i.buffer.push('\n New app\n </button>\n</div>\n\n<div class="row">\n '),l=a.each.call(t,"app","in","savedApps",{hash:{},hashTypes:{},hashContexts:{},inverse:f.noop,fn:f.program(1,r,i),contexts:[t,t,t],types:["ID","ID","ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n\n "),l=a["if"].call(t,"newApp",{hash:{},hashTypes:{},hashContexts:{},inverse:f.noop,fn:f.program(3,o,i),contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n</div>\n\n"),l=a._triageMustache.call(t,"liquid-modal",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n"),h})}),define("admin/pods/components/app-card/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n="";return t.buffer.push('\n <div class="row">\n <div class="col-xs-4">\n <p class=\'App-card__info-label\'>Branch</p>\n <p>'),s=a._triageMustache.call(e,"app.bestBuild.branch",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</p>\n </div>\n <div class=\"col-xs-4\">\n <p class='App-card__info-label'>Sha</p>\n <p>"),s=a._triageMustache.call(e,"app.bestBuild.shortSha",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</p>\n </div>\n <div class=\"col-xs-4\">\n <p class='App-card__info-label'>Job</p>\n <p>"),s=a._triageMustache.call(e,"app.bestBuild.job",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</p>\n </div>\n </div>\n\n <hr class='short-divider'>\n\n <p class='u-no-margin-bottom'>\n API key:\n <span class='App-card__api'>\n ********\n <small class='App-card__copy-api-button'>copy</small>\n </span>\n </p>\n\n "),n}function o(e,t){var s,n="";return t.buffer.push('\n\n <div class="text-muted">\n <p class=\'text-center\'>No active build.</p>\n <hr class=\'short-divider\'>\n <p class=\'App-card__instructions\'>\n To start pushing builds, install <a href="https://github.com/tedconf/ember-cli-front-end-builds" target="_blank">Ember CLI FrontEndBuilds</a> and deploy with <code>ember deploy</code>.\n </p>\n <p class="App-card__instructions">\n <strong>API key:</strong> <br>\n <pre>'),s=a._triageMustache.call(e,"app.apiKey",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</pre>\n </p>\n </div>\n\n "),n}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var l,u,p,h="",d=a.helperMissing,c=this.escapeExpression,f=this;return i.buffer.push('<div class="App-card panel panel-primary">\n <div class="panel-heading">\n <h3 class="panel-title">\n '),i.buffer.push(c((u=a["link-to"]||t&&t["link-to"],p={hash:{},hashTypes:{},hashContexts:{},contexts:[t,t,t],types:["ID","STRING","ID"],data:i},u?u.call(t,"app.name","app","app",p):d.call(t,"link-to","app.name","app","app",p)))),i.buffer.push('\n </h3>\n </div>\n <div class="panel-body">\n\n '),l=a["if"].call(t,"app.bestBuild",{hash:{},hashTypes:{},hashContexts:{},inverse:f.program(3,o,i),fn:f.program(1,r,i),contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n\n </div>\n</div>\n"),h})}),define("admin/pods/components/build-list/component",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({actions:{activate:function(e){return e.set("active",!0).save().then(null,function(e){console.error(e)})},deactivate:function(e){return e.set("active",!1).save().then(null,function(e){console.error(e)})}}})}),define("admin/pods/components/build-list/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n,i,r="";return t.buffer.push("\n <tr "),t.buffer.push(f(a["bind-attr"].call(e,{hash:{"class":"build.isBest:success :appDetail-buildListItem"},hashTypes:{"class":"STRING"},hashContexts:{"class":e},contexts:[],types:[],data:t}))),t.buffer.push(">\n <td class='appDetail-buildListItemCell__id'>#"),s=a._triageMustache.call(e,"build.id",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</td>\n <td class='appDetail-buildListItemCell__live'>\n "),s=a["if"].call(e,"build.isBest",{hash:{},hashTypes:{},hashContexts:{},inverse:m.noop,fn:m.program(2,o,t),contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n </td>\n <td class='appDetail-buildListItemCell__link'>\n <a "),t.buffer.push(f(a["bind-attr"].call(e,{hash:{href:"build.location"},hashTypes:{href:"ID"},hashContexts:{href:e},contexts:[],types:[],data:t}))),t.buffer.push(">\n "),t.buffer.push(f((n=a["fa-icon"]||e&&e["fa-icon"],i={hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["STRING"],data:t},n?n.call(e,"external-link",i):b.call(e,"fa-icon","external-link",i)))),t.buffer.push("\n </a>\n </td>\n <td class='appDetail-buildListItemCell'>\n <p>"),t.buffer.push(f((n=a.ago||e&&e.ago,i={hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t},n?n.call(e,"build.createdAt",i):b.call(e,"ago","build.createdAt",i)))),t.buffer.push("</p>\n </td>\n <td class='appDetail-buildListItemCell'>"),s=a._triageMustache.call(e,"build.branch",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</td>\n <td class='appDetail-buildListItemCell'>#"),s=a._triageMustache.call(e,"build.shortSha",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</td>\n <td class='appDetail-buildListItemCell'>"),s=a["if"].call(e,"build.active",{hash:{},hashTypes:{},hashContexts:{},inverse:m.program(6,u,t),fn:m.program(4,l,t),contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("</td>\n <td class='appDetail-buildListItemCell text-right'>\n "),s=a["if"].call(e,"build.active",{hash:{},hashTypes:{},hashContexts:{},inverse:m.program(10,h,t),fn:m.program(8,p,t),contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n </td>\n </tr>\n "),r}function o(e,t){t.buffer.push("\n <span class='pull-right'>\n <span class='label label-success'>Live</span>\n </span>\n ")}function l(e,t){t.buffer.push("Active")}function u(e,t){t.buffer.push("Not active")}function p(e,t){var s="";return t.buffer.push("\n <button "),t.buffer.push(f(a.action.call(e,"deactivate","build",{hash:{},hashTypes:{},hashContexts:{},contexts:[e,e],types:["STRING","ID"],data:t}))),t.buffer.push(' class="btn btn-danger btn-xs">Deactivate</button>\n '),s}function h(e,t){var s="";return t.buffer.push("\n <button "),t.buffer.push(f(a.action.call(e,"activate","build",{hash:{},hashTypes:{},hashContexts:{},contexts:[e,e],types:["STRING","ID"],data:t}))),t.buffer.push(' class="btn btn-warning btn-xs">Activate</button>\n '),s}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var d,c="",f=this.escapeExpression,m=this,b=a.helperMissing;return i.buffer.push("<table class='table table-hover appDetail-buildList'>\n <thead>\n <tr>\n <th class='appDetail-buildListItemCell__id'>ID</th>\n <th class='appDetail-buildListItemCell__live'></th>\n <th class='appDetail-buildListItemCell__link'></th>\n <th class='appDetail-buildListItemCell__built'>Built</th>\n <th class='appDetail-buildListItemCell'>Branch</th>\n <th class='appDetail-buildListItemCell'>Commit</th>\n <th class='appDetail-buildListItemCell'>Status</th>\n <th class='appDetail-buildListItemCell'></th>\n </tr>\n </thead>\n <tbody>\n "),d=a.each.call(t,"build","in","builds",{hash:{},hashTypes:{},hashContexts:{},inverse:m.noop,fn:m.program(1,r,i),contexts:[t,t,t],types:["ID","ID","ID"],data:i}),(d||0===d)&&i.buffer.push(d),i.buffer.push("\n </tbody>\n</table>\n"),c})}),define("admin/pods/components/delete-app-form/component",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({canDelete:function(){return this.get("app.name")===this.get("confirmedName")}.property("app.name","confirmedName"),actions:{dismiss:function(){this.sendAction("dismiss")},deleteApp:function(){var e=this;this.get("app").destroyRecord().then(function(){e.sendAction("deleted")},function(){console.error("something happened")})}}})}),define("admin/pods/components/delete-app-form/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var r,o,l,u="",p=this.escapeExpression,h=a.helperMissing;return i.buffer.push('<div class="modal-header">\n <button '),i.buffer.push(p(a.action.call(t,"dismiss",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(' type="button" class="close"><span aria-hidden="true">&times;</span></button>\n <h4 class="modal-title">Are you sure?</h4>\n</div>\n<div class="modal-body">\n <p>This action <strong>CANNOT</strong> be undone. If you delete the <strong>'),r=a._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("</strong> app, users will no longer be able to view it when they visit <a "),i.buffer.push(p(a["bind-attr"].call(t,{hash:{href:"app.location"},hashTypes:{href:"STRING"},hashContexts:{href:t},contexts:[],types:[],data:i}))),i.buffer.push(" target='_blank'>"),r=a._triageMustache.call(t,"app.location",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push('</a>.</p>\n <p>Please type in the name of this app to confirm.</p>\n\n <div class="form-group">\n '),i.buffer.push(p((o=a.input||t&&t.input,l={hash:{"class":"form-control",value:"confirmedName"},hashTypes:{"class":"STRING",value:"ID"},hashContexts:{"class":t,value:t},contexts:[],types:[],data:i},o?o.call(t,l):h.call(t,"input",l)))),i.buffer.push("\n </div>\n\n <button "),i.buffer.push(p(a.action.call(t,"deleteApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" "),i.buffer.push(p(a["bind-attr"].call(t,{hash:{"class":"canDelete::disabled :btn :btn-block :btn-danger"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},contexts:[],types:[],data:i}))),i.buffer.push(">I understand, delete the app</button>\n\n</div>\n"),u
2
+ })}),define("admin/pods/components/new-app-card/component",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Component.extend({didInsertElement:function(){var e=this;this.$("input").focus().on("keyup",function(t){27==t.keyCode&&e.send("discardNewApp")})},actions:{createApp:function(){return this.get("app").save()},discardNewApp:function(){this.get("app").deleteRecord()}}})}),define("admin/pods/components/new-app-card/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var r,o,l="",u=this.escapeExpression,p=a.helperMissing;return i.buffer.push("<form "),i.buffer.push(u(a.action.call(t,"createApp",{hash:{on:"submit"},hashTypes:{on:"STRING"},hashContexts:{on:t},contexts:[t],types:["STRING"],data:i}))),i.buffer.push('>\n <div class="App-card panel panel-primary">\n <div class="panel-heading">\n <h3 class="panel-title">\n '),i.buffer.push(u((r=a.input||t&&t.input,o={hash:{value:"app.name","class":"App-card__new-input",placeholder:"Enter an app name"},hashTypes:{value:"ID","class":"STRING",placeholder:"STRING"},hashContexts:{value:t,"class":t,placeholder:t},contexts:[],types:[],data:i},r?r.call(t,o):p.call(t,"input",o)))),i.buffer.push("\n </h3>\n </div>\n <div class='panel-body'>\n <p class='text-muted'><small>Once your app is created, you'll receive an API key you can use to push out new builds.</small></p>\n\n "),i.buffer.push(u((r=a["async-button"]||t&&t["async-button"],o={hash:{action:"createApp",type:"submit","class":"btn btn-sm btn-success","default":"Create",pending:"Creating..."},hashTypes:{action:"STRING",type:"STRING","class":"STRING","default":"STRING",pending:"STRING"},hashContexts:{action:t,type:t,"class":t,"default":t,pending:t},contexts:[],types:[],data:i},r?r.call(t,o):p.call(t,"async-button",o)))),i.buffer.push("\n\n <button "),i.buffer.push(u(a.action.call(t,"discardNewApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" class='btn btn-link btn-default'>\n "),i.buffer.push(u((r=a["fa-icon"]||t&&t["fa-icon"],o={hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i},r?r.call(t,"remove",o):p.call(t,"fa-icon","remove",o)))),i.buffer.push("\n </button>\n\n </div>\n </div>\n</form>\n"),l})}),define("admin/pods/components/rename-app-form/component",["ember","ember-buffered-proxy/proxy","exports"],function(e,t,s){"use strict";var a=e["default"],n=t["default"];s["default"]=a.Component.extend({proxy:function(){return n.create({content:this.get("app")})}.property("app"),nameHasChanged:function(){return this.get("app.name")!==this.get("proxy.name")}.property("app.name","proxy.name"),actions:{dismiss:function(){this.sendAction("dismiss")},renameApp:function(){var e=this;this.get("proxy").applyChanges(),this.get("app").save().then(function(){e.sendAction("dismiss")},function(){console.error("something happened")})}}})}),define("admin/pods/components/rename-app-form/template",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var r,o,l,u="",p=this.escapeExpression,h=a.helperMissing;return i.buffer.push('<div class="modal-header">\n <button '),i.buffer.push(p(a.action.call(t,"dismiss",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(' type="button" class="close"><span aria-hidden="true">&times;</span></button>\n <h4 class="modal-title">Rename this app?</h4>\n</div>\n<div class="modal-body">\n <p>If you rename your <strong>'),r=a._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("</strong> app, you'll need to update the <code>routes.rb</code> file in your Rails app. Currently it probably looks something like this:</p>\n\n<pre>\nRails.application.routes.draw do\n front_end '"),r=a._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("', '/some-url'\nend\n</pre>\n\n <p>You'll need to change the <code>'"),r=a._triageMustache.call(t,"app.name",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push('\'</code> portion to match the updated app name.</p>\n\n <hr>\n\n <div class="clearfix">\n <label for="">App name</label>\n <div class="row">\n <div class="col-sm-8">\n '),i.buffer.push(p((o=a.input||t&&t.input,l={hash:{"class":"form-control",value:"proxy.name"},hashTypes:{"class":"STRING",value:"ID"},hashContexts:{"class":t,value:t},contexts:[],types:[],data:i},o?o.call(t,l):h.call(t,"input",l)))),i.buffer.push('\n </div>\n <div class="col-sm-4">\n <button '),i.buffer.push(p(a.action.call(t,"renameApp",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["STRING"],data:i}))),i.buffer.push(" "),i.buffer.push(p(a["bind-attr"].call(t,{hash:{"class":"nameHasChanged::disabled :btn :btn-block :btn-default"},hashTypes:{"class":"STRING"},hashContexts:{"class":t},contexts:[],types:[],data:i}))),i.buffer.push(">Rename</button>\n </div>\n </div>\n </div>\n</div>\n"),u})}),define("admin/pretender/data/apps",["exports"],function(e){"use strict";e["default"]=[{id:1,name:"blog",api_key:"f6db3e76-8f6a-4591-9231-28c271aca36b",location:"/engineering/blog",require_manual_activation:!0,build_ids:[1,2,3,4]},{id:2,name:"accounting-reports",location:"/finance/reports",api_key:"e241cdf3-5b46-49e6-a962-c857a557d470",require_manual_activation:!1,build_ids:[]},{id:3,name:"crm",location:"/people",api_key:"eca7ad25-5de4-467d-8a28-6ca2d2f48c55",require_manual_activation:!1,build_ids:[]}]}),define("admin/pretender/data/builds",["exports"],function(e){"use strict";e["default"]=[{id:4,app_id:1,sha:"1bc3gdw",job:1,branch:"master",created_at:"2015-01-04 00:00:00",active:!1},{id:3,app_id:1,sha:"1bc3gdw",job:1,branch:"nonmaster",created_at:"2015-01-03 00:00:00",active:!0},{id:2,app_id:1,sha:"83jnbj",job:2,branch:"master",created_at:"2014-12-27 00:00:00",active:!0},{id:1,app_id:1,sha:"jt83ndl",job:3,branch:"master",created_at:"2014-12-25 00:00:00",active:!0}]}),define("admin/pretender/data/hostApp",["exports"],function(e){"use strict";e["default"]={id:"current",name:"acme_portal"}}),define("admin/pretender/index",["pretender","admin/pretender/data/hostApp","admin/pretender/data/apps","admin/pretender/data/builds","exports"],function(e,t,s,a,n){"use strict";var i=e["default"],r=t["default"],o=s["default"],l=a["default"],u={hostApp:r,apps:o,builds:l};u.validLogin=!0,u.currentUser={email:"sam.selikoff@gmail.com",firstname:"Sam",id:"current",lastname:"Selikoff"};var p=function(){this.prepareBody=function(e){return e?JSON.stringify(e):'{"error": "not found"}'},this.stubUrl=function(e,t,s){this[e].call(this,"/api"+t,function(){return console.log("Hitting "+t),console.log(s),[200,{},s]})}.bind(this),this.unhandledRequest=function(e,t){console.error("FAILED REQUEST"),console.error(e,t)},this.setupGlobalRoutes=function(e){var t=this;this.stubUrl("get","/host_apps/current",{host_app:e.hostApp}),this.stubUrl("get","/apps",{apps:e.apps,builds:e.builds}),this.stubUrl("post","/apps",{}),this.get("/api/apps/:id",function(t){var s=+t.params.id,a=e.apps.findBy("id",s),n=e.builds.filterBy("app_id",s),i={app:a,builds:n};return console.log("Hitting /api/apps/:id"),console.log(i),[200,{},i]}),this.put("/api/apps/:id",function(t){var s=+t.params.id,a=e.apps.findBy("id",s),n=e.apps.indexOf(a),i=JSON.parse(t.requestBody);return i.app.id=s,e.apps[n]=i.app,console.log("PUT /api/apps/:id"),console.log(i),[200,{},i]}),this["delete"]("/api/apps/:id",function(s){var a=+s.params.id;return e.apps=e.apps.rejectBy("id",a),e.builds=e.builds.rejectBy("app_id",a),t.setupGlobalRoutes.call(t,e),[204,{}]}),this.put("/api/builds/:id",function(t){var s=+t.params.id,a=e.builds.findBy("id",s),n=e.builds.indexOf(a),i=JSON.parse(t.requestBody);return i.build.id=s,e.builds[n]=i.build,console.log("PUT /api/builds/:id"),console.log(i),[200,{},i]})}.bind(this),this.resetGlobalRoutes=function(){var e=jQuery.extend(!0,{},u);this.setupGlobalRoutes(e)},this.resetGlobalRoutes()};n["default"]={initialize:function(){return new i(p)}}}),define("admin/router",["ember","admin/config/environment","exports"],function(e,t,s){"use strict";var a=e["default"],n=t["default"],i=a.Router.extend({location:n.locationType,baseURL:window.RAILS_ENV.baseURL});i.map(function(){this.resource("apps",{path:"/"}),this.resource("app",{path:"/:app_id"},function(){this.modal("delete-app-form",{withParams:["willDelete"],otherParams:{model:"app"},actions:{deleted:"appDeleted"}}),this.modal("rename-app-form",{withParams:["willRename"],otherParams:{model:"app"}})})}),s["default"]=i}),define("admin/serializers/application",["ember-data","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.ActiveModelSerializer.extend({})}),define("admin/templates/components/async-button",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n="";return t.buffer.push("\n "),s=a._triageMustache.call(e,"yield",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n"),n}function o(e,t){var s,n="";return t.buffer.push("\n "),s=a._triageMustache.call(e,"view.text",{hash:{},hashTypes:{},hashContexts:{},contexts:[e],types:["ID"],data:t}),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n"),n}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var l,u="",p=this;return l=a["if"].call(t,"template",{hash:{},hashTypes:{},hashContexts:{},inverse:p.program(3,o,i),fn:p.program(1,r,i),contexts:[t],types:["ID"],data:i}),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n"),u})}),define("admin/templates/components/liquid-modal",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){function r(e,t){var s,n,i,r="";return t.buffer.push("\n "),n=a["lm-container"]||e&&e["lm-container"],i={hash:{action:"escape"},hashTypes:{action:"STRING"},hashContexts:{action:e},inverse:f.noop,fn:f.program(2,o,t),contexts:[],types:[],data:t},s=n?n.call(e,i):c.call(e,"lm-container",i),(s||0===s)&&t.buffer.push(s),t.buffer.push("\n"),r}function o(e,t){var s,n,i="";return t.buffer.push("\n <div "),t.buffer.push(d(a["bind-attr"].call(e,{hash:{"class":":lf-dialog cc.options.dialogClass"},hashTypes:{"class":"STRING"},hashContexts:{"class":e},contexts:[],types:[],data:t}))),t.buffer.push(' role="dialog" '),t.buffer.push(d(a["bind-attr"].call(e,{hash:{"aria-labelledby":"cc.options.ariaLabelledBy","aria-label":"cc.options.ariaLabel"},hashTypes:{"aria-labelledby":"STRING","aria-label":"STRING"},hashContexts:{"aria-labelledby":e,"aria-label":e},contexts:[],types:[],data:t}))),t.buffer.push(">\n "),t.buffer.push(d(a.view.call(e,"innerView",{hash:{dismiss:"dismiss"},hashTypes:{dismiss:"STRING"},hashContexts:{dismiss:e},contexts:[e],types:["ID"],data:t}))),t.buffer.push("\n </div>\n "),t.buffer.push(d((s=a["lf-overlay"]||e&&e["lf-overlay"],n={hash:{clickAway:"outsideClick"},hashTypes:{clickAway:"STRING"},hashContexts:{clickAway:e},contexts:[],types:[],data:t},s?s.call(e,n):c.call(e,"lf-overlay",n)))),t.buffer.push("\n "),i}this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var l,u,p,h="",d=this.escapeExpression,c=a.helperMissing,f=this;return u=a["liquid-with"]||t&&t["liquid-with"],p={hash:{"class":"lm-with",containerless:!0},hashTypes:{"class":"STRING",containerless:"BOOLEAN"},hashContexts:{"class":t,containerless:t},inverse:f.noop,fn:f.program(1,r,i),contexts:[t,t,t],types:["ID","ID","ID"],data:i},l=u?u.call(t,"currentContext","as","cc",p):c.call(t,"liquid-with","currentContext","as","cc",p),(l||0===l)&&i.buffer.push(l),i.buffer.push("\n"),h})}),define("admin/templates/liquid-with-self",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var r,o="";return r=a._triageMustache.call(t,"",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("\n"),o})}),define("admin/templates/liquid-with",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.Handlebars.template(function(e,t,a,n,i){this.compilerInfo=[4,">= 1.0.0"],a=this.merge(a,s.Handlebars.helpers),i=i||{};var r,o="";return r=a._triageMustache.call(t,"with-apply",{hash:{},hashTypes:{},hashContexts:{},contexts:[t],types:["ID"],data:i}),(r||0===r)&&i.buffer.push(r),i.buffer.push("\n\n\n"),o})}),define("admin/transitions/cross-fade",["liquid-fire","exports"],function(e,t){"use strict";var s=e.animate,a=e.stop,n=e.Promise;t["default"]=function(e,t,i){return a(e),t().then(function(t){return n.all([s(e,{opacity:0},i),s(t,{opacity:[1,0]},i)])})}}),define("admin/transitions/fade",["liquid-fire","exports"],function(e,t){"use strict";var s=e.isAnimating,a=e.finish,n=e.timeSpent,i=e.animate,r=e.stop;t["default"]=function(e,t,o){var l,u=o;return s(e,"fade-out")?l=a(e,"fade-out"):(s(e,"fade-in")&&(u={duration:n(e,"fade-in")}),r(e),l=i(e,{opacity:0},u,"fade-out")),l.then(t).then(function(e){return i(e,{opacity:[1,0]},o,"fade-in")})}}),define("admin/transitions/flex-grow",["liquid-fire","exports"],function(e,t){"use strict";var s=e.animate,a=e.stop,n=e.Promise;t["default"]=function(e,t,i){return a(e),t().then(function(t){return n.all([s(e,{"flex-grow":0},i),s(t,{"flex-grow":[1,0]},i)])})}}),define("admin/transitions/modal-popup",["exports"],function(e){"use strict";e["default"]=function(e,t){return t().then(function(e){e&&e.$().css({display:"",visibility:""})})}}),define("admin/transitions/move-over",["liquid-fire","exports"],function(e,t){"use strict";var s=e.stop,a=e.animate,n=e.Promise,i=e.isAnimating,r=e.finish;t["default"]=function(e,t,o,l,u){var p,h,d,c={},f={};return"x"===o.toLowerCase()?(h="translateX",d="width"):(h="translateY",d="height"),i(e,"moving-in")?p=r(e,"moving-in"):(s(e),p=n.resolve()),p.then(t).then(function(t){if(t&&t.$()&&e&&e.$()){var s=[parseInt(t.$().css(d),10),parseInt(e.$().css(d),10)],i=Math.max.apply(null,s);c[h]=i*l+"px",f[h]=["0px",-1*i*l+"px"]}else c[h]=100*l+"%",f[h]=["0%",-100*l+"%"];return n.all([a(e,c,u),a(t,f,u,"moving-in")])})}}),define("admin/transitions/scroll-then",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=function(){s.assert("You must provide a transition name as the first argument to scrollThen. Example: this.use('scrollThen', 'toLeft')","string"==typeof arguments[2]);var e=document.getElementsByTagName("html"),t=Array.prototype.slice.call(arguments,0,2),a=this.lookup(arguments[2]),n=this,i=arguments[3]||{};return s.assert("The second argument to scrollThen is passed to Velocity's scroll function and must be an object","object"==typeof i),i=s.merge({duration:500,offset:0},i),t.push.apply(t,Array.prototype.slice.call(arguments,4)),window.$.Velocity(e,"scroll",i).then(function(){a.apply(n,t)})}}),define("admin/transitions/to-down",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","y",1)}),define("admin/transitions/to-left",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","x",-1)}),define("admin/transitions/to-right",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","x",1)}),define("admin/transitions/to-up",["liquid-fire","exports"],function(e,t){"use strict";var s=e.curryTransition;t["default"]=s("move-over","y",-1)}),define("admin/views/liquid-child",["ember","exports"],function(e,t){"use strict";var s=e["default"];t["default"]=s.ContainerView.extend({classNames:["liquid-child"],resolveInsertionPromise:s.on("didInsertElement",function(){this.$().css({visibility:"hidden"}).hide(),this._resolveInsertion&&this._resolveInsertion(this)})})}),define("admin/views/liquid-if",["admin/views/liquid-outlet","ember","exports"],function(e,t,s){"use strict";var a=e["default"],n=t["default"],i=!!n.HTMLBars;s["default"]=a.extend({liquidUpdate:n.on("init",n.observer("showFirst",function(){var e=this.get("templates")[this.get("showFirst")?0:1];if(!e||!i&&e===n.Handlebars.VM.noop)return void this.set("currentView",null);var t=n._MetamorphView.create({container:this.container,template:e,liquidParent:this,contextBinding:"liquidParent.context",liquidContext:this.get("showFirst"),hasLiquidContext:!0});this.set("currentView",t)}))})}),define("admin/views/liquid-outlet",["ember","liquid-fire","exports"],function(e,t,s){"use strict";function a(e){return{width:e.width(),literalWidth:parseInt(e.css("width"),10),height:e.height(),literalHeight:parseInt(e.css("height"),10)}}var n=e["default"],i=t.Promise,r=t.animate,o=t.stop,l=n.String.capitalize;s["default"]=n.ContainerView.extend({classNames:["liquid-container"],growDuration:250,growPixelsPerSecond:200,growEasing:"slide",enableGrowth:!0,init:function(){this._super(),n.A(this._childViews).clear(),this.get("containerless")&&(this.set("innerClassNameBindings",this.get("classNameBindings")),this.set("classNameBindings",n.A()))},_currentViewWillChange:n.beforeObserver("currentView",function(){}),_currentViewDidChange:n.on("init",n.observer("currentView",function(){var e,t=this.get("childViews.lastObject"),s=this.get("currentView");if(e=!this._hasTransitioned,this._hasTransitioned=!0,!(!t&&!s||t&&t.get("currentView")===s||this._runningTransition&&this._runningTransition.oldView===t&&this._runningTransition.newContent===s)){var a=this.get("transitions").transitionFor(this,t,s,this.get("use"),e);this._runningTransition&&this._runningTransition.interrupt(),this._runningTransition=a,a.run()["catch"](function(e){n.RSVP.Promise.resolve()._onerror(e)})}})),_liquidChildFor:function(e){e&&!e.get("hasLiquidContext")&&e.set("liquidContext",e.get("context"));var t=this.container.lookupFactory("view:liquid-child"),s={currentView:e};return this.get("containerless")&&(s.classNames=this.get("classNames").without("liquid-container"),s.classNameBindings=this.get("innerClassNameBindings")),t.create(s)},_pushNewView:function(e){if(!e)return i.resolve();var t=this._liquidChildFor(e),s=new i(function(e){t._resolveInsertion=e});return this.pushObject(t),s},cacheSize:function(){var e=this.$();e&&(this._cachedSize=a(e))},unlockSize:function(){var e=function(){var e=t.$();e&&e.css({width:"",height:""})},t=this;this._scaling?this._scaling.then(e):e()},_durationFor:function(e,t){return Math.min(this.get("growDuration"),1e3*Math.abs(e-t)/this.get("growPixelsPerSecond"))},_adaptDimension:function(e,t,s){if(t[e]!==s[e]&&this.get("enableGrowth")){var a={};return a[e]=[s["literal"+l(e)],t["literal"+l(e)]],r(this,a,{duration:this._durationFor(t[e],s[e]),queue:!1,easing:this.get("growEasing")})}var n=this.$();return n&&n[e](s[e]),i.resolve()},adaptSize:function(){o(this);var e=this.$();if(e){var t=a(e);"undefined"==typeof this._cachedSize&&(this._cachedSize=t),e.width(this._cachedSize.width),e.height(this._cachedSize.height),this._scaling=i.all([this._adaptDimension("width",this._cachedSize,t),this._adaptDimension("height",this._cachedSize,t)])}}})}),define("admin/views/liquid-with",["admin/views/liquid-outlet","ember","exports"],function(e,t,s){"use strict";var a=e["default"],n=t["default"];s["default"]=a.extend({liquidUpdate:n.on("init",n.observer("boundContext",function(){var e=this.get("boundContext");if(n.isEmpty(e))return void this.set("currentView",null);var t=n._MetamorphView.create({container:this.container,templateName:"liquid-with",boundContext:e,liquidWithParent:this,liquidContext:e,hasLiquidContext:!0});this.set("currentView",t)}))})}),define("admin/config/environment",["ember"],function(e){var t="admin";try{var s=t+"/config/environment",a=e["default"].$('meta[name="'+s+'"]').attr("content"),n=JSON.parse(unescape(a));return{"default":n}}catch(i){throw new Error('Could not read config from meta tag with name "'+s+'".')}}),runningTests?require("admin/tests/test-helper"):require("admin/app")["default"].create({});
@@ -18,4 +18,4 @@ return this.registerFilteredRecordArray(n,e,t),n},createAdapterPopulatedRecordAr
18
18
  }),t("ember-inflector/system/inflector",["exports"],function(e){"use strict";function t(e,t){for(var r=0,n=t.length;n>r;r++)e.uncountable[t[r].toLowerCase()]=!0}function r(e,t){for(var r,n=0,i=t.length;i>n;n++)r=t[n],e.irregular[r[0].toLowerCase()]=r[1],e.irregular[r[1].toLowerCase()]=r[1],e.irregularInverse[r[1].toLowerCase()]=r[0],e.irregularInverse[r[0].toLowerCase()]=r[0]}function n(e){e=e||{},e.uncountable=e.uncountable||i(),e.irregularPairs=e.irregularPairs||i();var n=this.rules={plurals:e.plurals||[],singular:e.singular||[],irregular:i(),irregularInverse:i(),uncountable:i()};t(n,e.uncountable),r(n,e.irregularPairs),this.enableCache()}function i(){var e=Object.create(null);return e._dict=null,delete e._dict,e}var a=/^\s*$/,o=/(\w+[_-])([a-z\d]+$)/,s=/(\w+)([A-Z][a-z\d]*$)/,u=/[A-Z][a-z\d]*$/;if(!Object.create&&!Object.create(null).hasOwnProperty)throw new Error("This browser does not support Object.create(null), please polyfil with es5-sham: http://git.io/yBU2rg");n.prototype={enableCache:function(){this.purgeCache(),this.singularize=function(e){return this._cacheUsed=!0,this._sCache[e]||(this._sCache[e]=this._singularize(e))},this.pluralize=function(e){return this._cacheUsed=!0,this._pCache[e]||(this._pCache[e]=this._pluralize(e))}},purgeCache:function(){this._cacheUsed=!1,this._sCache=i(),this._pCache=i()},disableCache:function(){this._sCache=null,this._pCache=null,this.singularize=function(e){return this._singularize(e)},this.pluralize=function(e){return this._pluralize(e)}},plural:function(e,t){this._cacheUsed&&this.purgeCache(),this.rules.plurals.push([e,t.toLowerCase()])},singular:function(e,t){this._cacheUsed&&this.purgeCache(),this.rules.singular.push([e,t.toLowerCase()])},uncountable:function(e){this._cacheUsed&&this.purgeCache(),t(this.rules,[e.toLowerCase()])},irregular:function(e,t){this._cacheUsed&&this.purgeCache(),r(this.rules,[[e,t]])},pluralize:function(e){return this._pluralize(e)},_pluralize:function(e){return this.inflect(e,this.rules.plurals,this.rules.irregular)},singularize:function(e){return this._singularize(e)},_singularize:function(e){return this.inflect(e,this.rules.singular,this.rules.irregularInverse)},inflect:function(e,t,r){var n,i,l,c,h,d,f,p,m,v,y,g;if(p=a.test(e),m=u.test(e),d="",p)return e;if(c=e.toLowerCase(),h=o.exec(e)||s.exec(e),h&&(d=h[1],f=h[2].toLowerCase()),v=this.rules.uncountable[c]||this.rules.uncountable[f])return e;if(y=r&&(r[c]||r[f]))return r[c]?y:(y=m?y.capitalize():y,d+y);for(var b=t.length,_=0;b>_&&(n=t[b-1],g=n[0],!g.test(e));b--);return n=n||[],g=n[0],i=n[1],l=e.replace(g,i)}},e["default"]=n}),t("ember-inflector/system/string",["./inflector","exports"],function(e,t){"use strict";function r(e){return i.inflector.pluralize(e)}function n(e){return i.inflector.singularize(e)}var i=e["default"];t.pluralize=r,t.singularize=n}),e.DS=r("ember-data")["default"]}(this),function(e){function t(e,t,r){switch(arguments.length){case 2:return null!=e?e:t;case 3:return null!=e?e:null!=t?t:r;default:throw new Error("Implement me")}}function r(e,t){return Tt.call(e,t)}function n(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function i(e){bt.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function a(e,t){var r=!0;return d(function(){return r&&(i(e),r=!1),t.apply(this,arguments)},t)}function o(e,t){vr[e]||(i(t),vr[e]=!0)}function s(e,t){return function(r){return m(e.call(this,r),t)}}function u(e,t){return function(r){return this.localeData().ordinal(e.call(this,r),t)}}function l(){}function c(e,t){t!==!1&&D(e),f(this,e),this._d=new Date(+e._d)}function h(e){var t=E(e),r=t.year||0,n=t.quarter||0,i=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+36e5*s,this._days=+o+7*a,this._months=+i+3*n+12*r,this._data={},this._locale=bt.localeData(),this._bubble()}function d(e,t){for(var n in t)r(t,n)&&(e[n]=t[n]);return r(t,"toString")&&(e.toString=t.toString),r(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t){var r,n,i;if("undefined"!=typeof t._isAMomentObject&&(e._isAMomentObject=t._isAMomentObject),"undefined"!=typeof t._i&&(e._i=t._i),"undefined"!=typeof t._f&&(e._f=t._f),"undefined"!=typeof t._l&&(e._l=t._l),"undefined"!=typeof t._strict&&(e._strict=t._strict),"undefined"!=typeof t._tzm&&(e._tzm=t._tzm),"undefined"!=typeof t._isUTC&&(e._isUTC=t._isUTC),"undefined"!=typeof t._offset&&(e._offset=t._offset),"undefined"!=typeof t._pf&&(e._pf=t._pf),"undefined"!=typeof t._locale&&(e._locale=t._locale),Mt.length>0)for(r in Mt)n=Mt[r],i=t[n],"undefined"!=typeof i&&(e[n]=i);return e}function p(e){return 0>e?Math.ceil(e):Math.floor(e)}function m(e,t,r){for(var n=""+Math.abs(e),i=e>=0;n.length<t;)n="0"+n;return(i?r?"+":"":"-")+n}function v(e,t){var r={milliseconds:0,months:0};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function y(e,t){var r;return t=I(t,e),e.isBefore(t)?r=v(e,t):(r=v(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r}function g(e,t){return function(r,n){var i,a;return null===n||isNaN(+n)||(o(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),a=r,r=n,n=a),r="string"==typeof r?+r:r,i=bt.duration(r,n),b(this,i,e),this}}function b(e,t,r,n){var i=t._milliseconds,a=t._days,o=t._months;n=null==n?!0:n,i&&e._d.setTime(+e._d+i*r),a&&ft(e,"Date",dt(e,"Date")+a*r),o&&ht(e,dt(e,"Month")+o*r),n&&bt.updateOffset(e,a||o)}function _(e){return"[object Array]"===Object.prototype.toString.call(e)}function w(e){return"[object Date]"===Object.prototype.toString.call(e)||e instanceof Date}function x(e,t,r){var n,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(n=0;i>n;n++)(r&&e[n]!==t[n]||!r&&A(e[n])!==A(t[n]))&&o++;return o+a}function C(e){if(e){var t=e.toLowerCase().replace(/(.)s$/,"$1");e=lr[e]||cr[t]||t}return e}function E(e){var t,n,i={};for(n in e)r(e,n)&&(t=C(n),t&&(i[t]=e[n]));return i}function T(t){var r,n;if(0===t.indexOf("week"))r=7,n="day";else{if(0!==t.indexOf("month"))return;r=12,n="month"}bt[t]=function(i,a){var o,s,u=bt._locale[t],l=[];if("number"==typeof i&&(a=i,i=e),s=function(e){var t=bt().utc().set(n,e);return u.call(bt._locale,t,i||"")},null!=a)return s(a);for(o=0;r>o;o++)l.push(s(o));return l}}function A(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=t>=0?Math.floor(t):Math.ceil(t)),r}function S(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function P(e,t,r){return st(bt([e,11,31+t-r]),t,r).week}function O(e){return k(e)?366:365}function k(e){return e%4===0&&e%100!==0||e%400===0}function D(e){var t;e._a&&-2===e._pf.overflow&&(t=e._a[St]<0||e._a[St]>11?St:e._a[Pt]<1||e._a[Pt]>S(e._a[At],e._a[St])?Pt:e._a[Ot]<0||e._a[Ot]>24||24===e._a[Ot]&&(0!==e._a[kt]||0!==e._a[Dt]||0!==e._a[Rt])?Ot:e._a[kt]<0||e._a[kt]>59?kt:e._a[Dt]<0||e._a[Dt]>59?Dt:e._a[Rt]<0||e._a[Rt]>999?Rt:-1,e._pf._overflowDayOfYear&&(At>t||t>Pt)&&(t=Pt),e._pf.overflow=t)}function R(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length&&t._pf.bigHour===e)),t._isValid}function N(e){return e?e.toLowerCase().replace("_","-"):e}function M(e){for(var t,r,n,i,a=0;a<e.length;){for(i=N(e[a]).split("-"),t=i.length,r=N(e[a+1]),r=r?r.split("-"):null;t>0;){if(n=j(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&x(i,r,!0)>=t-1)break;t--}a++}return null}function j(e){var t=null;if(!Nt[e]&&jt)try{t=bt.locale(),require("./locale/"+e),bt.locale(t)}catch(r){}return Nt[e]}function I(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(bt.isMoment(e)||w(e)?+e:+bt(e))-+r,r._d.setTime(+r._d+n),bt.updateOffset(r,!1),r):bt(e).local()}function F(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,r,n=e.match(Lt);for(t=0,r=n.length;r>t;t++)n[t]=mr[n[t]]?mr[n[t]]:F(n[t]);return function(i){var a="";for(t=0;r>t;t++)a+=n[t]instanceof Function?n[t].call(i,e):n[t];return a}}function L(e,t){return e.isValid()?(t=z(t,e.localeData()),hr[t]||(hr[t]=V(t)),hr[t](e)):e.localeData().invalidDate()}function z(e,t){function r(e){return t.longDateFormat(e)||e}var n=5;for(zt.lastIndex=0;n>=0&&zt.test(e);)e=e.replace(zt,r),zt.lastIndex=0,n-=1;return e}function H(e,t){var r,n=t._strict;switch(e){case"Q":return Xt;case"DDDD":return Zt;case"YYYY":case"GGGG":case"gggg":return n?er:$t;case"Y":case"G":case"g":return rr;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return n?tr:Bt;case"S":if(n)return Xt;case"SS":if(n)return Jt;case"SSS":if(n)return Zt;case"DDD":return qt;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Wt;case"a":case"A":return t._locale._meridiemParse;case"x":return Gt;case"X":return Qt;case"Z":case"ZZ":return Kt;case"T":return Yt;case"SSSS":return Ut;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return n?Jt:Ht;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Ht;case"Do":return n?t._locale._ordinalParse:t._locale._ordinalParseLenient;default:return r=new RegExp(Q(G(e.replace("\\","")),"i"))}}function q(e){e=e||"";var t=e.match(Kt)||[],r=t[t.length-1]||[],n=(r+"").match(sr)||["-",0,0],i=+(60*n[1])+A(n[2]);return"+"===n[0]?-i:i}function $(e,t,r){var n,i=r._a;switch(e){case"Q":null!=t&&(i[St]=3*(A(t)-1));break;case"M":case"MM":null!=t&&(i[St]=A(t)-1);break;case"MMM":case"MMMM":n=r._locale.monthsParse(t,e,r._strict),null!=n?i[St]=n:r._pf.invalidMonth=t;break;case"D":case"DD":null!=t&&(i[Pt]=A(t));break;case"Do":null!=t&&(i[Pt]=A(parseInt(t.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=t&&(r._dayOfYear=A(t));break;case"YY":i[At]=bt.parseTwoDigitYear(t);break;case"YYYY":case"YYYYY":case"YYYYYY":i[At]=A(t);break;case"a":case"A":r._isPm=r._locale.isPM(t);break;case"h":case"hh":r._pf.bigHour=!0;case"H":case"HH":i[Ot]=A(t);break;case"m":case"mm":i[kt]=A(t);break;case"s":case"ss":i[Dt]=A(t);break;case"S":case"SS":case"SSS":case"SSSS":i[Rt]=A(1e3*("0."+t));break;case"x":r._d=new Date(A(t));break;case"X":r._d=new Date(1e3*parseFloat(t));break;case"Z":case"ZZ":r._useUTC=!0,r._tzm=q(t);break;case"dd":case"ddd":case"dddd":n=r._locale.weekdaysParse(t),null!=n?(r._w=r._w||{},r._w.d=n):r._pf.invalidWeekday=t;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":e=e.substr(0,1);case"gggg":case"GGGG":case"GGGGG":e=e.substr(0,2),t&&(r._w=r._w||{},r._w[e]=A(t));break;case"gg":case"GG":r._w=r._w||{},r._w[e]=bt.parseTwoDigitYear(t)}}function B(e){var r,n,i,a,o,s,u;r=e._w,null!=r.GG||null!=r.W||null!=r.E?(o=1,s=4,n=t(r.GG,e._a[At],st(bt(),1,4).year),i=t(r.W,1),a=t(r.E,1)):(o=e._locale._week.dow,s=e._locale._week.doy,n=t(r.gg,e._a[At],st(bt(),o,s).year),i=t(r.w,1),null!=r.d?(a=r.d,o>a&&++i):a=null!=r.e?r.e+o:o),u=ut(n,i,a,s,o),e._a[At]=u.year,e._dayOfYear=u.dayOfYear}function U(e){var r,n,i,a,o=[];if(!e._d){for(i=K(e),e._w&&null==e._a[Pt]&&null==e._a[St]&&B(e),e._dayOfYear&&(a=t(e._a[At],i[At]),e._dayOfYear>O(a)&&(e._pf._overflowDayOfYear=!0),n=nt(a,0,e._dayOfYear),e._a[St]=n.getUTCMonth(),e._a[Pt]=n.getUTCDate()),r=0;3>r&&null==e._a[r];++r)e._a[r]=o[r]=i[r];for(;7>r;r++)e._a[r]=o[r]=null==e._a[r]?2===r?1:0:e._a[r];24===e._a[Ot]&&0===e._a[kt]&&0===e._a[Dt]&&0===e._a[Rt]&&(e._nextDay=!0,e._a[Ot]=0),e._d=(e._useUTC?nt:rt).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()+e._tzm),e._nextDay&&(e._a[Ot]=24)}}function W(e){var t;e._d||(t=E(e._i),e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],U(e))}function K(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Y(t){if(t._f===bt.ISO_8601)return void J(t);t._a=[],t._pf.empty=!0;var r,n,i,a,o,s=""+t._i,u=s.length,l=0;for(i=z(t._f,t._locale).match(Lt)||[],r=0;r<i.length;r++)a=i[r],n=(s.match(H(a,t))||[])[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&t._pf.unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),l+=n.length),mr[a]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(a),$(a,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(a);t._pf.charsLeftOver=u-l,s.length>0&&t._pf.unusedInput.push(s),t._pf.bigHour===!0&&t._a[Ot]<=12&&(t._pf.bigHour=e),t._isPm&&t._a[Ot]<12&&(t._a[Ot]+=12),t._isPm===!1&&12===t._a[Ot]&&(t._a[Ot]=0),U(t),D(t)}function G(e){return e.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i})}function Q(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function X(e){var t,r,i,a,o;if(0===e._f.length)return e._pf.invalidFormat=!0,void(e._d=new Date(0/0));for(a=0;a<e._f.length;a++)o=0,t=f({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._pf=n(),t._f=e._f[a],Y(t),R(t)&&(o+=t._pf.charsLeftOver,o+=10*t._pf.unusedTokens.length,t._pf.score=o,(null==i||i>o)&&(i=o,r=t));d(e,r||t)}function J(e){var t,r,n=e._i,i=nr.exec(n);if(i){for(e._pf.iso=!0,t=0,r=ar.length;r>t;t++)if(ar[t][1].exec(n)){e._f=ar[t][0]+(i[6]||" ");break}for(t=0,r=or.length;r>t;t++)if(or[t][1].exec(n)){e._f+=or[t][0];break}n.match(Kt)&&(e._f+="Z"),Y(e)}else e._isValid=!1}function Z(e){J(e),e._isValid===!1&&(delete e._isValid,bt.createFromInputFallback(e))}function et(e,t){var r,n=[];for(r=0;r<e.length;++r)n.push(t(e[r],r));return n}function tt(t){var r,n=t._i;n===e?t._d=new Date:w(n)?t._d=new Date(+n):null!==(r=It.exec(n))?t._d=new Date(+r[1]):"string"==typeof n?Z(t):_(n)?(t._a=et(n.slice(0),function(e){return parseInt(e,10)}),U(t)):"object"==typeof n?W(t):"number"==typeof n?t._d=new Date(n):bt.createFromInputFallback(t)}function rt(e,t,r,n,i,a,o){var s=new Date(e,t,r,n,i,a,o);return 1970>e&&s.setFullYear(e),s}function nt(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function it(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof e)return null}else e=parseInt(e,10);return e}function at(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}function ot(e,t,r){var n=bt.duration(e).abs(),i=Et(n.as("s")),a=Et(n.as("m")),o=Et(n.as("h")),s=Et(n.as("d")),u=Et(n.as("M")),l=Et(n.as("y")),c=i<dr.s&&["s",i]||1===a&&["m"]||a<dr.m&&["mm",a]||1===o&&["h"]||o<dr.h&&["hh",o]||1===s&&["d"]||s<dr.d&&["dd",s]||1===u&&["M"]||u<dr.M&&["MM",u]||1===l&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=r,at.apply({},c)}function st(e,t,r){var n,i=r-t,a=r-e.day();return a>i&&(a-=7),i-7>a&&(a+=7),n=bt(e).add(a,"d"),{week:Math.ceil(n.dayOfYear()/7),year:n.year()}}function ut(e,t,r,n,i){var a,o,s=nt(e,0,1).getUTCDay();return s=0===s?7:s,r=null!=r?r:i,a=i-s+(s>n?7:0)-(i>s?7:0),o=7*(t-1)+(r-i)+a+1,{year:o>0?e:e-1,dayOfYear:o>0?o:O(e-1)+o}}function lt(t){var r,n=t._i,i=t._f;return t._locale=t._locale||bt.localeData(t._l),null===n||i===e&&""===n?bt.invalid({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),bt.isMoment(n)?new c(n,!0):(i?_(i)?X(t):Y(t):tt(t),r=new c(t),r._nextDay&&(r.add(1,"d"),r._nextDay=e),r))}function ct(e,t){var r,n;if(1===t.length&&_(t[0])&&(t=t[0]),!t.length)return bt();for(r=t[0],n=1;n<t.length;++n)t[n][e](r)&&(r=t[n]);return r}function ht(e,t){var r;return"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(r=Math.min(e.date(),S(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e)}function dt(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function ft(e,t,r){return"Month"===t?ht(e,r):e._d["set"+(e._isUTC?"UTC":"")+t](r)}function pt(e,t){return function(r){return null!=r?(ft(this,e,r),bt.updateOffset(this,t),this):dt(this,e)}}function mt(e){return 400*e/146097}function vt(e){return 146097*e/400}function yt(e){bt.duration.fn[e]=function(){return this._data[e]}}function gt(e){"undefined"==typeof ender&&(_t=Ct.moment,Ct.moment=e?a("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",bt):bt)}for(var bt,_t,wt,xt="2.8.4",Ct="undefined"!=typeof global?global:this,Et=Math.round,Tt=Object.prototype.hasOwnProperty,At=0,St=1,Pt=2,Ot=3,kt=4,Dt=5,Rt=6,Nt={},Mt=[],jt="undefined"!=typeof module&&module&&module.exports,It=/^\/?Date\((\-?\d+)/i,Ft=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Vt=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Lt=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,zt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ht=/\d\d?/,qt=/\d{1,3}/,$t=/\d{1,4}/,Bt=/[+\-]?\d{1,6}/,Ut=/\d+/,Wt=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Kt=/Z|[\+\-]\d\d:?\d\d/gi,Yt=/T/i,Gt=/[\+\-]?\d+/,Qt=/[\+\-]?\d+(\.\d{1,3})?/,Xt=/\d/,Jt=/\d\d/,Zt=/\d{3}/,er=/\d{4}/,tr=/[+-]?\d{6}/,rr=/[+-]?\d+/,nr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ir="YYYY-MM-DDTHH:mm:ssZ",ar=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],or=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],sr=/([\+\-]|\d\d)/gi,ur=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),lr={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},cr={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},hr={},dr={s:45,m:45,h:22,d:26,M:11},fr="DDD w W M D d".split(" "),pr="M D H h m s w W".split(" "),mr={M:function(){return this.month()+1},MMM:function(e){return this.localeData().monthsShort(this,e)},MMMM:function(e){return this.localeData().months(this,e)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(e){return this.localeData().weekdaysMin(this,e)},ddd:function(e){return this.localeData().weekdaysShort(this,e)},dddd:function(e){return this.localeData().weekdays(this,e)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return m(this.year()%100,2)},YYYY:function(){return m(this.year(),4)},YYYYY:function(){return m(this.year(),5)},YYYYYY:function(){var e=this.year(),t=e>=0?"+":"-";return t+m(Math.abs(e),6)},gg:function(){return m(this.weekYear()%100,2)},gggg:function(){return m(this.weekYear(),4)},ggggg:function(){return m(this.weekYear(),5)},GG:function(){return m(this.isoWeekYear()%100,2)},GGGG:function(){return m(this.isoWeekYear(),4)},GGGGG:function(){return m(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return A(this.milliseconds()/100)},SS:function(){return m(A(this.milliseconds()/10),2)},SSS:function(){return m(this.milliseconds(),3)},SSSS:function(){return m(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+m(A(e/60),2)+":"+m(A(e)%60,2)},ZZ:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+m(A(e/60),2)+m(A(e)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},vr={},yr=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];fr.length;)wt=fr.pop(),mr[wt+"o"]=u(mr[wt],wt);for(;pr.length;)wt=pr.pop(),mr[wt+wt]=s(mr[wt],2);mr.DDDD=s(mr.DDD,3),d(l.prototype,{set:function(e){var t,r;for(r in e)t=e[r],"function"==typeof t?this[r]=t:this["_"+r]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(e){return this._months[e.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(e){return this._monthsShort[e.month()]},monthsParse:function(e,t,r){var n,i,a;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;12>n;n++){if(i=bt.utc([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(e){return this._weekdays[e.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(e){return this._weekdaysShort[e.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(e){return this._weekdaysMin[e.day()]},weekdaysParse:function(e){var t,r,n;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t++)if(this._weekdaysParse[t]||(r=bt([2e3,1]).day(t),n="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[t]=new RegExp(n.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t},isPM:function(e){return"p"===(e+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(e,t,r){var n=this._calendar[e];return"function"==typeof n?n.apply(t,[r]):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(e,t,r,n){var i=this._relativeTime[r];return"function"==typeof i?i(e,t,r,n):i.replace(/%d/i,e)},pastFuture:function(e,t){var r=this._relativeTime[e>0?"future":"past"];return"function"==typeof r?r(t):r.replace(/%s/i,t)},ordinal:function(e){return this._ordinal.replace("%d",e)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(e){return e},postformat:function(e){return e},week:function(e){return st(e,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),bt=function(t,r,i,a){var o;return"boolean"==typeof i&&(a=i,i=e),o={},o._isAMomentObject=!0,o._i=t,o._f=r,o._l=i,o._strict=a,o._isUTC=!1,o._pf=n(),lt(o)},bt.suppressDeprecationWarnings=!1,bt.createFromInputFallback=a("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),bt.min=function(){var e=[].slice.call(arguments,0);return ct("isBefore",e)},bt.max=function(){var e=[].slice.call(arguments,0);return ct("isAfter",e)},bt.utc=function(t,r,i,a){var o;return"boolean"==typeof i&&(a=i,i=e),o={},o._isAMomentObject=!0,o._useUTC=!0,o._isUTC=!0,o._l=i,o._i=t,o._f=r,o._strict=a,o._pf=n(),lt(o).utc()},bt.unix=function(e){return bt(1e3*e)},bt.duration=function(e,t){var n,i,a,o,s=e,u=null;return bt.isDuration(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(s={},t?s[t]=e:s.milliseconds=e):(u=Ft.exec(e))?(n="-"===u[1]?-1:1,s={y:0,d:A(u[Pt])*n,h:A(u[Ot])*n,m:A(u[kt])*n,s:A(u[Dt])*n,ms:A(u[Rt])*n}):(u=Vt.exec(e))?(n="-"===u[1]?-1:1,a=function(e){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n},s={y:a(u[2]),M:a(u[3]),d:a(u[4]),h:a(u[5]),m:a(u[6]),s:a(u[7]),w:a(u[8])}):"object"==typeof s&&("from"in s||"to"in s)&&(o=y(bt(s.from),bt(s.to)),s={},s.ms=o.milliseconds,s.M=o.months),i=new h(s),bt.isDuration(e)&&r(e,"_locale")&&(i._locale=e._locale),i},bt.version=xt,bt.defaultFormat=ir,bt.ISO_8601=function(){},bt.momentProperties=Mt,bt.updateOffset=function(){},bt.relativeTimeThreshold=function(t,r){return dr[t]===e?!1:r===e?dr[t]:(dr[t]=r,!0)},bt.lang=a("moment.lang is deprecated. Use moment.locale instead.",function(e,t){return bt.locale(e,t)}),bt.locale=function(e,t){var r;return e&&(r="undefined"!=typeof t?bt.defineLocale(e,t):bt.localeData(e),r&&(bt.duration._locale=bt._locale=r)),bt._locale._abbr},bt.defineLocale=function(e,t){return null!==t?(t.abbr=e,Nt[e]||(Nt[e]=new l),Nt[e].set(t),bt.locale(e),Nt[e]):(delete Nt[e],null)},bt.langData=a("moment.langData is deprecated. Use moment.localeData instead.",function(e){return bt.localeData(e)}),bt.localeData=function(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return bt._locale;if(!_(e)){if(t=j(e))return t;e=[e]}return M(e)},bt.isMoment=function(e){return e instanceof c||null!=e&&r(e,"_isAMomentObject")},bt.isDuration=function(e){return e instanceof h};for(wt=yr.length-1;wt>=0;--wt)T(yr[wt]);bt.normalizeUnits=function(e){return C(e)},bt.invalid=function(e){var t=bt.utc(0/0);return null!=e?d(t._pf,e):t._pf.userInvalidated=!0,t},bt.parseZone=function(){return bt.apply(null,arguments).parseZone()},bt.parseTwoDigitYear=function(e){return A(e)+(A(e)>68?1900:2e3)},d(bt.fn=c.prototype,{clone:function(){return bt(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var e=bt(this).utc();return 0<e.year()&&e.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():L(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):L(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds()]},isValid:function(){return R(this)},isDSTShifted:function(){return this._a?this.isValid()&&x(this._a,(this._isUTC?bt.utc(this._a):bt(this._a)).toArray())>0:!1},parsingFlags:function(){return d({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(e){return this.zone(0,e)},local:function(e){return this._isUTC&&(this.zone(0,e),this._isUTC=!1,e&&this.add(this._dateTzOffset(),"m")),this},format:function(e){var t=L(this,e||bt.defaultFormat);return this.localeData().postformat(t)},add:g(1,"add"),subtract:g(-1,"subtract"),diff:function(e,t,r){var n,i,a,o=I(e,this),s=6e4*(this.zone()-o.zone());return t=C(t),"year"===t||"month"===t?(n=432e5*(this.daysInMonth()+o.daysInMonth()),i=12*(this.year()-o.year())+(this.month()-o.month()),a=this-bt(this).startOf("month")-(o-bt(o).startOf("month")),a-=6e4*(this.zone()-bt(this).startOf("month").zone()-(o.zone()-bt(o).startOf("month").zone())),i+=a/n,"year"===t&&(i/=12)):(n=this-o,i="second"===t?n/1e3:"minute"===t?n/6e4:"hour"===t?n/36e5:"day"===t?(n-s)/864e5:"week"===t?(n-s)/6048e5:n),r?i:p(i)},from:function(e,t){return bt.duration({to:this,from:e}).locale(this.locale()).humanize(!t)},fromNow:function(e){return this.from(bt(),e)},calendar:function(e){var t=e||bt(),r=I(t,this).startOf("day"),n=this.diff(r,"days",!0),i=-6>n?"sameElse":-1>n?"lastWeek":0>n?"lastDay":1>n?"sameDay":2>n?"nextDay":7>n?"nextWeek":"sameElse";return this.format(this.localeData().calendar(i,this,bt(t)))},isLeapYear:function(){return k(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=it(e,this.localeData()),this.add(e-t,"d")):t},month:pt("Month",!0),startOf:function(e){switch(e=C(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e?this.weekday(0):"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=C(t),t===e||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},isAfter:function(e,t){var r;return t=C("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=bt.isMoment(e)?e:bt(e),+this>+e):(r=bt.isMoment(e)?+e:+bt(e),r<+this.clone().startOf(t))},isBefore:function(e,t){var r;return t=C("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=bt.isMoment(e)?e:bt(e),+e>+this):(r=bt.isMoment(e)?+e:+bt(e),+this.clone().endOf(t)<r)},isSame:function(e,t){var r;return t=C(t||"millisecond"),"millisecond"===t?(e=bt.isMoment(e)?e:bt(e),+this===+e):(r=+bt(e),+this.clone().startOf(t)<=r&&r<=+this.clone().endOf(t))},min:a("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(e){return e=bt.apply(null,arguments),this>e?this:e}),max:a("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(e){return e=bt.apply(null,arguments),e>this?this:e}),zone:function(e,t){var r,n=this._offset||0;return null==e?this._isUTC?n:this._dateTzOffset():("string"==typeof e&&(e=q(e)),Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=this._dateTzOffset()),this._offset=e,this._isUTC=!0,null!=r&&this.subtract(r,"m"),n!==e&&(!t||this._changeInProgress?b(this,bt.duration(n-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,bt.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(e){return e=e?bt(e).zone():0,(this.zone()-e)%60===0},daysInMonth:function(){return S(this.year(),this.month())},dayOfYear:function(e){var t=Et((bt(this).startOf("day")-bt(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},quarter:function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},weekYear:function(e){var t=st(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")},isoWeekYear:function(e){var t=st(this,1,4).year;return null==e?t:this.add(e-t,"y")},week:function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},isoWeek:function(e){var t=st(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},weekday:function(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},isoWeekday:function(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)},isoWeeksInYear:function(){return P(this.year(),1,4)},weeksInYear:function(){var e=this.localeData()._week;return P(this.year(),e.dow,e.doy)},get:function(e){return e=C(e),this[e]()},set:function(e,t){return e=C(e),"function"==typeof this[e]&&this[e](t),this
19
19
  },locale:function(t){var r;return t===e?this._locale._abbr:(r=bt.localeData(t),null!=r&&(this._locale=r),this)},lang:a("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===e?this.localeData():this.locale(t)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}}),bt.fn.millisecond=bt.fn.milliseconds=pt("Milliseconds",!1),bt.fn.second=bt.fn.seconds=pt("Seconds",!1),bt.fn.minute=bt.fn.minutes=pt("Minutes",!1),bt.fn.hour=bt.fn.hours=pt("Hours",!0),bt.fn.date=pt("Date",!0),bt.fn.dates=a("dates accessor is deprecated. Use date instead.",pt("Date",!0)),bt.fn.year=pt("FullYear",!0),bt.fn.years=a("years accessor is deprecated. Use year instead.",pt("FullYear",!0)),bt.fn.days=bt.fn.day,bt.fn.months=bt.fn.month,bt.fn.weeks=bt.fn.week,bt.fn.isoWeeks=bt.fn.isoWeek,bt.fn.quarters=bt.fn.quarter,bt.fn.toJSON=bt.fn.toISOString,d(bt.duration.fn=h.prototype,{_bubble:function(){var e,t,r,n=this._milliseconds,i=this._days,a=this._months,o=this._data,s=0;o.milliseconds=n%1e3,e=p(n/1e3),o.seconds=e%60,t=p(e/60),o.minutes=t%60,r=p(t/60),o.hours=r%24,i+=p(r/24),s=p(mt(i)),i-=p(vt(s)),a+=p(i/30),i%=30,s+=p(a/12),a%=12,o.days=i,o.months=a,o.years=s},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return p(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*A(this._months/12)},humanize:function(e){var t=ot(this,!e,this.localeData());return e&&(t=this.localeData().pastFuture(+this,t)),this.localeData().postformat(t)},add:function(e,t){var r=bt.duration(e,t);return this._milliseconds+=r._milliseconds,this._days+=r._days,this._months+=r._months,this._bubble(),this},subtract:function(e,t){var r=bt.duration(e,t);return this._milliseconds-=r._milliseconds,this._days-=r._days,this._months-=r._months,this._bubble(),this},get:function(e){return e=C(e),this[e.toLowerCase()+"s"]()},as:function(e){var t,r;if(e=C(e),"month"===e||"year"===e)return t=this._days+this._milliseconds/864e5,r=this._months+12*mt(t),"month"===e?r:r/12;switch(t=this._days+Math.round(vt(this._months/12)),e){case"week":return t/7+this._milliseconds/6048e5;case"day":return t+this._milliseconds/864e5;case"hour":return 24*t+this._milliseconds/36e5;case"minute":return 24*t*60+this._milliseconds/6e4;case"second":return 24*t*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*t*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+e)}},lang:bt.fn.lang,locale:bt.fn.locale,toIsoString:a("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var e=Math.abs(this.years()),t=Math.abs(this.months()),r=Math.abs(this.days()),n=Math.abs(this.hours()),i=Math.abs(this.minutes()),a=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(r?r+"D":"")+(n||i||a?"T":"")+(n?n+"H":"")+(i?i+"M":"")+(a?a+"S":""):"P0D"},localeData:function(){return this._locale}}),bt.duration.fn.toString=bt.duration.fn.toISOString;for(wt in ur)r(ur,wt)&&yt(wt.toLowerCase());bt.duration.fn.asMilliseconds=function(){return this.as("ms")},bt.duration.fn.asSeconds=function(){return this.as("s")},bt.duration.fn.asMinutes=function(){return this.as("m")},bt.duration.fn.asHours=function(){return this.as("h")},bt.duration.fn.asDays=function(){return this.as("d")},bt.duration.fn.asWeeks=function(){return this.as("weeks")},bt.duration.fn.asMonths=function(){return this.as("M")},bt.duration.fn.asYears=function(){return this.as("y")},bt.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=1===A(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+r}}),jt?module.exports=bt:"function"==typeof define&&define.amd?(define("moment",function(e,t,r){return r.config&&r.config()&&r.config().noGlobal===!0&&(Ct.moment=_t),bt}),gt(!0)):gt()}.call(this),function(){function e(e,t){define(e,[],function(){"use strict";return t})}e("moment",{"default":moment})}(),function(e){function t(e){var t=e.length,n=r.type(e);return"function"===n||r.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}if(!e.jQuery){var r=function(e,t){return new r.fn.init(e,t)};r.isWindow=function(e){return null!=e&&e==e.window},r.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[o.call(e)]||"object":typeof e},r.isArray=Array.isArray||function(e){return"array"===r.type(e)},r.isPlainObject=function(e){var t;if(!e||"object"!==r.type(e)||e.nodeType||r.isWindow(e))return!1;try{if(e.constructor&&!a.call(e,"constructor")&&!a.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}for(t in e);return void 0===t||a.call(e,t)},r.each=function(e,r,n){var i,a=0,o=e.length,s=t(e);if(n){if(s)for(;o>a&&(i=r.apply(e[a],n),i!==!1);a++);else for(a in e)if(i=r.apply(e[a],n),i===!1)break}else if(s)for(;o>a&&(i=r.call(e[a],a,e[a]),i!==!1);a++);else for(a in e)if(i=r.call(e[a],a,e[a]),i===!1)break;return e},r.data=function(e,t,i){if(void 0===i){var a=e[r.expando],o=a&&n[a];if(void 0===t)return o;if(o&&t in o)return o[t]}else if(void 0!==t){var a=e[r.expando]||(e[r.expando]=++r.uuid);return n[a]=n[a]||{},n[a][t]=i,i}},r.removeData=function(e,t){var i=e[r.expando],a=i&&n[i];a&&r.each(t,function(e,t){delete a[t]})},r.extend=function(){var e,t,n,i,a,o,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"!=typeof s&&"function"!==r.type(s)&&(s={}),u===l&&(s=this,u--);l>u;u++)if(null!=(a=arguments[u]))for(i in a)e=s[i],n=a[i],s!==n&&(c&&n&&(r.isPlainObject(n)||(t=r.isArray(n)))?(t?(t=!1,o=e&&r.isArray(e)?e:[]):o=e&&r.isPlainObject(e)?e:{},s[i]=r.extend(c,o,n)):void 0!==n&&(s[i]=n));return s},r.queue=function(e,n,i){function a(e,r){var n=r||[];return null!=e&&(t(Object(e))?!function(e,t){for(var r=+t.length,n=0,i=e.length;r>n;)e[i++]=t[n++];if(r!==r)for(;void 0!==t[n];)e[i++]=t[n++];return e.length=i,e}(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n}if(e){n=(n||"fx")+"queue";var o=r.data(e,n);return i?(!o||r.isArray(i)?o=r.data(e,n,a(i)):o.push(i),o):o||[]}},r.dequeue=function(e,t){r.each(e.nodeType?[e]:e,function(e,n){t=t||"fx";var i=r.queue(n,t),a=i.shift();"inprogress"===a&&(a=i.shift()),a&&("fx"===t&&i.unshift("inprogress"),a.call(n,function(){r.dequeue(n,t)}))})},r.fn=r.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),n=this.offset(),i=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:r(e).offset();return n.top-=parseFloat(t.style.marginTop)||0,n.left-=parseFloat(t.style.marginLeft)||0,e.style&&(i.top+=parseFloat(e.style.borderTopWidth)||0,i.left+=parseFloat(e.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};var n={};r.expando="velocity"+(new Date).getTime(),r.uuid=0;for(var i={},a=i.hasOwnProperty,o=i.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<s.length;u++)i["[object "+s[u]+"]"]=s[u].toLowerCase();r.fn.init.prototype=r.fn,e.Velocity={Utilities:r}}}(window),function(e){"object"==typeof module&&"object"==typeof module.exports?module.exports=e():"function"==typeof define&&define.amd?define(e):e()}(function(){return function(e,t,r,n){function i(e){for(var t=-1,r=e?e.length:0,n=[];++t<r;){var i=e[t];i&&n.push(i)}return n}function a(e){return m.isWrapped(e)?e=[].slice.call(e):m.isNode(e)&&(e=[e]),e}function o(e){var t=d.data(e,"velocity");return null===t?n:t}function s(e){return function(t){return Math.round(t*e)*(1/e)}}function u(e,r,n,i){function a(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function s(e){return 3*e}function u(e,t,r){return((a(t,r)*e+o(t,r))*e+s(t))*e}function l(e,t,r){return 3*a(t,r)*e*e+2*o(t,r)*e+s(t)}function c(t,r){for(var i=0;m>i;++i){var a=l(r,e,n);if(0===a)return r;var o=u(r,e,n)-t;r-=o/a}return r}function h(){for(var t=0;b>t;++t)C[t]=u(t*_,e,n)}function d(t,r,i){var a,o,s=0;do o=r+(i-r)/2,a=u(o,e,n)-t,a>0?i=o:r=o;while(Math.abs(a)>y&&++s<g);return o}function f(t){for(var r=0,i=1,a=b-1;i!=a&&C[i]<=t;++i)r+=_;--i;var o=(t-C[i])/(C[i+1]-C[i]),s=r+o*_,u=l(s,e,n);return u>=v?c(t,s):0==u?s:d(t,r,r+_)}function p(){E=!0,(e!=r||n!=i)&&h()}var m=4,v=.001,y=1e-7,g=10,b=11,_=1/(b-1),w="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;4>x;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var C=w?new Float32Array(b):new Array(b),E=!1,T=function(t){return E||p(),e===r&&n===i?t:0===t?0:1===t?1:u(f(t),r,i)};T.getControlPoints=function(){return[{x:e,y:r},{x:n,y:i}]};var A="generateBezier("+[e,r,n,i]+")";return T.toString=function(){return A},T}function l(e,t){var r=e;return m.isString(e)?b.Easings[e]||(r=!1):r=m.isArray(e)&&1===e.length?s.apply(null,e):m.isArray(e)&&2===e.length?_.apply(null,e.concat([t])):m.isArray(e)&&4===e.length?u.apply(null,e):!1,r===!1&&(r=b.Easings[b.defaults.easing]?b.defaults.easing:g),r}function c(e){if(e){var t=(new Date).getTime(),r=b.State.calls.length;r>1e4&&(b.State.calls=i(b.State.calls));for(var a=0;r>a;a++)if(b.State.calls[a]){var s=b.State.calls[a],u=s[0],l=s[2],f=s[3],p=!!f,v=null;f||(f=b.State.calls[a][3]=t-16);for(var y=Math.min((t-f)/l.duration,1),g=0,_=u.length;_>g;g++){var x=u[g],E=x.element;if(o(E)){var T=!1;if(l.display!==n&&null!==l.display&&"none"!==l.display){if("flex"===l.display){var A=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];d.each(A,function(e,t){w.setPropertyValue(E,"display",t)})}w.setPropertyValue(E,"display",l.display)}l.visibility!==n&&"hidden"!==l.visibility&&w.setPropertyValue(E,"visibility",l.visibility);for(var S in x)if("element"!==S){var P,O=x[S],k=m.isString(O.easing)?b.Easings[O.easing]:O.easing;if(1===y)P=O.endValue;else{var D=O.endValue-O.startValue;if(P=O.startValue+D*k(y,l,D),!p&&P===O.currentValue)continue}if(O.currentValue=P,"tween"===S)v=P;else{if(w.Hooks.registered[S]){var R=w.Hooks.getRoot(S),N=o(E).rootPropertyValueCache[R];N&&(O.rootPropertyValue=N)}var M=w.setPropertyValue(E,S,O.currentValue+(0===parseFloat(P)?"":O.unitType),O.rootPropertyValue,O.scrollData);w.Hooks.registered[S]&&(o(E).rootPropertyValueCache[R]=w.Normalizations.registered[R]?w.Normalizations.registered[R]("extract",null,M[1]):M[1]),"transform"===M[0]&&(T=!0)}}l.mobileHA&&o(E).transformCache.translate3d===n&&(o(E).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&w.flushTransformCache(E)}}l.display!==n&&"none"!==l.display&&(b.State.calls[a][2].display=!1),l.visibility!==n&&"hidden"!==l.visibility&&(b.State.calls[a][2].visibility=!1),l.progress&&l.progress.call(s[1],s[1],y,Math.max(0,f+l.duration-t),f,v),1===y&&h(a)}}b.State.isTicking&&C(c)}function h(e,t){if(!b.State.calls[e])return!1;for(var r=b.State.calls[e][0],i=b.State.calls[e][1],a=b.State.calls[e][2],s=b.State.calls[e][4],u=!1,l=0,c=r.length;c>l;l++){var h=r[l].element;if(t||a.loop||("none"===a.display&&w.setPropertyValue(h,"display",a.display),"hidden"===a.visibility&&w.setPropertyValue(h,"visibility",a.visibility)),a.loop!==!0&&(d.queue(h)[1]===n||!/\.velocityQueueEntryFlag/i.test(d.queue(h)[1]))&&o(h)){o(h).isAnimating=!1,o(h).rootPropertyValueCache={};var f=!1;d.each(w.Lists.transforms3D,function(e,t){var r=/^scale/.test(t)?1:0,i=o(h).transformCache[t];o(h).transformCache[t]!==n&&new RegExp("^\\("+r+"[^.]").test(i)&&(f=!0,delete o(h).transformCache[t])}),a.mobileHA&&(f=!0,delete o(h).transformCache.translate3d),f&&w.flushTransformCache(h),w.Values.removeClass(h,"velocity-animating")}if(!t&&a.complete&&!a.loop&&l===c-1)try{a.complete.call(i,i)}catch(p){setTimeout(function(){throw p},1)}s&&a.loop!==!0&&s(i),a.loop!==!0||t||(d.each(o(h).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),b(h,"reverse",{loop:!0,delay:a.delay})),a.queue!==!1&&d.dequeue(h,a.queue)}b.State.calls[e]=!1;for(var m=0,v=b.State.calls.length;v>m;m++)if(b.State.calls[m]!==!1){u=!0;break}u===!1&&(b.State.isTicking=!1,delete b.State.calls,b.State.calls=[])}var d,f=function(){if(r.documentMode)return r.documentMode;for(var e=7;e>4;e--){var t=r.createElement("div");if(t.innerHTML="<!--[if IE "+e+"]><span></span><![endif]-->",t.getElementsByTagName("span").length)return t=null,e}return n}(),p=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var r,n=(new Date).getTime();return r=Math.max(0,16-(n-e)),e=n+r,setTimeout(function(){t(n+r)},r)}}(),m={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==n&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},v=!1;if(e.fn&&e.fn.jquery?(d=e,v=!0):d=t.Velocity.Utilities,8>=f&&!v)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=f)return void(jQuery.fn.velocity=jQuery.fn.animate);var y=400,g="swing",b={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:r.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:d,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:y,easing:g,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){d.data(e,"velocity",{isSVG:m.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:1},debug:!1};t.pageYOffset!==n?(b.State.scrollAnchor=t,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=r.documentElement||r.body.parentNode||r.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var _=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,r,n){var i={x:t.x+n.dx*r,v:t.v+n.dv*r,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function r(r,n){var i={dx:r.v,dv:e(r)},a=t(r,.5*n,i),o=t(r,.5*n,a),s=t(r,n,o),u=1/6*(i.dx+2*(a.dx+o.dx)+s.dx),l=1/6*(i.dv+2*(a.dv+o.dv)+s.dv);return r.x=r.x+u*n,r.v=r.v+l*n,r}return function n(e,t,i){var a,o,s,u={x:-1,v:0,tension:null,friction:null},l=[0],c=0,h=1e-4,d=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,i=i||null,u.tension=e,u.friction=t,a=null!==i,a?(c=n(e,t),o=c/i*d):o=d;;)if(s=r(s||u,o),l.push(1+s.x),c+=16,!(Math.abs(s.x)>h&&Math.abs(s.v)>h))break;return a?function(e){return l[e*(l.length-1)|0]}:c}}();b.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},d.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){b.Easings[t[0]]=u.apply(null,t[1])});var w=b.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e<w.Lists.colors.length;e++){var t="color"===w.Lists.colors[e]?"0 0 0 1":"255 255 255 1";w.Hooks.templates[w.Lists.colors[e]]=["Red Green Blue Alpha",t]}var r,n,i;if(f)for(r in w.Hooks.templates){n=w.Hooks.templates[r],i=n[0].split(" ");var a=n[1].match(w.RegEx.valueSplit);"Color"===i[0]&&(i.push(i.shift()),a.push(a.shift()),w.Hooks.templates[r]=[i.join(" "),a.join(" ")])}for(r in w.Hooks.templates){n=w.Hooks.templates[r],i=n[0].split(" ");for(var e in i){var o=r+i[e],s=e;w.Hooks.registered[o]=[r,s]}}},getRoot:function(e){var t=w.Hooks.registered[e];return t?t[0]:e},cleanRootPropertyValue:function(e,t){return w.RegEx.valueUnwrap.test(t)&&(t=t.match(w.RegEx.valueUnwrap)[1]),w.Values.isCSSNullValue(t)&&(t=w.Hooks.templates[e][1]),t},extractValue:function(e,t){var r=w.Hooks.registered[e];if(r){var n=r[0],i=r[1];return t=w.Hooks.cleanRootPropertyValue(n,t),t.toString().match(w.RegEx.valueSplit)[i]}return t},injectValue:function(e,t,r){var n=w.Hooks.registered[e];if(n){var i,a,o=n[0],s=n[1];return r=w.Hooks.cleanRootPropertyValue(o,r),i=r.toString().match(w.RegEx.valueSplit),i[s]=t,a=i.join(" ")}return r}},Normalizations:{registered:{clip:function(e,t,r){switch(e){case"name":return"clip";case"extract":var n;return w.RegEx.wrappedValueAlreadyExtracted.test(r)?n=r:(n=r.toString().match(w.RegEx.valueUnwrap),n=n?n[1].replace(/,(\s+)?/g," "):r),n;case"inject":return"rect("+r+")"}},blur:function(e,t,r){switch(e){case"name":return b.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(r);if(!n&&0!==n){var i=r.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=i?i[1]:0}return n;case"inject":return parseFloat(r)?"blur("+r+")":"none"}},opacity:function(e,t,r){if(8>=f)switch(e){case"name":return"filter";case"extract":var n=r.toString().match(/alpha\(opacity=(.*)\)/i);return r=n?n[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(r)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(r),10)+")"}else switch(e){case"name":return"opacity";case"extract":return r;case"inject":return r}}},register:function(){9>=f||b.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase.concat(w.Lists.transforms3D));for(var e=0;e<w.Lists.transformsBase.length;e++)!function(){var t=w.Lists.transformsBase[e];w.Normalizations.registered[t]=function(e,r,i){switch(e){case"name":return"transform";case"extract":return o(r)===n||o(r).transformCache[t]===n?/^scale/i.test(t)?1:0:o(r).transformCache[t].replace(/[()]/g,"");case"inject":var a=!1;switch(t.substr(0,t.length-1)){case"translate":a=!/(%|px|em|rem|vw|vh|\d)$/i.test(i);break;case"scal":case"scale":b.State.isAndroid&&o(r).transformCache[t]===n&&1>i&&(i=1),a=!/(\d)$/i.test(i);break;case"skew":a=!/(deg|\d)$/i.test(i);break;case"rotate":a=!/(deg|\d)$/i.test(i)}return a||(o(r).transformCache[t]="("+i+")"),o(r).transformCache[t]}}}();for(var e=0;e<w.Lists.colors.length;e++)!function(){var t=w.Lists.colors[e];w.Normalizations.registered[t]=function(e,r,i){switch(e){case"name":return t;case"extract":var a;if(w.RegEx.wrappedValueAlreadyExtracted.test(i))a=i;else{var o,s={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(i)?o=s[i]!==n?s[i]:s.black:w.RegEx.isHex.test(i)?o="rgb("+w.Values.hexToRgb(i).join(" ")+")":/^rgba?\(/i.test(i)||(o=s.black),a=(o||i).toString().match(w.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=f||3!==a.split(" ").length||(a+=" 1"),a;case"inject":return 8>=f?4===i.split(" ").length&&(i=i.split(/\s+/).slice(0,3).join(" ")):3===i.split(" ").length&&(i+=" 1"),(8>=f?"rgb":"rgba")+"("+i.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(f||b.State.isAndroid&&!b.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(b.State.prefixMatches[e])return[b.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],r=0,n=t.length;n>r;r++){var i;if(i=0===r?e:t[r]+e.replace(/^\w/,function(e){return e.toUpperCase()}),m.isString(b.State.prefixElement.style[i]))return b.State.prefixMatches[e]=i,[i,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,r=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(r,function(e,t,r,n){return t+t+r+r+n+n}),t=n.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,r,i,a){function s(e,r){function i(){l&&w.setPropertyValue(e,"display","none")}var u=0;if(8>=f)u=d.css(e,r);else{var l=!1;if(/^(width|height)$/.test(r)&&0===w.getPropertyValue(e,"display")&&(l=!0,w.setPropertyValue(e,"display",w.Values.getDisplayType(e))),!a){if("height"===r&&"border-box"!==w.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var c=e.offsetHeight-(parseFloat(w.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(w.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(w.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(w.getPropertyValue(e,"paddingBottom"))||0);return i(),c}if("width"===r&&"border-box"!==w.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var h=e.offsetWidth-(parseFloat(w.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(w.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(w.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(w.getPropertyValue(e,"paddingRight"))||0);return i(),h}}var p;p=o(e)===n?t.getComputedStyle(e,null):o(e).computedStyle?o(e).computedStyle:o(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===r&&(r="borderTopColor"),u=9===f&&"filter"===r?p.getPropertyValue(r):p[r],(""===u||null===u)&&(u=e.style[r]),i()}if("auto"===u&&/^(top|right|bottom|left)$/i.test(r)){var m=s(e,"position");("fixed"===m||"absolute"===m&&/top|left/i.test(r))&&(u=d(e).position()[r]+"px")}return u}var u;if(w.Hooks.registered[r]){var l=r,c=w.Hooks.getRoot(l);i===n&&(i=w.getPropertyValue(e,w.Names.prefixCheck(c)[0])),w.Normalizations.registered[c]&&(i=w.Normalizations.registered[c]("extract",e,i)),u=w.Hooks.extractValue(l,i)}else if(w.Normalizations.registered[r]){var h,p;h=w.Normalizations.registered[r]("name",e),"transform"!==h&&(p=s(e,w.Names.prefixCheck(h)[0]),w.Values.isCSSNullValue(p)&&w.Hooks.templates[r]&&(p=w.Hooks.templates[r][1])),u=w.Normalizations.registered[r]("extract",e,p)}if(!/^[\d-]/.test(u))if(o(e)&&o(e).isSVG&&w.Names.SVGAttribute(r))if(/^(height|width)$/i.test(r))try{u=e.getBBox()[r]}catch(m){u=0}else u=e.getAttribute(r);else u=s(e,w.Names.prefixCheck(r)[0]);return w.Values.isCSSNullValue(u)&&(u=0),b.debug>=2&&console.log("Get "+r+": "+u),u},setPropertyValue:function(e,r,n,i,a){var s=r;if("scroll"===r)a.container?a.container["scroll"+a.direction]=n:"Left"===a.direction?t.scrollTo(n,a.alternateValue):t.scrollTo(a.alternateValue,n);else if(w.Normalizations.registered[r]&&"transform"===w.Normalizations.registered[r]("name",e))w.Normalizations.registered[r]("inject",e,n),s="transform",n=o(e).transformCache[r];else{if(w.Hooks.registered[r]){var u=r,l=w.Hooks.getRoot(r);i=i||w.getPropertyValue(e,l),n=w.Hooks.injectValue(u,n,i),r=l}if(w.Normalizations.registered[r]&&(n=w.Normalizations.registered[r]("inject",e,n),r=w.Normalizations.registered[r]("name",e)),s=w.Names.prefixCheck(r)[0],8>=f)try{e.style[s]=n}catch(c){b.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else o(e)&&o(e).isSVG&&w.Names.SVGAttribute(r)?e.setAttribute(r,n):e.style[s]=n;b.debug>=2&&console.log("Set "+r+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){function t(t){return parseFloat(w.getPropertyValue(e,t))}var r="";if((f||b.State.isAndroid&&!b.State.isChrome)&&o(e).isSVG){var n={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};d.each(o(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),n[e]&&(r+=e+"("+n[e].join(" ")+") ",delete n[e])})}else{var i,a;d.each(o(e).transformCache,function(t){return i=o(e).transformCache[t],"transformPerspective"===t?(a=i,!0):(9===f&&"rotateZ"===t&&(t="rotate"),void(r+=t+i+" "))}),a&&(r="perspective"+a+" "+r)}w.setPropertyValue(e,"transform",r)}};w.Hooks.register(),w.Normalizations.register(),b.hook=function(e,t,r){var i=n;return e=a(e),d.each(e,function(e,a){if(o(a)===n&&b.init(a),r===n)i===n&&(i=b.CSS.getPropertyValue(a,t));else{var s=b.CSS.setPropertyValue(a,t,r);"transform"===s[0]&&b.CSS.flushTransformCache(a),i=s}}),i};var x=function(){function e(){return s?S.promise||null:u}function i(){function e(){function e(e,t){var r=n,i=n,o=n;return m.isArray(e)?(r=e[0],!m.isArray(e[1])&&/^[\d-]/.test(e[1])||m.isFunction(e[1])||w.RegEx.isHex.test(e[1])?o=e[1]:(m.isString(e[1])&&!w.RegEx.isHex.test(e[1])||m.isArray(e[1]))&&(i=t?e[1]:l(e[1],s.duration),e[2]!==n&&(o=e[2]))):r=e,t||(i=i||s.easing),m.isFunction(r)&&(r=r.call(a,E,C)),m.isFunction(o)&&(o=o.call(a,E,C)),[r||0,i,o]}function h(e,t){var r,n;return n=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return r=e,""}),r||(r=w.Values.getUnitType(e)),[n,r]}function f(){var e={myParent:a.parentNode||r.body,position:w.getPropertyValue(a,"position"),fontSize:w.getPropertyValue(a,"fontSize")},n=e.position===M.lastPosition&&e.myParent===M.lastParent,i=e.fontSize===M.lastFontSize;M.lastParent=e.myParent,M.lastPosition=e.position,M.lastFontSize=e.fontSize;var s=100,u={};if(i&&n)u.emToPx=M.lastEmToPx,u.percentToPxWidth=M.lastPercentToPxWidth,u.percentToPxHeight=M.lastPercentToPxHeight;else{var l=o(a).isSVG?r.createElementNS("http://www.w3.org/2000/svg","rect"):r.createElement("div");b.init(l),e.myParent.appendChild(l),d.each(["overflow","overflowX","overflowY"],function(e,t){b.CSS.setPropertyValue(l,t,"hidden")}),b.CSS.setPropertyValue(l,"position",e.position),b.CSS.setPropertyValue(l,"fontSize",e.fontSize),b.CSS.setPropertyValue(l,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){b.CSS.setPropertyValue(l,t,s+"%")}),b.CSS.setPropertyValue(l,"paddingLeft",s+"em"),u.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(w.getPropertyValue(l,"width",null,!0))||1)/s,u.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(w.getPropertyValue(l,"height",null,!0))||1)/s,u.emToPx=M.lastEmToPx=(parseFloat(w.getPropertyValue(l,"paddingLeft"))||1)/s,e.myParent.removeChild(l)}return null===M.remToPx&&(M.remToPx=parseFloat(w.getPropertyValue(r.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(t.innerWidth)/100,M.vhToPx=parseFloat(t.innerHeight)/100),u.remToPx=M.remToPx,u.vwToPx=M.vwToPx,u.vhToPx=M.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(u),a),u}if(s.begin&&0===E)try{s.begin.call(p,p)}catch(y){setTimeout(function(){throw y},1)}if("scroll"===P){var _,x,T,A=/^x$/i.test(s.axis)?"Left":"Top",O=parseFloat(s.offset)||0;s.container?m.isWrapped(s.container)||m.isNode(s.container)?(s.container=s.container[0]||s.container,_=s.container["scroll"+A],T=_+d(a).position()[A.toLowerCase()]+O):s.container=null:(_=b.State.scrollAnchor[b.State["scrollProperty"+A]],x=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===A?"Top":"Left")]],T=d(a).offset()[A.toLowerCase()]+O),u={scroll:{rootPropertyValue:!1,startValue:_,currentValue:_,endValue:T,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:A,alternateValue:x}},element:a},b.debug&&console.log("tweensContainer (scroll): ",u.scroll,a)}else if("reverse"===P){if(!o(a).tweensContainer)return void d.dequeue(a,s.queue);"none"===o(a).opts.display&&(o(a).opts.display="auto"),"hidden"===o(a).opts.visibility&&(o(a).opts.visibility="visible"),o(a).opts.loop=!1,o(a).opts.begin=null,o(a).opts.complete=null,g.easing||delete s.easing,g.duration||delete s.duration,s=d.extend({},o(a).opts,s);var k=d.extend(!0,{},o(a).tweensContainer);for(var D in k)if("element"!==D){var R=k[D].startValue;k[D].startValue=k[D].currentValue=k[D].endValue,k[D].endValue=R,m.isEmptyObject(g)||(k[D].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+D+"): "+JSON.stringify(k[D]),a)}u=k}else if("start"===P){var k;o(a).tweensContainer&&o(a).isAnimating===!0&&(k=o(a).tweensContainer),d.each(v,function(t,r){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(t)){var i=e(r,!0),a=i[0],o=i[1],s=i[2];if(w.RegEx.isHex.test(a)){for(var u=["Red","Green","Blue"],l=w.Values.hexToRgb(a),c=s?w.Values.hexToRgb(s):n,h=0;h<u.length;h++){var d=[l[h]];o&&d.push(o),c!==n&&d.push(c[h]),v[t+u[h]]=d}delete v[t]}}});for(var N in v){var I=e(v[N]),F=I[0],V=I[1],L=I[2];N=w.Names.camelCase(N);var z=w.Hooks.getRoot(N),H=!1;if(o(a).isSVG||"tween"===z||w.Names.prefixCheck(z)[1]!==!1||w.Normalizations.registered[z]!==n){(s.display!==n&&null!==s.display&&"none"!==s.display||s.visibility!==n&&"hidden"!==s.visibility)&&/opacity|filter/.test(N)&&!L&&0!==F&&(L=0),s._cacheValues&&k&&k[N]?(L===n&&(L=k[N].endValue+k[N].unitType),H=o(a).rootPropertyValueCache[z]):w.Hooks.registered[N]?L===n?(H=w.getPropertyValue(a,z),L=w.getPropertyValue(a,N,H)):H=w.Hooks.templates[z][1]:L===n&&(L=w.getPropertyValue(a,N));
20
20
  var q,$,B,U=!1;if(q=h(N,L),L=q[0],B=q[1],q=h(N,F),F=q[0].replace(/^([+-\/*])=/,function(e,t){return U=t,""}),$=q[1],L=parseFloat(L)||0,F=parseFloat(F)||0,"%"===$&&(/^(fontSize|lineHeight)$/.test(N)?(F/=100,$="em"):/^scale/.test(N)?(F/=100,$=""):/(Red|Green|Blue)$/i.test(N)&&(F=F/100*255,$="")),/[\/*]/.test(U))$=B;else if(B!==$&&0!==L)if(0===F)$=B;else{i=i||f();var W=/margin|padding|left|right|width|text|word|letter/i.test(N)||/X$/.test(N)||"x"===N?"x":"y";switch(B){case"%":L*="x"===W?i.percentToPxWidth:i.percentToPxHeight;break;case"px":break;default:L*=i[B+"ToPx"]}switch($){case"%":L*=1/("x"===W?i.percentToPxWidth:i.percentToPxHeight);break;case"px":break;default:L*=1/i[$+"ToPx"]}}switch(U){case"+":F=L+F;break;case"-":F=L-F;break;case"*":F=L*F;break;case"/":F=L/F}u[N]={rootPropertyValue:H,startValue:L,currentValue:L,endValue:F,unitType:$,easing:V},b.debug&&console.log("tweensContainer ("+N+"): "+JSON.stringify(u[N]),a)}else b.debug&&console.log("Skipping ["+z+"] due to a lack of browser support.")}u.element=a}u.element&&(w.Values.addClass(a,"velocity-animating"),j.push(u),""===s.queue&&(o(a).tweensContainer=u,o(a).opts=s),o(a).isAnimating=!0,E===C-1?(b.State.calls.push([j,p,s,null,S.resolver]),b.State.isTicking===!1&&(b.State.isTicking=!0,c())):E++)}var i,a=this,s=d.extend({},b.defaults,g),u={};switch(o(a)===n&&b.init(a),parseFloat(s.delay)&&s.queue!==!1&&d.queue(a,s.queue,function(e){b.velocityQueueEntryFlag=!0,o(a).delayTimer={setTimeout:setTimeout(e,parseFloat(s.delay)),next:e}}),s.duration.toString().toLowerCase()){case"fast":s.duration=200;break;case"normal":s.duration=y;break;case"slow":s.duration=600;break;default:s.duration=parseFloat(s.duration)||1}b.mock!==!1&&(b.mock===!0?s.duration=s.delay=1:(s.duration*=parseFloat(b.mock)||1,s.delay*=parseFloat(b.mock)||1)),s.easing=l(s.easing,s.duration),s.begin&&!m.isFunction(s.begin)&&(s.begin=null),s.progress&&!m.isFunction(s.progress)&&(s.progress=null),s.complete&&!m.isFunction(s.complete)&&(s.complete=null),s.display!==n&&null!==s.display&&(s.display=s.display.toString().toLowerCase(),"auto"===s.display&&(s.display=b.CSS.Values.getDisplayType(a))),s.visibility!==n&&null!==s.visibility&&(s.visibility=s.visibility.toString().toLowerCase()),s.mobileHA=s.mobileHA&&b.State.isMobile&&!b.State.isGingerbread,s.queue===!1?s.delay?setTimeout(e,s.delay):e():d.queue(a,s.queue,function(t,r){return r===!0?(S.promise&&S.resolver(p),!0):(b.velocityQueueEntryFlag=!0,void e(t))}),""!==s.queue&&"fx"!==s.queue||"inprogress"===d.queue(a)[0]||d.dequeue(a)}var s,u,f,p,v,g,_=arguments[0]&&(arguments[0].p||d.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||m.isString(arguments[0].properties));if(m.isWrapped(this)?(s=!1,f=0,p=this,u=this):(s=!0,f=1,p=_?arguments[0].elements||arguments[0].e:arguments[0]),p=a(p)){_?(v=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(v=arguments[f],g=arguments[f+1]);var C=p.length,E=0;if(!/^(stop|finish)$/i.test(v)&&!d.isPlainObject(g)){var T=f+1;g={};for(var A=T;A<arguments.length;A++)m.isArray(arguments[A])||!/^(fast|normal|slow)$/i.test(arguments[A])&&!/^\d/.test(arguments[A])?m.isString(arguments[A])||m.isArray(arguments[A])?g.easing=arguments[A]:m.isFunction(arguments[A])&&(g.complete=arguments[A]):g.duration=arguments[A]}var S={promise:null,resolver:null,rejecter:null};s&&b.Promise&&(S.promise=new b.Promise(function(e,t){S.resolver=e,S.rejecter=t}));var P;switch(v){case"scroll":P="scroll";break;case"reverse":P="reverse";break;case"finish":case"stop":d.each(p,function(e,t){o(t)&&o(t).delayTimer&&(clearTimeout(o(t).delayTimer.setTimeout),o(t).delayTimer.next&&o(t).delayTimer.next(),delete o(t).delayTimer)});var O=[];return d.each(b.State.calls,function(e,t){t&&d.each(t[1],function(r,i){var a=g===n?"":g;return a===!0||t[2].queue===a||g===n&&t[2].queue===!1?void d.each(p,function(r,n){n===i&&((g===!0||m.isString(g))&&(d.each(d.queue(n,m.isString(g)?g:""),function(e,t){m.isFunction(t)&&t(null,!0)}),d.queue(n,m.isString(g)?g:"",[])),"stop"===v?(o(n)&&o(n).tweensContainer&&a!==!1&&d.each(o(n).tweensContainer,function(e,t){t.endValue=t.currentValue}),O.push(e)):"finish"===v&&(t[2].duration=1))}):!0})}),"stop"===v&&(d.each(O,function(e,t){h(t,!0)}),S.promise&&S.resolver(p)),e();default:if(!d.isPlainObject(v)||m.isEmptyObject(v)){if(m.isString(v)&&b.Redirects[v]){var k=d.extend({},g),D=k.duration,R=k.delay||0;return k.backwards===!0&&(p=d.extend(!0,[],p).reverse()),d.each(p,function(e,t){parseFloat(k.stagger)?k.delay=R+parseFloat(k.stagger)*e:m.isFunction(k.stagger)&&(k.delay=R+k.stagger.call(t,e,C)),k.drag&&(k.duration=parseFloat(D)||(/^(callout|transition)/.test(v)?1e3:y),k.duration=Math.max(k.duration*(k.backwards?1-e/C:(e+1)/C),.75*k.duration,200)),b.Redirects[v].call(t,t,k||{},e,C,p,S.promise?S:n)}),e()}var N="Velocity: First argument ("+v+") was not a property map, a known action, or a registered redirect. Aborting.";return S.promise?S.rejecter(new Error(N)):console.log(N),e()}P="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},j=[];d.each(p,function(e,t){m.isNode(t)&&i.call(t)});var I,k=d.extend({},b.defaults,g);if(k.loop=parseInt(k.loop),I=2*k.loop-1,k.loop)for(var F=0;I>F;F++){var V={delay:k.delay,progress:k.progress};F===I-1&&(V.display=k.display,V.visibility=k.visibility,V.complete=k.complete),x(p,"reverse",V)}return e()}};b=d.extend(x,b),b.animate=x;var C=t.requestAnimationFrame||p;return b.State.isMobile||r.hidden===n||r.addEventListener("visibilitychange",function(){r.hidden?(C=function(e){return setTimeout(function(){e(!0)},16)},c()):C=t.requestAnimationFrame||p}),e.Velocity=b,e!==t&&(e.fn.velocity=x,e.fn.velocity.defaults=b.defaults),d.each(["Down","Up"],function(e,t){b.Redirects["slide"+t]=function(e,r,i,a,o,s){var u=d.extend({},r),l=u.begin,c=u.complete,h={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},f={};u.display===n&&(u.display="Down"===t?"inline"===b.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),u.begin=function(){l&&l.call(o,o);for(var r in h){f[r]=e.style[r];var n=b.CSS.getPropertyValue(e,r);h[r]="Down"===t?[n,0]:[0,n]}f.overflow=e.style.overflow,e.style.overflow="hidden"},u.complete=function(){for(var t in f)e.style[t]=f[t];c&&c.call(o,o),s&&s.resolver(o)},b(e,h,u)}}),d.each(["In","Out"],function(e,t){b.Redirects["fade"+t]=function(e,r,i,a,o,s){var u=d.extend({},r),l={opacity:"In"===t?1:0},c=u.complete;u.complete=i!==a-1?u.begin=null:function(){c&&c.call(o,o),s&&s.resolver(o)},u.display===n&&(u.display="In"===t?"auto":"none"),b(this,l,u)}}),b}(window.jQuery||window.Zepto||window,window,document)}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(e){var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(e){"use strict";function t(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var r in t)if(void 0!==e.style[r])return{end:t[r]};return!1}e.fn.emulateTransitionEnd=function(t){var r=!1,n=this;e(this).one("bsTransitionEnd",function(){r=!0});var i=function(){r||e(n).trigger(e.support.transition.end)};return setTimeout(i,t),this},e(function(){e.support.transition=t(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){return e(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var r=e(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof t&&i[t].call(r)})}var r='[data-dismiss="alert"]',n=function(t){e(t).on("click",r,this.close)};n.VERSION="3.3.1",n.TRANSITION_DURATION=150,n.prototype.close=function(t){function r(){o.detach().trigger("closed.bs.alert").remove()}var i=e(this),a=i.attr("data-target");a||(a=i.attr("href"),a=a&&a.replace(/.*(?=#[^\s]*$)/,""));var o=e(a);t&&t.preventDefault(),o.length||(o=i.closest(".alert")),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",r).emulateTransitionEnd(n.TRANSITION_DURATION):r())};var i=e.fn.alert;e.fn.alert=t,e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",r,n.prototype.close)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.button"),a="object"==typeof t&&t;i||n.data("bs.button",i=new r(this,a)),"toggle"==t?i.toggle():t&&i.setState(t)})}var r=function(t,n){this.$element=e(t),this.options=e.extend({},r.DEFAULTS,n),this.isLoading=!1};r.VERSION="3.3.1",r.DEFAULTS={loadingText:"loading..."},r.prototype.setState=function(t){var r="disabled",n=this.$element,i=n.is("input")?"val":"html",a=n.data();t+="Text",null==a.resetText&&n.data("resetText",n[i]()),setTimeout(e.proxy(function(){n[i](null==a[t]?this.options[t]:a[t]),"loadingText"==t?(this.isLoading=!0,n.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,n.removeClass(r).removeAttr(r))},this),0)},r.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var r=this.$element.find("input");"radio"==r.prop("type")&&(r.prop("checked")&&this.$element.hasClass("active")?e=!1:t.find(".active").removeClass("active")),e&&r.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));e&&this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=t,e.fn.button.Constructor=r,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(r){var n=e(r.target);n.hasClass("btn")||(n=n.closest(".btn")),t.call(n,"toggle"),r.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.carousel"),a=e.extend({},r.DEFAULTS,n.data(),"object"==typeof t&&t),o="string"==typeof t?t:a.slide;i||n.data("bs.carousel",i=new r(this,a)),"number"==typeof t?i.to(t):o?i[o]():a.interval&&i.pause().cycle()})}var r=function(t,r){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=r,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};r.VERSION="3.3.1",r.TRANSITION_DURATION=600,r.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},r.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},r.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},r.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},r.prototype.getItemForDirection=function(e,t){var r="prev"==e?-1:1,n=this.getItemIndex(t),i=(n+r)%this.$items.length;return this.$items.eq(i)},r.prototype.to=function(e){var t=this,r=this.getItemIndex(this.$active=this.$element.find(".item.active"));return e>this.$items.length-1||0>e?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):r==e?this.pause().cycle():this.slide(e>r?"next":"prev",this.$items.eq(e))},r.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},r.prototype.next=function(){return this.sliding?void 0:this.slide("next")},r.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},r.prototype.slide=function(t,n){var i=this.$element.find(".item.active"),a=n||this.getItemForDirection(t,i),o=this.interval,s="next"==t?"left":"right",u="next"==t?"first":"last",l=this;if(!a.length){if(!this.options.wrap)return;a=this.$element.find(".item")[u]()}if(a.hasClass("active"))return this.sliding=!1;var c=a[0],h=e.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=e(this.$indicators.children()[this.getItemIndex(a)]);d&&d.addClass("active")}var f=e.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(a.addClass(t),a[0].offsetWidth,i.addClass(s),a.addClass(s),i.one("bsTransitionEnd",function(){a.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(f)},0)}).emulateTransitionEnd(r.TRANSITION_DURATION)):(i.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(f)),o&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=t,e.fn.carousel.Constructor=r,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this};var i=function(r){var n,i=e(this),a=e(i.attr("data-target")||(n=i.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var o=e.extend({},a.data(),i.data()),s=i.attr("data-slide-to");s&&(o.interval=!1),t.call(a,o),s&&a.data("bs.carousel").to(s),r.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var r=e(this);t.call(r,r.data())})})}(jQuery),+function(e){"use strict";function t(t){var r,n=t.attr("data-target")||(r=t.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"");return e(n)}function r(t){return this.each(function(){var r=e(this),i=r.data("bs.collapse"),a=e.extend({},n.DEFAULTS,r.data(),"object"==typeof t&&t);!i&&a.toggle&&"show"==t&&(a.toggle=!1),i||r.data("bs.collapse",i=new n(this,a)),"string"==typeof t&&i[t]()})}var n=function(t,r){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,r),this.$trigger=e(this.options.trigger).filter('[href="#'+t.id+'"], [data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};n.VERSION="3.3.1",n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},n.prototype.dimension=function(){var e=this.$element.hasClass("width");return e?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,i=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(!(i&&i.length&&(t=i.data("bs.collapse"),t&&t.transitioning))){var a=e.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),t||i.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var u=e.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(n.TRANSITION_DURATION)[o](this.$element[0][u])}}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=e.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return e.support.transition?void this.$element[r](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(n.TRANSITION_DURATION):i.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},n.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(r,n){var i=e(n);this.addAriaAndCollapsedClass(t(i),i)},this)).end()},n.prototype.addAriaAndCollapsedClass=function(e,t){var r=e.hasClass("in");e.attr("aria-expanded",r),t.toggleClass("collapsed",!r).attr("aria-expanded",r)};var i=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=n,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var i=e(this);i.attr("data-target")||n.preventDefault();var a=t(i),o=a.data("bs.collapse"),s=o?"toggle":e.extend({},i.data(),{trigger:this});r.call(a,s)})}(jQuery),+function(e){"use strict";function t(t){t&&3===t.which||(e(i).remove(),e(a).each(function(){var n=e(this),i=r(n),a={relatedTarget:this};i.hasClass("open")&&(i.trigger(t=e.Event("hide.bs.dropdown",a)),t.isDefaultPrevented()||(n.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",a)))}))}function r(t){var r=t.attr("data-target");r||(r=t.attr("href"),r=r&&/#[A-Za-z]/.test(r)&&r.replace(/.*(?=#[^\s]*$)/,""));var n=r&&e(r);return n&&n.length?n:t.parent()}function n(t){return this.each(function(){var r=e(this),n=r.data("bs.dropdown");n||r.data("bs.dropdown",n=new o(this)),"string"==typeof t&&n[t].call(r)})}var i=".dropdown-backdrop",a='[data-toggle="dropdown"]',o=function(t){e(t).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.1",o.prototype.toggle=function(n){var i=e(this);if(!i.is(".disabled, :disabled")){var a=r(i),o=a.hasClass("open");if(t(),!o){"ontouchstart"in document.documentElement&&!a.closest(".navbar-nav").length&&e('<div class="dropdown-backdrop"/>').insertAfter(e(this)).on("click",t);var s={relatedTarget:this};if(a.trigger(n=e.Event("show.bs.dropdown",s)),n.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),a.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},o.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var n=e(this);if(t.preventDefault(),t.stopPropagation(),!n.is(".disabled, :disabled")){var i=r(n),o=i.hasClass("open");if(!o&&27!=t.which||o&&27==t.which)return 27==t.which&&i.find(a).trigger("focus"),n.trigger("click");var s=" li:not(.divider):visible a",u=i.find('[role="menu"]'+s+', [role="listbox"]'+s);if(u.length){var l=u.index(t.target);38==t.which&&l>0&&l--,40==t.which&&l<u.length-1&&l++,~l||(l=0),u.eq(l).trigger("focus")}}}};var s=e.fn.dropdown;e.fn.dropdown=n,e.fn.dropdown.Constructor=o,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.bs.dropdown.data-api",t).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",a,o.prototype.toggle).on("keydown.bs.dropdown.data-api",a,o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',o.prototype.keydown)}(jQuery),+function(e){"use strict";function t(t,n){return this.each(function(){var i=e(this),a=i.data("bs.modal"),o=e.extend({},r.DEFAULTS,i.data(),"object"==typeof t&&t);a||i.data("bs.modal",a=new r(this,o)),"string"==typeof t?a[t](n):o.show&&a.show(n)})}var r=function(t,r){this.options=r,this.$body=e(document.body),this.$element=e(t),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};r.VERSION="3.3.1",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},r.prototype.show=function(t){var n=this,i=e.Event("show.bs.modal",{relatedTarget:t});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.backdrop(function(){var i=e.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.options.backdrop&&n.adjustBackdrop(),n.adjustDialog(),i&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var a=e.Event("shown.bs.modal",{relatedTarget:t});i?n.$element.find(".modal-dialog").one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(r.TRANSITION_DURATION):n.$element.trigger("focus").trigger(a)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=e.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var n=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=e.support.transition&&i;if(this.$backdrop=e('<div class="modal-backdrop '+i+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",e.proxy(function(e){e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;a?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){n.removeBackdrop(),t&&t()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):o()}else t&&t()},r.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},r.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},r.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},r.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},r.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var n=e.fn.modal;e.fn.modal=t,e.fn.modal.Constructor=r,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(r){var n=e(this),i=n.attr("href"),a=e(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=a.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},a.data(),n.data());n.is("a")&&r.preventDefault(),a.one("show.bs.modal",function(e){e.isDefaultPrevented()||a.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),t.call(a,o,this)})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.tooltip"),a="object"==typeof t&&t,o=a&&a.selector;(i||"destroy"!=t)&&(o?(i||n.data("bs.tooltip",i={}),i[o]||(i[o]=new r(this,a))):i||n.data("bs.tooltip",i=new r(this,a)),"string"==typeof t&&i[t]())})}var r=function(e,t){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",e,t)};r.VERSION="3.3.1",r.TRANSITION_DURATION=150,r.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},r.prototype.init=function(t,r,n){this.enabled=!0,this.type=t,this.$element=e(r),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&e(this.options.viewport.selector||this.options.viewport);for(var i=this.options.trigger.split(" "),a=i.length;a--;){var o=i[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=o){var s="hover"==o?"mouseenter":"focusin",u="hover"==o?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(u+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.getOptions=function(t){return t=e.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},r.prototype.getDelegateOptions=function(){var t={},r=this.getDefaults();return this._options&&e.each(this._options,function(e,n){r[e]!=n&&(t[e]=n)}),t},r.prototype.enter=function(t){var r=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return r&&r.$tip&&r.$tip.is(":visible")?void(r.hoverState="in"):(r||(r=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,r)),clearTimeout(r.timeout),r.hoverState="in",r.options.delay&&r.options.delay.show?void(r.timeout=setTimeout(function(){"in"==r.hoverState&&r.show()},r.options.delay.show)):r.show())},r.prototype.leave=function(t){var r=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);return r||(r=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,r)),clearTimeout(r.timeout),r.hoverState="out",r.options.delay&&r.options.delay.hide?void(r.timeout=setTimeout(function(){"out"==r.hoverState&&r.hide()},r.options.delay.hide)):r.hide()},r.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var i=this,a=this.tip(),o=this.getUID(this.type);this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,u=/\s?auto?\s?/i,l=u.test(s);l&&(s=s.replace(u,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element);var c=this.getPosition(),h=a[0].offsetWidth,d=a[0].offsetHeight;if(l){var f=s,p=this.options.container?e(this.options.container):this.$element.parent(),m=this.getPosition(p);s="bottom"==s&&c.bottom+d>m.bottom?"top":"top"==s&&c.top-d<m.top?"bottom":"right"==s&&c.right+h>m.width?"left":"left"==s&&c.left-h<m.left?"right":s,a.removeClass(f).addClass(s)}var v=this.getCalculatedOffset(s,c,h,d);this.applyPlacement(v,s);var y=function(){var e=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==e&&i.leave(i)};e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",y).emulateTransitionEnd(r.TRANSITION_DURATION):y()}},r.prototype.applyPlacement=function(t,r){var n=this.tip(),i=n[0].offsetWidth,a=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(s)&&(s=0),t.top=t.top+o,t.left=t.left+s,e.offset.setOffset(n[0],e.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),n.addClass("in");var u=n[0].offsetWidth,l=n[0].offsetHeight;"top"==r&&l!=a&&(t.top=t.top+a-l);var c=this.getViewportAdjustedDelta(r,t,u,l);c.left?t.left+=c.left:t.top+=c.top;var h=/top|bottom/.test(r),d=h?2*c.left-i+u:2*c.top-a+l,f=h?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(d,n[0][f],h)},r.prototype.replaceArrow=function(e,t,r){this.arrow().css(r?"left":"top",50*(1-e/t)+"%").css(r?"top":"left","")},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},r.prototype.hide=function(t){function n(){"in"!=i.hoverState&&a.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),t&&t()}var i=this,a=this.tip(),o=e.Event("hide.bs."+this.type);return this.$element.trigger(o),o.isDefaultPrevented()?void 0:(a.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(r.TRANSITION_DURATION):n(),this.hoverState=null,this)},r.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},r.prototype.hasContent=function(){return this.getTitle()},r.prototype.getPosition=function(t){t=t||this.$element;var r=t[0],n="BODY"==r.tagName,i=r.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var a=n?{top:0,left:0}:t.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=n?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,o,s,a)},r.prototype.getCalculatedOffset=function(e,t,r,n){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-r/2}:"top"==e?{top:t.top-n,left:t.left+t.width/2-r/2}:"left"==e?{top:t.top+t.height/2-n/2,left:t.left-r}:{top:t.top+t.height/2-n/2,left:t.left+t.width}
21
- },r.prototype.getViewportAdjustedDelta=function(e,t,r,n){var i={top:0,left:0};if(!this.$viewport)return i;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,u=t.top+a-o.scroll+n;s<o.top?i.top=o.top-s:u>o.top+o.height&&(i.top=o.top+o.height-u)}else{var l=t.left-a,c=t.left+a+r;l<o.left?i.left=o.left-l:c>o.width&&(i.left=o.left+o.width-c)}return i},r.prototype.getTitle=function(){var e,t=this.$element,r=this.options;return e=t.attr("data-original-title")||("function"==typeof r.title?r.title.call(t[0]):r.title)},r.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},r.prototype.tip=function(){return this.$tip=this.$tip||e(this.options.template)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},r.prototype.enable=function(){this.enabled=!0},r.prototype.disable=function(){this.enabled=!1},r.prototype.toggleEnabled=function(){this.enabled=!this.enabled},r.prototype.toggle=function(t){var r=this;t&&(r=e(t.currentTarget).data("bs."+this.type),r||(r=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,r))),r.tip().hasClass("in")?r.leave(r):r.enter(r)},r.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type)})};var n=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=r,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.popover"),a="object"==typeof t&&t,o=a&&a.selector;(i||"destroy"!=t)&&(o?(i||n.data("bs.popover",i={}),i[o]||(i[o]=new r(this,a))):i||n.data("bs.popover",i=new r(this,a)),"string"==typeof t&&i[t]())})}var r=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.3.1",r.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),r.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),r.prototype.constructor=r,r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),r=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof r?"html":"append":"text"](r),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},r.prototype.tip=function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip};var n=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=r,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),+function(e){"use strict";function t(r,n){var i=e.proxy(this.process,this);this.$body=e("body"),this.$scrollElement=e(e(r).is("body")?window:r),this.options=e.extend({},t.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",i),this.refresh(),this.process()}function r(r){return this.each(function(){var n=e(this),i=n.data("bs.scrollspy"),a="object"==typeof r&&r;i||n.data("bs.scrollspy",i=new t(this,a)),"string"==typeof r&&i[r]()})}t.VERSION="3.3.1",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t="offset",r=0;e.isWindow(this.$scrollElement[0])||(t="position",r=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var n=this;this.$body.find(this.selector).map(function(){var n=e(this),i=n.data("target")||n.attr("href"),a=/^#./.test(i)&&e(i);return a&&a.length&&a.is(":visible")&&[[a[t]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),n=this.options.offset+r-this.$scrollElement.height(),i=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=r&&this.refresh(),t>=n)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)o!=a[e]&&t>=i[e]&&(!i[e+1]||t<=i[e+1])&&this.activate(a[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=e.fn.scrollspy;e.fn.scrollspy=r,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);r.call(t,t.data())})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.tab");i||n.data("bs.tab",i=new r(this)),"string"==typeof t&&i[t]()})}var r=function(t){this.element=e(t)};r.VERSION="3.3.1",r.TRANSITION_DURATION=150,r.prototype.show=function(){var t=this.element,r=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=t.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=r.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),o=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(a),t.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(n);this.activate(t.closest("li"),r),this.activate(s,s.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},r.prototype.activate=function(t,n,i){function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var o=n.find("> .active"),s=i&&e.support.transition&&(o.length&&o.hasClass("fade")||!!n.find("> .fade").length);o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(r.TRANSITION_DURATION):a(),o.removeClass("in")};var n=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=r,e.fn.tab.noConflict=function(){return e.fn.tab=n,this};var i=function(r){r.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.affix"),a="object"==typeof t&&t;i||n.data("bs.affix",i=new r(this,a)),"string"==typeof t&&i[t]()})}var r=function(t,n){this.options=e.extend({},r.DEFAULTS,n),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};r.VERSION="3.3.1",r.RESET="affix affix-top affix-bottom",r.DEFAULTS={offset:0,target:window},r.prototype.getState=function(e,t,r,n){var i=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=r&&"top"==this.affixed)return r>i?"top":!1;if("bottom"==this.affixed)return null!=r?i+this.unpin<=a.top?!1:"bottom":e-n>=i+o?!1:"bottom";var s=null==this.affixed,u=s?i:a.top,l=s?o:t;return null!=r&&r>=u?"top":null!=n&&u+l>=e-n?"bottom":!1},r.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(r.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},r.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},r.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),n=this.options.offset,i=n.top,a=n.bottom,o=e("body").height();"object"!=typeof n&&(a=i=n),"function"==typeof i&&(i=n.top(this.$element)),"function"==typeof a&&(a=n.bottom(this.$element));var s=this.getState(o,t,i,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var u="affix"+(s?"-"+s:""),l=e.Event(u+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(r.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:o-t-a})}};var n=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=r,e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var r=e(this),n=r.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),t.call(r,n)})})}(jQuery),define("ember-buffered-proxy/mixin",["ember","exports"],function(e,t){"use strict";function r(e){return function(){return this[e].apply(this,arguments)}}function n(e){var t;for(t in e)if(a.call(e,t))return!1;return!0}var i=e["default"],a=Object.prototype.hasOwnProperty,o=i.get,s=i.set,u=i.keys,l=i.isArray,c=i.computed;t["default"]=i.Mixin.create({init:function(){this.initializeBuffer(),this.hasBufferedChanges=!1},hasChanges:c.readOnly("hasBufferedChanges"),initializeBuffer:function(e){l(e)&&!n(e)?e.forEach(function(e){delete this.buffer[e]},this):this.buffer={}},unknownProperty:function(e){var t=this.buffer;return t.hasOwnProperty(e)?t[e]:this._super(e)},setUnknownProperty:function(e,t){var r,i=this.buffer,a=this.get("content");null!=a&&(r=o(a,e));var s=i.hasOwnProperty(e)?i[e]:r;return s!==t?(this.propertyWillChange(e),r===t?(delete i[e],n(i)&&this.set("hasBufferedChanges",!1)):(i[e]=t,this.set("hasBufferedChanges",!0)),this.propertyDidChange(e),t):void 0},applyBufferedChanges:function(e){var t=this.buffer,r=this.get("content");u(t).forEach(function(n){(!l(e)||e.contains(n))&&s(r,n,t[n])}),this.initializeBuffer(e),n(this.buffer)&&this.set("hasBufferedChanges",!1)},applyChanges:r("applyBufferedChanges"),discardBufferedChanges:function(e){var t=this.buffer;this.initializeBuffer(e),u(t).forEach(function(t){(!l(e)||e.contains(t))&&(this.propertyWillChange(t),this.propertyDidChange(t))},this),n(this.buffer)&&this.set("hasBufferedChanges",!1)},discardChanges:r("discardBufferedChanges")})}),define("ember-buffered-proxy/proxy",["ember","ember-buffered-proxy/mixin","exports"],function(e,t,r){"use strict";var n=e["default"],i=t["default"];r["default"]=n.ObjectProxy.extend(i)}),define("ember-buffered-proxy",["ember-buffered-proxy/index","exports"],function(e,t){"use strict";Object.keys(e).forEach(function(r){t[r]=e[r]})}),define("ember-moment/computed",["ember-moment/computeds/moment","ember-moment/computeds/ago","exports"],function(e,t,r){"use strict";var n=e["default"],i=t["default"];r.moment=n,r.ago=i}),define("ember-moment/computeds/ago",["ember","moment","ember-moment/computeds/moment","exports"],function(e,t,r,n){"use strict";var i=e["default"],a=t["default"],o=r.descriptorFor,s=i.get,u=i.computed;n["default"]=function(e,t){var r,n,i,l,c=[e];return n=u(e,function(){return r=[s(this,e)],arguments.length>1&&(i=o.call(this,t),l=i?s(this,t):t,i&&-1===n._dependentKeys.indexOf(t)&&n.property(t),r.push(l)),a.apply(this,r).fromNow()}),n.property.apply(n,c).readOnly()}}),define("ember-moment/computeds/moment",["ember","moment","exports"],function(e,t,r){"use strict";function n(e){var t=i.meta(this);return t&&t.descs?t.descs[e]:void 0}var i=e["default"],a=t["default"],o=i.get,s=i.computed,u=i.EnumerableUtils,l=Array.prototype.slice;r.descriptorFor=n,r["default"]=function(e,t,r){i.assert("More than one argument passed into moment computed",arguments.length>1);var c,h,d,f,p=l.call(arguments);return p.shift(),c=s(e,function(){h=this,d=[o(this,e)];var i=u.map(p,function(e){return f=n.call(h,e),f&&-1===c._dependentKeys.indexOf(e)&&c.property(e),f?o(h,e):e});return t=i[0],i.length>1&&(r=i[1],d.push(r)),a.apply(this,d).format(t)}).readOnly()}}),define("ember-moment/helpers/ago",["ember","moment","exports"],function(e,t,r){"use strict";function n(e,t){var r=arguments.length,n=[e];if(1===r)throw new TypeError("Invalid Number of arguments, expected atleast 1");return r>3&&n.push(t),a.apply(this,n).fromNow()}var i=e["default"],a=t["default"];r.ago=n,r["default"]=i.Handlebars.makeBoundHelper(n)}),define("ember-moment/helpers/moment",["ember","moment","exports"],function(e,t,r){"use strict";function n(e,t,r){var n,i=arguments.length,o=[];if(1===i||i>4)throw new TypeError("Invalid Number of arguments, expected at least 1 and at most 3");return o.push(e),2===i?n="LLLL":3===i?n=t:i>3&&(o.push(r),n=t),a.apply(this,o).format(n)}var i=e["default"],a=t["default"];r.moment=n,r["default"]=i.Handlebars.makeBoundHelper(n)}),define("ember-moment",["ember-moment/index","exports"],function(e,t){"use strict";Object.keys(e).forEach(function(r){t[r]=e[r]})}),define("liquid-fire/animate",["liquid-fire/promise","ember","exports"],function(e,t,r){"use strict";function n(e,t,r,n){var i,a={percentComplete:0,timeRemaining:100,timeSpent:0};if(!e||!(i=e.$())||!i[0])return f.resolve();if(r=r?p.copy(r):{},"undefined"==typeof r.display&&(r.display=""),"undefined"==typeof r.visibility&&(r.visibility="visible"),r.progress)throw new Error("liquid-fire's 'animate' function reserves the use of Velocity's 'progress' option for its own nefarious purposes.");return r.progress=function(){a.percentComplete=arguments[1],a.timeRemaining=arguments[2],a.timeSpent=a.timeRemaining/(1/a.percentComplete-1)},a.promise=f.resolve(m.animate(i[0],t,r)),n&&(a.promise=a.promise.then(function(){d(e,n)},function(t){throw d(e,n),t}),h(e,n,a)),a.promise}function i(e){var t;e&&(t=e.$())&&t.velocity("stop",!0)}function a(e){for(var t in e)if(e.hasOwnProperty(t)){if("progress"===t)throw new Error("liquid-fire's 'animate' function reserves the use of Velocity's '"+t+"' option for its own nefarious purposes.");m.defaults[t]=e[t]}}function o(e,t){return e&&e._lfTags&&e._lfTags[t]}function s(e,t){return c(e,t).promise}function u(e,t){return c(e,t).timeSpent}function l(e,t){return c(e,t).timeRemaining}function c(e,t){var r=o(e,t);if(!r)throw new Error("no animation labeled "+t+" is in progress");return r}function h(e,t,r){e&&(e._lfTags||(e._lfTags={}),e._lfTags[t]=r)}function d(e,t){e&&e._lfTags&&delete e._lfTags[t]}var f=e["default"],p=t["default"],m=p.$.Velocity;m.Promise||(m.Promise=f),r.animate=n,r.stop=i,r.setDefaults=a,r.isAnimating=o,r.finish=s,r.timeSpent=u,r.timeRemaining=l}),define("liquid-fire/curry",["exports"],function(e){"use strict";e["default"]=function(e){var t=Array.prototype.slice.apply(arguments,[1]);return function(){var r=this.lookup(e),n=Array.prototype.slice.apply(arguments);return n.splice.apply(n,[2,0].concat(t)),r.apply(this,n)}}}),define("liquid-fire/dsl",["ember","liquid-fire/animate","exports"],function(e,t,r){"use strict";function n(e){this.map=e}function i(e){if(!e)return n.EMPTY;if("function"==typeof e)return e;if(e.instanceOf)return function(){return this instanceof e.instanceOf||this&&this.get&&this.get("model")&&this.get("model")instanceof e.instanceOf};if("boolean"==typeof e)return function(){return e?!!this:!this};throw new Error("unknown context matcher: "+JSON.stringify(e))}var a=e["default"],o=t.setDefaults;n.prototype={setDefault:function(e){o(e)},define:function(){throw new Error("calling 'define' from within the transition map is deprecated")},_withEmpty:function(e){return e||n.EMPTY},_combineMatchers:function(e){return[e.reduce(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw new Error("cannot combine empty model matcher with any other constraints");return function(){return e.apply(this,arguments)&&t.apply(this,arguments)}})]},transition:function(){for(var e,t,r=[],i={},a={},o=Array.prototype.slice.apply(arguments).reduce(function(e,t){return e.concat(t)},[]),s=0;s<o.length;s++){var u=o[s];if("action"===u.type){if(e)throw new Error("each transition definition must contain exactly one 'use' statement");e={method:u.payload,args:u.args}}else if("reverseAction"===u.type){if(t)throw new Error("each transition defintiion may contain at most one 'reverse' statement");t={method:u.payload,args:u.args}}else if("route"===u.type){if(i[u.side])throw new Error("A transition definition contains multiple constraints on "+u.side+"Route");i[u.side]=u.payload.map(this._withEmpty)}else"parent"===u.type?r.push(u.payload):(a[u.side]||(a[u.side]=[]),a[u.side].push(u.payload))}if(!e)throw new Error("a transition definition contains no 'use' statement");i.from||(i.from=[n.ANY]),i.to||(i.to=[n.ANY]),0===r.length&&r.push(n.ANY),a.from||(a.from=[n.ANY]),a.to||(a.to=[n.ANY]),r=this._combineMatchers(r),a.from=this._combineMatchers(a.from),a.to=this._combineMatchers(a.to),this.map.register(i,a,r,e),t&&(i={from:i.to,to:i.from},a={from:a.to,to:a.from},this.map.register(i,a,r,t))},fromRoute:function(){return{side:"from",type:"route",payload:Array.prototype.slice.apply(arguments)}},toRoute:function(){return{side:"to",type:"route",payload:Array.prototype.slice.apply(arguments)}},withinRoute:function(){return[this.fromRoute.apply(this,arguments),this.toRoute.apply(this,arguments)]},fromModel:function(e){return{side:"from",type:"context",payload:i(e)}},toModel:function(e){return{side:"to",type:"context",payload:i(e)}},betweenModels:function(e){return[this.fromModel(e),this.toModel(e)]},hasClass:function(e){return{type:"parent",payload:function(){return this&&-1!==this.get("classNames").indexOf(e)}}},childOf:function(e){return{type:"parent",payload:function(){var t;return this&&this._morph&&a.$(this._morph.start.parentElement).is(e)||this.morph&&a.$("#"+this.morph.start).parent().is(e)||(t=this.$())&&t.parent().is(e)}}},fromNonEmptyModel:function(){return this.fromModel(function(){return"undefined"!=typeof this})},toNonEmptyModel:function(){return this.toModel(function(){return"undefined"!=typeof this})},betweenNonEmptyModels:function(){return this.betweenModels(function(){return"undefined"!=typeof this})},use:function(e){return{type:"action",payload:e,args:Array.prototype.slice.apply(arguments,[1])}},reverse:function(e){return{type:"reverseAction",payload:e,args:Array.prototype.slice.apply(arguments,[1])}}},n.ANY="__liquid-fire-ANY",n.EMPTY="__liquid-fire-EMPTY",r["default"]=n}),define("liquid-fire/index",["liquid-fire/transitions","liquid-fire/animate","liquid-fire/promise","liquid-fire/initialize","liquid-fire/mutation-observer","liquid-fire/curry","liquid-fire/router-dsl-ext","exports"],function(e,t,r,n,i,a,o,s){"use strict";var u=e["default"],l=t.animate,c=t.stop,h=t.isAnimating,d=t.timeSpent,f=t.timeRemaining,p=t.finish,m=r["default"],v=n.initialize,y=i["default"],g=a["default"];s.Transitions=u,s.animate=l,s.stop=c,s.isAnimating=h,s.timeSpent=d,s.timeRemaining=f,s.finish=p,s.Promise=m,s.initialize=v,s.MutationObserver=y,s.curryTransition=g}),define("liquid-fire/initialize",["liquid-fire/transitions","liquid-fire/modals","exports"],function(e,t,r){"use strict";function n(e){e.register("transitions:map",i),["outlet","with","if"].forEach(function(t){e.injection("view:liquid-"+t,"transitions","transitions:map")}),e.register("liquid-modals:main",a),e.injection("component:liquid-modal","owner","liquid-modals:main");var t=e.lookup("template:liquid-with");t&&(t.isTop=!1)}var i=e["default"],a=t["default"];r.initialize=n}),define("liquid-fire/internal-rules",["exports"],function(e){"use strict";e["default"]=function(){this.setDefault({duration:250}),this.transition(this.hasClass("lm-with"),this.use("modal-popup"))}}),define("liquid-fire/modal",["ember","exports"],function(e,t){"use strict";function r(e,t){var r,n,i,a={},o=e.constructor.proto(),s=!1;for(n in t)r=t[n],i=e.get(n),a[r]=i,i!==o[n]&&(s=!0);return s?a:void 0}var n=e["default"],i=n.get;t["default"]=n.Object.extend({enabled:n.computed("modals.activeRouteNames",function(){return i(this,"modals.activeRouteNames").indexOf(i(this,"route"))>=0}),controller:n.computed("enabled",function(){if(i(this,"enabled")){var e=i(this,"container"),t=i(this,"options.controller")||i(this,"route");return e.lookup("controller:"+t)}}),update:n.observer("controller",n.on("init",function(){var e=i(this,"name"),t=this.makeContext(),r=i(this,"modals.modalContexts"),n=r.find(function(t){return i(t,"name")===e});t?n?r.replace(r.indexOf(n),1,[t]):r.pushObject(t):n&&r.removeObject(n)})),makeContext:function(){var e,t=i(this,"controller");if(t)return e=r(t,i(this,"options.withParams")),e?n.Object.create({source:t,name:i(this,"name"),options:i(this,"options"),params:e}):void 0}})}),define("liquid-fire/modals",["ember","liquid-fire/modal","exports"],function(e,t,r){"use strict";function n(e){return i.observer("controller."+e,function(){this.update()})}var i=e["default"],a=t["default"];r["default"]=i.Controller.extend({needs:["application"],setup:i.on("init",function(){this.set("modalContexts",i.A()),this.set("modals",i.A());var e=this.container.lookup("router:main").router.modals;if(e&&e.length>0){var t=this;e.forEach(function(e){t.registerModal(e)})}}),registerModal:function(e){var t={modals:this,container:this.container};for(var r in e.options.withParams)t[r+"Observer"]=n(r);this.get("modals").pushObject(a.extend(t).create(e))},currentRoute:i.computed.alias("controllers.application.currentRouteName"),activeRouteNames:i.computed("currentRoute",function(){var e=this.container.lookup("router:main").router.currentHandlerInfos;return e?e.map(function(e){return e.name}):[]})})}),define("liquid-fire/mutation-observer",["exports"],function(e){"use strict";function t(e){this.callback=e}t.prototype={observe:function(){this.interval=setInterval(this.callback,100)},disconnect:function(){clearInterval(this.interval)}};var r=window.MutationObserver||window.WebkitMutationObserver||t;e["default"]=r}),define("liquid-fire/promise",["ember","exports"],function(e,t){"use strict";var r=e["default"];t["default"]=r.RSVP.Promise}),define("liquid-fire/router-dsl-ext",["ember"],function(e){"use strict";function t(e){if(!e)return{};r.isArray(e)||(e=[e]);var t,n,i,a={};for(n=0;n<e.length;n++)if(t=e[n],"object"==typeof t)for(i in t)a[i]=t[i];else a[t]=t;return a}var r=e["default"],n=r.Router,i=r.RouterDSL.prototype,a=null;i.modal=function(e,n){r.assert('modal("'+e+'",...) needs a `withParams` argument',n&&n.withParams),n=r.copy(n),n.withParams=t(n.withParams),n.otherParams=t(n.otherParams),"undefined"==typeof n.dismissWithOutsideClick&&(n.dismissWithOutsideClick=!0),"undefined"==typeof n.dismissWithEscape&&(n.dismissWithEscape=!0),a.push({route:this.parent,name:e,options:n})},n.reopen({_initRouterJs:function(){a=[],this._super(),this.router.modals=a}});var o=n.map;n.reopenClass({map:function(){a=[];var e=o.apply(this,arguments);return this.router&&(this.router.modals=a),e}})}),define("liquid-fire/tabbable",["ember"],function(e){"use strict";function t(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&r(e)}function r(e){var t=i(e);return i.expr.filters.visible(e)&&!i(t,t.parents()).filter(function(){return"hidden"===i.css(this,"visibility")}).length}var n=e["default"],i=n.$;i.expr[":"].tabbable||(i.expr[":"].tabbable=function(e){var r=i.attr(e,"tabindex"),n=isNaN(r);return(n||r>=0)&&t(e,!n)})}),define("liquid-fire/transition",["liquid-fire/promise","exports"],function(e,t){"use strict";function r(e,t,r,n,i,a){this.parentView=e,this.oldView=t,this.newContent=r,this.animation=n,this.animationArgs=i,this.transitionMap=a}function n(e){var t;e&&(t=e.$())&&t.show().css({visibility:""})}function i(e){var t;return e&&(t=e.$())?{width:t.width(),height:t.height()}:void 0}function a(e,t){var r;e&&(r=e.$())&&(t||(t=i(e)),r.width(t.width),r.height(t.height),r.css({position:"absolute"}))}function o(e){var t;e&&(t=e.$())&&t.css({width:"",height:"",position:""})}var s=e["default"];r.prototype={run:function(){if(this._ran)return this._ran;if(!this.animation)return this.maybeDestroyOldView(),this._ran=this._insertNewView().then(n);var e=this;return e.transitionMap.activeCount+=1,this._ran=this._invokeAnimation().then(function(){e.maybeDestroyOldView()},function(t){return e.cleanupAfterError().then(function(){throw t})})["finally"](function(){e.transitionMap.activeCount-=1})},_insertNewView:function(){return this.inserted?this.inserted:this.inserted=this.parentView._pushNewView(this.newContent)},_invokeAnimation:function(){var e=this,t=this.animation,r=function(){var t=!e.parentView.get("containerless");return t&&(e.parentView.cacheSize(),a(e.oldView)),e._insertNewView().then(function(r){if(r){if(r.$().show(),t){var n=i(r);e.parentView.adaptSize(),a(r,n)}return e.newView=r}t&&e.parentView.adaptSize()})},n=[this.oldView,r].concat(this.animationArgs);return new s(function(r,i){t.apply(e,n).then(r,i)}).then(function(){e.interruptedLate||(o(e.newView),e.parentView.unlockSize())})},maybeDestroyOldView:function(){!this.interruptedEarly&&this.oldView&&this.oldView.destroy()},cleanupAfterError:function(){return this.maybeDestroyOldView(),this._insertNewView().then(n)},interrupt:function(){this.inserted?this.interruptedLate=!0:(this.inserted=s.resolve(null),this.interruptedEarly=!0)},lookup:function(e){return this.transitionMap.lookup(e)}},t["default"]=r}),define("liquid-fire/transitions",["liquid-fire/transition","liquid-fire/dsl","ember","liquid-fire/internal-rules","exports"],function(e,t,r,n,i){"use strict";function a(e){for(var t;e._parentView;)if(t=e,e=e._parentView,e._runningTransition&&e._runningTransition.oldView===t)return e._runningTransition}function o(){return arguments[2].run()}var s=e["default"],u=t["default"],l=r["default"],c=n["default"],h=l.Object.extend({init:function(){var e,t;this.activeCount=0,this._map={},this.map(c),t=this.get("container"),t&&(e=t.lookupFactory("transitions:main")),e&&this.map(e),l.testing&&this._registerWaiter()},runningTransitions:function(){return this.activeCount},lookup:function(e){var t=this.container.lookupFactory("transition:"+e);if(!t)throw new Error("unknown transition name: "+e);return t},transitionFor:function(e,t,r,n,i){var u,l;if(n&&!i)u=this.lookup(n);else{var c=this.match(i,e,t,r);c&&(l=c.args,u="function"==typeof c.method?c.method:this.lookup(c.method))}if(!u&&t&&!r){var h=a(t);h&&(u=o,l=[h])}return new s(e,t,r,u,l,this)},map:function(e){return e&&e.apply(new u(this)),this},register:function(e,t,r,n){this._register(this._map,[e.from,e.to,r,t.from,t.to],n)},_register:function(e,t,r){for(var n=t[0],i=0;i<n.length;i++){var a=n[i];if("function"==typeof a)if(e.__functions||(e.__functions=[]),1===t.length)e.__functions.push([a,r]);else{var o={};this._register(o,t.slice(1),r),e.__functions.push([a,o])}else 1===t.length?e[a]=r:(e[a]||(e[a]={}),this._register(e[a],t.slice(1),r))}},_viewProperties:function(e,t){return e&&t&&(e=e.get(t)),e?{route:e.get("renderedName"),context:e.get("liquidContext")}:{}},_ancestorsRenderedName:function(e){for(;e&&!e.get("renderedName");)e=e.get("_parentView");return e?e.get("renderedName"):void 0},match:function(e,t,r,n){var i={leaving:this._viewProperties(r,"currentView"),entering:this._viewProperties(n),parentView:t,initialRender:e};return r&&!i.leaving.route&&(i.leaving.route=this._ancestorsRenderedName(t)),n&&!i.entering.route&&(i.entering.route=i.leaving.route||this._ancestorsRenderedName(t)),this._match(i,this._map,[i.leaving.route,i.entering.route,t,i.leaving.context,i.entering.context])},_match:function(e,t,r){var n,i,a,o=0,s=r[0],u=r.slice(1),l=this._candidatesFor(e,t,r);for(o=0;o<l.length;o++)if(n=l[o],n&&(i="function"==typeof n[0]?n[0].apply(s,this._predicateArgs(e,r.length))?n[1]:null:t[n])){if(0===u.length)return i;if(a=this._match(e,i,u))return a}},_predicateArgs:function(e,t){var r=5-t;switch(r){case 0:return[e.entering.route];case 1:return[e.leaving.route];case 2:return[];case 3:return[e.entering.context];case 4:return[e.leaving.context]}},_candidatesFor:function(e,t,r){var n=[r[0]||u.EMPTY].concat(t.__functions);return 5===r.length&&e.initialRender?n:n.concat(u.ANY)},_registerWaiter:function(){var e=this;this._waiter=function(){return 0===e.runningTransitions()},l.Test.registerWaiter(this._waiter)},willDestroy:function(){this._waiter&&(l.Test.unregisterWaiter(this._waiter),this._waiter=null)}});h.reopenClass({map:function(e){var t=h.create();return t.map(e),t}}),i["default"]=h}),define("liquid-fire",["liquid-fire/index","exports"],function(e,t){"use strict";Object.keys(e).forEach(function(r){t[r]=e[r]})});
21
+ },r.prototype.getViewportAdjustedDelta=function(e,t,r,n){var i={top:0,left:0};if(!this.$viewport)return i;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,u=t.top+a-o.scroll+n;s<o.top?i.top=o.top-s:u>o.top+o.height&&(i.top=o.top+o.height-u)}else{var l=t.left-a,c=t.left+a+r;l<o.left?i.left=o.left-l:c>o.width&&(i.left=o.left+o.width-c)}return i},r.prototype.getTitle=function(){var e,t=this.$element,r=this.options;return e=t.attr("data-original-title")||("function"==typeof r.title?r.title.call(t[0]):r.title)},r.prototype.getUID=function(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},r.prototype.tip=function(){return this.$tip=this.$tip||e(this.options.template)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},r.prototype.enable=function(){this.enabled=!0},r.prototype.disable=function(){this.enabled=!1},r.prototype.toggleEnabled=function(){this.enabled=!this.enabled},r.prototype.toggle=function(t){var r=this;t&&(r=e(t.currentTarget).data("bs."+this.type),r||(r=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,r))),r.tip().hasClass("in")?r.leave(r):r.enter(r)},r.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type)})};var n=e.fn.tooltip;e.fn.tooltip=t,e.fn.tooltip.Constructor=r,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.popover"),a="object"==typeof t&&t,o=a&&a.selector;(i||"destroy"!=t)&&(o?(i||n.data("bs.popover",i={}),i[o]||(i[o]=new r(this,a))):i||n.data("bs.popover",i=new r(this,a)),"string"==typeof t&&i[t]())})}var r=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.3.1",r.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),r.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),r.prototype.constructor=r,r.prototype.getDefaults=function(){return r.DEFAULTS},r.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),r=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof r?"html":"append":"text"](r),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},r.prototype.tip=function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip};var n=e.fn.popover;e.fn.popover=t,e.fn.popover.Constructor=r,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),+function(e){"use strict";function t(r,n){var i=e.proxy(this.process,this);this.$body=e("body"),this.$scrollElement=e(e(r).is("body")?window:r),this.options=e.extend({},t.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",i),this.refresh(),this.process()}function r(r){return this.each(function(){var n=e(this),i=n.data("bs.scrollspy"),a="object"==typeof r&&r;i||n.data("bs.scrollspy",i=new t(this,a)),"string"==typeof r&&i[r]()})}t.VERSION="3.3.1",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t="offset",r=0;e.isWindow(this.$scrollElement[0])||(t="position",r=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var n=this;this.$body.find(this.selector).map(function(){var n=e(this),i=n.data("target")||n.attr("href"),a=/^#./.test(i)&&e(i);return a&&a.length&&a.is(":visible")&&[[a[t]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){n.offsets.push(this[0]),n.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,r=this.getScrollHeight(),n=this.options.offset+r-this.$scrollElement.height(),i=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=r&&this.refresh(),t>=n)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)o!=a[e]&&t>=i[e]&&(!i[e+1]||t<=i[e+1])&&this.activate(a[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=e.fn.scrollspy;e.fn.scrollspy=r,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);r.call(t,t.data())})})}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.tab");i||n.data("bs.tab",i=new r(this)),"string"==typeof t&&i[t]()})}var r=function(t){this.element=e(t)};r.VERSION="3.3.1",r.TRANSITION_DURATION=150,r.prototype.show=function(){var t=this.element,r=t.closest("ul:not(.dropdown-menu)"),n=t.data("target");if(n||(n=t.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=r.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),o=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(a),t.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(n);this.activate(t.closest("li"),r),this.activate(s,s.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},r.prototype.activate=function(t,n,i){function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}var o=n.find("> .active"),s=i&&e.support.transition&&(o.length&&o.hasClass("fade")||!!n.find("> .fade").length);o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(r.TRANSITION_DURATION):a(),o.removeClass("in")};var n=e.fn.tab;e.fn.tab=t,e.fn.tab.Constructor=r,e.fn.tab.noConflict=function(){return e.fn.tab=n,this};var i=function(r){r.preventDefault(),t.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),+function(e){"use strict";function t(t){return this.each(function(){var n=e(this),i=n.data("bs.affix"),a="object"==typeof t&&t;i||n.data("bs.affix",i=new r(this,a)),"string"==typeof t&&i[t]()})}var r=function(t,n){this.options=e.extend({},r.DEFAULTS,n),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(t),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};r.VERSION="3.3.1",r.RESET="affix affix-top affix-bottom",r.DEFAULTS={offset:0,target:window},r.prototype.getState=function(e,t,r,n){var i=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=r&&"top"==this.affixed)return r>i?"top":!1;if("bottom"==this.affixed)return null!=r?i+this.unpin<=a.top?!1:"bottom":e-n>=i+o?!1:"bottom";var s=null==this.affixed,u=s?i:a.top,l=s?o:t;return null!=r&&r>=u?"top":null!=n&&u+l>=e-n?"bottom":!1},r.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(r.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},r.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},r.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),n=this.options.offset,i=n.top,a=n.bottom,o=e("body").height();"object"!=typeof n&&(a=i=n),"function"==typeof i&&(i=n.top(this.$element)),"function"==typeof a&&(a=n.bottom(this.$element));var s=this.getState(o,t,i,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var u="affix"+(s?"-"+s:""),l=e.Event(u+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(r.RESET).addClass(u).trigger(u.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:o-t-a})}};var n=e.fn.affix;e.fn.affix=t,e.fn.affix.Constructor=r,e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var r=e(this),n=r.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),t.call(r,n)})})}(jQuery),define("pretender",[],function(){"use strict";return{"default":{}}}),define("ember-buffered-proxy/mixin",["ember","exports"],function(e,t){"use strict";function r(e){return function(){return this[e].apply(this,arguments)}}function n(e){var t;for(t in e)if(a.call(e,t))return!1;return!0}var i=e["default"],a=Object.prototype.hasOwnProperty,o=i.get,s=i.set,u=i.keys,l=i.isArray,c=i.computed;t["default"]=i.Mixin.create({init:function(){this.initializeBuffer(),this.hasBufferedChanges=!1},hasChanges:c.readOnly("hasBufferedChanges"),initializeBuffer:function(e){l(e)&&!n(e)?e.forEach(function(e){delete this.buffer[e]},this):this.buffer={}},unknownProperty:function(e){var t=this.buffer;return t.hasOwnProperty(e)?t[e]:this._super(e)},setUnknownProperty:function(e,t){var r,i=this.buffer,a=this.get("content");null!=a&&(r=o(a,e));var s=i.hasOwnProperty(e)?i[e]:r;return s!==t?(this.propertyWillChange(e),r===t?(delete i[e],n(i)&&this.set("hasBufferedChanges",!1)):(i[e]=t,this.set("hasBufferedChanges",!0)),this.propertyDidChange(e),t):void 0},applyBufferedChanges:function(e){var t=this.buffer,r=this.get("content");u(t).forEach(function(n){(!l(e)||e.contains(n))&&s(r,n,t[n])}),this.initializeBuffer(e),n(this.buffer)&&this.set("hasBufferedChanges",!1)},applyChanges:r("applyBufferedChanges"),discardBufferedChanges:function(e){var t=this.buffer;this.initializeBuffer(e),u(t).forEach(function(t){(!l(e)||e.contains(t))&&(this.propertyWillChange(t),this.propertyDidChange(t))},this),n(this.buffer)&&this.set("hasBufferedChanges",!1)},discardChanges:r("discardBufferedChanges")})}),define("ember-buffered-proxy/proxy",["ember","ember-buffered-proxy/mixin","exports"],function(e,t,r){"use strict";var n=e["default"],i=t["default"];r["default"]=n.ObjectProxy.extend(i)}),define("ember-buffered-proxy",["ember-buffered-proxy/index","exports"],function(e,t){"use strict";Object.keys(e).forEach(function(r){t[r]=e[r]})}),define("ember-moment/computed",["ember-moment/computeds/moment","ember-moment/computeds/ago","exports"],function(e,t,r){"use strict";var n=e["default"],i=t["default"];r.moment=n,r.ago=i}),define("ember-moment/computeds/ago",["ember","moment","ember-moment/computeds/moment","exports"],function(e,t,r,n){"use strict";var i=e["default"],a=t["default"],o=r.descriptorFor,s=i.get,u=i.computed;n["default"]=function(e,t){var r,n,i,l,c=[e];return n=u(e,function(){return r=[s(this,e)],arguments.length>1&&(i=o.call(this,t),l=i?s(this,t):t,i&&-1===n._dependentKeys.indexOf(t)&&n.property(t),r.push(l)),a.apply(this,r).fromNow()}),n.property.apply(n,c).readOnly()}}),define("ember-moment/computeds/moment",["ember","moment","exports"],function(e,t,r){"use strict";function n(e){var t=i.meta(this);return t&&t.descs?t.descs[e]:void 0}var i=e["default"],a=t["default"],o=i.get,s=i.computed,u=i.EnumerableUtils,l=Array.prototype.slice;r.descriptorFor=n,r["default"]=function(e,t,r){i.assert("More than one argument passed into moment computed",arguments.length>1);var c,h,d,f,p=l.call(arguments);return p.shift(),c=s(e,function(){h=this,d=[o(this,e)];var i=u.map(p,function(e){return f=n.call(h,e),f&&-1===c._dependentKeys.indexOf(e)&&c.property(e),f?o(h,e):e});return t=i[0],i.length>1&&(r=i[1],d.push(r)),a.apply(this,d).format(t)}).readOnly()}}),define("ember-moment/helpers/ago",["ember","moment","exports"],function(e,t,r){"use strict";function n(e,t){var r=arguments.length,n=[e];if(1===r)throw new TypeError("Invalid Number of arguments, expected atleast 1");return r>3&&n.push(t),a.apply(this,n).fromNow()}var i=e["default"],a=t["default"];r.ago=n,r["default"]=i.Handlebars.makeBoundHelper(n)}),define("ember-moment/helpers/moment",["ember","moment","exports"],function(e,t,r){"use strict";function n(e,t,r){var n,i=arguments.length,o=[];if(1===i||i>4)throw new TypeError("Invalid Number of arguments, expected at least 1 and at most 3");return o.push(e),2===i?n="LLLL":3===i?n=t:i>3&&(o.push(r),n=t),a.apply(this,o).format(n)}var i=e["default"],a=t["default"];r.moment=n,r["default"]=i.Handlebars.makeBoundHelper(n)}),define("ember-moment",["ember-moment/index","exports"],function(e,t){"use strict";Object.keys(e).forEach(function(r){t[r]=e[r]})}),define("liquid-fire/animate",["liquid-fire/promise","ember","exports"],function(e,t,r){"use strict";function n(e,t,r,n){var i,a={percentComplete:0,timeRemaining:100,timeSpent:0};if(!e||!(i=e.$())||!i[0])return f.resolve();if(r=r?p.copy(r):{},"undefined"==typeof r.display&&(r.display=""),"undefined"==typeof r.visibility&&(r.visibility="visible"),r.progress)throw new Error("liquid-fire's 'animate' function reserves the use of Velocity's 'progress' option for its own nefarious purposes.");return r.progress=function(){a.percentComplete=arguments[1],a.timeRemaining=arguments[2],a.timeSpent=a.timeRemaining/(1/a.percentComplete-1)},a.promise=f.resolve(m.animate(i[0],t,r)),n&&(a.promise=a.promise.then(function(){d(e,n)},function(t){throw d(e,n),t}),h(e,n,a)),a.promise}function i(e){var t;e&&(t=e.$())&&t.velocity("stop",!0)}function a(e){for(var t in e)if(e.hasOwnProperty(t)){if("progress"===t)throw new Error("liquid-fire's 'animate' function reserves the use of Velocity's '"+t+"' option for its own nefarious purposes.");m.defaults[t]=e[t]}}function o(e,t){return e&&e._lfTags&&e._lfTags[t]}function s(e,t){return c(e,t).promise}function u(e,t){return c(e,t).timeSpent}function l(e,t){return c(e,t).timeRemaining}function c(e,t){var r=o(e,t);if(!r)throw new Error("no animation labeled "+t+" is in progress");return r}function h(e,t,r){e&&(e._lfTags||(e._lfTags={}),e._lfTags[t]=r)}function d(e,t){e&&e._lfTags&&delete e._lfTags[t]}var f=e["default"],p=t["default"],m=p.$.Velocity;m.Promise||(m.Promise=f),r.animate=n,r.stop=i,r.setDefaults=a,r.isAnimating=o,r.finish=s,r.timeSpent=u,r.timeRemaining=l}),define("liquid-fire/curry",["exports"],function(e){"use strict";e["default"]=function(e){var t=Array.prototype.slice.apply(arguments,[1]);return function(){var r=this.lookup(e),n=Array.prototype.slice.apply(arguments);return n.splice.apply(n,[2,0].concat(t)),r.apply(this,n)}}}),define("liquid-fire/dsl",["ember","liquid-fire/animate","exports"],function(e,t,r){"use strict";function n(e){this.map=e}function i(e){if(!e)return n.EMPTY;if("function"==typeof e)return e;if(e.instanceOf)return function(){return this instanceof e.instanceOf||this&&this.get&&this.get("model")&&this.get("model")instanceof e.instanceOf};if("boolean"==typeof e)return function(){return e?!!this:!this};throw new Error("unknown context matcher: "+JSON.stringify(e))}var a=e["default"],o=t.setDefaults;n.prototype={setDefault:function(e){o(e)},define:function(){throw new Error("calling 'define' from within the transition map is deprecated")},_withEmpty:function(e){return e||n.EMPTY},_combineMatchers:function(e){return[e.reduce(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw new Error("cannot combine empty model matcher with any other constraints");return function(){return e.apply(this,arguments)&&t.apply(this,arguments)}})]},transition:function(){for(var e,t,r=[],i={},a={},o=Array.prototype.slice.apply(arguments).reduce(function(e,t){return e.concat(t)},[]),s=0;s<o.length;s++){var u=o[s];if("action"===u.type){if(e)throw new Error("each transition definition must contain exactly one 'use' statement");e={method:u.payload,args:u.args}}else if("reverseAction"===u.type){if(t)throw new Error("each transition defintiion may contain at most one 'reverse' statement");t={method:u.payload,args:u.args}}else if("route"===u.type){if(i[u.side])throw new Error("A transition definition contains multiple constraints on "+u.side+"Route");i[u.side]=u.payload.map(this._withEmpty)}else"parent"===u.type?r.push(u.payload):(a[u.side]||(a[u.side]=[]),a[u.side].push(u.payload))}if(!e)throw new Error("a transition definition contains no 'use' statement");i.from||(i.from=[n.ANY]),i.to||(i.to=[n.ANY]),0===r.length&&r.push(n.ANY),a.from||(a.from=[n.ANY]),a.to||(a.to=[n.ANY]),r=this._combineMatchers(r),a.from=this._combineMatchers(a.from),a.to=this._combineMatchers(a.to),this.map.register(i,a,r,e),t&&(i={from:i.to,to:i.from},a={from:a.to,to:a.from},this.map.register(i,a,r,t))},fromRoute:function(){return{side:"from",type:"route",payload:Array.prototype.slice.apply(arguments)}},toRoute:function(){return{side:"to",type:"route",payload:Array.prototype.slice.apply(arguments)}},withinRoute:function(){return[this.fromRoute.apply(this,arguments),this.toRoute.apply(this,arguments)]},fromModel:function(e){return{side:"from",type:"context",payload:i(e)}},toModel:function(e){return{side:"to",type:"context",payload:i(e)}},betweenModels:function(e){return[this.fromModel(e),this.toModel(e)]},hasClass:function(e){return{type:"parent",payload:function(){return this&&-1!==this.get("classNames").indexOf(e)}}},childOf:function(e){return{type:"parent",payload:function(){var t;return this&&this._morph&&a.$(this._morph.start.parentElement).is(e)||this.morph&&a.$("#"+this.morph.start).parent().is(e)||(t=this.$())&&t.parent().is(e)}}},fromNonEmptyModel:function(){return this.fromModel(function(){return"undefined"!=typeof this})},toNonEmptyModel:function(){return this.toModel(function(){return"undefined"!=typeof this})},betweenNonEmptyModels:function(){return this.betweenModels(function(){return"undefined"!=typeof this})},use:function(e){return{type:"action",payload:e,args:Array.prototype.slice.apply(arguments,[1])}},reverse:function(e){return{type:"reverseAction",payload:e,args:Array.prototype.slice.apply(arguments,[1])}}},n.ANY="__liquid-fire-ANY",n.EMPTY="__liquid-fire-EMPTY",r["default"]=n}),define("liquid-fire/index",["liquid-fire/transitions","liquid-fire/animate","liquid-fire/promise","liquid-fire/initialize","liquid-fire/mutation-observer","liquid-fire/curry","liquid-fire/router-dsl-ext","exports"],function(e,t,r,n,i,a,o,s){"use strict";var u=e["default"],l=t.animate,c=t.stop,h=t.isAnimating,d=t.timeSpent,f=t.timeRemaining,p=t.finish,m=r["default"],v=n.initialize,y=i["default"],g=a["default"];s.Transitions=u,s.animate=l,s.stop=c,s.isAnimating=h,s.timeSpent=d,s.timeRemaining=f,s.finish=p,s.Promise=m,s.initialize=v,s.MutationObserver=y,s.curryTransition=g}),define("liquid-fire/initialize",["liquid-fire/transitions","liquid-fire/modals","exports"],function(e,t,r){"use strict";function n(e){e.register("transitions:map",i),["outlet","with","if"].forEach(function(t){e.injection("view:liquid-"+t,"transitions","transitions:map")}),e.register("liquid-modals:main",a),e.injection("component:liquid-modal","owner","liquid-modals:main");var t=e.lookup("template:liquid-with");t&&(t.isTop=!1)}var i=e["default"],a=t["default"];r.initialize=n}),define("liquid-fire/internal-rules",["exports"],function(e){"use strict";e["default"]=function(){this.setDefault({duration:250}),this.transition(this.hasClass("lm-with"),this.use("modal-popup"))}}),define("liquid-fire/modal",["ember","exports"],function(e,t){"use strict";function r(e,t){var r,n,i,a={},o=e.constructor.proto(),s=!1;for(n in t)r=t[n],i=e.get(n),a[r]=i,i!==o[n]&&(s=!0);return s?a:void 0}var n=e["default"],i=n.get;t["default"]=n.Object.extend({enabled:n.computed("modals.activeRouteNames",function(){return i(this,"modals.activeRouteNames").indexOf(i(this,"route"))>=0}),controller:n.computed("enabled",function(){if(i(this,"enabled")){var e=i(this,"container"),t=i(this,"options.controller")||i(this,"route");return e.lookup("controller:"+t)}}),update:n.observer("controller",n.on("init",function(){var e=i(this,"name"),t=this.makeContext(),r=i(this,"modals.modalContexts"),n=r.find(function(t){return i(t,"name")===e});t?n?r.replace(r.indexOf(n),1,[t]):r.pushObject(t):n&&r.removeObject(n)})),makeContext:function(){var e,t=i(this,"controller");if(t)return e=r(t,i(this,"options.withParams")),e?n.Object.create({source:t,name:i(this,"name"),options:i(this,"options"),params:e}):void 0}})}),define("liquid-fire/modals",["ember","liquid-fire/modal","exports"],function(e,t,r){"use strict";function n(e){return i.observer("controller."+e,function(){this.update()})}var i=e["default"],a=t["default"];r["default"]=i.Controller.extend({needs:["application"],setup:i.on("init",function(){this.set("modalContexts",i.A()),this.set("modals",i.A());var e=this.container.lookup("router:main").router.modals;if(e&&e.length>0){var t=this;e.forEach(function(e){t.registerModal(e)})}}),registerModal:function(e){var t={modals:this,container:this.container};for(var r in e.options.withParams)t[r+"Observer"]=n(r);this.get("modals").pushObject(a.extend(t).create(e))},currentRoute:i.computed.alias("controllers.application.currentRouteName"),activeRouteNames:i.computed("currentRoute",function(){var e=this.container.lookup("router:main").router.currentHandlerInfos;return e?e.map(function(e){return e.name}):[]})})}),define("liquid-fire/mutation-observer",["exports"],function(e){"use strict";function t(e){this.callback=e}t.prototype={observe:function(){this.interval=setInterval(this.callback,100)},disconnect:function(){clearInterval(this.interval)}};var r=window.MutationObserver||window.WebkitMutationObserver||t;e["default"]=r}),define("liquid-fire/promise",["ember","exports"],function(e,t){"use strict";var r=e["default"];t["default"]=r.RSVP.Promise}),define("liquid-fire/router-dsl-ext",["ember"],function(e){"use strict";function t(e){if(!e)return{};r.isArray(e)||(e=[e]);var t,n,i,a={};for(n=0;n<e.length;n++)if(t=e[n],"object"==typeof t)for(i in t)a[i]=t[i];else a[t]=t;return a}var r=e["default"],n=r.Router,i=r.RouterDSL.prototype,a=null;i.modal=function(e,n){r.assert('modal("'+e+'",...) needs a `withParams` argument',n&&n.withParams),n=r.copy(n),n.withParams=t(n.withParams),n.otherParams=t(n.otherParams),"undefined"==typeof n.dismissWithOutsideClick&&(n.dismissWithOutsideClick=!0),"undefined"==typeof n.dismissWithEscape&&(n.dismissWithEscape=!0),a.push({route:this.parent,name:e,options:n})},n.reopen({_initRouterJs:function(){a=[],this._super(),this.router.modals=a}});var o=n.map;n.reopenClass({map:function(){a=[];var e=o.apply(this,arguments);return this.router&&(this.router.modals=a),e}})}),define("liquid-fire/tabbable",["ember"],function(e){"use strict";function t(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&r(e)}function r(e){var t=i(e);return i.expr.filters.visible(e)&&!i(t,t.parents()).filter(function(){return"hidden"===i.css(this,"visibility")}).length}var n=e["default"],i=n.$;i.expr[":"].tabbable||(i.expr[":"].tabbable=function(e){var r=i.attr(e,"tabindex"),n=isNaN(r);return(n||r>=0)&&t(e,!n)})}),define("liquid-fire/transition",["liquid-fire/promise","exports"],function(e,t){"use strict";function r(e,t,r,n,i,a){this.parentView=e,this.oldView=t,this.newContent=r,this.animation=n,this.animationArgs=i,this.transitionMap=a}function n(e){var t;e&&(t=e.$())&&t.show().css({visibility:""})}function i(e){var t;return e&&(t=e.$())?{width:t.width(),height:t.height()}:void 0}function a(e,t){var r;e&&(r=e.$())&&(t||(t=i(e)),r.width(t.width),r.height(t.height),r.css({position:"absolute"}))}function o(e){var t;e&&(t=e.$())&&t.css({width:"",height:"",position:""})}var s=e["default"];r.prototype={run:function(){if(this._ran)return this._ran;if(!this.animation)return this.maybeDestroyOldView(),this._ran=this._insertNewView().then(n);var e=this;return e.transitionMap.activeCount+=1,this._ran=this._invokeAnimation().then(function(){e.maybeDestroyOldView()},function(t){return e.cleanupAfterError().then(function(){throw t})})["finally"](function(){e.transitionMap.activeCount-=1})},_insertNewView:function(){return this.inserted?this.inserted:this.inserted=this.parentView._pushNewView(this.newContent)},_invokeAnimation:function(){var e=this,t=this.animation,r=function(){var t=!e.parentView.get("containerless");return t&&(e.parentView.cacheSize(),a(e.oldView)),e._insertNewView().then(function(r){if(r){if(r.$().show(),t){var n=i(r);e.parentView.adaptSize(),a(r,n)}return e.newView=r}t&&e.parentView.adaptSize()})},n=[this.oldView,r].concat(this.animationArgs);return new s(function(r,i){t.apply(e,n).then(r,i)}).then(function(){e.interruptedLate||(o(e.newView),e.parentView.unlockSize())})},maybeDestroyOldView:function(){!this.interruptedEarly&&this.oldView&&this.oldView.destroy()},cleanupAfterError:function(){return this.maybeDestroyOldView(),this._insertNewView().then(n)},interrupt:function(){this.inserted?this.interruptedLate=!0:(this.inserted=s.resolve(null),this.interruptedEarly=!0)},lookup:function(e){return this.transitionMap.lookup(e)}},t["default"]=r}),define("liquid-fire/transitions",["liquid-fire/transition","liquid-fire/dsl","ember","liquid-fire/internal-rules","exports"],function(e,t,r,n,i){"use strict";function a(e){for(var t;e._parentView;)if(t=e,e=e._parentView,e._runningTransition&&e._runningTransition.oldView===t)return e._runningTransition}function o(){return arguments[2].run()}var s=e["default"],u=t["default"],l=r["default"],c=n["default"],h=l.Object.extend({init:function(){var e,t;this.activeCount=0,this._map={},this.map(c),t=this.get("container"),t&&(e=t.lookupFactory("transitions:main")),e&&this.map(e),l.testing&&this._registerWaiter()},runningTransitions:function(){return this.activeCount},lookup:function(e){var t=this.container.lookupFactory("transition:"+e);if(!t)throw new Error("unknown transition name: "+e);return t},transitionFor:function(e,t,r,n,i){var u,l;if(n&&!i)u=this.lookup(n);else{var c=this.match(i,e,t,r);c&&(l=c.args,u="function"==typeof c.method?c.method:this.lookup(c.method))}if(!u&&t&&!r){var h=a(t);h&&(u=o,l=[h])}return new s(e,t,r,u,l,this)},map:function(e){return e&&e.apply(new u(this)),this},register:function(e,t,r,n){this._register(this._map,[e.from,e.to,r,t.from,t.to],n)},_register:function(e,t,r){for(var n=t[0],i=0;i<n.length;i++){var a=n[i];if("function"==typeof a)if(e.__functions||(e.__functions=[]),1===t.length)e.__functions.push([a,r]);else{var o={};this._register(o,t.slice(1),r),e.__functions.push([a,o])}else 1===t.length?e[a]=r:(e[a]||(e[a]={}),this._register(e[a],t.slice(1),r))}},_viewProperties:function(e,t){return e&&t&&(e=e.get(t)),e?{route:e.get("renderedName"),context:e.get("liquidContext")}:{}},_ancestorsRenderedName:function(e){for(;e&&!e.get("renderedName");)e=e.get("_parentView");return e?e.get("renderedName"):void 0},match:function(e,t,r,n){var i={leaving:this._viewProperties(r,"currentView"),entering:this._viewProperties(n),parentView:t,initialRender:e};return r&&!i.leaving.route&&(i.leaving.route=this._ancestorsRenderedName(t)),n&&!i.entering.route&&(i.entering.route=i.leaving.route||this._ancestorsRenderedName(t)),this._match(i,this._map,[i.leaving.route,i.entering.route,t,i.leaving.context,i.entering.context])},_match:function(e,t,r){var n,i,a,o=0,s=r[0],u=r.slice(1),l=this._candidatesFor(e,t,r);for(o=0;o<l.length;o++)if(n=l[o],n&&(i="function"==typeof n[0]?n[0].apply(s,this._predicateArgs(e,r.length))?n[1]:null:t[n])){if(0===u.length)return i;if(a=this._match(e,i,u))return a}},_predicateArgs:function(e,t){var r=5-t;switch(r){case 0:return[e.entering.route];case 1:return[e.leaving.route];case 2:return[];case 3:return[e.entering.context];case 4:return[e.leaving.context]}},_candidatesFor:function(e,t,r){var n=[r[0]||u.EMPTY].concat(t.__functions);return 5===r.length&&e.initialRender?n:n.concat(u.ANY)},_registerWaiter:function(){var e=this;this._waiter=function(){return 0===e.runningTransitions()},l.Test.registerWaiter(this._waiter)},willDestroy:function(){this._waiter&&(l.Test.unregisterWaiter(this._waiter),this._waiter=null)}});h.reopenClass({map:function(e){var t=h.create();return t.map(e),t}}),i["default"]=h}),define("liquid-fire",["liquid-fire/index","exports"],function(e,t){"use strict";Object.keys(e).forEach(function(r){t[r]=e[r]})});
@@ -1 +1 @@
1
- .u-margin-bottom{margin-bottom:1em}.u-no-margin-bottom{margin-bottom:0}.container-fluid{max-width:1000px;margin:0 auto}@media screen and (min-width:600px) and (max-width:1000px){.container-fluid{margin-left:5%;margin-right:5%}}.navbar-inverse{background-color:#1D4160}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-brand:hover{color:#eee}@media screen and (max-width:768px){.page-header{margin-top:0}}.lm-container{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start;-ms-justify-content:flex-start;-o-justify-content:flex-start;justify-content:flex-start;-ms-flex-pack:start}.lf-dialog{margin-top:7%;width:480px;max-width:100%;padding:0;border:none;border-radius:4px;box-shadow:0 0 18px rgba(0,0,0,.4);overflow:scroll}.link-subtle,.link-subtle:focus,.link-subtle:visited{color:#999;font-weight:200;text-decoration:none}.link-subtle:focus:hover,.link-subtle:hover,.link-subtle:visited:hover{text-decoration:none;color:#777}.panel-link{display:block;padding:3em;border:1px dashed #bbb;text-align:center;color:#999;font-size:1.1em;box-shadow:none;-webkit-transition:color,.1s;-moz-transition:color,.1s;transition:color,.1s}.panel-link:hover{color:#666;background-color:#f5f5f5;text-decoration:none}.App-card__new-input{border-radius:3px;border:1px solid;padding:3px 7px;font-size:1em;margin-top:-5px;margin-bottom:-5px;background-color:transparent}.App-card__info-label{margin-bottom:0;text-transform:uppercase;font-size:.8em;color:#a4a4a4;font-weight:200}.App-card__api{border:1px dotted transparent;padding:1px 3px;cursor:pointer;border-radius:3px}.App-card__api:hover{border-color:#ccc}.App-card__api:hover .App-card__copy-api-button{opacity:1}.App-card__copy-api-button{opacity:0;padding-left:4px;color:#999;vertical-align:top}.App-card__copy-api-button:hover{color:#333}.App-card__instructions{font-size:85%}.appDetail-title{margin-top:0;margin-bottom:1em}.appDetail-buildListTitle{margin-top:2em;margin-bottom:1em}.appDetail-buildList{border:1px solid #e5e5e5;table-layout:fixed}.appDetail-buildListItem{color:#999}.appDetail-buildListItem .btn{visibility:hidden}.appDetail-buildListItem:hover .btn{visibility:visible}.appDetail-buildListItem:hover,.success.appDetail-buildListItem{color:#333}.appDetail-buildList>tbody>.appDetail-buildListItem>.appDetail-buildListItemCell{padding:15px 13px}.appDetail-buildListItemCell:nth-child(1){width:110px}.short-divider{margin-bottom:10px;margin-top:15px}
1
+ .u-margin-bottom{margin-bottom:1em}.u-no-margin-bottom{margin-bottom:0}.container-fluid{max-width:1000px;margin:0 auto}@media screen and (min-width:600px) and (max-width:1000px){.container-fluid{margin-left:5%;margin-right:5%}}.navbar-inverse{background-color:#1D4160}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-brand:hover{color:#eee}@media screen and (max-width:768px){.page-header{margin-top:0}}.lm-container{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;-webkit-justify-content:flex-start;-moz-justify-content:flex-start;-ms-justify-content:flex-start;-o-justify-content:flex-start;justify-content:flex-start;-ms-flex-pack:start}.lf-dialog{margin-top:7%;width:480px;max-width:100%;padding:0;border:none;border-radius:4px;box-shadow:0 0 18px rgba(0,0,0,.4);overflow:scroll}.link-subtle,.link-subtle:focus,.link-subtle:visited{color:#999;font-weight:200;text-decoration:none}.link-subtle:focus:hover,.link-subtle:hover,.link-subtle:visited:hover{text-decoration:none;color:#777}.panel-link{display:block;padding:3em;border:1px dashed #bbb;text-align:center;color:#999;font-size:1.1em;box-shadow:none;-webkit-transition:color,.1s;-moz-transition:color,.1s;transition:color,.1s}.panel-link:hover{color:#666;background-color:#f5f5f5;text-decoration:none}.App-card__new-input{border-radius:3px;border:1px solid;padding:3px 7px;font-size:1em;margin-top:-5px;margin-bottom:-5px;background-color:transparent}.App-card__info-label{margin-bottom:0;text-transform:uppercase;font-size:.8em;color:#a4a4a4;font-weight:200}.App-card__api{border:1px dotted transparent;padding:1px 3px;cursor:pointer;border-radius:3px}.App-card__api:hover{border-color:#ccc}.App-card__api:hover .App-card__copy-api-button{opacity:1}.App-card__copy-api-button{opacity:0;padding-left:4px;color:#999;vertical-align:top}.App-card__copy-api-button:hover{color:#333}.App-card__instructions{font-size:85%}.appDetail-title{margin-top:0;margin-bottom:1em}.appDetail-buildListTitle{margin-top:2em;margin-bottom:1em}.appDetail-buildList{border:1px solid #e5e5e5;table-layout:fixed;margin-top:20px}.appDetail-buildListItem{color:#999}.appDetail-buildListItem .btn{visibility:hidden}.appDetail-buildListItem:hover .btn{visibility:visible}.appDetail-buildListItem:hover,.success.appDetail-buildListItem{color:#333}.appDetail-buildList>tbody>.appDetail-buildListItem>[class^=appDetail-buildListItemCell]{padding:15px 13px}.appDetail-buildListItemCell__id{width:75px}.appDetail-buildListItemCell__live{width:40px}.appDetail-buildListItemCell__built{width:110px}.appDetail-buildListItemCell__link{width:40px}.short-divider{margin-bottom:10px;margin-top:15px}
@@ -1,3 +1,3 @@
1
1
  module FrontEndBuilds
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: front_end_builds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Toronto