1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7510],{5309:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apply-extra-services",function(){return r(1648)}])},5128:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(5893),a=r(490);r(7294);var i=r(5675),l=r.n(i),o=r(1664),s=r.n(o),c=r(7762);let u=e=>e.startsWith("/")||e.startsWith("https://visaonlinevietnam.com")||e.startsWith("https://www.visaonlinevietnam.com"),d=e=>{let t=(0,a.zD)(e,{decodeEntities:!1,xmlMode:!1,recognizeSelfClosing:!0});return t("img").each((e,r)=>{let a=t(r).attr("src");if(!a)return;let i=t(r).attr("alt")||"",o=parseInt(t(r).attr("width")||"1000",10),s=parseInt(t(r).attr("height")||"1000",10),u=(0,n.jsx)(l(),{src:a,alt:i,width:o,height:s,layout:"responsive",sizes:"(min-width: 1600px) 1091px, (min-width: 1040px) calc(91.85vw - 360px), calc(100vw - 48px)",quality:100}),d=c.renderToStaticMarkup(u);t(r).replaceWith(d)}),t("a").each((e,r)=>{let a=t(r).attr("href");if(!a)return;let i=t(r).text();if(u(a)){let e=(0,n.jsx)(s(),{href:a,prefetch:!1,children:i}),l=c.renderToStaticMarkup(e);t(r).replaceWith(l)}else{let e=(0,n.jsx)(s(),{href:a,target:"_blank",rel:"noopener noreferrer nofollow",prefetch:!1,children:i}),l=c.renderToStaticMarkup(e);t(r).replaceWith(l)}}),t.html()||""},h=e=>{if(!e)return"";let t=(0,a.zD)(e,{decodeEntities:!1,xmlMode:!1,recognizeSelfClosing:!0});return t('*[style*="font-family"], *[style*="-webkit-text-stroke-width"], *[style*="padding"], *[style*="margin"]').removeAttr("style"),t("ul, ol").addClass("list"),t('ul[style*="list-style-type:square"]').removeAttr("style").addClass("list-check"),t("table").each((e,r)=>{let n=t('<div class="overflow-x-scroll max-w-[calc(100vw-48px)] md:max-w-[100vw]"></div>');t(r).wrap(n)}),t("h2, h3").each((e,r)=>{let n=t(r).attr("id")||t(r).text().trim().replace(/\s+/g,"-").toLowerCase();t(r).attr("id",n)}),t('a[href^="http:"]').each((e,r)=>{let n=t(r).attr("href");n&&t(r).attr("href",n.replace("http:","https:"))}),t.html()||""};var f=r(4777),p=e=>{let{html:t,className:r,id:a}=e,i=d(h(t));return(0,n.jsx)("div",{className:(0,f.cn)("description",r),id:a,dangerouslySetInnerHTML:{__html:i}})}},4518:function(e,t,r){"use strict";r.d(t,{X:function(){return l}});var n=r(5893),a=r(5128),i=r(7294);let l=e=>{var t;let{className:r="",initialFormData:l}=e,[o,s]=(0,i.useState)(l||null);return((0,i.useEffect)(()=>{l||fetch("/api/v1/public/list?applyVisaFormNoti=true").then(e=>e.json()).then(e=>{s(e.data)}).catch(e=>{console.error("Error fetching form data:",e)})},[l]),null==o?void 0:null===(t=o.applyVisaFormNoti)||void 0===t?void 0:t.des)?(0,n.jsx)(a.Z,{className:"announcement mb-2 !rounded bg-[#cbe1f9] px-4 py-2 ".concat(r),html:o.applyVisaFormNoti.des}):null}},1537:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(5893),a=r(1163),i=r(7294);let l=()=>!1,o=()=>{let e="https://form.visaonlinevietnam.com".replace(/\/$/,"");return e?l()?"".concat(e,"/src/main.jsx"):"/api/form-proxy":(console.error("NEXT_PUBLIC_FORM_SITE_URL is not configured"),null)},s=()=>{let e=(0,a.useRouter)();(0,i.useEffect)(()=>{Object.keys(e.query).length>0&&"onepayResult"===e.query.route&&void 0!=e.query.refid&&e.push("/check-status?code=".concat(e.query.refid));let t=o();if(!t)return;let r=document.createElement("script");return r.src=t,r.async=!0,r.type="module",r.crossOrigin="anonymous",r.onerror=e=>{console.warn("External form script failed to load:",t,e)},r.onload=()=>{console.log("External form script loaded successfully from",t)},document.body.appendChild(r),e.events.on("routeChangeStart",t=>{window.location.href=e.basePath+t}),()=>{document.body.contains(r)&&document.body.removeChild(r)}},[e])};var c=r(4777),u=e=>{let{formId:t,className:r}=e;return s(),(0,n.jsx)("div",{className:(0,c.cn)("max-w-[100vw]",r),id:"formVisaOnlineVietnam","data-form-id":t})}},1648:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return l}});var n=r(5893),a=r(4518),i=r(1537),l=!0;t.default=e=>{let{formNotiData:t}=e;return(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)(a.X,{initialFormData:t}),(0,n.jsx)(i.Z,{formId:"form-3"})]})}}},function(e){e.O(0,[9774,1664,490,2888,179],function(){return e(e.s=5309)}),_N_E=e.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.