import{_ as ge}from"./D4-tfrD4.js";import{H as ce}from"./DYPSHalR.js";import{q as z,E as K,H as de,j as pe,r as B,z as ue,t as r,a6 as me,au as ve,aR as Pe,aE as he,B as fe,V as o,a9 as W,W as i,Z as w,$ as H,a0 as x,_ as g,K as c,I as N,a3 as F,ad as C,ag as ye,bl as _e,J as l,a4 as G,a5 as be}from"./48Oun4qR.js";import{a2 as ke}from"./CKENj8qX.js";import{g as Ae,h as Re,d as we}from"./BP6UN-DY.js";import{u as Ce}from"./CljJ9JpR.js";import{u as Te}from"./C1ulvkeh.js";import"./Bs_vi-oW.js";var y=(s=>(s.Top="top",s.Agreements="agreements",s.Policies="policies",s.CompanyPolicies="companyPolicies",s.Hidden="hidden",s))(y||{});const q={"pages.legalPage.languageWarning":"Den engelska versionen av juridiska avtal och policys är de enda aktuella och giltiga versionerna av det här dokumentet. Alla översatta versioner tillhandahålls endast för att hjälpa och underlätta läsningen och förståelsen av den engelska versionen. Alla översatta versioner är inte juridiskt bindande och kan inte ersätta de engelska versionerna. Vid oenighet eller dispyt har de engelskspråkiga juridiska avtalen och policys företräde.","pages.legalPage.lastRevisited":"Senast ändrad:","pages.legalPage.headerDescription":"Vänligen läs det här avtalet noggrant eftersom det innehåller viktig information om dina juridiska rättigheter och rättsmedel.","pages.legalPage.agreements":"Avtal","pages.legalPage.policies":"Policys","pages.legalPage.navigation.universalTermsOfServiceAgreement":"Användarvillkor","pages.legalPage.navigation.privacyPolicy":"Integritetspolicy","pages.legalPage.navigation.registrarInformation":"Registratorinfo","pages.legalPage.navigation.affiliateProgramAgreement":"Avtal för affiliate-program","pages.legalPage.navigation.changeRegistrantAgreement":"Förändring i registrantavtal","pages.legalPage.navigation.dpa":"Databehandlingstillägg","pages.legalPage.navigation.domainNameRegistrationAgreement":"Avtal för domännamnsregistrering","pages.legalPage.navigation.domainNameTransferAgreement":"Avtal för domänöverföring","pages.legalPage.navigation.referralProgramAgreement":"Avtal för Referral Program","pages.legalPage.navigation.domainRegistrantAgreement":"Avtal för domänregistrant","pages.legalPage.navigation.partnerProgramAgreement":"Avtal för Partner Program","pages.legalPage.navigation.resellerMasterAgreement":"Avtal för återförsäljare","pages.legalPage.navigation.abusePolicy":"Policy för otillåten användning","pages.legalPage.navigation.brandGuidelinesPermissions":"Behörigheter och riktlinjer för varumärke","pages.legalPage.navigation.cookiePolicy":"Cookiepolicy","pages.legalPage.navigation.domainNameDisputeResolution":"Tvistlösning för domännamn","pages.legalPage.navigation.expiredRegistrationRecoveryPolicy":"Policy för återställning av utlöpt registrering","pages.legalPage.navigation.responsibleDisclosurePolicy":"Hostinger policy för ansvarsfullt offentliggörande och Bug Reward Program","pages.legalPage.navigation.refundPolicy":"Återbetalningspolicy","pages.legalPage.navigation.tldRegistryPolicy":"TLD-registerpolicys","pages.legalPage.navigation.trademarkCopyrightInfringement":"Varumärke/upphovsrätt","pages.legalPage.navigation.customerServicePolicy":"Kundservicepolicy","pages.legalPage.navigation.migrationTerms":"Migrationsvillkor","pages.legalPage.navigation.listOfCountriesAsia":"Lista över länder i Asien","pages.legalPage.companyPolicies":"Företagets policys","pages.legalPage.navigation.thirdPartyCodeOfConduct":"Uppförandekod för tredje part","pages.legalPage.title.universalTermsOfServiceAgreement":"Användarvillkor","pages.legalPage.title.privacyPolicy":"Integritetspolicy","pages.legalPage.title.registrarInformation":"Om registrator","pages.legalPage.title.affiliateProgramAgreement":"Avtal för affiliate-program","pages.legalPage.title.changeRegistrantAgreement":"Avtal registratorbyte","pages.legalPage.title.dpa":"Tillägg databehandling","pages.legalPage.title.domainNameRegistrationAgreement":"Avtal domännamnsregistrering","pages.legalPage.title.domainNameTransferAgreement":"Avtal Domännamnsöverföring","pages.legalPage.title.hostingAgreement":"Avtal webbhotell","pages.legalPage.title.referralProgramAgreement":"Avtal rekommendationsprogram","pages.legalPage.title.domainRegistrantAgreement":"Avtal Domänregistrant","pages.legalPage.title.partnerProgramAgreement":"Avtal partnerprogram","pages.legalPage.title.resellerMasterAgreement":"Huvudavtal återförsäljare","pages.legalPage.title.abusePolicy":"Policy för otillåten användning","pages.legalPage.title.listOfCountriesAsia":"Lista över länder i Asien","pages.legalPage.title.cookiePolicy":"Cookiepolicy","pages.legalPage.title.brandGuidelinesPermissions":"Riktlinjer för varumärken och tillstånd","pages.legalPage.title.domainNameDisputeResolution":"Tvistlösning för domännamn","pages.legalPage.title.expiredRegistrationRecoveryPolicy":"Återställningspolicy för utlöpt registrering","pages.legalPage.title.responsibleDisclosurePolicy":"Hostinger offentlighetspolicy och buggbelöningsprogram","pages.legalPage.title.refundPolicy":"Återbetalningspolicy","pages.legalPage.title.tldRegistryPolicy":"Policy för toppdomänsregistrering","pages.legalPage.title.trademarkCopyrightInfringement":"Varumärke/upphovsrätt","pages.legalPage.title.customerServicePolicy":"Kundservicepolicy","pages.legalPage.title.migrationTerms":"Migrationsvillkor","pages.legalPage.title.thirdPartyCodeOfConduct":"Uppförandekod för tredje part","pages.legalPage.title.researchParticipationAgreement":"Avtal för forskningsdeltagande","pages.legalPage.cookieSettings":"Cookie-inställningar","pages.legalPage.submitButton":"Submit","pages.legalPage.description.affiliateProgramAgreement":"Here's an overview about Hostinger's affiliate program, how to participate in it, and everything you need to know about communication and your account.","pages.legalPage.description.changeRegistrantAgreement":"Change of Registrant Agreement where all the most important information about changing registrants is provided. Read the guidelines and violations here.","pages.legalPage.description.domainNameRegistrationAgreement":"This is domain name registration agreement that provides information about all registrations, payments and fees, regulations and general usage. Read more.","pages.legalPage.description.domainNameTransferAgreement":"Terms & conditions of your use of Domain Name Transfer services about transferring a registered domain from another domain registrar to Hostinger.","pages.legalPage.description.hostingAgreement":"In this agreement the terms and conditions of your use of Hostinger’s hosting services are covered. It presents the relation between our customers and us.","pages.legalPage.description.universalTermsOfServiceAgreement":"Hostinger's terms of service covered. Learn general terms and conditions of your use of the Site and the products and services purchased in this agreement.","pages.legalPage.description.privacyPolicy":"Get to know more about Hostinger's privacy policy. In this document the use of your private data and its sourcing are explained.","pages.legalPage.description.refundPolicy":"Review our refund policy agreement and get familiar with our standard refund terms. Please, carefully note that some products have exceptions.","pages.legalPage.description.cookiePolicy":"Read all the information about the use of cookies, how cookies are used on our websites, and the refusal or blocking cookies. Click here to learn more.","pages.legalPage.description.responsibleDisclosurePolicy":"Hostinger Responsible Disclosure Policy and Bug Reward Program are covered. Please, read it carefully and get familiar with this agreement.","pages.legalPage.description.tldRegistryPolicy":"A comprehensive information about TLD Registry Policies at Hostinger. Click here to learn more.","pages.legalPage.description.brandGuidelinesPermissions":"In this legal document we provide information about Hostinger brand's guidelines and permissions. Learn more about Hostinger's brand characteristics.","pages.legalPage.description.trademarkCopyrightInfringement":"Here's Hostinger's Trademark and Copyright agreement to inform you about domain name dispute claims, and copyright and trademark claims.","pages.legalPage.description.domainNameDisputeResolution":"Domain Name Dispute Resolution at Hostinger. Read this agreement carefully to fully understand all the legal requirements listed in this agreement.","pages.legalPage.description.expiredRegistrationRecoveryPolicy":"Read the document of Expired Registration Recovery policies and learn what happens after domains expire and how to handle this afterwards.","pages.legalPage.description.abusePolicy":"abuse-policy","pages.legalPage.description.researchParticipationAgreement":"Research Participation Agreement","pages.legalPage.title.internalBreachReportingPrivacyPolicy":"Internal Breach Reporting Privacy Policy","pages.legalPage.description.internalBreachReportingPrivacyPolicy":"internal-breach-reporting-privacy-policy","pages.legalPage.description.referralProgramAgreement":"Terms of Services of the Referral Program","pages.legalPage.description.dpa":"data-processing-addendum","pages.legalPage.description.listOfCountriesAsia":"List of Countries Asia","pages.legalPage.description.registrarInformation":"Registrar Information","pages.legalPage.description.thirdPartyCodeOfConduct":"Third Party Code of Conduct","pages.legalPage.title.specialTerms":"Hostinger Horizons Special Terms","pages.legalPage.description.specialTerms":"hostinger-horizons","pages.legalPage.title.AntiAbuseAndAntiFraudPolicy":"Anti-Abuse and Anti-Fraud Policy","pages.legalPage.description.AntiAbuseAndAntiFraudPolicy":"The English version of legal agreements and policies is considered as the only current and valid version of this document. Any translated version is provided for your convenience only, to facilitate reading and understanding of the English version. Any translated versions are not legally binding and cannot replace the English versions. In the event of disagreement or conflict, the English language legal agreements and policies shall prevail."},He=()=>{const{t:s}=z(q),{getRouteLink:p}=Ae(),u=m=>K.filter(d=>d.payload.position===m).map(d=>({text:s(d.payload.title),dataClickId:`hgr-legal-navigation-${d.payload.slug}`,link:p(`legal-page-${d.payload.slug}`),slug:d.payload.slug})).sort((d,a)=>d.text.localeCompare(a.text));return{getPageData:m=>({title:s((m==null?void 0:m.title)||""),description:s("pages.legalPage.headerDescription"),nonSidebarItems:u(y.Hidden),navigationItems:{topItems:u(y.Top),agreements:u(y.Agreements),policies:u(y.Policies),companyPolicies:u(y.CompanyPolicies)},submitButton:{text:s("pages.legalPage.submitButton"),link:"https://hackerone.com/5093805e-4e52-474b-ba7f-5c04a7ba10e7/embedded_submissions/new"}})}},xe={async getLegalDocuments(s){const{data:p}=await Re.post("/api/legal-documents/get-by-slugs",{slugs:s});return p}},Ie={class:"legal__page-content u-spacing-1 h-grid"},Se={class:"legal__sidebar legal__sidebar--desktop"},Be={class:"legal__sidebar-links-wrapper"},Ne=["href"],De={class:"legal__sidebar-heading"},Oe=["href"],Ve={class:"legal__sidebar-heading"},$e=["href"],je={class:"legal__sidebar-heading"},Le=["href"],Ee={class:"legal__main-page"},Me={key:0},Ue={class:"legal__warning"},We={class:"legal__sidebar legal__sidebar--mobile"},Fe={key:1},Ge={class:"legal__date"},ze=["innerHTML"],Ke=de({__name:"[slug]",async setup(s){var L,E,M;let p,u;const D=ue(),{pageName:m,homepageUrl:d}=pe(),{t:a}=z(q),{getHead:J}=Ce(),{getPageData:Y}=He(),{setUpdatingCookieSettings:Z}=we(),O=B(!1),_=B(""),I=B({content:"",date:new Date().toISOString()}),h=(L=K.find(t=>a(t.payload.route||"").replace("legal/","")===D.params.slug))==null?void 0:L.payload,n=r(()=>Y(h)),v=r(()=>(h==null?void 0:h.slug)||""),S=r(()=>[...b.value,...k.value,...A.value,...R.value,...n.value.nonSidebarItems].find(t=>t.link.includes(v.value))),Q=r(()=>{var t;return((t=S.value)==null?void 0:t.slug)||""}),V=r(()=>["registrar-information","list-of-countries-asia"].includes(v.value)),X=r(()=>["cookie-policy"].includes(v.value)),ee=r(()=>["responsible-disclosure-policy"].includes(v.value)),b=r(()=>n.value.navigationItems.topItems),k=r(()=>n.value.navigationItems.agreements),A=r(()=>n.value.navigationItems.policies),R=r(()=>n.value.navigationItems.companyPolicies),ae=r(()=>[...b.value,{text:a("pages.legalPage.agreements")},...k.value,{text:a("pages.legalPage.policies")},...A.value,{text:a("pages.legalPage.companyPolicies")},...R.value].map(t=>t.text)),te=r(()=>[...b.value,...k.value,...A.value,...R.value].map(t=>t.dataClickId)),$=()=>{O.value=window.scrollY>=500},T=t=>t===v.value,ie=()=>{const t=[...b.value,...k.value,...A.value,...R.value].find(f=>f.text===_.value);t&&window.location.assign(t.link)},le=()=>{scrollTo(0,0)};me(async()=>{if(!h){window.location.href=d.value;return}window.addEventListener("scroll",$),await se()}),ve(()=>{window.removeEventListener("scroll",$)});const{data:j,refresh:se}=([p,u]=Pe(()=>_e(`legal-page-${v.value}`,()=>xe.getLegalDocuments([v.value]))),p=await p,u(),p);return(E=j.value)!=null&&E[0]&&(I.value=(M=j.value)==null?void 0:M[0]),h&&(_.value=S.value?S.value.text||"":n.value.title,he(J(n.value.title,n.value.description,!0)),Te(fe(m.value||""))),(t,f)=>{const ne=ge,re=ce,U=ye,oe=ke;return l(),o("div",{class:C(["legal",`${Q.value}-page`])},[W(ne,{data:{heading:n.value.title,description:n.value.description,backgroundColor:"primary500"}},null,8,["data"]),i("section",Ie,[i("div",Se,[i("div",Be,[(l(!0),o(H,null,x(b.value,(e,P)=>(l(),o("div",{key:`top-item-${P}`},[i("a",{class:C(["legal__sidebar-link",{"legal__sidebar-link--active":T(e.slug)}]),href:e.link},g(e.text),11,Ne)]))),128)),i("h3",De,g(c(a)("pages.legalPage.agreements")),1),(l(!0),o(H,null,x(k.value,(e,P)=>(l(),o("div",{key:`agreement-item-${P}`},[i("a",{class:C(["legal__sidebar-link",{"legal__sidebar-link--active":T(e.slug)}]),href:e.link},g(e.text),11,Oe)]))),128)),i("h3",Ve,g(c(a)("pages.legalPage.policies")),1),(l(!0),o(H,null,x(A.value,(e,P)=>(l(),o("div",{key:`policy-item-${P}`},[i("a",{class:C(["legal__sidebar-link",{"legal__sidebar-link--active":T(e.slug)}]),href:e.link},g(e.text),11,$e)]))),128)),i("h3",je,g(c(a)("pages.legalPage.companyPolicies")),1),(l(!0),o(H,null,x(R.value,(e,P)=>(l(),o("div",{key:`policy-item-${P}`},[i("a",{class:C(["legal__sidebar-link",{"legal__sidebar-link--active":T(e.slug)}]),href:e.link},g(e.text),11,Le)]))),128))])]),i("div",Ee,[V.value?w("",!0):(l(),o("div",Me,[i("p",Ue,g(c(a)("pages.legalPage.languageWarning")),1)])),i("div",We,[(l(),N(re,{key:`${_.value}-switcher`,modelValue:_.value,"onUpdate:modelValue":[f[0]||(f[0]=e=>_.value=e),ie],options:ae.value,"options-click-ids":te.value,"disabled-options":[c(a)("pages.legalPage.agreements"),c(a)("pages.legalPage.policies"),c(a)("pages.legalPage.companyPolicies")]},null,8,["modelValue","options","options-click-ids","disabled-options"]))]),V.value?w("",!0):(l(),o("div",Fe,[i("p",Ge,g(`${c(a)("pages.legalPage.lastRevisited")} ${I.value.date.slice(0,19).replace("T"," ")}`),1)])),X.value?(l(),N(U,{key:2,class:"legal__cookies","aria-label":c(a)("pages.legalPage.cookieSettings"),onClick:f[1]||(f[1]=e=>c(Z)(!0))},{default:F(()=>[G(g(c(a)("pages.legalPage.cookieSettings")),1)]),_:1},8,["aria-label"])):w("",!0),i("div",{dir:"ltr",innerHTML:I.value.content},null,8,ze),ee.value?(l(),N(U,{key:3,to:n.value.submitButton.link,"aria-label":n.value.submitButton.text},{default:F(()=>[G(g(n.value.submitButton.text),1)]),_:1},8,["to","aria-label"])):w("",!0)])]),O.value?(l(),o("div",{key:0,class:"legal__scroll-up-button",onClick:le},[W(oe)])):w("",!0)],2)}}}),ta=be(Ke,[["__scopeId","data-v-60e227b1"]]);export{ta as default};