"function"!==typeof window.n2SSIframeLoader&&("undefined"===typeof window.jQuery&&"undefined"!==typeof window.parent&&(window.jQuery=window.parent.jQuery),function(c){function d(a,b){this.i=b;this.frame=a;this.$frame=c(a)}var e=[],h=window.addEventListener?"addEventListener":"attachEvent";window[h]("attachEvent"===h?"onmessage":"message",function(a){for(var b=0;b').on("load", c.proxy(function(a){var b=0,f=c(a.target.contentWindow?a.target.contentWindow:a.target.contentDocument.defaultView).on("resize",c.proxy(function(a){a=f.width();b!==a&&(b=a,this.resizeFullWidth())},this))},this)).appendTo(this.$fullWidthTo[0])}catch(b){}};d.prototype.exists=function(){if(c.contains(document.body,this.frame))return!0;e[this.i]=!1;c(window).off(".n2-ss-iframe-"+this.i);this.observer&&(this.observer.unobserve(this.$fullWidthTo[0]),delete this.observer);this.$resizeObserverIframe&&(this.$resizeObserverIframe.remove(), delete this.$resizeObserverIframe);return!1};d.prototype.resizeFullWidth=function(){if(this.exists()){var a=0,b=0;this.$fullWidthTo.length&&(a=this.$fullWidthTo.width(),b=this.$fullWidthTo.offset().left);a=0Math.abs(a-this.lastClientHeight)?a=this.lastClientHeight:this.lastClientHeight=a}else a=b.documentElement.clientHeight|| b.body.clientHeight;return a};window.n2SSIframeLoader=function(a){e.push(new d(a,e.length))}}(window.jQuery));