PageSourceSearch

https://botpenguin.com/chunk-DPU5LICU.js

js botpenguin.com collected 2026-09-24 08:36:13 UTC 15,765 bytes, 1 lines download raw bytes

1import{a as le}from"./chunk-RHN4V45Z.js";import{a as re}from"./chunk-DA2YGYXC.js";import{a as se}from"./chunk-ZR52WMKD.js";import{a as oe}from"./chunk-OJDZTBKQ.js";import{a as ae}from"./chunk-FQAI4S2M.js";import{b as Y,d as Q,e as K,f as J,h as _,j as X,l as Z,m as ee,n as te,w as ne}from"./chunk-VPF5OBG3.js";import{a as j}from"./chunk-VNPHFHRG.js";import"./chunk-Z4GQ32XP.js";import{b as ie}from"./chunk-UVMHBKUD.js";import"./chunk-SMFHKXEJ.js";import{b as L}from"./chunk-FSEKFQRQ.js";import"./chunk-GEBBUZNX.js";import"./chunk-ASY7WUR6.js";import"./chunk-SLWX2EBF.js";import"./chunk-CTER4CBY.js";import"./chunk-E66SQ4EU.js";import"./chunk-LZ6CO2NU.js";import{a as W}from"./chunk-LFWUBR3N.js";import{a as z}from"./chunk-SLPRUBRN.js";import{k as q,n as A,u as G}from"./chunk-DREDQAPP.js";import"./chunk-ZCJJXQTB.js";import{Ab as v,Bb as M,Cb as T,Db as w,Eb as S,Fb as r,Gb as l,Hb as g,Lb as P,Oa as k,Ob as f,Pb as p,Ub as E,Va as s,Vb as H,Wa as R,Wb as N,Yb as m,Zb as B,_b as I,ac as $,ca as D,fc as U,hc as x,kb as y,la as h,ma as C,tb as u,ub as V}from"./chunk-AV53HBUR.js";import{g as O}from"./chunk-DM275RSA.js";var ce={chatbotRoiSeo:{title:"Free Chatbot ROI Calculator | BotPenguin",description:"With our Free Chatbot ROI Calculator, find out how much you will save on customer support costs when you implement a chatbot. Get an estimate in",keyword:"Chatbot ROI Calculator",type:"website",image:"https://cdn.botpenguin.com/assets/website/images/roi-calculator-banner-webp-new.webp"}};var de=["resultBox"],ue=a=>({"text-green-3da144":a}),pe=a=>({"!pl-[22px]":a}),ge=a=>({active:a});function be(a,c){a&1&&(r(0,"span"),m(1,"$"),l())}function he(a,c){if(a&1&&(r(0,"span",30),y(1,be,2,0,"span"),m(2),l()),a&2){let i,e=c.$implicit,t=p(),n=t.$implicit,o=t.$index,d=p(2);V("left",e.percent,"%"),u("ngClass",x(5,ge,e.value===((i=d.roiCalculatorForm.get(n.formControlName))==null?null:i.value))),s(),v(1,o===2?1:-1),s(),I(" ",e.value," ")}}function Ce(a,c){a&1&&(r(0,"span",28),m(1,"$"),l())}function fe(a,c){if(a&1){let i=P();r(0,"div",18)(1,"label",21),m(2),l(),r(3,"div",22)(4,"div",23)(5,"input",24),f("ngModelChange",function(){let t=h(i).$index,n=p(2);return C(n.getSuggestedBotPenguinPlan(t))}),l(),r(6,"div",25),w(7,he,3,7,"span",26,M),l()(),r(9,"div",27),y(10,Ce,2,0,"span",28),r(11,"input",29),f("input",function(t){let n=h(i).$implicit,o=p(2);return C(o.changeSliderValue(n.formControlName,t))}),l()()()()}if(a&2){let i,e=c.$implicit,t=c.$index,n=p(2);s(),u("for",e.formControlName),s(),B(e.label),s(3),u("formControlName",e.formControlName)("min",e.sliderMinValue)("max",e.sliderMaxValue)("step",e.step)("ngStyle",n.getSliderBackgroundStyle(e.formControlName)),s(2),S(e.milestones),s(3),v(10,t===2?10:-1),s(),u("ngClass",x(10,pe,t===2))("value",(i=n.roiCalculatorForm.get(e.formControlName))==null?null:i.value)}}function xe(a,c){if(a&1){let i=P();r(0,"div",8)(1,"div",13)(2,"h3",14),m(3),l(),r(4,"p",15),m(5,"Suggested BotPenguin subscription plan cost "),l()(),r(6,"div",16)(7,"form",17),f("ngSubmit",function(){h(i);let t=p();return C(t.caluculateRoi())}),w(8,fe,12,12,"div",18,T),r(10,"div",19)(11,"button",20),m(12," Calculate ROI "),l()()()()()}if(a&2){let i=p();s(2),u("ngClass",x(5,ue,i.suggestedBotPenguinPlanCost>0)),s(),I(" $",i.suggestedBotPenguinPlanCost," "),s(4),u("formGroup",i.roiCalculatorForm),s(),S(i.inputSlidersData),s(3),u("ngClass",i.roiCalculatorForm.valid?"opacity-100 cursor-pointer":"opacity-70 cursor-not-allowed")("disabled",!i.roiCalculatorForm.valid)}}function _e(a,c){if(a&1&&(r(0,"div",33)(1,"h4",39),m(2),l(),r(3,"p",40),m(4),l()()),a&2){let i=c.$implicit,e=c.$index;u("ngClass",e===0?"mt-16":"mt-8"),s(),u("ngClass",x(6,ue,e===2)),s(),$(" ",e!==1?i.sign:"","",i.result,"",e===1?i.sign:""," "),s(2),B(i.desc)}}function ye(a,c){if(a&1){let i=P();r(0,"div",31,0)(2,"h3",32),m(3,"ROI Result"),l(),w(4,_e,5,8,"div",33,M),r(6,"div",34)(7,"button",35)(8,"a",36),f("click",function(){h(i);let t=p();return C(t.downloadResult())}),m(9,"Download Results "),r(10,"span"),g(11,"img",37),l()()(),r(12,"button",38),f("click",function(){h(i);let t=p();return C(t.regenerateLink())}),m(13,"Regenerate Link "),r(14,"span"),g(15,"img",37),l()()()()}if(a&2){let i=p();s(4),S(i.roiResult),s(7),u("src",i.assetUrl+"/assets/website/icons/download.svg",k),s(4),u("src",i.assetUrl+"/assets/website/icons/regenerate-icon.svg",k)}}var $e=(()=>{let c=class c{constructor(e,t){this.seoService=e,this.mixpanel=t,this.seos=ce,this.assetUrl=W.ASSET_URL,this.roiCalculated=!1,this.costSavingPerYear=0,this.roiPercentage=0,this.botPenguinPlans=[{messages:2e3,cost:0},{messages:3e3,cost:5},{messages:7e3,cost:10},{messages:1e4,cost:15},{messages:15e3,cost:20},{messages:25e3,cost:30},{messages:5e4,cost:40},{messages:75e3,cost:50},{messages:2e5,cost:100},{messages:5e5,cost:200}],this.suggestedBotPenguinPlanCost=200,this.bannerContent={heading:{headingOne:"BotPenguin Chatbot ROI Calculator ",headingTwo:"For Customer Support"},subHeading:{subHeadingOne:"Find out how much you will save on supp
1ort costs if you implement a chatbot. ",subHeadingTwo:""},bannerAttributes:{headingWidth:"inline 2xl:block",subHeadingWidth:"inline xl:block",headingTextColor:"text-grey-333",subHeadingTextColor:"text-grey-666",planDescColor:"text-color-999"},planDesc:null,buttonData:{label:" Let's Calculate! ",labelTwo:"",link:""}},this.roiGenerate={heading:{headingOne:"Let\u2019s Calculate Your Savings"},subHeading:{subHeadingOne:"Answer simple questions, hit calculate, and view presentable results. ",subHeadingTwo:""}},this.roiResult=[{result:"",desc:"Total Cost Savings (per year)",sign:"$"},{result:"",desc:"ROI Percentage",sign:"%"},{result:0,desc:"Suggested BotPenguin subscription plan cost",sign:"$"}],this.inputSlidersData=[{formControlName:"agent",label:"Number of Customer Support Agents:",milestones:this.generateMilestones(0,100,500),step:50,sliderMinValue:0,sliderMaxValue:500},{formControlName:"chat",label:"Estimated chats per agents(per day):",milestones:this.generateMilestones(0,10,50),step:5,sliderMinValue:0,sliderMaxValue:50},{formControlName:"salary",label:"Monthly Salary(per agent):",milestones:this.generateMilestones(100,100,400),step:50,sliderMinValue:100,sliderMaxValue:500},{formControlName:"day",label:"Number of working days:",milestones:this.generateMilestones(0,5,30),step:1,sliderMinValue:0,sliderMaxValue:30}],this.roiCalculatorForm=new J({agent:new _(200),chat:new _(40),salary:new _(300),day:new _(30)}),this.faqData=[{title:"How to calculate Chatbot ROI without numbers?",description:"Calculating ROI typically involves numbers. If you don't have specific figures, make educated estimates based on industry averages or similar ventures."},{title:"How to calculate Chabot ROI without profit?",description:"Profit is integral to the ROI formula. Instead of hard profit, use related metrics, such as customer satisfaction, retention, or conversion rates, which indirectly impact profitability."},{title:"How profitable are chatbots?",description:"Profitability varies greatly depending on usage and design. Efficient chatbots can significantly reduce customer service costs, increase engagement, drive sales, and provide a substantial return on investment."},{title:"What is the average engagement rate for a chatbot?",description:"Engagement rates differ based on the bot's purpose and design, as well as user demographics. Some chatbots maintain user engagement rates upwards of 80% within the first week."},{title:"What is the Chatbot ROI formula?",description:"To calculate chatbot ROI, subtract the bot's operational costs from benefits gained (like saved labor costs or increased sales), then divide by the operational costs. Express the result as a percentage."}],this.bar={bgImageUrl:"background-45-1.webp",heading:{headingOne:"Get Started for free, Free forever plan ",headingTwo:"available. No Credit Card"},primaryButtonData:{label:"Book a demo ",labelTwo:"",link:""},secondaryButtonData:{label:"Know more ",labelTwo:"",link:""}},this.mixpanel.getPageTitle()}ngOnInit(){this.seoService.setMetaTags(this.seos.chatbotRoiSeo)}generateMilestones(e,t,n){let o=[];if(e===0?o.push({value:0,percent:0}):e===100&&o.push({value:100,percent:0}),e===100)for(let d=t;d<=n;d+=t){let b=d/n*100;o.push({value:d+100,percent:b})}else for(let d=t;d<=n;d+=t){let b=d/n*100;o.push({value:d,percent:b})}return o}getSuggestedBotPenguinPlan(e){let t=this.roiCalculatorForm.value;if(e===2)return;let n=t.chat*t.day*t.agent;for(let o=0;o<this.botPenguinPlans.length;o++)if(this.botPenguinPlans[o].messages>=n){this.suggestedBotPenguinPlanCost=this.botPenguinPlans[o].cost;break}}changeSliderValue(e,t){let n=t.target,o=parseInt(n.value,10);switch(e){case"agent":this.roiCalculatorForm.get(e)?.setValue(o);break;case"chat":this.roiCalculatorForm.get(e)?.setValue(o);break;case"salary":this.roiCalculatorForm.get(e)?.setValue(o);break;case"day":this.roiCalculatorForm.get(e)?.setValue(o);break;default:break}}getSliderBackgroundStyle(e){let t=this.roiCalculatorForm.get(e);if(t){let n=this.inputSlidersData.find(F=>F.formControlName===e)?.sliderMinValue||0,o=this.inputSlidersData.find(F=>F.formControlName===e)?.sliderMaxValue||100,b=(t.value-n)/(o-n)*100;return{background:`linear-gradient(to right, var(--primary-blue) ${b}%, #F6F6F6 ${b}%)`}}return{}}caluculateRoi(){this.roiCalculated=!this.roiCalculated;let e=this.roiCalculatorForm.value,t=e.agent*e.salary;
1this.getSuggestedBotPenguinPlan(0),this.costSavingPerYear=t-this.suggestedBotPenguinPlanCost,this.roiPercentage=this.costSavingPerYear/this.suggestedBotPenguinPlanCost*100,this.roiResult=[{result:this.costSavingPerYear.toFixed(2),desc:"Total Cost Savings (per year)",sign:"$"},{result:this.roiPercentage.toFixed(2),desc:"ROI Percentage",sign:"%"},{result:this.suggestedBotPenguinPlanCost,desc:"Suggested BotPenguin subscription plan cost",sign:"$"}]}downloadResult(){return O(this,null,function*(){let e=this.resultBox.nativeElement,{default:t}=yield import("./chunk-YP7YABKE.js"),n=yield t(e),o=document.createElement("a");o.href=n.toDataURL("image/png"),o.download="pricing.png",o.click()})}regenerateLink(){this.roiCalculated=!1,this.roiCalculatorForm.reset({agent:200,chat:40,salary:300,day:30}),this.getSuggestedBotPenguinPlan(0)}};c.\u0275fac=function(t){return new(t||c)(R(ae),R(ie))},c.\u0275cmp=D({type:c,selectors:[["app-chatbot-roi-calculator"]],viewQuery:function(t,n){if(t&1&&E(de,5),t&2){let o;H(o=N())&&(n.resultBox=o.first)}},standalone:!0,features:[U],decls:17,vars:18,consts:[["resultBox",""],[1,"container","mx-auto","py-16","sm:py-24"],["heroIcon","/assets/website/icons/tools-icon-four.svg"],["url","#roi-calculator","link","id",3,"bannerHeading","bannerSubHeading","planDesc","bannerAttributes","buttonData"],["bgImage","background-45-2.webp","contentImage","roi-calculator-banner-webp-new.webp","contentImageAlt","BotPenguin chatbot ROI calculator illustration"],[1,"utm-genrator","mt-16","sm:mt-28"],[3,"heading","subHeading","headingWidth","subHeadingWidth"],["id","roi-calculator",1,"container","rounded-xl","bg-white"],[1,"py-16","w-11/12","xl:w-3/5","mx-auto"],[1,"my-12","md:my-20"],[3,"faqsData","isMoreFaqs"],[1,"my-12","lg:my-20"],[3,"bgImageUrl","heading","primaryButtonData","secondaryButtonData","headingColor","headingWidth"],[1,"text-grey-dfe1"],[1,"text-center","font-inter-semibold","text-3xl","lg:text-6xl",3,"ngClass"],[1,"text-color-999","text-center","font-inter-regular","mt-6","sm:text-xl"],[1,"pt-16"],[3,"ngSubmit","formGroup"],[1,"flex","flex-col","mt-7","justify-center"],[1,"w-fit","mx-auto","mt-16"],["type","submit",1,"font-inter-regular","text-lg","rounded-3xl","border-0","bg-primary-blue","text-white","py-3","px-6",3,"ngClass","disabled"],[1,"font-inter-light","text-grey-666",3,"for"],[1,"flex","flex-wrap","sm:flex-nowrap"],[1,"w-full"],["type","range","id","milestoneRange",1,"w-full","accent","mt-6",3,"ngModelChange","formControlName","min","max","step","ngStyle"],[1,"flex","justify-between","relative"],[1,"milestone","flex",3,"left","ngClass"],[1,"relative","sm:ml-5","pt-8","pb-3","sm:pt-0","sm:pb-0"],[1,"dollar-symbol","absolute","top-1/2","left-3","transform","-translate-y-1","sm:-translate-y-1/2","font-inter-regular","text-lg"],["type","number","id","numberInput",1,"w-40","h-14","rounded-xl","p-4","font-inter-regular","text-lg",3,"input","ngClass","value"],[1,"milestone","flex",3,"ngClass"],[1,"w-11/12","xl:w-3/5","mx-auto","py-16","sm:py-28"],[1,"font-inter-regular","text-2xl","text-grey-333","text-center"],[1,"text-center",3,"ngClass"],[1,"flex","flex-col","items-center","justify-center","gap-y-5","w-fit","mt-16","mx-auto","sm:gap-x-3","sm:flex-row"],[1,"font-inter-regular","text-sm","rounded-3xl","border-0","bg-primary-blue","text-white","py-2","px-5"],[1,"flex","items-center","gap-x-2",3,"click"],["width","16","height","16","alt","","aria-hidden","true","decoding","async",3,"src"],[1,"font-inter-regular","text-grey-333","bg-white","text-sm","rounded-3xl","border","border-color-e5e5","flex","items-center","gap-x-2","py-2","px-5",3,"click"],[1,"font-inter-semibold","text-3xl","lg:text-6xl",3,"ngClass"],[1,"font-inter-regular","text-color-999","mt-6","sm:text-xl"]],template:function(t,n){t&1&&(r(0,"section")(1,"div")(2,"div",1),g(3,"app-hero-icon",2)(4,"app-bp-banner-template",3),l()(),g(5,"app-second-banner-template",4),l(),r(6,"section",5),g(7,"app-heading-template-one",6),r(8,"div",7),y(9,xe,13,7,"div",8)(10,ye,16,2),l()(),r(11,"div",9),g(12,"app-faqs",10),l(),r(13,"div",11),g(14,"app-customer-testimonials"),l(),r(15,"section"),g(16,"app-cta-bar",12),l()),t&2&&(s(4),u("bannerHeading",n.bannerContent.heading)("bannerSubHeading",n.bannerContent.subHeading)("planDesc",n.bannerContent.planDesc)("bannerAttributes",n.bannerContent.bannerAttributes)("buttonData",n.bannerContent.buttonData),s(3),u("heading",n.roiGenerate.heading)("subHeading",n.roiGenerate.subHeading)("headingWidth","inline xl:block")("subHeadingWidth","inline xl:block"),s(2),v(9,n.roiCalculated?10:9),s(3),u("faqsData",n.faqData)("isMoreFaqs",!1),s(4),u("bgImageUrl",n.bar.bgImageUrl)("heading",n.bar.heading)("primaryButtonData",n.bar.primaryButtonData)("secondaryButtonData",n.bar.secondaryButtonData)("headingColor","text-white")("headingWidth","inline sm:block md:inline lg:block"))},dependencies:[oe,z,ne,X,Y,Z,Q,K,ee,te,G,q,A,j,L,re,le,se],styles:[".milestone[_ngcontent-%COMP%]{position:absolute;font-size:14px;color:#999;flex:1}.milestone[_ngcontent-%COMP%]:not(:first-child){transform:translate(-50%)}.milestone[_ngcontent-%COMP%]:nth-child(5){transform:translate(-70%)}.milestone[_ngcontent-%COMP%]:nth-child(2){transform:translate(-35%)}.milestone[_ngcontent-%COMP%]:last-child{transform:translate(-130%)}.active[_ngcontent-%COMP%]{color:#333}#milestoneRange[_ngcontent-%COMP%]{background:#f6f6f6;border-radius:6px;height:16px;outline:none;transition:background .45s ease-in;-webkit-appearance:none;border:4px solid #F6F6F6}input[type=range][_ngcontent-%COMP%]::-moz-range-track{height:15px;background:#ccc;border-radius:16px}input[type=range][_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:#dae0fd;border-radius:4px;width:14px;
1height:26px}input[type=number][_ngcontent-%COMP%]{border:1px solid #F0F0F0}input[type=number][_ngcontent-%COMP%]:focus{border:1px solid #F0F0F0;outline:none}input[type=number][_ngcontent-%COMP%]::-webkit-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}input[type=number][_ngcontent-%COMP%]::-moz-inner-spin-button, input[type=number][_ngcontent-%COMP%]::-moz-outer-spin-button{-moz-appearance:none;-webkit-appearance:none;appearance:none;margin:0}"],changeDetection:0});let a=c;return a})();export{$e as ChatbotRoiCalculatorComponent};

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.