PageSourceSearch

https://beancount.io/assets/content-print-Bl8gAsSp.js

js beancount.io collected 2026-10-04 04:13:09 UTC 6,613 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PageActionsMenu-BpD-JVd7.js","assets/vendor-react-BCsP31rY.js","assets/index-YlZldLzZ.js","assets/preload-helper-BXl3LOEh.js","assets/vendor-apollo-DCpmcJYM.js","assets/dropdown-menu-fc-3ppNt.js","assets/floating-ui.utils.dom-BclqNoGV.js","assets/clipboard-Jad7xD5G.js","assets/check-CJDma0va.js","assets/triangle-alert-B8u2yHm8.js","assets/clipboard-CuTJniqO.js","assets/file-text-BQ8iBSXx.js","assets/external-link-DL7EVyGd.js","assets/printer-Bgf0agoi.js","assets/sparkles-HgYUYOoq.js","assets/ShareBar-Dbmmc6EX.js","assets/ga-event-Bneip1j1.js","assets/product-attribution-BUJpAPsz.js","assets/copy-DolWipYc.js","assets/mail-DTTHDr3J.js"])))=>i.map(i=>d[i]);
2import{j as k,cB as E,u as g,dq as w,l as h,dr as C}from"./index-YlZldLzZ.js";import{_ as N}from"./preload-helper-BXl3LOEh.js";import{j as o,r as f}from"./vendor-react-BCsP31rY.js";import{C as j}from"./clipboard-CuTJniqO.js";import{P as T}from"./ShareBar-Dbmmc6EX.js";import{C as A}from"./check-CJDma0va.js";import{e as m}from"./ga-event-Bneip1j1.js";const F=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],G=k("arrow-left",F);function v({label:e,...t}){return o.jsxs("button",{type:"button",className:"inline-flex min-h-9 shrink-0 items-center gap-2 rounded-lg border border-border/60 bg-background/70 px-3 py-1.5 text-xs font-medium text-foreground shadow-sm transition-colors hover:border-primary/40 hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",...t,children:[o.jsx(j,{"aria-hidden":"true",className:"size-3.5"}),o.jsx("span",{children:e}),o.jsx(E,{"aria-hidden":"true",className:"size-3.5 text-muted-foreground"})]})}const I=f.lazy(()=>N(()=>import("./PageActionsMenu-BpD-JVd7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19])).then(e=>({default:e.PageActionsMenu})));function U({canonicalUrl:e,markdownUrl:t}){const{t:n}=g(),{enabled:r,enable:l,openOnLoad:s,autoFocusTrigger:d,handleFocus:i,handleBlur:c,handlePointerDown:a,handleKeyDown:p,handleClick:u,focusFallback:b}=w(),x=n("pageActions.trigger");return r?o.jsx(f.Suspense,{fallback:o.jsx(v,{label:x,ref:b,onFocus:i,onBlur:c,onPointerDown:a,onKeyDown:p,onClick:u}),children:o.jsx(I,{canonicalUrl:e,markdownUrl:t,defaultOpen:s,autoFocusTrigger:d})}):o.jsx(v,{label:x,onPointerEnter:l,onFocus:i,onPointerDown:a,onKeyDown:p,onClick:u})}function J({title:e,canonicalUrl:t,children:n}){const{t:r}=g();return o.jsxs("footer",{className:"print-only print-attribution","data-testid":"print-attribution",children:[o.jsx("p",{className:"print-attribution-title",children:e}),o.jsx("p",{children:r("print.attribution.source",{url:t})}),n]})}function P(e,t){return`content-feedback:${e}:${t}`}function _(e){try{return window.sessionStorage.getItem(e)!==null}catch{return!1}}function D(e,t){try{window.sessionStorage.setItem(e,t)}catch{}}const L=[{verdict:"helpful",labelKey:"contentFeedback.yes"},{verdict:"not_helpful",labelKey:"contentFeedback.no"}];function Q({family:e,logicalPath:t,onVote:n,variant:r="card"}){const{t:l}=g(),s=r==="inline",d=P(e,t),i=`content-feedback-heading-${e}`,[c,a]=f.useState(!1);f.useEffect(()=>{_(d)&&a(!0)},[d]);function p(u){if(c||_(d)){a(!0);return}D(d,u),a(!0),n(u)}return o.jsxs("section",{"aria-labelledby":i,"data-testid":"content-feedback","data-state":c?"thanks":"prompt",className:s?"relative flex min-h-9 flex-wrap items-center gap-x-2 gap-y-1 print-hide":"mt-10 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-lg border border-border/60 bg-muted/30 px-4 py-3 print-hide",children:[o.jsx("h2",{id:i,className:h(s?"me-1 text-xs font-medium text-muted-foreground":"m-0 text-sm font-medium text-foreground",s&&c&&"invisible"),children:l("contentFeedback.prompt")}),L.map(({verdict:u,labelKey:b})=>o.jsx("button",{type:"button","data-verdict":u,disabled:c,onClick:()=>p(u),className:h(s?"inline-flex min-h-9 min-w-9 items-center justify-center rounded-md border border-border/70 bg-background px-2.5 text-xs font-medium text-muted-foreground transition-colors hover:border-primary/40 hover:bg-primary/5 hover:text-primary focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary":T,"disabled:opacity-60",s&&c&&"invisible"),children:l(b)},u)),o.jsx("p",{role:"status","aria-live":"polite",className:s?"pointer-events-none absolute inset-0 m-0 flex items-center gap-1.5 text-xs text-primary":"m-0 flex min-h-5 w-full items-center gap-1.5 text-sm text-muted-foreground",children:c?o.jsxs(o.Fragment,{children:[o.jsx(A,{size:15,"aria-hidden":"true"}),l("contentFeedback.thanks")]}):null})]})}function W(){f.useEffect(()=>{if(typeof window>"u")return;let e=[];const t=()=>{e=Array.from(document.querySelectorAll(".doc-print details:not([open]), .article-print details:not([open])"));for(const r of e)r.open=!0},n=()=>{for(const r of e)r.open=!1;e=[]};return window.addEventListener("beforeprint",t),window.addEventListener("afterprint",n),(
2)=>{n(),window.removeEventListener("beforeprint",t),window.removeEventListener("afterprint",n)}},[])}function X(e){const[t,n]=f.useState(""),r=e.join("|");return f.useEffect(()=>{if(typeof IntersectionObserver>"u")return;const l=e.map(i=>document.getElementById(i)).filter(i=>i!==null);if(l.length===0)return;const s=new Set,d=new IntersectionObserver(i=>{for(const a of i)a.isIntersecting?s.add(a.target.id):s.delete(a.target.id);const c=l.find(a=>s.has(a.id));c&&n(c.id)},{rootMargin:"-80px 0px -70% 0px",threshold:0});for(const i of l)d.observe(i);return()=>d.disconnect()},[r]),t}function Y({contentType:e,itemId:t,action:n}){m("cta_click",{event_category:"conversion",event_label:`post_${n}`,source:"content",content_type:e,item_id:t})}function Z({contentType:e,itemId:t,toolPath:n}){m("tool_cta_click",{event_category:"conversion",event_label:n,source:"content",content_type:e,item_id:t})}function ee({contentType:e,itemId:t,locale:n}){m("agent_post_cta_click",{event_category:"conversion",event_label:C,source:"content",content_type:e,item_id:t,locale:n})}const S="content_feedback",O=["docs","blog","research-logs"],K=["helpful","not_helpful"];function y(e,t){return`${e}_${t}`}new Map(O.flatMap(e=>K.map(t=>[y(e,t),{family:e,verdict:t}])));function B(e){const{family:t,verdict:n,locale:r}=e;return{event_category:"engagement",event_label:y(t,n),source:"content_feedback",family:t,verdict:n,locale:r}}function te(e){m(S,B(e))}export{G as A,Q as C,v as P,W as a,U as b,te as c,J as d,ee as e,Z as f,Y as t,X as u};
3//# sourceMappingURL=content-print-Bl8gAsSp.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.