function _typeof(t){return(_typeof="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})(t)}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){var n;if(t)return"string"==typeof t?_arrayLikeToArray(t,e):"Map"===(n="Object"===(n=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);ni&&(clearInterval(n),e(null))},a)}));case 5:case"end":return t.stop()}},t)}))}var at=["lojasrede","drogariavenancio"];function ct(){return c(this,void 0,void 0,_regeneratorRuntime().mark(function t(){var r;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e=void 0,e=f().accountName,n=(n=window.location.pathname).includes("/search")||n.includes("/pesquisa"),null!=e&&at.includes(e)&&n)return t.next=3,it(function(){var t;return null==(t=document.querySelector("impulse-search"))?void 0:t.shadowRoot});t.next=6;break;case 3:t.t0=t.sent,t.next=9;break;case 6:return t.next=8,it(function(){return document.body});case 8:t.t0=t.sent;case 9:return r=t.t0,t.abrupt("return",r);case 11:case"end":return t.stop()}var e,n},t)}))}function ut(i,a){var c=window.history[i];return function(){for(var t=arguments.length,e=new Array(t),n=0;nn.value&&(n.value=r,n.entries=o,e())}var e,n=E("CLS",0),r=0,o=[],i=x("layout-shift",t);i&&(e=T(a,n,_t,c.reportAllChanges),_(function(){t(i.takeRecords()),e(!0)}),g(function(){n=E("CLS",r=0),e=T(a,n,_t,c.reportAllChanges),I(function(){return e()})}),setTimeout(e,0))}))}function gt(t){t.forEach(function(t){t.interactionId&&(k=Math.min(k,t.interactionId),A=Math.max(A,t.interactionId),Lt=A?(A-k)/7+1:0)})}function wt(i,a){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(a=a||{},j(function(){var t;Ot();function e(e){Rt(function(){e.forEach(Nt);var t=kt();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,o())})}var n=E("INP"),r=x("event",e,{durationThreshold:null!=(t=a.durationThreshold)?t:40}),o=T(i,n,Ct,a.reportAllChanges);r&&(r.observe({type:"first-input",buffered:!0}),_(function(){e(r.takeRecords()),o(!0)}),g(function(){jt=St(),N.length=0,R.clear(),n=E("INP"),o=T(i,n,Ct,a.reportAllChanges)}))}))}function bt(a,c){c=c||{},j(function(){function t(t){(t=c.reportAllChanges?t:t.slice(-1)).forEach(function(t){t.startTimer[1]?"poor":t>r[0]?"needs-improvement":"good",e(n))}},I=function(t){requestAnimationFrame(function(){return requestAnimationFrame(function(){return t()})})},_=function(t){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&t()})},L=function(t){var e=!1;return function(){e||(t(),e=!0)}},S=-1,O=function(t){"hidden"===document.visibilityState&&-1n.latency)&&(t?e.duration>t.latency?(t.entries=[e],t.latency=e.duration):e.duration===t.latency&&e.startTime===t.entries[0].startTime&&t.entries.push(e):(n={id:e.interactionId,latency:e.duration,entries:[e]},R.set(n.id,n),N.push(n)),N.sort(function(t,e){return e.latency-t.latency}),10