!function(){"use strict";function e(e,n,i){var r=this;r.channel=!1,r.selectChannel=function(i){e.setChannel(i.target.id),0==e.isInitialized?n.script("channelInitialization()").then(function(i){e.mergedLayerID=Number(JSON.parse(i).mergedLayerID),e.originalLayerID=Number(JSON.parse(i).originalLayerID),e.isInitialized=!0,e.applyPreset("Lights-1"),n.runFilter()}):n.tryRunFilter()}}angular.module("app").controller("ChannelController",e),e.$inject=["tk","ps","$scope"]}();