text: !function(e){function t(t){for(var r,a,u=t[0],l=t[1],c=t[2],f=0,d=[];f<u.length;f++)a=u[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&d.push(o[a][0]),o[a]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(s&&s(t);d.length;)d.shift()();return i.push.apply(i,c||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,u=1;u<n.length;u++){var l=n[u];0!==o[l]&&(r=!1)}r&&(i.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={2:0},i=[];function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="";var u=window.webpackJsonp=window.webpackJsonp||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var c=0;c<u.length;c++)t(u[c]);var s=l;i.push([280,0,1]),n()}({108:function(e,t,n){"use strict";n.r(t);var r=n(109),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t.default=o.a},109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9),o=n(14),i=n(19),a=n(31);let u=class extends o.Vue{get disableRemoveAll(){return["running","paused"].includes(this.timer.state)}openAddDialog(){const e=a.getDialog("run-modification-dialog");e&&e.openDialog({mode:"New"})}removeAllRunsConfirm(){const e=a.getDialog("alert-dialog");e&&e.openDialog({name:"RemoveAllRunsConfirm",func:this.removeAllRuns})}removeAllRuns(e){return r.__awaiter(this,void 0,void 0,(function*(){if(e)try{yield nodecg.sendMessage("removeAllRuns")}catch(e){}}))}mounted(){var e;(null===(e=window.frameElement)||void 0===e?void 0:e.parentElement)&&window.frameElement.parentElement.setAttribute("display-title",this.$t("panelTitle"))}};r.__decorate([i.State],u.prototype,"timer",void 0),u=r.__decorate([o.Component],u),t.default=u},110:function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"en":{"panelTitle":"Add/Remove Runs","removeAllRuns":"Remove All Runs"},"ja":{"panelTitle":"走者情報の追加/削除","removeAllRuns":"全ての走者情報の削除"}}'),delete e.options._Ctor}},19:function(e,t,n){"use strict";n.r(t),n.d(t,"State",(function(){return i})),n.d(t,"Getter",(function(){return a})),n.d(t,"Action",(function(){return u})),n.d(t,"Mutation",(function(){return l})),n.d(t,"namespace",(function(){return c}));var r=n(11),o=n(10),i=s("computed",o.mapState),a=s("computed",o.mapGetters),u=s("methods",o.mapActions),l=s("methods",o.mapMutations);function c(e,t){function n(t){return function(n,r){if("string"==typeof r){var o=r,i=n;return t(o,{namespace:e})(i,o)}var a=n,u=function(e,t){var n={};return[e,t].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t]}))})),n}(r||{},{namespace:e});return t(a,u)}}return t?(console.warn("[vuex-class] passing the 2nd argument to `namespace` function is deprecated. pass only namespace string instead."),n(t)):{State:n(i),Getter:n(a),Mutation:n(l),Action:n(u)}}function s(e,t){function n(n,o){return Object(r.createDecorator)((function(r,i){r[e]||(r[e]={});var a,u=((a={})[i]=n,a);r[e][i]=void 0!==o?t(o,u)[i]:t(u)[i]}))}return function(e,t){if("string"==typeof t){var r=t,o=e;return n(r,void 0)(o,r)}return n(e,function(e){var t=e&&e.namespace;if("string"!=typeof t)return;if("/"!==t[t.length-1])return t+"/";return t}(t))}}},215:function(e,t,n){"use strict";var r=n(110),o=n.n(r);t.default=o.a},238:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("v-btn",{staticClass:"green darken-2",on:{click:e.openAddDialog}},[n("v-icon",{staticClass:"pr-2"},[e._v("\n      mdi-plus-box\n    ")]),e._v(e._s(e.$t("addNewRun"))+"\n  ")],1),e._v(" "),n("v-btn",{staticClass:"red darken-2 mt-3",attrs:{disabled:e.disableRemoveAll},on:{click:e.removeAllRunsConfirm}},[n("v-icon",{staticClass:"pr-2"},[e._v("\n      mdi-delete\n    ")]),e._v(e._s(e.$t("removeAllRuns"))+"\n  ")],1)],1)},o=[]},280:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9),o=r.__importDefault(n(2)),i=r.__importDefault(n(45)),a=r.__importDefault(n(46)),u=r.__importDefault(n(376));r.__importDefault(n(377)).default().then(e=>{new o.default({vuetify:a.default,i18n:i.default,store:e,el:"#App",render:e=>e(u.default)})})},31:function(e,t,n){"use strict";function r(e){return e.toString().padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.getDialog=t.msToTimeStr=t.padTimeNumber=void 0,t.padTimeNumber=r,t.msToTimeStr=function(e){const t=Math.floor(e/1e3%60),n=Math.floor(e/6e4%60);return`${r(Math.floor(e/36e5))}:${r(n)}:${r(t)}`},t.getDialog=function(e){var t;try{const n=(null===(t=nodecg.getDialog(e).querySelector("iframe"))||void 0===t?void 0:t.contentWindow)||null;if(!n)throw new Error("Could not find the iFrame");return n}catch(t){nodecg.log.error(`getDialog could not successfully find dialog "${e}":`,t),window.alert("Attempted to open a NodeCG dialog but failed (if you are using a standalone version of a dashboard panel, this is not yet supported).")}return null}},376:function(e,t,n){"use strict";n.r(t);var r=n(238),o=n(108);for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);var a=n(7),u=n(215),l=n(8),c=n.n(l),s=n(41),f=n(21),d=n(26),p=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);"function"==typeof u.default&&Object(u.default)(p),t.default=p.exports,c()(p,{VApp:s.a,VBtn:f.a,VIcon:d.a})},377:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9),o=r.__importDefault(n(53)),i=r.__importDefault(n(2)),a=r.__importDefault(n(10));i.default.use(a.default);const u={timer:nodecg.Replicant("timer")},l=new a.default.Store({state:{},mutations:{setState(e,{name:t,val:n}){i.default.set(e,t,n)}}});Object.keys(u).forEach(e=>{u[e].on("change",t=>{l.commit("setState",{name:e,val:o.default(t)})})}),t.default=()=>r.__awaiter(void 0,void 0,void 0,(function*(){return yield NodeCG.waitForReplicants(...Object.keys(u).map(e=>u[e])),l}))}});