PageSourceSearch

https://www.lightwayind.com/_next/static/chunks/pages/inspiration/gallery/[show]-57d24fdb009d1f1f.js

js lightwayind.com collected 2026-10-07 11:05:56 UTC 9,861 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[891],{1284:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/inspiration/gallery/[show]",function(){return n(6874)}])},4032:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var s=n(5893),a=n(7294),i=function(e){var t=e.children;return e.toolTip&&(0,s.jsx)("div",{className:"",children:(0,s.jsx)("div",{className:"lexcms-alert-popover-content",children:(0,s.jsx)("div",{className:"lexcms-alert-popover-text",children:t})})})};function o(e){var t=e.pageUrl,n=(0,a.useState)(!1),o=n[0],l=n[1],c=(0,a.useRef)(),r=function(){l(!1)};return(0,a.useEffect)((function(){return window.removeEventListener("animationend",r)}),[o]),(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)("input",{type:"text",readOnly:!0,value:t,className:"lexcms-product-comparison-page-share-results-url",ref:c}),(0,s.jsxs)("div",{className:"lexcms-alert-popover-wrapper",children:[(0,s.jsxs)("button",{className:"lexcms-regular-button lexcms-share-button",onClick:function(){!function(){var e=c.current;e.select(),e.setSelectionRange(0,99999),navigator.clipboard.writeText(e.value)}(),window.addEventListener("animationend",r),l(!0)},children:[(0,s.jsx)("div",{className:"lexcms-share-button-icon"}),"Copy URL to Clipboard"]}),(0,s.jsx)(i,{toolTip:o,children:(0,s.jsx)("p",{children:"The URL has been copied to your clipboard."})})]})]})}},1861:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var s=n(6042),a=n(5893),i=n(1664),o=n.n(i),l=n(1608),c=n.n(l),r=n(747);n(7294);function d(e){var t=function(e){return(0,a.jsxs)("div",{className:"image-non-action",children:[(0,a.jsx)(c(),{unoptimized:!0,priority:!0,src:e.app_photo.image_url,alt:e.app_photo.title+" photo",className:"lexcms-app-photo-image",width:"100",height:"0"}),e.app_photo.new&&(0,a.jsx)("div",{className:"overlay-pill new-photo-pill",children:"New Photo"}),e.app_photo.product_hot_spots&&e.app_photo.product_hot_spots.length>0&&(0,a.jsxs)("div",{className:"hot-spot-count-container",children:[r.Q4,(0,a.jsxs)("p",{children:["(",e.app_photo.product_hot_spots.length,")"]})]})]})},n=function(e){return(0,a.jsxs)("div",{className:"overlay-action-buttons-container",children:[e.showLightBox&&(0,a.jsxs)("button",{className:"overlay-action-button overlay-expand-action-button",onClick:function(t){e.highlight?e.showLightBox(t,e.app_photo):e.showLightBox(t,e.index)},children:[r.AH," Expand"]}),(0,a.jsxs)("a",{className:"overlay-action-button overlay-details-action-button",href:"/lex-cms/inspiration/application_photo/".concat(e.app_photo.id),children:[r.tT," Details"]})]})};return(0,a.jsxs)("div",{className:"lexcms-application-photo-tile",children:[e.mobile?(0,a.jsx)(o(),{href:"/lex-cms/inspiration/application_photo/".concat(e.app_photo.id),children:(0,a.jsx)("div",{className:"lexcms-app-photo-image-container",children:(0,a.jsx)(t,(0,s.Z)({},e))})}):(0,a.jsx)("div",{className:"lexcms-app-photo-tile-desktop",children:(0,a.jsxs)("div",{className:"lexcms-app-photo-image-container",children:[(0,a.jsx)(t,(0,s.Z)({},e)),(0,a.jsx)(n,(0,s.Z)({},e))]})}),e.app_photo.uploader&&(0,a.jsx)("p",{className:"lexcms-manufacturer-name",children:e.app_photo.uploader})]})}},3426:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(5893),a=n(7294),i=n(4683),o=n(747);function l(e){var t=(0,a.useState)(null),n=t[0],l=t[1],c=(0,a.useState)(e.index),r=c[0],d=c[1],h=(0,a.useRef)();(0,i.Z)(h,(function(){e.hideLightBox()}));var p=function(t,n){t.stopPropagation(),d(n),u(e.images[n])},u=function(e){l(e),document.body.style.overflow="hidden"};return(0,a.useEffect)((function(){d(e.index),null!=e.index&&u(e.images[e.index])}),[e.index]),(0,s.jsxs)("div",{className:"lightbox",style:{display:null!=r?"flex":"none"},children:[n&&(0,s.jsx)("button",{className:"lightbox-close",onClick:function(){e.hideLightBox()},children:"x"}),null!=r&&(0,s.jsxs)("div",{className:"lightbox-image-container",ref:h,children:[0!=r&&(0,s.jsx)("button",{className:"nav-button prev-button",onClick:function(e){return p(e,r-1)},children:o.rt}),(0,s.jsx)("img",{className:"lightbox-img",src:n.image_full_size_url}),r!=e.images.length-1&&(0,s.jsx)("button",{className:"nav-button next-button",onClick:function(e){return p(e,r+1)},children:o.Jv})]})]})}},8545:function(e,t,n){"use strict";var s=n(5893);t.Z=function(e){var t=e.children,n=e.show,a=e.setShow,i=e.additionalClasses;return n&&(0,s.jsxs)("div",{className:"lexcms-modal"+" ".concat(i),children:[(0,s.jsx)("div",{className:"lexcms-modal-header",children:(0,s.jsx)("div",{className:"lexcms-modal-close",type:"button",onClick:function(){return a(!1)},children:"Close"})}),(0,s.jsx)("div",{className:"lexcms-modal-content",children:t})]})}},6874:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return p},default:function(){return u}});var s=n(5893),a=n(5585),i=n(7294),o=n(1861),l=n(747),c=n(506),r=n(8545),d=n(4032),h=n(3426),p=!0;function u(e){var t,n=e.app_gallery,p=e.cart_enabled,u=e.stylesheet,m=e.favicon,x=e.page_layout,f=e.referer,g=e.mobile,j=window.location.href,v=(0,i.useState)(!1),N=v[0],y=v[1],b=(0,i.useState)("photos"),_=b[0],w=b[1],S=(0,i.useState)(null),k=S[0],O=S[1],P=function(e,t){e.stopPropagation(),O(t)},E=function(){var e=[],t=new Set;
1return n.photos.forEach((function(n){n.product_hot_spots.forEach((function(n){t.has(n.product.id)||e.push(n.product),t.add(n.product.id)}))})),e},C=function(){var e=[],t=new Set;return n.photos.forEach((function(n){n.spaces.forEach((function(n){t.has(n.id)||e.push(n),t.add(n.id)}))})),e},Z=[];return n.city&&Z.push(n.city),n.state&&Z.push(n.state),(0,s.jsxs)(c.Z,{page_layout:x,stylesheet:u,favicon:m,cart_enabled:p,title:n.name,breadcrumbs:(0,s.jsx)("a",{href:f,children:"< Back"}),children:[N&&(0,s.jsx)(r.Z,{show:N,setShow:y,children:(0,s.jsxs)("div",{className:"share-content",children:[(0,s.jsx)("h4",{className:"share-heading",children:"Share This Page"}),(0,s.jsx)(d.Z,{pageUrl:j})]})}),(0,s.jsxs)("div",{className:"lexcms-application-gallery-page",children:[(0,s.jsx)("div",{className:"gallery-left-container",children:(0,s.jsxs)("div",{className:"details-container",children:[(0,s.jsx)("h2",{className:"gallery-name",children:n.name}),(0,s.jsx)("div",{className:"details-block",children:(0,s.jsx)("p",{className:"gallery-details-content gallery-city-state",children:Z.join(", ")})}),(0,s.jsxs)("div",{className:"details-block",children:[(0,s.jsx)("h4",{className:"gallery-details-heading",children:"Story"}),(0,s.jsx)("div",{className:"gallery-details-content",dangerouslySetInnerHTML:{__html:n.story}})]}),n.contributors.length>0&&(0,s.jsxs)("div",{className:"details-block",children:[(0,s.jsx)("h4",{className:"gallery-details-heading",children:"Project Contributors"}),(0,s.jsx)("div",{className:"gallery-details-content",children:n.contributors.map((function(e,t){return(0,s.jsxs)("p",{className:"gallery-details-content-item",children:[e.role,": ",e.name]},t)}))})]}),(0,s.jsxs)("div",{className:"details-block",children:[(0,s.jsx)("h4",{className:"gallery-details-heading",children:"Applications"}),(0,s.jsx)("div",{className:"gallery-details-content",children:function(){var e=[],t=new Set;return n.photos.forEach((function(n){n.application_types.forEach((function(n){t.has(n.id)||e.push(n),t.add(n.id)}))})),e}().map((function(e,t){return(0,s.jsx)("p",{className:"gallery-details-content-item",children:e.name},t)}))})]}),C().length>0&&(0,s.jsxs)("div",{className:"details-block",children:[(0,s.jsx)("h4",{className:"gallery-details-heading",children:"Spaces"}),(0,s.jsx)("div",{className:"gallery-spaces-content",children:C().map((function(e,t){return(0,s.jsx)("div",{className:"space-pill",children:e.name},t)}))})]})]})}),(0,s.jsxs)("div",{className:"gallery-right-container",children:[(0,s.jsxs)("div",{className:"app-gallery-meta-container",children:[(0,s.jsxs)("div",{className:"app-gallery-contents-toggle-container",children:[(0,s.jsxs)("p",{className:"app-gallery-filter-text",children:["Showing ","photos"==_?n.photos.length:E().length,":"]}),(0,s.jsxs)("select",{className:"lexcms-search-input lexcms-line-card-filter-toggle-button app-gallery-contents-toggle",value:_,onChange:function(e){return w(e.target.value)},children:[(0,s.jsx)("option",{value:"photos",children:"Photos"}),E().length>0&&(0,s.jsx)("option",{value:"products",children:"Products"})]})]}),(0,s.jsx)("div",{className:"action-buttons-container",children:(0,s.jsxs)("a",{className:"lexcms-action-link",onClick:function(){y(!0)},children:[l.Si," Share this Gallery"]})})]}),(0,s.jsxs)("div",{className:"lexcms-result-container app-gallery-contents-container",children:["photos"==_&&(0,s.jsx)("div",{className:"app-photo-list content-photos",children:null===(t=n.photos)||void 0===t?void 0:t.map((function(e,t){return(0,s.jsx)(o.Z,{app_photo:e,index:t,showLightBox:P,mobile:g},e.id)}))}),"products"==_&&(0,s.jsx)("div",{className:"lexcms-product-list content-products",children:E().map((function(e,t){return(0,s.jsx)("div",{className:"lexcms-product-tile-container",children:(0,s.jsx)(a.Z,{product:e},t)},t)}))})]})]}),(0,s.jsx)(h.Z,{index:k,images:n.photos,hideLightBox:function(){O(null),document.body.style.overflow="visible"}})]})]})}},9396:function(e,t,n){"use strict";function s(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}
1(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,{Z:function(){return s}})}},function(e){e.O(0,[996,675,608,322,585,774,888,179],(function(){return t=1284,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=[show]-57d24fdb009d1f1f.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.