function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function(){return a};var a={},e=Object.prototype,u=e.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function i(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(e){i=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o,i,a,c,t=t&&t.prototype instanceof d?t:d,t=Object.create(t.prototype),r=new E(r||[]);return s(t,"_invoke",{value:(o=e,i=n,a=r,c="suspendedStart",function(e,t){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===e)throw t;return T()}for(a.method=e,a.arg=t;;){var n=a.delegate;if(n){n=function e(t,n){var r=n.method,o=t.iterator[r];if(void 0===o)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;r=l(o,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}(n,a);if(n){if(n===f)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===c)throw c="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c="executing";n=l(o,i,a);if("normal"===n.type){if(c=a.done?"completed":"suspendedYield",n.arg===f)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(c="completed",a.method="throw",a.arg=n.arg)}})}),t}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}a.wrap=c;var f={};function d(){}function v(){}function w(){}var t={},p=(i(t,r,function(){return this}),Object.getPrototypeOf),p=p&&p(p(x([]))),m=(p&&p!==e&&u.call(p,r)&&(t=p),w.prototype=d.prototype=Object.create(t));function h(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function y(a,c){var t;s(this,"_invoke",{value:function(n,r){function e(){return new c(function(e,t){!function t(e,n,r,o){var i,e=l(a[e],a,n);if("throw"!==e.type)return(n=(i=e.arg).value)&&"object"==_typeof(n)&&u.call(n,"__await")?c.resolve(n.__await).then(function(e){t("next",e,r,o)},function(e){t("throw",e,r,o)}):c.resolve(n).then(function(e){i.value=e,r(i)},function(e){return t("throw",e,r,o)});o(e.arg)}(n,r,e,t)})}return t=t?t.then(e,e):e()}})}function g(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(g,this),this.reset(!0)}function x(t){if(t){var n,e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,(e=function e(){for(;++ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ni&&(clearInterval(n),t(null))},a)}));case 5:case"end":return e.stop()}},e)}))}var ue=["lojasrede","drogariavenancio"];function se(){return n(this,void 0,void 0,_regeneratorRuntime().mark(function e(){var r;return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t=void 0,t=q().accountName,n=(n=window.location.pathname).includes("/search")||n.includes("/pesquisa"),null!=t&&ue.includes(t)&&n)return e.next=3,ce(function(){var e;return null==(e=document.querySelector("impulse-search"))?void 0:e.shadowRoot});e.next=6;break;case 3:e.t0=e.sent,e.next=9;break;case 6:return e.next=8,ce(function(){return document.body});case 8:e.t0=e.sent;case 9:return r=e.t0,e.abrupt("return",r);case 11:case"end":return e.stop()}var t,n},e)}))}function le(i,a){var c=window.history[i];return function(){for(var e=arguments.length,t=new Array(e),n=0;nn.value&&(n.value=r,n.entries=o,t())}var t,n=E("CLS",0),r=0,o=[],i=x("layout-shift",e);i&&(t=T(a,n,_e,c.reportAllChanges),_(function(){e(i.takeRecords()),t(!0)}),y(function(){n=E("CLS",r=0),t=T(a,n,_e,c.reportAllChanges),I(function(){return t()})}),setTimeout(t,0))}))}function ye(e){e.forEach(function(e){e.interactionId&&(S=Math.min(S,e.interactionId),A=Math.max(A,e.interactionId),Le=A?(A-S)/7+1:0)})}function ge(i,a){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(a=a||{},j(function(){var e;Oe();function t(t){Re(function(){t.forEach(Ne);var e=Se();e&&e.latency!==n.value&&(n.value=e.latency,n.entries=e.entries,o())})}var n=E("INP"),r=x("event",t,{durationThreshold:null!=(e=a.durationThreshold)?e:40}),o=T(i,n,Ce,a.reportAllChanges);r&&(r.observe({type:"first-input",buffered:!0}),_(function(){t(r.takeRecords()),o(!0)}),y(function(){je=ke(),N.length=0,R.clear(),n=E("INP"),o=T(i,n,Ce,a.reportAllChanges)}))}))}function be(a,c){c=c||{},j(function(){function e(e){(e=c.reportAllChanges?e:e.slice(-1)).forEach(function(e){e.startTimer[1]?"poor":e>r[0]?"needs-improvement":"good",t(n))}},I=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},_=function(e){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&e()})},L=function(e){var t=!1;return function(){t||(e(),t=!0)}},k=-1,O=function(e){"hidden"===document.visibilityState&&-1n.latency)&&(e?t.duration>e.latency?(e.entries=[t],e.latency=t.duration):t.duration===e.latency&&t.startTime===e.entries[0].startTime&&e.entries.push(t):(n={id:t.interactionId,latency:t.duration,entries:[t]},R.set(n.id,n),N.push(n)),N.sort(function(e,t){return t.latency-e.latency}),10