1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8134],{8134:function(e,t,n){n.d(t,{Z:function(){return F}});var s=n(2850),a=n(9008),i=n.n(a),l=n(1163),r=n(3015),o=n(7294),c=n(4184),u=n.n(c),m=n(3385),p=n(7058),d=n(6173),f=n(7467),x=n(2510),g=n(4080),h=n(5893),v=function(e){var t,n=e.children,s=e.renderButton,a=e.className,i=e.panelClassname,l=e.useHover,r=(0,o.useRef)(null),c=(0,o.useRef)(null),m=function(){return null===r||void 0===r?void 0:r.current.click()},p=function(e){clearTimeout(t),e&&m()},d=function(e){e&&(t=setTimeout((function(){return function(){var e;return null===c||void 0===c||null===(e=c.current)||void 0===e?void 0:e.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0,cancelable:!0}))}()}),200))};return(0,h.jsx)(x.v,{children:function(e){var t=e.open,o=e.close;return(0,h.jsxs)("div",{className:u()("relative",a),children:[(0,h.jsx)("div",{onClick:m,onMouseEnter:function(){return l&&p(!t)},onMouseLeave:function(){return l&&d(t)},children:(0,h.jsx)(x.v.Button,{className:"outline-none",ref:r,children:"function"===typeof s?s(t):s})}),(0,h.jsx)(g.u,{show:t,enter:"transition duration-100 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",children:(0,h.jsx)(x.v.Items,{ref:c,onMouseEnter:function(){return l&&p()},onMouseLeave:function(){return l&&d(t)},className:u()("absolute outline-none",i),static:!0,children:(0,h.jsx)(h.Fragment,{children:"function"===typeof n?n(t,o):n})})})]})}})},j=function(e){var t=e.title,n=e.icon,s=e.type,a=e.selectList,i=e.onClick,l=e.onMouseOver,r=e.onMouseLeave;return(0,h.jsxs)(h.Fragment,{children:["button"===s&&(0,h.jsxs)("button",{className:u()("H14B inline-flex items-center space-x-1.5","pl-3 pr-2 py-[6px] transition","text-black"),onClick:i,onMouseOver:l,onMouseLeave:r,children:[(0,h.jsx)("span",{className:"inline-flex hover:text-blue-500",children:n}),(0,h.jsx)("span",{className:"inline-block",children:t})]}),"select"===s&&(0,h.jsx)(v,{panelClassname:"top-5 -left-2",className:"transition",useHover:!0,renderButton:function(e){return(0,h.jsx)("div",{className:u()("inline-flex items-center rounded px-3 py-2 transition"),onClick:i,children:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{className:u()("H14B inline-flex items-center space-x-1.5","pl-3 pr-2 py-[6px] transition"),children:t}),(0,h.jsx)(f.d,{className:"flex self-center",type:"icon_chevron_down",size:"s"})]})})},children:function(e,t){return(0,h.jsx)("div",{className:"w-[600px] rounded-[16px] bg-white shadow-md px-8 py-6 flex flex-col gap-5 translate-y-1",children:a.map((function(e,n){return(0,h.jsx)("button",{className:u()("H14B transition","text-black w-full","inline-flex items-center","hover:text-blue-500"),onClick:function(n){e.onClick(n),t()},children:e.title},n)}))})}})]})},k=function(){var e=(0,p.$)(m.t.Common).t,t=d.ZP.useContainer(),n=t.currentScreen,s=t.changeScreen,a=(0,l.useRouter)(),i=(0,o.useCallback)((function(e){if(n!==d.TW.Home)return s(d.TW.Home),void a.push("/".concat(e?"#".concat(e):""),void 0,{scroll:!1});e&&document.getElementById(e).scrollIntoView({behavior:"smooth"})}),[]),r=(0,o.useCallback)((function(){s(d.TW.Documents),a.push("/documents")}),[]),c=(0,o.useMemo)((function(){return[{title:e("manipulate_switcher.home"),type:"select",onClick:function(){i("section1")},screenType:d.TW.Home,selectList:[{title:e("home_page.section2"),onClick:function(){i("section2")}},{title:e("home_page.section3"),onClick:function(){i("section3")}},{title:e("home_page.section4"),onClick:function(){i("section4")}},{title:e("home_page.section5"),onClick:function(){i("section5")}},{title:e("home_page.faq"),onClick:function(){i("faq")}}]},{title:e("manipulate_switcher.documents"),type:"button",onClick:r,screenType:d.TW.Documents}]}),[r,e]);return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{className:"items-center space-x-4 flex relative",children:c.map((function(e,t){return(0,h.jsx)(j,{onClick:e.onClick,title:e.title,type:e.type,selectList:null===e||void 0===e?void 0:e.selectList},t)}))})})},y=n(2354),b=function(e){var t=e.className;return(0,h.jsx)("div",{className:u()("inline-block",t),children:(0,h.jsx)("svg",{className:"w-full h-full",width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,h.jsx)("path",{d:"M4.64645 5.39645L0.853553 1.60355C0.538571 1.28857 0.761654 0.75 1.20711 0.75H8.79289C9.23835 0.75 9.46143 1.28857 9.14645 1.60355L5.35355 5.39645C5.15829 5.59171 4.84171 5.59171 4.64645 5.39645Z",fill:"currentColor"})})})},w=n(1834),C=n(759),N=n(9499),O=n(4730),T=["className","children","variant","as"];function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?_(Object(n),!0).forEach((function(t){(0,N.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B=(0,o.forwardRef)((function(e,t){var n=e.className,s=e.children,a=e.variant,i=void 0===a?"T16R":a,l=e.as,r=void 0===l?"p":l,c=(0,O.Z)(e,T),m=(0,o.useMemo)((function(){switch(i){case"H56B+":return"font-bold text-[56px] leading-[56px]";case"H30B+":return"font-bold text-[30px] leading-[40px]";case"H44B":return"font-semibold text-[44px] leading-[56px]";case"B32B":return"font-semibold text-[32px] leading-[44px]";case"H24B":return"font-semibold text-[24px] leading-[32px]";case"H20B":return"font-semibold text-[20px] leading-[28px] tracking-[0.02em]";case"H16B":return"font-semibold text-[16px] leading-[20px]";case"H14B":return"font-semibold text-[14px] leading-[18px]";case"T20R":return"font-normal text-[20px] leading-[30px]";case"T16R":default:return"font-normal text-[16px] leading-[24px]";case"T14R":return"font-normal text-[14px] leading-[20px]";case"T12R":return"font-normal text-[12px] leading-[18px]";case"S12B":return"font-semibold text-[12px] leading-[16px]";case"S10B":return"font-semibold text-[10px] leading-[14px]"}}),[i]);return(0,h.jsx)(r,H(H({ref:t,className:u()(m,n)},c),{},{children:s}))}));B.displayName="Typography";var P=n(9801),L=n(2286),E=[{key:"en",name:"English",flag:"/images/flags/en.svg"},{key:"vi",name:"Ti\u1ebfng Vi\u1ec7t",flag:"/images/flags/vn.svg"},{key:"id",name:"Bahasa Indonesia",flag:"/images/flags/id.svg"},{key:"pt",name:"Portugu\xeas",flag:"/images/flags/pt.svg"},{key:"ms",name:"Bahasa Malaysia",flag:"/images/flags/my.svg"},{key:"cs",name:"Czech",flag:"/images/flags/cz.svg"},{key:"es",name:"Espa\xf1ol",flag:"/images/flags/es.svg"},{key:"fr",name:"Fran\xe7ais",flag:"/images/flags/fr.svg"},{key:"de",name:"German",flag:"/images/flags/de.svg"},{key:"el",name:"Greek",flag:"/images/flags/gr.svg"},{key:"hu",name:"Hungary",flag:"/images/flags/hu.svg"},{key:"it",name:"Italian",flag:"/images/flags/it.svg"},{key:"nl",name:"Netherlands",flag:"/images/flags/nl.svg"},{key:"th",name:"Thai",flag:"/images/flags/th.svg"},{key:"tr",name:"Turkish",flag:"/images/flags/tr.svg"},{key:"uk",name:"Ukrainian",flag:"/images/flags/ua.svg"},{key:"ru",name:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",flag:"/images/flags/ru.svg"},{key:"ko",name:"\ud55c\uad6d\uc5b4",flag:"/images/flags/kr.svg"},{key:"ja",name:"\u65e5\u672c\u8a9e",flag:"/images/flags/jp.svg"},{key:"ar",name:"Saudi Arabia",flag:"/images/flags/sa.svg"}],M=function(e){var t=e.imgUrl,n=e.name,s=e.onClick;return(0,h.jsxs)("button",{onClick:s,className:u()("flex w-full items-center space-x-2 p-2","tlg:transition tlg:hover:bg-neutral-ink-100 tlg:rounded"),children:[(0,h.jsx)("img",{src:t,alt:"flag",className:"w-7 h-5 tlg:w-[22px] rounded-sm"}),(0,h.jsx)(B,{as:"span",variant:"T14R",className:"text-neutral-ink-600",children:n})]})},Z=function(){var e=(0,r.$G)(m.t.Home).t,t=(0,l.useRouter)(),n=(0,P.Z)(),a=E.find((function(e){return e.key===t.locale})),i=(0,o.useCallback)((function(e){n.pageview("/".concat(e.key)),n.event({action:s.jW.HOMEPAGE_CLICK_LANGUAGE,params:{lang:e.key}}),(0,L.setCookie)(null,"NEXT_LOCALE",e.key),t.push(t.asPath,void 0,{locale:e.key})}),[n,t]);return(0,h.jsx)("div",{children:(0,h.jsx)(C.Z,{panelClassname:"right-0 sm:-top-2 sm:-right-[52px] sm:w-[100vw]",renderButton:(0,h.jsxs)("div",{className:u()("inline-flex items-center space-x-2","tlg:transition tlg:hover:bg-neutral-ink-100 tlg:rounded tlg:p-2"),children:[(0,h.jsx)("img",{src:a.flag,alt:"flag",className:"w-7 h-5 tlg:w-[22px] rounded-sm"}),(0,h.jsx)(B,{as:"span",variant:"H14B",className:"text-neutral-ink-600 hidden tlg:inline-block",children:a.name}),(0,h.jsx)(b,{className:"text-neutral-ink-500 hidden tlg:inline-block w-[10px]"})]}),children:function(t,n){return(0,h.jsxs)("div",{className:u()("py-[10px] px-2 translate-x-2 translate-y-5 bg-white","w-screen h-screen border-t","tlg:w-[360px] tlg:h-auto","tlg:border tlg:rounded-md tlg:shadow-md tlg:translate-x-0","tlg:absolute tlg:right-0 tlg:top-full tlg:translate-y-2"),children:[(0,h.jsxs)("div",{className:"flex justify-between items-center mb-2 px-2 tlg:block",children:[(0,h.jsx)(B,{variant:"H16B",as:"span",children:e("language")}),(0,h.jsx)("button",{className:"inline-flex p-1 tlg:hidden",onClick:n,children:(0,h.jsx)(w.Z,{className:"w-7 h-7"})})]}),(0,h.jsx)("ul",{className:u()("w-full grid grid-cols-2 gap-y-1"),
1children:E.map((function(e){return(0,h.jsx)("li",{children:(0,h.jsx)(M,{imgUrl:e.flag,name:e.name,showIcon:!1,onClick:function(){return i(e)}})},e.key)}))})]})}})})},D=n(8368),S=function(e){var t=e.key,n=e.active,s=e.title,a=e.type,i=e.selectList,l=e.handleClose,r=e.onClick,o=e.onMouseOver,c=e.onMouseLeave;return(0,h.jsxs)(h.Fragment,{children:["button"===a&&function(e,t,n){return(0,h.jsx)("button",{className:u()("w-full","text-[24px] leading-[24px] text-start font-semibold","pl-[20px] py-[16px] transition","text-black"),onClick:function(){n(),l()},onMouseOver:o,onMouseLeave:c,children:(0,h.jsx)("span",{className:"inline-block",children:t})},e)}(t,s,r),"select"===a&&(0,h.jsx)(D.p,{children:function(e){var a=e.open;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(D.p.Button,{className:u()("flex items-center justify-between w-full bg-white","px-[20px] py-[16px] transition"),onClick:function(){n||(r(),l())},children:[(0,h.jsx)("h3",{className:u()("text-[24px] leading-[24px] text-start font-semibold"),children:s}),(0,h.jsx)("div",{className:"w-4 text-neutral",children:a?(0,h.jsx)(f.d,{type:"icon_chevron_down"}):(0,h.jsx)(f.d,{type:"chevron_right"})})]}),(0,h.jsx)(D.p.Panel,{className:"pl-[20px] font-normal text-neutral-gray",children:(0,h.jsx)("div",{className:"flex flex-col",children:i.map((function(e,n){return(0,h.jsx)("button",{className:u()("w-full","text-[16px] leading-[20px] text-start font-semibold","pl-[20px] py-[16px] transition","text-black"),onClick:function(){e.onClick(),l()},onMouseOver:o,onMouseLeave:c,children:(0,h.jsx)("span",{className:"inline-block",children:e.title})},t)}))})})]})}})]})},W=function(){var e=(0,p.$)(m.t.Common).t,t=d.ZP.useContainer(),n=t.changeScreen,s=t.currentScreen,a=(0,o.useCallback)((function(){s!==d.TW.Home&&n(d.TW.Home)}),[n,s]),i=(0,o.useCallback)((function(){s!==d.TW.Documents&&n(d.TW.Documents)}),[n,s]),l=(0,o.useCallback)((function(e){var t;s===d.TW.Home&&(null===(t=document.getElementById(e))||void 0===t||t.scrollIntoView({block:"start",behavior:"smooth"}))}),[n,s]),r=(0,o.useMemo)((function(){return[{title:e("manipulate_switcher.home"),type:"select",onClick:function(){a(),window.scrollTo({top:0,behavior:"smooth"})},screenType:d.TW.Home,selectList:[{title:e("home_page.section2"),onClick:function(){a(),l("section2")}},{title:e("home_page.section3"),onClick:function(){a(),l("section3")}},{title:e("home_page.section4"),onClick:function(){a(),l("section4")}},{title:e("home_page.section5"),onClick:function(){a(),l("section5")}},{title:e("home_page.faq"),onClick:function(){a(),l("faq")}}]},{title:e("manipulate_switcher.documents"),type:"button",onClick:i,screenType:d.TW.Documents}]}),[i,e]);return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(C.Z,{panelClassname:"right-0 top-3 sm:-right-[16px] sm:w-[100vw]",renderButton:(0,h.jsx)("div",{className:u()("inline-flex items-center space-x-2","tlg:transition tlg:hover:bg-neutral-ink-100 tlg:rounded tlg:p-2"),children:(0,h.jsx)(f.d,{type:"menu",size:"l"})}),children:function(e,t){return(0,h.jsxs)("div",{className:u()("bg-white","w-screen h-screen border-t"),children:[(0,h.jsx)("div",{className:"flex justify-between items-center tlg:block",children:(0,h.jsx)("button",{className:"inline-flex p-1 tlg:hidden",onClick:t})}),(0,h.jsx)("div",{className:u()("flex flex-col"),children:r.map((function(e,n){return(0,h.jsx)(S,{onClick:function(){e.onClick()},handleClose:t,active:s===e.screenType,title:e.title,type:e.type,selectList:null===e||void 0===e?void 0:e.selectList},n)}))})]})}})})},R=function(){return(0,h.jsx)("div",{className:"fixed left-0 top-0 z-50 w-full",children:(0,h.jsxs)("div",{className:u()("w-full h-[76px] flex items-center justify-between shadow-md","backdrop-filter backdrop-blur-lg bg-opacity-50 bg-white","relative z-50","sm:h-[56px]"),children:[(0,h.jsx)("div",{className:"px-8 flex items-center sm:px-4",children:(0,h.jsx)(y.Z,{})}),(0,h.jsx)("div",{className:"w-full sm:w-auto sm:hidden",children:(0,h.jsx)(k,{})}),(0,h.jsxs)("div",{className:"flex space-x-2 pr-8 items-center whitespace-nowrap sm:pr-4 sm:gap-[12px]",children:[(0,h.jsx)(Z,{}),(0,h.jsx)("span",{className:"hidden sm:block",children:(0,h.jsx)(W,{})})]})]})})},F=function(e){var t=e.children,n=e.customMeta,a=e.showHeader,o=void 0===a||a,c=(0,r.$G)(m.t.Common).t,u=(0,l.useRouter)(),p={title:c("meta.title"),description:c("meta.description")};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(i(),{children:[(0,h.jsx)("meta",{charSet:"UTF-8"}),(0,h.jsx)("meta",{name:"google",content:"notranslate"}),(0,h.jsx)("meta",{name:"google-site-verification",content:"CqC7LDw3JuJu-LdjlEtChryo0zfngkks1d6YGPAlaaQ"}),(0,h.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),(0,h.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}),(0,h.jsx)("title",{children:p.title}),(0,h.jsx)("meta",{name:"description",content:p.description}),(0,h.jsx)("meta",{name:"robots",content:"index, follow"}),(0,h.jsx)("meta",{name:"revisit-after",content:"1 days"}),(0,h.jsx)("meta",{itemProp:"name",content:p.title}),(0,h.jsx)("meta",{name:"author",content:"SnapTeam"}),(0,h.jsx)("meta",{itemProp:"image",content:"/preview.webp"}),(0,h.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,h.jsx)("meta",{name:"twitter:title",content:p.title}),(0,h.jsx)("meta",{name:"twitter:description",content:p.description}
1),(0,h.jsx)("meta",{name:"twitter:image:src",content:"/preview.webp"}),(0,h.jsx)("meta",{property:"og:title",content:p.title}),(0,h.jsx)("meta",{property:"og:type",content:"article"}),(0,h.jsx)("meta",{property:"og:description",content:p.description}),(0,h.jsx)("meta",{property:"og:site_name",content:p.title}),(0,h.jsx)("link",{rel:"shortcut icon",href:"https://assets.snapedit.app/passport/images/favicon.png"}),(0,h.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"https://assets.snapedit.app/passport/images/favicon.png"}),(0,h.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"https://assets.snapedit.app/passport/images/favicon.png"}),(0,h.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"https://assets.snapedit.app/passport/images/favicon.png"}),(0,h.jsx)("meta",{property:"og:image",content:"/preview.webp"}),(0,h.jsx)("link",{rel:"alternate",href:"https://passportmaker.com",hrefLang:"x-default"}),(0,h.jsx)("link",{rel:"alternate",href:"https://passportmaker.com",hrefLang:"en"}),s.Mj.slice(1).map((function(e){return(0,h.jsx)("link",{rel:"alternate",href:"https://passportmaker.com/".concat(e.key),hrefLang:e.key},"".concat(e.key,"_alternate"))})),(0,h.jsx)("link",{rel:"canonical",href:"https://passportmaker.com".concat("en"===u.locale?"":u.locale?"/".concat(u.locale):"")}),n]}),o&&(0,h.jsx)(R,{}),t,(0,h.jsx)("div",{id:"modal"}),(0,h.jsx)("div",{id:"cursor",className:"sm:hidden"})]})}},2354:function(e,t,n){var s=n(2182),a=n(1163),i=(n(7294),n(6173)),l=n(5893);t.Z=function(e){var t=e.white,n=(0,a.useRouter)(),r=i.ZP.useContainer().changeScreen;return(0,l.jsx)("button",{onClick:function(){r(i.TW.Home),n.push("/","/",{locale:n.locale})},className:"text-primary flex",children:(0,l.jsx)(s.fZ,{className:"h-[22px] content-center",white:t})})}},3385:function(e,t,n){var s;n.d(t,{t:function(){return s}}),function(e){e.Home="home",e.Document="document",e.Common="common",e.MakePhoto="make_photo",e.NewVersion="new_version"}(s||(s={}))},9801:function(e,t,n){var s=n(9499),a=n(5617),i=n(5940);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,s.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(){var e=(0,a.v9)(i.y$).session_id;return{pageview:function(e){window.gtag("config","G-WS7CY4JC61",{page_path:e})},event:function(t){var n=t.action,s=t.params,a=void 0===s?{}:s;window.gtag("event",n,r(r({},a),{},{session_id:e}))}}}}}]);
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.