(()=>{function e(e,r,n){var t=this;_.assign(t,{open:function(e){t.wizardCtrl.close(),r.open(n.getHref(e),"_blank","noopener,noreferrer")},canOpenInBrowser:!1}),e.$watch(function(){return t.wizardCtrl.getCurrentStep()},function(e){"success"===_.get(e,"stepId")&&n.canOpenInBrowser(t.wizardCtrl.data.createdApp).then(function(e){t.canOpenInBrowser=e})})}e.$inject=["$scope","$window","c8yApplication"],angular.module("c8y.parts.applications").component("appWizardSuccessStep",{require:{wizardCtrl:"^c8yWizardStep"},templateUrl:":::PLUGIN_PATH:::/appWizard/appWizardSuccessStep.html",controller:e,controllerAs:"vm"})})();