1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,708025,e=>{"use strict";var t=e.i(166057);e.s(["Logo",()=>t.default])},974089,257273,49028,115042,e=>{"use strict";var t=e.i(843476),r=e.i(581949),n=e.i(271645),o=e.i(212234),a=e.i(3680),i=e.i(758005),s=e.i(78114),l=e.i(471890),u=e.i(735762),c=e.i(864906),f=e.i(125024),d=e.i(527943),m=e.i(762335),p=e.i(995188),h=e.i(921740),y=e.i(619455),b=e.i(747997);let v=({location:e,locationGooglePlacesDataAtom:r,useVtTranslate:o,customUseAtom:a,showOpeningHours:i=!0,className:s})=>{let l=n.default.useRef(null),[u,c]=n.default.useState(""),f=(0,p.useWindowDimension)(),[v]=a(r);return(0,n.useLayoutEffect)(()=>{l.current&&c(`calc(${l.current.offsetHeight}px - 16px)`)},[f]),(0,t.jsxs)("div",{className:`bg-white default-radius flex flex-row gap-3 lg:gap-4 pl-2 pr-3 lg:pr-4 min-h-18 lg:min-h-20 ${s??"mt-3"}`,ref:l,children:[(0,t.jsx)("div",{className:"flex flex-col justify-center",children:e&&(0,t.jsx)("div",{className:"w-23.5 lg:w-24.5 border-magenta overflow-hidden rounded-md object-cover relative",style:{height:u},children:(0,t.jsx)(d.default,{src:(0,b.formatURL)(e?.heroImages[0]?.file?.url??""),fill:!0,sizes:"(max-width: 1024px) 94px, 98px",className:"border-solid border-[5px] object-cover",placeholder:"blur",blurDataURL:(0,b.formatURL)(e?.heroImages[0]?.file?.url??"")||y.DEFAULT_IMAGE_LOADER,alt:e?.heroImages[0]?.description})})}),(0,t.jsxs)("div",{className:"py-3 lg:py-4",children:[(0,t.jsx)(m.default,{content:e?.name,className:"line-clamp-2",level:"h5"}),i&&(0,t.jsx)(h.default,{className:"flex mt-1",placesData:v,summaryClassName:"text-[14px]",location:e,useVtTranslate:o})]})]})};e.s(["default",0,v],257273);var g=e.i(694999);function x(e,t,r){let n=new Set;t?.referalsEmail&&t.isRadiusOfBasel||n.add("ForVets"),t?.isRadiusOfBasel||n.add("AnimalRescueService"),t?.type.searchKey===g.LocationTypeKeys.CLINIC_PLUS?n.add("Services"):n.add("Departments");let o=r!==i.VTPlatformURLS.CLINICA_ALPINA&&t&&[g.LocationTypeKeys.PET_HOTEL,g.LocationTypeKeys.COIFFEUR].includes(t.type.searchKey);return(!t?.servicesProvided||o)&&n.add("Services"),t?.partners||n.add("OurPartners"),e.filter(e=>!n.has(e.key))}e.s(["getLocationNavigationItems",()=>x],49028);let w=({currentlyDisplayedLocationAtom:e,navigationDisplayAtom:r,LOCATION_NAV_LIST:n,locationGooglePlacesDataAtom:o,LinkComponent:a,pathname:i,useVtTranslate:s,customUseAtom:l,platformUrl:u})=>{let{t:c}=s("location"),[f]=l(e),d=i.split("/")[2],p=f?.slug===d?f:null,[,h]=l(r),y=x(n(c),p,u);return(0,t.jsxs)("div",{className:"px-5",children:[(0,t.jsx)(m.default,{content:c("NAVIGATION.YOUR_LOCATION"),level:"h4",className:"mb-3"}),p?(0,t.jsx)(v,{location:p,locationGooglePlacesDataAtom:o,useVtTranslate:s,customUseAtom:l}):(0,t.jsx)("div",{className:"h-20 animate-pulse rounded-2xl bg-white"}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col gap-1",children:[!p&&["overview","services","team","contact"].map((e,r)=>(0,t.jsx)("div",{className:"h-5 animate-pulse rounded-full bg-darkBlue/10",style:{width:`${72-8*r}%`,marginBlock:"0.75rem"}},e)),p&&y.map(e=>{let r=e.pathname.replace("[location_slug]",p.slug),n=i===r,o=`block cursor-pointer py-3 text-lg font-bold transition-colors hover:text-magenta ${n?"text-magenta":"text-darkBlue"}`;return e.disabled?(0,t.jsx)("span",{className:`${o} cursor-not-allowed opacity-50`,"aria-disabled":"true",children:e.title},e.key):(0,t.jsx)(a,{href:r,className:o,onClick:()=>h(!1),children:e.title},e.key)})]})]})};e.s(["default",0,w],115042);let j=["Locations","About","Career","Academy","AnimalKnowledge"],S=(e,t)=>e.localizedPathnames?.[t]??e.pathname;e.s(["default",0,e=>{let{onClose:d}=e,{t:m,i18n:p}=e.useVtTranslate("common"),[h,y]=e.customUseAtom(e.locationPageMetaAtom),[,b]=e.customUseAtom(e.currentModalAtom),[,v]=e.customUseAtom(e.currentPracticeSearchStepAtom),[,g]=e.customUseAtom(e.isPracticeSearchModalDisplayedAtom),[x]=e.customUseAtom(e.allLocationsLoadingAtom),[O]=e.customUseAtom(e.currentlyDisplayedLocationAtom),[N,A]=(0,n.use
1State)("root"),E=/^\/locations\/(?!search-results(?:\/|$))[^/]+(?:\/.*)?$/.test(e.pathname),k=E?e.pathname.split("/")[2]:null,P=O?.slug===k,T=(0,n.useCallback)(()=>{d()},[d]);(0,n.useEffect)(()=>{if(e.open)return;let t=window.setTimeout(()=>A("root"),450);return()=>window.clearTimeout(t)},[e.open]),(0,n.useEffect)(()=>{if(!e.open)return;let t=document.body.style.overflow,r=e=>{"Escape"===e.key&&T()};return document.body.style.overflow="hidden",document.addEventListener("keydown",r),()=>{document.body.style.overflow=t,document.removeEventListener("keydown",r)}},[T,e.open]),(0,n.useEffect)(()=>{h||r.default.post("/api/common-metadata",{platformUrl:e.platformUrl||i.VTPlatformURLS.VETTRUST}).then(e=>{e.data.data&&y(e.data.data)}).catch(e=>{console.error("Error fetching emergency number metadata:",e)})},[h,e.platformUrl,y]);let C=e.NAV_PAGES_LIST(m).filter(e=>j.includes(e.key)&&(!E||"AnimalKnowledge"===e.key)&&(!e.only||e.only===p)),L=e.CAREER_NAV_LIST?.(m)??[],R=L[0],M=L.slice(1,5),I=L.slice(5),D=!E&&e.platformUrl===i.VTPlatformURLS.VETTRUST&&L.length>0,U=!E&&!e.isSearchHidden&&e.platformUrl!==i.VTPlatformURLS.CLINICA_ALPINA,_=e=>e===N?"translate-x-0 pointer-events-auto":"root"===e&&"root"!==N||"career"===e&&"career-directions"===N?"-translate-x-full pointer-events-none":"translate-x-full pointer-events-none",z=(e,r)=>(0,t.jsxs)("div",{className:"mb-6 flex items-center gap-3 border-b border-magenta/20 pb-5",children:[(0,t.jsx)("button",{type:"button",className:"flex h-11 w-11 shrink-0 cursor-pointer items-center justify-center rounded-full border border-darkBlue/15 bg-white","aria-label":e,onClick:()=>A(r),children:(0,t.jsx)(l.ChevronLeft,{className:"h-5 w-5"})}),(0,t.jsx)("p",{className:"text-xl font-bold",children:e})]});return(0,t.jsx)("div",{className:`fixed inset-x-0 bottom-0 top-20 z-[999] overflow-hidden bg-vtBG text-darkBlue transition-[clip-path] duration-[450ms] ease-[cubic-bezier(0.22,1,0.36,1)] will-change-[clip-path] motion-reduce:transition-none xl:hidden ${e.open?"pointer-events-auto [clip-path:inset(0_0_0_0)]":"pointer-events-none [clip-path:inset(0_0_100%_0)]"}`,"aria-hidden":!e.open,inert:!e.open,children:(0,t.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,t.jsxs)("div",{className:"relative min-h-0 flex-1 overflow-hidden",children:[(0,t.jsxs)("div",{className:`absolute inset-0 overflow-y-auto overscroll-contain py-8 transition-transform duration-[350ms] ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform motion-reduce:transition-none ${_("root")}`,"aria-hidden":"root"!==N,inert:"root"!==N,children:[E&&(0,t.jsx)(w,{...e}),(0,t.jsxs)("div",{className:`px-5 ${E?"mt-1":""}`,children:[(0,t.jsx)("div",{className:"flex flex-col gap-1",children:(!E||P)&&C.map(r=>"Career"===r.key&&e.platformUrl===i.VTPlatformURLS.VETTRUST?(0,t.jsxs)("button",{type:"button",className:"flex w-full cursor-pointer items-center justify-between gap-4 py-4 text-left text-lg font-bold",onClick:()=>A("career"),children:[r.title,(0,t.jsx)("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full border border-darkBlue/15 bg-white",children:(0,t.jsx)(u.ChevronRight,{className:"h-5 w-5"})})]},r.key):(0,t.jsx)(e.LinkComponent,{href:S(r,p),onClick:T,className:"block cursor-pointer py-4 text-lg font-bold",children:r.title},r.key))}),e.headerBadges&&(0,t.jsx)("div",{className:"flex justify-center pb-4 pt-8",children:e.headerBadges})]})]}),D&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`absolute inset-0 overflow-y-auto overscroll-contain px-5 py-8 transition-transform duration-[350ms] ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform motion-reduce:transition-none ${_("career")}`,"aria-hidden":"career"!==N,inert:"career"!==N,children:[z(m("NAVIGATION.MENU_LIST.CAREER_TITTLE"),"root"),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[R&&(0,t.jsxs)(e.LinkComponent,{href:S(R,p),onClick:T,className:"group mb-3 flex cursor-pointer items-center justify-between gap-4 rounded-2xl bg-white p-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold",children:R.title}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-5 text-darkBlue/65",children:R.description})]}),(0,t.jsx)(s.ArrowRight,{className:"h-5 w-5 shrink-0 text-magenta transition-transform group-hover:translate-x-1"})]}),(0,t.jsxs)("button",{type:"button",className:"flex w-full cursor-pointer items-center justify-between gap-4 py-4 text-left text-lg font-bold",onClick:()=>A("career-directions"),children:[m("NAVIGATION.CAREER.DIRECTIONS"),(0,t.jsx)("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full border border-darkBlue/15 bg-white",children:(0,t.jsx)(u.ChevronRight,{className:"h-5 w-5"})})]}),I.map(r=>(0,t.jsx)(e.LinkComponent,{href:S(r,p),onClick:T,className:"block cursor-pointer py-4 text-lg font-bold",children:r.title},r.key))]})]}),(0,t.jsxs)("div",{className:`absolute inset-0 overflow-y-auto overscroll-contain px-5 py-8 transition-transform duration-[350ms] ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform motion-reduce:transition-none ${_("career-directions")}`,"aria-hidden":"career-directions"!==N,inert:"career-directions"!==N,children:[z(m("NAVIGATION.CAREER.DIRECTIONS"),"career"),(0,t.jsx)("div",{className:"flex flex-col gap-2",children:M.map(r=>(0,t.jsx)(e.LinkComponent,{href:S(r,p),onClick:T,className:"block cursor-pointer py-4 text-lg font-bold",children:r.title},r.key))})]})]})]}),(0,t.jsx)("div",{className:`shrink-0 bg-vtBG px-5 pb-[max(1rem,env(safe-area-inset-bottom))] pt-4 ${e.platformUrl===i.VTPlatformURLS.VETTRUST?"border-t border-darkBlue/20":"shadow-[0_-8px_20px_rgba(26,47,84,0.08)]"}`,children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[U&&(0,t.jsxs)("button",{type:"button",className:"flex min-h-12 w-full cursor-pointer items-center justify-center gap-2 rounded-full bg-darkBlue px-5 font-bold text-white transition-colors hover:bg-darkBlue-hover disabled:cursor-not-allowed disabled:bg-darkBlue-disabled",onClick:()=>
1{if(e.onLocationSearch){T(),e.onLocationSearch();return}x||(v(a.PracticeSearchSteps.LOCATION_NAME_FILTER),g(!0),T(),window.openPracticesSearch?.())},disabled:!e.onLocationSearch&&x,children:[(0,t.jsx)(f.Search,{className:"h-5 w-5"}),m("HEADER.LOCATION_SEARCH")]}),(0,t.jsxs)("button",{type:"button",className:"flex min-h-12 w-full cursor-pointer items-center justify-center gap-2 rounded-full bg-swissmopolitanRed px-5 font-bold text-white transition-colors hover:bg-swissmopolitanRed-hover",onClick:()=>{T(),b({type:o.ModalsOptions.EMERGENCY,minWidth:"md"})},children:[(0,t.jsx)(c.PhonePlus,{className:"h-5 w-5"}),m("HEADER.EMERGENCY")]}),e.languageSwitcher&&(0,t.jsx)("div",{className:"flex min-h-9 items-center justify-center",children:e.languageSwitcher})]})})]})})}],974089)},912597,575329,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n=()=>(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M4.75 9L7.75 6L4.75 3",stroke:"#717E99",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),o=({children:e})=>{let o=r.Children.toArray(e),a=o.map((e,a)=>a!==o.length-1?(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("li",{className:"text-lightBlue-1.5 font-semibold text-[12px]",children:e}),(0,t.jsx)(n,{})]},`breadcrumb-${e.toString()}-${a}`):(0,t.jsx)("li",{className:"text-darkBlue font-semibold text-[12px]",children:e},`breadcrumb-${e.toString()}-${a}`));return(0,t.jsx)("nav",{className:"",children:(0,t.jsx)("ol",{className:"flex flex-row items-center gap-[4px]",children:a})})};e.s(["default",0,o],575329),e.s(["default",0,function({NAV_PAGES_LIST:e,useVtTranslate:n,currentBlogArticleAtom:a,currentlyDisplayedLocationAtom:i,customUseAtom:s,pathname:l,resolveContentfulLink:u,LinkComponent:c}){let{t:f}=n("common"),[d,m]=(0,r.useState)([]),[p]=s(a),[h]=s(i);(0,r.useEffect)(()=>{let e=l.split("?")[0],t=e?.split("/")??[];t.shift();let r=t[0];r&&["de","fr","en"].includes(r)&&t.shift(),m((t=t.filter(e=>""!==e)).map((e,r)=>({href:u?u(`/${t.slice(0,r+1).join("/")}`):`/${t.slice(0,r+1).join("/")}`,label:e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")})))},[l]);let y="";l.startsWith("/blog/")&&(y=p?.name||"");let b=/^\/locations\/[^/]+$/.test(l);b&&(y=h?.name||"");let v=d&&d.map(r=>(0,t.jsx)(c,{href:r.href,className:"line-clamp-1 block py-0.75",children:e(f).find(e=>e.pathname===r.href)?.title||y||r.label},r.href));return b&&(v=v.length>0?[v[v.length-1]]:[]),(0,t.jsx)(o,{children:v})}],912597)},396788,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(212234),o=e.i(3680),a=e.i(758005),i=e.i(855164),s=e.i(708025),l=e.i(864906),u=e.i(125024),c=e.i(974089),f=e.i(49028),d=e.i(912597);let m=["Locations","About","Career","Academy","AnimalKnowledge"],p=(e,t)=>e.localizedPathnames?.[t]??e.pathname;e.s(["default",0,e=>{let h,{t:y,i18n:b}=e.useVtTranslate("common"),{t:v}=e.useVtTranslate("location"),[g,x]=e.customUseAtom(e.navigationDisplayAtom),[,w]=e.customUseAtom(e.currentModalAtom),[,j]=e.customUseAtom(e.currentPracticeSearchStepAtom),[S]=e.customUseAtom(e.allLocationsLoadingAtom),[O]=e.customUseAtom(e.currentlyDisplayedLocationAtom),[,N]=e.customUseAtom(e.isPracticeSearchModalDisplayedAtom),[A,E]=(0,r.useState)(null),k=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{let t=k.current;t?.open&&!t.contains(e.target)&&(t.open=!1)},t=e=>{let t=k.current;"Escape"===e.key&&t?.open&&(t.open=!1,t.querySelector("summary")?.focus())},r=()=>{k.current&&(k.current.open=!1)};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),window.addEventListener("resize",r),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t),window.removeEventListener("resize",r)}},[]),(0,r.useEffect)(()=>{E(null),x(!1),k.current&&(k.current.open=!1)},[e.pathname,x]),(0,r.useEffect)(()=>{let e=window.matchMedia("(min-width: 1280px)"),t=e=>{e.matches&&x(!1)};return e.matches&&x(!1),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[x]);let P=e.platformUrl===a.VTPlatformURLS.VETTRUST,T=/^\/locations\/(?!search-results(?:\/|$))[^/]+(?:\/.*)?$/.test(e.pathname),C=T?e.pathname.split("/")[2]:null,
1L=O?.slug===C?O:null,R=!["/","/en","/fr"].includes(e.pathname),M=e.NAV_PAGES_LIST(y).filter(e=>(T?"AnimalKnowledge"===e.key:m.includes(e.key))&&(!e.only||e.only===b)),I=e.CAREER_NAV_LIST?.(y)??[],D=(0,f.getLocationNavigationItems)(e.LOCATION_NAV_LIST(v),L,e.platformUrl),U=()=>{if(e.onLocationSearch){x(!1),e.onLocationSearch();return}S||(j(o.PracticeSearchSteps.LOCATION_NAME_FILTER),N(!0),x(!1),window.openPracticesSearch?.())},_=()=>{w({type:n.ModalsOptions.EMERGENCY,minWidth:"md"})};return(0,t.jsxs)("header",{className:"fixed inset-x-0 top-0 z-[1000] bg-vtBG text-darkBlue",onMouseLeave:()=>E(null),children:[(0,t.jsx)(c.default,{open:g,onClose:()=>x(!1),platformUrl:e.platformUrl,...e}),(0,t.jsx)("div",{className:`transition-colors duration-200 xl:border-b-0 ${g?"border-b border-magenta/20":"border-b border-transparent"}`,children:(0,t.jsx)("div",{className:`content-wrapper ${P?"max-md:px-5":""} transition-[max-width,padding] duration-300 ease-out motion-reduce:transition-none ${e.fullWidth?"lg:max-w-[100vw] lg:px-6":""}`,children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-5",style:{height:e.height},children:[(0,t.jsxs)("div",{className:"min-w-fit",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(e.LinkComponent,{href:"/",children:e.homeIcon||(0,t.jsx)(s.Logo,{platformURL:e.platformUrl,className:`cursor-pointer ${P?"max-[390px]:w-28 max-[390px]:h-auto xl:w-[170px] xl:h-auto":""}`})}),e.headerBadges&&(0,t.jsx)("div",{className:"hidden 2xl:flex",children:e.headerBadges})]}),R&&(0,t.jsx)("span",{className:`hidden text-xs font-bold 2xl:block ${P?"mt-1":""}`,children:(0,t.jsx)(d.default,{...e})})]}),(0,t.jsxs)("nav",{className:"hidden min-w-0 flex-1 items-center justify-center gap-1 xl:flex",children:[T&&!L&&(0,t.jsx)("div",{className:"flex items-center gap-5","aria-hidden":"true","aria-busy":"true",children:[112,76,84,104,116].map(e=>(0,t.jsx)("span",{className:"h-4 animate-pulse rounded-full bg-darkBlue/10",style:{width:e}},e))}),T&&L&&D.map(r=>{let n=r.pathname.replace("[location_slug]",L.slug),o=e.pathname===n;return(0,t.jsx)(e.LinkComponent,{href:n,className:`cursor-pointer rounded-xl px-2 py-3 ${P?"text-[15px]":"text-sm"} font-bold transition-colors hover:text-magenta 2xl:px-3 ${o?"text-magenta":""}`,children:r.title},r.key)}),(!T||L)&&M.map(r=>{let n=p(r,b),o="Career"===r.key&&P,a=e.pathname===n||e.pathname.startsWith(`${n}/`);return o?(0,t.jsxs)("button",{type:"button",className:`flex cursor-pointer items-center gap-1 rounded-xl px-3 py-3 text-[15px] font-bold transition-colors hover:text-magenta ${a?"text-magenta":""}`,"aria-expanded":"career"===A,onClick:()=>{k.current&&(k.current.open=!1),E(e=>"career"===e?null:"career")},children:[r.title,(0,t.jsx)(i.ChevronDown,{className:`h-4 w-4 transition-transform ${"career"===A?"rotate-180":""}`})]},r.key):(0,t.jsx)(e.LinkComponent,{href:n,className:`cursor-pointer rounded-xl px-3 py-3 ${P?"text-[15px]":"text-sm"} font-bold transition-colors hover:text-magenta ${a?"text-magenta":""}`,children:r.title},r.key)})]}),(0,t.jsxs)("div",{className:"flex min-w-fit items-center gap-2",children:[!e.isSearchHidden&&!T&&(0,t.jsx)("button",{type:"button","aria-label":y("HEADER.LOCATION_SEARCH"),className:"flex h-11 w-11 cursor-pointer items-center justify-center rounded-full bg-darkBlue text-white transition-colors hover:bg-darkBlue-hover disabled:cursor-not-allowed disabled:bg-darkBlue-disabled xl:hidden",onClick:U,disabled:!e.onLocationSearch&&S,children:(0,t.jsx)(u.Search,{className:"h-5 w-5"})}),e.languageSwitcher&&(0,t.jsxs)("details",{ref:k,className:"group relative hidden open:z-[1001] xl:block",onToggle:e=>{e.currentTarget.open&&E(null)},children:[(0,t.jsxs)("summary",{className:"flex cursor-pointer list-none items-center gap-1 rounded-full px-3 py-3 text-sm font-bold uppercase transition-colors hover:text-magenta",children:[b,(0,t.jsx)(i.ChevronDown,{className:"h-4 w-4 transition-transform group-open:rotate-180"})]}),(0,t.jsx)("div",{className:"absolute right-0 top-[calc(100%+0.5rem)] min-w-28 rounded-xl bg-white p-3 shadow-xl",children:e.languageSwitcher})]}),!e.isSearchHidden&&!T&&(0,t.jsxs)("button",{type:"button",className:"hidden cursor-pointer items-center gap-2 rounded-full bg-darkBlue px-5 py-3 text-sm font-bold text-white transition-colors hover:bg-darkBlue-hover disabled:cursor-not-allowed disabled:bg-darkBlue-disabled xl:flex",onClick:U,disabled:!e.onLocationSearch&&S,children:[(0,t.jsx)(u.Search,{className:"h-4 w-4"}
1),(0,t.jsx)("span",{children:y("HEADER.LOCATION_SEARCH")})]}),(0,t.jsxs)("button",{type:"button",className:"hidden cursor-pointer items-center gap-2 rounded-full bg-swissmopolitanRed px-5 py-3 text-sm font-bold text-white transition-colors hover:bg-swissmopolitanRed-hover sm:flex",onClick:_,children:[(0,t.jsx)(l.PhonePlus,{className:"h-4 w-4"}),y("HEADER.EMERGENCY")]}),(0,t.jsx)("button",{type:"button","aria-label":y("HEADER.EMERGENCY"),className:"flex h-11 w-11 cursor-pointer items-center justify-center rounded-full bg-swissmopolitanRed text-white sm:hidden",onClick:_,children:(0,t.jsx)(l.PhonePlus,{className:"h-5 w-5"})}),(0,t.jsx)("button",{type:"button",className:"flex h-11 w-11 cursor-pointer items-center justify-center rounded-full border border-darkBlue/15 bg-white xl:hidden","aria-label":y(g?"NAVIGATION.CLOSE_BUTTON":"HEADER.MENU"),"aria-expanded":g,onClick:()=>x(e=>!e),children:(0,t.jsxs)("span",{className:"relative h-5 w-5","aria-hidden":"true",children:[(0,t.jsx)("span",{className:"absolute left-1/2 top-1/2 h-0.5 w-5 rounded-full bg-current transition-transform duration-300 ease-out motion-reduce:transition-none",style:{transform:g?"translate(-50%, -50%) rotate(45deg)":"translate(-50%, calc(-50% - 6px)) rotate(0deg)"}}),(0,t.jsx)("span",{className:`absolute left-1/2 top-1/2 h-0.5 w-5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-current transition-[opacity,transform] duration-200 motion-reduce:transition-none ${g?"scale-x-0 opacity-0":"scale-x-100 opacity-100"}`}),(0,t.jsx)("span",{className:"absolute left-1/2 top-1/2 h-0.5 w-5 rounded-full bg-current transition-transform duration-300 ease-out motion-reduce:transition-none",style:{transform:g?"translate(-50%, -50%) rotate(-45deg)":"translate(-50%, calc(-50% + 6px)) rotate(0deg)"}})]})})]})]})})}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-full hidden xl:block",children:"career"===A&&((h=I[0])?(0,t.jsx)("div",{className:"bg-vtBG shadow-[0_12px_24px_rgba(26,47,84,0.10)]",children:(0,t.jsxs)("div",{className:"content-wrapper grid grid-cols-3 gap-12 py-10",children:[(0,t.jsx)(e.LinkComponent,{href:p(h,b),className:"group flex min-h-40 cursor-pointer flex-col justify-between rounded-2xl bg-white p-7 text-darkBlue transition-shadow hover:shadow-sm",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"flex items-center justify-between gap-5 text-xl font-bold",children:[(0,t.jsx)("span",{children:h.title}),(0,t.jsx)("span",{"aria-hidden":"true",className:"shrink-0 text-2xl text-magenta transition-transform group-hover:translate-x-1",children:"â"})]}),(0,t.jsx)("p",{className:"mt-3 max-w-sm text-sm leading-6 text-darkBlue/70",children:h.description})]})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-4 text-sm font-bold uppercase tracking-[0.08em] text-darkBlue/55",children:y("NAVIGATION.CAREER.DIRECTIONS")}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:I.slice(1,5).map(r=>(0,t.jsx)(e.LinkComponent,{href:p(r,b),className:"cursor-pointer text-base font-bold text-darkBlue transition-colors hover:text-magenta",children:r.title},r.key))})]}),(0,t.jsx)("div",{className:"flex flex-col gap-4 pt-9",children:I.slice(5).map(r=>(0,t.jsx)(e.LinkComponent,{href:p(r,b),className:"cursor-pointer text-base font-bold text-darkBlue transition-colors hover:text-magenta",children:r.title},r.key))})]})}):null)})]})}])},869095,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),n=e.i(519130),o=e.i(868308),a=e.i(18005),i=e.i(606586),s=e.i(552174),l=e.i(791783),u=e.i(719636),c=e.i(210557),f=e.i(801226),d=e.i(99064),m=e.i(843476);function p(e,t,r){let n=function(e,t,r){let n,o=t.getBoundingClientRect(),a=r&&r.getBoundingClientRect(),i=(0,d.ownerWindow)(t);if(t.fakeTransform)n=t.fakeTransform;else{let e=i.getComputedStyle(t);n=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(n&&"none"!==n&&"string"==typeof n){let e=n.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?a?`translateX(${a.right+s-o.left}px)`:`translateX(${i.innerWidth+s-o.left}px)`:"right"===e?a?`translateX(-${o.right-a.left-s}px)`:`translateX(-${o.left+o.width-s}px)`:"up"===e?a?`translateY(${a.bottom+l-o.top}px)`:`translateY(${i.innerHeight+l-o.top}
1px)`:a?`translateY(-${o.top-a.top+o.height-l}px)`:`translateY(-${o.top+o.height-l}px)`}(e,t,"function"==typeof r?r():r);t.style.webkitTransform=n,t.style.transform=n}let h=t.forwardRef(function(e,r){let n=(0,c.useTheme)(),o={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:h,appear:y=!0,children:b,container:v,direction:g="down",easing:x=o,in:w,onEnter:j,onEntered:S,onEntering:O,onExit:N,onExited:A,onExiting:E,style:k,timeout:P=a,TransitionComponent:T=i.Transition,...C}=e,L=t.useRef(null),R=(0,u.default)((0,s.default)(b),L,r),M=e=>t=>{e&&(void 0===t?e(L.current):e(L.current,t))},I=M((e,t)=>{p(g,e,v),(0,f.reflow)(e),j&&j(e,t)}),D=M((e,t)=>{let r=(0,f.getTransitionProps)({timeout:P,style:k,easing:x},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",{...r}),e.style.transition=n.transitions.create("transform",{...r}),e.style.webkitTransform="none",e.style.transform="none",O&&O(e,t)}),U=M(S),_=M(E),z=M(e=>{let t=(0,f.getTransitionProps)({timeout:P,style:k,easing:x},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),p(g,e,v),N&&N(e)}),B=M(e=>{e.style.webkitTransition="",e.style.transition="",A&&A(e)}),F=t.useCallback(()=>{L.current&&p(g,L.current,v)},[g,v]);return t.useEffect(()=>{if(w||"down"===g||"right"===g)return;let e=(0,l.default)(()=>{L.current&&p(g,L.current,v)}),t=(0,d.ownerWindow)(L.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[g,w,v]),t.useEffect(()=>{w||F()},[w,F]),(0,m.jsx)(T,{nodeRef:L,onEnter:I,onEntered:U,onEntering:D,onExit:z,onExited:B,onExiting:_,addEndListener:e=>{h&&h(L.current,e)},appear:y,in:w,timeout:P,...C,children:(e,{ownerState:r,...n})=>t.cloneElement(b,{ref:R,style:{visibility:"exited"!==e||w?void 0:"hidden",...k,...b.props.style},...n})})});var y=e.i(67719),b=e.i(942196),v=e.i(152039),g=e.i(940799),x=e.i(75149),w=e.i(594425),j=e.i(540672),S=e.i(319727);function O(e){return(0,S.default)("MuiDrawer",e)}(0,j.default)("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var N=e.i(348106),A=e.i(484476);let E=(e,t)=>{let{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,t.modal]},k=(0,g.styled)(a.default,{name:"MuiDrawer",slot:"Root",overridesResolver:E})((0,x.default)(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),P=(0,g.styled)("div",{shouldForwardProp:v.default,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:E})({flex:"0 0 auto"}),T=(0,g.styled)(y.default,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t[`paperAnchor${(0,b.default)(r.anchor)}`],"temporary"!==r.variant&&t[`paperAnchorDocked${(0,b.default)(r.anchor)}`]]}})((0,x.default)(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}
1))),C={left:"right",right:"left",top:"down",bottom:"up"};function L(e){return["left","right"].includes(e)}function R({direction:e},t){return"rtl"===e&&L(t)?C[t]:t}let M=t.forwardRef(function(e,a){let i=(0,w.useDefaultProps)({props:e,name:"MuiDrawer"}),s=(0,c.useTheme)(),l=(0,o.useRtl)(),u={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:f="left",BackdropProps:d,children:p,className:y,elevation:v=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:x,...j}={},onClose:S,open:E=!1,PaperProps:L={},SlideProps:M,TransitionComponent:I,transitionDuration:D=u,variant:U="temporary",slots:_={},slotProps:z={},...B}=i,F=t.useRef(!1);t.useEffect(()=>{F.current=!0},[]);let $=R({direction:l?"rtl":"ltr"},f),V={...i,anchor:f,elevation:v,open:E,variant:U,...B},G=(e=>{let{classes:t,anchor:r,variant:o}=e,a={root:["root",`anchor${(0,b.default)(r)}`],docked:[("permanent"===o||"persistent"===o)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,b.default)(r)}`,"temporary"!==o&&`paperAnchorDocked${(0,b.default)(r)}`]};return(0,n.default)(a,O,t)})(V),W={slots:{transition:I,..._},slotProps:{paper:L,transition:M,...z,backdrop:(0,A.mergeSlotProps)(z.backdrop||{...d,...x},{transitionDuration:D})}},[q,H]=(0,N.default)("root",{ref:a,elementType:k,className:(0,r.default)(G.root,G.modal,y),shouldForwardComponentProp:!0,ownerState:V,externalForwardedProps:{...W,...B,...j},additionalProps:{open:E,onClose:S,hideBackdrop:g,slots:{backdrop:W.slots.backdrop},slotProps:{backdrop:W.slotProps.backdrop}}}),[Y,J]=(0,N.default)("paper",{elementType:T,shouldForwardComponentProp:!0,className:(0,r.default)(G.paper,L.className),ownerState:V,externalForwardedProps:W,additionalProps:{elevation:"temporary"===U?v:0,square:!0,..."temporary"===U&&{role:"dialog","aria-modal":"true"}}}),[K,Q]=(0,N.default)("docked",{elementType:P,ref:a,className:(0,r.default)(G.root,G.docked,y),ownerState:V,externalForwardedProps:W,additionalProps:B}),[X,Z]=(0,N.default)("transition",{elementType:h,ownerState:V,externalForwardedProps:W,additionalProps:{in:E,direction:C[$],timeout:D,appear:F.current}}),ee=(0,m.jsx)(Y,{...J,children:p});if("permanent"===U)return(0,m.jsx)(K,{...Q,children:ee});let et=(0,m.jsx)(X,{...Z,children:ee});return"persistent"===U?(0,m.jsx)(K,{...Q,children:et}):(0,m.jsx)(q,{...H,children:et})});e.s(["default",0,M,"getAnchor",()=>R,"isHorizontal",()=>L],869095)},318924,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(869095),n=n,o=e.i(773822),a=e.i(139081),i=e.i(988569);e.s(["default",0,({useVtTranslate:e})=>{let{t:s}=e("common"),[l,u]=r.default.useState(!1);r.default.useLayoutEffect(()=>{"true"===localStorage.getItem("cookiebot-dismissed")||u(!window?.Cookiebot?.consented&&!window?.Cookiebot?.declined)},[]);let c=()=>new Promise(e=>{if(void 0!==window.Cookiebot&&"function"==typeof window.Cookiebot.submitCustomConsent)return e(window.Cookiebot);document.addEventListener("CookiebotOnConsentReady",()=>{"function"==typeof window.Cookiebot?.submitCustomConsent&&e(window.Cookiebot)},{once:!0})}),f=async()=>{localStorage.setItem("cookiebot-dismissed","true"),u(!1);let e=await c();console.log("Submitting custom consent..."),e.submitCustomConsent?.(!0,!0,!0,!0),e.updateConsentState?.(),console.log("After submit:",e.consent),window.dispatchEvent(new Event("CookiebotOnConsentReady")),window.dispatchEvent(new Event("CookiebotOnAccept"))},d=async()=>{localStorage.setItem("cookiebot-dismissed","true"),u(!1);let e=await c();e.submitCustomConsent?.(!1,!1,!1,!1),e.updateConsentState?.(),window.dispatchEvent(new Event("CookiebotOnConsentReady"))};return(0,t.jsx)(n.default,{anchor:"bottom",open:l,onClose:()=>{},slotProps:{paper:{"aria-label":String(s("COOKIEBOT.TITLE"))}},children:(0,t.jsx)("div",{className:"bg-darkBlue text-white p-5 lg:p-10 flex flex-row justify-center",children:(0,t.jsxs)(o.default,{title:{content:s("COOKIEBOT.TITLE"),level:"h2",className:"text-white"},className:"text-white lg:w-6xl",children:[(0,t.jsx)(a.default,{type:"body_1",className:"mt-2",children:s("COOKIEBOT.DESCRIPTION")}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between md:justify-start mt-10 gap-4",children:[(0,t.jsx)(i.default,{type:"PRIMARY",size:"lg",onClick:()=>{f()},children:s("COOKIEBOT.CONSENT_BUTTON")}),(0,t.jsx)(i.default,{type:"SECONDARY",size:"lg",onClick:()=>{d()},children:s("COOKIEBOT.REFUSE_CONSENT_BUTTON")})]})]})})})}],318924)},38479,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(207670),n=e.i(519130),o=e.i(940799),a=e.i(75149),i=e.i(594425),s=e.i(454624),l=e.i(843476);let u=(0,s.default)((0,l.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var c=e.i(540672),f=e.i(319727);function d(e){return(0,f.default)("MuiAvatar",e)}
1(0,c.default)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var m=e.i(348106);let p=(0,o.styled)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})((0,a.default)(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),h=(0,o.styled)("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),y=(0,o.styled)(u,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"}),b=t.forwardRef(function(e,o){let a=(0,i.useDefaultProps)({props:e,name:"MuiAvatar"}),{alt:s,children:u,className:c,component:f="div",slots:b={},slotProps:v={},imgProps:g,sizes:x,src:w,srcSet:j,variant:S="circular",...O}=a,N=null,A={...a,component:f,variant:S},E=function({crossOrigin:e,referrerPolicy:r,src:n,srcSet:o}){let[a,i]=t.useState(!1);return t.useEffect(()=>{if(!n&&!o)return;i(!1);let t=!0,a=new Image;return a.onload=()=>{t&&i("loaded")},a.onerror=()=>{t&&i("error")},a.crossOrigin=e,a.referrerPolicy=r,a.src=n,o&&(a.srcset=o),()=>{t=!1}},[e,r,n,o]),a}({...g,..."function"==typeof v.img?v.img(A):v.img,src:w,srcSet:j}),k=w||j,P=k&&"error"!==E;A.colorDefault=!P,delete A.ownerState;let T=(e=>{let{classes:t,variant:r,colorDefault:o}=e;return(0,n.default)({root:["root",r,o&&"colorDefault"],img:["img"],fallback:["fallback"]},d,t)})(A),[C,L]=(0,m.default)("root",{ref:o,className:(0,r.default)(T.root,c),elementType:p,externalForwardedProps:{slots:b,slotProps:v,component:f,...O},ownerState:A}),[R,M]=(0,m.default)("img",{className:T.img,elementType:h,externalForwardedProps:{slots:b,slotProps:{img:{...g,...v.img}}},additionalProps:{alt:s,src:w,srcSet:j,sizes:x},ownerState:A}),[I,D]=(0,m.default)("fallback",{className:T.fallback,elementType:y,externalForwardedProps:{slots:b,slotProps:v},shouldForwardComponentProp:!0,ownerState:A});return N=P?(0,l.jsx)(R,{...M}):u||0===u?u:k&&s?s[0]:(0,l.jsx)(I,{...D}),(0,l.jsx)(C,{...L,children:N})});e.s(["Avatar",0,b],38479)},614677,332290,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(657688),o=e.i(212234),a=e.i(758005),i=e.i(527943),s=e.i(773822),l=e.i(762335),u=e.i(988569),c=e.i(139081),f=e.i(747997),d=e.i(495182),m=e.i(235014),p=e.i(619455),h=e.i(984166);let y=({locationPageMetaAtom:e,currentlyDisplayedLocationAtom:n,useVtTranslate:o,customUseAtom:y,platformUrl:b})=>{let{t:v}=o("common"),[g]=y(e),[x]=y(n),w=x?.emergencyPhoneNumberPrice||0,j=x?.emergencyPhoneNumberPaid||x?.emergencyPhoneNumber||g?.emergencyPhoneNumber,S={[a.VTPlatformURLS.VETTRUST]:b===a.VTPlatformURLS.VETTRUST&&(0,t.jsxs)("div",{className:"w-full border border-solid border-magenta rounded-xl p-4 flex flex-col lg:flex-row items-center gap-4 mb-4 bg-magenta/5",children:[(0,t.jsx)("div",{className:"w-full lg:w-[50%]",children:(0,t.jsx)(l.default,{content:0!==w?v("EMERGENCY_MODAL.PHONE_NUMBER_CHARGEABLE_HEADING",{values:{price:w},components:{br:()=>(0,t.jsx)("br",{})}}):v("EMERGENCY_MODAL.PHONE_NUMBER_HEADING"),level:"h5"})}),(0,t.jsx)("div",{className:"w-full lg:w-[50%] flex justify-end whitespace-nowrap",children:(0,t.jsx)(u.default,{type:"MAGENTA",size:"lg",iconLeft:"PhonePlus",className:"rounded-lg vt-tel",focusRingClassName:"xs:ring-offset-white",url:(0,m.stripWhitespace)(`tel:${j}`),externalLink:!0,disableLineBreak:!0,onClick:()=>{d.MetaPixel.lead({content_name:x?.name||"No specified location",lead_type:"emergency_phone",status:"clicked"})},children:j})})]}),[a.VTPlatformURLS.CLINICA_ALPINA]:b===a.VTPlatformURLS.CLINICA_ALPINA&&(0,t.jsxs)("div",{className:"w-full border border-solid border-magenta rounded-xl p-4 flex flex-col items-center gap-4 mb-4 bg-magenta/5",children:[(0,t.jsx)("div",{className:"w-full ",children:(0,t.jsx)(l.default,{content:0!==w?v("EMERGENCY_MODAL.PHONE_NUMBER_CHARGEABLE_HEADING",{values:{price:w},components:{br:()=>(0,t.jsx)("br",{})}}):v("EMERGENCY_MODAL.PHONE_NUMBER_HEADING"),level:"h5"})}),(0,t.jsx)("div",{className:"w-full flex justify-end whitespace-nowrap",children:(0,t.jsxs)(u.default,{type:"MAGENTA",size:"lg",iconLeft:"PhonePlus",className:"rounded-lg w-full",focusRingClassName:"xs:ring-offset-white",url:(0,m.stripWhitespace)(`tel:${v("EMERGENCY.SCUOL.TELEPHONE_NUMBER")}`),externalLink:!0,disableLineBreak:!0,onClick:()=>{d.MetaPixel.lead({content_name:x?.name||"No specified location",lead_type:"emergency_phone",status:"clicked"})},children:["Scuol: ",v("EMERGENCY.SCUOL.TELEPHONE_NUMBER")]})}),(0,t.jsx)("div",{className:"w-full flex justify-end whitespace-nowrap",children:(0,t.jsxs)(u.default,{type:"MAGENTA",size:"lg",iconLeft:"PhonePlus",className:"rounded-lg w-full",focusRingClassName:"xs:ring-offset-white",url:(0,m.stripWhitespace)(`tel:${v("EMERGENCY.CELERINA.TELEPHONE_NUMBER")}`),externalLink:!0,disableLineBreak:!0,children:["Celerina: ",v("EMERGENCY.CELERINA.TELEPHONE_NUMBER")]})})]})};return(0,t.jsx)("div",{className:"max-w-260 p-5 lg:p-10",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5 lg:gap-14",children:[g?.emergencyImage&&(0,t.jsx)("div",{className:"w-full h-62.5 md:h-103.5 lg:h-auto relative overflow-hidden ",children:(0,t.jsx)(i.default,{src:(0,f.formatURL)(g.emergencyImage.file.url),placeholder:"blur",fill:!0,sizes:"(max-width: 1024px) 100vw, 520px",blurDataURL:p.DEFAULT_IMAGE_LOADER,className:"default-radius object-cover object-center",alt:g?.emergencyImage?.description})}),(0,t.jsxs)(s.default,{title:{content:v(0!==w?"EMERGENCY_MODAL.TITLE_CHARGEABLE":"EMERGENCY_MODAL.TITLE"),level:"h3"},children:[S[b],x?.emergencyPhoneNumberDisclaimer&&(0,t.jsx)(h.RichTextRenderer,{className:"mb-4",document:x.emergencyPhoneNumberDisclaimer}),(0,t.jsx)(c.default,{type:"body_2",className:"mb-4",children:v("EMERGENCY_MODAL.DESCRIPTION_1")}),b!==a.VTPlatformURLS.CLINICA_ALPINA&&(0,t.jsxs)(r.default.Fragment,{children:[(0,t.jsx)(c.default,{type:"body_2",className:"mb-4",children:v("EMERGENCY_MODAL.DESCRIPTION_2")}),(0,t.jsx)(c.default,{type:"body_2",children:v("EMERGENCY_MODAL.DESCRIPTION_3")})]})]})]})})};e.s(["default",0,y],332290);let b=(0,r.lazy)(()=>e.A(290728)),v=(0,r.lazy)(()=>e.A(562648)),g=(0,r.lazy)(()=>e.A(132478)),x=(0,r.lazy)(()=>e.A(885610)),w=(0,r.lazy)(()=>e.A(704430)),j=(0,r.lazy)(()=>e.A(303417)),S=(0,r.lazy)(()=>e.A(515729)),O=(0,r.lazy)(()=>e.A(323452)),N=(0,r.lazy)(()=>e.A(612124)),A=(0,r.lazy)(()=>e.A(385001)),E=(0,r.lazy)(()=>e.A(196239));function k(e,i=()=>{},s,l,u,c,f,d,m,p,h,P,T,C,L,R,M){switch(e){case o.ModalsOptions.REFERRAL_FORM:return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(E,{useVtTranslate:s})});case o.ModalsOptions.CAREER_SIGNUP:return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(N,{currentModalAtom:l,useVtTranslate:s,customUseAtom:T,LinkComponent:L,privacyUrl:R,locale:M})});case o.ModalsOptions.SIGNUP_SUCCESS:return(0,t.jsx)(b,{currentModalAtom:l,useVtTranslate:s,customUseAtom:T,logo:(0,t.jsxs)("div",{className:"relative inline-flex",children:[(0,t.jsx)(n.default,{src:C===a.VTPlatformURLS.CLINICA_ALPINA?"/CLINICA-ALPINA-2.svg":"/vettrust-logo-dark.svg",width:C===a.VTPlatformURLS.CLINICA_ALPINA?193:222,height:C===a.VTPlatformURLS.CLINICA_ALPINA?107:67,alt:"Logo"}),(0,t.jsxs)("svg",{className:"absolute -top-3 -right-3",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:"20",cy:"20",r:"20",fill:"white"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 33.3332C27.3638 33.3332 33.3334 27.3636 33.3334 19.9998C33.3334 12.636 27.3638 6.666
15 20 6.6665C12.6362 6.6665 6.66667 12.636 6.66667 19.9998C6.66667 27.3636 12.6362 33.3332 20 33.3332ZM27.2018 16.192C27.492 15.8965 27.4877 15.4217 27.1922 15.1314C26.8967 14.8412 26.4218 14.8455 26.1316 15.141L17.5 23.9295L13.8684 20.2319C13.5782 19.9364 13.1033 19.9321 12.8078 20.2223C12.5123 20.5126 12.508 20.9874 12.7983 21.2829L16.9649 25.5254C17.106 25.669 17.2988 25.7498 17.5 25.7498C17.7013 25.7498 17.8941 25.669 18.0351 25.5254L27.2018 16.192Z",fill:"#358C0C"})]})]})});case o.ModalsOptions.SERVICE_DETAILS:return(0,t.jsx)(v,{currentModalAtom:l,currentlyDisplayedLocationAtom:f,currentlyDisplayedServiceAtom:h,useVtTranslate:s,customUseAtom:T,navigateToContact:P});case o.ModalsOptions.ALL_OPENING_HOURS:return(0,t.jsx)(g,{locationGooglePlacesDataAtom:u,useVtTranslate:s,customUseAtom:T,currentlyDisplayedLocationAtom:f});case o.ModalsOptions.EMERGENCY:return(0,t.jsx)(y,{currentlyDisplayedLocationAtom:f,locationPageMetaAtom:c,useVtTranslate:s,customUseAtom:T,platformUrl:C});case o.ModalsOptions.LOCATION_TEAM_MEMBER_DETAILS:return(0,t.jsx)(x,{currentlyDisplayedTeamMemberAtom:p,customUseAtom:T});case o.ModalsOptions.LOCATION_APPOINTMENT_BOOKING:return(0,t.jsx)(w,{currentlyDisplayedLocationAtom:f,muiTheme:d,useVtTranslate:s,customUseAtom:T});case o.ModalsOptions.CONTACT_MODAL:return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(A,{currentModalAtom:l,currentlyDisplayedLocationAtom:f,useVtTranslate:s,customUseAtom:T,LinkComponent:L,privacyUrl:R})});case o.ModalsOptions.ANNOUNCEMENT:return(0,t.jsx)(j,{currentModalAtom:l,currentlyDisplayedAnnouncementAtom:m,useVtTranslate:s,customUseAtom:T});case o.ModalsOptions.VESTORIA_WIDGET:return(0,t.jsx)(S,{muiTheme:d});case o.ModalsOptions.CALENDLY_WIDGET:return(0,t.jsx)(O,{muiTheme:d,handleClose:i});default:return(0,t.jsx)("div",{onClick:i})}}e.s(["modalSelector",()=>k],614677)},179061,e=>{"use strict";var t=e.i(876936);e.s(["Times",()=>t.default])},472025,589761,788747,789062,704509,659424,e=>{"use strict";var t,r=e.i(843476),n=e.i(38479),o=e.i(237828),a=e.i(803566),i=e.i(271645),s=e.i(614677),l=e.i(179061),u=e.i(758005);function c(){}e.s(["default",()=>c],589761),e.s(["default",0,({currentlyDisplayedServiceAtom:e,currentModalAtom:t,locationGooglePlacesDataAtom:f,locationPageMetaAtom:d,currentlyDisplayedLocationAtom:m,muiTheme:p,currentlyDisplayedAnnouncementAtom:h,currentlyDisplayedTeamMemberAtom:y,useVtTranslate:b,customUseAtom:v,platformUrl:g,LinkComponent:x,locale:w,privacyUrl:j,navigateToContact:S})=>{let[O,N]=v(t),[,A]=v(e),E=g||u.VTPlatformURLS.VETTRUST,k=()=>{N({type:null,minWidth:"sm"}),c(),A(null)};return(0,i.useEffect)(()=>{},[O]),(0,r.jsx)(a.Dialog,{open:!!O.type,maxWidth:!1,onClose:k,slotProps:{paper:{sx:{borderRadius:"12px",[p.breakpoints.down("sm")]:{margin:"20px",maxWidth:"calc(100% - 40px)"}}}},children:(0,r.jsxs)("div",{className:"w-full bg-white rounded-xl relative z-[10]",children:[(0,r.jsx)("div",{className:"text-right w-full flex flex-row justify-end absolute top-0 z-[11]",children:(0,r.jsx)("div",{className:"rounded-full bg-transparent p-4 fixed",children:(0,r.jsx)(n.Avatar,{variant:"circular",className:"bg-darkBlue w-8 h-8 rounded-full",sx:{height:"32px",width:"32px",backgroundColor:p.palette.primary.main},onClick:k,children:(0,r.jsx)(l.Times,{className:"cursor-pointer text-white w-4 h-4"})})})}),(0,r.jsx)("div",{className:"z-[1] bg-transparent",children:(0,r.jsx)(i.Suspense,{fallback:(0,r.jsx)("div",{className:"flex min-h-40 min-w-64 items-center justify-center",children:(0,r.jsx)(o.CircularProgress,{size:30})}),children:(0,s.modalSelector)(O.type,k,b,t,f,d,m,p,h,y,e,S,v,E,x,j,w)})})]})})}],472025);var f="en",d={},m={};function p(e){if(!e)throw Error("No locale data passed");d[e.locale]=e,m[e.locale.toLowerCase()]=e.locale}function h(e){return d[e]?e:m[e.toLowerCase()]?m[e.toLowerCase()]:void 0}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.localeMatcher||"lookup";switch(r){case"lookup":case"best fit":var n=e,o=h(n);if(o)return o;for(var a=n.split("-");n.length>1;){a.pop();var i=h(n=a.join("-"));if(i)return i}return;default:throw RangeError('Invalid "localeMatcher" option: '.concat(r))}}var b={af:function(e){return 1==e?"one":"other"},ak:function(e){return 0==e||1==e?"one":"other"},am:function(e){return e>=0&&e<=1?"one":"other"},ar:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ast:function(e){var t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},be:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),o=r&&t[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},blo:function(e){return 0==e?"zero":1==e?"one":"other"},br:function(e){var t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),o=r&&t[0].slice(-2),a=r&&t[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=e&&r&&0==a?"many":"other"},bs:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-1),i=r.slice(-2),s=n.slice(-1),l=n.slice(-2);return o&&1==a&&11!=i||1==s&&11!=l?"one":o&&a>=2&&a<=4&&(i<12||i>14)||s>=2&&s<=4&&(l<12||l>14)?"few":"other"},ca:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e&&n?"one":0!=r&&0==o&&n?"many":"other"},ceb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-1),i=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=a&&6!=a&&9!=a||!o&&4!=i&&6!=i&&9!=i?"one":"other"},cs:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(e){return 0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e){var t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},dsb:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-2),i=n.slice(-2);return o&&1==a||1==i?"one":o&&2==a||2==i?"two":o&&(3==a||4==a)||3==i||4==i?"few":"other"},dz:function(e){return"other"},es:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 1==e?"one":0!=r&&0==o&&n?"many":"other"},ff:function(e){return e>
1=0&&e<2?"one":"other"},fr:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==o&&n?"many":"other"},ga:function(e){var t=Number(String(e).split(".")[0])==e;return 1==e?"one":2==e?"two":t&&e>=3&&e<=6?"few":t&&e>=7&&e<=10?"many":"other"},gd:function(e){var t=Number(String(e).split(".")[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":t&&e>=3&&e<=10||t&&e>=13&&e<=19?"few":"other"},he:function(e){var t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},is:function(e){var t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),o=Number(t[0])==e,a=r.slice(-1),i=r.slice(-2);return o&&1==a&&11!=i||n%10==1&&n%100!=11?"one":"other"},lt:function(e){var t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,o=n&&t[0].slice(-1),a=n&&t[0].slice(-2);return 1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(e){var t=String(e).split("."),r=t[1]||"",n=r.length,o=Number(t[0])==e,a=o&&t[0].slice(-1),i=o&&t[0].slice(-2),s=r.slice(-2),l=r.slice(-1);return o&&0==a||i>=11&&i<=19||2==n&&s>=11&&s<=19?"zero":1==a&&11!=i||2==n&&1==l&&11!=s||2!=n&&1==l?"one":"other"},mk:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"",o=!t[1],a=r.slice(-1),i=r.slice(-2),s=n.slice(-1),l=n.slice(-2);return o&&1==a&&11!=i||1==s&&11!=l?"one":"other"},mt:function(e){var t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},pl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),a=r.slice(-2);return 1==e&&n?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&a>=12&&a<=14?"many":"other"},pt:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},ro:function(e){var t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},ru:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&a>=11&&a<=14?"many":"other"},se:function(e){return 1==e?"one":2==e?"two":"other"},si:function(e){var t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sl:function(e){var t=String(e).split("."),r=t[0],n=!t[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}};function v(e){return"pt-PT"===e?e:function(e){var t=e.match(g);if(!t)throw TypeError("Invalid locale: ".concat(e));return t[1]}(e)}b.as=b.am,b.az=b.af,b.bal=b.af,b.bg=b.af,b.bn=b.am,b.brx=b.af,b.ce=b.af,b.chr=b.af,b.de=b.ast,b.doi=b.am,b.ee=b.af,b.el=b.af,b.en=b.ast,b.et=b.ast,b.eu=b.af,b.fa=b.am,b.fi=b.ast,b.fil=b.ceb,b.fo=b.af,b.fur=b.af,b.fy=b.ast,b.gl=b.ast,b.gu=b.am,b.ha=b.af,b.hi=b.am,b.hr=b.bs,b.hsb=b.dsb,b.hu=b.af,b.hy=b.ff,b.ia=b.ast,b.id=b.dz,b.ig=b.dz,b.ii=b.dz,b.it=b.ca,b.ja=b.dz,b.jgo=b.af,b.jv=b.dz,b.ka=b.af,b.kea=b.dz,b.kk=b.af,b.kl=b.af,b.km=b.dz,b.kn=b.am,b.ko=b.dz,b.ks=b.af,b.ksh=b.blo,b.ku=b.af,b.ky=b.af,b.lb=b.af,b.lkt=b.dz,b.lo=b.dz,b.ml=b.af,b.mn=b.af,b.mr=b.af,b.ms=b.dz,b.my=b.dz,b.nb=b.af,b.ne=b.af,b.nl=b.ast,b.nn=b.af,b.no=b.af,b.nqo=b.dz,b.om=b.af,b.or=b.af,b.pa=b.ak,b.pcm=b.am,b.ps=b.af,b.rm=b.af,b.sah=b.dz,b.sc=b.ast,b.sd=b.af,b.sk=b.cs,b.so=b.af,b.sq=b.af,b.sr=b.bs,b.su=b.dz,b.sv=b.ast,b.sw=b.ast,b.syr=b.af,b.ta=b.af,b.te=b.af,b.th=b.dz,b.ti=b.ak,b.tk=b.af,b.tn=b.af,b.to=b.dz,b.tr=b.af,b.ug=b.af,b.uk=b.ru,b.ur=b.ast,b.uz=b.af,b.vec=b.ca,b.vi=b.dz,b.wae=b.af,b.wo=b.dz,b.xh=b.af,b.yi=b.ast,b.yo=b.dz,b.yue=b.dz,b.zh=b.dz,b.zu=b.am;var g=/^([a-z0-9]+)/i;function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=x(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==x(t)?t:t+""}(n.key),n)}}var j=function(){var e,t;function r(e,t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");
1var n=r.supportedLocalesOf(e);if(0===n.length)throw RangeError("Unsupported locale: "+e);if(t&&"cardinal"!==t.type)throw RangeError('Only "cardinal" "type" is supported');this.$=b[v(n[0])]}return e=[{key:"select",value:function(e){return this.$(e)}}],t=[{key:"supportedLocalesOf",value:function(e){return"string"==typeof e&&(e=[e]),e.filter(function(e){return b[v(e)]})}}],e&&w(r.prototype,e),t&&w(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=k(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function k(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}var P=["second","minute","hour","day","week","month","quarter","year"],T=["auto","always"],C=["long","short","narrow"],L=["lookup","best fit"],R=function(){var e;function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=r.numeric,o=r.style,a=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==n){if(0>T.indexOf(n))throw RangeError('Invalid "numeric" option: '.concat(n));this.numeric=n}if(void 0!==o){if(0>C.indexOf(o))throw RangeError('Invalid "style" option: '.concat(o));this.style=o}if(void 0!==a){if(0>L.indexOf(a))throw RangeError('Invalid "localeMatcher" option: '.concat(a));this.localeMatcher=a}if("string"==typeof e&&(e=[e]),e.push(f),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw Error("Unsupported locale");j.supportedLocalesOf(this.locale).length>0?this.pluralRules=new j(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"undefined"!=typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=y(this.locale,{localeMatcher:this.localeMatcher})}return e=[{key:"format",value:function(){var e=I(arguments),t=A(e,2),r=t[0],n=t[1];return this.getRule(r,n).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"formatToParts",value:function(){var e=I(arguments),t=A(e,2),r=t[0],n=t[1],o=this.getRule(r,n),a=o.indexOf("{0}");if(a<0)return[{type:"literal",value:o}];var i=[];return a>0&&i.push({type:"literal",value:o.slice(0,a)}
1),i=i.concat(this.formatNumberToParts(Math.abs(r)).map(function(e){return N(N({},e),{},{unit:n})})),a+3<o.length-1&&i.push({type:"literal",value:o.slice(a+3)}),i}},{key:"getRule",value:function(e,t){var r,n=d[this.locale][this.style][t];if("string"==typeof n)return n;if("auto"===this.numeric){if(-2===e||-1===e){var o=n["previous".concat(-1===e?"":"-"+Math.abs(e))];if(o)return o}else if(1===e||2===e){var a=n["next".concat(1===e?"":"-"+Math.abs(e))];if(a)return a}else if(0===e&&n.current)return n.current}var i=n[(r=e)<0||0===r&&1/r==-1/0?"past":"future"];return"string"==typeof i?i:i[this.pluralRules&&this.pluralRules.select(Math.abs(e))||"other"]||i.other}},{key:"formatNumber",value:function(e){return this.numberFormat?this.numberFormat.format(e):String(e)}},{key:"formatNumberToParts",value:function(e){return this.numberFormat&&this.numberFormat.formatToParts?this.numberFormat.formatToParts(e):[{type:"integer",value:this.formatNumber(e)}]}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric,numberingSystem:this.numberingSystem}}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();R.supportedLocalesOf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e)e=[e];else if(!Array.isArray(e))throw TypeError('Invalid "locales" argument');return e.filter(function(e){return y(e,t)})},R.addLocale=p,R.addDefaultLocale=function(e){p(e),f=e.locale},R.setDefaultLocale=function(e){f=e},R.getDefaultLocale=function(){return f},R.PluralRules=j;var M='Invalid "unit" argument';function I(e){if(e.length<2)throw TypeError('"unit" argument is required');return[function(e){if(e=Number(e),Number.isFinite&&!Number.isFinite(e))throw RangeError("".concat('Invalid "number" argument',": ").concat(e));return e}(e[0]),function(e){if("symbol"===S(e))throw TypeError(M);if("string"!=typeof e||("s"===e[e.length-1]&&(e=e.slice(0,e.length-1)),0>P.indexOf(e)))throw RangeError("".concat(M,": ").concat(e));return e}(e[1])]}function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var U=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.cache={}}return e=[{key:"get",value:function(){for(var e=this.cache,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var o=0;o<r.length;o++){var a=r[o];if("object"!==D(e))return;e=e[a]}return e}},{key:"put",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t.pop(),o=t.pop(),a=this.cache,i=0;i<t.length;i++){var s=t[i];"object"!==D(a[s])&&(a[s]={}),a=a[s]}return a[o]=n}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=D(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=D(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==D(t)?t:t+""}(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}();function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var F={}.constructor;function $(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2630016;case"year":return 0x1e18558}}function V(e){return void 0!==e.factor?e.factor:$(e.unit||e.formatAs)||1}function G(e){return"floor"===e?Math.floor:Math.round}function W(e){return"floor"===e?1:.5}function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,t){var r,n=t.prevStep,o=t.timestamp,a=t.now,i=t.future,s=t.round;return n&&(n.id||n.unit)&&(r=e["threshold_for_".concat(n.id||n.unit)]),void 0===r&&void 0!==e.threshold&&"function"==typeof(r=e.threshold)&&(r=r(a,i)),void 0===r&&(r=e.minTime),"object"===q(r)&&(r=n&&n.id&&void 0!==r[n.id]?r[n.id]:r.default),"function"==typeof r&&(r=r(o,{future:i,getMinTimeForUnit:function(e,t){return Y(e,t||n&&n.formatAs,{round:s})}})),void 0===r&&e.test&&(r=0x1fffffffffffff*!e.test(o,{now:a,future:i})),void 0===r&&(n?e.formatAs&&n.formatAs&&(r=Y(e.formatAs,n.formatAs,{round:s})):r=0),void 0===r&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(e,null,2)),r}function Y(e,t,r){var n,o=r.round,a=$(e);if(n="now"===t?$(e):$(t),void 0!==a&&void 0!==n)return a-n*(1-W(o))}function J(e){return(J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var Q={};function X(e){return Q[e]}function Z(e){if(!e)throw Error("[javascript-time-ago] No locale data passed.");Q[e.locale]=e}let ee={steps:[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],labels:"long"};function et(e){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function en(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?er(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=et(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=et(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==et(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):er(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eo=en(en({},ee),{},{steps:ee.steps.filter(function(e){return"second"!==e.formatAs})}),ea=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45.5,factor:1,unit:"second"},{threshold:45.5,factor:60,unit:"minute"},{threshold:150,granularity:5,factor:60,unit:"minute"},{threshold:1350,factor:1800,unit:"half-hour"},{threshold:2550,threshold_for_minute:3150,factor:3600,unit:"hour"},{threshold:20.5/24*86400,factor:86400,unit:"day"},{threshold:475200,factor:604800,unit:"week"},{threshold:2116800,factor:2630016,unit:"month"},{threshold:0x1a55fc0,factor:0x1e18558,unit:"year"}],ei={gradation:ea,flavour:"long",units:["now","minute","hour","day","week","month","year"]},es={gradation:ea,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function el(e){return e instanceof Date?e:new Date(e)}var eu=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],ec={};("undefined"==typeof Intl?"undefined":_(Intl))==="object"&&"function"==typeof Intl.DateTimeFormat?eu.push({minTime:function(e,t){return t.future,(0,t.getMinTimeForUnit)("day")},format:function(e,t){return ec[t]||(ec[t]={}),ec[t].dayMonth||(ec[t].dayMonth=new Intl.DateTimeFormat(t,{month:"short",day:"numeric"})),ec[t].dayMonth.format(el(e))}},{minTime:function(e,t){if(!t.future)return(new Date(new Date(e).getFullYear()+1,0).getTime()-e)/1e3;var r=new Date(new Date(e).getFullYear(),0).getTime()-1;return(e-r)/1e3},format:function(e,t){return ec[t]||(ec[t]={}),ec[t].dayMonthYear||(ec[t].dayMonthYear=new Intl.DateTimeFormat(t,{year:"numeric",month:"short",day:"numeric"})),ec[t].dayMonthYear.format(el(e))}}):eu.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});let ef={steps:eu,labels:["mini","short-time","narrow","short"]};function ed(e){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function em(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ep(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?em(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=ed(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ed(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ed(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):em(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eh=ep(ep({},ef),{},{steps:[{formatAs:"now"}].concat(ef.steps)});function ey(e){return(ey="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ev(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?eb(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=ey(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ey(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ey(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eb(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eg=ev(ev({},ef),{},{steps:ef.steps.filter(function(e){return"second"!==e.formatAs})});function ex(e){return(ex="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ew(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ej(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ew(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=ex(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ex(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ex(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ew(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eS=ej(ej({},eg),{},{steps:[{formatAs:"now"}].concat(eg.steps)});function eO(e){return(eO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eN(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=eO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eO(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eO(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eN(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eE=eA(eA({},ef),{},{steps:ef.steps.filter(function(e){return"second"!==e.formatAs}).map(function(e){return"minute"===e.formatAs?eA(eA({},e),{},{minTime:60}):e})}),ek={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function eP(e){return(eP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?eT(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=eP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eP(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eP(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eT(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eL=eC(eC({},ek),{},{steps:[{formatAs:"now"}].concat(ek.steps)});function eR(e){return(eR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eI(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eM(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=eR(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eR(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eR(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eM(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eD=eI(eI({},ek),{},{steps:ek.steps.filter(function(e){return"second"!==e.formatAs})});function eU(e){return(eU="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ez(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e_(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=eU(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eU(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eU(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eB=ez(ez({},eD),{},{steps:[{formatAs:"now"}].concat(eD.steps)});function eF(e){return(eF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e$(e,t){if(e){if("string"==typeof e)return eV(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eV(e,t):void 0}}function eV(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eG=function(){var e;function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.polyfill;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");"string"==typeof e&&(e=[e]),this.locale=function(e,t){for(var r,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return z(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,void 0):void 0}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(r=n()).done;){var o=r.value;if(t(o))return o;for(var a=o.split("-");a.length>1;)if(a.pop(),t(o=a.join("-")))return o}throw Error("No locale data has been registered for any of the locales: ".concat(e.join(", ")))}(e.concat(t.getDefaultLocale()),X),"undefined"!=typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=R,this.IntlPluralRules=R.PluralRules),this.relativeTimeFormatCache=new U,this.pluralRulesCache=new U}return e=[{key:"format",value:function(e,t,r){r||(t&&!function(e){var t;return"string"==typeof e||void 0!==B(t=e)&&null!==t&&t.constructor===F&&(Array.isArray(e.steps)||Array.isArray(e.gradation)||Array.isArray(e.flavour)||"string"==typeof e.flavour||Array.isArray(e.labels)||"string"==typeof e.labels||Array.isArray(e.units)||"function"==typeof e.custom)}(t)?(r=t,t=void 0):r={}),t||(t=eo),"string"==typeof t&&(t=function(e){switch(e){case"default":case"round":return ee;case"round-minute":return eo;case"approximate":default:return ei;case"time":case"approximate-time":return es;case"mini":return ek;case"mini-now":return eL;case"mini-minute":return eD;case"mini-minute-now":return eB;case"twitter":return ef;case"twitter-now":return eh;case"twitter-minute":return eg;case"twitter-minute-now":return eS;case"twitter-first-minute":return eE}}(t));var n,o,a,i,s,l,u,c,f,d,m,p=function(e){var t;if(e.constructor===Date||"object"===eF(t=e)&&"function"==typeof t.getTime)return e.getTime();if("number"==typeof e)return e;throw Error("Unsupported relative time formatter input: ".concat(eF(e),", ").concat(e))}(e),h=this.getLabels(t.flavour||t.labels),y=h.labels,b=h.labelsType;void 0!==t.now&&(m=t.now),void 0===m&&void 0!==r.now&&(m=r.now),void 0===m&&(m=Date.now());var v=(m-p)/1e3,g=r.future||v<0,x=(n=y,o=X(this.locale).now,a=X(this.locale).long,i=g,(s=n.now||o&&o.now)?"string"==typeof s?s:i?s.future:s.past:a&&a.second&&a.second.current?a.second.current:void 0);if(t.custom){var w=t.custom({now:m,date:new Date(p),time:p,elapsed:v,locale:this.locale});if(void 0!==w)return w}var j=(l=t.units,u=y,c=x,f=Object.keys(u),c&&f.push("now"),l&&(f=l.filter(function(e){return"now"===e||f.indexOf(e)>=0})),f),S=r.round||t.round,O=function(e){if(Array.isArray(e))return e}(d=function(e,t,r){var n,o,a=r.now,i=r.future,s=r.round,l=r.units,u=r.getNextStep,c=function(e,t,r){var n=r.now,o=r.future,a=r.round;if(0!==e.length){var i=function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=H(t[o],function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?K(Object(r),!0).forEach(function(t){var n,o,a;n=e,o=t,a=r[t],(o=function(e){var t=function(e,t){if("object"!=J(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=J(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==J(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({prevStep:t[o-1],timestamp:n.now-1e3*r},n));return void 0===a||Math.abs(r)<a?o-1:o===t.length-1?o:e(t,r,n,o+1)}(e,t,{now:n,future:o||t<0,round:a});if(-1!==i){var s=e[i];return s.granularity&&0==G(a)(Math.abs(t)/V(s)/s.granularity)*s.granularity&&i>0?e[i-1]:s}}}((n=e,o=l,e=n.filter(function(e){var t=e.unit,r=e.formatAs;return!(t=t||r)||o.indexOf(t)>=0})),t,{now:a,future:i,round:s});if(u){if(c){var f=e[e.indexOf(c)-1],d=e[e.indexOf(c)+1];return[f,c,d]}return[void 0,void 0,e[0]]}return c}(t.gradation||t.steps||eo.steps,v,{now:m,units:j,round:S,future:g,getNextStep:!0}))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,u=!1;try{a=(r=r.call(e)).next,!1;for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),3!==s.length);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(d,3)||e$(d,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),N=O[0],A=O[1],E=O[2],k=this.formatDateForStep(p,A,v,{labels:y,labelsType:b,nowLabel:x,now:m,future:g,round:S})||"";return r.getTimeToNextUpdate?[k,function(e,t,r){var n,o=r.prevStep,a=r.nextStep,i=r.now,s=r.future,l=r.round,u=e.getTime?e.getTime():e,c=function(e){return function(e,t,r){var n=r.now,o=r.round;if($(e)){var a,i,s,l,u=1e3*$(e),c=Math.abs(t-n),f=G(o)(c/u)*u;if(t>n)if(!(f>0))return c-f+1;else{return c-f+(a=o,i=u,(1-W(a))*i+1)}return-(c-f)+(s=o,l=u,W(s)*l)}}(e,u,{now:i,round:l})},f=function(e,t,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep;if(e){var s=function(e,t,r){var n=r.now,o=r.future,a=H(e,{timestamp:t,now:n,future:o,round:r.round,prevStep:r.prevStep});if(void 0!==a)if(o)return t-1e3*a+1;else return 0===a&&t===n?31536e9:t+1e3*a}(e,t,{now:n,future:o,round:a,prevStep:i});if(void 0===s)return;return s-n}return o?t-n+1:31536e9}(s?t:a,u,{future:s,now:i,round:l,prevStep:s?o:t});if(void 0!==f){if(t&&(t.getTimeToNextUpdate&&(n=t.getTimeToNextUpdate(u,{getTimeToNextUpdateForUnit:c,getRoundFunction:G,now:i,future:s,round:l})),void 0===n)){var d=t.unit||t.formatAs;d&&(n=c(d))}return void 0===n?f:Math.min(n,f)}}(p,A,{nextStep:E,prevStep:N,now:m,future:g,round:S})]:k}},{key:"formatDateForStep",value:function(e,t,r,n){var o=this,a=n.labels,i=n.labelsType,s=n.nowLabel,l=n.now,u=n.future,c=n.round;if(t){if(t.format)return t.format(e,this.locale,{formatAs:function(e,t){return o.formatValue(t,e,{labels:a,future:u})},now:l,future:u});var f=t.unit||t.formatAs;if(!f)throw Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(t)));if("now"===f)return s;var d=Math.abs(r)/V(t);t.granularity&&(d=G(c)(d/t.granularity)*t.granularity);var m=-1*Math.sign(r)*G(c)(d);switch(0===m&&(m=u?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(m,f);default:return this.formatValue(m,f,{labels:a,future:u})}}}},{key:"formatValue",value:function(e,t,r){var n=r.labels,o=r.future;return this.getFormattingRule(n,t,e,{future:o}).replace("{0}",this.formatNumber(Math.abs(e)))}},{key:"getFormattingRule",value:function(e,t,r,n){var o=n.future;if(this.locale,"string"==typeof(e=e[t]))return e;var a=e[0===r?o?"future":"past":r<0?"past":"future"]||e;return"string"==typeof a?a:a[this.getPluralRules().select(Math.abs(r))]||a.other}},{key:"formatNumber",value:function(e){return this.numberFormat?this.numberFormat.format(e):String(e)}},{key:"getFormatter",value:function(e){return this.relativeTimeFormatCache.get(this.locale,e)||this.relativeTimeFormatCache.put(this.locale,e,new this.IntlRelativeTimeFormat(this.locale,{style:e}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof e&&(e=[e]),e=(e=e.map(function(e){switch(e){case"tiny":case"mini-time":return"mini";default:return e}})).concat("long");for(var t,r=X(this.locale),n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=e$(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(t=n()).done;){var o=t.value;if(r[o])return{labelsType:o,labels:r[o]}}}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=eF(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eF(t)?t:t+""}(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(),eW="en";eG.getDefaultLocale=function(){return eW},eG.setDefaultLocale=function(e){return eW=e},eG.addDefaultLocale=function(e){if(t)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");t=!0,eG.setDefaultLocale(e.locale),eG.addLocale(e)},eG.addLocale=function(e){Z(e),R.addLocale(e)},eG.locale=eG.addLocale,eG.addLabels=function(e,t,r){var n=X(e);n||(Z({locale:e}),n=X(e)),n[t]=r},e.s(["default",()=>eG],788747),e.s(["default",0,{locale:"de",long:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:{one:"vor {0} Quartal",other:"vor {0} Quartalen"},future:{one:"in {0} Quartal",other:"in {0} Quartalen"}},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:{one:"vor {0} Woche",other:"vor {0} Wochen"},future:{one:"in {0} Woche",other:"in {0} Wochen"}},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:{one:"vor {0} Stunde",other:"vor {0} Stunden"},future:{one:"in {0} Stunde",other:"in {0} Stunden"}},minute:{current:"in dieser Minute",past:{one:"vor {0} Minute",other:"vor {0} Minuten"},future:{one:"in {0} Minute",other:"in {0} Minuten"}},second:{current:"jetzt",past:{one:"vor {0} Sekunde",other:"vor {0} Sekunden"},future:{one:"in {0} Sekunde",other:"in {0} Sekunden"}}},short:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:"vor {0} Quart.",future:"in {0} Quart."},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:{one:"vor {0} Woche",other:"vor {0} Wochen"},future:{one:"in {0} Woche",other:"in {0} Wochen"}},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:"vor {0} Std.",future:"in {0} Std."},minute:{current:"in dieser Minute",past:"vor {0} Min.",future:"in {0} Min."},second:{current:"jetzt",past:"vor {0} Sek.",future:"in {0} Sek."}},narrow:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:"vor {0} Q",future:"in {0} Q"},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:"vor {0} Wo.",future:"in {0} Wo."},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:"vor {0} Std.",future:"in {0} Std."},minute:{current:"in dieser Minute",past:"vor {0} m",future:"in {0} m"},second:{current:"jetzt",past:"vor {0} s",future:"in {0} s"}},now:{now:{current:"jetzt",future:"in einem Moment",past:"gerade jetzt"}},mini:{year:"{0}
1 J.",month:"{0} Mt.",week:"{0} Wo.",day:"{0} T.",hour:"{0} Std.",minute:"{0} Min.",second:"{0} s",now:"jetzt"},"long-time":{year:{one:"{0} Jahr",other:"{0} Jahre"},month:{one:"{0} Monat",other:"{0} Monate"},week:{one:"{0} Woche",other:"{0} Wochen"},day:{one:"{0} Tag",other:"{0} Tage"},hour:{one:"{0} Stunde",other:"{0} Stunden"},minute:{one:"{0} Minute",other:"{0} Minuten"},second:{one:"{0} Sekunde",other:"{0} Sekunden"}}}],789062),e.s(["default",0,{locale:"en-CA",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr",current:"this yr",next:"next yr",past:{one:"{0} yr ago",other:"{0} yrs ago"},future:{one:"in {0} yr",other:"in {0} yrs"}},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr ago",other:"{0} qtrs ago"},future:{one:"in {0} qtr",other:"in {0} qtrs"}},month:{previous:"last mo",current:"this mo",next:"next mo",past:{one:"{0} mo ago",other:"{0} mos ago"},future:{one:"in {0} mo",other:"in {0} mos"}},week:{previous:"last wk",current:"this wk",next:"next wk",past:{one:"{0} wk ago",other:"{0} wks ago"},future:{one:"in {0} wk",other:"in {0} wks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hr ago",other:"{0} hrs ago"},future:{one:"in {0} hr",other:"in {0} hrs"}},minute:{current:"this minute",past:{one:"{0} min ago",other:"{0} mins ago"},future:{one:"in {0} min",other:"in {0} mins"}},second:{current:"now",past:{one:"{0} sec ago",other:"{0} secs ago"},future:{one:"in {0} sec",other:"in {0} secs"}}},narrow:{year:{previous:"last yr",current:"this yr",next:"next yr",past:{one:"{0} yr ago",other:"{0} yrs ago"},future:{one:"in {0} yr",other:"in {0} yrs"}},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr ago",other:"{0} qtrs ago"},future:{one:"in {0} qtr",other:"in {0} qtrs"}},month:{previous:"last mo",current:"this mo",next:"next mo",past:{one:"{0} mo ago",other:"{0} mos ago"},future:{one:"in {0} mo",other:"in {0} mos"}},week:{previous:"last wk",current:"this wk",next:"next wk",past:{one:"{0} wk ago",other:"{0} wks ago"},future:{one:"in {0} wk",other:"in {0} wks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:{one:"{0} hr ago",other:"{0} hrs ago"},future:{one:"in {0} hr",other:"in {0} hrs"}},minute:{current:"this minute",past:{one:"{0} min ago",other:"{0} mins ago"},future:{one:"in {0} min",other:"in {0} mins"}},second:{current:"now",past:{one:"{0} sec ago",other:"{0} secs ago"},future:{one:"in {0} sec",other:"in {0} secs"}}}}],704509),e.s(["default",0,{locale:"fr-CA",long:{year:{previous:"lâannée dernière",current:"cette année",next:"lâannée prochaine",past:{one:"il y a {0} an",other:"il y a {0} ans"},future:{one:"dans {0} an",other:"dans {0} ans"}},quarter:{previous:"le trimestre dernier",current:"ce trimestre-ci",next:"le trimestre prochain",past:{one:"il y a {0} trimestre",other:"il y a {0} trimestres"},future:{one:"dans {0} trimestre",other:"dans {0} trimestres"}},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"il y a {0} mois",future:"dans {0} mois"},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:{one:"il y a {0} semaine",other:"il y a {0} semaines"},future:{one:"dans {0} semaine",other:"dans {0} semaines"}},day:{previous:"hier","previous-2":"avant-hier",current:"aujourdâhui",next:"demain","next-2":"après-demain",past:{one:"il y a {0} jour",other:"il y a {0} jours"},future:{one:"dans {0} jour",other:"dans {0} jours"}},hour:{current:"cette heure-ci",past:{one:"il y a {0} heure",other:"il y a {0} heures"},future:{one:"dans {0} heure",other:"dans {0} heures"}},minute:{current:"cette minute-ci",past:{one:"il y a {0} minute",other:"il y a {0} minutes"},future:{one:"dans {0} minute",other:"dans {0} minutes"}},second:{current:"maintenant",past:{one:"il y a {0} seconde",other:"il y a {0} secondes"},future:{one:"dans {0} seconde",other:"dans {0} secondes"}}},short:{year:{previous:"lâannée dernière",current:"cette année",next:"lâannée prochaine",past:"il y a {0} a",future:"dans {0} a"},quarter:{previous:"trim. dernier",current:"ce trim.",next:"trim. prochain",past:"il y a {0} trim.",future:"dans {0} trim."},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"il y a {0} m.",future:"dans {0} m."},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:"il y a {0} sem.",future:"dans {0} sem."},day:{previous:"hier","previous-2":"avant-hier",current:"aujourdâhui",next:"demain","next-2":"après-demain",past:"il y a {0} j",future:"dans {0} j"},hour:{current:"cette heure-ci",past:"il y a {0} h",future:"dans {0} h"},minute:{current:"cette minute-ci",past:"il y a {0} min",future:"dans {0} min"},second:{current:"maintenant",past:"il y a {0} s",future:"dans {0} s"}},narrow:{year:{previous:"lâannée dernière",current:"cette année",next:"lâannée prochaine",past:"-{0} a",future:"+{0} a"},quarter:{previous:"trim. dernier",current:"ce trim.",next:"trim.proch
1ain",past:"-{0} trim.",future:"+{0} trim."},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"-{0} m.",future:"+{0} m."},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:"-{0} sem.",future:"+{0} sem."},day:{previous:"hier","previous-2":"avant-hier",current:"aujourdâhui",next:"demain","next-2":"après-demain",past:"-{0} j",future:"+{0} j"},hour:{current:"cette heure-ci",past:"-{0} h",future:"+{0} h"},minute:{current:"cette minute-ci",past:"-{0} min",future:"+{0} min"},second:{current:"maintenant",past:"-{0} s",future:{one:"+ {0} s",other:"+{0} s"}}}}],659424)}]);
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.