text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See http://js.arcgis.com/3.15/esri/copyright.txt for details.
  //>>built
  define("arcgisonline/sharing/dijit/dialog/OpenPresentationDlg",["dijit","dojo","dojox","dojo/require!dijit/Dialog,arcgisonline/sharing/dijit/dialog/GeneralDlg,dijit/_Widget,dijit/_Templated"],function(b,a,c){a.provide("arcgisonline.sharing.dijit.dialog.OpenPresentationDlg");a.require("dijit.Dialog");a.require("arcgisonline.sharing.dijit.dialog.GeneralDlg");a.require("dijit._Widget");a.require("dijit._Templated");a.declare("arcgisonline.sharing.dijit.dialog.OpenPresentationDlg",[b._Widget,b._Templated],
  {widgetsInTemplate:!0,templateString:'\x3cdiv class\x3d"widgetContent" \x3e\r\n    \x3cdiv dojotype\x3d"dijit.Dialog" id\x3d"open-presentation-dialog" title\x3d"${i18n.title}"\x3e\r\n  \t\t\x3cdiv id\x3d"open-presentation-dialog-content"\x3e${i18n.unsavedChangesMsg}\x3cbr/\x3e\r\n        ${i18n.saveQtn}\x3c/div\x3e\r\n  \t\t\x3cbr /\x3e  \r\n\t\t\x3cdiv style\x3d"float: right;"\x3e\r\n  \t\t\t\x3cbutton id\x3d"button_open-presentation-yes" class\x3d"jevent primary" dojoType\x3d"dijit.form.Button"\x3e${i18n.yesSave}\x3c/button\x3e\r\n  \t\t\t\x3cbutton id\x3d"button_open-presentation-no" class\x3d"jevent" dojoType\x3d"dijit.form.Button"\x3e${i18n.notSave}\x3c/button\x3e\r\n\t\t\x3c/div\x3e\r\n  \t\x3cdiv style\x3d"clear:both;"/\x3e  \r\n\t\x3c/div\x3e\r\n\x3c/div\x3e',
  handler:null,presentationUrl:"",i18n:null,statics:{_instance:null,getInstance:function(){null==this._instance&&(this._instance=new arcgisonline.sharing.dijit.dialog.OpenPresentationDlg);return this._instance}},postMixInProperties:function(){this.inherited(arguments);this.i18n=a.i18n.getLocalization("arcgisonline","arcgisonline").common;a.mixin(this.i18n,a.i18n.getLocalization("arcgisonline","arcgisonline").openPresentationDlg)},postCreate:function(){this.loadConnections()},show:function(a){this.presentationUrl=
  a;b.byId("open-presentation-dialog").show()},loadConnections:function(){a.query(".jevent").connect("onclick",function(a){a.preventDefault()});a.query("#button_open-presentation-no").connect("onclick",a.hitch(this,function(){document.location=this.presentationUrl}));a.query("#button_open-presentation-yes").connect("onclick",function(){b.byId("open-presentation-dialog").hide()})},hide:function(){b.byId("open-presentation-dialog").hide()}})});