1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{5557:function(e,l,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(8886)}])},168:function(e,l,s){"use strict";var t=s(5893),r=s(9008),a=s.n(r),n=s(1163);s(3733);let i=e=>{let{jsonBG:l={},jsonEN:s={}}=e,r=(0,n.useRouter)(),i="bg"===r.locale,c=i?l:s;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(a(),{children:c&&(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(c)}})})})};l.Z=i},1520:function(e,l,s){"use strict";var t=s(5893),r=s(9473),a=s(4585),n=s(3733),i=s(6162),c=s(1664),d=s.n(c);let{apiUrl:o}=n.Xd,x=e=>{let{}=e,l=(0,r.v9)(a._R);return l&&(0,t.jsx)("div",{className:"flex w-full overflow-hidden rounded-xl",children:(0,t.jsx)(i.Z,{responsive:[{breakPoint:1280,cardsToShow:5},{breakPoint:1e3,cardsToShow:3},{breakPoint:640,cardsToShow:2},{breakPoint:250,cardsToShow:2}],showDots:!1,showArrows:!1,pauseOnMouseOver:!0,autoSlide:3e3,children:l&&l.map((e,l)=>(0,t.jsx)("div",{className:"p-5",children:(0,t.jsx)("div",{className:"w-full overflow-hidden rounded-xl border border-lightGray shadow-lg",children:(0,t.jsx)(d(),{href:e.link,children:(0,t.jsx)("img",{width:"0",height:"0",sizes:"100vw",className:"h-auto w-full",src:"".concat(o,"/api/files/").concat(e.image_path),alt:"card image"})})})},l))})})};l.Z=x},8886:function(e,l,s){"use strict";s.r(l),s.d(l,{__N_SSP:function(){return Z},default:function(){return C}});var t=s(5893),r=s(7294),a=s(9473),n=s(5675),i=s.n(n),c=s(2640);c.G1,c.G1,c.G1;var d=s(1664),o=s.n(d),x=s(5290);let h=()=>{let e=(0,a.v9)((0,x.XL)("General"));return(0,t.jsx)("div",{className:"mx-auto flex w-full",children:(0,t.jsxs)("div",{className:"grid w-full justify-items-stretch grid-cols-1 md:grid-cols-2 lg:grid-cols-6 mx-auto gap-5",children:[(0,t.jsxs)("div",{className:"w-full shadow-xl justify-between p-10 col-span-2 bg-white flex flex-col gap-12 rounded-xl text-center",children:[(0,t.jsx)("h4",{className:"font-helenBold text-primary",children:e("national_number")}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(i(),{src:c.Ig,alt:"Call us"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-helenBold text-primary",children:"0 700 1 3939"}),(0,t.jsx)("p",{className:"text-secondary w-3/4 mx-auto",children:e("customer_service_center")})]})]}),(0,t.jsxs)("div",{className:"w-full shadow-xl justify-between p-10 col-span-2 relative overflow-hidden bg-white flex flex-col gap-10 rounded-xl text-center",children:[(0,t.jsx)("h4",{className:"font-helenBold text-primary",children:e("our_offices")}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(i(),{width:260,src:c.D5,alt:"Map"})}),(0,t.jsx)(o(),{passHref:!0,href:"/contacts/offices",children:(0,t.jsx)("div",{className:"flex p-5 absolute right-0 bottom-0 bg-highlight rounded-tl-xl ",children:(0,t.jsx)(i(),{src:c.LZ,alt:"ArrowRight"})})})]}),(0,t.jsxs)("div",{className:"w-full shadow-xl justify-between p-10 col-span-2 bg-white flex flex-col gap-12 rounded-xl text-center",children:[(0,t.jsx)("h4",{className:"font-helenBold text-primary",children:e("road_assist")}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(i(),{src:c.lG,alt:"Call us"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-helenBold text-primary",children:"+359 88 792 24 44"}),(0,t.jsx)("p",{className:"text-secondary w-3/4 mx-auto",children:e("for_country")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-helenBold text-primary",children:"+359 2 90 30 122"}),(0,t.jsx)("p",{className:"text-secondary w-3/4 mx-auto",children:e("for_abroad")})]})]})]})]})})};var m=s(1520),u=s(539),p=s(1254),g=s(9800),f=s(127),j=s(1163),v=s(3806),w=s(3733);let b=e=>{let{}=e,l=(0,a.I0)(),s=(0,a.v9)((0,x.XL)("General")),r=(0,a.v9)(g.Qb),n=(0,a.v9)(f.W7),d=(0,j.useRouter)(),{locale:h}=d,m=(0,v.G3)(h),b={bg:(w.Xd.enviorment,"https://app.armeec.bg/bg/travel-insurance"),en:(w.Xd.enviorment,"https://app.armeec.bg/en/travel-insurance")},N={bg:(w.Xd.enviorment,"https://app.armeec.bg/bg/profile"),en:(w.Xd.enviorment,"https://app.armeec.bg/en/profile")},y={bg:(w.Xd.enviorment,"https://app.armeec.bg/bg/claim"),en:(w.Xd.enviorment,"https://app.armeec.bg/en/claim")},_=[{title:s("installment_payment"),url:0===m?N.bg:N.en,image:c._4},{title:s("damage_registration"),url:0===m?y.bg:y.en,image:c.gI},{title:s("damage_check"),url:0===m?N.bg:N.en,image:c.A1},{title:s("travel_assistance_heading_short"),url:0===m?b.bg:b.en,image:c.KY}],k=e=>{"/my-profile"===e&&l((0,p.vC)({type:"Login"}))};return(0,t.jsxs)("div",{className:"mx-auto flex flex-col",children:[(0,t.jsx)("div",{className:" grid grid-cols-1 place-content-center gap-5 md:grid-cols-2 lg:grid-cols-".concat(_.length),children:_&&_.map((e,s)=>(0,t.jsxs)(u.E.div,{whileHover:{scale:1.05},whileTap:{scale:1},transition:{type:"spring",stiffness:75,damping:10},className:"relative flex min-h-[130px] items-center overflow-hidden rounded-lg bg-white p-8 shadow-xl ",children:[(0,t.jsxs)("div",{className:"flex items-center gap-6 text-left",children:[(0,t.jsx)(i(),{width:55,src:e.image,alt:"laptop image"}),(0,t.jsx)("h5",{className:"font-helenBold text-primary",children:e.title})]}),r?(0,t.jsx)(o(),{passHref:!0,href:n?"/":e.url,onClick:n?()=>l((0,p.vC)({type:"MaintanceModal",a:{}})):null,children:(0,t.jsx)("div",{className:"absolute right-0 bottom-0 flex rounded-tl-xl bg-highlight p-3.5 ",children:(0,t.jsx)(i(),{src:c.LZ,alt:"ArrowRight"})})}):(0,t.jsx)(o(),{passHref:!0,onClick:()=>n?l((0,p.vC)({type:"MaintanceModal",a:{}})):k(e.url),href:"/my-profile"===e.url?"/":n?"/":e.url,children:(0,t.jsx)("div",{className:"absolute right-0 bottom-0 flex rounded-tl-xl bg-highlight p-3.5 ",children:(0,t.jsx)(i(),{src:c.LZ,alt:"ArrowRight"})})})]},s))}),(0,t.jsx)(u.E.div,{whileHover:{scale:1.1},transition:{type:"spring",damping:10},className:"mt-8 flex justify-center",children:(0,t.jsx)(o(),{className:"uppercase text-primary",href:"/online-services",children:s("see_more")})})]})},N=e=>{let{title:l,description:s,buttonUrl:r}=e;return(0,t.jsx)("div",{className:"w-full grid grid-cols-1 sm:grid-cols-3 md:grid-cols-6 lg:grid-cols-12 inset-0 items-center px-5 ml-0 max-w-screen-xl mx-auto",children:(0,t.jsxs)("div",{className:"gap-3 col-span-1 sm:col-span-2 md:col-span-4 lg:col-span-5 col-start-1 lg:col-start-2 xl:col-start-4 shadow-lg relative max-w-lg z-10 flex flex-col rounded-xl bg-white p-8 overflow-hidden",children:[(0,t.jsx)("h3",{className:"font-helenBold text-primary",children:l}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"w-5/6",children:s}),(0,t.jsx)(o(),{passHref:!0,href:r||"#",children:(0,t.jsx)("div",{className:"flex p-5 absolute right-0 bottom-0 bg-highlight rounded-tl-xl ",children:(0,t.jsx)(i(),{src:c.LZ,alt:"ArrowRight"})})})]})]})})};var y=s(3999),_=s(6026),k=s.n(_),X=s(4585),G=s(9008),B=s.n(G);let{apiUrl:E}=w.Xd,L=e=>{let{}=e,l=(0,r.useRef)(null),s=(0,a.v9)(X.gs),[n,i]=(0,r.useState)(0),c=e=>{let{item:l,index:s,...r}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(B(),{children:(0,t.jsx)("link",{rel:"preload",as:"image",href:"".concat(E,"/api/files/").concat(l.image_path)})}),(0,t.jsx)("div",{className:"flex h-[430px] w-full min-w-full items-center bg-cover bg-center",style:{backgroundImage:"url(".concat(E,"/api/files/").concat(l.image_path,")")},children:(0,t.jsx)(N,{title:l.title,buttonUrl:l.button_url,description:l.description})})]})},d=e=>{let{count:l,active:s}=e;return(0,t.jsx)("div",{className:"relative bottom-[40px] flex justify-center gap-2",children:k()(l).map((e,l)=>(0,t.jsx)(u.E.div,{className:"h-[9px] w-[9px] opacity-80 ".concat(s==l?"bg-secondary":"bg-white"," rounded-lg"),initial:!1,animate:{scale:s===e?1.5:1,opacity:s===e?1:.5}},l))})},o=s&&s.map((e,l)=>(0,t.jsx)(c,{index:l,item:e},e));return s&&(0,t.jsxs)("div",{className:"relative overflow-hidden",ref:l,children:[(0,t.jsx)(y.Z,{interval:o.length>1?5e3:0,renderArrowLeft:()=>null,renderArrowRight:()=>null,renderDots:e=>i(e.activeIndex),children:o}),o.length>1&&(0,t.jsx)(d,{count:o.length,active:n})]})},R=()=>{let e=(0,a.I0)(),l=(0,a.v9)((0,x.XL)("General")),s=(0,j.useRouter)(),{locale:n}=s,i=(0,v.G3)(n),c=async()=>await e((0,X.an)({lang:i}));return(0,r.useEffect)(()=>{c()}
1,[n]),(0,t.jsxs)("div",{className:"bg-homeBackground",children:[(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(L,{})}),(0,t.jsx)("h2",{className:"mt-10 flex justify-center py-5 text-center",children:l("online_services")}),(0,t.jsx)("div",{className:"mx-auto mt-3 max-w-screen-2xl p-2",children:(0,t.jsx)(b,{})}),(0,t.jsx)("div",{className:"mx-auto mt-10 max-w-screen-xl p-2 py-10 px-2",children:(0,t.jsx)(h,{})}),(0,t.jsx)("h2",{className:"mt-16 flex justify-center",children:l("our_group")}),(0,t.jsx)("div",{className:"mx-auto mt-3 max-w-screen-xl self-center overflow-hidden py-2 pb-16",children:(0,t.jsx)(m.Z,{})})]})};var S=s(168),Z=!0;function C(e){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Z,{jsonBG:e.jsonBG,jsonEN:e.jsonEN}),(0,t.jsx)(R,{})]})}}},function(e){e.O(0,[6162,2288,9774,2888,179],function(){return e(e.s=5557)}),_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.