var com=com||{};com.eqela=com.eqela||{};com.eqela.libfacebookgui=com.eqela.libfacebookgui||{};com.eqela.libfacebookgui.FacebookShareDialog=function(){com.eqela.libsocialgui.SocialShareDialog.call(this);this.com_eqela_libfacebookgui_FacebookShareDialog_application_id=null;this.com_eqela_libfacebookgui_FacebookShareDialog_link_title=null;this.com_eqela_libfacebookgui_FacebookShareDialog_link_subtitle=null;this.com_eqela_libfacebookgui_FacebookShareDialog_link_description=null;{}};P=com.eqela.libfacebookgui.FacebookShareDialog.prototype=(function(o){function F(){};F.prototype=o;return(new F());})(com.eqela.libsocialgui.SocialShareDialog.prototype);P._t={};P._t['eq.api.Object']=true;P._t['com.eqela.libsocialgui.SocialShareDialog']=true;P._t['com.eqela.libfacebookgui.FacebookShareDialog']=true;P.constructor=com.eqela.libfacebookgui.FacebookShareDialog;com.eqela.libfacebookgui.FacebookShareDialog.create=function(){return((new com.eqela.libfacebookgui.GenericFacebookShareDialog()));};com.eqela.libfacebookgui.FacebookShareDialog.for_text=function(text){var v=com.eqela.libfacebookgui.FacebookShareDialog.create();if(v!==null){com.eqela.libsocialgui.SocialShareDialog.prototype.set_initial_text.call(v,text);}return(v);};P.set_application_id=function(v){this.com_eqela_libfacebookgui_FacebookShareDialog_application_id=v;return(this);};P.get_application_id=function(){return(this.com_eqela_libfacebookgui_FacebookShareDialog_application_id);};P.set_link_title=function(v){this.com_eqela_libfacebookgui_FacebookShareDialog_link_title=v;return(this);};P.get_link_title=function(){return(this.com_eqela_libfacebookgui_FacebookShareDialog_link_title);};P.set_link_subtitle=function(v){this.com_eqela_libfacebookgui_FacebookShareDialog_link_subtitle=v;return(this);};P.get_link_subtitle=function(){return(this.com_eqela_libfacebookgui_FacebookShareDialog_link_subtitle);};P.set_link_description=function(v){this.com_eqela_libfacebookgui_FacebookShareDialog_link_description=v;return(this);};P.get_link_description=function(){return(this.com_eqela_libfacebookgui_FacebookShareDialog_link_description);};com.eqela.libfacebookgui.GenericFacebookShareDialog=function(){com.eqela.libfacebookgui.FacebookShareDialog.call(this);{}};P=com.eqela.libfacebookgui.GenericFacebookShareDialog.prototype=(function(o){function F(){};F.prototype=o;return(new F());})(com.eqela.libfacebookgui.FacebookShareDialog.prototype);P._t={};P._t['eq.api.Object']=true;P._t['com.eqela.libsocialgui.SocialShareDialog']=true;P._t['com.eqela.libfacebookgui.FacebookShareDialog']=true;P._t['com.eqela.libfacebookgui.GenericFacebookShareDialog']=true;P.constructor=com.eqela.libfacebookgui.GenericFacebookShareDialog;P.execute=function(frame,listener){var link=com.eqela.libsocialgui.SocialShareDialog.prototype.get_initial_link.call(this);if(eq.api.StringStatic.is_empty(link)){link=eq.api.StringStatic.for_strptr("");}com.eqela.libgui.URLHandler.open(eq.api.StringStatic.for_strptr("https://www.facebook.com/sharer/sharer.php?u=").append(com.eqela.liburl.URLEncoder.encode(link,false)));};