PageSourceSearch

https://www.emmabridgewater.co.uk/cdn/shop/t/643/assets/component.heading-copy.min.js?v=1790172595084

js emmabridgewater.co.uk collected 2026-09-24 20:19:40 UTC 3,608 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4438],{4040:function(t,e,n){n.r(e),n.d(e,{default:function(){return b}});var o=n(7363),c={class:"heading-copy__content"},l={key:0},d=["textContent"],s=["textContent"],a=["href"],u=["textContent"],i=["innerHTML"],r={key:3,class:"heading-copy__button-container"},h={name:"HeadingCopy",components:{Btn:n(5455).A},props:{classes:{type:Object,default:function(){return{copy:"",heading:"",subheading:""}}},content:{type:Object,default:function(){return{headingElement:"h2",subheadingText:"",headingId:"",headingLink:"",headingText:"",subText:"",buttonText:"",buttonUrl:"",buttonStyle:"",buttonMode:"",secondButtonText:"",secondButtonUrl:"",secondButtonStyle:"",secondButtonMode:"",textColour:""}},required:!0}},computed:{headingElement:function(){return this.content.headingElement?this.content.headingElement:"h2"},showButtonContainer:function(){return this.content.buttonText&&this.content.buttonUrl||this.content.secondButtonText&&this.content.secondButtonUrl}},methods:{getBodyText:function(t){return t.replaceAll("<p></p>","").replaceAll("<a ",'<a class="text-body-s-bold text-body-m-bold-desktop"').replaceAll("<ul",'<ul class="text-body-s-bold text-body-m-bold-desktop"').replaceAll("<p",'<p class="'.concat(this.classes.copy,'"')).replaceAll("<strong",'<strong class="text-body-s-bold text-body-m-bold-desktop"')}}},b=(0,n(9890).A)(h,[["render",function(t,e,n,h,b,g){var x=(0,o.g2)("btn");return(0,o.uX)(),(0,o.CE)("div",{class:(0,o.C4)(["heading-copy",n.content.textColour?"text-colour--".concat(n.content.textColour):"text-colour--dark"])},[(0,o.Lk)("div",c,[n.content.subheadingText||n.content.headingText?((0,o.uX)(),(0,o.CE)("header",l,[n.content.subheadingText?((0,o.uX)(),(0,o.CE)("p",{key:0,class:(0,o.C4)(["heading-copy__subheading text-other-label-s text-other-label-l-desktop",n.classes.subheading]),textContent:(0,o.v_)(n.content.subheadingText)},null,10,d)):(0,o.Q3)("",!0),n.content.headingText?((0,o.uX)(),(0,o.Wv)((0,o.$y)(g.headingElement),{key:1,id:n.content.headingId?n.content.headingId:null},{default:(0,o.k6)((function(){return[((0,o.uX)(),(0,o.Wv)((0,o.$y)(n.content.headingLink?"a":"span"),{class:(0,o.C4)(["heading-copy__title",[n.classes.heading,n.content.headingSizeDesktop,n.content.headingSizeMobile,{"stretched-link":n.content.isHeadingStretchedLink}]]),href:n.content.headingLink},{default:(0,o.k6)((function(){return[(0,o.Lk)("span",{textContent:(0,o.v_)(n.content.headingText)},null,8,s)]})),_:1},8,["class","href"]))]})),_:1},8,["id"])):(0,o.Q3)("",!0)])):n.content.headingLink?((0,o.uX)(),(0,o.CE)("a",{key:1,class:"stretched-link",href:n.content.headingLink},[(0,o.Lk)("span",{class:"visually-hidden",textContent:(0,o.v_)(n.content.headingLink)},null,8,u)],8,a)):(0,o.Q3)("",!0),n.content.subText?((0,o.uX)(),(0,o.CE)("div",{key:2,class:"heading-copy__text",innerHTML:g.getBodyText(n.content.subText)},null,8,i)):(0,o.Q3)("",!0),g.showButtonContainer?((0,o.uX)(),(0,o.CE)("div",r,[(0,o.bF)(x,{class:"heading-copy__button",label:n.content.buttonText,modifiers:"".concat(n.content.buttonStyle," ").concat(n.content.buttonMode),url:n.content.buttonUrl},null,8,["label","modifiers","url"]),n.content.secondButtonText&&n.content.secondButtonUrl?((0,o.uX)(),(0,o.Wv)(x,{key:0,class:"heading-copy__button",label:n.content.secondButtonText,modifiers:"".concat(n.content.secondButtonStyle," ").concat(n.content.secondButtonMode),url:n.content.secondButtonUrl},null,8,["label","modifiers","url"])):(0,o.Q3)("",!0)])):(0,o.Q3)("",!0)])],2)}]])}}]);
2//# sourceMappingURL=component.heading-copy.min.js.map?v=1790172595084

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.