PageSourceSearch

https://www.sufc.co.uk/_nuxt/Dq69q4gE.js

js sufc.co.uk collected 2026-09-24 20:14:24 UTC 3,166 bytes, 1 lines download raw bytes

1import{PageElementBase as c}from"./CdQXFjpm.js";import{G as p}from"./D_6K3OQ2.js";import{G as o}from"./WUj_y4n6.js";import{a as y}from"./CuG_NutQ.js";import{G as g}from"./DA0pkXRu.js";import{d as b}from"./ghde6Rcn.js";import"./CATxlt2j.js";import"./CXTOca8g.js";import"./0xmjySIm.js";import"./DhOWJ3tu.js";import"./CrX2__Gh.js";import"./T-kpnD9n.js";import"./C8oKskU6.js";import"./D2IJBM4F.js";class h extends c{constructor(e="root",t){super(e,t),this.widgetType="WidgetQuote",this.widgetName="Quote",this.component="WidgetQuote",this.icon={icon:"quoteWidget",pack:"cms"},this.pseudoWidgetType="widget",this.quote="",this.quoteeImage=new g,this.quoteeName="",this.subtext="",this.style=new p,this.quoteColor=new o,this.quoteeImageBackground=new o,this.buildContentFields=()=>[{heading:"Quotee Image",options:[{type:"image-picker",attributeKey:["quoteeImage"]}]},{heading:"Quote",options:[{type:"rich-text",attributeKey:["quote"]}]},{heading:"Quotee Name",options:[{type:"input",attributeKey:"quoteeName",placeholder:"Quotee name"}]},{heading:"Subtext",options:[{type:"input",attributeKey:"subtext",placeholder:"Subtext"}]}],this.buildStyleFields=()=>[{heading:"Theme",options:[{type:"radio",subType:"list",attributeKey:["style","theme"],options:[{label:"Light",id:"light"},{label:"Dark",id:"dark"},{label:"Accent",id:"club"}]}]},{heading:"Text Colour",options:[{type:"color-selector",attributeKey:["style","color"]}]},{heading:"Quote Icon Colour",options:[{type:"color-selector",attributeKey:["quoteColor"]}]},{heading:"Quotee Image Background Colour",options:[{type:"color-selector",attributeKey:["quoteeImageBackground"]}]},{heading:"Background",type:"tabs",tabsOptions:{variant:"fill"},tabs:[{title:"Colour",value:"color",index:0,options:[{type:"color-selector",attributeKey:["style","backgroundColor"]}]},{title:"Image",value:"image",index:1,options:[{type:"image-picker",attributeKey:["backgroundImage"]}]}],options:[]}
1],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,t)}serializeElement(){return{...super.serializeBaseElement(),quote:this.quote,quoteeImage:this.quoteeImage,quoteeName:this.quoteeName,subtext:this.subtext,style:this.style,quoteColor:this.quoteColor,quoteeImageBackground:this.quoteeImageBackground}}duplicateElement(){return new h(this.parentID,b({...this,uuid:void 0}))}normalizeLegacyElement(e){var t,i,a,s,u,r,l,n,d,m;return{widgetType:"WidgetQuote",component:"WidgetQuote",uuid:e.uuid,quote:e.value,quoteeImage:new g(e.image||void 0),quoteeName:e.quotee,subtext:e.subtext||void 0,style:new p({theme:y(((t=e.style)==null?void 0:t.theme)||"light"),backgroundColor:new o({value:(s=(a=(i=e.style)==null?void 0:i.background)==null?void 0:a.color)==null?void 0:s.value,shade:(l=(r=(u=e.style)==null?void 0:u.background)==null?void 0:r.color)==null?void 0:l.shade,opacity:(m=(d=(n=e.style)==null?void 0:n.background)==null?void 0:d.color)==null?void 0:m.opacity})})}}}export{h 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.