1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53492],{53492:(e,i,l)=>{l.d(i,{applyBlueprintEdit:()=>n});var r=l(45410),a=l(24845);function t(e,i){var l;let r=function(e){if("free"===e.toLowerCase())return 0;let i=e.match(/£(\d+)/);return i?Number.parseInt(i[1],10):null}(e);return null===r||0===r?e:(l=r*i)<=0?"Free":"\xa3".concat(Math.max(5,5*Math.round(l/5)))}function n(e,i,l){if("pricing"===i){var n;return"keep"===l?e:(n="lower"===l?.85:1.15,{...e,services:e.services.map(e=>({...e,priceLabel:t(e.priceLabel,n)})),products:e.products.map(e=>({...e,priceLabel:t(e.priceLabel,n)})),events:e.events.map(e=>({...e,priceLabel:t(e.priceLabel,n)})),profile:{...e.profile,hourlyRate:e.profile.hourlyRate?String(Math.max(5,5*Math.round(Number(e.profile.hourlyRate)*n/5))):e.profile.hourlyRate}})}return"tone"===i?function(e,i){let{profile:l}=e,r=l.bio,a=l.customHeadline;if("friendlier"===i)a=a.replace(/\.$/,""),r.startsWith("Hi")||(r="Hi â I'm here to help you reach your goals. ".concat(r)),r=r.replace(/\bI help\b/g,"I love helping");else if("professional"===i)a=a.replace(/^./,e=>e.toUpperCase()),(r=r.replace(/^Hi â I'm here to help you reach your goals\. /,"").replace(/\bI love helping\b/g,"I help")).includes("certified")||r.includes("qualified")||(r="".concat(r," Structured programming and clear accountability throughout."));else if("shorter"===i){var t,n;let e=null!=(n=r.split(RegExp("(?<=[.!?])\\s+"))[0])?n:r;(r=e.length>20?e:r.slice(0,120).trim()).length>120&&(r="".concat(r.slice(0,117),"...")),a=(null==(t=a.split("\xb7")[0])?void 0:t.trim().slice(0,48))||a.slice(0,48)}return{...e,profile:{...l,bio:r,customHeadline:a}}}(e,l):"services"===i?"keep"===l?e:function(e,i){var l,t,n;if("add-online"===i){if(e.services.some(e=>e.name.toLowerCase().includes("online")))return e;let i=e.profile.hourlyRate||"45";return{...e,services:[...e.services,{id:(0,r.Ak)(),name:"Online Coaching",description:"Remote coaching with weekly check-ins and programming.",priceLabel:"\xa3".concat(i),duration:60,serviceType:"one_on_one",isFree:!1}]}}if("add-class"===i){let i=(0,a.KQ)("add a weekly group class",{businessName:e.profile.businessName,location:e.profile.location,hourlyRate:e.profile.hourlyRate,specializations:e.profile.specializations}),t=(0,a.pQ)(e,i,(0,r.Ak)());return{...t,availability:{...t.availability,includeClassSlot:!0,label:(null==(l=t.availability.label)?void 0:l.toLowerCase().includes("class"))?t.availability.label:[t.availability.label,"Group class on schedule"].filter(Boolean).join(" \xb7 ")}}}if("simpler"===i){let i=null!=(t=e.services.find(e=>e.isFree))?t:e.services.find(e=>e.name.toLowerCase().includes("consult")),l=null!=(n=e.services.find(e=>!e.isFree&&e!==i))?n:e.services[0],r=[i,l].filter(Boolean);return{...e,services:r.length>0?r:e.services.slice(0,2),products:[],events:[]}}return e}(e,l):e}}}]);
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.