PageSourceSearch

https://www.harrogatetownafc.com/_nuxt/AaI_rKV6.js

js harrogatetownafc.com collected 2026-09-25 04:47:44 UTC 4,875 bytes, 1 lines download raw bytes

1import{PageElementBase as n}from"./CdQXFjpm.js";import{d as o}from"./DmzPAKbc.js";import{G as i}from"./DA0pkXRu.js";import{t as r}from"./CATxlt2j.js";import{TypographyModel as a}from"./C8oKskU6.js";import{k as l}from"./CMeHFp34.js";import"./CXTOca8g.js";import"./0xmjySIm.js";import"./DhOWJ3tu.js";import"./WUj_y4n6.js";import"./CrX2__Gh.js";import"./T-kpnD9n.js";class s extends n{constructor(e="root",t){super(e,t),this.widgetType="ProfileHero",this.widgetName="Hero",this.component="ProfileHero",this.icon={icon:"hero",pack:"cms"},this.pseudoWidgetType="widget",this.theme="club",this.defaultBackgroundImageKey=new i,this.defaultProfileBackgroundImageKey=new i,this.profileImageBackgroundStyles={borderRadius:void 0},this.numberText=new a({content:void 0,textTransform:"none",font:"primary",size:"6xl"}),this.firstNameText=new a({content:void 0,size:"6xl",textTransform:"none",font:"primary"}),this.lastNameText=new a({content:void 0,size:"6xl",textTransform:"none",font:"primary"}),this.sponsorInterval=5e3,this.actions=[{title:"Buy Kit",action:"",type:"primary",icon:{pack:"fan",icon:"bag"},display:!0}],this.fields=[],this.sponsors=new i,this.sponsorDescriptionText="In Association With:",this.buildContentFields=()=>[{heading:"Background Image",tooltip:"This image will be used as the background for the entire hero.",options:[{type:"image-picker",size:"small",attributeKey:"defaultBackgroundImageKey"}]},{heading:"Profile Placeholder Image",tooltip:"This image will be used as the background for the profile image if no profile image is set.",options:[{type:"image-picker",size:"small",attributeKey:"defaultProfileBackgroundImageKey"}]},{heading:"Sponsors",options:[{heading:"Description Text",tooltip:"This text will be displayed before the sponsor image.",type:"input",attributeKey:["sponsorDescriptionText"]},{heading:"Interval (ms)",type:"input",tooltip:"The interval in milliseconds for how long each sponsor is displayed.",attributeKey:["sponsorInterval"]}]},{heading:"Retail Button",toggleable:!0,toggleAttributeKey:["actions","0","display"],options:[{heading:"Label",type:"input",attributeKey:["actions","0","title"],placeholder:"Button Text"},{heading:"Icon",type:"icon-selector",attributeKey:["actions","0","icon","icon"]},{heading:"Button Theme",type:"select",attributeKey:["actions","0","type"],items:[{name:"Primary",id:"primary"},{name:"Secondary",id:"secondary"},{name:"Tertiary",id:"tertiary"}]}]}],this.buildStyleFields=()=>[{heading:"Theme",options:[{type:"radio",subType:"list",attributeKey:"theme",options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}]}]},{heading:"Image Border Radius",options:[{type:"select",attributeKey:["profileImageBackgroundStyles","borderRadius"],items:[{id:"undefined",name:"None"},{id:"small",name:"S"},{id:"medium",name:"M"},{id:"large",name:"L"}]}]},{heading:"Text Styling",options:[{heading:l().public.club.sport==="darts"?"Nickname":"Player Number",type:"typography-input",attributeKey:["numberText"],exclude:["content","clamp","alignment"]},{heading:"First Name",type:"typography-input",attributeKey:["firstNameText"],exclude:["content","clamp","alignment"]},{heading:"Surname",type:"typography-input",attributeKey:["lastNameText"],exclude:["content","clamp","alignment"]}]}],this.getSidebarTabs=()=>[{name:"Layout",fields:this.buildLayoutFields(),disabled:!0},{name:"Content",fields:this.buildContentFields(),default:!0},{name:"Style",fields:this.buildStyleFields()}],t!=null&&t.widgetType&&!("version"in t)?Object.assign(this,this.normalizeLegacyElement(t)):(Object.assign(this,r(t)),t!=null&&t.actions&&(this.actions=o(t.actions)))}serializeElement(){return{...super.serializeBaseElement(),theme:this.theme,defaultBackgroundImageKey:this.defaultBackgroundImageKey,defaultProfileBackgroundImageKey:this.defaultProfileBackgroundImageKey,profileImageBackgroundStyles:this.profileImageBackgroundStyles,sponsorInterval:this.sponsorInterval,actions:this.actions,fields:this.fields,sponsors:this.sponsors,sponsorDescriptionText:this.sponsorDescriptionText,firstNameText:this.firstNameText,lastNameText:this.lastNameText,numberText:this.numberText}}duplicateElement(){return new s(this.parentID,{...this,uuid:void 0})}pageActionOverrides(){return{delete:{hidden:!0},copy:{hidden:!0},"move-up":{hidden:!0},"move-down":{hidden:!0}}}normalizeLegacyElement(e){return{theme:e.theme??"club",fields:e.fields,actions:o(e.actions),defaultBackgroun
1dImageKey:e.defaultBackgroundImageKey?new i({image:e.defaultBackgroundImageKey}):new i,defaultProfileBackgroundImageKey:e.defaultProfileBackgroundImageKey?new i({image:e.defaultProfileBackgroundImageKey}):new i,profileImageBackgroundStyles:e.profileImageBackgroundStyles?{borderRadius:e.profileImageBackgroundStyles.borderRadius}:{borderRadius:void 0},sponsorDescriptionText:e.sponsorDescriptionText??"In Association With:"}}}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.