1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5244],{65244:(t,e,n)=>{n.r(e),n.d(e,{default:()=>h,getData:()=>E,initilizeListeners:()=>O,opinionFormSubmitButton:()=>k,opinionFormWriteButton:()=>g,sendOpinion:()=>j,writeOpinion:()=>P});n(52675),n(89463),n(2259),n(45700),n(23792),n(89572),n(94170),n(2892),n(59904),n(84185),n(40875),n(10287),n(26099),n(60825),n(47764),n(62953);var r=n(76234),o=n(96667),i=n(94140);function u(t){return u="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},u(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,l(r.key),r)}}function l(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==u(e)?e:e+""}function a(t,e,n){return e=p(e),function(t,e){if(e&&("object"==u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(e,n||[],p(t).constructor):e.apply(t,n))}function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(f=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}
1function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}var y="eventOpiniones",d=new o.y,v="full-reviews-widget",b="R-Button--submit",m="u-textCenter--all",w=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),a(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(e,t),n=e,(r=[{key:"initialize",value:function(){O()}},{key:"ratings",value:function(){var t=E(),e=t.productName,n=t.productUrl;d.push(new i.x(y,"Click estrellas opiniones",e,n).toDto())}},{key:"dropdownOpinionsBlock",value:function(){var t=E(),e=t.productName,n=t.productUrl;d.push(new i.x(y,"Uso bloque Opiniones",e,n).toDto())}}])&&c(n.prototype,r),o&&c(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,o}(r.Controller);w.targets=["reviewsBlock"];const h=w;function O(){var t=document.getElementById(v);null!=t&&t.addEventListener("click",(function(){g(t),k(t)}),!0)}function g(t){var e=t.querySelectorAll("#"+v+" div.R-Button--primary:not(."+b+")");null!=e&&null!==e.item(0)&&(e.item(0).classList.contains(b)||e.item(0).addEventListener("click",(function(t){t.stopImmediatePropagation(),P()})))}function k(t){try{var e=t.querySelectorAll("#"+v+" div."+b);null!=e&&e.item(0).addEventListener("click",(function(e){e.stopImmediatePropagation();var n=t.querySelectorAll("div."+m);if(null!==n){var r=n.item(0);new IntersectionObserver((function(t){t[0].isIntersecting&&j()})).observe(r)}}))}catch(t){}}function P(){var t=E(),e=t.productName,n=t.productUrl;d.push(new i.x(y,"Escribir opinion",e,n).toDto())}function j(){var t=E(),e=t.productName,n=t.productUrl;d.push(new i.x(y,"Enviar form opinion",e,n).toDto())}function E(){var t;return{productName:(null===(t=document.getElementById("singleProduct"))||void 0===t?void 0:t.getAttribute("data-title"))||"",productUrl:d.getPathNameFromUrlES()}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.