;window._popup_data = {"ajaxurl":"https:\/\/www.tmiproject.org\/wp-admin\/admin-ajax.php","do":"get_data","orig_request_uri":"\/lgbtqtmi\/?s5sv3wvw3xrq010rqtrs2tv04s=9ecceafgbh&ver=5.8.3","ajax_data":{"categories":"[]","is_single":1,"posttype":"page"}};/*! PopUp - v4.8.01
 * http://premium.wpmudev.org/project/the-pop-over-plugin/
 * Copyright (c) 2017; * Licensed GPLv2+ */
!function(){window.IncPopup=function a(b){var c=this;c.data=b.popup,c.have_popup=!1,c.ajax_data={},c.opened=0,c.popup=null,c.close_popup=function(){if(jQuery("html").removeClass("can-scroll no-scroll"),c.data.display_data.click_multi?c.popup.hide():(c.popup.destroy(),c.have_popup=!1),jQuery(document).trigger("popup-closed",[c,c.data]),jQuery(document).trigger("popover-closed",[c,c.data]),c.data.close_hide){var a=c.data.expiry||365;if(b.preview)return!1;c.set_cookie("po_h",1,a)}return!1},c.close_popup_forever=function(){c.data.close_hide=!0,c.close_popup()},c.background_clicked=function(a){var b=jQuery(a.target);if(b.hasClass("wdpu-background")){if(!c.data.overlay_close)return;c.close_popup()}},c.move_popup=function(a){var b,d,e=0,f=0,g=null,h=a.find(".resize"),i=a.find(".move"),j=a.find(".wdpu-image img"),k=a.find(".popup");c.data.custom_size&&h.length&&(c.data.height&&!isNaN(c.data.height)&&(h.data("reduce-height")&&(g=jQuery(h.data("reduce-height")),f=g.outerHeight()),d=c.data.height-f,d<100&&(d=100),h.height(d)),c.data.width&&!isNaN(c.data.width)&&(h.data("reduce-width")&&(g=jQuery(h.data("reduce-width")),e=g.outerWidth()),b=c.data.width-e,b<100&&(b=100),h.width(b)));var l=function(){if(!i.hasClass("no-move-x")){var a=jQuery(window).width(),b=k.outerWidth(),c=(a-b)/2;c<0&&(c=0),i.css({left:c})}if(!i.hasClass("no-move-y")){var d=jQuery(window).height(),e=k.outerHeight(),f=(d-e)/2;f<0&&(f=0),i.css({top:f})}if(j.length){var g,h,l=j.width(),m=j.height(),n=j.parent().width(),o=j.parent().height();l>n?(g=(n-l)/2,j.css({"margin-left":g})):j.css({"margin-left":0}),m>o?(h=(o-m)/2,j.css({"margin-top":h})):j.css({"margin-top":0})}};window.setTimeout(l,20),l()},c.reject=function(){c.have_popup=!1,c.data={}},c.prepare=function(){if(jQuery(document).trigger("popup-init",[c,c.data]),c.have_popup)switch(c.data.display){case"scroll":jQuery(window).on("scroll",c.show_at_position);break;case"anchor":jQuery(window).on("scroll",c.show_at_element);break;case"delay":var a=1e3*c.data.display_data.delay;"m"===c.data.display_data.delay_type&&(a*=60),window.setTimeout(c.show_popup,a);break;default:window.setTimeout(function(){"function"==typeof c.custom_handler&&c.custom_handler(c)},20)}},c.show_at_position=function(a){var b,d,e=jQuery(this),f=e.scrollTop();"px"===c.data.display_data.scroll_type?f>=c.data.display_data.scroll&&(jQuery(window).off("scroll",c.show_at_position),c.show_popup()):(b=jQuery(document).height()-jQuery(window).height(),d=100*f/b,d>=c.data.display_data.scroll&&(jQuery(window).off("scroll",c.show_at_position),c.show_popup()))},c.show_at_element=function(a){var b=jQuery(c.data.display_data.anchor),d=jQuery(window).scrollTop(),e=d+jQuery(window).height(),f=b.offset().top,g=e-f;g>10&&(jQuery(window).off("scroll",c.show_at_element),c.show_popup())},c.show_popup=function(){return jQuery(document).trigger("popup-open",[c]),!1},c._show=function(){var a,d="auto",e="auto";return a=parseInt(c.get_cookie("po_c"),10),isNaN(a)&&(a=0),c.set_cookie("po_c",a+1,365),c.data.custom_size&&(d=c.data.width,e=c.data.height),c.opened+=1,c.popup=wpmUi.popup(b.popup.html,b.popup.styles).size(d,e).animate(c.data.animation_in,c.data.animation_out).onresize(c.move_popup).on("click",".wdpu-background",c.background_clicked).on("click",".wdpu-hide-forever",c.close_popup_forever).on("click",".wdpu-close",c.close_popup).on("click",".close",c.close_popup).on("click",".wdpu-cta",c.cta_click).off("submit","form",c.form_submit).on("submit","form",c.form_submit).show(),c.data.scroll_body?jQuery("html").addClass("can-scroll"):jQuery("html").addClass("no-scroll"),jQuery(document).trigger("popup-show",[c]),!0},c.load_popup=function(a,d){void 0===a&&b.preview||(c.have_popup=!1,jQuery(document).trigger("popups-load",[b,a,d]))},c.cta_click=function(){return jQuery(document).trigger("popup-cta-click",[c]),!0},c.form_submit=function(b){function d(){var b=!1;"complete"!==i[0].contentDocument.readyState||a.doing_ajax?(j+=1,j>200&&(jQuery(document).trigger("popup-submit-timeout",[c,c.data]),b=!0)):b=!0,b&&(window.clearInterval(h),g())}function e(b){return void 0!==b&&(c.data.close_popup=b),a.recent_ajax_calls?(c.data.ajax_history=a.recent_ajax_calls,a.recent_ajax_calls.length&&(c.data.last_ajax=a.recent_ajax_calls[0])):(c.data.ajax_history=[],c.data.last_ajax={}),jQuery(document).trigger("popup-submit-done",[c,c.data]),!!c.data.close_popup&&(c.close_popup(),!0)}function f(a,b,d){var e=a,f=l.find(".wdpu-msg-inner"),g=l.find(".wdpu-title"),h=l.find(".wdpu-subtitle");e instanceof jQuery||(e=jQuery("<div></div>").html(a)),e instanceof jQuery&&(e.hasClass("wdpu-msg-inner")?f.replaceWith(e):f.find(".wdpu-content").empty().append(e)),void 0!==b&&g.html(b),void 0!==d&&h.html(d),jQuery(document).trigger("popup-init",[c,c.data])}function g(){var a,b,d,g,h;if(jQuery(document).trigger("popup-submit-process",[i,c,c.data]),!c.data.form_submit)return!1;h="ignore"!==c.data.form_submit;try{d=jQuery(o,i[0].contentDocument),g=c.data.did_ajax}catch(j){d=jQuery("<html></html>"),g=!0}c.data.close_popup=!1,m.removeClass("wdpu-loading"),a=d.find(".wdpu-msg-inner"),b=l.find(".wdpu-msg-inner"),jQuery("#wdpu-frame").remove(),c.data.last_ajax=void 0,"close"===c.data.form_submit?e(!0):c.data.new_content?f(c.data.new_content,c.data.new_title,c.data.new_subtitle):g?e(h):d.length&&d.html().length?b.length&&a.length&&a.text().length?f(a):e(h):e(!0)}var h,i,j,k=jQuery(this),l=k.parents(".wdpu-container").first(),m=l.find(".wdpu-msg"),n=jQuery('<input type="hidden" name="_po_method_" />'),o=".wdpu-"+c.data.popup_id;return!l.length||("redirect"!==c.data.form_submit&&(i=jQuery('<iframe id="wdpu-frame" name="wdpu-frame"></iframe>').hide().appendTo("body"),k.attr("target","wdpu-frame"),n.appendTo(k).val("raw")),m.addClass("wdpu-loading"),"redirect"===c.data.form_submit?window.setTimeout(function(){c.close_popup()},10):a.doing_ajax?(c.data.did_ajax=!0,j=0,h=window.setInterval(d,50)):(c.data.did_ajax=!1,i.load(g)),!0)},c.init=function(){b.popup?(c.have_popup=!0,c.data=b.popup,c.exec_scripts(),c.prepare()):c.load_popup()},c.exec_scripts=function(){var a;void 0!==c.data.script&&(a=new Function("me",c.data.script))(c)},c.close=function(){return c.close_popup()},c.open=function(){return c.show_popup()},c.status=function(){return{state:a.po_status,queue:a.po_queue,current:a.po_current}},c.get_cookie=function(a){var b,d,e,f=document.cookie.split(";");for(e=c.data&&c.data.popup_id?a+"-"+c.data.popup_id+"=":a+"=",b=0;b<f.length;b+=1){for(d=f[b];" "===d.charAt(0);)d=d.substring(1,d.length);if(0===d.indexOf(e))return d.substring(e.length,d.length)}return null},c.set_cookie=function(a,d,e){var f,g,h;b.preview||(isNaN(e)?g="":(f=new Date,f.setTime(f.getTime()+24*e*60*60*1e3),g="; expires="+f.toGMTString()),h=c.data&&c.data.popup_id?a+"-"+c.data.popup_id:a,document.cookie=h+"="+d+g+"; path=/")};var d={};return d.extend=c,c.data&&c.data.preview?(d.init=c.init,d.load=c.load_popup):b.dynamic?(c.init(),d.open=c.show_popup,d.close=c.close_popup,d.status=c.status):(d.init=c.init,d.load=c.load_popup),d}}(),function(){function a(a,c){"closed"===IncPopup.po_status?c._show()?(IncPopup.po_current=c,IncPopup.po_status="open"):b(null,c):IncPopup.po_queue[IncPopup.po_queue.length]=c}function b(b,c){if(IncPopup.po_status="closed",IncPopup.po_current=null,IncPopup.po_queue.length>0){var d=IncPopup.po_queue.shift();a(null,d)}}function c(a,b,c,f){var g,h,i=0,j=e(window.location.toString()),k=e(document.referrer.toString()),l=null,m=function(a){l=jQuery.extend({},b),l.popup=a,d(l)};return window.force_popover&&(i=window.force_popover.toString()),void 0!==c&&(i=c.toString()),b.ajax_data=b.ajax_data||{},h=jQuery.extend({},b.ajax_data),h.action="inc_popup",h["do"]=b["do"],h.thefrom=j,h.thereferrer=k,i&&(h.po_id=i),f&&(h.data=f),b.preview&&(h.preview=!0),g={url:b.ajaxurl,dataType:"jsonp",jsonpCallback:"po_data",data:h,success:function(a){m(a)},complete:function(){jQuery(document).trigger("popup-load-done",[l])}},jQuery.ajax(g)}function d(a){if(a){var b=function(a){a&&(a.popup&&a.popup.html&&jQuery('<style type="text/css">'+a.popup.styles+"</style>").appendTo("head"),window.inc_popup=new IncPopup(a),window.inc_popups[window.inc_popups.length]=window.inc_popup,jQuery(document).trigger("popup-initialized",[window.inc_popup]),a.noinit||a.preview||window.inc_popup.init())};if(a.popup instanceof Array)for(var c=0;c<a.popup.length;c+=1){var d=jQuery.extend({},a);d.popup=a.popup[c],b(d)}else a instanceof Object&&b(a)}}function e(a){for(var b=[],c=0;c<a.length;c++){if(c+1<a.length){var d=a.charCodeAt(c),e=a.charCodeAt(c+1);if(d>=55296&&d<=56319&&56320===(64512&e)||e>=768&&e<=879){b.unshift(a.substring(c,c+2)),c++;continue}}b.unshift(a[c])}return b.join("")}IncPopup.po_status="closed",IncPopup.po_queue=[],IncPopup.po_current=null,IncPopup.recent_ajax_calls=[],IncPopup.doing_ajax=!1,jQuery(document).on("popup-open",a),jQuery(document).on("popup-closed",b),jQuery(document).on("popups-load",c),jQuery(document).ajaxStart(function(a){IncPopup.doing_ajax=!0}),jQuery(document).ajaxComplete(function(a,b,c){IncPopup.doing_ajax=!1,IncPopup.recent_ajax_calls.unshift(b)}),jQuery(function(){window.inc_popups=[],window._popup_data&&d(window._popup_data)})}();