PageSourceSearch

https://www.lamodern.com/build/assets/SessionIndexPage-598a398c.js

js lamodern.com collected 2026-10-02 11:05:19 UTC 8,912 bytes, 1 lines download raw bytes

1import{w as l,j as a,m as c,F as p,a as u,N as h,S as m,t as d,n as g}from"./app-85945816.js";import _ from"./HomepageUpcomingAuctions-e0544ca9.js";import v from"./SessionMenu-a0bd4c72.js";import f from"./SessionIndexPageInner-fdf14fb2.js";import{S as w}from"./ItemModule-51978b3c.js";import{M as S}from"./Pagination-2da2bf8a.js";import{P as A}from"./pusher-3f78302f.js";import y from"./echo-88b6c099.js";import{c as b}from"./CalloutBox-b57ee83d.js";/* empty css             */import"./embla-carousel.esm-ae6aabf9.js";import"./Links-48e62b16.js";import"./NextBtn-1c01f4c5.js";import"./FilterList-ac5d1c71.js";import"./SortList-bc32e2f4.js";import"./Search-1de71044.js";import"./sticky-settled-mixin-f02eb2f3.js";import"./normalizeStringDiacriticsForSearch-cd1484e3.js";import"./ArtLayoutRenderer-5d4dfbed.js";import"./ArtLayoutSharedBackground-0f8e02bb.js";import"./ShortcodeText-c5b55805.js";import"./artLayoutAnchors-0c62ef4b.js";import"./ChapterModule-03ffee65.js";import"./ChapterRowBreak-531c0df8.js";import"./IconNoReserve.functional-04179e4a.js";import"./lot-preview-info-9a1e4161.js";const $={mixins:[l],name:"SessionIndexPage",components:{calloutBox:b,Pagination:S,SessionMenu:v,SessionIndexPageInner:f,SessionIndexItemResult:w,HomepageUpcomingAuctions:_},data(){return{width:null,searchValue:"",aucmoWidget:null,lotsArray:[],echo:null,stats:this.$page.props.session.stats||null,upcomingAuctionsObserver:null,upcomingAuctionsLoading:!1,upcomingAuctionsUnavailable:!1}},computed:{...a("auction",{selectedSession:"selectedSession"}),...c("session_index",["show_no_mybids_warning"]),...a("user",["loggedIn"]),...c({pageWidth:s=>s.window.pageWidth}),loginText(){return this.loggedIn||this.$page.props.logged_in?"":"login"},hasIndexNote(){var s;return!!(this.selectedSession&&(this.selectedSession.results_are_preliminary||this.selectedSession.allow_no_reserve==2||(s=this.selectedSession.locations_note)!=null&&s.trim().length))},headerData(){var e;this.$page.props.sessions_updated_at_timestamp;let s=(e=this.$page.props.sessions)==null?void 0:e[this.$page.props.viewing_session_id];return s!=null&&s.header?(s.header.with_subnav=!0,new p(s==null?void 0:s.header,!0)):new p},accentStyle(){var t;const s=(t=this.$page.props.sessions)==null?void 0:t[this.$page.props.viewing_session_id],e=s==null?void 0:s.sort_color;return e?{"--primary-color":e,"--primary-color-hover":s.sort_color_hover||e,"--primary-color-engaged":s.sort_color_engaged||e,"--filter-hover-text-color":"#FFFFFF"}:{}}},methods:{...u({initAuction:"auction/initAuction"}),async afterMount(){var s;this.width=this.pageWidth,(s=this.$page.props.session)!=null&&s.channel&&this.initEcho(),this.handleResize()},observeUpcomingAuctions(){if(!(this.$page.props.upcoming_auctions||!this.$refs.upcomingAuctionsLoader)){if(!("IntersectionObserver"in window)){this.loadUpcomingAuctions();return}this.upcomingAuctionsObserver=new IntersectionObserver(s=>{s.some(e=>e.isIntersecting)&&this.loadUpcomingAuctions()},{rootMargin:"300% 0px"}),this.upcomingAuctionsObserver.observe(this.$refs.upcomingAuctionsLoader)}},loadUpcomingAuctions(){this.upcomingAuctionsLoading||this.$page.props.upcoming_auctions||(this.upcomingAuctionsLoading=!0,h.visit(this.$page.url,{only:["upcoming_auctions"],replace:!0,preserveScroll:!0,preserveState:!0,onSuccess:()=>{var s;(s=this.upcomingAuctionsObserver)==null||s.disconnect(),this.upcomingAuctionsObserver=null},onFinish:s=>{this.upcomingAuctionsLoading=!1,s.completed&&!this.$page.props.upcoming_auctions&&(this.upcomingAuctionsUnavailable=!0)}}))},showLoginModal(){this.$store.commit("modals/showModal",{name:"LoginModal",props:{loginRequiredBy:"SessionIndexNoMyBids",refreshPage:!0}})},clearSearch(){this.$root.$emit("clearIndexSearch")},initEcho(){var n,r;const s=(n=this.$page.props.globals)==null?void 0:n.PUSHER_KEY;if(!(s||"").length)return;const e=(r=this.$page.props.globals)==null?void 0:r.PUSHER_CLUSTER;if(!(e||"").length)return;const t=new A(s,{cluster:e,encrypted:!0,authEndpoint:"/broadcasting/auth"});this.echo=new y({namespace:"App.Events",broadcaster:"pusher",key:s,cluster:e,forceTLS:!0,encrypted:!0,client:t}),this.echo.channel(this.$page.props.session.channel).listen("PublicSessionUpdated",i=>{if(!(i!=null&&i.sessionActivityMessage))return;let o=i.sessionActivityMessage;if(!(o!=null&&o.activity_type))return;(i==null?void 0:i.sessionActivityMessage.event_type)==="StatsUpdated"&&(this.stats=o.stats)})},handleResize(){this.width=this.pageWidth},initAucmo(){const s=this.$page.props.session;this.$page.props.globals.FEATURE_ENABLE_TIMED_AUCTIONS&&s.allow_bidding&&s.is_timed&&setTimeout(()=>{this.lotsArray=s.aucmo_lots,this.aucmoWidget=new amw.default.AmWidget({auctionId:s.aucmo_id,lots:this.lotsArray,url:m.rtrim(this.$page.props.globals.URL_TIMED,"/")+"/",wrapperPrefix:"am-target"}),this.aucmoWidget.init(),this.aucmoWidget.setWidgetHandler("system",function(e){window.dispatchEvent(new Event("resize"))})},150)},reInitAucmo(){this.aucmoWidget=null,this.initAucmo()}},created(){this.initAuction()},mounted(){this.$root.$on("reInitAucmo",()=>{this.reInitAucmo()}),this.$root.$on("updateSearchTerm",s=>{this.searchValue=s.value}),this.initAucmo(),this.afterMount(),this.$nextTick(this.observeUpcomingAuctions),addEventListener("resize",d.debounce(this.handleResize,300)),this.$root.$on("show-login-modal",this.showLoginModal)},beforeDestroy(){var s;(s=this.upcomingAuctionsObserver)==null||s.disconnect(),this.upcomingAuctionsObserver=null},destroyed(){this.lotsArray=[],this.aucmoWidget=null,this.echo=null}};var x=function(){var e=this,t=e._self._c;return t("div",{style:e.accentStyle},[e.headerData?t("div",[t("form-header",{attrs:{headerData:e.headerData}}),e._v(" "),t("span",{directives:[{name:"waypoint",rawName:"v-waypoint",value:{active:e.width>1024,callback:e.toggleWaypointHeader,options:e.stickyNavIntersectionOptions},expression:"{\n            active: width > 1024,\n            callback: toggleWaypointHeader,\n            options: stickyNavIntersectionOptions\n          }"}]}),e._v(" "),t("session-menu",{class:{"pb-[3.6rem]":!e.hasIndexNote},attrs:{session:e.$page.props.session,stats:e.stats,isSticky:e.waypoint_header_active}}
1)],1):e._e(),e._v(" "),t("div",{staticClass:"search_input",attrs:{id:"js-search-results"}},[t("p",[e._v('Showing results for "'),t("span",{staticClass:"terms",attrs:{id:"js-search-terms"},domProps:{innerHTML:e._s(e.searchValue)}}),e._v('" '),t("i",{staticClass:"icon-close clear-search",attrs:{id:"js-clear-search"},on:{click:function(n){return e.clearSearch()}}})])]),e._v(" "),e._m(0),e._v(" "),e.hasIndexNote?t("p",{staticClass:"key text-center md:text-left session-index-note"},[e.selectedSession.locations_note&&e.selectedSession.locations_note.trim().length?t("span",{staticClass:"results",domProps:{innerHTML:e._s(e.selectedSession.locations_note)}}):e._e(),e._v(" "),e.selectedSession.results_are_preliminary?t("span",{staticClass:"results"},[e._v("* Please note: Results are unofficial and include premium.")]):e._e()]):e._e(),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.show_no_mybids_warning,expression:"show_no_mybids_warning"}],staticClass:"no_mybids no-watched-message text-center hidden mt-16",attrs:{id:"js-no-mybids"}},[t("callout-box",{attrs:{text:'You are not bidding on or watching\n                <svg fill="none" height="17" viewBox="0 0 20 17" width="20" xmlns="http://www.w3.org/2000/svg">\n                <path\n                    d="M11.1392 15.0762C11.0825 15.1241 11.0256 15.1722 10.9685 15.2205C10.9677 15.2212 10.9668 15.2219 10.966 15.2226L10 16.025L9.03402 15.2226C9.0332 15.2219 9.03238 15.2212 9.03156 15.2205C8.97445 15.1722 8.9176 15.1242 8.86099 15.0763C6.34864 12.9525 4.32236 11.2396 2.90576 9.63614C1.46416 8.00439 0.75 6.58995 0.75 5.09535C0.75 2.69048 2.75911 0.75 5.5 0.75C6.91274 0.75 8.37124 1.82895 9.44625 3.00582L10 3.61206L10.5538 3.00581C11.6287 1.82895 13.0872 0.75 14.5 0.75C17.2409 0.75 19.25 2.69048 19.25 5.09535C19.25 6.58997 18.5358 8.00442 17.0942 9.63617C15.6777 11.2396 13.6514 12.9524 11.1392 15.0762Z"\n                    fill="var(--primary-color)" stroke="var(--primary-color)" stroke-width="1.5"></path>\n                </svg>\n                any lots in this auction.',button_text:"".concat(e.loginText),emit:"show-login-modal"}})],1),e._v(" "),t("session-index-page-inner",{attrs:{session:e.selectedSession}}),e._v(" "),e.$page.props.upcoming_auctions?t("homepage-upcoming-auctions",{staticClass:"upcoming-auctions-reveal",attrs:{module:e.$page.props.upcoming_auctions}}):e.upcomingAuctionsUnavailable?e._e():t("div",{ref:"upcomingAuctionsLoader",staticClass:"upcoming-auctions-placeholder",attrs:{"aria-hidden":"true"}})],1)},C=[function(){var s=this,e=s._self._c;return e("div",{staticClass:"no_results",attrs:{id:"js-no-results"}},[e("p",[s._v("No results")])])}],E=g($,x,C,!1,null,"5f8d9949",null,null);const se=E.exports;export{se 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.