try{window.ELEMENT_ANALYZER_VERSION=19;!function(){"use strict";function t(t,n){if(t){if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,a=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw a}}}}(e.querySelectorAll("[ez-t], [ez-ai='true']"));try{var o=function(){var e=n.value,i=e.getAttribute("ez-l");if("video"===i||"video"===e.getAttribute("ez-dt"))return"continue";var o=e.hasAttribute("ez-t")?e.getAttribute("ez-t"):i,a=function(t){return t.includes("floating")||t.includes("edge")}(i),l=e.getAttribute("ez-s").split(",");if(0===l.length)return"continue";var c=0,u=0;l.forEach((function(e){var n,r,i=(n=e.split("x").map(Number),r=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,l=[],c=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}(n,r)||t(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1];c=o>c?o:c,u=a>u?a:u})),r[o]={width:c,height:u,positionType:i,isFloating:a}};for(i.s();!(n=i.n()).done;)o()}catch(t){i.e(t)}finally{i.f()}return r}function r(t){if(t.classList.contains("ezoic-autoinsert-ad")&&t.classList.length>1)return function(t){return t.classList.contains("ezoic-autoinsert-ad")?Array.from(t.classList).find((function(t){return t.startsWith("ezoic-")&&"ezoic-autoinsert-ad"!==t})).replace("ezoic-",""):""}(t);var e=t.id.match(/(\d{1,3})$/);return e&&0!==e.length?e[0]:void 0}function i(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){c=!0,a=t},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw a}}}}(t.querySelectorAll("[ez-l='video'], [ez-dt='video']"));try{var o=function(){var t=e.value,r=t.getAttribute("ez-l"),o=t.hasAttribute("ez-t")?t.getAttribute("ez-t"):r,a=t.getAttribute("ez-s").split(",");if(0===a.length)return"continue";var l=0,c=0;a.forEach((function(t){var e,n,r=(e=t.split("x").map(Number),n=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,l=[],c=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}(e,n)||i(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],a=r[1];l=o>l?o:l,c=a>c?a:c})),n[o]={width:l,height:c,positionType:r}};for(r.s();!(e=r.n()).done;)o()}catch(t){r.e(t)}finally{r.f()}return n}function l(t){return Math.max(t.offsetHeight,t.scrollHeight,t.clientHeight)}function c(t){return Math.max(t.offsetWidth,t.scrollWidth,t.clientWidth)}function u(t,e){if("PL"===e){var i=l(t),o=c(t),u=document.createElement("div");u.style.width="".concat(o,"px"),u.style.height="".concat(i,"px"),function(t){t.className+=t.className.length>0?" imagination":"imagination",t.style.position="absolute",t.style.left="-9999px",t.style.visibility="hidden",t.style.opacity=0}(u);var d=t.cloneNode(!0);return u.appendChild(d),document.body.parentElement.appendChild(u),s(d),function(t,e){if("PL"===e){!function(t){for(var e=t.querySelectorAll(".ezoic-ad, [data-ez-ph-id], *[class^=ezo_link_unit_], *[class^=ezflad-], amp-ad[type=ezoic]"),n=0;n=0;e--){var n=t.children[e];switch(n.tagName){case"SCRIPT":case"STYLE":t.removeChild(n);break;case"IMAGE":case"VIDEO":n.style.width=n.offsetWidth,n.style.height=n.offsetHeight,n.removeAttribute("src");break;default:s(n)}}}function f(t,e){t.style.height=e.height+"px",t.style.width=e.width+"px",t.style.margin="15px auto",t.style.display="block",t.style.textAlign="center",t.style.float="none"}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function h(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.elementCount=0,this.visualize=e,this.debug=n}var e,n;return e=t,(n=[{key:"findImportantElements",value:function(t,e,n){var r=this.getType(t);if("nocontent"===r||"notvisible"===r)return null;if(""!==r)return this.elementCount++,v(t,r,this.visualize);var i,o=[];for(var a in t.children){var l=t.children[a],c=this.findImportantElements(l,t.offsetWidth,t.offsetHeight);null!==c&&(Array.isArray(c)?o.push.apply(o,function(t){if(Array.isArray(t))return C(t)}(i=c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||E(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o.push(c))}if(0===o.length)return null;if("BODY"===t.tagName||t.offsetHeight0)break;return"text";case"SCRIPT":return"nocontent";case"IMG":return"image";case"IFRAME":return"iframe";case"FORM":return"form"}return 0===this.getChildrenCount(t)?this.containsContent(t)&&function(t){var e=t.getBoundingClientRect(),n=0===e.height&&0===e.width;if("function"===!z(t.checkVisibility)){var r="none"===window.getComputedStyle(t).display;return!n&&!r}return t.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})&&!n}(t)?"text":"nocontent":""}},{key:"containsContent",value:function(t){if(0===this.getChildrenCount(t))return 0!==t.textContent.trim().length;var e,n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=E(t))){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(t.childNodes);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.nodeType===Node.TEXT_NODE&&0!==r.nodeValue.trim().length)return!0}}catch(t){n.e(t)}finally{n.f()}return!1}},{key:"getChildrenCount",value:function(t){return void 0!==t.children?t.children.length:0}}])&&N(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),T=O;!function t(){if("complete"===document.readyState){if(void 0!==window.ELEMENT_ANALYZER_VERSION){var e=500,r=window.ELEMENT_ANALYZER_VERSION,i=window.location.search,o=new URLSearchParams(i),a="1"===o.get("ez_adan_vis"),s="1"===o.get("ez_adan_debug"),f=window.location.href;-1!==f.indexOf("#")&&(f=f.substring(0,f.indexOf("#")));var d=u(document.body,"PL"),h=d.children[0],y=new T(a,s),p=y.findImportantElements(h,h.offsetWidth,h.offsetHeight);d.remove();var v=n(document.body),b=0;Object.values(v).forEach((function(t){t.hasOwnProperty("isFloating")&&t.isFloating&&b++}));var m=l(document.body),g=c(document.body),w={u:f,wh:window.innerHeight,ww:window.innerWidth,dh:m,dw:g,l:p,sv:r,pvid:window._ezaq?window._ezaq.page_view_id:"",ma:window._ezaq?window._ezaq.max_ads:-1,fc:b};if(void 0!==window._ezaq&&null!==window._ezaq&&(w.d=_ezaq.domain_id,w.ff=_ezaq.form_factor_id),fetch("https://g.ezoic.net/detroitchicago/adan",{method:"POST",headers:{Accept:"applicationhttps://garagegymbuilder.com/json","Content-Type":"applicationhttps://garagegymbuilder.com/json"},body:JSON.stringify(w)}),s){var A=(new TextEncoder).encode(JSON.stringify(w)).length/1024,S=A/1024;console.log("**** ELEMENT ANALYZER SCRIPT DEBUG INFO ****"),console.log("JSON: ".concat(JSON.stringify(w))),console.log("Element Node Count: ".concat(y.elementCount)),console.log("JSON Size KB: ".concat(A)),console.log("JSON Size MB: ".concat(S))}}}else setTimeout(t,e)}()}();}catch(err){var hREED=function(er){return function(){reportEzError(er,"/elementanalyzer.js")}};typeof reportEzError==="function"?hREED(err):window.addEventListener('reportEzErrorDefined',hREED(err),{once:true});console.error(err);}