1import{h as _,v as w,X as M,c as p,o as a,m as N,w as m,d as t,u as e,a as o,n,$ as c,O as f,F as B,a0 as P,b as R,T,_ as h,N as V}from"./vendor-09e18207.js";const F={class:"flex flex-col items-center h-full"},O={key:0,class:"absolute bg-secondary-900 text-white px-8 py-1 uppercase"},S={class:"flex-grow bg-white w-full"},q={class:"text-center px-8 mt-12 mb-2"},z={class:"text-3xl lg:mb-4"},C={class:"text-xl text-dark-500 leading-tight mb-8"},$={key:0,class:"text-xs uppercase"},j={key:1,class:"text-5xl font-semibold"},A={key:2},E={class:"text-4xl font-semibold"},L=t("span",{class:"text-xs"},"+VAT",-1),D={class:"text-dark-500"},I={class:"text-dark-500"},U={class:"w-full bg-white"},X={key:0,class:"bg-dark-900 w-full text-white px-16 pb-4 rounded-b relative"},G={role:"list",class:"pb-4 marker:text-secondary-900 list-disc space-y-2 relative text-sm"},H={key:0,class:"absolute inset-0 px-8 text-lg bg-dark-900 flex items-center justify-center"},J={class:"font-semibold"},W={__name:"Package",props:{package:{type:Object,default:()=>({})},section:{type:String,default:""}},setup(g){let u=_(null),k=_(null);const i=w.useMq(),s=g,{isOutside:x}=M(u),l=p(()=>({"monthly-plus":"Monthly+",monthly:"Monthly",upfront:"Upfront",bespoke:"Bespoke"})[s.package.acf.price_type]),r=p(()=>!!s.package.acf.recommended),y=p(()=>{const d=+s.package.acf.price;return isNaN(d)?s.package.acf.price:d.toLocaleString()});return(d,K)=>(a(),N(e(V),{ref_key:"cardRef",ref:u,href:s.package.link,alt:`See more about the ${s.section} ${e(l)} package`,class:f(["shadow lg:shadow-lg rounded group cursor-pointer top-0 hover:-top-4 transition-all ease-in-out relative overflow-hidden",{"scale-110 z-10":e(r)&&e(i).lgPlus,"order-1":e(i).mdMinus&&e(r),"order-2":e(i).mdMinus&&!e(r)}])},{default:m(()=>[t("div",F,[e(r)?(a(),o("div",O,"Recommended")):n("",!0),t("div",S,[t("div",q,[t("h3",z,c(e(l)),1),t("p",C,c(s.package.summary),1),s.package.acf.use_from_price?(a(),o("span",$,"From")):n("",!0),e(l)==="Bespoke"?(a(),o("p",j,"POA")):(a(),o("p",A,[t("span",E,"£"+c(e(y)),1),L])),t("p",D,c(s.package.acf.additional_price),1),t("p",I,c(s.package.acf.additional_price_subheading),1)])]),t("div",U,[t("div",{ref_key:"trimRef",ref:k,class:"transition-transform duration-300 origin-top-right -ml-8 rotate-[-8deg] bg-dark-900 h-28 sm:h-28 md:h-32 lg:h-20"},[t("div",{class:f(["z-50 trim-gradient bg-gradient-to-r from-primary-900 via-secondary-900 to-primary-900 h-3 w-full",{"animated-trim":e(r)}])},null,2)],512),e(i).lgPlus?(a(),o("div",X,[t("ul",G,[(a(!0),o(B,null,P(s.package.acf.features,(b,v)=>(a(),o("li",{key:v},c(b.feature),1))),128))]),R(T,{name:"fade"},{default:m(()=>[e(x)===!1?(a(),o("div",H,[t("div",null,[h(" For more information about the "),t("span",J,c(s.section)+" "+c(e(l)),1),h(" package, please click this card. ")])])):n("",!0)]),_:1})])):n("",!0)])])]),_:1},8,["href","alt","class"]))}};export{W as default}; 2//# sourceMappingURL=Package-56dccbbb.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.