PageSourceSearch

https://educationendowmentfoundation.org.uk/dist/assets/button--primary.93ba96a7.js

js educationendowmentfoundation.org.uk collected 2026-09-24 08:45:00 UTC 2,184 bytes, 1 lines download raw bytes

1import{d as g,b as s,i as d,w as u,f as t,t as c,c as p,j as b,n as h,k as f}from"./app.abc96695.js";import{_ as m}from"./_plugin-vue_export-helper.cdc0426e.js";import"./preload-helper.8973cb1c.js";import"./_commonjsHelpers.712cc82f.js";const y=g({props:{button:{type:Object,required:!0},loading:{type:Boolean,required:!1,default:!1},href:{type:String,default:null},theme:{type:String,default:null}},emits:["touch"],computed:{as(){return this.href?"a":"button"},themeClassList(){switch(this.$props.theme){case"white":return"bg-white border-white text-gray-blue-900  hover:bg-white/80 hover:border-white/80 active:bg-white/80 active:border-white/80";default:return"bg-deep-orange-500 border-deep-orange-500 text-white hover:bg-deep-orange-700 hover:border-deep-orange-700 active:bg-deep-orange-800 active:border-deep-orange-800"}}},methods:{onClick(e){this.href||(e.preventDefault(),this.$emit("touch"))}}}),w={key:0};function C(e,a,v,k,B,$){var o,r,n,i,l;return s(),d(f(e.as),{href:e.href,"aria-label":e.button.value,"data-tag-ga4-action":"click","data-tag-ga4-category":"button","data-tag-ga4-label":(o=e.button)==null?void 0:o.gaLabel,"data-tag-ga4-type":(r=e.button)==null?void 0:r.gaCategory,"data-tag-category":(n=e.button)==null?void 0:n.gaCategory,"data-tag-action":(i=e.button)==null?void 0:i.gaAction,"data-tag-label":(l=e.button)==null?void 0:l.gaLabel,class:h(["font-bold flex items-center justify-center text-lg py-3 px-4 border",e.themeClassList,e.button.utilities]),onClick:e.onClick},{default:u(()=>[t("span",null,c(e.button.value),1),e.loading?(s(),p("span",w,[...a[0]||(a[0]=[t("svg",{class:"animate-spin ml-2 h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):b("",!0)]),_:1},8,["href","aria-label","data-tag-ga4-label","data-tag-ga4-type","data-tag-category","data-tag-action","data-tag-label","class","onClick"])}const S=m(y,[["render",C]]);export{S 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.