PageSourceSearch

https://fullybookedonline.com/static/frontend/scandipwa/fully-book…/js/product-attributes.c5be252c.chunk.js

js fullybookedonline.com collected 2026-10-02 08:02:55 UTC 6,666 bytes, 2 lines download raw bytes

1(this["webpackJsonpfully-booked"]=this["webpackJsonpfully-booked"]||[]).push([[63],{1425:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u}));var u=t.middleware((function(t){return t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}),"FullyBooked/Util/Format/Index/getDateType")}).call(this,r(3).default)},1654:function(t,e,r){"use strict";r.r(e);var u=r(1655);r.d(e,"default",(function(){return u.a}))},1655:function(t,e,r){"use strict";(function(t){var u,i,a=r(0),n=r(4),o=r(5),l=r(30),b=r(26),c=r(6),s=r(7),d=r(1),p=r.n(d),f=r(29),_=r(2170),m=t.middleware((function(t){return{catalogattributes:t.ConfigReducer.kemana_catalog_hide_attributes}}),"FullyBooked/Component/ProductAttributes/Container/mapStateToProps"),h=t.middleware((function(){return{}}),"FullyBooked/Component/ProductAttributes/Container/mapDispatchToProps"),k=t.middleware((i=u=function(t){Object(c.a)(r,t);var e=Object(s.a)(r);function r(){return Object(n.a)(this,r),e.apply(this,arguments)}return Object(o.a)(r,[{key:"containerProps",value:function(){var t=this.props.catalogattributes;return Object(a.a)(Object(a.a)({},Object(l.a)(Object(b.a)(r.prototype),"containerProps",this).call(this)),{},{catalogattributes:t})}}]),r}(t.Extensible(_.a)),u.propTypes=Object(a.a)(Object(a.a)({},u.PropTypes),{},{catalogattributes:p.a.string.isRequired}),i),"FullyBooked/Component/ProductAttributes/Container");e.a=Object(f.b)(m,h)(k)}).call(this,r(3).default)},2170:function(t,e,r){"use strict";(function(t,u){r.d(e,"a",(function(){return d}));var i=r(4),a=r(5),n=r(6),o=r(7),l=r(2),b=(r(182),r(86)),c=r(2171),s=r(14).checkBEMProps,d=t.middleware(function(t){Object(n.a)(r,t);var e=Object(o.a)(r);function r(){return Object(i.a)(this,r),e.apply(this,arguments)}return Object(a.a)(r,[{key:"containerProps",value:function(){var t=this.props,e=t.areDetailsLoaded,r=t.product;return{areDetailsLoaded:e,attributesWithValues:Object(b.d)(r)}}},{key:"render",value:function(){return s(u,c.a,this.containerProps())}}]),r}(t.Extensible(l.PureComponent)),"Component/ProductAttributes/Container")}).call(this,r(3).default,r(2))},2171:function(t,e,r){"use strict";(function(t,u,i){var a,n,o=r(4),l=r(5),b=r(6),c=r(7),s=r(1),d=r.n(s),p=r(2),f=r(2172),_=r(916),m=r(2173),h=r(1425),k=r(14).checkBEMProps,v=t.middleware((n=a=function(t){Object(b.a)(r,t);var e=Object(c.a)(r);function r(){return Object(o.a)(this,r),e.apply(this,arguments)}return Object(l.a)(r,[{key:"renderContent",value:function(){return k(u,"div",{block:"ProductAttributes",elem:"Wrapper"},k(u,"h2",{block:"ProductAttributes",elem:"Group"},i("Product Specifications")),this.renderGroups())}},{key:"renderGroups",value:function(){var t=this,e=this.props.attributesWithValues;return Object.values(e).map((function(t){return{attribute_group_id:t.attribute_group_id,attribute_group_name:t.attribute_group_name}})).filter((function(t,e,r){return e===r.findIndex((function(e){return e.attribute_group_id===t.attribute_group_id}))})).map((function(e){return k(u,"div",{block:"ProductAttributes",elem:"AttributeBlock",key:e.attribute_group_name},t.renderAttributes(e.attribute_group_id))}))}},{key:"renderAttributes",value:function(t){var e=this.props,r=e.attributesWithValues,i=e.catalogattributes,a=void 0===i?"":i;if(!Object.keys(r).length)return null;var n=a.split(","),o=Object.values(r).filter((function(e){return e.attribute_group_id===t&&!n.some((function(t){return t===e.attribute_code}))}));return o.length?k(u,"dl",{block:"ProductAttributes",elem:"Attributes"},o.map(this.renderAttribute.bind(this))):null}},{key:"renderAttribute",value:function(t){var e=t.attribute_label;return k(u,p.Fragment,{key:t.attribute_label},k(u,"dt",{block:"ProductAttributes",elem:"AttributeLabel",mods:{attribute_label:e}},t.attribute_label),k(u,"dd",{block:"ProductAttributes",elem:"ValueLabel",mods:{attribute_label:e}},this.renderCheckAttribute(t)))}},{key:"renderCheckAttribute",value:function(t){var e=t.attribute_label,r=t.attribute_value,i=t.attribute_code,a=t.attribute_type,n=t.attribute_id,o=t.attribute_group_name,l=t.attribute_group_id;if(i===f.a){var b=new Date(r),c={attribute_label:e,attribute_value:Object(h.a)(b),attribute_code:i,attribute_type:a,attribute_id:n,attribute_group_name:o,attribute_group_id:l};return k(u,_.a,{key:c.attribute_label,attribute:c,isFormattedAsText:!0})}return k(u,_.a,{key:t.attribute_label,attribute:t,isFormattedAsText:!0})}}]),r}(t.Extensible(m.a)),a.propTypes={catalogattributes:d.a.string.isRequired},n),"FullyBooked/Component/ProductAttributes/Component");e.a=v}).call(this,r(3).default,r(2),r(19).default)},2172:function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var u="publication_date"},2173:function(t,e,r){"use strict";(function(t,u,i){r.d(e,"a",(function(){return p}));var a=r(4),n=r(5),o=r(6),l=r(7),b=r(2),c=r(861),s=r(916),d=(r(182),r(839),r(14).checkBEMProps),p=t.middleware(function(t){Object(o.a)(r,t);var e=Object(l.a)(r);function r(){return Object(a.a)(this,r),e.apply(this,arguments)}return Object(n.a)(r,[{key:"renderGroups",value:function(){var t=this,e=this.props.attributesWithValues;return Object.values(e).map((function(t){return{attribute_group_id:t.attribute_group_id,attribute_group_name:t.attribute_group_name}})).filter((function(t,e,r){return e===r.findIndex((function(e){return e.attribute_group_id===t.attribute_group_id}))})).map((function(e){return d(u,"div",{block:"ProductAttributes",elem:"AttributeBlock",key:e.attribute_group_name},d(u,"h2",{block:"ProductAttributes",elem:"Group"},e.attribute_group_name),t.renderAttributes(e.attribute_group_id))}
1))}},{key:"renderAttribute",value:function(t){return d(u,b.Fragment,{key:t.attribute_label},d(u,"dt",{block:"ProductAttributes",elem:"AttributeLabel"},t.attribute_label),d(u,"dd",{block:"ProductAttributes",elem:"ValueLabel"},d(u,s.a,{key:t.attribute_label,attribute:t,isFormattedAsText:!0})))}},{key:"renderAttributes",value:function(t){var e=this.props.attributesWithValues;if(!Object.keys(e).length)return null;var r=Object.values(e).filter((function(e){return e.attribute_group_id===t}));return r.length?d(u,"dl",{block:"ProductAttributes",elem:"Attributes"},r.map(this.renderAttribute.bind(this))):null}},{key:"renderContent",value:function(){var t=this.props.areDetailsLoaded?i("Details"):"";return d(u,c.default,{heading:t,mix:{block:"ProductAttributes",elem:"Content"}},this.renderGroups())}},{key:"render",value:function(){return this.props.areDetailsLoaded?this.renderContent():null}}]),r}(t.Extensible(b.PureComponent)),"Component/ProductAttributes/Component")}).call(this,r(3).default,r(2),r(19).default)}}]);
2//# sourceMappingURL=product-attributes.c5be252c.chunk.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.