PageSourceSearch

https://www.lamodern.com/build/assets/CatalogsPage-06f4f0d4.js

js lamodern.com collected 2026-10-02 11:05:07 UTC 5,197 bytes, 1 lines download raw bytes

1import{C as n}from"./CatalogsHeader-4ec633c4.js";import{D as l}from"./DesktopSubnav-d09499c5.js";import{S as o,M as d,Y as _}from"./scroll-mixin-322877a0.js";import{n as p,w as c,F as A,c as u}from"./app-85945816.js";import{F as h}from"./FilterList-ac5d1c71.js";import"./sticky-settled-mixin-f02eb2f3.js";/* empty css             */const m={mixins:[c,o],components:{FilterList:h,CatalogsHeader:n,DesktopSubnav:l,MobileSubnav:d,YearLinks:_},data(){let s=this.$page.props.selected_year;return s&&(s=parseInt(s)),{selected_year:s,year_list:[{name:"all",selected:!1,link:"/catalogs"},...this.$page.props.year_list],form_header:new A({...this.$page.props.header,with_subnav:!0})}},computed:{catalogs_filtered_by_year(){return this.selected_year?[...this.$page.props.catalogs].filter(s=>{if(this.selected_year+""==s.year+"")return!0}):this.$page.props.catalogs}},methods:{scrollHook(){this.waypointMixinYearlistScrollHook()},moduleClasses(s){const e=["module","module__index"];return this.isFirstYearGroup(s)&&e.push("first"),this.$page.props.catalogs.length===1&&e.push("single"),e.join(" ")},isFirstYearGroup(s){return this.$page.props.catalogs[0].year===s},hasIndexImage(s){var e;return(e=s==null?void 0:s.index_image)==null?void 0:e.length},hasIssuuUrl(s){var e;return(e=s==null?void 0:s.issuu_url)==null?void 0:e.length},hasViewCatalog(s){var e;return!!s.view_catalog&&((e=s==null?void 0:s.alias)==null?void 0:e.length)&&(s==null?void 0:s.images_count)>0},hasFile(s){var e;return(e=s==null?void 0:s.file)==null?void 0:e.length},onYearClicked(s,e){if(e.preventDefault(),this.$page.props.catalogs.length>1){let t=document.querySelector(".module.module__index.first"),r=t==null?void 0:t.offsetTop;t&&r>0&&(r-=44),window.scrollTo({top:r,behavior:"instant"}),this.selected_year=s,this.activeYear=s;let a={...this.$page};a.props.selected_year=s,window.history.pushState(a,"","/catalogs/".concat(s))}else u("/catalogs/".concat(s))}}};var f=function(){var e=this,t=e._self._c;return t("article",{staticClass:"theme-general-wrapper page catalog"},[t("form-header",{attrs:{headerData:e.form_header}}),e._v(" "),t("span",{directives:[{name:"waypoint",rawName:"v-waypoint",value:{active:!0,callback:e.toggleWaypointHeader},expression:"{ active: true, callback: toggleWaypointHeader }"}]}),e._v(" "),t("desktop-subnav",{staticClass:"desktop",attrs:{isSticky:e.waypoint_header_active}},[t("catalogs-header")],1),e._v(" "),t("div",{staticClass:"module filter-container"},[t("FilterList",{attrs:{links:e.year_list,"list-style":"dropdown","dropdown-header":this.selected_year?"selected year":"select year"}})],1),e._v(" "),t("year-links",{attrs:{"active-year":e.activeYear},on:{"year-clicked":e.onYearClicked}}),e._v(" "),e._l(e.catalogs_filtered_by_year,function(r){return t("div",{key:"catalog-year-".concat(r.year),class:e.moduleClasses(r.year)},[t("div",{directives:[{name:"waypoint",rawName:"v-waypoint",value:{active:e.sidebar_active,callback:e.yearListEnterWaypoint,options:e.yearListEnterIntersectionOptions},expression:"{ active: sidebar_active, callback: yearListEnterWaypoint, options: yearListEnterIntersectionOptions }"}],staticClass:"session-title-container",attrs:{id:"".concat(r.year)}},[t("headline",{attrs:{no_logo:!0,title:r.year,show_date:!1}})],1),e._v(" "),e._l(r.catalogs,function(a,i){return t("div",{key:"catalog-index-".concat(i),staticClass:"entry"},[e.hasIndexImage(a)?t("div",{staticClass:"image"},[t("div",{staticClass:"image-inner"},[e.hasIssuuUrl(a)?t("a",{attrs:{href:a.issuu_url,target:"_blank"}},[t("img",{staticClass:"lazyload",attrs:{alt:"","data-sizes":"auto","data-parent-fit":"contain",src:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","data-srcset":a.src_set_string}})]):e.hasViewCatalog(a)?t("a",{attrs:{href:"/".concat(a.alias),target:"_blank"}},[t("img",{staticClass:"lazyload",attrs:{alt:"","data-sizes":"auto","data-parent-fit":"contain",src:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","data-srcset":a.src_set_string}})]):t("a",{staticClass:"no-link",attrs:{href:"javascript:;"}},[t("img",{staticClass:"lazyload",attrs:{alt:"","data-sizes":"auto","data-
1parent-fit":"contain",src:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==","data-srcset":a.src_set_string}})])])]):t("span",{staticClass:"border-b no-image-border inline-block w-full mb-12"}),e._v(" "),t("div",{staticClass:"information"},[t("p",{staticClass:"title"},[e._v(e._s(a.title))]),e._v(" "),a.date.length?t("p",{staticClass:"catalog_date"},[e._v(e._s(a.formatted_date))]):e._e(),e._v(" "),t("p",{staticClass:"price",domProps:{innerHTML:e._s(a.formatted_price)}})]),e._v(" "),t("div",{staticClass:"catalog_links"},[e.hasIssuuUrl(a)?t("p",[t("span",[t("strong",[t("a",{attrs:{href:a.issuu_url,target:"_blank"}},[e._v("view catalog")])])])]):e.hasViewCatalog(a)?t("p",[t("span",[t("strong",[t("smart-link",{attrs:{href:"/".concat(a.alias)}},[e._v("view catalog")])],1)])]):e._e(),e._v(" "),e.hasFile(a)?t("p",[t("span",[t("strong",[t("a",{attrs:{href:a.file_path,target:"_blank"}},[e._v("download catalog")])])])]):e._e()])])})],2)})],2)},v=[],y=p(m,f,v,!1,null,null,null,null);const x=y.exports;export{x as default};

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.