PageSourceSearch

https://feals-apps-blue-sky-staging.netlify.app/store-pdp-ProductReviews-8c56184825a4c948129d.js

js feals-apps-blue-sky-staging.netlify.app collected 2026-10-03 10:44:17 UTC 4,930 bytes, 2 lines download raw bytes

1(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[40],{"+pul":function(e,t,r){e.exports={container:"productReviews-module--container--1YjQX",variantPicker:"productReviews-module--variantPicker--119Tp",active:"productReviews-module--active--3wm_1",holder:"productReviews-module--holder--3DfYK"}},"4+96":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("r0ML"),c=(n=i)&&n.__esModule?n:{default:n},a=r("cNRa");var u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.scriptLoaderId="id"+r.constructor.idCount++,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onError,r=e.onLoad,n=e.url;this.constructor.loadedScripts[n]?r():this.constructor.erroredScripts[n]?t():this.constructor.scriptObservers[n]?this.constructor.scriptObservers[n][this.scriptLoaderId]=this.props:(this.constructor.scriptObservers[n]=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.scriptLoaderId,this.props),this.createScript())}},{key:"componentWillUnmount",value:function(){var e=this.props.url,t=this.constructor.scriptObservers[e];t&&delete t[this.scriptLoaderId]}},{key:"createScript",value:function(){var e=this,t=this.props,r=t.onCreate,n=t.url,o=t.attributes,i=document.createElement("script");r(),o&&Object.keys(o).forEach((function(e){return i.setAttribute(e,o[e])})),i.src=n,i.hasAttribute("async")||(i.async=1);var c=function(t){var r=e.constructor.scriptObservers[n];Object.keys(r).forEach((function(o){t(r[o])&&delete e.constructor.scriptObservers[n][e.scriptLoaderId]}))};i.onload=function(){e.constructor.loadedScripts[n]=!0,c((function(e){return e.onLoad(),!0}))},i.onerror=function(){e.constructor.erroredScripts[n]=!0,c((function(e){return e.onError(),!0}))},document.body.appendChild(i)}},{key:"render",value:function(){return null}}]),t}(c.default.Component);u.propTypes={attributes:a.PropTypes.object,onCreate:a.PropTypes.func,onError:a.PropTypes.func.isRequired,onLoad:a.PropTypes.func.isRequired,url:a.PropTypes.string.isRequired},u.defaultProps={attributes:{},onCreate:function(){},onError:function(){},onLoad:function(){}},u.scriptObservers={},u.loadedScripts={},u.erroredScripts={},u.idCount=0,t.default=u,e.exports=t.default},Etcc:function(e,t,r){"use strict";r.r(t),r.d(t,"ProductReviews",(function(){return f}));r("Z5ek"),r("8Qi2");var n=r("Pc05"),o=r.n(n),i=r("r0ML"),c=r("8FJG"),a=r("wsdw"),u=r.n(a),s=(r("hwKp"),r("4+96")),p=function(e){var t=e.widgetScriptUrl,r=e.className,n=e.sku,c=e.variantSkus,a=e.productName,p=c||[n];return i.createElement("div",{className:o()(r,"feals-reviews",u.a.container)},i.createElement(s,{url:t,onLoad:function(){var e=window.yotpo;e?e.initWidgets():setTimeout((function(){var e=window.yotpo;e&&e.initWidgets()}),500)}}),p.map((function(e){return i.createElement("div",{key:e,className:o()("yotpo yotpo-main-widget",{"yotpo-hidden-widget":e!==n}),"data-product-id":e,"data-name":a})})))},d=r("+pul"),l=r.n(d),f=function(e){var t=e.title,r=e.product,n=e.variants,a=(e.variantTemplates,Object(i.useState)(r.sku)),u=a[0],s=a[1],d=null==n?void 0:n.map((function(e,t){return{productVariantName:e.displayName,productVariantSku:e.sku}})),f=null==n?void 0:n.map((function(e,t){return e.sku}));return i.createElement("div",{className:l.a.container},i.createElement(c.a,{content:{title:t}},i.createElement("div",{className:l.a.holder},(d||[]).map((function(e){var t,r=e.productVariantSku,n=e.productVariantName;return i.createElement("a",{className:o()(l.a.variantPicker,(t={},t[l.a.active]=r===u,t)),key:n,onClick:function(e){e.preventDefault(),s(r)},href:""},n)}))),i.createElement("a",{id:"reviews",name:"reviews"}),i.createElement(p,{sku:u,widgetScriptUrl:"//staticw2.yotpo.com/c35JJei0Hm8mfBMt12EL4C137GAb63DngvZT6yMI/widget.js",variantSkus:f,productName:r.name})))}},hwKp:function(e,t,r){},wsdw:function(e,t,r){e.exports={container:"reviews-module--container--3bIjA"}}}]);
2//# sourceMappingURL=store-pdp-ProductReviews-8c56184825a4c948129d.js.map

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.