PageSourceSearch

https://www.notarypublichub.com.au/_nuxt/B-HPdoCr.js

js notarypublichub.com.au collected 2026-10-04 02:28:34 UTC 2,859 bytes, 1 lines download raw bytes

1import{D as e,E as t,On as n,Zn as r,_ as i,b as a,ct as o,g as s,k as c,mt as l,qt as u,tr as d,y as f}from"./CJxa4zEN.js";import{t as p}from"./Cp5vnDXv.js";import{t as m}from"./CX-7MX15.js";import{n as h}from"./CGz6q6Yt.js";import{X as g}from"#entry";import{_,d as v,f as y,g as b,m as x,p as S,v as C,y as w}from"./MNYlyQ0s.js";import{t as T}from"./Cfv2P1CO.js";function E(){let e=_;return{enabled:!0,rate:e,percentLabel:C(e),appliesToInvoice:!1,conditionsSummary:b,invoiceNote:`Pay-by-invoice requests are charged at the full guide rate. The online payment discount does not apply.`}}function D(e){return w({enabled:e?.enabled,rate:e?.rate})}function O(){let e=m(`notary-pricing-promo`,E),t=s(()=>D(e.value)),n=s(()=>e.value.appliesToInvoice===!0);return o(async()=>{try{e.value=await p(`/api/public/notary-public/pricing-promo`)}catch{}}),{promo:e,discountRate:t,appliesToInvoice:n}}var k={class:`notary-online-price__now`},A={key:0,class:`notary-online-price__was`},j=Object.assign(c({__name:`NotaryOnlinePriceLabel`,props:{feeRef:{},centsIncGst:{},centsExGst:{},basis:{default:`incGst`},discountable:{type:[Boolean,null],default:null},size:{default:`sm`},layout:{default:`stack`}},setup(e){let t=e,{discountRate:o}=O(),c=s(()=>t.feeRef?S(t.feeRef):void 0),u=s(()=>t.basis===`exGst`?t.centsExGst??c.value?.amountCentsExGst??0:t.centsIncGst??c.value?.amountCentsIncGst??0),p=s(()=>t.discountable==null?!c.value||x(c.value):t.discountable),m=s(()=>!p.value||o.value<=0?u.value:v(u.value,o.value)),h=s(()=>p.value&&o.value>0&&m.value<u.value);return(t,o)=>(l(),a(`span`,{class:r([`notary-online-price tabular-nums leading-tight`,[n(h)?`notary-online-price--sale`:``,e.layout===`inline`?`notary-online-price--inline`:`notary-online-price--stack`,e.size===`md`?`notary-online-price--md`:`notary-online-price--sm`]])},[i(`span`,k,d(n(y)(n(m))),1),n(h)?(l(),a(`span`,A,d(n(y)(n(u))),1)):f(``,!0)],2))}}),{__name:`NotaryOnlinePriceLabel`}),M={class:`text-[10px] text-muted-foreground font-normal`},N=Object.assign(c({__name:`NotaryOnlineDiscountBanner`,props:{linkTo:{},compact:{type:Boolean,default:!1}},setup(o){let c=o,{t:f}=h(),{startPath:p}=T(),{promo:m,appliesToInvoice:_}=O(),v=s(()=>c.linkTo??p(void 0,{preselect:!1})),y=s(()=>_.value?f(`notary.home.onlineDiscountWithInvoice`,{percent:m.value.percentLabel}):f(`notary.home.onlineDiscount`,{percent:m.value.percentLabel}));return(s,c)=>{let p=g;return l(),a(`div`,{class:r([`flex flex-wrap items-center gap-x-3 gap-y-1`,o.compact?``:`justify-between`])},[e(p,{to:n(v),class:`rounded-full bg-emerald-50 px-3 py-1 text-xs font-medium text-emerald-800 underline-offset-2 hover:underline dark:bg-emerald-950 dark:text-emerald-100`},{default:u(()=>[t(d(n(y)),1)]),_:1},8,[`to`]),i(`p`,M,d(n(f)(`notary.home.onlineDiscountHint`)),1)],2)}}}),{__name:`NotaryOnlineDiscountBanner`});export{j as n,O as r,N as t};

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.