1import{r as p,u,P as b,j as e,f as C,C as E,b as x,d as _,h as j,a0 as N,l as T,n as h,t as f,b9 as v,V as R,cV as S,G as P,H as A,b1 as y,K as M,Q as V,cW as r,b2 as G}from"./index-BpLLe65f.js";const O={"section-box":"_4u7tv"},L=({digitalPageList:s})=>{const[n,i]=p.useState(!1),[l,c]=p.useState(!1),k=s?.items?.[0]?.mainSection?.[0]?.content?.[0]?.html,{t:a}=u(b.TEAM_VIEWER),d=[{id:"windows",icon:"windows",link:"https://dl.teamviewer.com/download/TeamViewerQS.exe",target:"_self"},{id:"ios",icon:"apple",link:"https://apps.apple.com/us/app/teamviewer-quicksupport/id661649585",target:"_blank"},{id:"macos",icon:"apple",link:"https://download.teamviewer.com/download/TeamViewerQS.dmg",target:"_blank"},{id:"android",icon:"android",link:"https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market",target:"_blank"},{id:"chromeos",icon:"chrome",link:"https://play.google.com/store/apps/details?id=com.teamviewer.quicksupport.market",target:"_blank"}],w=t=>{if(c(!0),n){c(!1);const m=t.currentTarget.id,o=d.find(g=>g.id===m);o&&(S({linkText:a(`downloadCenter.buttons.${m}`),linkUrl:o.link,location:"Download Center",type:"download"}),window.open(o.link,o.target))}};return e.jsxs("div",{className:"container-width",children:[e.jsx(C,{className:"py-4 px-6",children:e.jsx(E,{lg:12,md:12,sm:12,children:e.jsx(x,{id:"team-viewer-section-box",title:a("agreement.title"),className:O["section-box"],children:e.jsx(_,{htmlContent:j(k)})})})}),e.jsxs("div",{className:"ml-6 mr-6 mb-4",children:[e.jsx(N,{id:"agreement-checkbox",name:"agreement-checkbox",label:a("agreement.checkbox.label"),onChange:()=>{i(t=>!t),c(!1)},checked:n,errMessage:!n&&l?a("agreement.checkbox.error"):void 0}),e.jsx(x,{id:"download-center-title",className:"mt-12 text-xl",title:a("downloadCenter.title")}),e.jsx("div",{className:"pt-4",children:d.map(t=>e.jsxs(T,{id:t.id,className:"w-fit mr-1 mb-4",variant:"secondary-reverse",onClick:w,children:[e.jsx(h,{name:t.icon,className:"mr-1"}),a(`downloadCenter.buttons.${t.id}`)]},t.id))}),e.jsxs(f,{to:v,id:"back",className:"green-link-text",children:[e.jsx(h,{name:"chevron",className:"rotate-180"}),a(R.BACK)]})]})]})},I=()=>{const s=P(L,r);return e.jsx(s,{})},$=async({locale:s=y})=>{const n=G[s]??s,i=`${V}_${r},${n}`;return await A({[i]:()=>M(r)})};export{I as TeamViewerPage,$ as default};
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.