PageSourceSearch

https://www.pyretosnackan.se/ui/es5/496.1095abeb6e1a140cdadd.js

js pyretosnackan.se collected 2026-09-26 09:24:18 UTC 2,740 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[496],{496:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});n(1013),n(2327),n(8410);var r=n(7378),a=n(1403),l=n.n(a),c=(n(3082),n(4837)),o=n(8036),s=n(6143),i=function(e){return{type:s.fc,payload:{visible:e}}};function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}var m={content:{background:"none",padding:0,border:"none"},overlay:{background:"rgba(0, 0, 0, 0.8)",zIndex:2003}},d={showStatus:!1,showIndicators:!1,useKeyboardArrows:!0,thumbWidth:50,autoPlay:!1,autoFocus:!0},g=function(e){return e.map((function(e,t){if(e&&e.props&&e.props.children){var n=e.props.children.find((function(e){return"img"===e.type}));if(n&&n.props&&n.props.src)return r.createElement("div",{key:t,style:{backgroundImage:"url("+n.props.src+")"},className:"thumbnail__image"})}}))},p=function(e){var t=(0,o.I0)(),n=(0,o.v9)((function(e){return e.lightboxImages})),a=n.visible,p=n.index,f=(0,r.useCallback)((function(){return t(i(!1))}),[t]),h=function(e){t(i(!0)),t(function(e){return{type:s.GR,payload:{index:e}}}(e))};return!e.images||e.images.length<1?r.createElement(r.Fragment,null):r.createElement(r.Fragment,null,r.createElement("div",{className:"row product-images"},r.createElement("div",{className:"small-12 large-9 columns large-order-1"},r.createElement("figure",{className:"product-detail__image-container"},r.createElement("a",{"data-src":e.images[0].src,href:"#",itemProp:"url",onClick:function(e){e.preventDefault(),h(0)},className:"product-image",rel:"nofollow",dangerouslySetInnerHTML:{__html:e.images[0].html}}))),r.createElement("div",{className:"small-12 large-3 columns medium-flex-dir-column"},r.createElement("div",{className:"row"},e.images.map((function(t,n){return n>0&&r.createElement("div",{className:"product-detail__image-container columns large-12",key:n},r.createElement("a",{"data-src":t.src,href:"#",itemProp:"url",onClick:function(e){e.preventDefault(),h(n)},className:"product-image",rel:"nofollow",dangerouslySetInnerHTML:{__html:e.images[n].html}}))}))))),r.createElement(l(),{ariaHideApp:!1,preventScroll:!0,isOpen:a,onRequestClose:f,style:m,shouldCloseOnOverlayClick:!1},r.createElement(c.lr,u({},d,{selectedItem:p,className:"light-box",renderThumbs:g}),e.images.map((function(e,t){return r.createElement("div",{key:"figure".concat(t),className:"light-box__container"},r.createElement("button",{onClick:f,className:"light-box__close-btn"},"×"),r.createElement("img",{src:e.src,className:"light-box__image"}))})))))}}}]);
2//# sourceMappingURL=496.1095abeb6e1a140cdadd.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.