1import{j as e}from"./vendor-query-D99uS0qj.js";import{f as M,r as j,L as i}from"./vendor-router-Cw6hfOiu.js";import{N as w,F as y,S as C}from"./SEOMeta-B0mPYnDg.js";import{u as P}from"./index-DJCxwR7m.js";import"./vendor-helmet-CyixBo11.js";import"./vendor-radix-CnN4FCQV.js";import"./vendor-icons-B4w9GMMw.js";const h={"order-management":{label:"Order Management",description:"WhatsApp order intake, order processing automation, ERP integration, and real-time order visibility for manufacturers.",seoTitle:"Order Management | HublerX Blog",seoDesc:"Articles on order management for manufacturers â WhatsApp order intake, automating order processing, and connecting orders to ERP.",color:"bg-blue-600 border-blue-700",textColor:"text-white",bar:"bg-blue-500"},"manufacturing-execution":{label:"Manufacturing Execution",description:"ERP execution gap, Manufacturing OS, shop floor execution, inventory control, and scaling factory workflows.",seoTitle:"Manufacturing Execution | HublerX Blog",seoDesc:"Articles on manufacturing execution â shop floor coordination, closing the ERP execution gap, and real-time work order management.",color:"bg-teal-600 border-teal-700",textColor:"text-white",bar:"bg-teal-500"},"pricing-commercial-control":{label:"Pricing & Commercial Control",description:"Discount leakage, rule-based pricing, promotion management, and margin optimisation for manufacturing commercial teams.",seoTitle:"Pricing & Commercial Control | HublerX Blog",seoDesc:"Articles on manufacturing pricing strategies, discount leakage, trade promotion management, and margin optimisation.",color:"bg-amber-500 border-amber-600",textColor:"text-white",bar:"bg-amber-400"},"rfq-quoting":{label:"RFQ & Quoting",description:"Quote turnaround, RFQ automation, structured quote management, and B2B sales operations for manufacturers.",seoTitle:"RFQ & Quoting | HublerX Blog",seoDesc:"Articles on RFQ automation, quote turnaround improvement, and structured quote management for Indian manufacturers.",color:"bg-violet-600 border-violet-700",textColor:"text-white",bar:"bg-violet-500"},"food-fmcg-manufacturing":{label:"Food & FMCG Manufacturing",description:"Expiry management, production planning, food supply chain coordination, and distributor order management.",seoTitle:"Food & FMCG Manufacturing | HublerX Blog",seoDesc:"Articles on food and FMCG manufacturing â expiry management, batch traceability, production planning, and distributor operations.",color:"bg-emerald-600 border-emerald-700",textColor:"text-white",bar:"bg-emerald-500"},"buyers-guides-comparisons":{label:"Buyer's Guides & Comparisons",description:"Manufacturing software evaluations, ERP comparisons, and technology decision frameworks for mid-market manufacturers.",seoTitle:"Buyer's Guides & Comparisons | HublerX Blog",seoDesc:"Manufacturing software buyer's guides and comparisons â evaluating ERP, MES, and Manufacturing OS options for mid-market manufacturers.",color:"bg-indigo-600 border-indigo-700",textColor:"text-white",bar:"bg-indigo-500"},"demand-material-planning":{label:"Demand & Material Planning",description:"Demand-driven MRP, AI forecasting, material requirements planning, and supply-demand alignment.",seoTitle:"Demand & Material Planning | HublerX Blog",seoDesc:"Articles on demand-driven MRP, AI-assisted forecasting, and material requirements planning for manufacturing operations.",color:"bg-cyan-600 border-cyan-700",textColor:"text-white",bar:"bg-cyan-500"},"production-planning":{label:"Production Planning",description:"Production scheduling, capacity planning, work order sequencing, and shop floor throughput optimisation.",seoTitle:"Production Planning | HublerX Blog",seoDesc:"Articles on production scheduling, capacity planning, and improving schedule adherence for manufacturing planners.",color:"bg-orange-500 border-orange-600",textColor:"text-white",bar:"bg-orange-400"},"quality-management":{label:"Quality Management",description:"In-process quality control, batch traceability, quality holds, and regulatory compliance for manufacturing.",seoTitle:"Quality Management | HublerX Blog",seoDesc:"Articles on manufacturing quality management â in-process inspection, batch traceability, and compliance workflows.",color:"bg-rose-600 border-rose-700",textColor:"text-white",bar:"bg-rose-500"},"workflow-management":{label:"Workflow Management",description:"Operational workflow automation, approval routing, and cross-functional process coordination for factory team
1s.",seoTitle:"Workflow Management | HublerX Blog",seoDesc:"Articles on manufacturing workflow automation, approval routing, and cross-functional coordination for production teams.",color:"bg-purple-600 border-purple-700",textColor:"text-white",bar:"bg-purple-500"}},E=Object.entries(h).map(([t,r])=>({key:t,label:r.label})),b="HublerX Editorial";function u(t){return h[t]??{label:t,description:"",seoTitle:`${t} | HublerX Blog`,seoDesc:`Articles on ${t} from HublerX.`,color:"bg-slate-500 border-slate-600",textColor:"text-white",bar:"bg-slate-400"}}function v(t){return t?new Date(t).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""}function N(t){if(t.excerpt?.trim())return t.excerpt.trim();if(!t.content)return"";const r=t.content.replace(/^#{1,6}\s+.*/gm,"").replace(/\*\*(.+?)\*\*/g,"$1").replace(/\*(.+?)\*/g,"$1").replace(/_(.+?)_/g,"$1").replace(/`[^`]+`/g,"").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/<[^>]+>/g,"").replace(/\n+/g," ").trim();return r.length>160?r.slice(0,160).trimEnd()+"â¦":r}function k({name:t,url:r,size:a="w-7 h-7"}){const n=!t||t===b;return!n&&r?e.jsx("img",{src:r,alt:t,className:`${a} rounded-full object-cover`,loading:"lazy",decoding:"async"}):n?e.jsx("div",{className:`${a} rounded-full bg-primary flex items-center justify-center shrink-0`,children:e.jsx("span",{className:"text-white font-bold text-[10px] tracking-tight",children:"HX"})}):e.jsx("div",{className:`${a} rounded-full bg-primary/10 flex items-center justify-center shrink-0`,children:e.jsx("span",{className:"text-primary font-bold text-[11px]",children:t[0]})})}function R({post:t}){const r=u(t.category),a=v(t.publishedAt??t.createdAt),n=N(t);return e.jsx(i,{href:`/resources/blog/${t.slug}`,children:e.jsxs("article",{className:"group bg-slate-50 hover:bg-white border border-slate-200 hover:border-primary/30 rounded-sm p-6 sm:p-8 mb-6 cursor-pointer transition-all duration-200",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3 mb-5",children:[e.jsx("span",{className:`inline-flex items-center gap-1.5 text-xs font-bold uppercase tracking-wide px-3 py-1 rounded-full border ${r.color} ${r.textColor} shadow-sm`,children:r.label}),a&&e.jsx("span",{className:"font-mono text-[10px] text-slate-400 ml-auto",children:a})]}),e.jsx("h2",{className:"font-headline text-2xl sm:text-[1.75rem] font-bold text-slate-900 leading-[1.2] mb-3 group-hover:text-primary transition-colors",children:t.title}),t.subtitle&&e.jsx("p",{className:"text-slate-500 text-sm font-medium italic leading-relaxed border-l-2 border-primary/40 pl-3 mb-4",children:t.subtitle}),n&&e.jsx("p",{className:"text-slate-600 text-[15px] leading-relaxed mb-6",children:n}),e.jsxs("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx(k,{name:t.authorName,url:t.authorAvatarUrl}),e.jsx("span",{className:"text-slate-700 text-xs font-semibold",children:t.authorName||b}),t.readTime&&e.jsxs("span",{className:"text-slate-400 text-xs font-mono",children:["· ",t.readTime," min read"]})]}),e.jsxs("span",{className:"text-primary text-xs font-bold uppercase tracking-wider font-mono flex items-center gap-1 group-hover:gap-2 transition-all whitespace-nowrap",children:["Read article ",e.jsx("span",{className:"text-base leading-none",children:"â"})]})]}),t.tags&&t.tags.length>0&&e.jsx("div",{className:"flex flex-wrap gap-1.5 mt-4 pt-4 border-t border-slate-200",children:t.tags.map(l=>e.jsx("span",{className:"font-mono text-[10px] text-slate-500 bg-white border border-slate-200 rounded px-2 py-0.5 uppercase tracking-wide",children:l},l))})]})})}function B({post:t}){const r=u(t.category),a=v(t.publishedAt??t.createdAt),n=N(t);return e.jsx(i,{href:`/resources/blog/${t.slug}`,children:e.jsxs("article",{className:"group flex gap-4 sm:gap-5 py-5 sm:py-6 border-b border-slate-100 cursor-pointer last:border-0 hover:bg-slate-50/60 -mx-3 px-3 rounded-sm transition-colors duration-150",children:[e.jsx("div",{className:"shrink-0 hidden sm:block self-stretch pt-1",children:e.jsx("div",{className:`w-[3px] h-full min-h-[60
1px] rounded-full ${r.bar}`})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-2",children:[e.jsx("span",{className:`inline-flex items-center text-[10px] font-bold uppercase tracking-wide px-2.5 py-0.5 rounded-full border ${r.color} ${r.textColor}`,children:r.label}),a&&e.jsx("span",{className:"font-mono text-[10px] text-slate-400",children:a}),t.readTime&&e.jsxs("span",{className:"font-mono text-[10px] text-slate-400 ml-auto",children:[t.readTime," min"]})]}),e.jsx("h3",{className:"font-headline text-[1.05rem] sm:text-lg font-bold text-slate-900 leading-snug mb-1.5 group-hover:text-primary transition-colors",children:t.title}),n&&e.jsx("p",{className:"text-slate-500 text-sm leading-relaxed mb-3 line-clamp-2",children:n}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx(k,{name:t.authorName,url:t.authorAvatarUrl,size:"w-5 h-5"}),e.jsx("span",{className:"text-slate-600 text-xs font-medium",children:t.authorName||b}),t.tags&&t.tags.slice(0,2).map(l=>e.jsx("span",{className:"font-mono text-[10px] text-slate-400 bg-slate-100 border border-slate-200 rounded px-1.5 py-0.5 uppercase tracking-wide hidden sm:inline",children:l},l))]})]})]})})}function $(){return e.jsxs("div",{className:"py-6 border-b border-slate-100 animate-pulse",children:[e.jsxs("div",{className:"flex gap-3 mb-3",children:[e.jsx("div",{className:"h-3 bg-slate-200 rounded w-24"}),e.jsx("div",{className:"h-3 bg-slate-200 rounded w-16"})]}),e.jsx("div",{className:"h-5 bg-slate-200 rounded w-3/4 mb-2"}),e.jsx("div",{className:"h-5 bg-slate-200 rounded w-1/2 mb-3"}),e.jsx("div",{className:"h-3 bg-slate-200 rounded w-full mb-1.5"}),e.jsx("div",{className:"h-3 bg-slate-200 rounded w-5/6"})]})}function q(){const r=M().cat??"",a=u(r),n=r in h,l=P(),c=l.blogCategory===r?l.blogPosts:void 0,[m,x]=j.useState(()=>({cat:r,posts:c??[],loading:c===void 0})),d=m.cat===r?m.posts:c??[],g=m.cat===r?m.loading:c===void 0;if(j.useEffect(()=>{if(!n)return;const s=new AbortController;return x({cat:r,posts:c??[],loading:c===void 0}),fetch(`/api/blog?category=${encodeURIComponent(r)}`,{signal:s.signal}).then(o=>{if(!o.ok)throw new Error(`Blog listing HTTP ${o.status}`);return o.json()}).then(o=>{if(!Array.isArray(o))throw new Error("Invalid blog listing");s.signal.aborted||x({cat:r,posts:o,loading:!1})}).catch(()=>{s.signal.aborted||x(o=>({...o,loading:!1}))}),()=>s.abort()},[r,n,c]),!n)return e.jsxs(e.Fragment,{children:[e.jsx(w,{activePage:"resources",light:!0}),e.jsx("div",{className:"bg-white pt-20 min-h-screen flex items-center justify-center",children:e.jsxs("div",{className:"text-center py-24",children:[e.jsx("p",{className:"font-mono text-xs text-slate-400 uppercase tracking-widest mb-4",children:"Category not found"}),e.jsx(i,{href:"/resources/blog",className:"text-primary text-sm font-semibold hover:underline",children:"â Back to Blog"})]})}),e.jsx(y,{})]});const f=d[0],A=d.slice(1);return e.jsxs(e.Fragment,{children:[e.jsx(C,{title:a.seoTitle,description:a.seoDesc,canonical:`https://www.hublerx.ai/resources/blog/category/${r}`,type:"website"}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.hublerx.ai"},{"@type":"ListItem",position:2,name:"Blog",item:"https://www.hublerx.ai/resources/blog"},{"@type":"ListItem",position:3,name:a.label,item:`https://www.hublerx.ai/resources/blog/category/${r}`}]})}}),e.jsx(w,{activePage:"resources",light:!0}),e.jsxs("div",{className:"bg-white pt-20 min-h-screen",children:[e.jsx("div",{className:"bg-[#0d1b3e] border-b border-blue-900/40",children:e.jsxs("div",{className:"max-w-[1200px] mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsx("div",{className:"py-3 sm:py-4 border-b border-white/10",children:e.jsxs("nav",{className:"text-xs font-mono text-white/40 uppercase tracking-widest flex items-center gap-2",children:[e.jsx(i,{href:"/resources",className:"hover:text-white/70 transition-colors",children:"Resources"}),e.jsx("span",{children:"/"}),e.jsx(i,{href:"/resources/blog",className:"hover:text-white/70 transition-colors",children:"Blog"}),e.jsx("span",{children:"/"}),e.jsx("span",{className:"text-white/60",children:a.label})]})}),e.jsxs("div",{className:"py-8 sm:py-12 flex flex-col sm:flex-row sm:items-end sm:justify-between gap-6",children:[e.jsxs("div",{children:[e.jsx("span",{className:`inline-flex items-center text-xs font-bold uppercase tracking-wide px-3 py-1 rounded-full border ${a.color} ${a.textColor} mb-5`,children:a.label}),e.jsx("h1",{className:"font-headline text-3xl sm:text-4xl lg:text-5xl font-bold text-white tracking-tight leading-[1.1] max-w-2xl",children:a.label})]}),e.jsxs("div",{className:"sm:max-w-xs shrink-0",children:[e.jsx("p",{className:"text-white/50 text-sm leading-relaxed mb-2",children:a.description}),!g&&e.jsxs("span",{className:"font-mono text-[10px] text-white/30 uppercase tracking-widest",children:[d.length," article",d.length!==1?"s":""]})]})]})]})}),e.jsx("div",{className:"max-w-[1200px] mx-auto px-4 sm:px-6 lg:px-8 py-10 lg:py-14",children:e.jsxs("div",{className:"lg:grid lg:grid-cols-[1fr_300px] lg:gap-12 xl:gap-16",children:[e.jsx("div",{children:g?e.jsx("div",{children:[...Array(4)].map((s,o)=>e.jsx($,{},o))}):d.length===0?e.jsxs("div",{className:"py-24 text-center",children:[e.jsx("div",{className:"inline-flex w-14 h-14 roun
1ded-full bg-slate-100 items-center justify-center mb-5",children:e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"text-slate-400",children:[e.jsx("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),e.jsx("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]})}),e.jsx("p",{className:"font-mono text-xs text-slate-400 uppercase tracking-widest mb-2",children:"No articles yet"}),e.jsx("p",{className:"text-sm text-slate-500 mb-6",children:"We're working on content for this category. Check back soon."}),e.jsx(i,{href:"/resources/blog",className:"text-primary text-sm font-semibold hover:underline",children:"â Browse all articles"})]}):e.jsxs(e.Fragment,{children:[f&&e.jsx(R,{post:f}),A.map(s=>e.jsx(B,{post:s},s.id))]})}),e.jsxs("aside",{className:"hidden lg:block space-y-6 mt-0",children:[e.jsx(i,{href:"/resources/blog",children:e.jsxs("div",{className:"flex items-center gap-2 text-xs font-mono text-slate-500 hover:text-primary transition-colors uppercase tracking-wider mb-2 cursor-pointer",children:[e.jsx("span",{children:"â"})," ",e.jsx("span",{children:"All Articles"})]})}),e.jsxs("div",{className:"border border-slate-200 rounded-sm p-4",children:[e.jsx("p",{className:"font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-primary mb-3",children:"Browse Categories"}),e.jsx("div",{className:"space-y-1",children:E.map(s=>{const o=u(s.key),p=s.key===r;return e.jsx(i,{href:`/resources/blog/category/${s.key}`,children:e.jsxs("div",{className:`flex items-center gap-2.5 py-2 px-2 rounded-sm transition-colors cursor-pointer ${p?"bg-slate-100":"hover:bg-slate-50"}`,children:[e.jsx("div",{className:`w-2 h-2 rounded-full ${o.bar} shrink-0`}),e.jsx("span",{className:`text-[12.5px] font-medium leading-snug ${p?"text-slate-900 font-semibold":"text-slate-600"}`,children:s.label}),p&&!g&&e.jsx("span",{className:"ml-auto text-[10px] font-mono text-slate-400",children:d.length})]})},s.key)})})]}),e.jsxs("div",{className:"border border-slate-200 rounded-sm p-4",children:[e.jsx("p",{className:"font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-primary mb-3",children:"Software Guides"}),e.jsx("div",{className:"space-y-3",children:[{href:"/manufacturing-operations-software",title:"Manufacturing Operations Software",sub:"Complete Guide"},{href:"/rfq-automation-software",title:"RFQ Automation Software",sub:"RFQ to Quote"},{href:"/order-management-software",title:"Order Management Software",sub:"Orders to ERP"},{href:"/whatsapp-order-management-software",title:"WhatsApp Order Management",sub:"WhatsApp to ERP"},{href:"/pricing-promotion-management-software",title:"Pricing & Promotion Software",sub:"Rules & Margins"},{href:"/pricing-promotion-management",title:"Pricing & Promotion Management",sub:"Trade Schemes & Channels"},{href:"/production-planning-demand-management-software",title:"Production Planning Software",sub:"Built on Your ERP"},{href:"/resources/manufacturing-execution-software",title:"Manufacturing Execution Software",sub:"Shop Floor to ERP"},{href:"/resources/manufacturing-execution",title:"Manufacturing Execution Guide",sub:"MES vs ERP vs MOS"},{href:"/resources/manufacturing-software-buyers-guide-india",title:"Software Buyer's Guide · India",sub:"Mid-Market Manufacturers"}].map(s=>e.jsx(i,{href:s.href,children:e.jsxs("div",{className:"group flex items-start gap-2.5 hover:bg-slate-50 rounded-sm py-1 transition-colors cursor-pointer",children:[e.jsx("div",{className:"shrink-0 mt-0.5 w-7 h-7 rounded-sm bg-slate-100 flex items-center justify-center",children:e.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",className:"text-slate-500",children:[e.jsx("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),e.jsx("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[12.5px] font-semibold text-slate-700 group-hover:text-primary leading-snug transition-colors",children:s.title}),e.jsx("p",{className:"text-[11px] text-slate-400 mt-0.5",children:s.sub})]})]})},s.href))})]}),e.jsxs("div",{className:"bg-[#0d1b3e] rounded-sm p-5",children:[e.jsx("p",{className:"font-mono text-[10px] font-bold uppercase tracking-[0.18em] text-emerald-400 mb-2",children:"See HublerX Live"}),e.jsx("p",{className:"text-sm text-white/70 leading-relaxed mb-4",children:"Get a 30-minute demo configured for your factory setup."}),e.jsx(i,{href:"/get-a-demo",children:e.jsx("button",{className:"w-full bg-emerald-600 hover:bg-emerald-500 text-white text-xs font-bold uppercase tracking-widest font-mono py-2.5 rounded-sm transition-colors",children:"Request a Demo â"})})]})]})]})})]}),e.jsx(y,{})]})}
1export{q 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.