// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define(["dojo/_base/declare","dijit/_WidgetBase","dojo/i18n!../nls/strings","dijit/Dialog","./AddFromUrlPane"],function(e,f,c,g,h){return e([f],{dialog:null,i18n:c,wabWidget:null,postCreate:function(){this.inherited(arguments)},hide:function(){this.dialog&&this.dialog.hide()},show:function(){var k=this,a=new h({parentDialog:this,wabWidget:this.wabWidget}),b=this.dialog=new g({"class":this.wabWidget.baseClass+"-dialog",title:c.tabs.url,content:a}),d=null;d=b.on("hide",function(){a&&"function"===typeof a.preHide&&
a.preHide();d.remove();setTimeout(function(){b.destroyRecursive(!1);k.destroyRecursive(!1)},300)});b.show()}})});