PageSourceSearch

https://paciu.ca/_nuxt/CEq-JAAC.js

js paciu.ca collected 2026-10-09 17:11:05 UTC 1,802 bytes, 1 lines download raw bytes

1import{e as a,l as i,C as c,P as d,p as m,V as b,m as p,z as f,c as v,r as _,J as k}from"./CH429H0u.js";import{_ as h}from"./CPXAxJYH.js";const g=["href"],w=["type"],C={__name:"SiteButton",props:{variant:{type:String,default:"primary",validator:t=>["primary","secondary","outline"].includes(t)},to:{type:Object,default:null},url:{type:String,default:null},type:{type:String,default:"button"},fullWidth:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1}},setup(t){const e=t,n=_(()=>{var u,l,o,y;const r=(u=e.to)!=null&&u.url||((l=e.to)==null?void 0:l.link_type)==="Web"?(o=e.to)==null?void 0:o.url:e.url;return r?r.startsWith("#")?"arrow-down":r.startsWith("http")&&!r.includes(((y=window==null?void 0:window.location)==null?void 0:y.hostname)||"")?"arrow-external":e.url?"arrow-right":"chevron":null}),s=["inline-flex items-center justify-center transition-all gap-2 hover:gap-3",{"text-navy text-20 underline underline-offset-4 decoration-1":e.variant==="primary"&&!e.reverse,"bg-white text-black hover:bg-neutral-300":e.variant==="primary"&&e.reverse,"bg-neutral-300 text-black hover:bg-neutral-600 hover:text-white":e.variant==="secondary"&&!e.reverse,"bg-neutral-400 text-black hover:bg-neutral-200":e.variant==="secondary"&&e.reverse,"w-full":e.fullWidth}];return(r,u)=>{const l=b,o=k;return t.to?(a(),i(o,{key:0,field:t.to,class:f(s)},{default:c(()=>[d(r.$slots,"default"),m(l,null,{default:c(()=>[n.value?(a(),i(h,{key:0,"symbol-id":n.value},null,8,["symbol-id"])):p("",!0)]),_:1})]),_:3},8,["field"])):t.url?(a(),v("a",{key:1,href:t.url,class:f(s)},[d(r.$slots,"default"),m(l,null,{default:c(()=>[n.value?(a(),i(h,{key:0,"symbol-id":n.value},null,8,["symbol-id"])):p("",!0)]),_:1})],8,g)):(a(),v("button",{key:2,type:t.type,class:f(s)},[d(r.$slots,"default")],8,w))}}};export{C as _};

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.