(()=>{function o(o,t,e){var r=this;function c(o){r.protocols=o,r.wizardCtrl.forceResize()}_.assign(r,{CONFIG:t.VIEW_CONFIG,customTitle:null,$onInit:function(){o.all({protocols:t.getProtocols(),manifests:e.getFeaturesManifestsAsync()}).then(function(o){var t=o.protocols,e=o.manifests;return _.reject(t,function(o){o=_.find(e,{fieldbusType:o.id});return _.get(o,"noNewProtocolInstances",!1)})}).then(c),r.protocolCtrl.wizardCtrl=r.wizardCtrl}})}o.$inject=["$q","c8yDeviceProtocolUi","c8yDeviceDatabase"],angular.module("c8y.deviceProtocols").component("c8yDeviceProtocolSelect",{templateUrl:":::PLUGIN_PATH:::/deviceProtocolSelect.html",require:{wizardCtrl:"^c8yWizardStep",protocolCtrl:"^c8yAddDeviceProtocolWizard"},controllerAs:"vm",controller:o})})();