PageSourceSearch

https://reader.ledgertranscript.com/bolt/6.11.6/article-BYC3W9kn.js

js ledgertranscript.com collected 2026-10-02 03:53:18 UTC 3,466 bytes, 3 lines download raw bytes

1import{H as T,T as k,j as C,i as n,B as o,p as d,k as m,m as f,n as s,a as N,U as A}from"./index-Cva9ZJWk.js";const{timelineInView:h,setTimelineType:B,fetchSingleTimeline:x}=N(),{mode:V,setArticleMode:I,allArticles:O,articleInView:y,allowNavigator:R,articlesInCarousel:c}=k(),_=A();function u(i){return new URL(i,window.location.href).href}const U={name:"ArticleView",inject:["slim"],computed:{allArticles:()=>O.value,article:()=>y.value,carousel:()=>c.value,mode:()=>V.value,state(){return _.currentStory?_.currentStory:window.history.state},articles(){return this.state.fromSaved&&this._articlesCache?this._articlesCache:c.value&&c.value.length<=0&&this.article?[[this.article]]:c.value},showNavigator(){return R.value&&!this.state.fromSaved},showTableOfContents(){const i=this.state.tabid,{type:e="timeline"}=window.config.custom_tabs.find(a=>a.name==i)||{};return e==="storefront"||this.slim},saveTitle(){const i=this.articles.findIndex(r=>r.find(l=>l.entry.id==this.article.entry.id)),e=this.articles[i],a=e?e.reduce((r,l,t)=>r.push(e.length<2?i+1:i*e.length+t)&&r,[]).join("-"):"0";return`${window.config.identifiers.app_name??window.config.identifiers.publication_name}
2              _${h.value.title?h.value.title:"Edition"}
3              _page${a.includes("-")?"s":""}${a}`.replace(",","").replace(/\s/g,"")},isTimeline(){return this.article?.entry?.classes?.find(i=>i.startsWith("collection_type"))?.split("-")[1]==="timeline"}},watch:{articles(){this._articlesCache||!this.state.fromSaved||(this._articlesCache=c.value)},mode(i){if(this.state.fromSaved)return;const{url:e,alt_url:a}=this.article.entry,r=this.allArticles.find(l=>i==="pdf"?u(l.entry.url)===u(a):u(l.entry.alt_url)===u(e));r&&window.pugpigBridgeService.viewArticle(JSON.stringify({story:{...r,storyid:r.entry.id}}))},$route:{handler(i){const e=window.history.state.entry?window.history.state:_.currentStory,a=e.entry.pdf_url?"pdf":"html",r=new URL(e.entry.url,e.baseURL),l={type:"articleview"};history.replaceState(JSON.parse(JSON.stringify({...e,meta:l,params:i?.params})),"",r.pathname),e.entry.partition=e.entry.partition||a,I(e.entry.partition),y.value=e},immediate:!0}},mounted(){if(!this.state)return this.$router.push("/");const{id:i}=h.value,{tabid:e,feedid:a,fromSaved:r}=this.state;B(r?"SavedTimeline":"timeline"),i!==a&&!r&&x(e,a)}},j={class:"article-view"},J={class:"article-view__inner"},L={class:"article-view__content"};function E(i,e,a,r,l,t){const p=s("timeline-picker"),v=s("table-of-contents"),w=s("article-scrubber"),g=s("article-pages"),b=s("double-click"),S=s("article-controls");return n(),C("div",j,[t.isTimeline?(n(),o(p,{key:0,collectionTags:t.article?.entry?.taxonomy?.collection_tag,articleClasses:t.article?.entry?.classes},null,8,["collectionTags","articleClasses"])):d("",!0),m("div",J,[t.showTableOfContents?(n(),o(v,{key:0})):d("",!0),t.showNavigator?(n(),o(w,{key:1,articles:t.articles,article:t.article},null,8,["articles","article"])):d("",!0),m("div",L,[f(g,{articles:t.articles,article:t.article,saveTitle:t.saveTitle},null,8,["articles","article","saveTitle"])]),t.article.entry.dfpadunitid?(n(),o(b,{key:2,unit:t.article.entry.dfpadunitid,urls:t.article.entry.dfpadcontenturls,id:"article-advert",position:"bottom_leaderboard",refreshRate:t.article.entry.dfpadrefreshrate},null,8,["unit","urls","refreshRate"])):d("",!0)]),f(S,{articles:t.articles,article:t.article},null,8,["articles","article"])])}const M=T(U,[["render",E]]);export{M 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.