1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6499],{6499:(e,t,a)=>{a.d(t,{A:()=>A});var l=a(3014),s=a(1272),n=a(8272),r=a.n(n),i=a(308),c=a(584),d=a(1892),o=a(9481),m=a(9126),x=a(6325);let u=(0,a(507).v)(e=>({isOpen:!1,openCart:()=>e({isOpen:!0}),closeCart:()=>e({isOpen:!1}),toggleCart:()=>e(e=>({isOpen:!e.isOpen}))}));var h=a(4771),f=a(9181),b=a(1814),p=a(978),j=a(1727),v=a(9649),y=a(6738);function g(e){let{isOpen:t,onClose:a,handleSubmit:s}=e,n=(0,y.J)(t,a),{cart:r,mounted:i,totalItems:c,subtotal:d=0,convenienceFee:m=0,totalHours:x,total:u=0,isLBC:h,isNotarized:f,hasDiscount:g,discountAmount:k,voucherCode:C,isDeliveryFormValid:A,validateCartItems:E}=(0,j.f)();return i?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"fixed inset-0 bg-black/50 z-40 transition-opacity duration-300 ".concat(t?"opacity-100":"opacity-0 pointer-events-none"," lg:hidden"),onMouseDown:a,"aria-hidden":"true"}),(0,l.jsxs)("div",{ref:n,role:"dialog","aria-modal":"true","aria-labelledby":"mobile-cart-title","aria-hidden":!t,inert:!t,tabIndex:-1,className:"fixed top-0 right-0 w-full max-w-sm h-dvh bg-white z-50 shadow-lg transform transition-transform duration-300 ease-in-out ".concat(t?"translate-x-0":"translate-x-full"," lg:hidden flex flex-col"),children:[(0,l.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-gray-200",children:[(0,l.jsx)("h3",{id:"mobile-cart-title",className:"text-xl font-semibold",children:"My Documents"}),(0,l.jsx)("button",{type:"button",className:"flex min-h-11 min-w-11 touch-manipulation items-center justify-center rounded-full",onClick:a,"aria-label":"Close cart",children:(0,l.jsx)(o.A,{"aria-hidden":"true",className:"h-6 w-6 text-gray-700"})})]}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col p-4 pb-[max(1rem,env(safe-area-inset-bottom))] overflow-hidden",children:[(0,l.jsxs)("p",{className:"mb-4 text-[#737373] text-sm",children:["Your translated documents can be ",(0,l.jsx)("b",{className:"text-primary",children:"downloaded online via secure QR code"})," for quick and easy access."]}),0===c?(0,l.jsx)(p.A,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex-1 overflow-y-auto space-y-4 pr-1",children:r.map(e=>(0,l.jsx)(b.A,{item:e},"".concat(e.id,"-").concat(e.document.id)))}),(0,l.jsxs)("div",{className:"flex flex-col text-base pt-4 gap-2",children:[h&&(0,l.jsx)(N,{label:"LBC Delivery Fee",value:v.mt}),f&&(0,l.jsx)(N,{label:"Notary Fee",value:v.BQ}),(0,l.jsx)(N,{label:"Subtotal",value:d}),(0,l.jsx)(N,{label:"Convenience Fee",value:m}),g&&(0,l.jsx)(w,{label:"Referral Discount",value:k,code:C})]}),(0,l.jsx)("div",{className:"border-t-4 border-dashed border-gray-200 py-3 mt-3",children:(0,l.jsxs)("div",{className:"flex justify-between text-lg",children:[(0,l.jsx)("span",{className:"font-semibold text-[#344054]",children:"Grand Total"}),(0,l.jsxs)("span",{className:"font-bold text-primary",children:["â±",u.toLocaleString()]})]})})]}),r.length>0&&(0,l.jsxs)("div",{className:"text-center mb-4",children:[(0,l.jsx)("p",{className:"text-[#344054] text-xl max-lg:text-base font-semibold",children:"Get your translated documents in"}),(0,l.jsx)("p",{className:"text-[#1D8E15] text-2xl max-lg:text-xl font-bold",children:x})]})]})]})]}):null}function N(e){let{label:t,value:a}=e;return(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("span",{className:"font-semibold text-[#344054]",children:t}),(0,l.jsxs)("span",{className:"font-bold text-[#344054]",children:["â±",(null!=a?a:0).toLocaleString()]})]})}function w(e){let{label:t,value:a,code:s}=e;return(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("span",{className:"font-semibold text-[#1D8E15]",children:t}),s&&(0,l.jsxs)("span",{className:"text-xs text-[#6D6E79]",children:["Code: ",s]})]}),(0,l.jsxs)("span",{className:"font-bold text-[#1D8E15]",children:["-â±",a.toLocaleString()]})]})}function k(e){let{className:t="h-4 w-4"}=e;return(0,l.jsx)("svg",{viewBox:"0 0 24 24",className:t,fill:"currentColor","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.296-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.
1198 0-.52.075-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.981.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884a9.82 9.82 0 0 1 7.021 2.91 9.825 9.825 0 0 1 2.9 7.026c-.002 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.304-1.654a11.88 11.88 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.478-8.413Z"})})}function C(e){let{className:t="h-4 w-4"}=e;return(0,l.jsx)("svg",{viewBox:"0 0 24 24",className:t,fill:"currentColor","aria-hidden":"true",children:(0,l.jsx)("path",{d:"M11.4.01C9.473.01 5.786.166 3.84 1.943 2.395 3.35 1.89 5.424 1.836 7.993c-.053 2.568-.12 7.386 4.459 8.693v1.992s-.031.807.502.971c.646.2 1.025-.417 1.645-1.083.34-.37.81-.909 1.164-1.317 3.13.261 5.537-.335 5.81-.425.63-.21 4.197-.66 4.777-5.478.6-4.967-.29-8.103-1.89-9.52C17.825 1.39 15.895.037 11.4.01Zm.157 1.596c3.8.023 5.628 1.154 6.015 1.514 1.313 1.164 1.99 3.994 1.48 8.033-.467 3.994-3.319 4.25-3.852 4.426-.226.075-2.334.598-5.041.426l-.807-.049s-1.037 1.24-1.541 1.768c-.164.17-.343.315-.48.273-.19-.058-.24-.39-.237-.85l.01-1.657-.65-.18c-3.844-1.07-3.565-5.172-3.52-7.318.047-2.15.45-3.875 1.65-5.058 1.615-1.472 4.754-1.33 6.97-1.328Zm-.132 1.131a.53.53 0 0 0-.534.528.53.53 0 0 0 .528.534c2.71.021 4.93 2.342 4.948 5.
117a.53.53 0 0 0 .534.529.53.53 0 0 0 .528-.535c-.021-3.41-2.714-6.2-6.004-6.226Zm-4.09 2.283a.847.847 0 0 0-.567.194c-.29.24-.54.55-.745.889-.174.27-.26.552-.258.827.002.193.051.378.11.531.144.374.347.777.602 1.202.256.424.546.85.867 1.27.32.422.665.823 1.024 1.193.358.37.74.71 1.133 1.01.393.3.796.56 1.198.77.402.21.798.37 1.178.473.253.07.48.104.69.104.31 0 .574-.074.794-.22.303-.2.59-.45.835-.733.25-.29.42-.561.508-.806.088-.245.044-.463-.13-.648-.35-.365-.722-.705-1.114-1.018-.197-.155-.394-.236-.584-.24-.194-.004-.38.067-.56.21l-.566.453a.43.43 0 0 1-.437.062c-.203-.08-.482-.235-.84-.466a8.915 8.915 0 0 1-1.145-.904 8.133 8.133 0 0 1-.916-1.125c-.235-.352-.395-.628-.48-.826a.43.43 0 0 1 .05-.439l.438-.577c.139-.183.203-.372.195-.566-.009-.19-.095-.385-.254-.578a12.516 12.516 0 0 0-1.045-1.089.89.89 0 0 0-.617-.248Zm4.016-.441a.53.53 0 0 0-.535.527.53.53 0 0 0 .527.535c1.722.014 3.13 1.49 3.143 3.291a.53.53 0 0 0 .535.527.53.53 0 0 0 .527-.535c-.017-2.383-1.876-4.328-4.147-4.345Zm-.08 1.854a.53.53 0 0 0-.536.526.53.53 0 0 0 .526.536c.744.006 1.352.653 1.358 1.443a.53.53 0 0 0 .535.527.53.53 0 0 0 .527-.535c-.01-1.37-1.09-2.486-2.41-2.497Z"})})}function A(){let[e,t]=(0,m.useState)(!1),a=(0,m.useRef)(null),n=(0,x.usePathname)(),{isOpen:b,openCart:p,closeCart:j}=u(),{cart:v}=(0,h.x)(),{handleSubmit:N}=(0,f.t)(),w=(0,y.J)(e,()=>t(!1),a);return(0,l.jsxs)("header",{className:"border-b border-[#E5E5E5] px-4 py-4 md:px-12 z-50 bg-white sticky top-0",children:[(0,l.jsxs)("div",{className:"mx-auto flex w-full max-w-7xl flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between w-full lg:w-auto",children:[(0,l.jsx)(r(),{href:"/",className:"flex min-h-11 items-center rounded-md",children:(0,l.jsx)(s.default,{src:"/kabayan-logo.png",alt:"Kabayan Logo",width:150,height:40,className:"object-contain max-sm:h-10 max-w-max"})}),(0,l.jsxs)("div",{className:"flex items-center gap-4 lg:hidden",children:[!["/track","/home","/verify"].includes(n)&&(0,l.jsxs)("button",{onClick:p,className:"relative flex min-h-11 min-w-11 touch-manipulation items-center justify-center rounded-full","aria-label":"Open cart with ".concat(v.length," item").concat(1===v.length?"":"s"),children:[(0,l.jsx)(i.A,{"aria-hidden":"true",size:20,className:"text-gray-700"}),v.length>0&&(0,l.jsx)("span",{className:"absolute -top-2 -right-2 bg-primary text-white text-xs rounded-full h-4 w-4 flex items-center justify-center",children:v.length})]}),(0,l.jsx)("button",{type:"button",className:"flex min-h-11 min-w-11 touch-manipulation items-center justify-center rounded-full",onClick:()=>t(!0),"aria-label":"Open navigation menu","aria-expanded":e,"aria-controls":"customer-mobile-navigation",children:(0,l.jsx)(c.A,{"aria-hidden":"true",size:20,className:"text-gray-700"})})]})]}),(0,l.jsxs)("div",{className:"hidden xl:flex md:items-center md:gap-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 text-primary font-medium text-sm",children:[(0,l.jsx)("span",{className:"text-[#1B1B1C]",children:"Need help? Contact us at"}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)("div",{className:"rounded-full max-w-max bg-primary p-1.5",children:(0,l.jsx)(d.A,{color:"#fff",size:16})}),(0,l.jsx)("a",{href:"mailto:[email protected]",className:"hover:underline",children:"[email protected]"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,l.jsx)("a",{href:"https://wa.me/639175392633",target:"_blank",rel:"noreferrer",className:"rounded-full bg-[#25D366] p-1.5 text-white","aria-label":"Message (+63) 917 539 2633 on WhatsApp",children:(0,l.jsx)(k,{})}),(0,l.jsx)("a",{href:"viber://chat?number=%2B639175392633",className:"rounded-full bg-[#7360F2] p-1.5 text-white","aria-label":"Message (+63) 917 539 2633 on Viber",children:(0,l.jsx)(C,{})}),(0,l.jsx)("a",{href:"tel:+639175392633",className:"hover:underline",children:"(+63) 917 539 2633"})]})]}),(0,l.jsx)("a",{href:"".concat("https://kabayantranslate.com","/#faqs"),className:"border-[#BFBFBF] text-[#344054] font-semibold border px-4 py-2 rounded-md text-sm",children:"Frequently Asked Questions"})]})]}),(0,l.jsxs)("div",{ref:w,id:"customer-mobile-navigation",role:"dialog","aria-modal":"true","aria-label":"Navigation menu","aria-hidden":!e,inert:!e,className:"fixed top-0 left-0 w-full h-full max-h-dvh bg-white z-50 shadow-md transform transition-transform duration-300 ease-in-out overflow-y-auto overscroll-contain ".concat(e?"translate-y-0":"-translate-y-full"," lg:hidden"),children:[(0,l.jsxs)("div",{className:"flex items-center justify-between px-4 py-4 border-b",children:[(0,l.jsx)("h2",{className:"font-medium text-lg",children:"Menu"}),(0,l.jsx)("button",{ref:a,className:"flex min-h-11 min-w-11 items-center justify-center rounded-full",onClick:()=>t(!1),"aria-label":"Close navigation menu",children:(0,l.jsx)(o.A,{className:"h-6 w-6 text-gray-700"})})]}),(0,l.jsxs)("div",{className:"p-4 flex flex-col gap-6",children:[(0,l.jsxs)("div",{className:"text-sm text-[#1B1B1C] font-medium",children:[(0,l.jsx)("p",{className:"mb-2",children:"Need help? Contact us at"}),(0,l.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,l.jsx)("div",{className:"rounded-full bg-primary p-1.5",children:(0,l.jsx)(d.A,{size:18,color:"#fff"})}),(0,l.jsx)("a",{href:"mailto:[email protected]",className:"flex min-h-11 items-center text-[#344054] underline",children:"[email protected]"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2 text-[#344054]",children:[(0,l.jsx)("a",{href:"https://wa.me/639175392633",target:"_blank",rel:"noreferrer",className:"flex min-h-11 min-w-11 items-center justify-center rounded-full bg-[#25D366] text-white","aria-label":"Message (+63) 917 539 2633 on WhatsApp",children:(0,l.jsx)(k,{className:"h-5 w-5"})}),(0,l.jsx)("a",{href:"viber://chat?number=%2B639175392633",className:"flex min-h-11 min-w-11 items-center justify-center rounded-full bg-[#7360F2] text-white","aria-label":"Message (+63) 917 539 2633 on Viber",children:(0,l.jsx)(C,{className:"h-5 w-5"})}),(0,l.jsx)("a",{href:"tel:+639175392633",className:"flex min-h-11 items-center underline",children:"(+63) 917 539 2633"})]})]}),(0,l.jsx)("a",{href:"".concat("https://kabayantranslate.com","/#faqs"),className:"flex min-h-11 items-center border border-gray-300 text-[#344054] font-medium rounded-md px-4 py-2 text-sm",children:"Frequently Asked Questions"})]})]}),e&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black/50 bg-opacity-30 z-40 md:hidden",onClick:()=>t(!1)}),(0,l.jsx)(g,{isOpen:b,onClose:j,handleSubmit:null!=N?N:void 0})]})}},6738:(e,t,a)=>{a.d(t,{J:()=>n});var l=a(9126);
1let s='a[href],button:not([disabled]),input:not([disabled]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex="-1"])';function n(e,t,a){let n=(0,l.useRef)(null),r=(0,l.useRef)(t);return r.current=t,(0,l.useEffect)(()=>{if(!e)return;let t=document.activeElement,l=document.body.style.overflow,i=window.requestAnimationFrame(()=>{var e,t,l;let r=n.current,i=null==r?void 0:r.querySelector(s);null==(e=null!=(l=null!=(t=null==a?void 0:a.current)?t:i)?l:r)||e.focus()});document.body.style.overflow="hidden";let c=e=>{let t=n.current;if(!t)return;if("Escape"===e.key){e.preventDefault(),r.current();return}if("Tab"!==e.key)return;let a=Array.from(t.querySelectorAll(s)).filter(e=>null!==e.offsetParent);if(0===a.length){e.preventDefault(),t.focus();return}let l=a[0],i=a[a.length-1],c=document.activeElement;e.shiftKey&&(c===l||!t.contains(c))?(e.preventDefault(),i.focus()):e.shiftKey||c!==i||(e.preventDefault(),l.focus())};return document.addEventListener("keydown",c),()=>{window.cancelAnimationFrame(i),document.removeEventListener("keydown",c),document.body.style.overflow=l,null==t||t.focus()}},[a,e]),n}},9181:(e,t,a)=>{a.d(t,{t:()=>l});let l=(0,a(507).v)(e=>({handleSubmit:null,setHandleSubmit:t=>e({handleSubmit:t})}))}}]);
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.