1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[46406],{6855:(e,o,n)=>{n.d(o,{default:()=>s});var t=n(95155),r=n(12115),i=n(52619),a=n.n(i),l=n(70571);let d={flex:1,minWidth:160,padding:"10px 12px",fontSize:13.5,border:"1px solid var(--line)",background:"#fff",color:"var(--ink)",fontFamily:"inherit"};function s(e){let{source:o,heading:n,serviceHref:i,serviceText:s}=e,[c,u]=(0,r.useState)(""),[g,p]=(0,r.useState)(""),[m,f]=(0,r.useState)("idle");async function h(e){e.preventDefault(),c.trim()&&(f("sending"),f((await (0,l.eX)({email:c.trim(),name:g.trim()||void 0,source:o,market:"indonesia",topic:"bpom"})).ok?"done":"error"))}return"done"===m?(0,t.jsx)("div",{style:{marginTop:20,padding:"16px 20px",background:"var(--off-white)",borderLeft:"3px solid var(--orange)",fontSize:14,color:"var(--ink)"},children:"Thanks â our Indonesia team will be in touch within one working day."}):(0,t.jsxs)("form",{onSubmit:h,style:{marginTop:20,padding:"16px 20px",background:"var(--off-white)",borderLeft:"3px solid var(--orange)"},children:[(0,t.jsxs)("div",{style:{fontSize:14,fontWeight:700,color:"var(--ink)",marginBottom:10},children:[n," ",(0,t.jsx)("span",{style:{fontWeight:400,color:"var(--ink-mute)"},children:"Talk to our Indonesia team."})]}),(0,t.jsxs)("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:[(0,t.jsx)("input",{type:"text",value:g,onChange:e=>p(e.target.value),placeholder:"Your name (optional)",autoComplete:"name",style:d}),(0,t.jsx)("input",{type:"email",required:!0,value:c,onChange:e=>u(e.target.value),placeholder:"[email protected]",autoComplete:"email",style:d}),(0,t.jsx)("button",{type:"submit",disabled:"sending"===m||!c.trim(),style:{padding:"10px 18px",background:"var(--orange)",color:"#fff",border:"none",fontSize:13.5,fontWeight:700,cursor:"sending"!==m&&c.trim()?"pointer":"not-allowed"},children:"sending"===m?"Sendingâ¦":"Get in touch"})]}),i&&s&&(0,t.jsx)("div",{style:{marginTop:10,fontSize:12.5},children:(0,t.jsxs)(a(),{href:i,style:{color:"var(--blue)",fontWeight:600,textDecoration:"none"},children:[s," â"]})}),"error"===m&&(0,t.jsx)("div",{role:"alert",style:{marginTop:8,fontSize:12.5,color:"#b91c1c"},children:"Couldnât send â email [email protected] instead."})]})}},46406:(e,o,n)=>{n.r(o),n.d(o,{default:()=>u});var t=n(95155),r=n(12115),i=n(52619),a=n.n(i),l=n(6855);let d={NA:{categorySlug:"cosmetics",categoryLabel:"Cosmetic",origin:null,note:"notified for the Asia region (includes Indonesian manufacture)"},NB:{categorySlug:"cosmetics",categoryLabel:"Cosmetic",origin:"imported",note:"manufactured in Australia"},NC:{categorySlug:"cosmetics",categoryLabel:"Cosmetic",origin:"imported",note:"manufactured in Europe"},ND:{categorySlug:"cosmetics",categoryLabel:"Cosmetic",origin:"imported",note:"manufactured in Africa"},NE:{categorySlug:"cosmetics",categoryLabel:"Cosmetic",origin:"imported",note:"manufactured in the Americas"},NK:{categorySlug:"cosmetics",categoryLabel:"Cosmetic",origin:null,note:"older registration scheme"},MD:{categorySlug:"food",categoryLabel:"Processed food",origin:"domestic",note:null},ML:{categorySlug:"food",categoryLabel:"Processed food",origin:"imported",note:null},TR:{categorySlug:"traditional-medicine",categoryLabel:"Traditional medicine",origin:"domestic",note:null},TI:{categorySlug:"traditional-medicine",categoryLabel:"Traditional medicine",origin:"imported",note:null},SD:{categorySlug:"supplements",categoryLabel:"Health supplement",origin:"domestic",note:null},SI:{categorySlug:"supplements",categoryLabel:"Health supplement",origin:"imported",note:null},SL:{categorySlug:"supplements",categoryLabel:"Health supplement",origin:null,note:"licensed"},AKD:{categorySlug:"medical-devices",categoryLabel:"Medical device",origin:"domestic",note:null},AKL:{categorySlug:"medical-devices",categoryLabel:"Medical device",origin:"imported",note:null},PKD:{categorySlug:"household",categoryLabel:"Household product (PKRT)",origin:"domestic",note:null},PKL:{categorySlug:"household",categoryLabel:"Household product (PKRT)",origin:"imported",note:null},PK:{categorySlug:"household",categoryLabel:"Household product (PKRT)",origin:null,note:null},DK:{categorySlug:"drugs",categoryLabel:"Pharmaceutical drug",origin:null,note:null},DBL:{categorySlug:"drugs",categoryLabel:"Pharmaceutical drug",origin:"domestic",note:"over-the-counter (bebas)"},DTL:{categorySlug:"drugs",categoryLabel:"Pharmaceutical drug",origin:"domestic",note:"limited OTC (terbatas)"},GKL:{categorySlug:"drugs",categoryLabel:"Pharmaceutical drug",origin:"domestic",note:"generic, prescription (keras)"},GKD:{categorySlug:"drugs",categoryLabel:"Pharmaceutical drug",origin:null,note:"generic, prescription (keras)"}},s="/indonesia/bpom-registration-indonesia/";function c(e){let{value:o}=e,n=function(e){let o=e.trim().toUpperCase().match(/^([A-Z]+)(\d{6,})$/);if(!o)return null;let n=o[1],t=d[n];return t?{prefix:n,...t}:{prefix:n,categorySlug:null,categoryLabel:"Unrecognized prefix",origin:null,note:null}}(o);if(!n||!n.categorySlug)return null;let r=n.origin?", ".concat(n.origin):"",i=n.note?" (".concat(n.note,")"):"";return(0,t.jsxs)("div",{style:{marginTop:14,fontSize:14,color:"var(--ink)"},children:["From the ",(0,t.jsx)("strong",{children:n.prefix})," prefix, this is a"," ",(0,t.jsx)(a(),{href:"/indonesia/tools/market-landscape/".concat(n.categorySlug,"/"),style:{color:"var(--blue)",fontWeight:600,textDecoration:"none"},children:n.categoryLabel.toLowerCase()}),r,i,"."]})}function u(){let[e,o]=(0,r.useState)(""),[n,i]=(0,r.useState)({kind:"idle"});async function a(o){o.preventDefault();let n=e.trim();if(n){i({kind:"loading"});try{let e=await fetch("/api/tools/bpom-check",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({number:n})}),o=await e.json();if(!o.ok){var t;i({kind:"error",message:null!=(t=o.error)?t:"Something went wrong."});return}if(!o.found)return void i({kind:"not_found"});i({kind:"found",product:o.product})}catch(e){i({kind:"error",message:e.message||"Network error."})}}}return(0,t.jsxs)("div",{style:{background:"#fff",border:"1px solid var(--line)",borderTop:"4px solid var(--orange)",padding:"clamp(14px, 4vw, 28px)",boxShadow:"0 10px 32px rgba(15,23,42,0.08)"},children:[(0,t.jsxs)("form",{onSubmit:a,children:[(0,t.jsx)("label",{htmlFor:"bpom-input",style:{display:"block",fontSize:11,fontWeight:700,color:"var(--ink-mute)",textTransform:"uppercase",letterSpacing:"0.12em",marginBottom:10},children:"Check a BPOM registration number"}),(0,t.jsxs)("div",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[(0,t.jsx)("input",{id:"bpom-input",type:"text",value:e,onCh
1ange:e=>o(e.target.value),placeholder:"e.g. NA18160100058",autoComplete:"off",disabled:"loading"===n.kind,style:{flex:1,minWidth:220,padding:"13px 14px",fontSize:15,border:"1px solid var(--line)",background:"#fff",color:"var(--ink)",fontFamily:"inherit"}}),(0,t.jsx)("button",{type:"submit",disabled:!e.trim()||"loading"===n.kind,style:{padding:"13px 22px",background:e.trim()&&"loading"!==n.kind?"var(--blue)":"#cbd5e1",color:"#fff",border:"none",fontSize:15,fontWeight:600,cursor:e.trim()&&"loading"!==n.kind?"pointer":"not-allowed"},children:"loading"===n.kind?"Checkingâ¦":"Check BPOM"})]}),(0,t.jsx)("div",{style:{marginTop:10,fontSize:11.5,color:"var(--ink-mute)"},children:"Data sourced from BPOM, updated daily."})]}),"error"===n.kind&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{marginTop:18,padding:"12px 16px",background:"#fef2f2",borderLeft:"3px solid #b91c1c",color:"#991b1b",fontSize:14},"aria-live":"polite",children:n.message}),(0,t.jsx)(c,{value:e})]}),"not_found"===n.kind&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{style:{marginTop:20,background:"#fffbeb",borderLeft:"3px solid #d97706",padding:"16px 20px",color:"#92400e"},children:[(0,t.jsx)("div",{style:{fontSize:11,fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:6},children:"No record found"}),(0,t.jsxs)("div",{style:{fontSize:14},children:["No BPOM record for that number. BPOM numbers look like ",(0,t.jsx)("code",{children:"NA18160100058"})," or ",(0,t.jsx)("code",{children:"MD123456789012"}),"."]}),(0,t.jsx)(c,{value:e})]}),(0,t.jsx)(l.default,{source:"id_bpom_check",heading:"Registering a product in Indonesia?",serviceHref:s,serviceText:"See how Emerhub handles BPOM registration"})]}),"found"===n.kind&&(0,t.jsx)(g,{product:n.product})]})}function g(e){let{product:o}=e,n=o.isActive?{label:"Active",color:"#16a34a"}:(o.status||"").toLowerCase().includes("cancel")?{label:"Cancelled",color:"#94a3b8"}:{label:"Expired",color:"#dc2626"},r=null!==o.daysUntilExpiry&&o.daysUntilExpiry<=90,i=[];return o.brand&&i.push(["Brand",o.brand]),o.form&&i.push(["Form",o.form]),o.expiryDate&&i.push(["Expiry","".concat(o.expiryDate).concat(null!==o.daysUntilExpiry?" \xb7 ".concat(o.daysUntilExpiry<0?"expired ".concat(Math.abs(o.daysUntilExpiry)," days ago"):"".concat(o.daysUntilExpiry," days remaining")):"")]),o.approvalDate&&i.push(["Approved",o.approvalDate]),o.owner&&i.push(["Owner",o.owner]),o.manufacturer&&i.push(["Manufacturer",o.manufacturer]),(0,t.jsxs)("div",{style:{marginTop:20},children:[(0,t.jsxs)("div",{style:{background:"var(--blue-deep)",color:"#fff",padding:"20px 24px"},children:[(0,t.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",gap:8,fontSize:11,fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:"#fff",marginBottom:8},children:[(0,t.jsx)("span",{"aria-hidden":!0,style:{width:9,height:9,borderRadius:"50%",background:n.color}})," ",n.label]}),(0,t.jsx)("div",{style:{fontSize:22,fontWeight:700,lineHeight:1.25},children:o.name}),(0,t.jsx)("div",{style:{fontFamily:"ui-monospace, monospace",fontSize:13,color:"#cbd5e1",marginTop:4},children:o.bpomNumber})]}),(0,t.jsx)("dl",{style:{margin:0,padding:"4px 24px",background:"#fff",border:"1px solid var(--line)",borderTop:"none"},children:i.map((e,o)=>{let[n,r]=e;return(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",gap:16,padding:"14px 0",borderBottom:o===i.length-1?"none":"1px solid var(--line-soft)",fontSize:14},children:[(0,t.jsx)("dt",{style:{fontSize:11,fontWeight:700,letterSpacing:"0.12em",textTransform:"uppercase",color:"var(--ink-mute)"},children:n}),(0,t.jsx)("dd",{style:{margin:0,color:"var(--ink)",textAlign:"right"},children:r})]},n)})}),(0,t.jsx)(l.default,{source:"id_bpom_check",heading:r?"This registration is expired or expiring soon â need to renew?":"Registering or maintaining products in Indonesia?",serviceHref:s,serviceText:"Emerhub handles BPOM registration & renewal"})]})}},70571:(e,o,n)=>{n.d(o,{eX:()=>d,ss:()=>s});var t=n(95704);let r=t.env.NEXT_PUBLIC_HUBSPOT_PORTAL_ID||"",i=t.env.NEXT_PUBLIC_HUBSPOT_FORM_GUID_INQUIRY||"",a=t.env.NEXT_PUBLIC_HUBSPOT_FORM_GUID_NEWSLETTER||t.env.NEXT_PUBLIC_HUBSPOT_FORM_GUID||"";async function l(e){var o,n,t,i,a;let{formGuid:l,fields:d,context:s}=e;if(!r||!l)return{ok:!1,reason:"not_configured",message:"Form not configured yet. Email [email protected] and we will follow up."};let c="undefined"!=typeof document?null==(o=document.cookie.match(/(?:^|;\s*)hubspotutk=([^;
1]+)/))?void 0:o[1]:void 0,u={pageUri:null!=(n=null==s?void 0:s.pageUri)?n:window.location.href,pageName:null!=(t=null==s?void 0:s.pageName)?t:"undefined"!=typeof document?document.title:"",...c?{hutk:c}:{}};try{let e=await fetch("".concat("https://api.hsforms.com/submissions/v3/integration/submit","/").concat(r,"/").concat(l),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:d,context:u})});if(!e.ok){let o=await e.json().catch(()=>null);return{ok:!1,reason:"http_error",message:null!=(i=null==o?void 0:o.message)?i:"HubSpot returned HTTP ".concat(e.status)}}return{ok:!0,reason:"ok",message:""}}catch(e){return{ok:!1,reason:"network_error",message:null!=(a=e.message)?a:"Network error. Please try again."}}}function d(e){var o;let n=[{name:"email",value:e.email}];if(e.name&&n.push({name:"firstname",value:e.name}),e.company&&n.push({name:"company",value:e.company}),n.push({name:"lead_source_detail",value:e.source}),n.push({name:"market",value:null!=(o=e.market)?o:"cross-market"}),e.topic&&n.push({name:"topic",value:e.topic}),e.extras)for(let[o,t]of Object.entries(e.extras))null!=t&&n.push({name:o,value:String(t)});return l({formGuid:i,fields:n,context:e.context})}function s(e,o){return l({formGuid:a,fields:[{name:"email",value:e}],context:o})}}}]);
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.