"use strict"
define("mimolive-remote-control/adapters/application",["exports","@ember/service","@ember/object/computed","ember-data","mimolive-remote-control/config/environment"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{host:i,namespace:l}=r.default.API,{JSONAPIAdapter:a}=o.default
var s=a.extend({ajaxService:(0,t.inject)("ajax"),host:i,namespace:l,shouldBackgroundReloadRecord:()=>!1,shouldBackgroundReloadAll:()=>!1,headers:(0,n.alias)("ajaxService.headers")})
e.default=s})),define("mimolive-remote-control/adapters/custom-inflector",["exports","ember-inflector"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
t.default.inflector.irregular("canvas","canvases")
e.default={}})),define("mimolive-remote-control/adapters/serializer",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{JSONAPISerializer:n}=t.default
var o=n.extend({})
e.default=o})),define("mimolive-remote-control/app",["exports","@ember/application","mimolive-remote-control/resolver","ember-load-initializers","mimolive-remote-control/config/environment","mimolive-remote-control/adapters/custom-inflector"],(function(e,t,n,o,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const l=t.default.extend({modulePrefix:r.default.modulePrefix,podModulePrefix:r.default.podModulePrefix,Resolver:n.default});(0,o.default)(l,r.default.modulePrefix)
var a=l
e.default=a})),define("mimolive-remote-control/component-managers/glimmer",["exports","@glimmer/component/-private/ember-component-manager"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/-dynamic-element-alt",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend()
e.default=n})),define("mimolive-remote-control/components/-dynamic-element",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend()
e.default=n})),define("mimolive-remote-control/components/basic-dropdown-content",["exports","ember-basic-dropdown/components/basic-dropdown-content"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/basic-dropdown-optional-tag",["exports","ember-basic-dropdown/components/basic-dropdown-optional-tag"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/basic-dropdown-trigger",["exports","ember-basic-dropdown/components/basic-dropdown-trigger"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/basic-dropdown",["exports","ember-basic-dropdown/components/basic-dropdown"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/content-backdrop",["exports","ember-side-menu/components/content-backdrop"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/content-editable",["exports","ember-content-editable/components/content-editable"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/illiquid-model",["exports","liquid-fire/components/illiquid-model"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/lf-get-outlet-state",["exports","liquid-fire/components/lf-get-outlet-state"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-append",["exports","liquid-wormhole/components/liquid-append"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-bind",["exports","liquid-fire/components/liquid-bind"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-child",["exports","liquid-fire/components/liquid-child"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-container",["exports","liquid-fire/components/liquid-container"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-destination",["exports","liquid-wormhole/components/liquid-destination"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-if",["exports","liquid-fire/components/liquid-if"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-measured",["exports","liquid-fire/components/liquid-measured"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"measure",{enumerable:!0,get:function(){return t.measure}})})),define("mimolive-remote-control/components/liquid-outlet",["exports","liquid-fire/components/liquid-outlet"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-spacer",["exports","liquid-fire/components/liquid-spacer"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-sync",["exports","liquid-fire/components/liquid-sync"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-unless",["exports","liquid-fire/components/liquid-unless"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-versions",["exports","liquid-fire/components/liquid-versions"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/liquid-wormhole",["exports","liquid-wormhole/components/liquid-wormhole"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/maybe-in-element",["exports","ember-maybe-in-element/components/maybe-in-element"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select-multiple",["exports","ember-power-select/components/power-select-multiple"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}))
define("mimolive-remote-control/components/power-select-multiple/trigger",["exports","ember-power-select/components/power-select-multiple/trigger"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select",["exports","ember-power-select/components/power-select"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/before-options",["exports","ember-power-select/components/power-select/before-options"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/no-matches-message",["exports","ember-power-select/components/power-select/no-matches-message"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/options",["exports","ember-power-select/components/power-select/options"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/placeholder",["exports","ember-power-select/components/power-select/placeholder"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/power-select-group",["exports","ember-power-select/components/power-select/power-select-group"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/search-message",["exports","ember-power-select/components/power-select/search-message"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/power-select/trigger",["exports","ember-power-select/components/power-select/trigger"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/side-menu-link-to",["exports","ember-side-menu/components/side-menu-link-to"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/side-menu-toggle",["exports","ember-side-menu/components/side-menu-toggle"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/side-menu",["exports","ember-side-menu/components/side-menu"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/x-toggle-label",["exports","ember-toggle/components/x-toggle-label"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/x-toggle-switch",["exports","ember-toggle/components/x-toggle-switch"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/components/x-toggle",["exports","ember-toggle/components/x-toggle"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/-element",["exports","ember-element-helper/helpers/-element"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/and",["exports","ember-truth-helpers/helpers/and"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"and",{enumerable:!0,get:function(){return t.and}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/app-version",["exports","@ember/component/helper","mimolive-remote-control/config/environment","ember-cli-app-version/utils/regexp"],(function(e,t,n,o){function r(e,t={}){const r=n.default.APP.version
let i=t.versionOnly||t.hideSha,l=t.shaOnly||t.hideVersion,a=null
return i&&(t.showExtended&&(a=r.match(o.versionExtendedRegExp)),a||(a=r.match(o.versionRegExp))),l&&(a=r.match(o.shaRegExp)),a?a[0]:r}Object.defineProperty(e,"__esModule",{value:!0}),e.appVersion=r,e.default=void 0
var i=(0,t.helper)(r)
e.default=i})),define("mimolive-remote-control/helpers/append",["exports","ember-composable-helpers/helpers/append"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"append",{enumerable:!0,get:function(){return t.append}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/assign",["exports","ember-assign-helper/helpers/assign"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assign",{enumerable:!0,get:function(){return t.assign}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/background-color",["exports","@ember/component/helper","@ember/template"],(function(e,t,n){function o([e]){return(0,n.htmlSafe)(`background-color: ${e};`)}Object.defineProperty(e,"__esModule",{value:!0}),e.backgroundColor=o,e.default=void 0
var r=(0,t.helper)(o)
e.default=r})),define("mimolive-remote-control/helpers/cancel-all",["exports","ember-concurrency/helpers/cancel-all"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/chunk",["exports","ember-composable-helpers/helpers/chunk"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"chunk",{enumerable:!0,get:function(){return t.chunk}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/compact",["exports","ember-composable-helpers/helpers/compact"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/compute",["exports","ember-composable-helpers/helpers/compute"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"compute",{enumerable:!0,get:function(){return t.compute}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/contains",["exports","ember-composable-helpers/helpers/contains"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return t.contains}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/dec",["exports","ember-composable-helpers/helpers/dec"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"dec",{enumerable:!0,get:function(){return t.dec}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/drop",["exports","ember-composable-helpers/helpers/drop"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/element",["exports","ember-element-helper/helpers/element"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/ember-power-select-is-group",["exports","ember-power-select/helpers/ember-power-select-is-group"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"emberPowerSelectIsGroup",{enumerable:!0,get:function(){return t.emberPowerSelectIsGroup}})}))
define("mimolive-remote-control/helpers/ember-power-select-is-selected",["exports","ember-power-select/helpers/ember-power-select-is-selected"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"emberPowerSelectIsSelected",{enumerable:!0,get:function(){return t.emberPowerSelectIsSelected}})})),define("mimolive-remote-control/helpers/ensure-safe-component",["exports","@embroider/util"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.EnsureSafeComponentHelper}})})),define("mimolive-remote-control/helpers/eq",["exports","ember-truth-helpers/helpers/equal"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"equal",{enumerable:!0,get:function(){return t.equal}})})),define("mimolive-remote-control/helpers/filter-by",["exports","ember-composable-helpers/helpers/filter-by"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/filter",["exports","ember-composable-helpers/helpers/filter"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/find-by",["exports","ember-composable-helpers/helpers/find-by"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/flatten",["exports","ember-composable-helpers/helpers/flatten"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return t.flatten}})})),define("mimolive-remote-control/helpers/format-seconds",["exports","@ember/component/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.formatSeconds=o
const{floor:n}=Math
function o([e]){const t=e+1,o=n(t/60),r=n(t%60)
return o>0?`${o}:${function(e){const t=String(e)
return"00".substring(0,"00".length-t.length)+t}(r)}`:""+r}var r=(0,t.helper)(o)
e.default=r})),define("mimolive-remote-control/helpers/group-by",["exports","ember-composable-helpers/helpers/group-by"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/gt",["exports","ember-truth-helpers/helpers/gt"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"gt",{enumerable:!0,get:function(){return t.gt}})})),define("mimolive-remote-control/helpers/gte",["exports","ember-truth-helpers/helpers/gte"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"gte",{enumerable:!0,get:function(){return t.gte}})})),define("mimolive-remote-control/helpers/has-next",["exports","ember-composable-helpers/helpers/has-next"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"hasNext",{enumerable:!0,get:function(){return t.hasNext}})})),define("mimolive-remote-control/helpers/has-previous",["exports","ember-composable-helpers/helpers/has-previous"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"hasPrevious",{enumerable:!0,get:function(){return t.hasPrevious}})})),define("mimolive-remote-control/helpers/inc",["exports","ember-composable-helpers/helpers/inc"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"inc",{enumerable:!0,get:function(){return t.inc}})})),define("mimolive-remote-control/helpers/intersect",["exports","ember-composable-helpers/helpers/intersect"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/invoke",["exports","ember-composable-helpers/helpers/invoke"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"invoke",{enumerable:!0,get:function(){return t.invoke}})})),define("mimolive-remote-control/helpers/is-after",["exports","ember-moment/helpers/is-after"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/is-array",["exports","ember-truth-helpers/helpers/is-array"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isArray",{enumerable:!0,get:function(){return t.isArray}})})),define("mimolive-remote-control/helpers/is-before",["exports","ember-moment/helpers/is-before"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/is-between",["exports","ember-moment/helpers/is-between"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/is-empty",["exports","ember-truth-helpers/helpers/is-empty"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/is-equal",["exports","ember-truth-helpers/helpers/is-equal"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return t.isEqual}})})),define("mimolive-remote-control/helpers/is-same-or-after",["exports","ember-moment/helpers/is-same-or-after"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/is-same-or-before",["exports","ember-moment/helpers/is-same-or-before"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/is-same",["exports","ember-moment/helpers/is-same"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/join",["exports","ember-composable-helpers/helpers/join"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/lf-lock-model",["exports","liquid-fire/helpers/lf-lock-model"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lfLockModel",{enumerable:!0,get:function(){return t.lfLockModel}})})),define("mimolive-remote-control/helpers/lf-or",["exports","liquid-fire/helpers/lf-or"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lfOr",{enumerable:!0,get:function(){return t.lfOr}})})),define("mimolive-remote-control/helpers/lt",["exports","ember-truth-helpers/helpers/lt"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lt",{enumerable:!0,get:function(){return t.lt}})})),define("mimolive-remote-control/helpers/lte",["exports","ember-truth-helpers/helpers/lte"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"lte",{enumerable:!0,get:function(){return t.lte}})}))
define("mimolive-remote-control/helpers/map-by",["exports","ember-composable-helpers/helpers/map-by"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/map",["exports","ember-composable-helpers/helpers/map"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-add",["exports","ember-moment/helpers/moment-add"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-calendar",["exports","ember-moment/helpers/moment-calendar"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-diff",["exports","ember-moment/helpers/moment-diff"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-duration",["exports","ember-moment/helpers/moment-duration"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-format",["exports","ember-moment/helpers/moment-format"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-from-now",["exports","ember-moment/helpers/moment-from-now"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-from",["exports","ember-moment/helpers/moment-from"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-subtract",["exports","ember-moment/helpers/moment-subtract"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-to-date",["exports","ember-moment/helpers/moment-to-date"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-to-now",["exports","ember-moment/helpers/moment-to-now"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-to",["exports","ember-moment/helpers/moment-to"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment-unix",["exports","ember-moment/helpers/unix"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/moment",["exports","ember-moment/helpers/moment"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/next",["exports","ember-composable-helpers/helpers/next"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"next",{enumerable:!0,get:function(){return t.next}})})),define("mimolive-remote-control/helpers/noop",["exports","ember-composable-helpers/helpers/noop"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return t.noop}})})),define("mimolive-remote-control/helpers/not-eq",["exports","ember-truth-helpers/helpers/not-equal"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"notEq",{enumerable:!0,get:function(){return t.notEq}})})),define("mimolive-remote-control/helpers/not",["exports","ember-truth-helpers/helpers/not"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return t.not}})})),define("mimolive-remote-control/helpers/now",["exports","ember-moment/helpers/now"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/object-at",["exports","ember-composable-helpers/helpers/object-at"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"objectAt",{enumerable:!0,get:function(){return t.objectAt}})})),define("mimolive-remote-control/helpers/optional",["exports","ember-composable-helpers/helpers/optional"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"optional",{enumerable:!0,get:function(){return t.optional}})})),define("mimolive-remote-control/helpers/or",["exports","ember-truth-helpers/helpers/or"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"or",{enumerable:!0,get:function(){return t.or}})})),define("mimolive-remote-control/helpers/page-title",["exports","ember-page-title/helpers/page-title"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/helpers/perform",["exports","ember-concurrency/helpers/perform"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/pipe-action",["exports","ember-composable-helpers/helpers/pipe-action"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/pipe",["exports","ember-composable-helpers/helpers/pipe"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"pipe",{enumerable:!0,get:function(){return t.pipe}})})),define("mimolive-remote-control/helpers/pluralize",["exports","ember-inflector/lib/helpers/pluralize"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/helpers/previous",["exports","ember-composable-helpers/helpers/previous"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"previous",{enumerable:!0,get:function(){return t.previous}})})),define("mimolive-remote-control/helpers/queue",["exports","ember-composable-helpers/helpers/queue"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"queue",{enumerable:!0,get:function(){return t.queue}})}))
define("mimolive-remote-control/helpers/range",["exports","ember-composable-helpers/helpers/range"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"range",{enumerable:!0,get:function(){return t.range}})})),define("mimolive-remote-control/helpers/reduce",["exports","ember-composable-helpers/helpers/reduce"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/reject-by",["exports","ember-composable-helpers/helpers/reject-by"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/repeat",["exports","ember-composable-helpers/helpers/repeat"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"repeat",{enumerable:!0,get:function(){return t.repeat}})})),define("mimolive-remote-control/helpers/reverse",["exports","ember-composable-helpers/helpers/reverse"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/route-action",["exports","ember-route-action-helper/helpers/route-action"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/shuffle",["exports","ember-composable-helpers/helpers/shuffle"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"shuffle",{enumerable:!0,get:function(){return t.shuffle}})})),define("mimolive-remote-control/helpers/singularize",["exports","ember-inflector/lib/helpers/singularize"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/helpers/slice",["exports","ember-composable-helpers/helpers/slice"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/sort-by",["exports","ember-composable-helpers/helpers/sort-by"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/t",["exports","ember-i18n/helper"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/take",["exports","ember-composable-helpers/helpers/take"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/task",["exports","ember-concurrency/helpers/task"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/toggle-action",["exports","ember-composable-helpers/helpers/toggle-action"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/toggle",["exports","ember-composable-helpers/helpers/toggle"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"toggle",{enumerable:!0,get:function(){return t.toggle}})})),define("mimolive-remote-control/helpers/union",["exports","ember-composable-helpers/helpers/union"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/unix",["exports","ember-moment/helpers/unix"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/helpers/utc",["exports","ember-moment/helpers/utc"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"utc",{enumerable:!0,get:function(){return t.utc}})})),define("mimolive-remote-control/helpers/without",["exports","ember-composable-helpers/helpers/without"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"without",{enumerable:!0,get:function(){return t.without}})})),define("mimolive-remote-control/helpers/xor",["exports","ember-truth-helpers/helpers/xor"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"xor",{enumerable:!0,get:function(){return t.xor}})})),define("mimolive-remote-control/icons/config",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={name:"",css_prefix_text:"icon-",css_use_suffix:!1,hinting:!0,units_per_em:1e3,ascent:850,glyphs:[{uid:"8b80d36d4ef43889db10bc1f0dc9a862",css:"user",code:59392,src:"fontawesome"},{uid:"0f99ab40ab0b4d64a74f2d0deeb03e42",css:"factime-video",code:59394,src:"fontawesome"},{uid:"381da2c2f7fd51f8de877c044d7f439d",css:"picture",code:59395,src:"fontawesome"},{uid:"dc3f1d5b1d006f7f7b3b6295eccab9da",css:"camera",code:59396,src:"fontawesome"},{uid:"ccc2329632396dc096bb638d4b46fb98",css:"mail-alt",code:61664,src:"fontawesome"},{uid:"31972e4e9d080eaa796290349ae6c1fd",css:"users",code:59397,src:"fontawesome"},{uid:"dd492243d64e21dfe16a92452f7861cb",css:"th-large",code:59398,src:"fontawesome"},{uid:"b1887b423d2fd15c345e090320c91ca0",css:"th",code:59399,src:"fontawesome"},{uid:"f805bb95d40c7ef2bc51b3d50d4f2e5c",css:"th-list",code:59400,src:"fontawesome"},{uid:"9ea0a737ccc45d6c510dcbae56058849",css:"music",code:59401,src:"fontawesome"},{uid:"e82cedfa1d5f15b00c5a81c9bd731ea2",css:"info",code:59402,src:"fontawesome"},{uid:"0f4cae16f34ae243a6144c18a003f2d8",css:"cancel-circled",code:59403,src:"fontawesome"},{uid:"43ab845088317bd348dee1d975700c48",css:"ok-circled",code:59404,src:"fontawesome"},{uid:"d7271d490b71df4311e32cdacae8b331",css:"home",code:59405,src:"fontawesome"},{uid:"eeadb020bb75d089b25d8424aabe19e0",css:"minus-circled",code:59406,src:"fontawesome"},{uid:"4ba33d2607902cf690dd45df09774cb0",css:"plus-circled",code:59407,src:"fontawesome"},{uid:"5e2ab018e3044337bcef5f7e94098ea1",css:"thumbs-up",code:61796,src:"fontawesome"},{uid:"ddcd918b502642705838815d40aea9e3",css:"thumbs-down",code:61797,src:"fontawesome"},{uid:"de2fc7a5c986ab8c622f63455d7cf814",css:"upload",code:61678,src:"fontawesome"},{uid:"0133387f2069a1b3168942b84d81dd3a",css:"gamepad",code:61723,src:"fontawesome"},{uid:"85528017f1e6053b2253785c31047f44",css:"comment",code:59408,src:"fontawesome"},{uid:"671f29fa10dda08074a4c6a341bb4f39",css:"bell-alt",code:61683,src:"fontawesome"},{uid:"0d08dbb1dd648a43bdea81b7e6c9e036",css:"location",code:59410,src:"fontawesome"},{uid:"00391fac5d419345ffcccd95b6f76263",css:"exclamation",code:61738,src:"fontawesome"},{uid:"72b1277834cba5b7944b0a6cac7ddb0d",css:"rss",code:61598,src:"fontawesome"},{uid:"9f7e588c66cfd6891f6f507cf6f6596b",css:"phone",code:59411,src:"fontawesome"},{uid:"21b42d3c3e6be44c3cc3d73042faa216",css:"sliders",code:61918,src:"fontawesome"},{uid:"531bc468eecbb8867d822f1c11f1e039",css:"calendar",code:59412,src:"fontawesome"},{uid:"19c50c52858a81de58f9db488aba77bc",css:"mic",code:61744,src:"fontawesome"},{uid:"43c629249e2cca7e73cd4ef410c9551f",css:"mute",code:61745,src:"fontawesome"},{uid:"f27bba41a700af51a4dd23cf4edea61d",css:"headphones",code:59413,src:"fontawesome"},{uid:"e594fc6e5870b4ab7e49f52571d52577",css:"resize-full",code:59414,src:"fontawesome"},{uid:"b013f6403e5ab0326614e68d1850fd6b",css:"resize-full-alt",code:61618,src:"fontawesome"},{uid:"ce06b5805120d0c2f8d60cd3f1a4fdb5",css:"play",code:59416,src:"fontawesome"},{uid:"b624a1e512819d410ddbee84e6918b9d",css:"stop",code:59417,src:"fontawesome"},{uid:"0b28050bac9d3facf2f0226db643ece0",css:"pause",code:59418,src:"fontawesome"},{uid:"598a5f2bcf3521d1615de8e1881ccd17",css:"clock",code:59419,src:"fontawesome"},{uid:"5278ef7773e948d56c4d442c8c8c98cf",css:"lightbulb",code:61675,src:"fontawesome"},{uid:"1c4068ed75209e21af36017df8871802",css:"arrow-down",code:59420,src:"fontawesome"},{uid:"555ef8c86832e686fef85f7af2eb7cde",css:"arrow-left",code:59421,src:"fontawesome"},{uid:"ad6b3fbb5324abe71a9c0b6609cbb9f1",css:"arrow-right",code:59422,src:"fontawesome"},{uid:"95376bf082bfec6ce06ea1cda7bd7ead",css:"arrow-up",code:59423,src:"fontawesome"},{uid:"4e511190b60f329d08301eb6869c5130",css:"fast-fw",code:59426,src:"fontawesome"},{uid:"b3d902fcead809e3a64c7ddcda497a6c",css:"fast-bw",code:59425,src:"fontawesome"},{uid:"f9cbf7508cd04145ade2800169959eef",css:"font",code:59424,src:"fontawesome"},{uid:"02cca871bb69da75e8ee286b7055832c",css:"bold",code:59427,src:"fontawesome"},{uid:"757afacc32d82967975cbb3b45cfb41b",css:"desktop",code:61704,src:"fontawesome"},{uid:"500fc1f109021e4b1de4deda2f7ed399",css:"laptop",code:61705,src:"fontawesome"},{uid:"f001fc3d4daa7da078e8c971e4f36977",css:"tablet",code:61706,src:"fontawesome"},{uid:"0357f7abbc0babf43509669f332e41e6",css:"mobile",code:61707,src:"fontawesome"},{uid:"197375a3cea8cb90b02d06e4ddf1433d",css:"globe",code:59428,src:"fontawesome"},{uid:"aa035df0908c4665c269b7b09a5596f3",css:"sun",code:61829,src:"fontawesome"},{uid:"2c413e78faf1d6631fd7b094d14c2253",css:"cloud",code:59429,src:"fontawesome"},{uid:"3212f42c65d41ed91cb435d0490e29ed",css:"flash",code:59430,src:"fontawesome"},{uid:"567e3e257f2cc8fba2c12bf691c9f2d8",css:"moon",code:61830,src:"fontawesome"},{uid:"24ca41ab002c09de6e89b28f9d599508",css:"umbrella",code:59431,src:"fontawesome"},{uid:"297fe6c2ef08198b03d706ba52f51b7f",css:"flight",code:59432,src:"fontawesome"},{uid:"a2a74f5e7b7d9ba054897d8c795a326a",css:"bullet-list",code:61642,src:"fontawesome"},{uid:"107ce08c7231097c7447d8f4d059b55f",css:"ellipsis",code:61761,src:"fontawesome"},{uid:"8b9e6a8dd8f67f7c003ed8e7e5ee0857",css:"off",code:59433,src:"fontawesome"},{uid:"9755f76110ae4d12ac5f9466c9152031",css:"book",code:59434,src:"fontawesome"},{uid:"266d5d9adf15a61800477a5acf9a4462",css:"chart-bar",code:59435,src:"fontawesome"},{uid:"7d1ca956f4181a023de4b9efbed92524",css:"chart-area",code:61950,src:"fontawesome"},{uid:"554ee96588a6c9ee632624cd051fe6fc",css:"chart-pie",code:61952,src:"fontawesome"},{uid:"f4445feb55521283572ee88bc304f928",css:"floppy",code:59436,src:"fontawesome"},{uid:"3e674995cacc2b09692c096ea7eb6165",css:"megaphone",code:59437,src:"fontawesome"},{uid:"d61be837c725a299b432dcbee2ecdae6",css:"certificate",code:61603,src:"fontawesome"},{uid:"9937d762aee170b7350b15dd02dd34a3",css:"cab",code:61881,src:"fontawesome"},{uid:"7f3d8ff1d5f6ee019f0c00ed7a86caec",css:"truck",code:59438,src:"fontawesome"},{uid:"5b17c7263caa553039655f2fef81ecaf",css:"bus",code:61959,src:"fontawesome"},{uid:"891d861cffd152a6474f01e77716d44e",css:"bicycle",code:61958,src:"fontawesome"},{uid:"26667777684de4808cedd3783834356f",css:"subway",code:62009,src:"fontawesome"},{uid:"3bf0956ae356f79d805fb17f4a523f24",css:"ship",code:61978,src:"fontawesome"},{uid:"026007bd17bfc67f3fe013199676f620",css:"dollar",code:61781,src:"fontawesome"},{uid:"3a26448b711645ba1abfc86c1a6e2f30",css:"coffee",code:61684,src:"fontawesome"},{uid:"30b79160618d99ce798e4bd11cafe3fe",css:"food",code:61685,src:"fontawesome"},{uid:"fa10777b2d88cc64cd6e4f26ef0e5264",css:"terminal",code:61728,src:"fontawesome"},{uid:"20fc52f9a88bb7bda023ef209acac095",css:"graduation-cap",code:61853,src:"fontawesome"},{uid:"88da60b3a17e5744695682833a178e73",css:"tree",code:61883,src:"fontawesome"},{uid:"032bd8bbd70adf90ead98b6813bfe446",css:"newspaper",code:61930,src:"fontawesome"},{uid:"1ee2aeb352153a403df4b441a8bc9bda",css:"calc",code:61932,src:"fontawesome"},{uid:"4a74a0f87d4089efe7aba1825bff4193",css:"copyright",code:61945,src:"fontawesome"},{uid:"33194d4a025fbf12baca54579afe4c8e",css:"at",code:61946,src:"fontawesome"},{uid:"fa9a0b7e788c2d78e24cef1de6b70e80",css:"brush",code:61948,src:"fontawesome"},{uid:"58a16628dcbd6456c61218f3d27591be",css:"skype",code:61822,src:"fontawesome"},{uid:"e70df9acbabaebfbbf9c1dbc3e52ab13",css:"twitch",code:61928,src:"fontawesome"},{uid:"627abcdb627cb1789e009c08e2678ef9",css:"twitter",code:61593,src:"fontawesome"},{uid:"4743b088aa95d6f3b6b990e770d3b647",css:"facebook",code:62216,src:"fontawesome"},{uid:"1f66490bf24c99e2c56b866d8fbd0372",css:"vimeo",code:61844,src:"fontawesome"},{uid:"47a1f80457068fbeab69fdb83d7d0817",css:"youtube-play",code:61802,src:"fontawesome"},{uid:"69bd9dfe950d07d910f39c6988364e49",css:"battery-full",code:62016,src:"fontawesome"},{uid:"9983d2489e028d659d196915a25ef3ca",css:"battery-empty",code:62020,src:"fontawesome"},{uid:"12a80769cc7ac08e986deeafbe553054",css:"mouse-pointer",code:62021,src:"fontawesome"},{uid:"c5af9b4626c0f2fa6dc259f9f035b055",css:"safari",code:62055,src:"fontawesome"},{uid:"53c28626072159c49f33b71d67138ad9",css:"commenting",code:62074,src:"fontawesome"},{uid:"21e7025c85a7eeae71fd3539855afe2b",css:"usb",code:62087,src:"fontawesome"},{uid:"90e0aff5c929e444038355746a952aaf",css:"shopping-basket",code:62097,src:"fontawesome"},{uid:"2c452255d4fed51ef0a6ef86436a7d08",css:"percent",code:62101,src:"fontawesome"},{uid:"15899c11210bc9f45fc15a507789f6be",css:"address-book",code:62137,src:"fontawesome"},{uid:"79d27b578931fd441a6dc885c9dd88a6",css:"address-card",code:62139,src:"fontawesome"},{uid:"818981e2ad316f18ae61cfa805d41309",css:"user-circle",code:62141,src:"fontawesome"},{uid:"07c8bfac1a39b6c62bc83e23a3c4b706",css:"thermometer",code:62151,src:"fontawesome"},{uid:"c22930d29b554d41c0ef882aafd3f8c9",css:"thermometer-2",code:62153,src:"fontawesome"},{uid:"bc89c320cf57f6c88f1ae7248e12a28f",css:"thermometer-0",code:62155,src:"fontawesome"},{uid:"af4312b5501867fa089ec3afeece5630",css:"podcast",code:62158,src:"fontawesome"},{uid:"56f2eac13d2b397ff4a54dc38f783b95",css:"snowflake",code:62172,src:"fontawesome"},{uid:"0ddd3e8201ccc7d41f7b7c9d27eca6c1",css:"link",code:59441,src:"fontawesome"},{uid:"9affc98d652b86628d650ee58dbf0357",css:"basket-1",code:59442,src:"fontawesome"},{uid:"c76b7947c957c9b78b11741173c8349b",css:"attention",code:59439,src:"fontawesome"},{uid:"890bcc8897cce868f6ee65cadadde036",css:"beer",code:61692,src:"fontawesome"},{uid:"872d9516df93eb6b776cc4d94bd97dac",css:"film",code:59393,src:"fontawesome"},{uid:"ab656e280958018a7859eba9a1eabbc7",css:"award",code:59409,src:"fontawesome"},{uid:"53dd31a6cc6438192b2d7b09b1c1dd45",css:"columns",code:61659,src:"fontawesome"},{uid:"8aa99bc60f3553bb3e31b73dd6e744c8",css:"rocket",code:61749,src:"fontawesome"},{uid:"5211af474d3a9848f67f945e2ccaf143",css:"remove",code:59415,src:"fontawesome"},{uid:"399ef63b1e23ab1b761dfbb5591fa4da",css:"menu-right",code:59440,src:"fontawesome"},{uid:"d870630ff8f81e6de3958ecaeac532f2",css:"menu-left",code:59443,src:"fontawesome"},{uid:"e99461abfef3923546da8d745372c995",css:"cog",code:59444,src:"fontawesome"},{uid:"98687378abd1faf8f6af97c254eb6cd6",css:"cogs",code:59445,src:"fontawesome"},{uid:"861ab06e455e2de3232ebef67d60d708",css:"minus",code:59446,src:"fontawesome"},{uid:"44e04715aecbca7f266a17d5a7863c68",css:"plus",code:59447,src:"fontawesome"},{uid:"14cab076c708524c1031b29ffd1c188f",css:"record",code:59448,src:"elusive"},{uid:"fa1743bafe39b68a063a07cd45c28796",css:"blackboard",code:59449,src:"custom_icons",selected:!0,svg:{path:"M526.3 852.8C528.6 853.4 530.8 854.3 533 855.5L703.9 954.2C716.5 961.5 720.8 977.5 713.5 990.1 706.2 1002.7 690.2 1007 677.6 999.8L506.6 901.1C504.1 899.6 501.9 897.7 500 895.6 498.1 897.7 495.9 899.6 493.4 901.1L322.4 999.8C309.8 1007 293.8 1002.7 286.5 990.1 279.2 977.5 283.5 961.5 296.1 954.2L467 855.5C469.2 854.3 471.4 853.4 473.7 852.8V736.8H26.3C11.8 736.8 0 725.1 0 710.5V697.4C0 682.8 11.8 671.1 26.3 671.1H973.7C988.2 671.1 1000 682.8 1000 697.4V710.5C1000 725.1 988.2 736.8 973.7 736.8H526.3V852.8ZM26.3 0H973.7C988.2 0 1000 11.8 1000 26.3V39.5C1000 54 988.2 65.8 973.7 65.8H26.3C11.8 65.8 0 54 0 39.5V26.3C0 11.8 11.8 0 26.3 0ZM39.5 105.3H960.5V631.6H39.5V105.3ZM684.2 368.4L368.4 197.4V539.5L684.2 368.4Z",width:1e3},search:["presentation","blackboard"]},{uid:"76857a03fbaa6857fe063b6c25aa98ed",css:"volume",code:59450,src:"fontawesome"},{uid:"8e0220796066428d6ddea96a4f1b5131",css:"loop",code:59451,src:"entypo"}]}})),define("mimolive-remote-control/index",["exports","ember-cli-uuid"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"uuid",{enumerable:!0,get:function(){return t.uuid}})})),define("mimolive-remote-control/initializers/app-version",["exports","ember-cli-app-version/initializer-factory","mimolive-remote-control/config/environment"],(function(e,t,n){let o,r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n.default.APP&&(o=n.default.APP.name,r=n.default.APP.version)
var i={name:"App Version",initialize:(0,t.default)(o,r)}
e.default=i})),define("mimolive-remote-control/initializers/component-styles",["exports","ember-component-css/initializers/component-styles","ember","mimolive-remote-control/mixins/style-namespacing-extras"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}}),n.default.Component.reopen(o.default)})),define("mimolive-remote-control/initializers/container-debug-adapter",["exports","ember-resolver/resolvers/classic/container-debug-adapter"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n={name:"container-debug-adapter",initialize(){(arguments[1]||arguments[0]).register("container-debug-adapter:main",t.default)}}
e.default=n})),define("mimolive-remote-control/initializers/ember-cli-mirage",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t={name:"ember-cli-mirage",initialize(){}}
e.default=t})),define("mimolive-remote-control/initializers/ember-cli-uuid",["exports","mimolive-remote-control/config/environment","ember-cli-uuid/mixins/adapters/uuid","ember-cli-uuid/configuration","@ember-data/adapter"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i={name:"ember-cli-uuid",initialize(){const e=t.default["ember-cli-uuid"]||{}
o.default.load(e),r.default.reopen({generateIdForRecord(){return o.default.defaultUUID?(0,n.generateIdForRecord)(...arguments):null}})}}
e.default=i})),define("mimolive-remote-control/initializers/ember-data",["exports","ember-data/setup-container","ember-data"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o={name:"ember-data",initialize:t.default}
e.default=o})),define("mimolive-remote-control/initializers/ember-i18n",["exports","ember-i18n/initializers/ember-i18n"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/initializers/export-application-global",["exports","ember","mimolive-remote-control/config/environment"],(function(e,t,n){function o(){var e=arguments[1]||arguments[0]
if(!1!==n.default.exportApplicationGlobal){var o
if("undefined"!=typeof window)o=window
else if("undefined"!=typeof global)o=global
else{if("undefined"==typeof self)return
o=self}var r,i=n.default.exportApplicationGlobal
r="string"==typeof i?i:t.default.String.classify(n.default.modulePrefix),o[r]||(o[r]=e,e.reopen({willDestroy:function(){this._super.apply(this,arguments),delete o[r]}}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.initialize=o
var r={name:"export-application-global",initialize:o}
e.default=r}))
define("mimolive-remote-control/initializers/liquid-fire",["exports","liquid-fire/velocity-ext"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={name:"liquid-fire",initialize:function(){}}})),define("mimolive-remote-control/initializers/model-fragments",["exports","ember-data-model-fragments"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n={name:"fragmentTransform",before:"ember-data",initialize(e){e.inject("transform","store","service:store")}}
e.default=n})),define("mimolive-remote-control/initializers/side-menu",["exports","ember-side-menu/initializers/side-menu"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("mimolive-remote-control/instance-initializers/ember-data",["exports","ember-data/initialize-store-service"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n={name:"ember-data",initialize:t.default}
e.default=n})),define("mimolive-remote-control/instance-initializers/ember-i18n",["exports","ember-i18n/instance-initializers/ember-i18n"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/instance-initializers/route-styles",["exports","ember-component-css/instance-initializers/route-styles"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"initialize",{enumerable:!0,get:function(){return t.initialize}})})),define("mimolive-remote-control/locales/en/config",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={}})),define("mimolive-remote-control/locales/en/translations",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={documents:{navbar:{heading:"mimoLive Remote Controls"},heading:"Available Documents",namePlaceholder:"Untitled Document",noDocuments:"There are no documents available. To control a document, open it in mimoLive."},canvas:{create:{heading:"Create Control Surface",title:"Title",width:"Width",height:"Height",save:"Save Control Surface",back:"Back",gridSizeWarning:"This control surface may be too detailed for this device's resolution!"},edit:{heading:"Edit Control Surface",title:"Title",width:"Width",height:"Height",delete:"Delete Control Surface",confirmDelete:"Click Again to Delete",gridSizeWarning:"This control surface may be too detailed for this device's resolution!"},tile:{edit:{heading:"Edit Action Button",title:"Title",subtitle:"Secondary Title",color:"Color",icon:"Icon",width:"Width",height:"Height",interaction:"Interaction",actions:"Actions",chooseAction:"Choose Action",addAction:"Add Action",liveState:"Live State Indicator",chooseLiveState:"Choose Live State Indicator",preview:"Video Preview",choosePreview:"Choose Video Preview",delete:"Delete Action Button",confirmDelete:"Click Again to Delete"},clickedDuringEdit:{heading:"In Edit Mode",message:'Triggering actions is only possible in "Live" mode. The current mode is indicated and controlled in the top right corner.',enterLiveMode:"Enter Live Mode"}},navbar:{back:"Control Surfaces",presetChooser:"Add Button",documentTitlePlaceholder:"Control Surface Title"},saveError:{heading:"There was an error saving this canvas.",hint:"Check if the network connection between this device and mimoLive is intact and reload this page.",description:"Error description: {{description}}"},canvasTooLarge:"This control surface may be too detailed for this device's resolution! If you encounter usability problems, consider creating a new control surface suitable for this device. This message will only be shown once for this control surface."},canvases:{navbar:{heading:"mimoLive Remote Controls",back:"Documents"},heading:"Available Control Surfaces",description:'Created {{created}}, <span class="nowrap">{{width}} x {{height}}</span>',create:"Create Control Surface",namePlaceholder:"Untitled Control Surface"},modeToggle:{liveLabel:"Live",editLabel:"Edit"},actionChooser:{heading:"Actions",selectTarget:{heading:"Select Target",document:"Document",layers:"Layers",layerSets:"Layer Sets",sources:"Sources",outputDestinations:"Output Destinations",hasNoLayers:"Document has no layers.",hasNoLayersWithText:"Document has no layers with text inputs.",hasNoSources:"Document has no sources."},document:{heading:"Document Actions",back:"Back",title:"Document Live State",toggleLive:"Toggle Live State",setLive:"Set Live",setOff:"Set Off"},layer:{heading:"Layer Actions",back:"Back",title:"Layer Live State",toggleLive:"Toggle Live State",setLive:"Set Live",setOff:"Set Off",volume:"Layer Volume",variants:"Variants",cycleThroughVariants:"Cycle Through Variants",textInputs:{heading:"Layer Text Inputs"}},variant:{back:"Layer",toggleLive:"Toggle Live State",setLive:"Set Live",setOff:"Set Off",liveState:"Live State",signals:"Signals",toggleSwitches:"Toggle Switches",textInputs:"Text Inputs",numericInputs:"Numeric Inputs"},layerSet:{recall:'Recall "{{layerSetName}}"'},outputDestination:{back:"Back",heading:"Output Destination",title:'Actions for "{{outputDestinationTitle}}"',setLive:"Set Live",setOff:"Set Off"}},liveStateChooser:{selectTarget:{heading:"Select Live State",document:"Document's Live State",layers:"Layers",layerSets:"Layer Sets",outputDestinations:"Output Destinations",sources:"Sources",hasNoSources:"Document has no sources."},layer:{heading:"Select Variant",back:"Targets",ownLiveState:"Layer's Live State",variantsHeading:"Variants' Live States"},variant:{heading:"Select Live State",back:"Variants",ownLiveState:"Variant's Live State",dynamicSources:"Dynamic Sources",toggleSwitches:"Toggle Switches"}},previewChooser:{selectTarget:{heading:"Select Preview Source",document:"Document",layers:"Layers with Dynamic Sources",sources:"Sources",hasNoLayers:"The current document has no layers with dynamic sources.",hasNoSources:"The current document has no sources.",programOut:"Program Output"},layer:{heading:"Select Variant",back:"Targets",variantsHeading:"Variants"},variant:{heading:"Select Source",back:"Variants",dynamicSources:"Dynamic Sources"}},presetChooser:{selectTarget:{heading:"Button Templates",document:'Document "{{documentName}}"',layers:'Layers of "{{documentName}}"',layerSets:'Layer Sets of "{{documentName}}"',outputDestinations:'Output Destinations of "{{documentName}}"',sources:"Sources",hasNoLayers:"The current document has no layers.",hasNoSources:"The current document has no sources.",blueprintButton:"Custom Button",helpText:"<b>Hint</b>: Drag one of the button presets above onto the control surface on the right to add buttons with preconfigured behavior."},layer:{heading:"Layer",layerActions:"Layer Actions",back:"Library",toggleLayer:"Toggle Live State",variantsHeading:"Variants",variantName:'Variant "{{variantName}}"',cycleThroughVariants:"Cycle through Variants"},variant:{heading:"Select Preset",back:"Layer",variantActions:"Variant Actions",toggleVariant:"Toggle Live State"},outputDestination:{heading:"Output Destination",back:"Back"},actions:{toggle:"Toggle"},document:{back:"Back",heading:"Document",programOut:"Program Output",startShow:"Start Show",stopShow:"Stop Show",clocks:{heading:"Clocks",showTimer:"Show Timer",wallClock:"Wall Clock Time"}}},icons:{user:"Portrait",film:"Clip",blackboard:"Presentation","facetime-video":"Camera",picture:"Image",music:"Audio",font:"Text",play:"Play",pause:"Pause",stop:"Stop"},savingOverlay:{saving:"Saving"},previewLayerVariants:{other:"{{count}} Variants"},errors:{unexpected:"Unexpected errors, please see details:",document:{heading:"Error",networkError:"There was an error obtaining documents from mimoLive. Make sure that the computer running mimoLive is connected to the network and try again.",notFound:"The requested document is currently not available in mimoLive. Make sure that the computer running mimoLive has the document open.",retryActive:"Trying again in 5 seconds…"},canvas:{heading:"Error",notFound:"The requested control surface is no longer available. Please choose a different control surface."},editTile:{heading:"Error",error:"There was an error editing this control button. Please try again."},action:{invalidType:"Invalid Action Type",targetNotFound:"Action target not found",unauthorized:"Unauthorized to perform action",networkError:"Network error",conflictError:"Execution prevented by MimoLive"},disconnect:{heading:"Disconnected",text:"The connection to mimoLive has been lost. There might be a network problem, or the operator closed mimoLive. Please make sure that mimoLive is running and the computer has a working network connection.",button:"Reload"},documentRemoved:{heading:"Document Closed",text:"The curently selected document was closed in mimoLive. Controls will become available once the document is opened again.",button:"Go to Documents"}},components:{"mrc-font-scale":{heading:"Font Size",smaller:"Smaller",default:"Default",larger:"Larger"}},general:{cancel:"Cancel",save:"Save",dontShowAgain:"Don't show this message again"}}})),define("mimolive-remote-control/mixins/authenticated-route",["exports","@ember/object/mixin","ember","ember-ajax/errors","ember-data/adapters/errors","sha256"],(function(e,t,n,o,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var l=t.default.create({actions:{error(e,t){if((0,o.isUnauthorizedError)(e)||e instanceof r.UnauthorizedError){try{const e=window.localStorage.getItem("mimolive-password")
e&&(0,i.sha256)(e).then(e=>{window.localStorage.setItem("mimolive-password-sha256",e),window.localStorage.removeItem("mimolive-password"),t.retry()})}catch(l){}const e=window.prompt("Enter remote control password set in mimoLive preferences:")
if(!e)return;(0,i.sha256)(e).then(e=>{try{window.localStorage.setItem("mimolive-password-sha256",e)}catch(o){let e="Unable to store password in localStorage. Authentication will not work properly."
n.default.Logger.error(e,o),window.alert(e)}t.retry()})}return!0}}})
e.default=l})),define("mimolive-remote-control/mixins/resizeable",["exports","@ember/object/mixin"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{addResizeListener:n,removeResizeListener:o}=function(){var e,t,n={},o=document.attachEvent,r=navigator.userAgent.match(/Trident/),i=(e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},function(t){return e(t)}),l=(t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(e){return t(e)})
function a(e){var t=e.target||e.srcElement
t.__resizeRAF__&&l(t.__resizeRAF__),t.__resizeRAF__=i((function(){var n=t.__resizeTrigger__
n.__resizeListeners__.forEach((function(t){t.call(n,e)}))}))}function s(){this.contentDocument.defaultView.__resizeTrigger__=this.__resizeElement__,this.contentDocument.defaultView.addEventListener("resize",a)}return n.addResizeListener=function(e,t){if(!e.__resizeListeners__)if(e.__resizeListeners__=[],o)e.__resizeTrigger__=e,e.attachEvent("onresize",a)
else{"static"===getComputedStyle(e).position&&(e.style.position="relative")
var n=e.__resizeTrigger__=document.createElement("object")
n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),n.__resizeElement__=e,n.onload=s,n.type="text/html",r&&e.appendChild(n),n.data="about:blank",r||e.appendChild(n)}e.__resizeListeners__.push(t)},n.removeResizeListener=function(e,t){e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(o?e.detachEvent("onresize",a):(e.__resizeTrigger__.contentDocument.defaultView.removeEventListener("resize",a),e.__resizeTrigger__=!e.removeChild(e.__resizeTrigger__)))},n}()
var r=t.default.create({didInsertElement(){this._super(...arguments),this.didResizeElement&&(this._boundDidResizeElement=this.didResizeElement.bind(this),n(this.element,this._boundDidResizeElement))},willDestroyElement(){this.didResizeElement&&o(this.element,this._boundDidResizeElement),this._super(...arguments)}})
e.default=r})),define("mimolive-remote-control/mixins/style-namespacing-extras",["exports","ember-component-css/mixins/style-namespacing-extras"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/mixins/tile",["exports","@ember/object","@ember/string","@ember/object/mixin"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=o.default.create({attributeBindings:["style"],style:(0,t.computed)("x","y","width","height","gridInfo.{width,height}",(function(){const{x:e,y:t}=this.getProperties("x","y"),o=this.get("width")||1,r=this.get("height")||1,i=this.get("gridInfo.height"),l=this.get("gridInfo.width"),a=[`left: ${100*e/l}%`,`top: ${100*t/i}%`,`width: ${100*o/l}%`,`height: ${100*r/i}%`]
return(0,n.htmlSafe)(a.join("; "))}))})
e.default=r})),define("mimolive-remote-control/modifiers/did-insert",["exports","@ember/render-modifiers/modifiers/did-insert"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/modifiers/did-pan",["exports","ember-gesture-modifiers/modifiers/did-pan"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/modifiers/did-update",["exports","@ember/render-modifiers/modifiers/did-update"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/modifiers/style",["exports","ember-style-modifier/modifiers/style"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/modifiers/will-destroy",["exports","@ember/render-modifiers/modifiers/will-destroy"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/pods/action-button/model",["exports","@ember/service","@ember/object/computed","@ember/object","ember-data/attr","ember-data-model-fragments/attributes","ember-data-model-fragments/fragment"],(function(e,t,n,o,r,i,l){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const a=function(e,t){for(const n of t){const t=e.get(n)
if(t)return t}return null}
var s=l.default.extend({colors:(0,t.inject)("colors"),color:(0,r.default)("string",{defaultValue:e=>e.get("colors.all.firstObject.code")}),text:(0,r.default)("string",{defaultValue:""}),subtext:(0,r.default)("string",{defaultValue:""}),icon:(0,r.default)("string"),x:(0,r.default)("number",{defaultValue:0}),y:(0,r.default)("number",{defaultValue:0}),width:(0,r.default)("number",{defaultValue:1}),height:(0,r.default)("number",{defaultValue:1}),actions:(0,i.fragmentArray)("action"),liveState:(0,i.fragment)("live-state"),sourcePreview:(0,i.fragment)("source-preview"),dynamicText:(0,i.fragment)("dynamic-text"),dynamicSubText:(0,i.fragment)("dynamic-text"),fontScale:(0,r.default)("number",{defaultValue:1}),canvas:(0,i.fragmentOwner)(),isSaving:(0,n.readOnly)("canvas.isSaving"),displayText:(0,o.computed)("text","dynamicText.{text,styledText}",(function(){return a(this,["text","dynamicText.styledText","dynamicText.text"])})),displaySubtext:(0,o.computed)("subtext","dynamicSubText.text",(function(){return a(this,["subtext","dynamicSubText.text"])})),save(){return this.get("canvas").save()}})
e.default=s})),define("mimolive-remote-control/pods/action-button/serializer",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{RESTSerializer:n}=t.default
var o=n.extend({})
e.default=o})),define("mimolive-remote-control/pods/action-chooser/actions/document/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"bQY/rz2z",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["action-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["actionChooser.document.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,1],["actionChooser.document.heading"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],["click",[28,[37,3],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,"\\n      "],[1,[28,[35,1],["actionChooser.document.title"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,4],null,[["type"],["toggleLive"]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.document.toggleLive"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,4],null,[["type"],["setLive"]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.document.setLive"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,4],null,[["type"],["setOff"]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.document.setOff"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["link-to","t","on","route-action","hash"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/document/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/actions/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{async model(){return this.modelFor("document")}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/actions/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"Sp9hbBkZ",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,0],["actionChooser.heading"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,1],["click",[28,[37,2],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[44,[[30,1]],[[[1,"      "],[8,[39,4],[[24,0,"link-entry"]],[["@route"],["action-chooser.actions.document"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,0],["actionChooser.selectTarget.document"],null]],[1,"\\n        "],[13],[1,"\\n        "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n      "]],[]]]]],[1,"\\n\\n      "],[10,"h5"],[12],[1,"\\n        "],[1,[28,[35,0],["actionChooser.selectTarget.layers"],null]],[1,"\\n      "],[13],[1,"\\n\\n"],[42,[28,[37,6],[[28,[37,6],[[28,[37,7],["index",[30,2,["layers"]]],null]],null]],null],null,[[[1,"        "],[8,[39,4],[[24,0,"link-entry"]],[["@route","@model"],["action-chooser.actions.layer",[30,3]]],[["default"],[[[[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,"\\n            "],[1,[30,3,["name"]]],[1,"\\n          "],[13],[1,"\\n          "],[1,[28,[35,8],[[30,3,["variants"]]],null]],[1,"\\n          "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[3]],[[[1,"        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,0],["actionChooser.selectTarget.hasNoLayers"],null]],[1,"\\n        "],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,2,["layerSets"]],[[[1,"        "],[10,"h5"],[12],[1,"\\n          "],[1,[28,[35,0],["actionChooser.selectTarget.layerSets"],null]],[1,"\\n        "],[13],[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,2,["layerSets"]]],null]],null],null,[[[1,"          "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],["click",[28,[37,2],["setAction",[28,[37,10],null,[["type","layerSet"],["recall",[30,4]]]]],null]],null],[12],[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,"\\n              "],[1,[28,[35,0],["actionChooser.layerSet.recall"],[["layerSetName"],[[30,4,["name"]]]]]],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n"]],[4]],null]],[]],null],[1,"\\n"],[41,[30,2,["outputDestinations"]],[[[1,"        "],[10,"h5"],[12],[1,"\\n          "],[1,[28,[35,0],["actionChooser.selectTarget.outputDestinations"],null]],[1,"\\n        "],[13],[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,2,["outputDestinations"]]],null]],null],null,[[[1,"          "],[8,[39,4],[[24,0,"link-entry"]],[["@route","@model"],["action-chooser.actions.output-destination",[30,5]]],[["default"],[[[[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,"\\n              "],[1,[30,5,["title"]]],[1,"\\n            "],[13],[1,"\\n            "],[1,[30,5,["summary"]]],[1,"\\n            "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n          "]],[]]]]],[1,"\\n"]],[5]],null]],[]],null],[1,"\\n"]],[2]]],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","document","layer","layerSet","outputDestination"],false,["t","on","route-action","let","link-to","each","-track-array","sort-by","mrc-preview-layer-variants","if","hash"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/actions/layer/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model(){return this.modelFor("action-chooser.actions.layer")}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/actions/layer/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"vhg/IH4i",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["action-chooser.actions"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["actionChooser.layer.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,1],["actionChooser.layer.heading"],null]],[1,"\\n    "],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],["click",[28,[37,3],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[44,[[30,1]],[[[1,"      "],[10,"h5"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.layer.title"],null]],[1,"\\n      "],[13],[1,"\\n      "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,5],null,[["type","layer"],["toggleLive",[30,2]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,1],["actionChooser.layer.toggleLive"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n\\n      "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,5],null,[["type","layer"],["setLive",[30,2]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,1],["actionChooser.layer.setLive"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n\\n      "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,5],null,[["type","layer"],["setOff",[30,2]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,1],["actionChooser.layer.setOff"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,"h5"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.layer.variants"],null]],[1,"\\n      "],[13],[1,"\\n\\n"],[42,[28,[37,7],[[28,[37,7],[[30,2,["variants"]]],null]],null],null,[[[1,"        "],[8,[39,0],[[24,0,"link-entry"]],[["@route","@models"],["action-chooser.actions.layer.variant",[28,[37,8],[[30,2],[30,3]],null]]],[["default"],[[[[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,"\\n            "],[1,[30,3,["name"]]],[1,"\\n          "],[13],[1,"\\n          "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[3]],null],[1,"\\n      "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,5],null,[["type","layer"],["cycleThroughVariants",[30,2]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,1],["actionChooser.layer.cycleThroughVariants"],null]],[1,"\\n        "],[13],[1,"\\n        "],[10,1],[14,0,"icon icon-loop"],[12],[13],[1,"\\n      "],[13],[1,"\\n"]],[2]]],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","layer","variant"],false,["link-to","t","on","route-action","let","hash","each","-track-array","array"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/layer/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/actions/layer/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/actions/layer/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"3xDqfcSY",block:'[[[8,[39,0],[[24,0,"action-chooser-layer"]],null,null],[1,"\\n"]],[],false,["liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/layer/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/actions/layer/variant/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({variant_id:e}){return this.modelFor("action-chooser.actions.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/action-chooser/actions/layer/variant/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"TgHK9HfV",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route","@model"],["action-chooser.actions.layer",[33,1,["layer"]]]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,2],["actionChooser.variant.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n    "],[10,"h4"],[12],[1,"Variant Actions"],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,3],[[30,0],[28,[37,4],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n\\n"],[10,0],[14,0,"scroll-content"],[12],[1,"\\n\\n  \\n  "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.variant.liveState"],null]],[13],[1,"\\n\\n  "],[11,0],[24,0,"link-entry clickable"],[4,[38,3],[[30,0],[28,[37,4],["setAction",[28,[37,5],null,[["type","variant"],["toggleLive",[33,1]]]]],null]],null],[12],[1,"\\n    "],[10,1],[14,0,"primary"],[12],[1,[28,[35,2],["actionChooser.variant.toggleLive"],null]],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[11,0],[24,0,"link-entry clickable"],[4,[38,3],[[30,0],[28,[37,4],["setAction",[28,[37,5],null,[["type","variant"],["setLive",[33,1]]]]],null]],null],[12],[1,"\\n    "],[10,1],[14,0,"primary"],[12],[1,[28,[35,2],["actionChooser.variant.setLive"],null]],[13],[1,"\\n  "],[13],[1,"\\n  \\n  "],[11,0],[24,0,"link-entry clickable"],[4,[38,3],[[30,0],[28,[37,4],["setAction",[28,[37,5],null,[["type","variant"],["setOff",[33,1]]]]],null]],null],[12],[1,"\\n    "],[10,1],[14,0,"primary"],[12],[1,[28,[35,2],["actionChooser.variant.setOff"],null]],[13],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[33,1,["sortedSignals"]],[[[1,"    "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.variant.signals"],null]],[13],[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[33,1,["sortedSignals"]]],null]],null],null,[[[1,"      "],[11,0],[24,0,"link-entry clickable"],[4,[38,3],[[30,0],[28,[37,4],["setAction",[28,[37,5],null,[["type","variant","signalKey","signalName"],["signal",[33,1],[30,1,["key"]],[30,1,["name"]]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,1,["name"]]],[13],[1,"\\n      "],[13],[1,"\\n"]],[1]],null]],[]],null],[1,"\\n"],[41,[33,1,["sortedToggleSwitches"]],[[[1,"    "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.variant.toggleSwitches"],null]],[13],[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[33,1,["sortedToggleSwitches"]]],null]],null],null,[[[1,"      "],[11,0],[24,0,"link-entry clickable"],[4,[38,3],[[30,0],[28,[37,4],["setAction",[28,[37,5],null,[["type","variant","toggleSwitchKey","toggleSwitchName"],["toggleSwitch",[33,1],[30,2,["key"]],[30,2,["name"]]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n        "],[1,[28,[35,9],null,[["value","onLabel","offLabel","disabled","onToggle"],[[28,[37,10],[[33,1,["inputValues"]],[30,2,["key"]]],null],"true","false",true,[28,[37,3],[[30,0],[28,[37,11],["bla"],null]],null]]]]],[1,"\\n      "],[13],[1,"\\n"]],[2]],null]],[]],null],[13],[1,"\\n"],[13]],["signal","toggleSwitch"],false,["link-to","model","t","action","route-action","hash","if","each","-track-array","x-toggle","get","optional"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/layer/variant/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/actions/output-destination/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model({output_destination_id:e}){return this.modelFor("document").get("outputDestinations").then(t=>t.findBy("id",e))}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/actions/output-destination/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"CPlxS0iG",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["action-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["actionChooser.outputDestination.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,1],["actionChooser.outputDestination.heading"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],["click",[28,[37,3],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,"\\n      "],[1,[28,[35,1],["actionChooser.outputDestination.title"],[["outputDestinationTitle"],[[30,1,["title"]]]]]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,4],null,[["type","outputDestination"],["setLive",[30,1]]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.outputDestination.setLive"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],["click",[28,[37,3],["setAction",[28,[37,4],null,[["type","outputDestination"],["setOff",[30,1]]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,"\\n        "],[1,[28,[35,1],["actionChooser.outputDestination.setOff"],null]],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model"],false,["link-to","t","on","route-action","hash"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/output-destination/template.hbs",isStrictMode:!1})
e.default=t}))
define("mimolive-remote-control/pods/action-chooser/actions/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DaHI8NqK",block:'[[[8,[39,0],null,[["@slideIn"],[true]],[["default"],[[[[1,"\\n  "],[8,[39,1],null,null,null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["mrc-modal","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/actions/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/route",["exports","@ember/routing/route","@ember/object","@ember/service"],(function(e,t,n,o){var r,i
function l(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(...e){var t,n,o,r
super(...e),t=this,n="router",r=this,(o=i)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}leave(){this.leaveActionChooser()}leaveActionChooser(){this.router.transitionTo("canvas.tile.edit")}setAction(e){const t=this.modelFor("canvas.tile.edit"),o=n.default.create({type:e.type})
e.variant?o.setProperties({variantId:(0,n.get)(e,"variant.id"),layerId:(0,n.get)(e,"variant.layer.id")}):e.layer?o.setProperties({layerId:(0,n.get)(e,"layer.id")}):e.layerSet?o.setProperties({layerSetId:(0,n.get)(e,"layerSet.id")}):e.source?o.setProperties({sourceId:(0,n.get)(e,"source.id")}):e.outputDestination&&o.setProperties({outputDestinationId:(0,n.get)(e,"outputDestination.id")}),e.signalKey?o.setProperties({signalKey:e.signalKey,signalName:e.signalName}):e.toggleSwitchKey?o.setProperties({toggleSwitchKey:e.toggleSwitchKey,toggleSwitchName:e.toggleSwitchName}):e.inputKey&&o.setProperties({inputKey:e.inputKey,inputName:e.inputName,inputDescription:e.inputDescription}),t.get("actions").createFragment(o),this.send("leaveActionChooser")}},i=l(r.prototype,"router",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l(r.prototype,"leave",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"leave"),r.prototype),l(r.prototype,"leaveActionChooser",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"leaveActionChooser"),r.prototype),l(r.prototype,"setAction",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"setAction"),r.prototype),r)
e.default=a})),define("mimolive-remote-control/pods/action-chooser/sliders/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{async model(){const e=this.modelFor("document"),[t,n]=await Promise.all([e.get("layers"),e.get("sources")])
return{layers:t,sources:n}}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/sliders/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"8n/vulvw",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[10,"h4"],[12],[1,"Sliders"],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,0],[[30,0],[28,[37,1],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.selectTarget.layers"],null]],[13],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[28,[37,5],["index",[33,6,["layers"]]],null]],null]],null],null,[[[1,"      "],[8,[39,7],[[24,0,"link-entry"]],[["@route","@model"],["action-chooser.sliders.layer",[30,1]]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,1,["name"]]],[13],[1,"\\n        "],[1,[28,[35,8],[[30,1,["variants"]]],null]],[1,"\\n        "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[1]],[[[1,"      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,2],["actionChooser.selectTarget.hasNoLayers"],null]],[13],[1,"\\n"]],[]]],[1,"\\n"],[44,[[28,[37,10],["hasGain",[33,6,["sources"]]],null]],[[[41,[30,2],[[[1,"        "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.selectTarget.sources"],null]],[13],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,2]],null]],null],null,[[[1,"          "],[11,0],[24,0,"link-entry clickable"],[4,[38,0],[[30,0],[28,[37,1],["setAction",[28,[37,12],null,[["type","source","inputKey","inputName","inputDescription"],["numericInput",[30,3],"gain","Gain",[28,[37,12],null,[["min","max"],[0,2]]]]]]],null]],null],[12],[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,[30,3,["name"]]],[1," Gain"],[13],[1,"\\n            "],[10,1],[14,0,"icon icon-volume"],[12],[13],[1,"\\n          "],[13],[1,"\\n"]],[3]],null]],[]],null]],[2]]],[1,"  "],[13],[1,"\\n"],[13]],["layer","sourcesWithGain","source"],false,["action","route-action","t","each","-track-array","sort-by","model","link-to","mrc-preview-layer-variants","let","filter-by","if","hash"]]',moduleName:"mimolive-remote-control/pods/action-chooser/sliders/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/sliders/layer/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model(){return this.modelFor("action-chooser.sliders.layer")}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/sliders/layer/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"Qi5NTA+U",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["action-chooser.sliders"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["actionChooser.layer.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,"Layer Sliders"],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],[[30,0],[28,[37,3],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[41,[30,1,["hasVolume"]],[[[1,"      "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],[[30,0],[28,[37,3],["setAction",[28,[37,5],null,[["type","layer","inputKey","inputName","inputDescription"],["numericInput",[33,6],"volume","Volume",[28,[37,5],null,[["min","max"],[0,1]]]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[28,[35,1],["actionChooser.layer.volume"],null]],[13],[1,"\\n        "],[10,1],[14,0,"icon icon-volume"],[12],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["hasVariantsWithNumericInputs"]],[[[1,"      "],[10,"h5"],[12],[1,[28,[35,1],["actionChooser.layer.variants"],null]],[13],[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[28,[37,9],["hasNumericInputs",[30,1,["variants"]]],null]],null]],null],null,[[[1,"        "],[8,[39,0],[[24,0,"link-entry"]],[["@route","@models"],["action-chooser.sliders.layer.variant",[28,[37,10],[[30,1],[30,2]],null]]],[["default"],[[[[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n          "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[2]],null]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["@model","variant"],false,["link-to","t","action","route-action","if","hash","model","each","-track-array","filter-by","array"]]',moduleName:"mimolive-remote-control/pods/action-chooser/sliders/layer/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/sliders/layer/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/sliders/layer/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"QnTL/rx+",block:'[[[1,[34,0]]],[],false,["liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/sliders/layer/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/sliders/layer/variant/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model({variant_id:e}){return this.modelFor("action-chooser.sliders.layer").get("variants").then(t=>t.findBy("id",e))}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/sliders/layer/variant/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"SwpDgQ58",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route","@model"],["action-chooser.sliders.layer",[33,1,["layer"]]]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,2],["actionChooser.variant.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,"Variant Sliders"],[13],[1,"\\n    \\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,3],[[30,0],[28,[37,4],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[41,[33,1,["numericInputs"]],[[[1,"      "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.variant.numericInputs"],null]],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[33,1,["groupedNumericInputs"]]],null]],null],null,[[[1,"        "],[10,"h6"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,1,["inputs"]]],null]],null],null,[[[1,"          "],[11,0],[24,0,"link-entry clickable"],[4,[38,3],[[30,0],[28,[37,4],["setAction",[28,[37,8],null,[["type","variant","inputKey","inputName","inputDescription"],["numericInput",[33,1],[28,[37,9],["inputValues.",[30,2,["key"]]],null],[30,2,["name"]],[28,[37,8],null,[["min","max","step","unit"],[[30,2,["valueMin"]],[30,2,["valueMax"]],[30,2,["valueStep"]],[30,2,["valueUnit"]]]]]]]]],null]],null],[12],[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n            "],[1,[30,2,["value"]]],[1,"\\n          "],[13],[1,"\\n"]],[2]],null]],[1]],null]],[]],null],[1,"\\n  "],[13],[1,"\\n"],[13]],["group","input"],false,["link-to","model","t","action","route-action","if","each","-track-array","hash","concat"]]',moduleName:"mimolive-remote-control/pods/action-chooser/sliders/layer/variant/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/sliders/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"rYCNKpO3",block:'[[[6,[39,0],null,[["slideIn"],[true]],[["default"],[[[[1,"  "],[1,[34,1]],[1,"\\n"]],[]]]]]],[],false,["mrc-modal","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/sliders/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"MIS2cAJe",block:'[[[46,[28,[37,1],null,null],null,null,null],[1,"\\n"]],[],false,["component","-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/text/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{async model(){const e=this.modelFor("document"),[t]=await Promise.all([e.get("layers")])
return{layers:t}}}e.default=n})),define("mimolive-remote-control/pods/action-chooser/text/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"0GVNPyX5",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[10,"h4"],[12],[1,"Text Inputs"],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,0],[[30,0],[28,[37,1],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,2],["actionChooser.selectTarget.layers"],null]],[13],[1,"\\n\\n"],[42,[28,[37,4],[[28,[37,4],[[28,[37,5],["index",[28,[37,6],["hasTextInputs",[30,1,["layers"]]],null]],null]],null]],null],null,[[[1,"      "],[8,[39,7],[[24,0,"link-entry"]],[["@route","@model"],["action-chooser.text.layer",[30,2]]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n        "],[1,[28,[35,8],[[30,2,["variants"]]],null]],[1,"\\n        "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[2]],[[[1,"      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,2],["actionChooser.selectTarget.hasNoLayersWithText"],null]],[13],[1,"\\n"]],[]]],[1,"  "],[13],[1,"\\n"],[13]],["@model","layer"],false,["action","route-action","t","each","-track-array","sort-by","filter-by","link-to","mrc-preview-layer-variants"]]',moduleName:"mimolive-remote-control/pods/action-chooser/text/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/text/layer/index/route",["exports","@ember/routing/route","@ember/service"],(function(e,t,n){var o,r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let i=(o=class extends t.default{constructor(...e){var t,n,o,i
super(...e),t=this,n="router",i=this,(o=r)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(i):void 0})}model(){return this.modelFor("action-chooser.text.layer")}afterModel(e){1===e.get("variants.length")&&this.router.transitionTo("action-chooser.text.layer.variant",e.get("variants.firstObject"))}},l=o.prototype,a="router",s=[n.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=s.slice().reverse().reduce((function(e,t){return t(l,a,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,a,d),d=null),r=d,o)
var l,a,s,c,u,d
e.default=i})),define("mimolive-remote-control/pods/action-chooser/text/layer/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"0RGz9FD0",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["action-chooser.text"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["actionChooser.layer.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,[28,[35,1],["actionChooser.layer.textInputs.heading"],null]],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],[[30,0],[28,[37,3],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,1],["actionChooser.layer.variants"],null]],[13],[1,"\\n\\n"],[42,[28,[37,5],[[28,[37,5],[[30,1,["variants"]]],null]],null],null,[[[1,"      "],[8,[39,0],[[24,0,"link-entry"]],[["@route","@models"],["action-chooser.text.layer.variant",[28,[37,6],[[30,1],[30,2]],null]]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n        "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[2]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","variant"],false,["link-to","t","action","route-action","each","-track-array","array"]]',moduleName:"mimolive-remote-control/pods/action-chooser/text/layer/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/text/layer/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/action-chooser/text/layer/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"xHC1GmS1",block:'[[[1,[34,0]]],[],false,["liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/text/layer/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/text/layer/variant/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({variant_id:e}){return this.modelFor("action-chooser.text.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/action-chooser/text/layer/variant/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"dUhi12dK",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n"],[41,[28,[37,1],[[33,2,["layer","variants","length"]],1],null],[[[1,"      "],[8,[39,3],null,[["@route","@model"],["action-chooser.text.layer",[33,2,["layer"]]]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n        "],[1,[28,[35,4],["actionChooser.variant.back"],null]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],[[[1,"      "],[8,[39,3],null,[["@route"],["action-chooser.text"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n        "],[1,[28,[35,4],["actionChooser.layer.back"],null]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]]],[1,"    "],[10,"h4"],[12],[1,"Variant Text Inputs"],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,5],[[30,0],[28,[37,6],["leaveActionChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n\\n    "],[10,"h5"],[12],[1,[28,[35,4],["actionChooser.variant.textInputs"],null]],[13],[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[33,2,["groupedTextInputs"]]],null]],null],null,[[[1,"      "],[10,"h6"],[12],[1,[30,1,["name"]]],[13],[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[30,1,["inputs"]]],null]],null],null,[[[1,"        "],[11,0],[24,0,"link-entry clickable"],[4,[38,5],[[30,0],[28,[37,6],["setAction",[28,[37,9],null,[["type","variant","inputKey","inputName"],["textInput",[33,2],[28,[37,10],["inputValues.",[30,2,["key"]]],null],[30,2,["name"]]]]]],null]],null],[12],[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n          "],[1,[30,2,["value"]]],[1,"\\n        "],[13],[1,"\\n"]],[2]],null]],[1]],null],[1,"  "],[13],[1,"\\n"],[13]],["group","input"],false,["if","gt","model","link-to","t","action","route-action","each","-track-array","hash","concat"]]',moduleName:"mimolive-remote-control/pods/action-chooser/text/layer/variant/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action-chooser/text/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"urnNKkeI",block:'[[[6,[39,0],null,[["slideIn"],[true]],[["default"],[[[[1,"  "],[1,[34,1]],[1,"\\n"]],[]]]]]],[],false,["mrc-modal","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/action-chooser/text/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/action/model",["exports","@ember/application","@ember/object/promise-proxy-mixin","@ember/object/proxy","@ember/service","@ember/object","@ember/debug","@ember/runloop","ember-data/attr","ember-data-model-fragments/fragment","ember-ajax/errors","mimolive-remote-control/config/environment","mimolive-remote-control/pods/document/model","mimolive-remote-control/pods/layer/model","mimolive-remote-control/pods/variant/model","mimolive-remote-control/pods/source/model","mimolive-remote-control/pods/layer-set/model","mimolive-remote-control/pods/output-destination/model"],(function(e,t,n,o,r,i,l,a,s,c,u,d,m,f,p,h,v,b){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{host:g,namespace:y}=d.default.API,_=o.default.extend(n.default)
var x=c.default.extend({ajax:(0,r.inject)(),i18n:(0,r.inject)(),type:(0,s.default)("string"),signalKey:(0,s.default)("string"),signalName:(0,s.default)("string"),toggleSwitchKey:(0,s.default)("string"),toggleSwitchName:(0,s.default)("string"),inputKey:(0,s.default)("string"),inputName:(0,s.default)("string"),inputValue:(0,s.default)("string"),inputDescription:(0,s.default)(),layerId:(0,s.default)("string"),variantId:(0,s.default)("string"),sourceId:(0,s.default)("string"),filterId:(0,s.default)("string"),layerSetId:(0,s.default)("string"),outputDestinationId:(0,s.default)("string"),error:null,_clearErrorTimeout:null,execute(){let e
switch(this.get("type")){case"setLive":e=this._execSetLive
break
case"setOff":e=this._execSetOff
break
case"toggleLive":e=this._execToggleLive
break
case"signal":e=this._execSignal
break
case"toggleSwitch":e=this._execToggleSwitch
break
case"recall":e=this._execRecall
break
case"textInput":case"numericInput":e=this._updateInput
break
case"cycleThroughVariants":e=this._execCycleThroughVariants}if(!e)return void this.set("error",this.get("i18n").t("errors.action.invalidType"))
const t=this.get("i18n")
e.call(this).then(()=>{this.set("error",null)}).catch(e=>{if((0,u.isNotFoundError)(e))e=t.t("errors.action.targetNotFound")
else if((0,u.isUnauthorizedError)(e))e=t.t("errors.action.unauthorized")
else if((0,u.isConflictError)(e)){const n=(0,i.get)(e,"payload.errors.description")
e=n||t.t("errors.actions.conflictError")}else e=t.t("errors.action.networkError")
this.set("error",e),this._clearErrorTimeout=a.run.later(()=>this.set("error",null),5e3)})},target:(0,i.computed)("layerId","variantId","sourceId","filterId","outputDestinationId",(function(){const{layerId:e,variantId:n,sourceId:o,filterId:r,layerSetId:i,outputDestinationId:l}=this.getProperties("layerId","variantId","filterId","sourceId","layerSetId","outputDestinationId"),a=(0,t.getOwner)(this).lookup("route:document").get("currentModel.id")
return _.create({promise:this.store.find("document",a).then(t=>e?t.get("layers").then(t=>t.findBy("id",e)).then(e=>n?e.get("variants").then(e=>e.findBy("id",n)):e):o?t.get("sources").then(e=>e.findBy("id",o)).then(e=>r?e.get("filters").then(e=>e.findBy("id",r)):e):i?t.get("layerSets").then(e=>e.findBy("id",i)):l?t.get("outputDestinations").then(e=>e.findBy("id",l)):t)})})).readOnly(),description:(0,i.computed)("target.{isFulfilled,name,title,layer.name}","type","signalName",(function(){if(!this.get("target.isFulfilled"))return
let e
switch(this.get("type")){case"setLive":e="Set Live: "
break
case"setOff":e="Set Off: "
break
case"toggleLive":e="Toggle Live: "
break
case"signal":e=`Signal "${this.get("signalName")}" of `
break
case"toggleSwitch":e=`Toggle "${this.get("toggleSwitchName")}" on `
break
case"recall":e="Recall "
break
case"textInput":e=`Set "${this.get("inputName")}" on `
break
case"numericInput":e=`Control "${this.get("inputName")}" of `
break
case"cycleThroughVariants":e="Cycle "}const t=this.get("target.content")
return t instanceof m.default?e+`Document "${t.get("name")}"`:t instanceof h.default?e+`Source "${t.get("name")}"`:t instanceof f.default?e+`Layer "${t.get("name")}"`:t instanceof p.default?e+`Layer "${t.get("layer.name")}" / "${t.get("name")}"`:t instanceof v.default?e+`Layer Set "${t.get("name")}"`:t instanceof b.default?e+`Output Destination "${t.title}"`:e+"(unknown type)"})).readOnly(),_buildURL(){const{layerId:e,variantId:n,layerSetId:o,sourceId:r,filterId:i,outputDestinationId:l}=this.getProperties("layerId","variantId","layerSetId","sourceId","filterId","outputDestinationId"),a=(0,t.getOwner)(this).lookup("route:document").get("currentModel.id")
let s=`${g}/${y}/documents/${a}`
return e&&(s+="/layers/"+e),n&&(s+="/variants/"+n),o&&(s+="/layer-sets/"+o),l&&(s+="/output-destinations/"+l),r&&(s+="/sources/"+r),i&&(s+="/filters/"+i),s},_execSetLive(){return this.get("ajax").post(this._buildURL()+"/setLive")},_execSetOff(){return this.get("ajax").post(this._buildURL()+"/setOff")},_execToggleLive(){return this.get("ajax").post(this._buildURL()+"/toggleLive")},_execCycleThroughVariants(){return this.get("ajax").post(this._buildURL()+"/cycleThroughVariants")},_execSignal(){return this.get("ajax").post(this._buildURL()+"/signals/"+this.get("signalKey"))},_execToggleSwitch(){const e="inputValues."+this.get("toggleSwitchKey")
return this.set("inputKey",e),this.get("target").then(t=>(this.set("inputValue",!t.get(e)),this._updateInput()))},_execRecall(){return this.get("ajax").post(this._buildURL()+"/recall")},_updateInput(){const e=this.get("inputKey"),t=this.get("inputValue")
let n
if(e.startsWith("inputValues.")){n={"input-values":{[e.split(".").splice(1).join(".")]:t}}}else n={[e]:t}
return this.get("ajax").put(this._buildURL(),{data:JSON.stringify(n),contentType:"application/json"})},numericProgress:(0,i.computed)("inputValue",{get(){const e=this.inputDescription.max,t=this.inputDescription.min,n=e-t
return(parseFloat(this.inputValue)-t)/n},set(e,t){const n=this.inputDescription.max,o=this.inputDescription.min,r=Math.max(0,Math.min(t,1)),i=o+r*(n-o)
return this.set("inputValue",i),r}}),async updateCurrentInputValue(){const e=await this.get("target")
this.set("inputValue",e.get(this.inputKey))},willDestroy(){a.run.cancel(this._clearErrorTimeout),this._super(...arguments)}})
e.default=x})),define("mimolive-remote-control/pods/action/serializer",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{RESTSerializer:n}=t.default
var o=n.extend({})
e.default=o})),define("mimolive-remote-control/pods/ajax/service",["exports","ember-ajax/services/ajax"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{constructor(...e){var t,n,o
super(...e),o=[/.*/],(n="trustedHosts")in(t=this)?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}get headers(){try{return{"X-MimoLive-Password-SHA256":localStorage.getItem("mimolive-password-sha256")}}catch(e){console.error("Ajax Service could not read password from localStorage. Authentication will not work properly.",e)}return{}}}e.default=n})),define("mimolive-remote-control/pods/analytics/service",["exports","@ember/debug","rsvp","@ember/service","mimolive-remote-control/config/environment"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=window.ga
var l=o.default.extend({ajax:(0,o.inject)(),_initialization:null,init(){this._super(...arguments)
const e=(0,n.resolve)().then(()=>this.get("ajax").request(`${r.default.API.host}/${r.default.API.namespace}/settings`)).then(e=>{if(!e||!e.tracking)throw new Error("Abort analytics initialization because of missing/denied setting.")}).then(()=>{var e,t,n,o,l,a
e=window,t=document,n="script",o="ga",e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,l=t.createElement(n),a=t.getElementsByTagName(n)[0],l.async=1,l.src="https://www.google-analytics.com/analytics.js",a.parentNode.insertBefore(l,a)
try{i("create",r.default.GA.trackingID,"auto"),i("set","appName","mimoLive Remote Controls"),i("set","appVersion",r.default.buildDate)}catch(s){console.warn("GA: Error reporting app version",s)}})
e.catch(e=>{console.warn("GA: Error setting up Google Analytics tracking",e)}),this._initialization=e},trackVisit(e){this._initialization.then(()=>{try{i("send","pageview",{page:e,title:e})}catch(t){console.warn("GA: Error reporting page view",t)}})},trackPresetInstantiation(e,t){this._initialization.then(()=>{try{i("send","event",{eventCategory:"Control Surface Actions",eventAction:"Preset Instantiation",eventLabel:`${e} - ${t}`})}catch(n){console.error("Error reporting preset instantiation",n)}})},trackCanvasCreation(e,t){this._initialization.then(()=>{try{i("send","event",{eventCategory:"Control Surface Actions",eventAction:"Creation",eventLabel:`${e} x ${t}`})}catch(n){console.error("Error reporting canvas creation",n)}})}})
e.default=l})),define("mimolive-remote-control/pods/application/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"AOO7nK/c",block:'[[[1,[28,[35,0],["mimoLive Remote Controls"],null]],[1,"\\n"],[46,[28,[37,2],null,null],null,null,null]],[],false,["page-title","component","-outlet"]]',moduleName:"mimolive-remote-control/pods/application/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/bx-link-to/component",["exports","@ember/component","@ember/service","@ember/object"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({router:(0,n.inject)(),href:(0,o.computed)("params.[]",(function(){return this.get("router").urlFor(...this.get("params"))})),isActive:(0,o.computed)("{params.[],router.currentURL}",(function(){return this.get("router").isActive(...this.get("params"))})),actions:{transitionTo(){this.get("router").transitionTo(...this.get("params"))}}}).reopenClass({positionalParams:"params"})
e.default=r})),define("mimolive-remote-control/pods/bx-link-to/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"K6ICYwj4",block:'[[[18,1,[[28,[37,1],null,[["href","isActive","transitionTo"],[[30,0,["href"]],[30,0,["isActive"]],[28,[37,2],[[30,0],"transitionTo"],null]]]]]]],["&default"],false,["yield","hash","action"]]',moduleName:"mimolive-remote-control/pods/bx-link-to/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvas-size-recommendation/service",["exports","@ember/service"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{floor:n}=Math
var o=t.default.extend({get gridSize(){const e=window.innerHeight-36,t=window.innerWidth
return{height:n(e/111),width:n(t/170)}}})
e.default=o})),define("mimolive-remote-control/pods/canvas/adapter",["exports","rsvp","@ember/service","@ember/debug","@ember/application","ember-data/adapter","ember-ajax/errors","ember-cli-uuid","mimolive-remote-control/config/environment"],(function(e,t,n,o,r,i,l,a,s){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var c=i.default.extend({ajax:(0,n.inject)(),host:s.default.API.host,namespace:s.default.API.namespace,generateIdForRecord:()=>(0,a.uuid)(),buildUrl(e,t=null){return`${this.get("host")}/${this.get("namespace")}/documents/${e}/datastores/live.mimo.remote-control.canvases.${t||"index"}`},findRecord(){throw new Error("CanvasAdapte#findRecord is not supported")},currentDocumentID(){const e=(0,r.getOwner)(this).lookup("route:document")
return e?e.get("currentModel.id"):null},createRecord(e,t,n){const o=this.currentDocumentID(),r=this.get("ajax")
let i,a
return r.request(this.buildUrl(o)).catch(e=>{if((0,l.isNotFoundError)(e))return this._createIndex(o)
throw e}).then(t=>{i=t
const l=e.serializerFor("canvas").serialize(n,{includeId:!0})
return r.put(this.buildUrl(o,n.id),{data:JSON.stringify({canvas:l}),contentType:"application/json"})}).then(e=>(a=e,i.canvases=i.canvases.concat(n.id),r.put(this.buildUrl(o),{data:JSON.stringify(i),contentType:"application/json"}))).then(()=>a)},updateRecord(e,t,n){const o=this.currentDocumentID(),r=e.serializerFor("canvas").serialize(n,{includeId:!0})
return this.get("ajax").put(this.buildUrl(o,n.id),{data:JSON.stringify({canvas:r}),contentType:"application/json"})},deleteRecord(e,t,n){const o=this.currentDocumentID(),r=this.get("ajax")
return r.request(this.buildUrl(o)).then(e=>(e.canvases=e.canvases.without(n.id),r.put(this.buildUrl(o),{data:JSON.stringify(e),contentType:"application/json"}))).then(()=>r.delete(this.buildUrl(o,n.id)))},findAll(){throw new Error("CanvasAdapter: findAll is not supported")},query(e,n,o){const r=o.document_id
return this.get("ajax").request(this.buildUrl(r)).catch(e=>{if((0,l.isNotFoundError)(e))return this._createIndex(r)
throw e}).then(({canvases:o})=>(0,t.all)(o.map(t=>this.queryRecord(e,n,{document_id:r,canvas_id:t})))).then(e=>({canvases:e.map(e=>e.canvas)}))},queryRecord(e,t,n){const o=n.document_id,r=n.canvas_id
return this.get("ajax").request(this.buildUrl(o,r)).then(e=>(e.canvas.documentId=o,e))},_createIndex(e){const t={canvases:[]}
return this.get("ajax").put(this.buildUrl(e),{data:JSON.stringify(t),contentType:"application/json"}).then(()=>t)}})
e.default=c}))
define("mimolive-remote-control/pods/canvas/edit-canvas/route",["exports","@ember/routing/route","@ember/service"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({router:(0,n.inject)(),model(){return this.modelFor("canvas")},actions:{leave(){this.currentModel.save().then(()=>{this.router.transitionTo("canvas")})},deleteCanvas(){this.currentModel.willDestroy(),this.currentModel.destroyRecord().then(()=>this.router.transitionTo("canvases"))}}})
e.default=o})),define("mimolive-remote-control/pods/canvas/edit-canvas/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"hpJY9LZK",block:'[[[1,[28,[35,0],null,[["class","click"],["modal-backdrop",[28,[37,1],["leave"],null]]]]],[1,"\\n"],[6,[39,0],null,[["stack","class"],["modal-dialog","modal-dialog"]],[["default"],[[[[6,[39,2],null,[["onClose"],[[28,[37,1],["leave"],null]]],[["default"],[[[[1,"    "],[1,[28,[35,3],[[33,4]],[["cancel","deleteCanvas"],[[28,[37,1],["leave"],null],[28,[37,1],["deleteCanvas"],null]]]]],[1,"\\n"]],[]]]]]],[]]]]]],[],false,["liquid-wormhole","route-action","mrc-modal","mrc-edit-canvas","model"]]',moduleName:"mimolive-remote-control/pods/canvas/edit-canvas/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvas/error/route",["exports","@ember/routing/route","@ember/service"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({router:(0,n.inject)(),actions:{leave(){this.router.transitionTo("canvas")}}})
e.default=o})),define("mimolive-remote-control/pods/canvas/error/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"cW8rk1TJ",block:'[[[1,[54,[[33,1]]]],[1,"\\n"],[1,[28,[35,2],null,[["class","click"],["modal-backdrop",[28,[37,3],["leave"],null]]]]],[1,"\\n"],[6,[39,2],null,[["stack","class"],["modal-dialog","modal-dialog"]],[["default"],[[[[6,[39,4],null,[["onClose"],[[28,[37,3],["leave"],null]]],[["default"],[[[[1,"    "],[10,0],[14,0,"chooser-modal"],[14,5,"padding: 0;"],[12],[1,"\\n      "],[10,0],[14,0,"header"],[12],[1,"\\n        "],[10,"h4"],[12],[1,[28,[35,5],["errors.editTile.heading"],null]],[13],[1,"\\n        "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,6],[[30,0],[28,[37,3],["leave"],null]],null],[12],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n        "],[10,2],[12],[1,[28,[35,5],["errors.editTile.error"],null]],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]]]]]],[]]]]]],[],false,["log","model","liquid-wormhole","route-action","mrc-modal","t","action"]]',moduleName:"mimolive-remote-control/pods/canvas/error/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvas/model",["exports","ember-data","ember-data-model-fragments/attributes"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:o,attr:r,belongsTo:i}=t.default
var l=o.extend({title:r("string"),createdAt:r("date",{defaultValue:()=>new Date}),gridWidth:r("number"),gridHeight:r("number"),buttons:(0,n.fragmentArray)("action-button"),fontScale:r("number",{defaultValue:1}),document:i("document",{inverse:null})})
e.default=l})),define("mimolive-remote-control/pods/canvas/route",["exports","@ember/object","@ember/routing/route","ember","@ember/service"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=n.default.extend({router:(0,r.inject)(),i18n:(0,r.inject)(),mode:(0,r.inject)(),canvasSizeRecommendation:(0,r.inject)(),model({canvas_id:e}){const t=this.modelFor("document").get("id")
return this.store.queryRecord("canvas",{document_id:t,canvas_id:e})},afterModel(e){const t=this.get("canvasSizeRecommendation.gridSize")
if(e.get("gridHeight")>t.height||e.get("gridWidth")>t.width){let t=!1
const o="mimolive-remote-has-shown-warning-for-canvas-"+e.get("id")
try{t=Boolean(window.localStorage.getItem(o))}catch(n){console.warn("Unable to check if canvas size warning should be shown (again):",n)}("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&!t&&window.alert(this.get("i18n").t("canvas.canvasTooLarge"))
try{window.localStorage.setItem(o,"true")}catch(n){console.warn("Unable to store canvas size warning state:",n)}}},setupController(e,t){this._super(e,t),t.get("buttons.length")?this.get("mode").setLive():(this.get("mode").setEditing(),this.modeChanged())},activate(){this._super(...arguments),window.mimoLiveGetSurfaceButtons=()=>this.controller.model.buttons.content.map(e=>{let t=e.get("liveState.mimoLiveCompatibleInt")||0,n=0
return"numericInput"===e.get("actions.content.0.type")&&(n=e.get("actions.content.0.numericProgress")),{x:e.x,y:e.y,width:e.width,height:e.height,text:e.displayText||"",liveState:t,sliderValue:n}})
const e=(e,t)=>{const n=this.controller.model.buttons.content
for(const o of n)if(o.x<=e&&e<o.x+o.width&&o.y<=t&&t<o.y+o.height)return o}
window.mimoLivePressSurfaceButtonAt=(t,n)=>{const o=e(t,n)
o&&o.get("actions").invoke("execute")},window.mimoLiveSetSliderValueOfSurfaceButtonAt=(t,n,o)=>{const r=e(t,n)
if(r){const e=r.get("actions.content.0")
e&&"numericInput"===e.type&&(e.set("numericProgress",o),e.execute())}}},deactivate(){this._super(...arguments),window.mimoLiveGetSurfaceButtons=void 0,window.mimoLivePressSurfaceButtonAt=void 0},modeChanged:(0,t.observer)("mode.isEditing",(function(){if(this.get("mode.isEditing"))try{this.get("router._router._routerMicrolib.currentRouteInfos").getEach("name").includes("preset-chooser")||this.router.transitionTo("preset-chooser")}catch(e){o.default.Logger.error("Error transitioning to preset chooser",e)}})),actions:{didTransition(){try{window.webkit.messageHandlers.remoteSurfaceInteractor.postMessage({type:"navigationFinished"})}catch(e){}},editCanvas(){this.router.transitionTo(this.routeName+".edit-canvas",this.currentModel)},editTile(e){this.router.transitionTo("canvas.tile.edit",this.currentModel,e)},editTextAction(e,t){this.router.transitionTo("canvas.tile.text",this.currentModel,e,t)},save(){this.currentModel.save()},closeSidebar(){this.router.transitionTo(this.routeName)},error(e){this.router.transitionTo("canvases.error",e)}}})
e.default=i})),define("mimolive-remote-control/pods/canvas/serializer",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{RESTSerializer:n}=t.default
var o=n.extend({modelNameFromPayloadKey:()=>"canvas",keyForRelationship:e=>"document"===e?"documentId":e,serializeBelongsTo(e,t,n){"document"!==n.key&&this._super(...arguments)}})
e.default=o})),define("mimolive-remote-control/pods/canvas/service",["exports","@ember/object/evented","@ember/service"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend(t.default,{})
e.default=o})),define("mimolive-remote-control/pods/canvas/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"bgBOm8HW",block:'[[[1,[28,[35,0],[[30,1,["title"]]],null]],[1,"\\n\\n"],[1,[28,[35,1],null,[["canvas","editCanvas"],[[30,1],[28,[37,2],["editCanvas"],null]]]]],[1,"\\n"],[1,[28,[35,3],null,[["canvas"],[[30,1]]]]],[1,"\\n\\n"],[46,[28,[37,5],null,null],null,null,null],[1,"\\n\\n"],[6,[39,6],null,[["onClose"],[[28,[37,2],["closeSidebar"],null]]],[["default"],[[[[1,"  "],[10,0],[14,1,"preset-chooser-container"],[14,5,"display: contents;"],[12],[13],[1,"\\n"]],[]]]]],[1,"\\n"],[41,[30,1,["adapterError"]],[[[1,"  "],[10,0],[14,0,"mrc-overlay"],[12],[1,"\\n    "],[10,0],[14,0,"center-group"],[12],[1,"\\n      "],[10,"i"],[14,0,"icon icon-attention"],[14,5,"font-size: 40px;"],[12],[13],[1,"\\n      "],[10,"h4"],[12],[1,[28,[35,8],["canvas.saveError.heading"],null]],[13],[1,"\\n      "],[10,2],[12],[1,[28,[35,8],["canvas.saveError.hint"],null]],[13],[1,"\\n      "],[10,2],[14,0,"text-muted"],[12],[1,[28,[35,8],["canvas.saveError.description"],[["description"],[[30,1,["adapterError","message"]]]]]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],["@model"],false,["page-title","mrc-canvas-navbar","route-action","mrc-canvas","component","-outlet","mrc-sidebar","if","t"]]',moduleName:"mimolive-remote-control/pods/canvas/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvas/tile/edit/route",["exports","@ember/service","@ember/routing/route"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({mode:(0,t.inject)(),model(){return this.modelFor("canvas.tile")},afterModel(e){if(!e)throw new Error(404)},activate(){this.get("mode").setEditing()},actions:{deleteTile(){const e=this.modelFor("canvas")
e.get("buttons").removeFragment(this.currentModel),e.save().then(()=>{this.send("leave")})},willTransition(e){if("canvas.tile.edit.index"===e.targetName||["action-chooser","preview-chooser","live-state-chooser"].includes(e.targetName.split(".")[0]))return
const t=this.currentModel
if(t.get("isDestroyed")||t.get("isDeleted"))return
const n=Object.keys(t.changedAttributes())
t.get("isNew")&&0===n.reject(e=>["x","y"].includes(e)).length?(t.get("canvas.buttons").removeFragment(t),t.destroy()):t.get("hasDirtyAttributes")&&this.currentModel.save()}}})
e.default=o})),define("mimolive-remote-control/pods/canvas/tile/edit/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"RZvSS+SF",block:'[[[6,[39,0],null,[["onClose"],[[28,[37,1],["leave"],null]]],[["default"],[[[[1,"  "],[1,[28,[35,2],[[33,3]],[["cancel","deleteTile"],[[28,[37,1],["leave"],null],[28,[37,1],["deleteTile"],null]]]]],[1,"\\n"]],[]]]]],[46,[28,[37,5],null,null],null,null,null]],[],false,["mrc-modal","route-action","mrc-edit-tile","model","component","-outlet"]]',moduleName:"mimolive-remote-control/pods/canvas/tile/edit/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvas/tile/route",["exports","@ember/routing/route","@ember/object","@ember/service"],(function(e,t,n,o){var r,i
function l(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(...e){var t,n,o,r
super(...e),t=this,n="router",r=this,(o=i)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}serialize(e){return{action_button_index:e.get("canvas").get("buttons").indexOf(e)}}model({action_button_index:e}){return this.modelFor("canvas").get("buttons").objectAt(e)}leave(){this.router.transitionTo("canvas")}},i=l(r.prototype,"router",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l(r.prototype,"leave",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"leave"),r.prototype),r)
e.default=a})),define("mimolive-remote-control/pods/canvas/tile/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"WheKgKV9",block:'[[[1,[28,[35,0],null,[["class","click"],["modal-backdrop",[28,[37,1],["leave"],null]]]]],[1,"\\n"],[6,[39,0],null,[["class"],["modal-dialog"]],[["default"],[[[[1,"  "],[46,[28,[37,3],null,null],null,null,null],[1,"\\n"]],[]]]]]],[],false,["liquid-wormhole","route-action","component","-outlet"]]',moduleName:"mimolive-remote-control/pods/canvas/tile/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvas/tile/text/route",["exports","@ember/routing/route","@ember/object"],(function(e,t,n){var o
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let r=(o=class extends t.default{serialize(e){return{input_key:e.inputKey}}model({input_key:e}){return this.modelFor("canvas.tile").get("actions").findBy("inputKey",e)}async setupController(e,t){super.setupController(...arguments),await t.updateCurrentInputValue()}save(){this.currentModel.execute(),this.send("leave")}},i=o.prototype,l="save",a=[n.action],s=Object.getOwnPropertyDescriptor(o.prototype,"save"),c=o.prototype,u={},Object.keys(s).forEach((function(e){u[e]=s[e]})),u.enumerable=!!u.enumerable,u.configurable=!!u.configurable,("value"in u||u.initializer)&&(u.writable=!0),u=a.slice().reverse().reduce((function(e,t){return t(i,l,e)||e}),u),c&&void 0!==u.initializer&&(u.value=u.initializer?u.initializer.call(c):void 0,u.initializer=void 0),void 0===u.initializer&&(Object.defineProperty(i,l,u),u=null),o)
var i,l,a,s,c,u
e.default=r})),define("mimolive-remote-control/pods/canvas/tile/text/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"SRY+W+C3",block:'[[[8,[39,0],null,[["@onClose"],[[28,[37,1],["leave"],null]]],[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@action","@leave","@save"],[[99,3,["@action"]],[28,[37,1],["leave"],null],[28,[37,1],["save"],null]]],null],[1,"\\n"]],[]]]]],[1,"\\n"]],[],false,["mrc-modal","route-action","mrc-text-action","model"]]',moduleName:"mimolive-remote-control/pods/canvas/tile/text/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvases/error/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"gVE1Q2FS",block:'[[[1,[34,0]],[1,"\\n\\n"],[10,0],[14,0,"center-wrapper"],[12],[1,"\\n  "],[10,0],[14,0,"content"],[14,5,"padding: 15px;"],[12],[1,"\\n    "],[10,"h5"],[12],[1,"\\n      "],[8,[39,1],null,[["@route"],["canvases.list"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"icon icon-menu-left"],[12],[13],[1,"\\n        "],[1,[28,[35,2],["canvas.navbar.back"],null]],[1,"\\n      "]],[]]]]],[1,"\\n      "],[1,[28,[35,2],["errors.canvas.heading"],null]],[1,"\\n    "],[13],[1,"\\n"],[41,[28,[37,4],[[33,5,["status"]],404],null],[[[1,"      "],[10,2],[12],[1,[28,[35,2],["errors.canvas.notFound"],null]],[13],[1,"\\n"]],[]],[[[1,"      "],[10,2],[12],[1,[28,[35,2],["errors.unexpected"],null]],[13],[1,"\\n"]],[]]],[1,"\\n    "],[10,2],[14,0,"text-muted"],[12],[1,[34,5]],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],[],false,["mrc-documents-navbar","link-to","t","if","eq","model"]]',moduleName:"mimolive-remote-control/pods/canvases/error/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvases/list/__disabled__index-loading/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"30cnWNSo",block:'[[[10,"h5"],[12],[1,[28,[35,0],["canvases.heading"],null]],[13],[1,"\\n"],[10,0],[14,0,"centered"],[12],[1,"\\n  "],[1,[28,[35,1],null,[["dark"],[true]]]],[1,"\\n"],[13]],[],false,["t","mrc-spinner"]]',moduleName:"mimolive-remote-control/pods/canvases/list/__disabled__index-loading/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvases/list/create-canvas/controller",["exports","@ember/controller","@ember/object"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({canGoBack:(0,n.computed)("model","model.document.canvases.length",(function(){const e=this.get("model.document.canvases")
return e&&e.without(this.get("model")).length>0}))})
e.default=o})),define("mimolive-remote-control/pods/canvases/list/create-canvas/route",["exports","@ember/service","@ember/routing/route"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({analytics:(0,t.inject)(),router:(0,t.inject)(),model(){const e=this.modelFor("document")
return this.store.createRecord("canvas",{document:e})},actions:{exit(e){e&&e.preventDefault&&e.preventDefault(),this.router.transitionTo("canvases")},save(e){e&&e.preventDefault&&e.preventDefault()
const t=this.modelFor(this.routeName)
t.save().then(()=>{this.get("analytics").trackCanvasCreation(t.get("gridWidth"),t.get("gridHeight")),this.router.transitionTo("canvas",t)})},willTransition(){const e=this.modelFor(this.routeName)
e.get("hasDirtyAttributes")&&e.deleteRecord()}}})
e.default=o})),define("mimolive-remote-control/pods/canvases/list/create-canvas/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"MvLV//13",block:'[[[10,"h5"],[12],[1,"\\n"],[41,[30,0,["canGoBack"]],[[[1,"    "],[8,[39,1],null,[["@route"],["canvases.list"]],[["default"],[[[[10,1],[14,0,"icon icon-menu-left"],[12],[13],[1," "],[1,[28,[35,2],["canvas.create.back"],null]]],[]]]]],[1,"\\n"]],[]],null],[1,"  "],[1,[28,[35,2],["canvas.create.heading"],null]],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,3],null,[["@canvas","@onSave"],[[30,1],[28,[37,4],["save"],null]]],null]],["@model"],false,["if","link-to","t","mrc-create-canvas","route-action"]]',moduleName:"mimolive-remote-control/pods/canvases/list/create-canvas/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvases/list/index/route",["exports","@ember/routing/route","@ember/service"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({router:(0,n.inject)(),async model(){const e=this.modelFor("document").canvases
return 0===e.length&&await e._deferred.promise,e},afterModel(e){if(0===e.get("length")){const e=this.routeName.split(".").slice(0,-1).concat(["create-canvas"]).join(".")
this.router.transitionTo(e)}},setupController(e,t){this._super(),e.set("document",this.modelFor("document"))}})
e.default=o})),define("mimolive-remote-control/pods/canvases/list/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"t+6QeV6a",block:'[[[8,[39,0],null,[["@growWidth"],[false]],[["default"],[[[[1,"\\n  "],[8,[39,1],null,[["@document","@canvases"],[[30,0,["document"]],[30,1]]],null],[1,"\\n"]],[]]]]]],["@model"],false,["liquid-spacer","mrc-canvases-list"]]',moduleName:"mimolive-remote-control/pods/canvases/list/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvases/list/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"RT71pmOc",block:'[[[1,[34,0]],[1,"\\n"],[10,0],[14,0,"center-wrapper"],[12],[1,"\\n  "],[10,0],[14,0,"content"],[12],[1,"\\n    "],[1,[28,[35,1],null,[["class"],["canvases-list"]]]],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["mrc-canvases-navbar","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/canvases/list/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/canvases/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"1G+EiQil",block:'[[[1,[28,[35,0],null,[["class"],["canvases"]]]],[1,"\\n"]],[],false,["liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/canvases/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/colors/service",["exports","@ember/service"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({all:[{code:"#FC6C34",name:"Portland Orange"},{code:"#F2354A",name:"Amaranth"},{code:"#C32F4A",name:"Bright Maroon"},{code:"#7F0F2A",name:"Burgundy"},{code:"#E8D2AE",name:"Desert Sand"},{code:"#FDAF75",name:"Light Salmon"},{code:"#FCD55B",name:"Jonquil"},{code:"#FEC500",name:"Golden Poppy"},{code:"#F2F39C",name:"Pale Spring Bud"},{code:"#FFF044",name:"Banana Yellow"},{code:"#EEF369",name:"Icterine"},{code:"#C5D86C",name:"June Bud"},{code:"#99E1D9",name:"Pale Robin Egg Blue"},{code:"#5CF64A",name:"Lime"},{code:"#24CF96",name:"Mountain Meadow"},{code:"#19755F",name:"Tropical Rain Forest"},{code:"#55ACEE",name:"Cornflower Blue"},{code:"#1A91C7",name:"Blue-Green"},{code:"#006393",name:"Medium Persian Blue"},{code:"#173B6D",name:"Indigo"},{code:"#FFB8D1",name:"Cotton candy"},{code:"#EFA0B3",name:"Pale Chestnut"},{code:"#F23782",name:"Cerise pink"},{code:"#863E95",name:"Plum "},{code:"#BE8357",name:"AuroMetalSaurus"},{code:"#8C4F3A",name:"Cordovan"},{code:"#705D55",name:"Wenge"},{code:"#4C4D57",name:"Quartz"},{code:"#C3C8D3",name:"Wild Blue Yonder"},{code:"#B3B6B1",name:"Gray "},{code:"#8A8D8E",name:"Cool Grey"},{code:"#001526",name:"Onyx"}]})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-canvas-navbar/component",["exports","@ember/service","@ember/component"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({mode:(0,t.inject)(),tagName:"nav",classNames:["navbar-default"],canvas:null,actions:{enterPressed(e){e.originalEvent.preventDefault(),e.target.blur(),window.getSelection().removeAllRanges()},save(){this.get("canvas").save()}}})
e.default=o})),define("mimolive-remote-control/pods/components/mrc-canvas-navbar/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"cXvQ6H5a",block:'[[[8,[39,0],[[24,0,"nav-item"]],[["@route","@model"],["canvases",[30,1,["document"]]]],[["default"],[[[[1,"\\n  "],[10,1],[14,0,"icon icon-menu-left"],[12],[13],[1,"\\n\\n  "],[10,1],[14,0,"text"],[12],[1,"\\n    "],[1,[28,[35,1],["canvas.navbar.back"],null]],[1,"\\n  "],[13],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[41,[30,0,["mode","isEditing"]],[[[1,"  "],[8,[39,0],[[24,0,"nav-item"]],[["@route","@model"],["preset-chooser",[30,1]]],[["default"],[[[[1,"\\n    "],[10,1],[14,0,"icon icon-plus"],[12],[13],[1,"\\n    "],[10,1],[14,0,"text"],[12],[1,"\\n      "],[1,[28,[35,1],["canvas.navbar.presetChooser"],null]],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[10,0],[14,0,"center-title"],[12],[1,"\\n  "],[8,[39,3],null,[["@value","@placeholder","@type","@tagName","@disabled","@enter","@focusOut","@allowNewlines"],[[30,1,["title"]],[28,[37,1],["canvas.navbar.documentTitlePlaceholder"],null],"text","h2",[28,[37,4],[[30,1,["isSaving"]],[28,[37,5],[[30,0,["mode","isEditing"]]],null]],null],[28,[37,6],[[30,0],"enterPressed"],null],[28,[37,6],[[30,0],"save"],null],false]],null],[1,"\\n"],[41,[30,0,["mode","isEditing"]],[[[1,"    "],[11,1],[24,0,"icon icon-cog clickable edit-canvas"],[4,[38,6],[[30,0],[30,2]],null],[12],[13],[1,"\\n"]],[]],null],[13],[1,"\\n\\n"],[8,[39,7],null,null,null]],["@canvas","@editCanvas"],false,["link-to","t","if","content-editable","or","not","action","mrc-mode-toggle"]]',moduleName:"mimolive-remote-control/pods/components/mrc-canvas-navbar/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-canvas/component",["exports","@ember/utils","@ember/object/computed","@ember/component","@ember/object","@ember/service","@ember/string"],(function(e,t,n,o,r,i,l){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{max:a,min:s,floor:c}=Math
var u=o.default.extend({canvasHub:(0,i.inject)("canvas"),store:(0,i.inject)(),analytics:(0,i.inject)(),canvas:null,didInsertElement(){this._super(...arguments),this.get("canvasHub").on("updateHoverOutline",this,"_updateHoverOutline"),this.get("canvasHub").on("removeHoverOutline",this,"_removeHoverOutline"),this.get("canvasHub").on("instantiatePreset",this,"_instantiatePreset")},willDestroyElement(){this.get("canvasHub").off("updateHoverOutline",this,"_updateHoverOutline"),this.get("canvasHub").off("removeHoverOutline",this,"_removeHoverOutline"),this.get("canvasHub").off("instantiatePreset",this,"_instantiatePreset"),this._super(...arguments)},gridWidth:(0,n.readOnly)("canvas.gridWidth"),gridHeight:(0,n.readOnly)("canvas.gridHeight"),gridInfo:(0,r.computed)("gridWidth","gridHeight",(function(){return{width:this.get("gridWidth"),height:this.get("gridHeight")}})),buttons:(0,n.alias)("canvas.buttons"),dropOutlineX:0,dropOutlineY:0,dropOutlineWidth:0,dropOutlineHeight:0,dropOutlineStyle:(0,r.computed)("dropOutlineX","dropOutlineY","dropOutlineWidth","dropOutlineHeight","gridWidth","gridHeight",(function(){const{dropOutlineX:e,dropOutlineY:t,dropOutlineWidth:n,dropOutlineHeight:o,gridWidth:r,gridHeight:i}=this.getProperties("dropOutlineX","dropOutlineY","dropOutlineWidth","dropOutlineHeight","gridWidth","gridHeight"),a=[`left: ${100*e/r}%`,`top: ${100*t/i}%`,`width: ${100*n/r}%`,`height: ${100*o/i}%`]
return(0,l.htmlSafe)(a.join("; "))})),showDropOutline:!1,hasDropOutlineCollision:!1,checkDropOutlineCollision(e){const n=this.get("buttons").filter(e=>e.get("x")<this.get("dropOutlineX")+this.get("dropOutlineWidth")&&e.get("x")+e.get("width")>this.get("dropOutlineX")&&e.get("y")<this.get("dropOutlineY")+this.get("dropOutlineHeight")&&e.get("y")+e.get("height")>this.get("dropOutlineY"))
e&&n.removeObject(e)
const o=this.get("dropOutlineX")>=0&&this.get("dropOutlineX")+this.get("dropOutlineWidth")<=this.get("gridWidth")&&this.get("dropOutlineY")>=0&&this.get("dropOutlineY")+this.get("dropOutlineHeight")<=this.get("gridHeight"),r=!((0,t.isEmpty)(n)&&o)
return this.set("hasDropOutlineCollision",r),r},_screenCoordsToGridCoords(e,t){const{left:n,top:o,width:r,height:i}=this.element.getBoundingClientRect()
e-=n,t-=o
const{gridWidth:l,gridHeight:a}=this.getProperties("gridWidth","gridHeight"),s=i/a
return{x:c(e/(r/l)),y:c(t/s)}},_snappedToGrid(e,t,n=1,o=1){return{x:s(a(e,0),this.get("gridWidth")-n),y:s(a(t,0),this.get("gridHeight")-o)}},_updateHoverOutline(e,t,n,o){({x:e,y:t}=this._screenCoordsToGridCoords(e,t)),this.send("updateDropOutline",e,t,n,o,null)},_removeHoverOutline(){this.set("showDropOutline",!1)},_instantiatePreset(e,t,n){const{buttons:o,width:i,height:l,title:a,_trackingTitle:s,compositionID:c}=e.getProperties("buttons","width","height","title","_trackingTitle","compositionID");({x:t,y:n}=this._screenCoordsToGridCoords(t,n)),({x:t,y:n}=this._snappedToGrid(t,n,i,l)),this.checkDropOutlineCollision()||(o.forEach(e=>{const o=this.get("canvas.buttons").createFragment({text:(0,r.get)(e,"text"),subtext:(0,r.get)(e,"subtext"),x:t+(0,r.get)(e,"x"),y:n+(0,r.get)(e,"y"),width:(0,r.get)(e,"width"),height:(0,r.get)(e,"height"),icon:(0,r.get)(e,"icon"),color:(0,r.get)(e,"color"),fontScale:(0,r.get)(e,"fontScale")||1}),i=(0,r.get)(e,"actions")
i&&i.forEach(e=>o.get("actions").createFragment(e))
const l=(0,r.get)(e,"liveState")
l&&o.set("liveState",this.get("store").createFragment("live-state",l))
const a=(0,r.get)(e,"sourcePreview")
a&&o.set("sourcePreview",this.get("store").createFragment("source-preview",a))
const s=(0,r.get)(e,"dynamicText")
s&&o.set("dynamicText",this.get("store").createFragment("dynamic-text",s))
const c=(0,r.get)(e,"dynamicSubText")
c&&o.set("dynamicSubText",this.get("store").createFragment("dynamic-text",c))}),this.get("canvas").save(),this.get("analytics").trackPresetInstantiation(c,s||a))},actions:{moveTile(e,t){this.checkDropOutlineCollision(e)||((0,r.setProperties)(e,this._snappedToGrid(t.x,t.y,e.get("width"),e.get("height"))),e.get("hasDirtyAttributes")&&e.save()),this.set("showDropOutline",!1)},updateDropOutline(e,t,n,o,r){({x:e,y:t}=this._snappedToGrid(e,t,n,o)),this.setProperties({showDropOutline:!0,dropOutlineX:e,dropOutlineY:t,dropOutlineWidth:n,dropOutlineHeight:o}),this.checkDropOutlineCollision(r)},updateHoverOutline(){this._updateHoverOutline(...arguments)}}})
e.default=u})),define("mimolive-remote-control/pods/components/mrc-canvas/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DhM+MKF2",block:'[[[42,[28,[37,1],[[28,[37,1],[[28,[37,2],[0,[30,0,["gridInfo","width"]]],null]],null]],null],null,[[[42,[28,[37,1],[[28,[37,1],[[28,[37,2],[0,[30,0,["gridInfo","height"]]],null]],null]],null],null,[[[1,"    "],[1,[28,[35,3],null,[["content","gridInfo"],[[28,[37,4],null,[["x","y"],[[30,1],[30,2]]]],[30,0,["gridInfo"]]]]]],[1,"\\n"]],[2]],null]],[1]],null],[42,[28,[37,1],[[28,[37,1],[[30,0,["buttons"]]],null]],null],null,[[[1,"  "],[1,[28,[35,5],null,[["content","gridInfo","moveTile","updateDropOutline","editTextAction"],[[30,3],[30,0,["gridInfo"]],[28,[37,6],[[30,0],"moveTile"],null],[28,[37,6],[[30,0],"updateDropOutline"],null],[28,[37,7],["editTextAction"],null]]]]],[1,"\\n"]],[3]],null],[10,0],[15,0,[29,["drop-outline ",[52,[30,0,["showDropOutline"]],"visible"]," ",[52,[30,0,["hasDropOutlineCollision"]],"collision"]]]],[15,5,[30,0,["dropOutlineStyle"]]],[12],[13]],["x","y","button"],false,["each","-track-array","range","mrc-placeholder","hash","mrc-tile","action","route-action","if"]]',moduleName:"mimolive-remote-control/pods/components/mrc-canvas/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-canvases-list/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({})
e.default=n}))
define("mimolive-remote-control/pods/components/mrc-canvases-list/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"GYLRKNbj",block:'[[[10,"h5"],[12],[1,[28,[35,0],["canvases.heading"],null]],[13],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,1]],null]],null],null,[[[1,"  "],[8,[39,3],[[24,0,"canvas"]],[["@route","@models"],["canvas",[28,[37,4],[[30,2,["document"]],[30,2]],null]]],[["default"],[[[[1,"\\n    "],[10,"h4"],[12],[1,"\\n"],[41,[30,2,["title"]],[[[1,"        "],[1,[30,2,["title"]]],[1,"\\n"]],[]],[[[1,"        "],[10,1],[14,0,"text-muted"],[12],[1,[28,[35,0],["canvases.namePlaceholder"],null]],[13],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n    "],[1,[28,[35,0],["canvases.description"],[["created","width","height"],[[28,[37,6],[[30,2,["createdAt"]],"LLLL"],null],[30,2,["gridWidth"]],[30,2,["gridHeight"]]]]]],[1,"\\n    "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[2]],null],[8,[39,3],[[24,0,"mt-8 btn btn-default btn-block btn-primary"]],[["@route","@models"],["canvases.list.create-canvas",[28,[37,4],[[30,3]],null]]],[["default"],[[[[1,"\\n  "],[1,[28,[35,0],["canvases.create"],null]],[1,"\\n"]],[]]]]]],["@canvases","canvas","@document"],false,["t","each","-track-array","link-to","array","if","moment-format"]]',moduleName:"mimolive-remote-control/pods/components/mrc-canvases-list/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-canvases-navbar/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({tagName:"nav",classNames:["navbar-default"]})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-canvases-navbar/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"y44aIPXb",block:'[[[8,[39,0],[[24,0,"nav-item"]],[["@route"],["documents"]],[["default"],[[[[1,"\\n  "],[10,1],[14,0,"icon icon-menu-left"],[12],[13],[1," "],[10,1],[14,0,"text"],[12],[1,[28,[35,1],["canvases.navbar.back"],null]],[13],[1,"\\n"]],[]]]]],[1,"\\n"],[10,0],[14,0,"center-title"],[12],[1,"\\n  "],[10,"h2"],[12],[1,[28,[35,1],["canvases.navbar.heading"],null]],[13],[1,"\\n"],[13]],[],false,["link-to","t"]]',moduleName:"mimolive-remote-control/pods/components/mrc-canvases-navbar/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-clicked-during-edit/component",["exports","@ember/component","@ember/object","@glimmer/tracking","@ember/service"],(function(e,t,n,o,r){var i,l,a
function s(e,t,n,o){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0})}function c(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.shouldShowClickedDuringEditAlert=function(){try{return null==window.localStorage.getItem(u)}catch(e){return console.error("Unable to load dontShowAgain state in localstorage"),!0}}
const u="mimolive-remote-controls-dont-show-clicked-during-edit-warning"
let d=(i=class extends t.default{constructor(...e){super(...e),s(this,"mode",l,this),s(this,"dontShowAgain",a,this)}toggleDontShowAgain(){this.dontShowAgain=!this.dontShowAgain}close(){if(this.dontShowAgain)try{window.localStorage.setItem(u,"true")}catch(e){console.error("Unable to store dontShowAgain state in localstorage")}this.onClose()}goLive(){this.mode.setLive(),this.close()}},l=c(i.prototype,"mode",[r.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=c(i.prototype,"dontShowAgain",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c(i.prototype,"toggleDontShowAgain",[n.action],Object.getOwnPropertyDescriptor(i.prototype,"toggleDontShowAgain"),i.prototype),c(i.prototype,"close",[n.action],Object.getOwnPropertyDescriptor(i.prototype,"close"),i.prototype),c(i.prototype,"goLive",[n.action],Object.getOwnPropertyDescriptor(i.prototype,"goLive"),i.prototype),i)
e.default=d})),define("mimolive-remote-control/pods/components/mrc-clicked-during-edit/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"b3nODq/H",block:'[[[8,[39,0],null,[["@class","@click"],["modal-backdrop",[28,[37,1],[[30,0],"close"],null]]],null],[1,"\\n"],[8,[39,0],null,[["@stack","@class"],["modal-dialog","modal-dialog"]],[["default"],[[[[1,"\\n  "],[8,[39,2],null,[["@onClose"],[[28,[37,1],[[30,0],"close"],null]]],[["default"],[[[[1,"\\n    "],[10,0],[14,0,"header"],[12],[1,"\\n      "],[10,"h4"],[12],[1,[28,[35,3],["canvas.tile.clickedDuringEdit.heading"],null]],[13],[1,"\\n      "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,1],[[30,0],"close"],null],[12],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n      "],[1,[28,[35,3],["canvas.tile.clickedDuringEdit.message"],null]],[1,"\\n\\n      "],[10,"label"],[14,5,"display: flex; align-items: center; margin-top: 10px; font-weight: inherit;"],[12],[1,"\\n        "],[8,[39,4],[[24,5,"margin: 0 8px 0 0;"],[4,[38,5],["change",[30,0,["toggleDontShowAgain"]]],null]],[["@type","@checked"],["checkbox",[30,0,["dontShowAgain"]]]],null],[1,"\\n        "],[1,[28,[35,3],["general.dontShowAgain"],null]],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,0],[14,0,"row"],[14,5,"margin-top: 10px; border-top: 1px solid #ccc; padding-top: 11px;"],[12],[1,"\\n        "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n          "],[11,"button"],[24,0,"btn btn-block btn-default"],[24,4,"cancel"],[4,[38,1],[[30,0],"close"],null],[12],[1,"\\n            "],[1,[28,[35,3],["general.cancel"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n          "],[11,"button"],[24,0,"btn btn-block btn-primary"],[24,4,"submit"],[4,[38,1],[[30,0],"goLive"],null],[12],[1,"\\n            "],[1,[28,[35,3],["canvas.tile.clickedDuringEdit.enterLiveMode"],null]],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[]]]]]],[],false,["liquid-wormhole","action","mrc-modal","t","input","on"]]',moduleName:"mimolive-remote-control/pods/components/mrc-clicked-during-edit/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-color-select/component",["exports","@ember/component","@ember/object","@ember/service"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({colors:(0,o.inject)(),value:null,selectedColor:(0,n.computed)("value","colors.all",(function(){return this.get("colors.all").findBy("code",this.value)||{code:this.value||"#222",name:"Undefined"}})).readOnly(),actions:{selectColor(e){this.update(e?(0,n.get)(e,"code"):null)}}})
e.default=r})),define("mimolive-remote-control/pods/components/mrc-color-select/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"aWqztoyw",block:'[[[8,[39,0],null,[["@options","@selected","@matchTriggerWidth","@onChange","@name","@dropdownClass"],[[33,1,["all"]],[99,2,["@selected"]],false,[28,[37,3],[[30,0],"selectColor"],null],"color-chooser","color-dropdown"]],[["default"],[[[[1,"\\n  "],[10,0],[14,0,"color-option"],[15,5,[28,[37,4],[[30,1,["code"]]],null]],[12],[13],[1,"\\n"]],[1]]]]]],["color"],false,["power-select","colors","selectedColor","action","background-color"]]',moduleName:"mimolive-remote-control/pods/components/mrc-color-select/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-confirm-button/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({tagName:"button",classNameBindings:["confirm"],class:"btn btn-danger",attributeBindings:["type"],type:"button",text:"Delete",confirmText:"Really delete?",confirm:!1,click(e){e.preventDefault(),this.get("confirm")&&this.action(),this.set("confirm",!0)}})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-confirm-button/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"5pW7ehDG",block:'[[[41,[30,0,["confirm"]],[[[1,"  "],[1,[30,1]],[1,"\\n"]],[]],[[[1,"  "],[1,[30,2]],[1,"\\n"]],[]]]],["@confirmText","@text"],false,["if"]]',moduleName:"mimolive-remote-control/pods/components/mrc-confirm-button/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-control-preset-preview/component",["exports","jquery","@ember/component","@ember/service","@ember/object","@ember/string"],(function(e,t,n,o,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{max:l}=Math
var a=n.default.extend({sideMenu:(0,o.inject)(),canvas:(0,o.inject)(),attributeBindings:["touch-action"],"touch-action":"none",buttons:null,title:null,_trackingTitle:null,compositionID:null,init(){this._super(...arguments),this._boundPointerMoveHandler=this._pointerMoveHandler.bind(this),this._boundPointerUpHandler=this._pointerUpHandler.bind(this),this._boundPointerDownHandler=this._pointerDownHandler.bind(this)},didInsertElement(){this._super(...arguments),this.$().on("pointerdown",this._boundPointerDownHandler)},willDestroyElement(){this.$().off("pointerdown",this._boundPointerDownHandler),this._super(...arguments)},width:(0,r.computed)("buttons.@each.{x,width}",(function(){if(this.get("buttons"))return l(...this.get("buttons").map(({x:e,width:t})=>e+t))})),height:(0,r.computed)("buttons.@each.{y,height}",(function(){if(this.get("buttons"))return l(...this.get("buttons").map(({y:e,height:t})=>e+t))})),miniPreviewSize:(0,r.computed)("height","width",(function(){const e=25*this.get("height"),t=32*this.get("width")
let n=1
t>280&&(n=280/t)
const o=[`height: ${e}px`,`width: ${t}px`,`transform: scale(${n})`,`margin-bottom: ${(n*e-e)/2}px`,`margin-top: ${(n*e-e)/2}px`]
return(0,i.htmlSafe)(o.join(";"))})),isDragging:!1,isOnCanvas:!1,originalPos:null,newPos:null,dragImage:null,_pointerDownHandler(e){3!==e.which&&this._startDragging(e)},_pointerMoveHandler(e){e.pageX>this.get("originalPos.x")+25?this._enterCanvas():e.pageX<50&&this._leaveCanvas(),this.get("isOnCanvas")&&this.get("canvas").trigger("updateHoverOutline",e.pageX,e.pageY,this.get("width"),this.get("height")),this.get("dragImage").css({left:e.pageX+"px",top:e.pageY+"px"})},_pointerUpHandler(e){this.get("isDragging")&&(this.get("isOnCanvas")&&(this.get("canvas").trigger("instantiatePreset",this,e.pageX,e.pageY),this.get("leavePresetChooser")()),this._stopDragging())},_startDragging(e){this.setProperties({isDragging:!0,isOnCanvas:!1,originalPos:{x:e.pageX,y:e.pageY}})
const n=this.$(".mini-preview").clone()
n.addClass("dragged").css({left:e.pageX+"px",top:e.pageY+"px"}),n.appendTo(document.body),this.set("dragImage",n),this._oldDragImageCSSTransform=this.get("dragImage").css("transform"),(0,t.default)("body").on("pointermove",this._boundPointerMoveHandler),(0,t.default)("body").on("pointerup",this._boundPointerUpHandler)},_stopDragging(){(0,t.default)("body").off("pointermove",this._boundPointerMoveHandler),(0,t.default)("body").off("pointerup",this._boundPointerUpHandler),this.get("dragImage").remove(),this.get("canvas").trigger("removeHoverOutline"),this.get("isDestroyed")||this.setProperties({isDragging:!1,isOnCanvas:!1})},_enterCanvas(){this.get("isOnCanvas")||(this.set("isOnCanvas",!0),this.get("sideMenu").close(),this.get("dragImage").css("transform","scale(1)"))},_leaveCanvas(){this.get("isOnCanvas")&&(this.get("sideMenu").open(),this.set("isOnCanvas",!1),this.get("dragImage").css("transform",this._oldDragImageCSSTransform),this.get("canvas").trigger("removeHoverOutline"))},actions:{hasButtonIn(e,t){return this.get("buttons").any(n=>(0,r.get)(n,"x")<=e&&(0,r.get)(n,"x")+(0,r.get)(n,"width")>e&&(0,r.get)(n,"y")<=t&&(0,r.get)(n,"y")+(0,r.get)(n,"height")>t)}}})
e.default=a})),define("mimolive-remote-control/pods/components/mrc-control-preset-preview/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"/MRYjKvW",block:'[[[10,0],[14,0,"well well-sm drag-zone"],[12],[1,"\\n  "],[10,1],[14,0,"title"],[12],[1,[30,1]],[13],[1,"\\n  "],[10,0],[14,0,"mini-preview"],[15,5,[30,0,["miniPreviewSize"]]],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,2]],null]],null],null,[[[1,"      "],[1,[28,[35,2],[[30,3]],[["gridWidth","gridHeight"],[[30,0,["width"]],[30,0,["height"]]]]]],[1,"\\n"]],[3]],null],[1,"  "],[13],[1,"\\n  "],[10,0],[14,5,"clear: both;"],[12],[13],[1,"\\n"],[13]],["@title","@buttons","button"],false,["each","-track-array","mrc-tile-preview"]]',moduleName:"mimolive-remote-control/pods/components/mrc-control-preset-preview/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-create-canvas/component",["exports","@ember/object/computed","@ember/component","@ember/service","@ember/object"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=n.default.extend({canvasSizeRecommendation:(0,o.inject)(),isWidthInvalid:(0,r.computed)("canvas.gridWidth","canvasSizeRecommendation.gridSize.width",(function(){return this.get("canvas.gridWidth")>this.get("canvasSizeRecommendation.gridSize.width")})),isHeightInvalid:(0,r.computed)("canvas.gridHeight","canvasSizeRecommendation.gridSize.height",(function(){return this.get("canvas.gridHeight")>this.get("canvasSizeRecommendation.gridSize.height")})),hasGridSizeWarning:(0,t.or)("isHeightInvalid","isWidthInvalid"),didReceiveAttrs(){this._super(...arguments),this.get("canvas").set("gridWidth",this.get("canvasSizeRecommendation.gridSize.width")),this.get("canvas").set("gridHeight",this.get("canvasSizeRecommendation.gridSize.height"))}})
e.default=i})),define("mimolive-remote-control/pods/components/mrc-create-canvas/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"u55BJXeK",block:'[[[11,"form"],[24,0,"form from-horizonal"],[4,[38,0],["submit",[30,1]],null],[12],[1,"\\n  "],[10,0],[14,0,"form-group"],[12],[1,"\\n    "],[10,"label"],[14,"for","title"],[12],[1,[28,[35,1],["canvas.create.title"],null]],[13],[1,"\\n    "],[8,[39,2],[[24,0,"form-control canvas-title"],[16,"placeholder",[28,[37,1],["canvas.create.title"],null]],[24,4,"text"]],[["@value"],[[30,2,["title"]]]],null],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"row"],[12],[1,"\\n    "],[10,0],[14,0,"form-group col-sm-6"],[12],[1,"\\n      "],[10,"label"],[14,"for","title"],[12],[1,[28,[35,1],["canvas.create.width"],null]],[13],[1,"\\n      "],[8,[39,3],null,[["@min","@value","@update","@invalid"],[1,[30,2,["gridWidth"]],[28,[37,4],[[30,0],[28,[37,5],[[30,2,["gridWidth"]]],null]],null],[30,0,["isWidthInvalid"]]]],null],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"form-group col-sm-6"],[12],[1,"\\n      "],[10,"label"],[14,"for","title"],[12],[1,[28,[35,1],["canvas.create.height"],null]],[13],[1,"\\n      "],[8,[39,3],null,[["@min","@value","@update","@invalid"],[1,[30,2,["gridHeight"]],[28,[37,4],[[30,0],[28,[37,5],[[30,2,["gridHeight"]]],null]],null],[30,0,["isHeightInvalid"]]]],null],[1,"\\n    "],[13],[1,"\\n"],[41,[30,0,["hasGridSizeWarning"]],[[[1,"      "],[10,0],[14,0,"col-xs-12 grid-size-warning"],[12],[1,"\\n        "],[10,2],[14,0,"text-muted centered"],[12],[1,[28,[35,1],["canvas.create.gridSizeWarning"],null]],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n\\n  "],[10,"button"],[14,0,"btn btn-success btn-block save-canvas"],[14,4,"submit"],[12],[1,"\\n    "],[1,[28,[35,1],["canvas.create.save"],null]],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[1,[28,[35,7],[[30,2,["isSaving"]]],null]]],["@onSave","@canvas"],false,["on","t","input","mrc-numeric-stepper","action","mut","if","mrc-saving-overlay"]]',moduleName:"mimolive-remote-control/pods/components/mrc-create-canvas/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-disconnect-warning/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({classNames:["chooser-modal"]})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-disconnect-warning/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"8H4Hx0mc",block:'[[[10,0],[14,0,"header"],[12],[1,"\\n  "],[10,"h4"],[12],[1,[28,[35,0],["errors.disconnect.heading"],null]],[13],[1,"\\n"],[13],[1,"\\n"],[10,0],[14,0,"scroll-content"],[12],[1,"\\n  "],[10,2],[14,0,"centered"],[12],[1,[28,[35,0],["errors.disconnect.text"],null]],[13],[1,"\\n  "],[11,"button"],[24,0,"btn btn-primary btn-block"],[4,[38,1],[[30,0],[33,2]],null],[12],[1,[28,[35,0],["errors.disconnect.button"],null]],[13],[1,"\\n"],[13]],[],false,["t","action","reload"]]',moduleName:"mimolive-remote-control/pods/components/mrc-disconnect-warning/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-documents-list/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.extend({})
n.reopenClass({positionalParams:["content"]})
var o=n
e.default=o})),define("mimolive-remote-control/pods/components/mrc-documents-list/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"5CvbTZ1c",block:'[[[10,"h5"],[12],[1,[28,[35,0],["documents.heading"],null]],[13],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,1]],null]],null],null,[[[1,"  "],[8,[39,3],[[24,0,"document"]],[["@route","@model"],["document",[30,2]]],[["default"],[[[[1,"\\n    "],[10,"h4"],[12],[1,"\\n"],[41,[30,2,["metadata","title"]],[[[1,"        "],[1,[30,2,["metadata","title"]]],[1,"\\n"]],[]],[[[1,"        "],[10,1],[14,0,"text-muted"],[12],[1,[28,[35,0],["documents.namePlaceholder"],null]],[13],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n"],[41,[30,2,["metadata","comments"]],[[[1,"      "],[1,[30,2,["metadata","comments"]]],[10,"br"],[12],[13],[1," – "],[10,"i"],[12],[1,[30,2,["metadata","author"]]],[13],[1,"\\n"]],[]],null],[1,"    "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[2]],[[[1,"  "],[10,2],[14,0,"centered"],[12],[1,[28,[35,0],["documents.noDocuments"],null]],[13],[1,"\\n"]],[]]]],["@content","document"],false,["t","each","-track-array","link-to","if"]]',moduleName:"mimolive-remote-control/pods/components/mrc-documents-list/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-documents-navbar/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({tagName:"nav",classNames:["navbar-default"]})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-documents-navbar/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"TuALiROS",block:'[[[10,0],[14,0,"center-title"],[12],[1,"\\n  "],[10,"h2"],[12],[1,[28,[35,0],["documents.navbar.heading"],null]],[13],[1,"\\n"],[13]],[],false,["t"]]',moduleName:"mimolive-remote-control/pods/components/mrc-documents-navbar/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-edit-canvas/component",["exports","@ember/object/computed","@ember/component","@ember/object","@ember/service"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=n.default.extend({canvasSizeRecommendation:(0,r.inject)(),classNameBindings:["content.isSaving:is-saving"],content:null,minGridHeight:(0,o.computed)("content.buttons.@each.{y,height}",(function(){return this.get("content.buttons").reduce((e,t)=>{const n=t.get("y")+t.get("height")
return n>e?n:e},-1/0)})),minGridWidth:(0,o.computed)("content.buttons.@each.{x,width}",(function(){return this.get("content.buttons").reduce((e,t)=>{const n=t.get("x")+t.get("width")
return n>e?n:e},-1/0)})),isWidthInvalid:(0,o.computed)("content.gridWidth","canvasSizeRecommendation.gridSize.width",(function(){return this.get("content.gridWidth")>this.get("canvasSizeRecommendation.gridSize.width")})),isHeightInvalid:(0,o.computed)("content.gridHeight","canvasSizeRecommendation.gridSize.height",(function(){return this.get("content.gridHeight")>this.get("canvasSizeRecommendation.gridSize.height")})),hasGridSizeWarning:(0,t.or)("isHeightInvalid","isWidthInvalid"),actions:{submit(e){e.preventDefault(),this.cancel()}}})
i.reopenClass({positionalParams:["content"]})
var l=i
e.default=l})),define("mimolive-remote-control/pods/components/mrc-edit-canvas/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"aX5hZNba",block:'[[[10,0],[14,0,"header"],[12],[1,"\\n  "],[10,"h4"],[12],[1,[28,[35,0],["canvas.edit.heading"],null]],[13],[1,"\\n  "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,1],[[30,0],[33,2]],null],[12],[13],[1,"\\n"],[13],[1,"\\n"],[10,0],[14,0,"scroll-content"],[12],[1,"\\n  "],[10,"form"],[15,"onsubmit",[28,[37,1],[[30,0],"submit"],null]],[12],[1,"\\n    "],[10,0],[14,0,"row"],[12],[1,"\\n      "],[10,0],[14,0,"col-xs-12"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[12],[1,[28,[35,0],["canvas.edit.title"],null]],[13],[1,"\\n          "],[8,[39,3],[[24,0,"form-control"],[24,4,"text"]],[["@value"],[[33,4,["title"]]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"row"],[12],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[12],[1,[28,[35,0],["canvas.edit.width"],null]],[13],[1,"\\n          "],[8,[39,5],null,[["@min","@value","@update","@invalid"],[[99,6,["@min"]],[33,4,["gridWidth"]],[28,[37,1],[[30,0],[28,[37,7],[[33,4,["gridWidth"]]],null]],null],[99,8,["@invalid"]]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[12],[1,[28,[35,0],["canvas.edit.height"],null]],[13],[1,"\\n          "],[8,[39,5],null,[["@min","@value","@update","@invalid"],[[99,9,["@min"]],[33,4,["gridHeight"]],[28,[37,1],[[30,0],[28,[37,7],[[33,4,["gridHeight"]]],null]],null],[99,10,["@invalid"]]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"],[6,[39,11],[[33,12]],[["use"],["fade"]],[["default"],[[[[1,"        "],[10,0],[14,0,"col-xs-12 grid-size-warning"],[12],[1,"\\n          "],[10,2],[14,0,"text-muted"],[12],[1,[28,[35,0],["canvas.edit.gridSizeWarning"],null]],[13],[1,"\\n        "],[13],[1,"\\n"]],[]]]]],[1,"      "],[10,0],[14,0,"col-xs-12"],[12],[1,"\\n        "],[8,[39,13],null,[["@value","@update","@scaleUpFactor"],[[33,4,["fontScale"]],[28,[37,1],[[30,0],[28,[37,7],[[33,4,["fontScale"]]],null]],null],2]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n    "],[10,"button"],[14,0,"hidden-submit-button"],[14,4,"submit"],[12],[1,"Submit"],[13],[1,"\\n\\n    "],[1,[28,[35,14],null,[["class","text","confirmText","action"],["btn btn-danger btn-sm btn-block",[28,[37,0],["canvas.edit.delete"],null],[28,[37,0],["canvas.edit.confirmDelete"],null],[28,[37,1],[[30,0],[33,15]],null]]]]],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[1,[28,[35,16],[[33,4,["isSaving"]]],null]]],[],false,["t","action","cancel","input","content","mrc-numeric-stepper","minGridWidth","mut","isWidthInvalid","minGridHeight","isHeightInvalid","liquid-if","hasGridSizeWarning","mrc-font-scale","mrc-confirm-button","deleteCanvas","mrc-saving-overlay"]]',moduleName:"mimolive-remote-control/pods/components/mrc-edit-canvas/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-edit-tile/component",["exports","@ember/component","@ember/object","@ember/object/computed","@ember/service"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=t.default.extend({colors:(0,r.inject)(),classNameBindings:["content.isSaving:is-saving"],content:null,cancel:function(){throw new Error("mrc-edit-tile needs `cancel` action.")},maxHeight:(0,n.computed)("content.{x,y,width}","content.canvas.gridHeight","content.canvas.buttons.@each.{x,y,width}",(function(){const e=this.get("content")
if(e.get("isDestroyed")||e.get("isDestroying"))return
const t={}
for(let n=e.get("x");n<e.get("x")+e.get("width");n++)t[n]=e.get("canvas.gridHeight")
return e.get("canvas.buttons").forEach(n=>{if(n.get("y")>e.get("y"))for(let e=n.get("x");e<n.get("x")+n.get("width");e++)void 0!==t[e]&&n.get("x")<t[e]&&(t[e]=n.get("y"))}),Math.min(...Object.keys(t).map(e=>t[e]))-e.get("y")})),maxWidth:(0,n.computed)("content.{x,y,height}","content.canvas.gridWidth","content.canvas.buttons.@each.{x,y,height}",(function(){const e=this.get("content")
if(e.get("isDestroyed")||e.get("isDestroying"))return
const t={}
for(let n=e.get("y");n<e.get("y")+e.get("height");n++)t[n]=e.get("canvas.gridWidth")
return e.get("canvas.buttons").forEach(n=>{if(n.get("x")>e.get("x"))for(let e=n.get("y");e<n.get("y")+n.get("height");e++)void 0!==t[e]&&n.get("x")<t[e]&&(t[e]=n.get("x"))}),Math.min(...Object.keys(t).map(e=>t[e]))-e.get("x")})),noMoreActionsReason:(0,n.computed)("content.actions.[]",(function(){const e=this.get("content.actions")
return e.findBy("type","textInput")?"Can't have other actions when editing text.":e.findBy("type","numericInput")?"Can't have other actions when editing numbers.":null})),canAddAction:(0,o.empty)("noMoreActionsReason"),setDynamicTextOnActionChange:(0,n.observer)("content.actions.@each",(function(){const e=this.get("content")
if(e)if("textInput"===e.get("actions.firstObject.type")){const t=e.get("actions.firstObject"),n=e.get("store")
e.set("dynamicText",n.createFragment("dynamic-text",{layerId:t.layerId,variantId:t.variantId,template:"{{"+t.inputKey+"}}"}))}else e.set("dynamicText",null),e.set("dynamicSubText",null)})),actions:{submit(e){e.preventDefault(),this.cancel()},removeProperty(e){const t=this.get("content").get(e)
this.get("content").set(e,null),t.destroy()},removeAction(e){this.get("content.actions").removeFragment(e),e.destroy()}}})
i.reopenClass({positionalParams:["content"]})
var l=i
e.default=l})),define("mimolive-remote-control/pods/components/mrc-edit-tile/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"0dts0fjJ",block:'[[[10,0],[14,0,"header"],[12],[1,"\\n  "],[10,"h4"],[12],[1,[28,[35,0],["canvas.tile.edit.heading"],null]],[13],[1,"\\n  "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,1],[[30,0],[33,2]],null],[12],[13],[1,"\\n"],[13],[1,"\\n"],[10,0],[14,0,"scroll-content"],[12],[1,"\\n  "],[10,"form"],[15,"onsubmit",[28,[37,1],[[30,0],"submit"],null]],[12],[1,"\\n"],[1,"    "],[10,0],[14,0,"form-group"],[12],[1,"\\n      "],[10,"label"],[14,"for","title"],[12],[1,[28,[35,0],["canvas.tile.edit.title"],null]],[13],[1,"\\n      "],[1,[28,[35,3],null,[["type","class","value","placeholder"],["text","form-control",[33,4,["text"]],[33,4,["dynamicText","text"]]]]]],[1,"\\n    "],[13],[1,"\\n\\n"],[1,"    "],[10,0],[14,0,"form-group"],[12],[1,"\\n      "],[10,"label"],[14,"for","title"],[12],[1,[28,[35,0],["canvas.tile.edit.subtitle"],null]],[13],[1,"\\n      "],[1,[28,[35,3],null,[["type","class","value","placeholder"],["text","form-control",[33,4,["subtext"]],[33,4,["dynamicSubText","text"]]]]]],[1,"\\n    "],[13],[1,"\\n    \\n"],[1,"    "],[10,0],[14,0,"row"],[12],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[14,"for","color-chooser"],[12],[1,[28,[35,0],["canvas.tile.edit.color"],null]],[13],[1,"\\n          "],[8,[39,5],null,[["@value","@update"],[[33,4,["color"]],[28,[37,1],[[30,0],[28,[37,6],[[33,4,["color"]]],null]],null]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[14,"for","icon-chooser"],[12],[1,[28,[35,0],["canvas.tile.edit.icon"],null]],[13],[1,"\\n          "],[8,[39,7],null,[["@value","@update"],[[33,4,["icon"]],[28,[37,1],[[30,0],[28,[37,6],[[33,4,["icon"]]],null]],null]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[1,"    "],[10,0],[14,0,"row"],[12],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[12],[1,[28,[35,0],["canvas.tile.edit.height"],null]],[13],[1,"\\n          "],[8,[39,8],null,[["@min","@max","@value","@update"],[1,[99,9,["@max"]],[33,4,["height"]],[28,[37,1],[[30,0],[28,[37,6],[[33,4,["height"]]],null]],null]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,0],[14,0,"form-group"],[12],[1,"\\n          "],[10,"label"],[12],[1,[28,[35,0],["canvas.tile.edit.width"],null]],[13],[1,"\\n          "],[8,[39,8],null,[["@min","@max","@value","@update"],[1,[99,10,["@max"]],[33,4,["width"]],[28,[37,1],[[30,0],[28,[37,6],[[33,4,["width"]]],null]],null]]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[1,"    "],[10,0],[14,0,"row"],[12],[1,"\\n      "],[10,0],[14,0,"col-xs-12"],[12],[1,"\\n        "],[8,[39,11],null,[["@value","@update","@scaleUpFactor"],[[33,4,["fontScale"]],[28,[37,1],[[30,0],[28,[37,6],[[33,4,["fontScale"]]],null]],null],10]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[1,"    "],[10,0],[14,0,"form-group actions"],[12],[1,"\\n      "],[10,"label"],[12],[1,[28,[35,0],["canvas.tile.edit.interaction"],null]],[13],[10,"br"],[12],[13],[1,"\\n      "],[8,[39,12],null,[["@value","@update"],[[33,4,["actions"]],[28,[37,1],[[30,0],[28,[37,6],[[33,4,["actions"]]],null]],null]]],null],[1,"\\n    "],[13],[1,"\\n\\n"],[1,"    "],[10,0],[14,0,"form-group"],[12],[1,"\\n      "],[10,"label"],[12],[1,[28,[35,0],["canvas.tile.edit.liveState"],null]],[13],[10,"br"],[12],[13],[1,"\\n"],[41,[33,4,["liveState"]],[[[1,"        "],[10,0],[14,0,"input-group"],[12],[1,"\\n          "],[8,[39,14],[[24,0,"form-control"]],[["@value","@disabled"],[[33,4,["liveState","description"]],true]],null],[1,"\\n          "],[10,1],[14,0,"input-group-btn"],[12],[1,"\\n            "],[11,"button"],[24,0,"btn btn-danger"],[24,4,"button"],[4,[38,1],[[30,0],[28,[37,1],[[30,0],"removeProperty","liveState"],null]],null],[12],[1,"\\n              "],[10,1],[14,0,"icon icon-remove"],[12],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],[[[1,"        "],[8,[39,15],null,[["@params"],[[28,[37,16],["live-state-chooser"],null]]],[["default"],[[[[1,"\\n          "],[11,"button"],[16,0,[29,["btn btn-default btn-block ",[52,[30,1,["isActive"]],"btn-primary active"]]]],[24,4,"button"],[4,[38,1],[[30,0],[30,1,["transitionTo"]]],null],[12],[1,"\\n            "],[1,[28,[35,0],["canvas.tile.edit.chooseLiveState"],null]],[1,"\\n          "],[13],[1,"\\n        "]],[1]]]]],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n\\n"],[1,"    "],[10,0],[14,0,"form-group"],[12],[1,"\\n      "],[10,"label"],[12],[1,[28,[35,0],["canvas.tile.edit.preview"],null]],[13],[10,"br"],[12],[13],[1,"\\n"],[41,[33,4,["sourcePreview"]],[[[1,"        "],[10,0],[14,0,"input-group"],[12],[1,"\\n          "],[8,[39,14],[[24,0,"form-control"]],[["@value","@disabled"],[[33,4,["sourcePreview","description"]],true]],null],[1,"\\n          "],[10,1],[14,0,"input-group-btn"],[12],[1,"\\n            "],[11,"button"],[24,0,"btn btn-danger"],[24,4,"button"],[4,[38,1],[[30,0],[28,[37,1],[[30,0],"removeProperty","sourcePreview"],null]],null],[12],[1,"\\n              "],[10,1],[14,0,"icon icon-remove"],[12],[13],[1,"\\n            "],[13],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],[[[1,"        "],[8,[39,15],null,[["@params"],[[28,[37,16],["preview-chooser"],null]]],[["default"],[[[[1,"\\n          "],[11,"button"],[16,0,[29,["btn btn-default btn-block ",[52,[30,2,["isActive"]],"btn-primary active"]]]],[24,4,"button"],[4,[38,1],[[30,0],[30,2,["transitionTo"]]],null],[12],[1,"\\n            "],[1,[28,[35,0],["canvas.tile.edit.choosePreview"],null]],[1,"\\n          "],[13],[1,"\\n        "]],[2]]]]],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n\\n    "],[10,"input"],[14,0,"hidden-submit-button"],[14,"tabindex","-1"],[14,4,"submit"],[12],[13],[1,"\\n\\n    "],[8,[39,17],[[24,0,"btn btn-danger btn-sm btn-block"]],[["@text","@confirmText","@action"],[[28,[37,0],["canvas.tile.edit.delete"],null],[28,[37,0],["canvas.tile.edit.confirmDelete"],null],[28,[37,1],[[30,0],[33,18],[33,4]],null]]],null],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[1,[28,[35,19],[[33,4,["isSaving"]]],null]]],["link","link"],false,["t","action","cancel","input","content","mrc-color-select","mut","mrc-icon-select","mrc-numeric-stepper","maxHeight","maxWidth","mrc-font-scale","mrc-interaction-select","if","mrc-scrolling-input","bx-link-to","array","mrc-confirm-button","deleteTile","mrc-saving-overlay"]]',moduleName:"mimolive-remote-control/pods/components/mrc-edit-tile/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-error-overlay/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({isShown:!1,error:null})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-error-overlay/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"vigk1ZZc",block:'[[[41,[30,0,["isShown"]],[[[1,"  "],[10,0],[14,0,"mrc-overlay"],[12],[1,"\\n    "],[10,0],[14,0,"center-group"],[12],[1,"\\n      "],[10,1],[14,0,"icon icon-attention"],[12],[13],[10,"br"],[12],[13],[1,"\\n      "],[10,1],[12],[1,[30,0,["error"]]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],[],false,["if"]]',moduleName:"mimolive-remote-control/pods/components/mrc-error-overlay/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-font-scale/component",["exports","@ember/component","@ember/object"],(function(e,t,n){var o,r
function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(o=(0,n.computed)("value"),l((r=class extends t.default{constructor(...e){super(...e),i(this,"update",(function(){console.error("MrcFontScaleComponent.update not set!")})),i(this,"value",1),i(this,"scaleUpFactor",2)}get _value(){let e=this.value
return e>1&&(e=(e-1)/this.scaleUpFactor+1),e}_update(e){let t=parseFloat(e)
t>1&&(t=(t-1)*this.scaleUpFactor+1),this.update(t)}}).prototype,"_value",[o],Object.getOwnPropertyDescriptor(r.prototype,"_value"),r.prototype),l(r.prototype,"_update",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"_update"),r.prototype),r)
e.default=a})),define("mimolive-remote-control/pods/components/mrc-font-scale/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"Acq+vuzL",block:'[[[10,"label"],[12],[1,[28,[35,0],["components.mrc-font-scale.heading"],null]],[13],[1,"\\n"],[10,"input"],[15,"oninput",[28,[37,1],[[30,0],[33,2]],[["value"],["target.value"]]]],[15,2,[36,3]],[14,"min","0.5"],[14,"max","1.5"],[14,"step","0.05"],[14,4,"range"],[12],[13],[1,"\\n"],[10,0],[14,0,"slider-labels text-muted"],[12],[1,"\\n  "],[10,1],[14,0,"left"],[12],[1,[28,[35,0],["components.mrc-font-scale.smaller"],null]],[13],[1,"\\n  "],[10,1],[14,0,"center"],[12],[1,[28,[35,0],["components.mrc-font-scale.default"],null]],[13],[1,"\\n  "],[10,1],[14,0,"right"],[12],[1,[28,[35,0],["components.mrc-font-scale.larger"],null]],[13],[1,"\\n"],[13]],[],false,["t","action","_update","_value"]]',moduleName:"mimolive-remote-control/pods/components/mrc-font-scale/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-icon-select/component",["exports","@ember/service","@ember/component","@ember/object"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=n.default.extend({icons:(0,t.inject)(),value:null,selectedIcon:(0,o.computed)("value","icons.all",(function(){return this.get("icons.all").findBy("id",this.value)})).readOnly(),actions:{selectIcon(e){this.update(e?(0,o.get)(e,"id"):null)}}})
e.default=r})),define("mimolive-remote-control/pods/components/mrc-icon-select/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"i8lZKz4z",block:'[[[8,[39,0],null,[["@options","@selected","@placeholder","@allowClear","@matchTriggerWidth","@onChange","@name","@dropdownClass"],[[33,1,["all"]],[99,2,["@selected"]],"Choose…",true,false,[28,[37,3],[[30,0],"selectIcon"],null],"icon-chooser","icon-dropdown"]],[["default"],[[[[1,"\\n  "],[10,"i"],[15,0,[29,["icon-option icon icon-",[30,1,["id"]]]]],[12],[13],[1,"\\n"]],[1]]]]]],["icon"],false,["power-select","icons","selectedIcon","action"]]',moduleName:"mimolive-remote-control/pods/components/mrc-icon-select/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-interaction-select/component",["exports","@ember/component","@ember/object","@ember/service"],(function(e,t,n,o){var r,i,l,a,s
function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let d=(r=(0,n.computed)("selectedMode"),i=(0,n.computed)("selectedMode"),l=(0,n.computed)("selectedMode","value.content.length"),a=class extends t.default{constructor(...e){var t,n,o,r
super(...e),c(this,"value",null),c(this,"modes",[{name:"Action",description:"Trigger one or more actions"},{name:"Text Input",description:"Change a text value"},{name:"Slider",description:"Control a numeric value"}]),c(this,"selectedMode",null),t=this,n="router",r=this,(o=s)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}didReceiveAttrs(){if(super.didReceiveAttrs(...arguments),null==this.selectedMode){const e=this.get("value.content.0.type")
"numericInput"==e?this.set("selectedMode",this.modes[2]):"textInput"==e?this.set("selectedMode",this.modes[1]):this.set("selectedMode",this.modes[0])}}get subComponent(){return this.selectedMode===this.modes[0]?"actions":this.selectedMode===this.modes[1]?"text":"sliders"}get chooseButtonTitle(){return this.selectedMode.name}get canAddAction(){return this.selectedMode===this.modes[0]||this.get("value.content.length")<1}changeMode(e){let t=!0
if(this.selectedMode!==e&&this.get("value.content.length")>0){let e=!1
const o="mimolive-remote-has-shown-warning-for-changing-interaction-mode"
try{e=Boolean(window.localStorage.getItem(o))}catch(n){console.warn("Unable to check if change interaction mode warning should be shown (again):",n)}e||(t=window.confirm("Changing the interaction mode will remove all existing actions!\n\nThis message will only be shown once."))
try{window.localStorage.setItem(o,"true")}catch(n){console.warn("Unable to store change interaction mode warning state:",n)}t&&this.get("value.content").forEach(this.removeAction)}t&&(this.set("selectedMode",e),this.router.transitionTo("action-chooser."+this.subComponent))}removeAction(e){this.value.removeFragment(e),e.destroy()}},s=u(a.prototype,"router",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(a.prototype,"subComponent",[r],Object.getOwnPropertyDescriptor(a.prototype,"subComponent"),a.prototype),u(a.prototype,"chooseButtonTitle",[i],Object.getOwnPropertyDescriptor(a.prototype,"chooseButtonTitle"),a.prototype),u(a.prototype,"canAddAction",[l],Object.getOwnPropertyDescriptor(a.prototype,"canAddAction"),a.prototype),u(a.prototype,"changeMode",[n.action],Object.getOwnPropertyDescriptor(a.prototype,"changeMode"),a.prototype),u(a.prototype,"removeAction",[n.action],Object.getOwnPropertyDescriptor(a.prototype,"removeAction"),a.prototype),a)
e.default=d}))
define("mimolive-remote-control/pods/components/mrc-interaction-select/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"T5Sl/Khl",block:'[[[8,[39,0],null,[["@options","@selected","@matchTriggerWidth","@onChange","@_name","@dropdownClass"],[[30,0,["modes"]],[30,0,["selectedMode"]],true,[30,0,["changeMode"]],"color-chooser","interaction-dropdown"]],[["default"],[[[[1,"\\n  "],[10,0],[14,0,"interaction-option"],[12],[1,"\\n    "],[10,1],[14,0,"name"],[12],[1,[30,1,["name"]]],[13],[1,"\\n    "],[10,1],[14,0,"description"],[12],[1,[30,1,["description"]]],[13],[1,"\\n  "],[13],[1,"\\n"]],[1]]]]],[1,"\\n\\n"],[42,[28,[37,2],[[28,[37,2],[[30,2]],null]],null],null,[[[1,"  "],[10,0],[14,0,"input-group"],[12],[1,"\\n    "],[8,[39,3],[[24,0,"form-control"],[24,"disabled","true"]],[["@value"],[[30,3,["description"]]]],null],[1,"\\n    "],[10,1],[14,0,"input-group-btn"],[12],[1,"\\n      "],[11,"button"],[24,0,"btn btn-danger"],[24,4,"button"],[4,[38,4],["click",[28,[37,5],[[30,0,["removeAction"]],[30,3]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"icon icon-remove"],[12],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[3]],null],[1,"\\n"],[41,[30,0,["canAddAction"]],[[[1,"  "],[8,[39,7],null,[["@params"],[[28,[37,8],[[28,[37,9],["action-chooser.",[33,10]],null]],null]]],[["default"],[[[[1,"\\n    "],[11,"button"],[16,0,[29,["btn btn-default btn-block ",[52,[30,4,["isActive"]],"btn-primary active"]]]],[24,4,"button"],[4,[38,11],[[30,0],[30,4,["transitionTo"]]],null],[12],[1,"\\n"],[41,[30,2,["length"]],[[[1,"        "],[10,1],[14,0,"icon icon-plus"],[12],[13],[1," "],[1,[28,[35,12],["canvas.tile.edit.addAction"],null]],[1,"\\n"]],[]],[[[1,"        Choose "],[1,[34,13]],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n  "]],[4]]]]],[1,"\\n"]],[]],null]],["mode","@value","btnAction","link"],false,["power-select","each","-track-array","mrc-scrolling-input","on","fn","if","bx-link-to","array","concat","subComponent","action","t","chooseButtonTitle"]]',moduleName:"mimolive-remote-control/pods/components/mrc-interaction-select/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-modal/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({classNames:["mrc-modal"],slideIn:!1,didInsertElement(){this._super(...arguments),this.get("slideIn")&&(this.element.style.animation="modal-slidein 0.3s ease-in-out forwards",this.element.addEventListener("animationend",()=>{},{once:!0}))},willDestroyElement(){const e=this.element.parentNode,t=this.element.cloneNode(!0)
t.style.animation="modal-slidein 0.3s ease-in-out reverse",t.addEventListener("animationend",()=>{e.removeChild(t)},{once:!0}),e.appendChild(t),this._super(...arguments)}})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-modal/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DNU0ZW/H",block:'[[[18,1,null]],["&default"],false,["yield"]]',moduleName:"mimolive-remote-control/pods/components/mrc-modal/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-mode-toggle/component",["exports","@ember/object/computed","@ember/service","@ember/component"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=o.default.extend({mode:(0,n.inject)(),state:(0,t.oneWay)("mode.isLive"),actions:{setLive(){this.get("mode").setLive()},setEditing(){this.get("mode").setEditing()},changeState(e){e?this.get("mode").setLive():this.get("mode").setEditing()}}})
e.default=r})),define("mimolive-remote-control/pods/components/mrc-mode-toggle/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"fDKOQlSf",block:'[[[11,1],[24,0,"navbar-label"],[4,[38,0],[[30,0],"setEditing"],null],[12],[1,[28,[35,1],["modeToggle.editLabel"],null]],[13],[1,"\\n"],[8,[39,2],null,[["@value","@offLabel","@onLabel","@size","@onToggle"],[[30,0,["state"]],[28,[37,1],["modeToggle.editLabel"],null],[28,[37,1],["modeToggle.liveLabel"],null],"large",[28,[37,0],[[30,0],"changeState"],null]]],null],[1,"\\n"],[11,1],[24,0,"navbar-label"],[4,[38,0],[[30,0],"setLive"],null],[12],[1,[28,[35,1],["modeToggle.liveLabel"],null]],[13],[1,"\\n"]],[],false,["action","t","x-toggle"]]',moduleName:"mimolive-remote-control/pods/components/mrc-mode-toggle/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-numeric-stepper/component",["exports","@ember/component","@ember/object"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({value:0,invalid:!1,min:null,max:null,canDecrement:(0,n.computed)("min","value",(function(){return null===this.min||this.value>this.min})),canIncrement:(0,n.computed)("max","value",(function(){return null===this.max||this.value<this.max})),actions:{increment(){this.update(this.value+1)},decrement(){this.update(this.value-1)}}})
e.default=o})),define("mimolive-remote-control/pods/components/mrc-numeric-stepper/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"oDuWJZrc",block:'[[[10,0],[14,0,"btn-group"],[14,"role","group"],[12],[1,"\\n  "],[11,"button"],[24,0,"btn btn-default btn-decrement"],[16,"disabled",[28,[37,0],[[30,0,["canDecrement"]]],null]],[24,4,"button"],[4,[38,1],[[30,0],"decrement"],null],[12],[10,"i"],[14,0,"icon icon-minus"],[12],[13],[13],[1,"\\n  "],[10,"input"],[15,0,[29,["form-control ",[52,[30,0,["invalid"]],"invalid"]]]],[14,"disabled",""],[15,2,[30,1]],[14,4,"number"],[12],[13],[1,"\\n  "],[11,"button"],[24,0,"btn btn-default btn-increment"],[16,"disabled",[28,[37,0],[[30,0,["canIncrement"]]],null]],[24,4,"button"],[4,[38,1],[[30,0],"increment"],null],[12],[10,"i"],[14,0,"icon icon-plus"],[12],[13],[13],[1,"\\n"],[13]],["@value"],false,["not","action","if"]]',moduleName:"mimolive-remote-control/pods/components/mrc-numeric-stepper/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-placeholder/component",["exports","@ember/object/computed","@ember/component","mimolive-remote-control/mixins/tile"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=n.default.extend(o.default,{gridInfo:null,content:null,x:(0,t.readOnly)("content.x"),y:(0,t.readOnly)("content.y")})
e.default=r})),define("mimolive-remote-control/pods/components/mrc-placeholder/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"HqVATIEz",block:'[[[10,0],[14,0,"tile"],[12],[1,"\\n  "],[10,0],[14,0,"box"],[12],[1,"\\n"],[1,"  "],[13],[1,"\\n"],[13]],[],false,[]]',moduleName:"mimolive-remote-control/pods/components/mrc-placeholder/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-preview-layer-variants/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const n=t.default.extend({tagName:"span",classNames:["text-muted"]})
n.reopenClass({positionalParams:["variants"]})
var o=n
e.default=o})),define("mimolive-remote-control/pods/components/mrc-preview-layer-variants/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"X+n66zUk",block:'[[[41,[28,[37,1],[[33,2,["length"]],1],null],[[[1,"  "],[1,[33,2,["firstObject","name"]]],[1,"\\n"]],[]],[[[1,"  "],[1,[28,[35,3],["previewLayerVariants"],[["count"],[[33,2,["length"]]]]]],[1,"\\n"]],[]]]],[],false,["if","eq","variants","t"]]',moduleName:"mimolive-remote-control/pods/components/mrc-preview-layer-variants/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-saving-overlay/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({isShown:!1})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-saving-overlay/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"qWtvG844",block:'[[[41,[30,0,["isShown"]],[[[1,"  "],[10,0],[14,0,"mrc-overlay"],[12],[1,"\\n    "],[10,0],[14,0,"center-group"],[12],[1,"\\n      "],[8,[39,1],null,null,null],[1,"\\n      "],[10,1],[12],[1,[28,[35,2],["savingOverlay.saving"],null]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],[],false,["if","mrc-spinner","t"]]',moduleName:"mimolive-remote-control/pods/components/mrc-saving-overlay/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-scrolling-input/component",["exports","jquery","@ember/component","@ember/object","@ember/runloop","@ember/string"],(function(e,t,n,o,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var l=n.default.extend({tagName:"input",classNames:"form-control",attributeBindings:["style","value","disabled"],disabled:!0,value:null,style:(0,o.computed)("value",(function(){if(!this.element)return
const e=this.element.clientWidth-this.element.scrollWidth
if(e<0){let n=-1*e/12
n+=2,t.default.keyframe.define({name:"scroll-"+this.elementId,"0%":{"text-indent":"12px"},[1/n*100+"%"]:{"text-indent":"12px"},[100-1/n*100+"%"]:{"text-indent":e+"px"},"100%":{"text-indent":e+"px"}}),r.run.schedule("afterRender",()=>this.$().playKeyframe(`scroll-${this.elementId} ${n}s linear infinite alternate`))}else this._initialPropertyNotification=r.run.later(()=>{this.isDestroyed||this.notifyPropertyChange("style")},1)
const n=["padding-left: 0","padding-right: 0","text-indent: 12px"]
return(0,i.htmlSafe)(n.join("; "))})),didInsertElement(){this._super(...arguments),this.notifyPropertyChange("style")},willDestroyElement(){r.run.cancel(this._initialPropertyNotification),(0,t.default)("#scroll-"+this.elementId).remove(),this._super(...arguments)}})
e.default=l})),define("mimolive-remote-control/pods/components/mrc-sidebar-backdrop/component",["exports","ember-side-menu/components/content-backdrop"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({classNames:["clickable"],click(){this.onClose?this.onClose():this._super()}})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-sidebar/component",["exports","@ember/service","@ember/component","ember-side-menu/components/side-menu"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o.default.reopen({_setupEventListeners(){},_removeEventListeners(){}})
var r=n.default.extend({sideMenu:(0,t.inject)(),canvasComponent:null,classNameBindings:["sideMenu.isSlightlyOpen:menu-slightly-open","sideMenu.isOpen:menu-open"]})
e.default=r})),define("mimolive-remote-control/pods/components/mrc-sidebar/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DpBmwW1N",block:'[[[1,[28,[35,0],null,[["onClose"],[[28,[37,1],[[30,0],[30,1]],null]]]]],[1,"\\n"],[6,[39,2],null,[["width","side"],["320px","left"]],[["default"],[[[[1,"  "],[18,2,null],[1,"\\n"]],[]]]]]],["@onClose","&default"],false,["mrc-sidebar-backdrop","action","side-menu","yield"]]',moduleName:"mimolive-remote-control/pods/components/mrc-sidebar/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-spinner/component",["exports","@ember/component"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({classNameBindings:["dark"],dark:!1})
e.default=n})),define("mimolive-remote-control/pods/components/mrc-spinner/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"AmWKi+s3",block:'[[[10,0],[14,0,"spinner"],[12],[1,"\\n  "],[10,0],[14,0,"bounce1"],[12],[13],[1,"\\n  "],[10,0],[14,0,"bounce2"],[12],[13],[1,"\\n  "],[10,0],[14,0,"bounce3"],[12],[13],[1,"\\n"],[13]],[],false,[]]',moduleName:"mimolive-remote-control/pods/components/mrc-spinner/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-text-action/component",["exports","@ember/component","@ember/object","@ember/runloop"],(function(e,t,n,o){var r,i
function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=(0,n.computed)("action.inputKey"),i=class extends t.default{constructor(...e){super(...e),l(this,"action",null),l(this,"leave",(function(){throw new Error("MrcTextActionComponent needs 'leave' action.")})),l(this,"save",(function(){throw new Error("MrcTextActionComponent needs 'save' action.")})),l(this,"initialValue",null)}didReceiveAttrs(){super.didReceiveAttrs(...arguments),this.initialValue=this.action.inputValue}didRender(){super.didRender(...arguments)
const e=this.element.querySelector("input")||this.element.querySelector("textarea")
e&&(0,o.later)(()=>{e.focus()},300)}get isMultiline(){return this.get("action.inputKey").endsWith("_TypeMultiline")}keyDown(e){27===e.keyCode?(e.preventDefault(),this.leave()):13!==e.keyCode||this.isMultiline&&!e.metaKey||(e.preventDefault(),this.save())}},s=i.prototype,c="isMultiline",u=[r],d=Object.getOwnPropertyDescriptor(i.prototype,"isMultiline"),m=i.prototype,f={},Object.keys(d).forEach((function(e){f[e]=d[e]})),f.enumerable=!!f.enumerable,f.configurable=!!f.configurable,("value"in f||f.initializer)&&(f.writable=!0),f=u.slice().reverse().reduce((function(e,t){return t(s,c,e)||e}),f),m&&void 0!==f.initializer&&(f.value=f.initializer?f.initializer.call(m):void 0,f.initializer=void 0),void 0===f.initializer&&(Object.defineProperty(s,c,f),f=null),i)
var s,c,u,d,m,f
e.default=a})),define("mimolive-remote-control/pods/components/mrc-text-action/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"jjYEad+D",block:'[[[10,0],[14,0,"header"],[12],[1,"\\n  "],[10,"h4"],[12],[1,"Edit "],[1,[30,1,["inputName"]]],[1," of "],[1,[30,1,["target","layer","name"]]],[13],[1,"\\n  "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,0],[[30,0],[28,[37,1],["leave"],null]],null],[12],[13],[1,"\\n"],[13],[1,"\\n"],[10,0],[14,0,"scroll-content"],[12],[1,"\\n  "],[10,"form"],[15,"onsubmit",[28,[37,0],[[30,0],[28,[37,1],["save"],null]],null]],[14,0,"form"],[12],[1,"\\n    "],[10,0],[14,0,"form-group"],[12],[1,"\\n"],[41,[30,0,["isMultiline"]],[[[1,"        "],[8,[39,3],[[16,"placeholder",[36,4]],[24,0,"form-control"]],[["@value","@rows"],[[30,1,["inputValue"]],"6"]],null],[1,""]],[]],[[[1,"        "],[8,[39,5],[[16,"placeholder",[36,4]],[24,0,"form-control"],[24,4,"text"]],[["@value"],[[30,1,["inputValue"]]]],null],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"row"],[12],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[11,"button"],[24,0,"btn btn-block btn-default"],[24,4,"cancel"],[4,[38,0],[[30,0],[28,[37,1],["leave"],null]],null],[12],[1,"\\n          "],[1,[28,[35,6],["general.cancel"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"col-xs-6"],[12],[1,"\\n        "],[10,"button"],[14,0,"btn btn-block btn-primary"],[14,4,"submit"],[12],[1,"\\n          "],[1,[28,[35,6],["general.save"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],["@action"],false,["action","route-action","if","textarea","initialValue","input","t"]]',moduleName:"mimolive-remote-control/pods/components/mrc-text-action/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-tile-preview/component",["exports","@ember/component","@ember/object","@ember/string"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const r=t.default.extend({attributeBindings:["style"],content:null,gridWidth:0,gridHeight:0,style:(0,n.computed)("content.{height,width,x,y}","gridWidth","gridHeight",(function(){const{gridWidth:e,gridHeight:t}=this.getProperties("gridWidth","gridHeight"),n=this.get("content.height")||1,r=this.get("content.width")||1,i=[`left: ${(this.get("content.x")||0)/e*100}%`,`top: ${(this.get("content.y")||0)/t*100}%`,`width: ${r/e*100}%`,`height: ${n/t*100}%`]
return(0,o.htmlSafe)(i.join("; "))})),isToggleLiveButton:(0,n.computed)("content.actions.@each.type",(function(){return this.get("content.actions")&&this.get("content.actions").isAny("type","toggleLive")}))})
r.reopenClass({positionalParams:["content"]})
var i=r
e.default=i})),define("mimolive-remote-control/pods/components/mrc-tile-preview/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"vLvYtK78",block:'[[[41,[30,1,["icon"]],[[[1,"  "],[10,1],[15,0,[29,["icon icon-",[30,1,["icon"]]]]],[12],[13],[1,"\\n"]],[]],[[[41,[30,0,["isToggleLiveButton"]],[[[1,"  "],[10,1],[14,0,"live"],[12],[1,"Live"],[13],[1,"\\n"]],[]],null]],[]]]],["@content"],false,["if"]]',moduleName:"mimolive-remote-control/pods/components/mrc-tile-preview/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-tile-slider/component",["exports","@ember/component","@ember/object","@ember/string"],(function(e,t,n,o){var r,i,l
function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let c=(r=(0,n.computed)("progress"),i=(0,n.computed)("color","progress","direction"),s((l=class extends t.default{constructor(...e){super(...e),a(this,"progress",0),a(this,"color","red"),a(this,"direction","horizontal"),a(this,"isEditing",!1),a(this,"classNames",["slider"]),a(this,"classNameBindings",["direction","progressState","isEditing"]),a(this,"attributeBindings",["style"])}get progressState(){return this.progress<.01?"empty":this.progress>.99?"full":null}get style(){const e="horizontal"===this.direction,t=(e?"right":"top")+": "+100*(1-this.progress)+"%"
let n
n=e?"right":"top"
const r=`background: ${`linear-gradient(to ${n}, rgba(255,255,255,0), rgba(255,255,255,0.1))`}, linear-gradient(${this.color}, ${this.color})`
return(0,o.htmlSafe)([t,r].join("; "))}}).prototype,"progressState",[r],Object.getOwnPropertyDescriptor(l.prototype,"progressState"),l.prototype),s(l.prototype,"style",[i],Object.getOwnPropertyDescriptor(l.prototype,"style"),l.prototype),l)
e.default=c})),define("mimolive-remote-control/pods/components/mrc-tile-slider/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"5HBh18+I",block:'[[[41,[51,[30,1]],[[[44,[[28,[37,2],null,[["more","less"],[[52,[28,[37,4],[[30,2],"horizontal"],null],"right","up"],[52,[28,[37,4],[[30,2],"horizontal"],null],"left","down"]]]]],[[[1,"    "],[10,0],[14,0,"drag-indicator drag-for-more"],[12],[10,"i"],[15,0,[29,["icon icon-menu-",[30,3,["more"]]]]],[12],[13],[13],[1,"\\n    "],[10,0],[14,0,"drag-indicator drag-for-less"],[12],[10,"i"],[15,0,[29,["icon icon-menu-",[30,3,["less"]]]]],[12],[13],[13],[1,"\\n"]],[3]]]],[]],null]],["@hideDragIndicators","@direction","icons"],false,["unless","let","hash","if","eq"]]',moduleName:"mimolive-remote-control/pods/components/mrc-tile-slider/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-tile/component",["exports","@ember/object/computed","@ember/component","@ember/object","@ember/string","@ember/service","@ember/runloop","jquery","mimolive-remote-control/mixins/resizeable","mimolive-remote-control/mixins/tile","mimolive-remote-control/pods/components/mrc-clicked-during-edit/component"],(function(e,t,n,o,r,i,l,a,s,c,u){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var d=n.default.extend(c.default,s.default,{mode:(0,i.inject)(),ajax:(0,i.inject)(),imageScheduler:(0,i.inject)(),classNameBindings:["mode.isEditing:editing","showTallyLight:tally-light","tallyLightLive:tally-light-live","tallyLightTransition:tally-light-transition","isSliding:sliding","hasPreview:has-preview","hasIcon:has-icon","hasError:has-error","clickable"],attributeBindings:["touch-action"],"touch-action":"none",init(){this._super(...arguments),this._boundPointerMoveHandler=this._pointerMoveHandler.bind(this),this._boundPointerUpHandler=this._pointerUpHandler.bind(this),this._boundPointerDownHandler=this._pointerDownHandler.bind(this)},didInsertElement(){this._super(...arguments),this.$().on("pointerdown",this._boundPointerDownHandler),this._recomputeDisplaySize(),this._updateObservers()},willDestroyElement(){this.$().off("pointerdown",this._boundPointerDownHandler),(0,a.default)("body").off("pointermove",this._boundPointerMoveHandler),(0,a.default)("body").off("pointerup",this._boundPointerUpHandler),this.get("imageScheduler").deschedule(this,"_displayPreviewURL"),this._removeObservers(),this._super(...arguments)},_observedObject:null,_observedPath:null,_removeObservers(){this._observedObject&&(this._observedObject.removeObserver(this._observedPath,this,this.inputValuesChanged),this._observedObject=null)},_updateObservers:(0,o.observer)("content.actions.[]",(async function(){this._removeObservers()
const e=await this.get("numericInputAction.target")
if(e){const t=this.get("numericInputAction.inputKey")
e.addObserver(t,this,this.inputValuesChanged),this._observedObject=e,this._observedPath=t,this.inputValuesChanged()}})),async inputValuesChanged(){const e=this.numericInputAction,t=this._observedObject
e&&t&&(await e.updateCurrentInputValue(),this.isSliding||this.set("slideProgress",e.numericProgress))},gridInfo:null,content:null,x:(0,t.readOnly)("content.x"),y:(0,t.readOnly)("content.y"),width:(0,t.readOnly)("content.width"),height:(0,t.readOnly)("content.height"),color:(0,t.readOnly)("content.color"),displayWidth:0,displayHeight:0,showTallyLight:(0,t.or)("tallyLightLive","tallyLightTransition"),tallyLightLive:(0,t.readOnly)("content.liveState.isLive"),tallyLightTransition:(0,t.readOnly)("content.liveState.isTransition"),timeRemaining:(0,t.readOnly)("content.liveState.timeRemaining"),hasActions:(0,t.notEmpty)("content.actions"),numericInputAction:(0,o.computed)("content.actions.[]",(function(){return this.get("content.actions").findBy("type","numericInput")})),hasNumericInput:(0,t.bool)("numericInputAction"),hasClickActions:(0,o.computed)("hasActions","hasNumericInput",(function(){return this.hasActions&&!this.hasNumericInput})),hasPreview:(0,t.bool)("content.sourcePreview"),hasIcon:(0,t.bool)("content.icon"),hasError:(0,t.bool)("error"),error:(0,t.or)("actionsError","liveStateError","sourcePreviewError","dynamicTextError","dynamicSubTextError"),actionsError:(0,o.computed)("content.actions.@each.error",(function(){const e=(this.get("content.actions")||[]).findBy("error")
return e?e.get("error"):null})),liveStateError:(0,t.readOnly)("content.liveState.error"),sourcePreviewError:(0,t.readOnly)("content.sourcePreview.error"),dynamicTextError:(0,t.readOnly)("content.dynamicText.error"),dynamicSubTextError:(0,t.readOnly)("content.dynamicSubText.error"),clickable:(0,o.computed)("hasError","mode.isEditing","hasClickActions",(function(){return!this.get("hasError")&&!this.get("mode.isEditing")&&this.get("hasClickActions")})),tileColor:(0,o.computed)("color",(function(){return(0,r.htmlSafe)("background-color: "+this.get("color"))})),boxStyle:(0,o.computed)("content.{fontScale,canvas.fontScale}","currentCursor",(function(){const e=(this.get("content.fontScale")||1)*(this.get("content.canvas.fontScale")||1)
return(0,r.htmlSafe)(`font-size: ${100*e}%; cursor: ${this.currentCursor}`)})),clickedDuringEditAlertVisible:!1,actions:{closeClickedDuringEditAlert(){this.set("clickedDuringEditAlertVisible",!1)}},_directHit:!0,_previewTick:0,_displayPreviewURL:(0,o.computed)({set(e,t){const n=this._previewTick++%2,o=this._previewTick%2,r=this.$(".source-preview")
if(!r.length)return
const i=r.get(n),l=r.get(o)
i.onload||(i.onload=()=>{i.style.display="block",l.style.display="none"},i.onerror=()=>{i.style.display="none"}),i.src=t}}),previewURLObserver:(0,o.observer)("hasPreview","content.sourcePreview.previewURL","displayWidth","displayHeight",(function(){if(!this.get("hasPreview"))return null
if(!this.get("content.sourcePreview.previewURL"))return this.set("_displayPreviewURL",null),void this.get("imageScheduler").deschedule(this,"_displayPreviewURL")
const e=this.get("content.sourcePreview.isStatic"),t=["width="+this.get("displayWidth"),"height="+this.get("displayHeight"),"fps=5","format="+(e?"png":"jpeg")]
try{t.push("pwSHA256="+window.encodeURIComponent(window.localStorage.getItem("mimolive-password-sha256")))}catch(o){}const n=this.get("content.sourcePreview.previewURL")+"?"+t.join("&")
this.get("imageScheduler").deschedule(this,"_displayPreviewURL"),e?this.set("_displayPreviewURL",n):this.get("imageScheduler").schedule(this,"_displayPreviewURL",n)})),mimoLiveNotificationObserver:(0,o.observer)("x","y","width","height","tallyLightLive","content.displayText",(function(){try{window.webkit.messageHandlers.remoteSurfaceInteractor.postMessage({type:"buttonsChanged"})}catch(e){}})),isDragging:!1,originalPos:null,_tileDimensions:(0,o.computed)("gridInfo.{width,height}","width","height",(function(){const{height:e,width:t}=this.element.getBoundingClientRect()
return{width:t/this.get("width"),height:e/this.get("height")}})),didResizeElement(){this.get("hasPreview")&&this._recomputeDisplaySize()},_recomputeDisplaySize:(0,o.observer)("width","height",(function(){(0,l.later)(this,()=>{this.setProperties({displayWidth:this.element.clientWidth,displayHeight:this.element.clientHeight})},300)})),isSliding:!1,slideProgress:0,startSlideProgress:0,sliderDirection:(0,o.computed)("width","height",(function(){return this.width>=this.height?"horizontal":"vertical"})),tileStyle:(0,o.computed)("content.color","hasNumericInput",(function(){const e=this.get("content.color")
let t=""
return this.hasNumericInput&&(t="linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),"),(0,r.htmlSafe)(`background: ${t} linear-gradient(${e}, ${e}); color: ${e};`)})),currentCursor:(0,o.computed)("clickable","mode.isEditing","isSliding","slideProgress",(function(){if(this.get("mode.isEditing"))return"move"
if(this.clickable)return"pointer"
if(this.hasNumericInput){const e={horizontal:["e-resize","ew-resize","w-resize"],vertical:["n-resize","ns-resize","s-resize"]},t=this.slideProgress,n=0===t?0:1===t?2:1
return e[this.sliderDirection][n]}return"not-allowed"})),_pointerDownHandler(e){if(3===e.which)return
const t=[...(0,o.get)(e,"target.classList")||[]].includes("clickable")
if(this._directHit=!t,t)return;(0,a.default)("body").on("pointermove",this._boundPointerMoveHandler),(0,a.default)("body").on("pointerup",this._boundPointerUpHandler),this.set("originalPos",{x:e.pageX,y:e.pageY})
const n=this.get("mode.isEditing"),r=this.hasNumericInput
!n&&r?(this.set("isSliding",!0),this.set("startDragProgSlide",this.slideProgress),document.body.style.setProperty("cursor",this.currentCursor,"important"),document.body.classList.add("disable-box-cursors")):n&&(e.preventDefault(),this.set("isDragging",!0))},_pointerMoveHandler(e){const t=this.get("originalPos"),n=e.pageX-t.x,o=e.pageY-t.y
if(this.isSliding){let e
e="horizontal"===this.sliderDirection?n/(this.displayWidth+16):-o/(this.displayHeight+16)
const t=this.startDragProgSlide+e,r=Math.min(1,Math.max(0,t))
this.set("slideProgress",r),document.body.style.setProperty("cursor",this.currentCursor,"important"),document.body.classList.add("disable-box-cursors"),(0,l.throttle)(this,this._updateNumericInput,50)}else if(this.isDragging){const{width:e,height:t}=this.get("_tileDimensions"),r=Math.floor((n+e/2)/e),i=Math.floor((o+t/2)/t)
this.set("newPos",{x:this.get("x")+r,y:this.get("y")+i}),this.updateDropOutline(this.get("x")+r,this.get("y")+i,this.get("width"),this.get("height"),this.get("content"))}},_updateNumericInput(){const e=this.numericInputAction
e&&(e.set("numericProgress",this.slideProgress),e.execute())},_pointerUpHandler(e){if((0,a.default)("body").off("pointermove",this._boundPointerMoveHandler),(0,a.default)("body").off("pointerup",this._boundPointerUpHandler),this.isSliding)this.set("isSliding",!1),document.body.style.setProperty("cursor",null),document.body.classList.remove("disable-box-cursors")
else if(this.isDragging){!(Math.sqrt(Math.pow(e.pageX-this.get("originalPos.x"),2)+Math.pow(e.pageY-this.get("originalPos.y"),2))>5)&&this._directHit&&(0,u.shouldShowClickedDuringEditAlert)()&&this.set("clickedDuringEditAlertVisible",!0),this.set("isDragging",!1),this.get("newPos")&&this.moveTile(this.get("content"),this.get("newPos"))}else if(this.clickable){const{top:t,left:n,width:o,height:r}=this.element.getBoundingClientRect()
if(e.pageY>t&&e.pageY<t+r&&e.pageX>n&&e.pageX<n+o){const e=this.get("content"),t=e.get("actions").findBy("type","textInput")
t?this.editTextAction(e,t):this.get("content.actions").invoke("execute")}}}})
e.default=d})),define("mimolive-remote-control/pods/components/mrc-tile/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"RdKthN/O",block:'[[[10,0],[14,0,"tile"],[15,5,[30,0,["tileStyle"]]],[12],[1,"\\n  "],[10,0],[14,0,"box"],[15,5,[30,0,["boxStyle"]]],[12],[1,"\\n"],[41,[30,0,["hasPreview"]],[[[1,"      "],[10,"img"],[14,0,"source-preview source-preview-0"],[14,"alt","source preview"],[12],[13],[1,"\\n      "],[10,"img"],[14,0,"source-preview source-preview-1"],[14,"alt","source preview"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["hasNumericInput"]],[[[1,"      "],[8,[39,1],null,[["@progress","@direction","@isEditing","@color"],[[30,0,["slideProgress"]],[30,0,["sliderDirection"]],[30,0,["mode","isEditing"]],[30,1,["color"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["mode","isEditing"]],[[[1,"      "],[11,1],[24,0,"icon icon-cog edit-tile clickable"],[4,[38,2],[[30,0],[28,[37,3],["editTile",[30,1]],null]],null],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["hasError"]]],[[[41,[30,1,["displaySubtext"]],[[[1,"        "],[10,1],[14,0,"subtext"],[12],[1,[30,1,["displaySubtext"]]],[13],[1,"\\n"]],[]],null],[1,"\\n      "],[10,"h4"],[12],[1,"\\n"],[41,[30,1,["icon"]],[[[1,"          "],[10,"i"],[15,0,[29,["button-icon icon icon-",[30,1,["icon"]]]]],[12],[13],[1,"\\n"]],[]],null],[41,[30,0,["timeRemaining"]],[[[1,"          "],[1,[28,[35,5],[[30,0,["timeRemaining"]]],null]],[1,"\\n"]],[]],[[[1,"          "],[1,[30,1,["displayText"]]],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n"]],[]],null],[1,"\\n    "],[8,[39,6],null,[["@isShown"],[[30,1,["isSaving"]]]],null],[1,"\\n    "],[8,[39,7],null,[["@isShown","@error"],[[28,[37,8],[[30,0,["mode","isLive"]],[30,0,["hasError"]]],null],[30,0,["error"]]]],null],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[41,[30,0,["clickedDuringEditAlertVisible"]],[[[1,"  "],[8,[39,9],null,[["@onClose"],[[28,[37,2],[[30,0],"closeClickedDuringEditAlert"],null]]],null],[1,"\\n"]],[]],null]],["@content"],false,["if","mrc-tile-slider","action","route-action","unless","format-seconds","mrc-saving-overlay","mrc-error-overlay","and","mrc-clicked-during-edit"]]',moduleName:"mimolive-remote-control/pods/components/mrc-tile/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/components/mrc-version-info/component",["exports","@ember/component","mimolive-remote-control/config/environment"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({buildDate:n.default.buildDate})
e.default=o})),define("mimolive-remote-control/pods/components/mrc-version-info/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DXzeEay0",block:'[[[1,"Built at "],[1,[30,0,["buildDate"]]]],[],false,[]]',moduleName:"mimolive-remote-control/pods/components/mrc-version-info/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/document-metadata/model",["exports","ember-data/attr","ember-data-model-fragments/fragment"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({title:(0,t.default)("string"),show:(0,t.default)("string"),author:(0,t.default)("string"),comments:(0,t.default)("string"),height:(0,t.default)("number"),width:(0,t.default)("number"),duration:(0,t.default)("number"),framerate:(0,t.default)("number"),samplerate:(0,t.default)("number")})
e.default=o}))
define("mimolive-remote-control/pods/document/controller",["exports","@ember/controller","@glimmer/tracking"],(function(e,t,n){var o,r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let i=(o=class extends t.default{constructor(...e){var t,n,o,i
super(...e),t=this,n="showDocumentClosedWarning",i=this,(o=r)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(i):void 0})}},l=o.prototype,a="showDocumentClosedWarning",s=[n.tracked],c={configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=s.slice().reverse().reduce((function(e,t){return t(l,a,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,a,d),d=null),r=d,o)
var l,a,s,c,u,d
e.default=i})),define("mimolive-remote-control/pods/document/error/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{activate(){console.log("activate DocumentErrorRoute")}}e.default=n})),define("mimolive-remote-control/pods/document/error/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"BLJXGtFH",block:'[[[1,"nested template"]],[],false,[]]',moduleName:"mimolive-remote-control/pods/document/error/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/document/model",["exports","ember-data","ember-data-model-fragments/attributes","@ember/object","@ember/array/proxy","rsvp","@ember/object/evented"],(function(e,t,n,o,r,i,l){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:a,attr:s,hasMany:c}=t.default,u=r.default.extend({document_id:null,store:null,_deferred:(0,i.defer)(),_isLoaded:!1,_canvases:(0,o.computed)((function(){return this.get("store")?this.get("store").peekAll("canvas"):[]})),_filteredCanvases:(0,o.computed)("_canvases.@each",(function(){const e=this.get("document_id")
return this.get("_canvases").filterBy("document.id",e)})),content:(0,o.computed)("document_id","_filteredCanvases.@each",(function(){const e=this.get("document_id")
return this._isLoaded||(this._isLoaded=!0,this.get("store").query("canvas",{document_id:e}).then(this._deferred.resolve,this._deferred.reject)),this.get("_filteredCanvases")}))})
var d=a.extend(l.default,{name:s("string"),metadata:(0,n.fragment)("document-metadata"),duration:s("number"),formattedDuration:s("string"),showStart:s("number"),liveState:s("live-state"),layers:c("layer"),sources:c("source"),layerSets:c("layer-set"),outputDestinations:c("output-destination"),canvases:null,init(){this._super(),this.canvases=u.create({document_id:this.get("id"),store:this.get("store")})},willDestroy(){this._unloadEntities(this.hasMany("layers").value()),this._unloadEntities(this.hasMany("sources").value()),this._unloadEntities(this.get("canvases._filteredCanvases")),this._super(...arguments)},_unloadEntities(e){e&&"function"==typeof e.forEach&&e.forEach(e=>{null!=e&&this.store.unloadRecord(e)})},sourcesWithGain:(0,o.computed)("sources.[].hasGain",(function(){return this.get("sources").filterBy("hasGain")}))})
e.default=d})),define("mimolive-remote-control/pods/document/route",["exports","@ember/routing/route","@ember/service","@ember/object","@ember-data/adapter/error"],(function(e,t,n,o,r){var i,l,a,s
function c(e,t,n,o){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0})}function u(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let d=(i=class extends t.default{constructor(...e){super(...e),c(this,"i18n",l,this),c(this,"websocket",a,this),c(this,"router",s,this)}model({document_id:e}){return this.store.findRecord("document",e)}setupController(e,t){super.setupController(e,t),this.websocket.one("removed-document-"+t.id,this,this.removedDocument)}resetController(e){e.showDocumentClosedWarning=!1
try{this.websocket.off("removed-document-"+this.currentModel.id,this,this.removedDocument)}catch(t){}try{this.websocket.off("opened-document-"+this.currentModel.id,this,this.openedDocument)}catch(t){}}removedDocument(){this.websocket.one("opened-document-"+this.currentModel.id,this,this.openedDocument),this.controller.showDocumentClosedWarning=!0}openedDocument(){console.log("Previously closed document was reopened – reload window."),this.send("reloadPage")}goToDocuments(){this.router.transitionTo("documents")}error(e,t){return e instanceof r.NotFoundError&&(console.debug("DocumentRoute: document not found, storing transition on error object for retry attempt.",e),e.retryTransition=t),!0}},l=u(i.prototype,"i18n",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=u(i.prototype,"websocket",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=u(i.prototype,"router",[n.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u(i.prototype,"goToDocuments",[o.action],Object.getOwnPropertyDescriptor(i.prototype,"goToDocuments"),i.prototype),u(i.prototype,"error",[o.action],Object.getOwnPropertyDescriptor(i.prototype,"error"),i.prototype),i)
e.default=d})),define("mimolive-remote-control/pods/document/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"Z5fsfUMW",block:'[[[1,[28,[35,0],["mimoLive"],[["replace"],[true]]]],[1,"\\n"],[1,[28,[35,0],[[30,1,["name"]]],null]],[1,"\\n"],[46,[28,[37,2],null,null],null,null,null],[1,"\\n"],[41,[30,0,["showDocumentClosedWarning"]],[[[1,"  "],[1,[28,[35,4],null,[["class"],["modal-backdrop"]]]],[1,"\\n"],[6,[39,4],null,[["stack","class"],["blocking-dialog","modal-dialog"]],[["default"],[[[[6,[39,5],null,null,[["default"],[[[[1,"      "],[10,0],[14,0,"header"],[12],[1,"\\n        "],[10,"h4"],[12],[1,"\\n          "],[1,[28,[35,6],["errors.documentRemoved.heading"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n        "],[10,2],[14,0,"centered"],[12],[1,"\\n          "],[1,[28,[35,6],["errors.documentRemoved.text"],null]],[1,"\\n        "],[13],[1,"\\n        "],[11,"button"],[24,0,"btn btn-primary btn-block"],[4,[38,7],[[30,0],[28,[37,8],["goToDocuments"],null]],null],[12],[1,"\\n          "],[1,[28,[35,6],["errors.documentRemoved.button"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]]]]]],[]]]]]],[]],null]],["@model"],false,["page-title","component","-outlet","if","liquid-wormhole","mrc-modal","t","action","route-action"]]',moduleName:"mimolive-remote-control/pods/document/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/documents/error/route",["exports","@ember/routing/route","@ember-data/adapter/error"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class o extends t.default{constructor(...e){var t,n,o
super(...e),o=void 0,(n="retryMissingDocumentTimeout")in(t=this)?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o}activate(){console.log("activate DocumentsErrorRoute")}deactivate(){window.clearTimeout(this.retryMissingDocumentTimeout)}setupController(e,t,o){e.model=t,e.retryActive=!1,t instanceof n.NotFoundError&&null!=t.retryTransition&&(console.error("Error route: document not found",t),e.retryActive=!0,this.retryMissingDocumentTimeout=setTimeout(()=>t.retryTransition.retry(),5e3))}}e.default=o})),define("mimolive-remote-control/pods/documents/error/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"VPT0RAcl",block:'[[[1,[34,0]],[1,"\\n\\n"],[10,0],[14,0,"center-wrapper"],[12],[1,"\\n  "],[10,0],[14,0,"content"],[14,5,"padding: 15px;"],[12],[1,"\\n    "],[10,"h5"],[12],[1,"\\n      "],[8,[39,1],null,[["@route"],["documents"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"icon icon-menu-left"],[12],[13],[1,"\\n        "],[1,[28,[35,2],["canvases.navbar.back"],null]],[1,"\\n      "]],[]]]]],[1,"\\n      "],[1,[28,[35,2],["errors.document.heading"],null]],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[28,[37,4],[[33,5,["errors","firstObject","status"]],"0"],null],[[[1,"      "],[10,2],[12],[1,[28,[35,2],["errors.document.networkError"],null]],[13],[1,"\\n"]],[]],[[[41,[28,[37,4],[[33,5,["errors","firstObject","status"]],"404"],null],[[[1,"      "],[10,2],[12],[1,[28,[35,2],["errors.document.notFound"],null]],[13],[1,"\\n"],[41,[33,6],[[[1,"        "],[10,2],[12],[1,[28,[35,2],["errors.document.retryActive"],null]],[13],[1,"\\n"]],[]],null]],[]],[[[1,"      "],[10,2],[12],[1,[28,[35,2],["errors.unexpected"],null]],[13],[1,"\\n    "]],[]]]],[]]],[1,"\\n    "],[10,2],[14,0,"text-muted"],[12],[1,[34,5]],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],[],false,["mrc-documents-navbar","link-to","t","if","eq","model","retryActive"]]',moduleName:"mimolive-remote-control/pods/documents/error/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/documents/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model(){return this.modelFor("documents")}})
e.default=n})),define("mimolive-remote-control/pods/documents/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"gP+IsUae",block:'[[[1,[34,0]],[1,"\\n\\n"],[10,0],[14,0,"center-wrapper"],[12],[1,"\\n"],[1,"  "],[10,"img"],[14,0,"app-artwork"],[14,"src","/artwork-030a65c68eccccb76b3be83fbdde5a4a.png"],[14,"alt","mimoLive Artwork"],[12],[13],[1,"\\n  "],[10,0],[14,0,"content"],[12],[1,"\\n    "],[8,[39,1],null,[["@growWidth"],[false]],[["default"],[[[[1,"\\n      "],[1,[28,[35,2],[[30,1]],null]],[1,"\\n    "]],[]]]]],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[1,[34,3]]],["@model"],false,["mrc-documents-navbar","liquid-spacer","mrc-documents-list","mrc-version-info"]]',moduleName:"mimolive-remote-control/pods/documents/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/documents/route",["exports","@ember/routing/route","mimolive-remote-control/mixins/authenticated-route","@ember/service"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend(n.default,{websocket:(0,o.inject)(),model(){return this.store.findAll("document")},onWebsocketClosed(){this.controller.set("showDisconnectWarning",!0),this.websocket.one("websocketOpened",this,this.onWebsocketReopened)},onWebsocketReopened(){console.log("Reopened"),this.send("reloadPage")},activate(){this.websocket.on("websocketClosed",this,this.onWebsocketClosed)},deactivate(){this.websocket.off("websocketClosed",this,this.onWebsocketClosed)
try{this.websocket.off("websocketOpened",this,this.onWebsocketReopened)}catch(e){}},actions:{reloadPage(){window.location.reload()}}})
e.default=r})),define("mimolive-remote-control/pods/documents/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"vMr1gAZe",block:'[[[1,[28,[35,0],null,[["class"],["documents"]]]],[1,"\\n"],[41,[30,0,["showDisconnectWarning"]],[[[1,"  "],[1,[28,[35,2],null,[["class","click"],["modal-backdrop",[28,[37,3],["reloadPage"],null]]]]],[1,"\\n"],[6,[39,2],null,[["stack","class"],["blocking-dialog","modal-dialog"]],[["default"],[[[[6,[39,4],null,null,[["default"],[[[[1,"      "],[1,[28,[35,5],null,[["reload"],[[28,[37,3],["reloadPage"],null]]]]],[1,"\\n"]],[]]]]]],[]]]]]],[]],null]],[],false,["liquid-outlet","if","liquid-wormhole","route-action","mrc-modal","mrc-disconnect-warning"]]',moduleName:"mimolive-remote-control/pods/documents/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/dynamic-text/model",["exports","@ember/application","@ember/object/promise-proxy-mixin","@ember/object/proxy","@ember/service","@ember/object","@ember/string","ember-data/attr","ember-data-model-fragments/fragment"],(function(e,t,n,o,r,i,l,a,s){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const c=o.default.extend(n.default)
var u=s.default.extend({templateService:(0,r.inject)("template"),layerId:(0,a.default)("string"),variantId:(0,a.default)("string"),sourceId:(0,a.default)("string"),filterId:(0,a.default)("string"),template:(0,a.default)("string"),layerSetId:(0,a.default)("string"),outputDestinationId:(0,a.default)("string"),speciality:(0,a.default)("string"),error:null,clockTickTimeout:null,context:(0,i.computed)("layerId","variantId","sourceId","filterId","layerSetId","outputDestinationId",(function(){const{layerId:e,variantId:n,sourceId:o,filterId:r,layerSetId:i,outputDestinationId:l}=this.getProperties("layerId","variantId","filterId","sourceId","layerSetId","outputDestinationId")
this.set("error",null)
const a=(0,t.getOwner)(this).lookup("route:document").get("currentModel.id")
return c.create({promise:this.store.find("document",a).then(t=>e?t.get("layers").then(t=>t.findBy("id",e)).then(e=>{if(e)return n?e.get("variants").then(e=>{const t=e.findBy("id",n)
return t||this.set("error","Dynamic text references an invalid variant."),t}):e
this.set("error","Dynamic text references an invalid layer.")}):o?t.get("sources").then(e=>e.findBy("id",o)).then(e=>{if(e)return r?e.get("filters").then(e=>{const t=e.findBy("id",r)
return t||this.set("error","Dynamic text references an invalid filter."),t}):e
this.set("error","Dynamic text references an invalid source.")}):i?t.get("layerSets").then(e=>e.findBy("id",i)).then(e=>{if(e)return e
this.set("error","Dynamic text references an invalid layer set.")}):l?t.get("outputDestinations").then(e=>e.findBy("id",l)).then(e=>{if(e)return e
this.set("error","Dynamic text references an invalid output destination.")}):t)})})).readOnly(),text:(0,i.computed)("speciality","context.{isFulfilled,content}","template",(function(){var e
if(clearTimeout(this.clockTickTimeout),!this.get("context.isFulfilled")||!this.get("context.content"))return
const t=this.get("context.content")
if(this.speciality)switch(this.speciality){case"wallClock":return this.clockTickTimeout=setTimeout(this.dynamicObserverChanged.bind(this),1e3),(new Date).toLocaleTimeString()
case"showTimer":return this.createObservers(t,["formattedDuration"]),null===(e=this.context.content)||void 0===e?void 0:e.formattedDuration
default:return"speciality unknown"}const n=this.get("templateService").compile(this.get("template"))
return this.createObservers(t,n.dependencies),n(t)})).readOnly(),styledText:(0,i.computed)("text","context.{isFulfilled,content.liveState._state}",(function(){if("showTimer"===this.speciality){var e
let t=""
const{isPreview:n,isShutdown:o,isLive:r}=(null===(e=this.context.content)||void 0===e?void 0:e.liveState)??{}
return n?t="text-ml-green":o?t="text-ml-yellow":r&&(t="text-ml-red"),(0,l.htmlSafe)(`<span class="${t}">${this.text}</span>`)}return null})).readOnly(),dynamicObserverChanged(){this.notifyPropertyChange("context")},createObservers(e,t){this.destroyObservers(),this._dynamicObserverTarget=e,this._dynamicObserverKeys=t,t.forEach(e=>{this._dynamicObserverTarget.addObserver(e,this,this.dynamicObserverChanged)})},destroyObservers(){this._dynamicObserverKeys&&this._dynamicObserverTarget&&(this._dynamicObserverKeys.forEach(e=>{this._dynamicObserverTarget.removeObserver(e,this,this.dynamicObserverChanged)}),delete this._dynamicObserverTarget,delete this._dynamicObserverKeys)},willDestroy(){this.destroyObservers(),clearTimeout(this.clockTickTimeout)}})
e.default=u})),define("mimolive-remote-control/pods/filter/model",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:n,attr:o,belongsTo:r}=t.default
var i=n.extend({name:o("string"),compositionId:o("string"),inputValues:o("input-values"),source:r("source",{inverse:"filters"})})
e.default=i})),define("mimolive-remote-control/pods/icons/service",["exports","@ember/service","@ember/object","@ember/string","mimolive-remote-control/icons/config"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=r.default.glyphs
i.sort((e,t)=>e.css.localeCompare(t.css))
var l=t.default.extend({i18n:(0,t.inject)(),all:(0,n.computed)((function(){return i.map(e=>({title:e.css.split("-").map(o.capitalize).join(" "),id:e.css}))}))})
e.default=l})),define("mimolive-remote-control/pods/image-scheduler/service",["exports","@ember/runloop","rsvp","@ember/array","@ember/service"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=r.default.extend({_store:null,_roundStartTime:null,_runScheduleTimeout:null,init(){this._super(...arguments),this._store=(0,o.A)(),this._run()},schedule(e,t,n){this._store.find(o=>o.url===n&&o.target===e&&o.targetProp===t)||this._store.push({url:n,target:e,targetProp:t})},deschedule(e,t){this._store=this._store.reject(n=>n.target===e&&n.targetProp===t)},_run(){const e=Date.now(),o=this._store
this._roundStartTime=e
let r=(0,n.resolve)()
!0!==document.hidden&&(r=o.reduce((o,r)=>o.then(()=>new n.Promise((function(n){const o=r.url+(r.url.includes("?")?"&":"?")+"timestamp="+e,i=new Image
i.onload=function(){(0,t.run)(null,n)},i.onerror=function(){(0,t.run)(null,n)},i.src=o,r.refreshedURL=o}))),r)),r.then(()=>{this._store.forEach(e=>{e.target.set(e.targetProp,e.refreshedURL)})
const e=Date.now(),n=this._roundStartTime+200-e
n<0?this._run():this._runScheduleTimeout=(0,t.later)(this,this._run,n)})},willDestroy(){(0,t.cancel)(this._runScheduleTimeout),this._super(...arguments)}})
e.default=i})),define("mimolive-remote-control/pods/index/route",["exports","@ember/routing/route","@ember/service"],(function(e,t,n){var o,r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let i=(o=class extends t.default{constructor(...e){var t,n,o,i
super(...e),t=this,n="router",i=this,(o=r)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(i):void 0})}redirect(){this.router.transitionTo("documents")}},l=o.prototype,a="router",s=[n.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=s.slice().reverse().reduce((function(e,t){return t(l,a,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,a,d),d=null),r=d,o)
var l,a,s,c,u,d
e.default=i})),define("mimolive-remote-control/pods/input-descriptions/transform",["exports","@ember/object/proxy","ember-data"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.InputDescriptions=void 0
const{Transform:o}=n.default,r=t.default.extend({content:null})
e.InputDescriptions=r
var i=o.extend({deserialize:e=>r.create({content:e}),serialize:e=>e.get("content")})
e.default=i})),define("mimolive-remote-control/pods/input-values/transform",["exports","@ember/object/proxy","@ember/object","ember-data"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.InputValues=void 0
const{Transform:r}=o.default,i=t.default.extend({content:null,signals:(0,n.computed)("content",(function(){const e=this.get("content")
return Object.keys(e).filter(e=>e.endsWith("_TypeSignal"))})).readOnly(),dynamicSources:(0,n.computed)("content",(function(){const e=this.get("content")
return Object.keys(e).filter(e=>e.startsWith("tvIn_VideoSource"))})).readOnly()})
e.InputValues=i
var l=r.extend({deserialize:e=>i.create({content:e}),serialize:e=>e.get("content")})
e.default=l})),define("mimolive-remote-control/pods/layer-set/model",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:n,attr:o,belongsTo:r}=t.default
var i=n.extend({name:o("string"),active:o("boolean"),document:r("document",{inverse:"layerSets"})})
e.default=i})),define("mimolive-remote-control/pods/layer/model",["exports","@ember/object","ember-data"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:o,attr:r,belongsTo:i,hasMany:l}=n.default
var a=o.extend({compositionID:r("string"),name:r("string"),liveState:r("live-state"),index:r("number"),variants:l("variant"),liveVariant:i("variant"),activeVariant:i("variant"),document:i("document",{inverse:"layers"}),volume:r("number"),hasVolume:(0,t.computed)("volume",(function(){return"number"==typeof this.get("volume")})),hasDynamicSources:(0,t.computed)("variants.@each.hasDynamicSources",(function(){return this.get("variants").isAny("hasDynamicSources")})),hasTextInputs:(0,t.computed)("variants.@each.hasTextInputs",(function(){return this.get("variants").isAny("hasTextInputs")})),hasVariantsWithNumericInputs:(0,t.computed)("variants.@each.hasNumericInputs",(function(){return this.get("variants").isAny("hasNumericInputs")})),hasNumericInputs:(0,t.computed)("hasVariantsWithNumericInputs","hasVolume",(function(){return this.hasVariantsWithNumericInputs||this.hasVolume})),reload(){return this.get("document.content").hasMany("layers").reload()},willDestroy(){this._unloadEntities(this.hasMany("variants").value()),this._super(...arguments)},_unloadEntities(e){e&&"function"==typeof e.forEach&&e.forEach(e=>{this.store.unloadRecord(e)})}})
e.default=a})),define("mimolive-remote-control/pods/layer/serializer",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{JSONAPISerializer:n}=t.default
var o=n.extend({normalize(e,t){return delete t.relationships.variants.data,this._super(...arguments)}})
e.default=o})),define("mimolive-remote-control/pods/live-state-chooser/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model(){return this.modelFor("document")}}e.default=n})),define("mimolive-remote-control/pods/live-state-chooser/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"+1sqDXVr",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,0],["liveStateChooser.selectTarget.heading"],null]],[1,"\\n    "],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,1],["click",[28,[37,2],["leaveLiveStateChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[44,[[30,1]],[[[1,"      "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],["click",[28,[37,2],["setLiveState"],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,0],["liveStateChooser.selectTarget.document"],null]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n\\n      "],[10,"h5"],[12],[1,"\\n        "],[1,[28,[35,0],["liveStateChooser.selectTarget.layers"],null]],[1,"\\n      "],[13],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[28,[37,6],["index",[30,2,["layers"]]],null]],null]],null],null,[[[1,"        "],[8,[39,7],[[24,0,"link-entry"]],[["@route","@model"],["live-state-chooser.layer",[30,3]]],[["default"],[[[[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,"\\n            "],[1,[30,3,["name"]]],[1,"\\n          "],[13],[1,"\\n          "],[1,[28,[35,8],[[30,3,["variants"]]],null]],[1,"\\n          "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[3]],null],[1,"\\n"],[41,[30,2,["layerSets"]],[[[1,"        "],[10,"h5"],[12],[1,"\\n          "],[1,[28,[35,0],["liveStateChooser.selectTarget.layerSets"],null]],[1,"\\n        "],[13],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,2,["layerSets"]]],null]],null],null,[[[1,"          "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],["click",[28,[37,2],["setLiveState",[28,[37,10],null,[["layerSet"],[[30,4]]]]],null]],null],[12],[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,"\\n              "],[1,[30,4,["name"]]],[1,"\\n            "],[13],[1,"\\n"],[41,[30,4,["active"]],[[[1,"              "],[10,1],[14,0,"icon icon-record"],[12],[13],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n"]],[4]],null]],[]],null],[1,"\\n"],[41,[30,2,["outputDestinations"]],[[[1,"        "],[10,"h5"],[12],[1,"\\n          "],[1,[28,[35,0],["liveStateChooser.selectTarget.outputDestinations"],null]],[1,"\\n        "],[13],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,2,["outputDestinations"]]],null]],null],null,[[[1,"          "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],["click",[28,[37,2],["setLiveState",[28,[37,10],null,[["outputDestination"],[[30,5]]]]],null]],null],[12],[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,"\\n              "],[1,[30,5,["title"]]],[1,"\\n            "],[13],[1,"\\n            "],[1,[30,5,["summary"]]],[1,"\\n"],[41,[30,5,["liveState","isLive"]],[[[1,"              "],[10,1],[14,0,"icon icon-record"],[12],[13],[1,"\\n"]],[]],null],[1,"          "],[13],[1,"\\n"]],[5]],null]],[]],null],[1,"\\n      "],[10,"h5"],[12],[1,"\\n        "],[1,[28,[35,0],["liveStateChooser.selectTarget.sources"],null]],[1,"\\n      "],[13],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[28,[37,6],["name",[30,2,["sources"]]],null]],null]],null],null,[[[1,"        "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],["click",[28,[37,2],["setLiveState",[28,[37,10],null,[["source"],[[30,6]]]]],null]],null],[12],[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,"\\n            "],[1,[30,6,["name"]]],[1,"\\n          "],[13],[1,"\\n"],[41,[30,6,["tallyState","isProgram"]],[[[1,"            "],[10,1],[14,0,"icon icon-record"],[12],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n"]],[6]],[[[1,"        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,0],["liveStateChooser.selectTarget.hasNoSources"],null]],[1,"\\n        "],[13],[1,"\\n"]],[]]]],[2]]],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","document","layer","layerSet","outputDestination","source"],false,["t","on","route-action","let","each","-track-array","sort-by","link-to","mrc-preview-layer-variants","if","hash"]]',moduleName:"mimolive-remote-control/pods/live-state-chooser/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/live-state-chooser/layer/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model(){return this.modelFor("live-state-chooser.layer")}})
e.default=n})),define("mimolive-remote-control/pods/live-state-chooser/layer/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"tzzupGaJ",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["live-state-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["liveStateChooser.layer.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,[28,[35,1],["liveStateChooser.layer.heading"],[["name"],[[30,1,["name"]]]]]],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],[[30,0],[28,[37,3],["leaveLiveStateChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],[[30,0],[28,[37,3],["setLiveState",[28,[37,4],null,[["layer"],[[30,1]]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,1],["liveStateChooser.layer.ownLiveState"],null]],[13],[1,"\\n"],[41,[30,1,["liveState","isLive"]],[[[1,"        "],[10,1],[14,0,"icon icon-record"],[12],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n\\n    "],[10,"h5"],[12],[1,[28,[35,1],["liveStateChooser.layer.variantsHeading"],null]],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,1,["variants"]]],null]],null],null,[[[41,[28,[37,8],[[30,2,["hasDynamicSources"]],[30,2,["sortedToggleSwitches"]]],null],[[[1,"        "],[8,[39,0],[[24,0,"link-entry"]],[["@route","@models"],["live-state-chooser.layer.variant",[28,[37,9],[[30,1],[30,2]],null]]],[["default"],[[[[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n          "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],[[[1,"        "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],[[30,0],[28,[37,3],["setLiveState",[28,[37,4],null,[["variant"],[[30,2]]]]],null]],null],[12],[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n"],[41,[30,2,["liveState","isLive"]],[[[1,"            "],[10,1],[14,0,"icon icon-record"],[12],[13],[1,"\\n"]],[]],null],[1,"        "],[13],[1,"\\n"]],[]]]],[2]],null],[1,"  "],[13],[1,"\\n"],[13]],["@model","variant"],false,["link-to","t","action","route-action","hash","if","each","-track-array","or","array"]]',moduleName:"mimolive-remote-control/pods/live-state-chooser/layer/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/live-state-chooser/layer/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/live-state-chooser/layer/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"ffSZsCoS",block:'[[[1,[28,[35,0],null,[["class"],["live-state-chooser-layer"]]]]],[],false,["liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/live-state-chooser/layer/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/live-state-chooser/layer/variant/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({variant_id:e}){return this.modelFor("live-state-chooser.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/live-state-chooser/layer/variant/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"WDlCtVwf",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["live-state-chooser.layer"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["liveStateChooser.variant.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,[28,[35,1],["liveStateChooser.variant.heading"],[["name"],[[30,1,["name"]]]]]],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],[[30,0],[28,[37,3],["leaveLiveStateChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],[[30,0],[28,[37,3],["setLiveState",[28,[37,4],null,[["variant"],[[30,1]]]]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,1],["liveStateChooser.variant.ownLiveState"],null]],[13],[1,"\\n    "],[13],[1,"\\n\\n"],[41,[30,1,["hasDynamicSources"]],[[[1,"      "],[10,"h5"],[12],[1,[28,[35,1],["liveStateChooser.variant.dynamicSources"],null]],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[33,8,["sortedDynamicSources"]]],null]],null],null,[[[1,"        "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],[[30,0],[28,[37,3],["setLiveState",[28,[37,4],null,[["variant","dynamicSourceId"],[[30,1],[30,2,["key"]]]]]],null]],null],[12],[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n        "],[13],[1,"\\n"]],[2]],null]],[]],null],[1,"\\n"],[41,[30,1,["sortedToggleSwitches"]],[[[1,"      "],[10,"h5"],[12],[1,[28,[35,1],["liveStateChooser.variant.toggleSwitches"],null]],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[33,8,["sortedToggleSwitches"]]],null]],null],null,[[[1,"        "],[11,0],[24,0,"link-entry clickable"],[4,[38,2],[[30,0],[28,[37,3],["setLiveState",[28,[37,4],null,[["variant","propertyPath"],[[30,1],[28,[37,9],["inputValues",".",[30,3,["key"]]],null]]]]],null]],null],[12],[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,3,["name"]]],[13],[1,"\\n          "],[8,[39,10],null,[["@value","@onLabel","@offLabel","@disabled","@onToggle"],[[28,[37,11],[[30,1,["inputValues"]],[30,3,["key"]]],null],"true","false",true,[28,[37,2],[[30,0],[28,[37,12],["no-action-defined"],null]],null]]],null],[1,"\\n        "],[13],[1,"\\n"]],[3]],null]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["@model","source","toggleSwitch"],false,["link-to","t","action","route-action","hash","if","each","-track-array","model","concat","x-toggle","get","optional"]]',moduleName:"mimolive-remote-control/pods/live-state-chooser/layer/variant/template.hbs",isStrictMode:!1})
e.default=t}))
define("mimolive-remote-control/pods/live-state-chooser/route",["exports","@ember/routing/route","@ember/object","@ember/service"],(function(e,t,n,o){var r,i
function l(e,t,n,o,r){var i={}
return Object.keys(o).forEach((function(e){i[e]=o[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,o){return o(e,t,n)||n}),i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let a=(r=class extends t.default{constructor(...e){var t,n,o,r
super(...e),t=this,n="router",r=this,(o=i)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(r):void 0})}leave(){this.leaveLiveStateChooser()}leaveLiveStateChooser(){this.router.transitionTo("canvas.tile.edit")}setLiveState(e={}){const t=this.modelFor("canvas.tile.edit"),o=this.store.createFragment("live-state")
e.variant?o.setProperties({variantId:(0,n.get)(e,"variant.id"),layerId:(0,n.get)(e,"variant.layer.id"),dynamicSourceId:(0,n.get)(e,"dynamicSourceId"),propertyPath:(0,n.get)(e,"propertyPath")}):e.layer?o.setProperties({layerId:(0,n.get)(e,"layer.id")}):e.source?o.setProperties({sourceId:(0,n.get)(e,"source.id")}):e.layerSet?o.setProperties({layerSetId:(0,n.get)(e,"layerSet.id")}):e.outputDestination&&o.setProperties({outputDestinationId:(0,n.get)(e,"outputDestination.id")}),t.get("liveState")&&t.get("liveState").destroy(),t.set("liveState",o),this.send("leaveLiveStateChooser")}},i=l(r.prototype,"router",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l(r.prototype,"leave",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"leave"),r.prototype),l(r.prototype,"leaveLiveStateChooser",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"leaveLiveStateChooser"),r.prototype),l(r.prototype,"setLiveState",[n.action],Object.getOwnPropertyDescriptor(r.prototype,"setLiveState"),r.prototype),r)
e.default=a})),define("mimolive-remote-control/pods/live-state-chooser/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"VUW1+RSv",block:'[[[6,[39,0],null,[["slideIn"],[true]],[["default"],[[[[1,"  "],[1,[28,[35,1],null,[["class"],["live-state-chooser"]]]],[1,"\\n"]],[]]]]]],[],false,["mrc-modal","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/live-state-chooser/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/live-state/model",["exports","@ember/application","@ember/object/promise-proxy-mixin","@ember/object/proxy","@ember/object","ember-data/attr","ember-data-model-fragments/fragment","mimolive-remote-control/pods/document/model","mimolive-remote-control/pods/layer/model","mimolive-remote-control/pods/variant/model","mimolive-remote-control/pods/source/model","mimolive-remote-control/pods/layer-set/model","mimolive-remote-control/pods/output-destination/model"],(function(e,t,n,o,r,i,l,a,s,c,u,d,m){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const f=o.default.extend(n.default)
var p=l.default.extend({sourceId:(0,i.default)("string"),layerId:(0,i.default)("string"),variantId:(0,i.default)("string"),dynamicSourceId:(0,i.default)("string"),propertyPath:(0,i.default)("string"),layerSetId:(0,i.default)("string"),outputDestinationId:(0,i.default)("string"),error:null,_dynamicSourceIdObserverTarget:null,_propertyPathObserverTarget:null,source:(0,r.computed)("variantId","sourceId","layerId","dynamicSourceId","layerSetId","outputDestinationId",(function(){const{sourceId:e,layerId:n,variantId:o,dynamicSourceId:r,propertyPath:i,layerSetId:l,outputDestinationId:a}=this.getProperties("sourceId","layerId","variantId","dynamicSourceId","propertyPath","layerSetId","outputDestinationId")
this.set("error",null)
const s=(0,t.getOwner)(this).lookup("route:document").get("currentModel.id")
return f.create({promise:this.store.findRecord("document",s).then(t=>e?t.get("sources").then(t=>{const n=t.findBy("id",e)
return n||this.set("error","Live state indicator references an invalid source."),n}):n?t.get("layers").then(e=>e.findBy("id",n)).then(e=>{if(e)return o?e.get("variants").then(e=>e.findBy("id",o)).then(e=>{if(e){if(r){const n=e.get("inputValues."+r)
return this._dynamicSourceIdObserverTarget||(this._dynamicSourceIdObserverTarget=e,e.addObserver("inputValues."+r,this,this.dynamicSourceIdValueChanged)),t.get("sources").then(e=>{const t=e.findBy("id",n)
return t||this.set("error","Live state indicator references an invalid dynamic source."),t})}return i?(this._propertyPathObserverTarget||(this._propertyPathObserverTarget=e,e.addObserver(i,this,this.propertyPathValueChanged)),e):e}this.set("error","Live state indicator references an invalid layer variant.")}):e
this.set("error","Live state indicator references an invalid layer.")}):l?t.get("layerSets").then(e=>e.findBy("id",l)).then(e=>{if(e)return e
this.set("error","Live state indicator references an invalid layer set.")}):a?t.get("outputDestinations").then(e=>e.findBy("id",a)).then(e=>{if(e)return e
this.set("error","Live state indicator references an invalid output destination.")}):t)})})).readOnly(),isLive:(0,r.computed)("source","source.isFulfilled","source.content.{liveState.isLive,tallyState.isProgram,active}",(function(){return!!this.get("source.isFulfilled")&&(this.get("sourceId")||this.get("dynamicSourceId")?this.get("source.content.tallyState.isProgram"):this.get("layerSetId")?this.get("source.content.active"):this.get("propertyPath")?this.get("source.content."+this.get("propertyPath")):this.get("source.content.liveState.isLive"))})).readOnly(),isTransition:(0,r.computed)("source.isFulfilled","source.content.{liveState.isShutdown,tallyState.isEffect}",(function(){return!!this.get("source.isFulfilled")&&(this.get("sourceId")||this.get("dynamicSourceId")?this.get("source.content.tallyState.isEffect"):!this.get("layerSetId")&&(!this.get("propertyPath")&&this.get("source.content.liveState.isShutdown")))})).readOnly(),mimoLiveCompatibleInt:(0,r.computed)("isLive","isTransition",(function(){return this.isLive?3:this.isTransition?4:0})),timeRemaining:(0,r.computed)("source.content.outputValues.tvOut_TimeRemaining","source.content.activeVariant.content.outputValues.tvOut_TimeRemaining",(function(){if(!this.get("source.isFulfilled"))return null
const e=this.get("source.content")
let t=-1
if(e instanceof c.default)t=e.get("outputValues.tvOut_TimeRemaining")
else{if(!(e instanceof s.default))return null
t=e.get("activeVariant.content.outputValues.tvOut_TimeRemaining")}return t>0?t:null})),description:(0,r.computed)("source.{isFulfilled,name,title,layer.name}",(function(){if(!this.get("source.isFulfilled"))return
const e=this.get("source.content")
if(e instanceof a.default)return`Document "${e.get("name")}"`
if(e instanceof u.default)return`Source "${e.get("name")}"`
if(e instanceof s.default)return`Layer "${e.get("name")}"`
if(e instanceof c.default){const t=this.get("propertyPath")
return t?`Layer "${e.get("layer.name")}" / "${e.get("name")}" / "${t}"`:`Layer "${e.get("layer.name")}" / "${e.get("name")}"`}return e instanceof d.default?`Layer Set "${e.get("name")}"`:e instanceof m.default?`Output Destination "${e.title}"`:"(unknown type)"})).readOnly(),dynamicSourceIdValueChanged(){this.notifyPropertyChange("source")},propertyPathValueChanged(){this.notifyPropertyChange("source")},willDestroy(){return this._dynamicSourceIdObserverTarget&&this._dynamicSourceIdObserverTarget.removeObserver("inputValues."+this.get("dynamicSourceId"),this,this.dynamicSourceIdValueChanged),this._propertyPathKeyObserverTarget&&this._propertyPathKeyObserverTarget.removeObserver("inputValues."+this.get("propertyPathKey"),this,this.propertyPathValueChanged),this._super(...arguments)}})
e.default=p})),define("mimolive-remote-control/pods/live-state/transform",["exports","@ember/object","@ember/object/computed","ember-data"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.LiveState=void 0
const{Transform:r}=o.default,i=t.default.extend({_state:null,isLive:(0,n.equal)("_state","live"),isOff:(0,n.equal)("_state","off"),isPreview:(0,n.equal)("_state","preview"),isShutdown:(0,n.equal)("_state","shutdown")})
e.LiveState=i
var l=r.extend({serialize:e=>e.get("_state"),deserialize:e=>i.create({_state:e})})
e.default=l})),define("mimolive-remote-control/pods/mode/service",["exports","@ember/object/computed","@ember/service"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({_state:"editing",isLive:(0,t.equal)("_state","live"),isEditing:(0,t.equal)("_state","editing"),setLive(){"live"!==this.get("_state")&&this.set("_state","live")},setEditing(){"editing"!==this.get("_state")&&this.set("_state","editing")}})
e.default=o})),define("mimolive-remote-control/pods/output-destination/model",["exports","ember-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:n,attr:o,belongsTo:r}=t.default
var i=n.extend({title:o("string"),type:o("string"),summary:o("string"),liveState:o("live-state"),readyToGoLive:o("boolean"),startsWithShow:o("boolean"),stopsWithShow:o("boolean"),index:o("number"),document:r("document",{inverse:"outputDestinations"})})
e.default=i})),define("mimolive-remote-control/pods/preset-chooser/controller",["exports","@ember/controller","@ember/service"],(function(e,t,n){var o,r
Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
let i=(o=class extends t.default{constructor(...e){var t,n,o,i
super(...e),t=this,n="sideMenu",i=this,(o=r)&&Object.defineProperty(t,n,{enumerable:o.enumerable,configurable:o.configurable,writable:o.writable,value:o.initializer?o.initializer.call(i):void 0})}get presetChooserContainer(){this.sideMenu.isOpen
return document.getElementById("preset-chooser-container")}},l=o.prototype,a="sideMenu",s=[n.inject],c={configurable:!0,enumerable:!0,writable:!0,initializer:null},d={},Object.keys(c).forEach((function(e){d[e]=c[e]})),d.enumerable=!!d.enumerable,d.configurable=!!d.configurable,("value"in d||d.initializer)&&(d.writable=!0),d=s.slice().reverse().reduce((function(e,t){return t(l,a,e)||e}),d),u&&void 0!==d.initializer&&(d.value=d.initializer?d.initializer.call(u):void 0,d.initializer=void 0),void 0===d.initializer&&(Object.defineProperty(l,a,d),d=null),r=d,o)
var l,a,s,c,u,d
e.default=i})),define("mimolive-remote-control/pods/preset-chooser/document/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"9/lrgidq",block:'[[[10,0],[14,0,"sidebar-layer"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["preset-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["presetChooser.document.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,1],["presetChooser.document.heading"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-sidebar"],[4,[38,2],["click",[28,[37,3],["leavePresetChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,0],[14,0,"preset-group"],[12],[1,"\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,1],["presetChooser.document.startShow"],null],[28,[37,5],[[28,[37,6],null,[["text","width","height","x","y","icon","color","actions","liveState"],[[28,[37,1],["presetChooser.document.startShow"],null],1,1,0,0,"play","green",[28,[37,5],[[28,[37,6],null,[["type"],["setLive"]]]],null],[28,[37,6],null,null]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,1],["presetChooser.document.stopShow"],null],[28,[37,5],[[28,[37,6],null,[["text","width","height","x","y","icon","color","actions"],[[28,[37,1],["presetChooser.document.stopShow"],null],1,1,0,0,"stop","darkred",[28,[37,5],[[28,[37,6],null,[["type"],["setOff"]]]],null]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,1],["presetChooser.document.programOut"],null],[28,[37,5],[[28,[37,6],null,[["text","width","height","x","y","color","sourcePreview"],[[28,[37,1],["presetChooser.document.programOut"],null],1,1,0,0,"black",[28,[37,6],null,null]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n\\n      "],[10,"h5"],[12],[1,"\\n        "],[1,[28,[35,1],["presetChooser.document.clocks.heading"],null]],[1,"\\n      "],[13],[1,"\\n\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,1],["presetChooser.document.clocks.showTimer"],null],[28,[37,5],[[28,[37,6],null,[["dynamicText","width","height","x","y","color"],[[28,[37,6],null,[["speciality"],["showTimer"]]],1,1,0,0,"black"]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,1],["presetChooser.document.clocks.wallClock"],null],[28,[37,5],[[28,[37,6],null,[["dynamicText","width","height","x","y","color"],[[28,[37,6],null,[["speciality"],["wallClock"]]],1,1,0,0,"black"]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],[],false,["link-to","t","on","route-action","mrc-control-preset-preview","array","hash"]]',moduleName:"mimolive-remote-control/pods/preset-chooser/document/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preset-chooser/index/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model(){return this.modelFor("canvas")}})
e.default=n})),define("mimolive-remote-control/pods/preset-chooser/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"ii8tWSjB",block:'[[[10,0],[14,0,"sidebar-layer"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,0],["presetChooser.selectTarget.heading"],null]],[1,"\\n    "],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-sidebar"],[4,[38,1],["click",[28,[37,2],["leavePresetChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[44,[[30,1,["document"]]],[[[1,"      "],[8,[39,4],[[24,0,"mb-8 link-entry"]],[["@route","@model"],["preset-chooser.document",[30,1]]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,"\\n          "],[1,[28,[35,0],["presetChooser.selectTarget.document"],[["documentName"],[[28,[37,5],[[30,2,["name"]],[28,[37,0],["documents.namePlaceholder"],null]],null]]]]],[1,"\\n        "],[13],[1,"\\n        "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n      "]],[]]]]],[1,"\\n\\n"],[1,"      "],[10,0],[14,0,"preset-group"],[12],[1,"\\n        "],[10,"h5"],[12],[1,"\\n          "],[1,[28,[35,0],["presetChooser.selectTarget.layers"],[["documentName"],[[28,[37,5],[[30,2,["name"]],[28,[37,0],["documents.namePlaceholder"],null]],null]]]]],[1,"\\n        "],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[28,[37,8],["index",[30,2,["layers"]]],null]],null]],null],null,[[[1,"          "],[8,[39,4],[[24,0,"link-entry"]],[["@route","@models"],["preset-chooser.layer",[28,[37,9],[[30,1],[30,3]],null]]],[["default"],[[[[1,"\\n            "],[10,1],[14,0,"primary"],[12],[1,"\\n              "],[1,[30,3,["name"]]],[1,"\\n            "],[13],[1,"\\n            "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n          "]],[]]]]],[1,"\\n"]],[3]],[[[1,"          "],[10,2],[12],[1,"\\n            "],[1,[28,[35,0],["presetChooser.selectTarget.hasNoLayers"],null]],[1,"\\n          "],[13],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n\\n"],[41,[30,2,["layerSets"]],[[[1,"        "],[10,0],[14,0,"preset-group"],[12],[1,"\\n          "],[10,"h5"],[12],[1,"\\n            "],[1,[28,[35,0],["presetChooser.selectTarget.layerSets"],[["documentName"],[[28,[37,5],[[30,2,["name"]],[28,[37,0],["documents.namePlaceholder"],null]],null]]]]],[1,"\\n          "],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,2,["layerSets"]]],null]],null],null,[[[1,"            "],[8,[39,11],null,[["@title","@buttons","@leavePresetChooser"],[[30,4,["name"]],[28,[37,9],[[28,[37,12],null,[["dynamicText","width","height","x","y","color","actions","liveState"],[[28,[37,12],null,[["layerSetId","template"],[[30,4,["id"]],"{{name}}"]]],1,1,0,0,"#55ACEE",[28,[37,9],[[28,[37,12],null,[["type","layerSetId"],["recall",[30,4,["id"]]]]]],null],[28,[37,12],null,[["layerSetId"],[[30,4,["id"]]]]]]]]],null],[28,[37,2],["leavePresetChooser"],null]]],null],[1,"\\n"]],[4]],null],[1,"        "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["outputDestinations"]],[[[1,"        "],[10,0],[14,0,"preset-group"],[12],[1,"\\n          "],[10,"h5"],[12],[1,"\\n            "],[1,[28,[35,0],["presetChooser.selectTarget.outputDestinations"],[["documentName"],[[28,[37,5],[[30,2,["name"]],[28,[37,0],["documents.namePlaceholder"],null]],null]]]]],[1,"\\n          "],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,2,["outputDestinations"]]],null]],null],null,[[[1,"            "],[8,[39,4],[[24,0,"link-entry"]],[["@route","@models"],["preset-chooser.output-destination",[28,[37,9],[[30,1],[30,5]],null]]],[["default"],[[[[1,"\\n              "],[10,1],[14,0,"primary"],[12],[1,"\\n                "],[1,[30,5,["title"]]],[1,"\\n              "],[13],[1,"\\n              "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n            "]],[]]]]],[1,"\\n"]],[5]],null],[1,"        "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["sourcesWithGain"]],[[[1,"        "],[10,0],[14,0,"preset-group"],[12],[1,"\\n          "],[10,"h5"],[12],[1,"\\n            "],[1,[28,[35,0],["presetChooser.selectTarget.sources"],[["documentName"],[[28,[37,5],[[30,2,["name"]],[28,[37,0],["documents.namePlaceholder"],null]],null]]]]],[1,"\\n          "],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,2,["sourcesWithGain"]]],null]],null],null,[[[1,"            "],[8,[39,11],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,13],["Gain of \\"",[30,6,["name"]],"\\""],null],[28,[37,9],[[28,[37,12],null,[["dynamicText","width","height","x","y","color","icon","actions"],[[28,[37,12],null,[["sourceId","template"],[[30,6,["id"]],"{{name}} Gain"]]],1,2,0,0,"steelblue","volume",[28,[37,9],[[28,[37,12],null,[["type","sourceId","inputKey","inputName","inputDescription"],["numericInput",[30,6,["id"]],"gain","Gain",[28,[37,12],null,[["min","max"],[0,2]]]]]]],null]]]]],null],[28,[37,2],["leavePresetChooser"],null]]],null],[1,"\\n"]],[6]],null],[1,"        "],[13],[1,"\\n"]],[]],null],[1,"\\n      "],[10,0],[14,0,"preset-group"],[12],[1,"\\n        "],[10,"h5"],[12],[1,"\\n          "],[1,[28,[35,0],["presetChooser.selectTarget.blueprintButton"],null]],[1,"\\n        "],[13],[1,"\\n        "],[8,[39,11],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,0],["presetChooser.selectTarget.blueprintButton"],null],[28,[37,9],[[28,[37,12],null,[["width","height","x","y"],[1,1,0,0]]]],null],[28,[37,2],["leavePresetChooser"],null]]],null],[1,"\\n      "],[13],[1,"\\n      "],[10,2],[14,0,"help-text text-muted"],[12],[1,"\\n        "],[1,[28,[35,0],["presetChooser.selectTarget.helpText"],null]],[1,"\\n      "],[13],[1,"\\n"]],[2]]],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","document","layer","layerSet","outputDestination","source"],false,["t","on","route-action","let","link-to","or","each","-track-array","sort-by","array","if","mrc-control-preset-preview","hash","concat"]]',moduleName:"mimolive-remote-control/pods/preset-chooser/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preset-chooser/layer/controller",["exports","@ember/controller","@ember/object","@ember/application","@ember/service","ember"],(function(e,t,n,o,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{floor:l}=Math
var a=t.default.extend({i18n:(0,r.inject)(),toggleAllVariants:(0,n.computed)("model.variants.isFulfilled",(function(){if(!this.get("model.variants.isFulfilled")||1===this.get("model.variants.length"))return
let e=1/0
try{e=(0,o.getOwner)(this).lookup("controller:canvas").get("model.gridWidth")}catch(t){i.default.Logger.error("Error determining gridWidth in preset chooser",t)}return this.get("model.variants").map((t,o)=>({dynamicText:{layerId:(0,n.get)(t,"layer.id"),variantId:(0,n.get)(t,"id"),template:"{{name}}"},dynamicSubText:{layerId:(0,n.get)(t,"layer.id"),template:"{{name}}"},width:1,height:1,x:o%e,y:l(o/e),color:"green",actions:[{type:"toggleLive",layerId:(0,n.get)(t,"layer.id"),variantId:(0,n.get)(t,"id")}],liveState:{layerId:(0,n.get)(t,"layer.id"),variantId:(0,n.get)(t,"id")}}))}))})
e.default=a})),define("mimolive-remote-control/pods/preset-chooser/layer/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/preset-chooser/layer/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"hUdwBioc",block:'[[[10,0],[14,0,"sidebar-layer"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["preset-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["presetChooser.layer.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,1],["presetChooser.layer.heading"],null]],[1,"\\n    "],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-sidebar"],[4,[38,2],["click",[28,[37,3],["leavePresetChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[44,[[30,1]],[[[1,"      "],[10,0],[14,0,"preset-group"],[12],[1,"\\n        "],[8,[39,5],null,[["@title","@_trackingTitle","@compositionID","@buttons","@leavePresetChooser"],[[28,[37,6],["Toggle \\"",[30,2,["name"]],"\\" Live"],null],"Layer Live",[30,2,["compositionID"]],[28,[37,7],[[28,[37,8],null,[["dynamicText","width","height","x","y","color","actions","liveState"],[[28,[37,8],null,[["layerId","template"],[[30,2,["id"]],"{{name}}"]]],1,1,0,0,"green",[28,[37,7],[[28,[37,8],null,[["type","layerId"],["toggleLive",[30,2,["id"]]]]]],null],[28,[37,8],null,[["layerId"],[[30,2,["id"]]]]]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n"],[41,[30,2,["hasVolume"]],[[[1,"          "],[8,[39,5],null,[["@title","@_trackingTitle","@buttons","@leavePresetChooser"],[[28,[37,6],["Volume of \\"",[30,2,["name"]],"\\""],null],"Layer Volume",[28,[37,7],[[28,[37,8],null,[["dynamicText","width","height","x","y","color","icon","actions"],[[28,[37,8],null,[["layerId","template"],[[30,2,["id"]],"{{name}} Volume"]]],1,2,0,0,"steelblue","volume",[28,[37,7],[[28,[37,8],null,[["type","layerId","inputKey","inputName","inputDescription"],["numericInput",[30,2,["id"]],"volume","Volume",[28,[37,8],null,[["min","max"],[0,1]]]]]]],null]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["toggleAllVariants"]],[[[1,"          "],[8,[39,5],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,1],["presetChooser.layer.cycleThroughVariants"],null],[28,[37,7],[[28,[37,8],null,[["dynamicText","dynamicSubText","width","height","x","y","color","icon","actions"],[[28,[37,8],null,[["layerId","template"],[[30,2,["id"]],"Cycle \\"{{name}}\\""]]],[28,[37,8],null,[["layerId","template"],[[30,2,["id"]],"{{activeVariant.name}}"]]],1,1,0,0,"orange","loop",[28,[37,7],[[28,[37,8],null,[["type","layerId"],["cycleThroughVariants",[30,2,["id"]]]]]],null]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n          "],[8,[39,5],null,[["@buttons","@title","@compositionID","@leavePresetChooser"],[[30,0,["toggleAllVariants"]],"All Variants",[30,2,["compositionID"]],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n\\n"],[42,[28,[37,11],[[28,[37,11],[[30,2,["variants"]]],null]],null],null,[[[1,"        "],[10,0],[14,0,"preset-group"],[12],[1,"\\n"],[1,"          "],[10,"h5"],[12],[1,"\\n            "],[1,[28,[35,1],["presetChooser.layer.variantName"],[["variantName"],[[30,3,["name"]]]]]],[1,"\\n          "],[13],[1,"\\n\\n          "],[8,[39,5],null,[["@title","@_trackingTitle","@compositionID","@buttons","@leavePresetChooser"],[[30,3,["name"]],"Variant Live",[30,2,["compositionID"]],[28,[37,7],[[28,[37,8],null,[["dynamicText","dynamicSubText","width","height","x","y","color","actions","liveState"],[[28,[37,8],null,[["layerId","variantId","template"],[[30,3,["layer","id"]],[30,3,["id"]],"{{name}}"]]],[28,[37,8],null,[["layerId","template"],[[30,3,["layer","id"]],"{{name}}"]]],1,1,0,0,"green",[28,[37,7],[[28,[37,8],null,[["type","layerId","variantId"],["toggleLive",[30,3,["layer","id"]],[30,3,["id"]]]]]],null],[28,[37,8],null,[["layerId","variantId"],[[30,3,["layer","id"]],[30,3,["id"]]]]]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n\\n"],[41,[30,3,["hasControlPresets"]],[[[42,[28,[37,11],[[28,[37,11],[[30,3,["controlPresets"]]],null]],null],null,[[[1,"              "],[8,[39,5],null,[["@buttons","@title","@compositionID","@leavePresetChooser"],[[30,4,["buttons"]],[30,4,["title"]],[30,2,["compositionID"]],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n"]],[4]],null]],[]],null],[1,"\\n"],[42,[28,[37,11],[[28,[37,11],[[30,3,["textInputs"]]],null]],null],null,[[[1,"            "],[8,[39,5],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,6],["Edit \\"",[30,5,["name"]],"\\""],null],[28,[37,7],[[28,[37,8],null,[["dynamicText","dynamicSubText","width","height","x","y","color","actions","liveState"],[[28,[37,8],null,[["layerId","variantId","template"],[[30,3,["layer","id"]],[30,3,["id"]],[28,[37,6],["{{inputValues.",[30,5,["key"]],"}}"],null]]]],[28,[37,8],null,[["layerId","variantId","template"],[[30,3,["layer","id"]],[30,3,["id"]],"{{layer.name}} / {{name}}"]]],2,1,0,0,"orangered",[28,[37,7],[[28,[37,8],null,[["type","layerId","variantId","inputKey","inputName"],["textInput",[30,3,["layer","id"]],[30,3,["id"]],[28,[37,6],["inputValues.",[30,5,["key"]]],null],[30,5,["name"]]]]]],null],[28,[37,8],null,[["layerId","variantId"],[[30,3,["layer","id"]],[30,3,["id"]]]]]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n"]],[5]],null],[1,"        "],[13],[1,"\\n"]],[3]],null]],[2]]],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model","layer","variant","preset","input"],false,["link-to","t","on","route-action","let","mrc-control-preset-preview","concat","array","hash","if","each","-track-array"]]',moduleName:"mimolive-remote-control/pods/preset-chooser/layer/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preset-chooser/output-destination/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
class n extends t.default{model({output_destination_id:e}){return this.modelFor("document").get("outputDestinations").then(t=>t.findBy("id",e))}}e.default=n})),define("mimolive-remote-control/pods/preset-chooser/output-destination/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"WQdKgTVj",block:'[[[10,0],[14,0,"sidebar-layer"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["preset-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["presetChooser.outputDestination.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n    "],[10,"h4"],[12],[1,"\\n      "],[1,[28,[35,1],["presetChooser.outputDestination.heading"],null]],[1,"\\n    "],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-sidebar"],[4,[38,2],["click",[28,[37,3],["leavePresetChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,0],[14,0,"preset-group"],[12],[1,"\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,5],["Start \\"",[30,1,["title"]],"\\""],null],[28,[37,6],[[28,[37,7],null,[["dynamicText","width","height","x","y","color","icon","actions","liveState"],[[28,[37,7],null,[["outputDestinationId","template"],[[30,1,["id"]],"Start {{title}}"]]],1,1,0,0,"green","play",[28,[37,6],[[28,[37,7],null,[["type","outputDestinationId"],["setLive",[30,1,["id"]]]]]],null],[28,[37,7],null,[["outputDestinationId"],[[30,1,["id"]]]]]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n      "],[8,[39,4],null,[["@title","@buttons","@leavePresetChooser"],[[28,[37,5],["Stop \\"",[30,1,["title"]],"\\""],null],[28,[37,6],[[28,[37,7],null,[["dynamicText","width","height","x","y","color","icon","actions"],[[28,[37,7],null,[["outputDestinationId","template"],[[30,1,["id"]],"Stop {{title}}"]]],1,1,0,0,"red","stop",[28,[37,6],[[28,[37,7],null,[["type","outputDestinationId"],["setOff",[30,1,["id"]]]]]],null]]]]],null],[28,[37,3],["leavePresetChooser"],null]]],null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13],[1,"\\n"]],["@model"],false,["link-to","t","on","route-action","mrc-control-preset-preview","concat","array","hash"]]',moduleName:"mimolive-remote-control/pods/preset-chooser/output-destination/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preset-chooser/route",["exports","@ember/service","@ember/routing/route"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({mode:(0,t.inject)(),sideMenu:(0,t.inject)(),router:(0,t.inject)(),activate(){this.sideMenu.get("isOpen")||setTimeout(()=>{this.sideMenu.open()},1),this.mode.isEditing||setTimeout(()=>{this.mode.setEditing()},1)},deactivate(){this.sideMenu.close()},actions:{closeSidebar(){this.send("leavePresetChooser")},leavePresetChooser(){this.router.transitionTo("canvas")}}})
e.default=o})),define("mimolive-remote-control/pods/preset-chooser/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"iwhxgRiG",block:'[[[41,[30,0,["presetChooserContainer"]],[[[40,[[[1,"    "],[1,[34,3]],[1,"\\n"]],[]],"%cursor:0%",[28,[37,2],[[30,0,["presetChooserContainer"]]],null]]],[]],[[[1,"  Container element not available.\\n"]],[]]]],[],false,["if","in-element","-in-el-null","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/preset-chooser/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preview-chooser/index/route",["exports","rsvp","@ember/routing/route"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=n.default.extend({model(){return(0,t.hash)({layers:this.modelFor("document").get("layers"),sources:this.modelFor("document").get("sources")})}})
e.default=o})),define("mimolive-remote-control/pods/preview-chooser/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"DosF2Dxe",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[10,"h4"],[12],[1,[28,[35,0],["previewChooser.selectTarget.heading"],null]],[13],[1,"\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,1],[[30,0],[28,[37,2],["leavePreviewChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n"],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,0],["previewChooser.selectTarget.layers"],null]],[13],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[28,[37,5],["index",[28,[37,6],["hasDynamicSources",true,[30,1,["layers"]]],null]],null]],null]],null],null,[[[1,"      "],[8,[39,7],[[24,0,"link-entry"]],[["@route","@model"],["preview-chooser.layer",[30,2]]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n        "],[1,[28,[35,8],[[30,2,["variants"]]],null]],[1,"\\n        "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[2]],[[[1,"      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,0],["previewChooser.selectTarget.hasNoLayers"],null]],[13],[1,"\\n"]],[]]],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,0],["previewChooser.selectTarget.sources"],null]],[13],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,1,["sources"]]],null]],null],null,[[[1,"      "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],[[30,0],[28,[37,2],["setPreview",[28,[37,9],null,[["source"],[[30,3]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,3,["name"]]],[13],[1,"\\n"],[41,[30,3,["tallyState","isProgram"]],[[[1,"          "],[10,1],[14,0,"icon icon-record"],[12],[13],[1,"\\n"]],[]],null],[1,"      "],[13],[1,"\\n"]],[3]],[[[1,"      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,0],["previewChooser.selectTarget.hasNoSources"],null]],[13],[1,"\\n"]],[]]],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,0],["previewChooser.selectTarget.document"],null]],[13],[1,"\\n    "],[11,0],[24,0,"link-entry clickable"],[4,[38,1],[[30,0],[28,[37,2],["setPreview",[28,[37,9],null,null]],null]],null],[12],[1,"\\n      "],[10,1],[14,0,"primary"],[12],[1,[28,[35,0],["previewChooser.selectTarget.programOut"],null]],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],["@model","layer","source"],false,["t","action","route-action","each","-track-array","sort-by","filter-by","link-to","mrc-preview-layer-variants","hash","if"]]',moduleName:"mimolive-remote-control/pods/preview-chooser/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preview-chooser/layer/index/route",["exports","@ember/routing/route","@ember/service"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var o=t.default.extend({router:(0,n.inject)(),model(){return this.modelFor("preview-chooser.layer")},afterModel(e){return e.get("variants").then(t=>{1===t.length&&this.router.transitionTo("preview-chooser.layer.variant",e,t.get("firstObject"))})}})
e.default=o})),define("mimolive-remote-control/pods/preview-chooser/layer/index/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"0oX30VhV",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n    "],[8,[39,0],null,[["@route"],["preview-chooser"]],[["default"],[[[[1,"\\n      "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n      "],[1,[28,[35,1],["previewChooser.layer.back"],null]],[1,"\\n    "]],[]]]]],[1,"\\n\\n    "],[10,"h4"],[12],[1,[28,[35,1],["previewChooser.layer.heading"],[["name"],[[30,1,["name"]]]]]],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,2],[[30,0],[28,[37,3],["leavePreviewChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,1],["previewChooser.layer.variantsHeading"],null]],[13],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,1,["variants"]]],null]],null],null,[[[41,[30,2,["hasDynamicSources"]],[[[1,"        "],[8,[39,0],[[24,0,"link-entry"]],[["@route","@models"],["preview-chooser.layer.variant",[28,[37,7],[[30,1],[30,2]],null]]],[["default"],[[[[1,"\\n          "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n          "],[10,1],[14,0,"icon icon-menu-right"],[12],[13],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],null]],[2]],null],[1,"  "],[13],[1,"\\n"],[13]],["@model","variant"],false,["link-to","t","action","route-action","each","-track-array","if","array"]]',moduleName:"mimolive-remote-control/pods/preview-chooser/layer/index/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preview-chooser/layer/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({layer_id:e}){return this.modelFor("document").get("layers").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/preview-chooser/layer/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"vNaHMoyW",block:'[[[1,[28,[35,0],null,[["class"],["preview-chooser-layer"]]]]],[],false,["liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/preview-chooser/layer/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preview-chooser/layer/variant/route",["exports","@ember/routing/route"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default.extend({model({variant_id:e}){return this.modelFor("preview-chooser.layer").get("variants").then(t=>t.findBy("id",e))}})
e.default=n})),define("mimolive-remote-control/pods/preview-chooser/layer/variant/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"1rHzHWUT",block:'[[[10,0],[14,0,"chooser-modal"],[12],[1,"\\n  "],[10,0],[14,0,"header"],[12],[1,"\\n"],[41,[28,[37,1],[[30,1,["layer","variants","length"]],1],null],[[[1,"      "],[8,[39,2],null,[["@route"],["preview-chooser.layer"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n        "],[1,[28,[35,3],["previewChooser.variant.back"],null]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],[[[1,"      "],[8,[39,2],null,[["@route"],["preview-chooser"]],[["default"],[[[[1,"\\n        "],[10,1],[14,0,"icon icon-menu-left go-back"],[12],[13],[1,"\\n        "],[1,[28,[35,3],["previewChooser.layer.back"],null]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]]],[1,"\\n    "],[10,"h4"],[12],[1,[28,[35,3],["previewChooser.variant.heading"],[["name"],[[30,1,["name"]]]]]],[13],[1,"\\n\\n    "],[11,1],[24,0,"icon icon-remove close-modal"],[4,[38,4],[[30,0],[28,[37,5],["leavePreviewChooser"],null]],null],[12],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"scroll-content"],[12],[1,"\\n    "],[10,"h5"],[12],[1,[28,[35,3],["previewChooser.variant.dynamicSources"],null]],[13],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,1,["sortedDynamicSources"]]],null]],null],null,[[[1,"      "],[11,0],[24,0,"link-entry clickable"],[4,[38,4],[[30,0],[28,[37,5],["setPreview",[28,[37,8],null,[["variant","dynamicSourceId"],[[30,1],[30,2,["key"]]]]]],null]],null],[12],[1,"\\n        "],[10,1],[14,0,"primary"],[12],[1,[30,2,["name"]]],[13],[1,"\\n      "],[13],[1,"\\n"]],[2]],null],[1,"  "],[13],[1,"\\n"],[13]],["@model","source"],false,["if","gt","link-to","t","action","route-action","each","-track-array","hash"]]',moduleName:"mimolive-remote-control/pods/preview-chooser/layer/variant/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/preview-chooser/route",["exports","@ember/routing/route","@ember/object","@ember/service"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var r=t.default.extend({router:(0,o.inject)(),model(){},actions:{leave(){this.send("leavePreviewChooser")},leavePreviewChooser(){this.router.transitionTo("canvas.tile.edit")},setPreview(e={}){const t=this.modelFor("canvas.tile.edit"),o=this.store.createFragment("source-preview")
e.variant?o.setProperties({variantId:(0,n.get)(e,"variant.id"),layerId:(0,n.get)(e,"variant.layer.id"),dynamicSourceId:(0,n.get)(e,"dynamicSourceId")}):e.source&&o.setProperties({sourceId:(0,n.get)(e,"source.id")}),t.get("sourcePreview")&&t.get("sourcePreview").destroy(),t.set("sourcePreview",o),this.send("leavePreviewChooser")}}})
e.default=r})),define("mimolive-remote-control/pods/preview-chooser/template",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"qbs3fBXo",block:'[[[6,[39,0],null,[["slideIn"],[true]],[["default"],[[[[1,"  "],[1,[28,[35,1],null,[["class"],["preview-chooser"]]]],[1,"\\n"]],[]]]]]],[],false,["mrc-modal","liquid-outlet"]]',moduleName:"mimolive-remote-control/pods/preview-chooser/template.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/pods/source-preview/model",["exports","@ember/application","@ember/object/promise-proxy-mixin","@ember/object/proxy","@ember/debug","@ember/object","ember-data/attr","ember-data-model-fragments/fragment","mimolive-remote-control/pods/document/model","mimolive-remote-control/pods/layer/model","mimolive-remote-control/pods/variant/model","mimolive-remote-control/pods/source/model","mimolive-remote-control/config/environment"],(function(e,t,n,o,r,i,l,a,s,c,u,d,m){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{host:f,namespace:p}=m.default.API,h=o.default.extend(n.default)
var v=a.default.extend({sourceId:(0,l.default)("string"),layerId:(0,l.default)("string"),variantId:(0,l.default)("string"),dynamicSourceId:(0,l.default)("string"),error:null,_dynamicSourceIdObserverTarget:null,source:(0,i.computed)("variantId","sourceId","layerId","dynamicSourceId",(function(){const{sourceId:e,layerId:n,variantId:o,dynamicSourceId:r}=this.getProperties("sourceId","layerId","variantId","dynamicSourceId")
this.set("error",null)
const i=(0,t.getOwner)(this).lookup("route:document").get("currentModel.id")
return h.create({promise:this.store.findRecord("document",i).then(t=>e?t.get("sources").then(t=>{const n=t.findBy("id",e)
return n||this.set("error","Source preview references an invalid source."),n}):n?t.get("layers").then(e=>e.findBy("id",n)).then(e=>{if(e)return e.get("variants").then(e=>e.findBy("id",o)).then(e=>{if(!e)return void this.set("error","Source preview references an invalid variant.")
const n=e.get("inputValues."+r)
return this._currentSourceId=n,this._dynamicSourceIdObserverTarget||(this._dynamicSourceIdObserverTarget=e,e.addObserver("inputValues."+r,this,this.dynamicSourceIdValueChanged)),t.get("sources").then(e=>{const t=e.findBy("id",n)
return t||this.set("error","Source preview references an invalid dynamic source."),t})})
this.set("error","Source preview references an invalid layer.")}):t)})})).readOnly(),previewURL:(0,i.computed)("source.{isFulfilled,content}",(function(){if(!this.get("source.isFulfilled")||!this.get("source.content")&&!this.get("dynamicSourceId"))return
const e=this.get("source.content"),n=(0,t.getOwner)(this).lookup("route:document").get("currentModel.id")
let o=`${f}/${p}/documents/${n}`
if(e instanceof s.default)o+="/programOut"
else if(e instanceof d.default)o+=`/sources/${e.get("id")}/preview`
else{if(!this.get("dynamicSourceId"))throw new Error("Unable to get preview URL from source "+e.toString())
this._dynamicSourceIdObserverTarget?o+=`/sources/${this._dynamicSourceIdObserverTarget.get("inputValues."+this.get("dynamicSourceId"))}/preview`:console.warn("Unable to get preview URL from undefined dynamic source.")}return o})),description:(0,i.computed)("source.{isFulfilled,name,layer.name}",(function(){if(!this.get("source.isFulfilled"))return
const e=this.get("source.content")
if(e instanceof s.default)return`Program Output of "${e.get("name")}"`
if(e instanceof d.default)return`Source "${e.get("name")}"`
if(e instanceof c.default)return`Layer "${e.get("name")}"`
if(e instanceof u.default){const t=this.get("dynamicSourceId")
if(t){const n=t.substring(5,t.length-5).replace(/[a-z]+(?=[A-Z])/g,"$& ")
return`Layer "${e.get("layer.name")}" / "${e.get("name")}" / "${n}"`}return`Layer "${e.get("layer.name")}" / "${e.get("name")}"`}return"(unknown type)"})).readOnly(),isStatic:(0,i.computed)("source.{isFulfilled,isStatic}",(function(){if(!this.get("source.isFulfilled"))return!0
const e=this.get("source.content")
return!(e instanceof s.default)&&!1!==e.get("isStatic")})).readOnly(),dynamicSourceIdValueChanged(e,t){e.get(t)!==this._currentSourceId&&this.notifyPropertyChange("source")},willDestroy(){return this._dynamicSourceIdObserverTarget&&this._dynamicSourceIdObserverTarget.removeObserver("inputValues."+this.get("dynamicSourceId"),this,this.dynamicSourceIdValueChanged),this._super(...arguments)}})
e.default=v})),define("mimolive-remote-control/pods/source/model",["exports","ember-data","@ember/object"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:o,attr:r,belongsTo:i}=t.default
var l=o.extend({name:r("string"),audio:r("boolean"),video:r("boolean"),summary:r("string"),tallyState:r("tally-state"),isStatic:r("boolean",{defaultValue:!1}),inputValues:r("input-values"),compositionId:r("string"),document:i("document",{inverse:"sources"}),gain:r("number"),hasGain:(0,n.computed)("gain",(function(){return"number"==typeof this.get("gain")})),hasNumericInputs:(0,n.computed)("hasGain",(function(){return this.hasGain})),reload(){return this.get("document.content").hasMany("sources").reload()}})
e.default=l})),define("mimolive-remote-control/pods/tally-state/transform",["exports","@ember/object","@ember/object/computed","ember-data"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.TallyState=void 0
const{Transform:r}=o.default,i=t.default.extend({_state:null,isOff:(0,n.equal)("_state","off"),isInUse:(0,n.equal)("_state","inUse"),isEffect:(0,n.equal)("_state","effect"),isPreview:(0,n.equal)("_state","preview"),isProgram:(0,n.equal)("_state","program")})
e.TallyState=i
var l=r.extend({serialize:e=>e.get("_state"),deserialize:e=>i.create({_state:e})})
e.default=l}))
define("mimolive-remote-control/pods/template/service",["exports","@ember/service","@ember/object","@ember/utils","ember"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var i=t.default.extend({compile(e){const t=/{{([\w.]+)}}/g,i=[],l=[]
let a,s=0
for(;null!==(a=t.exec(e));){let[n,o]=a
i.push(o),l.push(e.substring(s,t.lastIndex-n.length)),s=t.lastIndex}s!==e.length&&l.push(e.substring(s))
const c=function(t){return(0,o.isNone)(t)?(i.length>0&&r.default.Logger.warn(`Template ${e} has ${i.length} dependencies, but no context was given!`),null):l.reduce((e,r)=>{const l=i.shift()
let a=(0,o.isNone)(l)?null:(0,n.get)(t,l)
return e+r+((0,o.isNone)(a)?"":a)},"")}
return c.tmpl=e,c.dependencies=i,c}})
e.default=i})),define("mimolive-remote-control/pods/variant/model",["exports","@ember/object/computed","@ember/object","ember-data"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{Model:r,attr:i,belongsTo:l}=o.default,a=function(e){let t=[],n=null
for(const o of e)n&&o.groupName==n.name||(n={name:o.groupName,inputs:[]},t.push(n)),n.inputs.push(o)
return t}
var s=r.extend({name:i("string"),inputValues:i("input-values"),inputDescriptions:i("input-descriptions"),outputValues:i(),liveState:i("live-state"),layer:l("layer",{inverse:"variants"}),signals:(0,n.computed)("inputValues.signals",(function(){return this.get("inputValues.signals").map(e=>({name:e.match(/.*__(.+)_TypeSignal/)[1].replace(/_/g," "),key:e}))})),sortedSignals:(0,n.computed)("signals",(function(){return this.get("signals").map(e=>(e.index=this.get(`inputDescriptions.${e.key}.index`),e.hidden=this.get(`inputDescriptions.${e.key}.hidden`),e)).filter(e=>!e.hidden).sort((e,t)=>e.index-t.index)})),dynamicSources:(0,n.computed)("inputValues.dynamicSources",(function(){return this.get("inputValues.dynamicSources").map(e=>({name:e.substring(5,e.length-5).replace(/[a-z]+(?=[A-Z])/g,"$& "),key:e}))})),sortedDynamicSources:(0,n.computed)("dynamicSources",(function(){return this.get("dynamicSources").map(e=>(e.index=this.get(`inputDescriptions.${e.key}.index`),e.hidden=this.get(`inputDescriptions.${e.key}.hidden`),e)).filter(e=>!e.hidden).sort((e,t)=>e.index-t.index)})),sortedToggleSwitches:(0,n.computed)("inputDescriptions",(function(){return Object.keys(this.get("inputDescriptions.content")).map(e=>[e,this.get("inputDescriptions").get(e)]).filter(([e,t])=>"bool"===t.type&&!e.endsWith("_TypeSignal")&&!t.hidden).map(([e,t])=>({name:e.match(/.*__(.+)/)[1].replace(/_/g," "),index:t.index,hidden:t.hidden,key:e})).sortBy("index")})),textInputs:(0,n.computed)("inputValues.content",(function(){return Object.entries(this.get("inputDescriptions.content")).filter(([e,t])=>"string"===t.type&&!e.endsWith("_TypeFontName")&&!t.hidden).map(([e,t])=>({name:(e.match(/.*__(.+)/)||[null,""])[1].replace(/_Type\w+$/,"").replace(/_/g," "),value:this.get("inputValues."+e),index:t.index,key:e})).filter(e=>e.name.length>0).sortBy("index")})),hasTextInputs:(0,t.notEmpty)("textInputs"),groupedTextInputs:(0,n.computed)("textInputs",(function(){return a(this.textInputs)})),numericInputs:(0,n.computed)("inputValues.content",(function(){return Object.entries(this.get("inputDescriptions.content")).filter(([e,t])=>!t.hidden&&"number"===t.type&&"value-min"in t&&"value-max"in t).map(([e,t])=>({name:(e.match(/.*__(.+)/)||[null,""])[1].replace(/_Type\w+$/,"").replace(/_/g," "),value:this.get("inputValues."+e),index:t.index,groupName:t["group-name"],valueMin:t["value-min"],valueMax:t["value-max"],valueStep:t["value-step"],valueUnit:t["value-unit"],key:e})).filter(e=>e.name.length>0).sortBy("index")})),hasNumericInputs:(0,t.notEmpty)("numericInputs"),groupedNumericInputs:(0,n.computed)("numericInputs",(function(){return a(this.numericInputs)})),updateParentLayerActiveVariant:(0,n.observer)("liveState.isLive",(function(){const e=this.get("liveState.isLive")
if(e&&!this._wasLive){const e=this.get("layer.content")
e&&e.set("activeVariant",this)}this._wasLive=e})),hasDynamicSources:(0,t.notEmpty)("sortedDynamicSources"),controlPresets:(0,t.alias)("outputValues.tvOut_ControlRepresentations"),hasControlPresets:(0,t.notEmpty)("controlPresets"),reload(){return this.get("layer.content").hasMany("variants").reload()}})
e.default=s})),define("mimolive-remote-control/pods/websocket/service",["exports","@ember/object/evented","@ember/service","@ember/runloop","mimolive-remote-control/config/environment","ember-inflector"],(function(e,t,n,o,r,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var l=n.default.extend(t.default,{socketFactory:(0,n.inject)("websockets"),store:(0,n.inject)(),socket:null,_pingTimeout:null,init(){if(this._super(...arguments),"test"===r.default.environment)return
let{host:e,namespace:t}=r.default.API
e&&e.length?e=e.replace("http","ws"):(e="https:"===window.location.protocol?"wss:":"ws:",e+="//"+window.location.host)
const n=this.socketFactory.socketFor(`${e}/${t}/socket`)
n.on("open",this.onOpen,this),n.on("message",this.onMessage,this),n.on("close",this.onClose,this),this.socket=n},startPingTimeout(){this._pingTimeout=o.run.later(this,this.afterPingTimeout,15e3)},clearPingTimeout(){o.run.cancel(this._pingTimeout)},refreshPingTimeout(){this.clearPingTimeout(),this.startPingTimeout()},afterPingTimeout(){this.trigger("websocketClosed")},reschedulePing(){this.cancelPing(),this._sendPingTimeout=o.run.later(this,this.sendPing,2e3)},sendPing(){this.socket.send(JSON.stringify({event:"ping"}))},cancelPing(){o.run.cancel(this._sendPingTimeout)},onOpen(){this.trigger("websocketOpened"),this.startPingTimeout(),this.reschedulePing()},onMessage(e){const t=JSON.parse(e.data)
if(this.refreshPingTimeout(),this.reschedulePing(),"ping"===t.event||"pong"===t.event)return
const n=this.store
let o
if("datastores"===t.type&&t.id.startsWith("live.mimo.remote-control.canvases")){if("live.mimo.remote-control.canvases.index"===t.id)return
t.id=t.id.substr("live.mimo.remote-control.canvases.".length),t.type="canvases",t.data&&(t.data=JSON.parse((r=t.data,decodeURIComponent(Array.prototype.map.call(atob(r),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))),o=t.data}else o={data:t.data}
var r
const l=(0,i.singularize)(t.type)
if(this.logEvent(t.event+"-"+l,o),"added"===t.event||"changed"===t.event||"updated"===t.event){if(n.pushPayload(l,o),"document"===o.data.type&&console.log(o.data),"added"===t.event&&"documents"===t.type){const e="opened-document-"+t.data.id
console.log("trigger event",e),this.trigger(e)}}else if("removed"===t.event){const e=t.id
let o=n.peekRecord(l,e)
if(o&&!o.get("isDeleted")){const t="removed-document-"+e
this.trigger(t),n.unloadRecord(o)}}},logEvent(e,t){let n
t&&t.data&&["sources","variants","layers"].includes(t.data.type)&&(n=t.data.attributes.name),console.log(Date(),e,n)},onClose(){this.trigger("websocketClosed"),this.clearPingTimeout(),this.cancelPing(),(0,o.later)(()=>{this.socket.reconnect()},1e3)},willDestroy(){this.cancelPing(),this.clearPingTimeout(),this._super(...arguments)}})
e.default=l})),define("mimolive-remote-control/resolver",["exports","ember-resolver"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/router",["exports","@ember/runloop","@ember/service","@ember/routing/router","mimolive-remote-control/config/environment"],(function(e,t,n,o,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const i=o.default.extend({analytics:(0,n.inject)(),location:r.default.locationType,rootURL:r.default.rootURL,init(){this._super(...arguments),this.on("routeDidChange",()=>{(0,t.schedule)("afterRender",this,(function(){this.analytics.trackVisit(this.currentRouteName)}))})}})
i.map((function(){this.route("documents",(function(){this.route("document",{resetNamespace:!0,path:"/:document_id"},(function(){this.route("canvases",{resetNamespace:!0,path:""},(function(){this.route("list",{path:""},(function(){this.route("create-canvas",{path:"/create"})})),this.route("canvas",{resetNamespace:!0,path:"/:canvas_id"},(function(){this.route("edit-canvas",{path:"/edit"}),this.route("tile",{path:"/buttons/:action_button_index"},(function(){this.route("text",{path:"/text/:input_key"}),this.route("edit",{path:"/edit"},(function(){this.route("action-chooser",{resetNamespace:!0,path:"/actions"},(function(){this.route("actions",{path:"/"},(function(){this.route("document"),this.route("layer",{path:"/layers/:layer_id"},(function(){this.route("variant",{path:"/:variant_id"})})),this.route("source",{path:"/sources/:source_id"},(function(){this.route("filter",{path:"/:filter_id"})})),this.route("output-destination",{path:"/output-destinations/:output_destination_id"})})),this.route("text",{path:"/text"},(function(){this.route("layer",{path:"/layers/:layer_id"},(function(){this.route("variant",{path:"/:variant_id"})}))})),this.route("sliders",{path:"/sliders"},(function(){this.route("layer",{path:"/layers/:layer_id"},(function(){this.route("variant",{path:"/:variant_id"})}))}))})),this.route("live-state-chooser",{resetNamespace:!0,path:"/live-state"},(function(){this.route("layer",{path:"/layers/:layer_id"},(function(){this.route("variant",{path:"/:variant_id"})})),this.route("source",{path:"/sources/:source_id"}),this.route("output-destination",{path:"/output-destinations/:output_destination_id"})})),this.route("preview-chooser",{resetNamespace:!0,path:"/preview"},(function(){this.route("layer",{path:"/layers/:layer_id"},(function(){this.route("variant",{path:"/:variant_id"})}))}))}))})),this.route("preset-chooser",{resetNamespace:!0,path:"/presets"},(function(){this.route("layer",{path:"/layers/:layer_id"}),this.route("output-destination",{path:"/output-destinations/:output_destination_id"}),this.route("document")}))}))}))}))}))}))
var l=i
e.default=l})),define("mimolive-remote-control/sample-button-description",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
e.default={tvOut_ControlRepresentations:[{title:"2 Cameras, Row",buttons:[{text:"Camera 12",dynamicText:{layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598",template:"Toggle {{outputValues.tvOut_RemoteSourceNameA}}"},width:1,height:1,x:0,y:0,icon:"user",color:"#ff0",actions:[{signalKey:"tvGroup_Control__Cut_1_TypeSignal",signalName:"Cut 1",layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598",type:"signal"}],liveState:{dynamicSourceId:"tvIn_VideoSourceAImage",layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598"},sourcePreview:{dynamicSourceId:"tvIn_VideoSourceAImage",layerId:"77B4CAC1-7125-4EA3-8048-F8700520D376",variantId:"4DD8E9AB-9381-4901-9A9C-67AE9C947598"}},{}]}]}})),define("mimolive-remote-control/services/-ensure-registered",["exports","@embroider/util/services/ensure-registered"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/ajax",["exports","ember-ajax/services/ajax"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/i18n",["exports","ember-i18n/services/i18n"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/liquid-fire-transitions",["exports","liquid-wormhole/services/liquid-fire-transitions"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/liquid-wormhole",["exports","liquid-wormhole/services/liquid-wormhole"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/moment",["exports","ember","ember-moment/services/moment","mimolive-remote-control/config/environment"],(function(e,t,n,o){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
const{get:r}=t.default
var i=n.default.extend({defaultFormat:r(o.default,"moment.outputFormat")})
e.default=i})),define("mimolive-remote-control/services/page-title-list",["exports","ember-page-title/services/page-title-list"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/page-title",["exports","ember-page-title/services/page-title"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/side-menu",["exports","ember-side-menu/services/side-menu"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/socket-io",["exports","ember-websockets/services/socket-io"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/text-measurer",["exports","ember-text-measurer/services/text-measurer"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/services/websockets",["exports","ember-websockets/services/websockets"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/templates/components/basic-dropdown-content",["exports","ember-basic-dropdown/templates/components/basic-dropdown-content"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/templates/components/basic-dropdown-optional-tag",["exports","ember-basic-dropdown/templates/components/basic-dropdown-optional-tag"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/templates/components/basic-dropdown-trigger",["exports","ember-basic-dropdown/templates/components/basic-dropdown-trigger"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/templates/components/basic-dropdown",["exports","ember-basic-dropdown/templates/components/basic-dropdown"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/templates/components/side-menu-toggle",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"QytW0X8h",block:'[[[41,[48,[30,1]],[[[1,"  "],[18,1,null],[1,"\\n"]],[]],[[[1,"  "],[10,1],[14,0,"toggle-bars"],[12],[1,"\\n  "],[13],[1,"\\n"]],[]]]],["&default"],false,["if","has-block","yield"]]',moduleName:"mimolive-remote-control/templates/components/side-menu-toggle.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/templates/components/side-menu",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var t=Ember.HTMLBars.template({id:"ovPLR7o0",block:'[[[18,1,null]],["&default"],false,["yield"]]',moduleName:"mimolive-remote-control/templates/components/side-menu.hbs",isStrictMode:!1})
e.default=t})),define("mimolive-remote-control/transforms/array",["exports","ember-data-model-fragments/transforms/array"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/transforms/fragment-array",["exports","ember-data-model-fragments/transforms/fragment-array"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/transforms/fragment",["exports","ember-data-model-fragments/transforms/fragment"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
var n=t.default
e.default=n})),define("mimolive-remote-control/transitions",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){this.transition(this.fromRoute("documents.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.toRoute("canvases.list.create-canvas"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("canvases.list"),this.toRoute("canvas"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.hasClass("modal-backdrop"),this.use("fade",{duration:250})),this.transition(this.hasClass("modal-dialog"),this.toValue((e,t)=>null===t),this.use("fade-down",{duration:250}),this.reverse("fade-down")),this.transition(this.fromRoute("action-chooser.actions"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("action-chooser.sliders"),this.use("toRight",{duration:250}),this.reverse("toLeft",{duration:250})),this.transition(this.fromRoute(e=>/^action-chooser\.\w+\.index/.test(e)),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute(e=>/^action-chooser\.\w+\.layer\.index/.test(e)),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("live-state-chooser.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("live-state-chooser.layer.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("preview-chooser.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("preview-chooser.layer.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("preset-chooser.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250})),this.transition(this.fromRoute("preset-chooser.layer.index"),this.use("toLeft",{duration:250}),this.reverse("toRight",{duration:250}))}})),define("mimolive-remote-control/transitions/cross-fade",["exports","liquid-fire/transitions/cross-fade"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/default",["exports","liquid-fire/transitions/default"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})}))
define("mimolive-remote-control/transitions/explode",["exports","liquid-fire/transitions/explode"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/fade-direction",["exports","liquid-fire"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,n,o,r=20){const i={opacity:0},l={opacity:[o.maxOpacity||1,0]},a=function(e){for(var n=0;n<e.older.length;n++){var o=e.older[n]
if((0,t.isAnimating)(o.element,"fade-out"))return o.element}if((0,t.isAnimating)(e.oldElement,"fade-out"))return e.oldElement}(this)
let s,c=o
"x"===e.toLowerCase()?(i.translateX=n*r+"px",l.translateX=["0px",n*r+"px"]):(i.translateY=n*r+"px",l.translateY=["0px",n*r+"px"])
a?s=(0,t.finish)(a,"fade-out"):((0,t.isAnimating)(this.oldElement,"fade-in")&&(c={duration:(0,t.timeSpent)(this.oldElement,"fade-in")}),(0,t.stop)(this.oldElement),s=(0,t.animate)(this.oldElement,i,c,"fade-out"))
return s.then(()=>(0,t.animate)(this.newElement,l,o,"fade-in"))}})),define("mimolive-remote-control/transitions/fade-down",["exports","mimolive-remote-control/transitions/fade-direction"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e={}){return t.default.call(this,"y",-1,e,e.offset)}})),define("mimolive-remote-control/transitions/fade-up",["exports","mimolive-remote-control/transitions/fade-direction"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e={}){return t.default.call(this,"y",1,e,e.offset)}})),define("mimolive-remote-control/transitions/fade",["exports","liquid-fire/transitions/fade"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/flex-grow",["exports","liquid-fire/transitions/flex-grow"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/fly-to",["exports","liquid-fire/transitions/fly-to"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/move-over",["exports","liquid-fire/transitions/move-over"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/scale",["exports","liquid-fire/transitions/scale"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/scroll-then",["exports","liquid-fire/transitions/scroll-then"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/to-down",["exports","liquid-fire/transitions/to-down"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/to-left",["exports","liquid-fire/transitions/to-left"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/to-right",["exports","liquid-fire/transitions/to-right"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/to-up",["exports","liquid-fire/transitions/to-up"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/wait",["exports","liquid-fire/transitions/wait"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/transitions/wormhole",["exports","liquid-wormhole/transitions/wormhole"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/utils/calculate-position",["exports","ember-basic-dropdown/utils/calculate-position"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/utils/i18n/compile-template",["exports","ember-i18n/utils/i18n/compile-template"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/utils/i18n/missing-message",["exports","ember-i18n/utils/i18n/missing-message"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/utils/parse-touch-data",["exports","ember-gesture-modifiers/utils/parse-touch-data"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})})),define("mimolive-remote-control/config/environment",[],(function(){try{var e="mimolive-remote-control/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))}
return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(o){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("mimolive-remote-control/app").default.create({name:"mimolive-remote-control",version:"0.0.0+38d3432a"})
