var RealMe=RealMe||function(n,t,i){var u=navigator.userAgent.match(/(IEMobile\/9.0)/),f=/\bMSIE 6/.test(navigator.userAgent)&&!t.opera,r;return f?!1:(r={cacheElements:function(){this.$container=$(".realme_widget");this.$trigger=$(".whats_realme",this.$container);this.$modal=$(".realme_popup",this.$container)},init:function(){this.cacheElements();"ontouchstart"in n||u!==null?(this.$container.addClass("touch"),this.popup_window()):(this.$container.addClass("no_touch"),this.bind_no_touch())},bind_no_touch:function(){this.$trigger.on("click",function(n){n.preventDefault()})},show_popup:function(){this.$modal.addClass("active")},hide_popup:function(){this.$modal.removeClass("active")},popup_window:function(){var n=this;this.$trigger.click(function(t){this.$modal.hasClass("active")?n.hide_popup():n.show_popup();t.stopPropagation()});this.$trigger.click(function(){return!1})}},i(n).ready(function(){r.init()}),r)}(document,window,jQuery)