1import{d,E,f as w,k as g,ab as v,t as T,i as c,b5 as b,a8 as p}from"./manifest-entry-DGLEgPzA.js";const B=d({name:"print-button",components:{SequiterButton:p}}),L=d({...B,props:{policyContentTextRoot:{type:Object,default:void 0}},setup(l){const i="printed-policy-content-text",r="printed-policy-content-text-parent",m="@page { margin: 0.4in; }",o="printed-policy-content-text-margins",a=l,u=t=>{let e=document.getElementById(o);e||(e=document.createElement("style"),e.id=o,e.innerText=m,t.appendChild(e))},y=t=>{const e=document.getElementById(o);e&&t.removeChild(e)},s=(t,e)=>{let n=t.parentElement;for(;n!==null;)e(n.classList),n=n.parentElement},f=t=>{t.classList.add(i),s(t,e=>e.add(r))},x=t=>{t.classList.remove(i),s(t,e=>e.remove(r))},C=()=>{if(a.policyContentTextRoot===void 0)return;const t=a.policyContentTextRoot;u(t),f(t);const e=()=>{y(t),x(t)};window.addEventListener("afterprint",e,{once:!0}),window.window.print()};return(t,e)=>(w(),E(c(p),{onClick:C},{default:g(()=>[v(T(c(b)("print-button.print-document")),1)]),_:1}))}});export{L 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.