1(window.wpJsonpPaskit=window.wpJsonpPaskit||[]).push([[8],{85:(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"default",function(){return ContainSwatchTooltips});function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function setTooltipOffset(target){var margin=10,_window=window,innerWidth=_window.innerWidth,_target$getBoundingCl=target.getBoundingClientRect(),x=_target$getBoundingCl.x,width=_target$getBoundingCl.width,tooltipWidth=parseFloat(window.getComputedStyle(target,":after").width),required=tooltipWidth*.5,available=0,offset=0;x<innerWidth*.5?(available=x+width*.5-margin,offset=required-available):(available=innerWidth-x-width*.5-margin,offset=available-required),target.style.setProperty("--swatch-tooltip-offset","".concat(required>=available?offset:0,"px"))}function handleMouseover(_ref){var target=_ref.target;target.dataset&&!target.dataset.swatchTooltip||window.requestAnimationFrame(function(){return setTooltipOffset(target)})}var ContainSwatchTooltips=(function(){function ContainSwatchTooltips2(){_classCallCheck(this,ContainSwatchTooltips2),window.addEventListener("mouseover",handleMouseover)}return _createClass(ContainSwatchTooltips2,[{key:"unload",value:function(){window.removeEventListener("mouseover",handleMouseover)}}]),ContainSwatchTooltips2})()})}]); 2//# sourceMappingURL=/cdn/shop/t/2/assets/ContainSwatchTooltips.bundle.js.map?v=25505139584063351591870221
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.