import{w as i,a as l}from"./with-props-XrHcrnxs.js";import{j as t}from"./jsx-runtime-Byf2O5Qf.js";import{O as c}from"./chunk-HA7DTUK3-Cv5eIhAv.js";import{B as d,a as u}from"./banner_write_publish-D3h9nUWQ.js";import{a as f}from"./banner_guarantee_happiness-D1kioh_T.js";import{S as h}from"./subheader-jevginI2.js";import{E as g}from"./errors-CQnLQ4Mi.js";import{J as j,d as p}from"./header_navigation_link_data-CmjRiiZA.js";function v({dpMinimumPrice:r,dpWordsIncluded:e,dpPerWordExtra:s,dpRoundUpTo:a,wordCount:n=0}){if(n===null||n<=e)return r;const x=Math.max(0,n-e)*s,m=Math.ceil(x/a)*a;return r+m}function C({src:r,alt:e}){return t.jsx("img",{className:"mx-auto mb-10 block size-80 rounded-md shadow-lg",src:r,alt:e})}function I({title:r,children:e,small:s=!1}){const a=s?"mb-4 text-center text-3xl font-bold tracking-tight md:text-[1.75rem] lg:text-[1.875rem]":"mb-6 text-center text-3xl font-bold tracking-tight md:text-[2rem] lg:text-4xl";return t.jsxs("section",{className:"mx-auto mb-10 max-w-3xl",children:[t.jsx("h3",{className:a,children:r}),t.jsx("div",{className:"space-y-4 leading-relaxed",children:e})]})}function L({children:r,title:e}){return t.jsxs("div",{className:"space-y-8",children:[t.jsx("h1",{className:"mx-auto mb-10 max-w-3xl text-center text-4xl font-bold tracking-tight md:max-w-2xl md:text-[2.75rem] lg:max-w-4xl lg:text-5xl",children:e}),r]})}function o({children:r}){return t.jsxs("main",{children:[t.jsx(h,{links:p,secondaryLinks:j,from:"xl"}),t.jsx("div",{className:"mx-auto w-full px-4 pt-6 md:max-w-3xl lg:max-w-4xl",children:r}),t.jsx(f,{}),t.jsx(d,{}),t.jsx(u,{})]})}const W=i(function(){return t.jsx(o,{children:t.jsx(c,{})})}),_=l(function(){return t.jsx(o,{children:t.jsx(g,{})})});export{L as C,_ as E,I,C as S,W as _,v as d};