©2022 Averie Cooks. Design by Purr. =t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?”Object is not iterable.”:”Symbol.iterator is not defined.”)}function o(t,e){var n=”function”==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,o,r=n.call(t),a=[];try{for(;(void 0===e||e– >0)&&!(i=r.next()).done;)a.push(i.value)}catch(t){o={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function r(){for(var t=[],e=0;e1)throw new Error(“Invalid probability”);return Math.random()0&&(y=h=window.innerHeight*p.spacing);var m=this._repeatDynamicAds(p),_=this.getElements(p.elementSelector,e);p.skip;for(var g=p.skip;gm.length);g+=p.every){var v=_[g];if(h>0){var b=c(v).bottom;if(b0;P–)S()}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return s.forEach((function(t){var e=t.location;t.element.style.minHeight=a.locationToMinHeight[e]})),l},t.prototype._shouldTargetAllElgibile=function(t){return t===this._densityMax},t.prototype._injectDensitySlots=function(t,e){var n,o,l=this;void 0===e&&(e=document);try{this._calculateMainContentHeightAndAllElements(t)}catch(t){return[]}this._densityDevice=”desktop”===this._device?a.Desktop:a.Mobile;var s=[],c=this._getDensitySettings(),u=c.adDensity,d=c.onePerViewport,p=this._shouldTargetAllElgibile(u),h=this._getTargetDensityUnits(u),y=this._getCombinedMax(t),f=Math.min.apply(Math,r([this._totalAvailableElements,h],y>0?[y]:[]));if(this._pubLog={onePerViewport:d,targetDensity:u,targetDensityUnits:h,combinedMax:y},!f)return[];var m=0,_=0,g=function(t){var n=v.getElements(t.elementSelector,e),i=v._getInsertEvery(f,d);v._logDensityInfo(n,t.elementSelector,i);var o=function(n){var o,r,a=null;o=l._attemptInsertion({dynamicAd:t,element:n,insertNext:_,onePerViewport:d,contentInsertedThisPage:m,target:e,insertEvery:i,targetAll:p}),_=o.insertNext,r=o.slot,a=o.adElement,r&&a&&(s.push(r),++m,a.style.minHeight=l.locationToMinHeight[t.location])};t.skip;for(var r=t.skip;r=v._mainContentHeight&&v._totalAvailableElements>1)){if(!(m=Math.max(i.min,i.max)});d=(e=this._addContentAd(o,i,h,s,c)).insertedSlot,r=e.insertNext,p=e.adElement}return{insertNext:r,slot:d,adElement:p}},t.prototype._isElementSpacedCorrectly=function(t,e,n,i,o,r){var a=”beforebegin”===i.position||”beforeend”===i.position,l=o||this._isElementFarEnough(n,t,e,i,r),s=this._isElementNotInRow(t,a),c=l&&s;return c&&(this._lastElement=t,this._lastAdPosition=”beforebegin”===i.position||”afterbegin”===i.position?”top”:”bottom”),c},t.prototype._getMinimumSpacingByLastInjection=function(t){return this._lastAdPosition&&”bottom”===this._lastAdPosition&&tn&&(0===s||u-s>=o+l)},t.prototype._isElementNotInRow=function(t,e){var n=t.previousElementSibling,i=t.nextElementSibling,o=e?!n&&i||n&&t.tagName!==n.tagName?i:n:i;return!(!o||0!==t.getBoundingClientRect().height)||(!o||t.getBoundingClientRect().top!==o.getBoundingClientRect().top)},t.prototype._calculateMainContentHeightAndAllElements=function(t){var e=this._setMainContentAndElements(t),n=e.mainContentDiv,i=e.firstContentDiv;this._mainContentDiv=n,this._firstContentDiv=i;var o=this._mainContentDiv.querySelector(“div #comments, section…