1const r={},E=(s,e,t,n)=>new IntersectionObserver(i=>{i.forEach(o=>{const a=o.target;o.isIntersecting&&a instanceof HTMLElement&&a.dataset.seen!==e&&!r[a.id]?r[a.id]=setTimeout(n(a),t):(clearTimeout(r[a.id]),delete r[a.id])})},{threshold:s}),f=document.querySelectorAll(".js_ga_share"),m=({eventName:s,eventData:e,eventCallback:t})=>{const{gtag:n}=window;if(typeof n!="function"||!window.google_tag_manager)return t&&t(),!1;n("event",s,{...e,event_callback:t})},u=({propertyName:s,propertyData:e,eventCallback:t})=>{const{gtag:n}=window;if(typeof n!="function"||!window.google_tag_manager)return t&&t(),!1;n("set",s,{...e,event_callback:t})},T=s=>{const e=[];return s.forEach(t=>{const{itemId:n,itemName:i,index:o}=t.dataset;e.push({item_id:n,item_name:i,index:o?parseInt(o):void 0})}),e},v=()=>{f.forEach(s=>{s.addEventListener("click",()=>{const{itemId:e,contentType:t,method:n}=s.dataset;!e||!t||!n||m({eventName:"share",eventData:{method:n,item_id:e,content_type:t}})})})},g=()=>{document.querySelectorAll(".jsTrackItem").forEach(e=>{e.addEventListener("click",()=>{const{itemId:t,itemName:n,itemListId:i,itemListName:o,index:a}=e.dataset;m({eventName:"select_item",eventData:{item_list_id:i,item_list_name:o,items:[{item_id:t,item_name:n,index:a?parseInt(a):void 0}]}})})})},I=()=>{document.querySelectorAll(".jsTrackSelectContent").forEach(e=>{e.addEventListener("click",t=>{const{contentType:n,contentId:i}=e.dataset;m({eventName:"select_content",eventData:{content_type:n,content_id:i}})})})},S=()=>{const e="y",i=document.querySelectorAll(".jsTrackViewList"),o=(c,d)=>{c.dataset.seen=e,m(d)},a=c=>()=>{const{itemListId:d,itemListName:_}=c.dataset,l=c.querySelectorAll(".jsTrackItem");return o(c,{eventName:"view_item_list",eventData:{item_list_id:d,item_list_name:_,items:T(l)}})};i.forEach(c=>c?E(.2,e,2e3,a).observe(c):null)};export{S as a,g as b,E as c,u as d,m as f,v as g,I as s};
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.